Useful functions for interfacing with the standard CAD environment.
More...
Useful functions for interfacing with the standard CAD environment.
Definition at line 11 of file CADHelperFunctions.h.
◆ CADLayerName()
| String CADHelperFunctions::CADLayerName |
( |
const Model & | model | ) |
|
|
static |
Calculates the layer name of a Model.
◆ DXFConvertToPlacementData()
Converts a transformation matrix into CAD placement data.
- Parameters
-
| [in] | data | The PlacementData to populate. |
| [in] | transform | The transformation matrix. |
◆ DXFShouldExport()
Determines whether a model should be exported based on factory options.
- Parameters
-
| [in] | options | The export options. |
| [in] | model | The model to check. |
- Returns
- True if the model should be exported.
◆ FillOutData()
| void CADHelperFunctions::FillOutData |
( |
const Model & | model, |
|
|
EntityData & | data ) |
|
static |
Fills out general CAD entity data from a Model.
- Parameters
-
| [in] | model | The model to extract data from. |
| [in] | data | The EntityData to populate. |
◆ FillOutLayerData()
| void CADHelperFunctions::FillOutLayerData |
( |
const Model & | layer, |
|
|
LayerData & | data ) |
|
static |
Fills out CAD layer data from a Model.
- Parameters
-
| [in] | layer | The model representing a layer. |
| [in] | data | The LayerData to populate. |
◆ GenerateDXFColorInfo()
| CADColorInfo CADHelperFunctions::GenerateDXFColorInfo |
( |
const Model & | model, |
|
|
bool | is_flat, |
|
|
bool | is_vertex ) |
|
static |
The documentation for this class was generated from the following file: