3#include <NDEVR/CADColorInfo.h>
4#include <NDEVR/Model.h>
Useful functions for interfacing with the standard CAD environment.
static CADColorInfo GenerateDXFColorInfo(const Model &model, bool is_flat, bool is_vertex)
Converts color information from a Model into a CADColorInfo container.
static bool DXFShouldExport(FactoryOptions options, const Model &model)
Determines whether a model should be exported based on factory options.
static String CADLayerName(const Model &model)
Calculates the layer name of a Model.
static void DXFConvertToPlacementData(PlacementData &data, Matrix< fltp08 > transform)
Converts a transformation matrix into CAD placement data.
static void FillOutData(const Model &model, EntityData &data)
Fills out general CAD entity data from a Model.
static void FillOutLayerData(const Model &layer, LayerData &data)
Fills out CAD layer data from a Model.
User-defined options that define preferences for importing and exporting using IOFactory objects.
Templated logic for doing matrix multiplication.
A core class that represents a node on model hierarchy.
The core String class for the NDEVR API.
The primary namespace for the NDEVR SDK.
@ transform
A 4x4 transform matrix that maps local coordinates into global space.
Stores color information for interfacing with CAD.
An entity in CAD which has a layer and other handle information.
Layer information shared with CAD.
Data about where to place an object, used for interfacing with CAD.