50 static ConstPointer<Unit> ConvertFromCADUnit(
uint04 cad_unit)
54 case 0:
return ConstPointer<Unit>();
78 default:
lib_assert(
false,
"Unknown unit");
return ConstPointer<Unit>();
275 if (
mesh.vertexCount() == 0)
287 mesh.offset(coord_offset);
303 for (
uint04 i = 0; i < quad_index_size; i++)
305 for (
uint04 n = 0; n < 4; n++)
311 index_offset += quad_index_size * 6;
319 for (
uint04 i = 0; i < tri_index_size; i++)
324 vertex_offset + 3 * i +
A
325 , vertex_offset + 3 * i +
B
326 , vertex_offset + 3 * i +
C));
330 for (
uint04 n = 0; n < 3; n++)
380 if (vertex_count > 1)
520 cad_auto_name.
replace(
"[name]", object_type);
522 name =
String(cad_auto_name);
600 for (
Model& model : parents)
623 model.updateModifiedTime();
685 if (diffuse_map_file.
exists())
697 if (specular_map_file.
exists())
837 if (!
isNaN(layer_index))
845 for (
uint04 i = 0; i < block_children.
size(); i++)
964 for (
uint04 i = 0; i < vertex_count; i++)
1180 for(
uint04 i = 0; i < 4; i++)
1206 bool has_duplicate =
false;
1207 if (points[
C] == points[
D])
1209 has_duplicate =
true;
1211 else if (points[
D] == points[
A])
1213 has_duplicate =
true;
1215 else if (points[
A] == points[
B])
1217 has_duplicate =
true;
1218 std::swap(points[
A], points[
D]);
1220 else if (points[
B] == points[
C])
1222 has_duplicate =
true;
1223 std::swap(points[
C], points[
D]);
1225 uint04 num_of_sides = has_duplicate ? 3 : 4;
1226 if (num_of_sides == 4)
1234 for (
uint04 i = 0; i < 2; i++)
1242 for (
uint04 i = 0; i < 4; i++)
1247 for(
uint04 i = 0; i < 4; i++)
1253 for (
uint04 i = 0; i < 3; i++)
1257 for (
uint04 i = 0; i < 3; i++)
1296 Attrib new_attribute(attribute);
1304 if (children.
size() > 0)
1306 text = children.
last();
1307 setupTextData(text, new_attribute);
1312 text = createFromTextData(new_attribute);
1321 text = createFromTextData(new_attribute);
1331 Attrib new_attribute(attribute);
1332 new_attribute.text = attribute.default_value;
1335 Text createFromTextData(
const TextData& data)
1338 TextData tex_data = data;
1340 DynamicPointer<TextConstructor> constructor;
1345 font.name = style.primary_font_file;
1346 constructor = getTextContructor(style.primary_font_file, font);
1347 if (!
isNaN(style.width_factor) && style.width_factor != 0.0)
1348 tex_data.reference_width *= style.width_factor;
1349 if (
isNaN(tex_data.height) && !
isNaN(style.fixed_text_height) && style.fixed_text_height != 0.0)
1350 tex_data.height = style.fixed_text_height;
1352 if (constructor.isNull())
1356 setupTextData(text, tex_data);
1360 virtual void addText(
const TextData& data)
override
1365 createFromTextData(data);
1441 start += offset_angle;
1442 end += offset_angle;
1555 uint04 next_break_location = 0;
1556 uint04 last_break_location = 0;
1557 uint04 index_location = 0;
1560 if (i == next_break_location)
1565 last_break_location = next_break_location + 1;
1568 primitive_setter.index_max_offset++;
1573 next_break_location += (mesh_data.
face_points[i] + 1);
1599 lib_assert(
false,
"Unexpected Object in add vertex");
1655 for (
uint04 i = 0; i < 4; i++)
1668 lib_assert(
false,
"Unexpected Object in add vertex");
1725 #if NDEVR_VIEWPORT && NDEVR_MEASURE_MODELS
1734 DistanceMeasureModel current_model = DistanceMeasureModel(
currentEntity());
1736 point_types(MeasurePointType::e_arrow,
true);
1737 current_model.setPointTypes(point_types);
1740 current_model.setLabel(location);
1742 current_model.updateModifiedTime();
1745 void addDimLinear(
const LinearDimension& dimension)
override
1753 DistanceMeasureModel current_model = DistanceMeasureModel(
currentEntity());
1755 point_types(MeasurePointType::e_arrow,
true);
1756 current_model.setPointTypes(point_types);
1757 current_model.setEndpoints(dimension.alignment_data[
A], dimension.alignment_data[
B], dimension.definition_point);
1758 TranslatedString location = TranslatedString(String(dimension.alignment_data.length<
fltp08>()).formatNumberString(2));
1759 current_model.setLabel(location);
1761 current_model.updateModifiedTime();
1814 void setupTextData(Text& text,
const TextData& data)
1820 text.setText(text_block_data);
1829 mat = mat.
scale(0.001);
1835 text.setInsertionAlignment(data.
alignment);
1841 text.setTransform(mat);
1843 if (text_block_data.
size() > 0)
1889 Scene scene(
_t(
"Paper Space"));
1901 Scene scene(
_t(
"Model Space"));
1931 blocks.
last().font.point_size = default_height;
1938 font_stack.
add(blocks.
last().font);
1943 if (font_stack.
size() == 0)
1948 if (blocks.
last().text.size() > 0)
1951 blocks.
last().font = font_stack.
last();
1952 blocks.
last().text.clear();
1956 blocks.
last().font = font_stack.
last();
1965 if (i >= text.
size())
1977 if (i >= text.
size())
1982 for (; i < text.
size() && text[i] !=
';' && text[i] !=
'|'; i++)
1986 while (i < text.
size() && text[i] !=
';')
1990 case 'b': f.
is_bold = text[i++] ==
'1';
break;
1991 case 'i': f.
is_italic = text[i++] ==
'1';
break;
1992 case 'c':
while (text[i] !=
';' && text[i] !=
'|') i++;
break;
1993 case 'p':
while (text[i] !=
';' && text[i] !=
'|') i++;
break;
1996 blocks.
last().font.getFile().clear();
2003 if (i >= text.
size())
2008 while (i < text.
size() && text[i] !=
'#' && text[i] !=
'^' && text[i] !=
'/')
2009 blocks.
last().text.add(text[i++]);
2010 blocks.
last().text.add(
'/');
2011 while (i < text.
size() && text[i] !=
';')
2012 blocks.
last().text.add(text[i++]);
2014 if (i >= text.
size())
2025 while (i < text.
size() && text[i] !=
';')
2034 while (i < text.
size() && text[i] !=
';')
2043 while (i < text.
size() && text[i] !=
';')
2058 if (i >= text.
size())
2069 if (i < text.
size() - 1)
2071 if (text[i + 1] ==
';' || text[i + 1] ==
'|')
2081 while (text[i] !=
';' && text[i] !=
'|')
2090 case 'P': blocks.
last().text.add(
'\n');
break;
2091 case '~': blocks.
last().text.append(
" ");
break;
2094 blocks.
last().text.add(text[i]);
2097 if (f != blocks.
last().font)
2099 if (blocks.
last().text.size() > 0)
2102 blocks.
last().font = f;
2103 blocks.
last().text.clear();
2107 blocks.
last().font = f;
2113 if (i + 2 < text.
size() && text[i + 1] ==
'%')
2125 case '%': blocks.
last().text.append(
"%");
break;
2127 if (f != blocks.
last().font)
2129 if (blocks.
last().text.size() > 0)
2132 blocks.
last().font = f;
2133 blocks.
last().text.clear();
2137 blocks.
last().font = f;
2143 blocks.
last().text.add(text[i]);
2148 blocks.
last().text.add(text[i]);
2184 if (
isNaN(bulge) || bulge == 0.0)
2191 fltp08 r =
H / 2.0 + dist /
abs(bulge * 4.0);
2193 fltp08 mag_x = (p2[
X] - p1[
X]) / dist;
2194 fltp08 mag_y = (p2[
Y] - p1[
Y]) / dist;
2196 fltp08 dy = (r -
H) * (bulge < 0 ? -1 : 1);
2199 center[
X] = mag_x * dx - mag_y * dy + p1[
X];
2200 center[
Y] = mag_y * dx + mag_x * dy + p1[
Y];
2212 if (end_angle < start_angle)
2298 switch (label.
hash())
2350 if (
m_x_data.hasKey(
"CGISCE_F2FC_2000"))
2424 if (
abs(extrusion[
Y]) < 1.0)
2487 layer.
copyFrom(core_layer,
false,
true);
2497 #if NDEVR_TEXT_MODEL
2500 if (!m_text_constructors.hasKey(font_name))
2504 m_text_constructors.insert({ font_name, engine });
2507 return m_text_constructors.
get(font_name);
2509 DynamicPointer<TextConstructor> getTextContructor(
const String& font)
2511 if (!m_text_constructors.hasKey(font))
2515 m_text_constructors.insert({ font, engine });
2518 return m_text_constructors.get(font);
2535 #if NDEVR_TEXT_MODEL
#define UNUSED(expr)
Definition BaseValues.hpp:433
#define lib_assert(expression, message)
Asserts some logic in the code. Disabled in non debug mode by default. Can be re-enabled in release u...
Definition LibAssert.h:70
#define _t(english_string)
Definition Translator.h:87
#define _td(def, english_string)
Definition Translator.h:91
ACI colors are the standard colors used in AutoCAD-based products. Each color is identified by an ACI...
Definition ACIColor.h:58
static constexpr Angle< t_angle_type > Heading(const Vector< t_dims, t_type > ray)
Definition AngleFunctions.h:850
Stores an angle in an optimized format.
Definition StringStream.h:352
Model class for storing, rendering, and logically modifying a 3D conic arc.
Definition ArcShape.h:11
void setupConicArc(const Angle< fltp08 > &start, const Angle< fltp08 > &end, fltp08 radius)
Definition ArcShape.cpp:27
Definition RadialObject.hpp:203
static BiRadialObject< t_dims, t_type, t_vertex > fromCircleTransform(const Matrix< t_matrix_type > &mat)
Definition RadialObject.hpp:216
constexpr t_vertex center() const
Definition RadialObject.hpp:297
A bitset that stores 8 bits (elements with only two possible values: 0 or 1, true or false,...
Definition BitFlag.hpp:68
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:57
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
void add(t_type &&object)
Definition Buffer.hpp:199
constexpr t_index_type size() const
Definition Buffer.hpp:1461
decltype(auto) last()
Definition Buffer.hpp:977
void addAll(const Buffer< t_type, t_other_index_type, t_other_memory_allocator, t_other_memory_manager > &buffer)
Definition Buffer.hpp:248
void clear()
Definition Buffer.hpp:572
decltype(auto) get(t_index_type index)
Definition Buffer.hpp:857
void removeLast()
Definition Buffer.hpp:1099
Definition CADEntityStreamer.h:42
virtual void addDimAlign(const DimAlignedData &)
Definition CADEntityStreamer.h:82
Extrusion m_extrusion
Definition CADEntityStreamer.h:137
ProgressInfo & m_logger
Definition CADEntityStreamer.h:138
bool m_log_features
Definition CADEntityStreamer.h:136
virtual void addDimLinear(const LinearDimension &)
Definition CADEntityStreamer.h:83
virtual void addAttribute(const Attrib &)
Definition CADEntityStreamer.h:63
virtual void addText(const TextData &)
Definition CADEntityStreamer.h:81
virtual void addAttributeDefintion(const Attrib &)
Definition CADEntityStreamer.h:64
Definition EntityConverter.h:132
~CADMeshVertexAttributeSetter()
Definition EntityConverter.h:138
void setValue()
Definition EntityConverter.h:142
CADMeshVertexAttributeSetter(VertexProperty vert_property, const Geometry &geo, const void *lock_ptr)
Definition EntityConverter.h:134
void finish()
Definition EntityConverter.h:146
uint04 current_value
Definition EntityConverter.h:153
const void * lock_ptr
Definition EntityConverter.h:154
Vertex< 3, fltp04 > vertex
Definition EntityConverter.h:152
Definition EntityConverter.h:157
RGBColor vertex
Definition EntityConverter.h:177
void setValue()
Definition EntityConverter.h:167
CADMeshVertexColorSetter(VertexProperty vert_property, const Geometry &geo, const void *lock_ptr)
Definition EntityConverter.h:159
void finish()
Definition EntityConverter.h:171
uint04 current_value
Definition EntityConverter.h:178
const void * lock_ptr
Definition EntityConverter.h:179
~CADMeshVertexColorSetter()
Definition EntityConverter.h:163
Definition GraphicsPipeline.h:42
Definition DXFAttributes.h:39
Definition DXFValueManager.h:42
t_type getValue(const t_type &default_value) const
Definition DXFValueManager.h:228
bool setValue(uint04 location, const String &value)
Definition DXFValueManager.cpp:6
Scene getScene() const
Definition DesignObject.cpp:599
bool isValid() const
Definition DesignObject.h:362
UUID uuid() const
Definition DesignObject.cpp:533
void updateProperty(DesignProperty property, const t_type &value, const void *lock=nullptr)
Definition DesignObject.h:251
t_type getProperty(DesignProperty property) const
Definition DesignObject.h:263
void offset(const Vector< 3, fltp08 > &offset)
Definition DesignObject.cpp:391
void setMetaData(const JSONNode &node)
Definition DesignObject.cpp:409
void setDesignVisible(bool is_visible)
Definition DesignObject.cpp:566
Matrix< fltp08 > getTransform() const
Definition DesignObject.cpp:593
void setProperty(DesignProperty property, const t_type &value)
Definition DesignObject.h:184
@ e_transform
Definition DesignObject.h:97
@ e_name
Definition DesignObject.h:100
@ e_is_frozen
Definition DesignObject.h:132
@ e_is_application_owned
Definition DesignObject.h:122
@ e_tree_visible
Definition DesignObject.h:111
@ e_bounds_ignored
Definition DesignObject.h:123
@ e_guid
Definition DesignObject.h:95
@ e_icon
Definition DesignObject.h:112
@ e_is_deleted
Definition DesignObject.h:120
@ e_description
Definition DesignObject.h:101
DesignObjectBase & base() const
Definition DesignObject.h:356
Definition DesignObjectLookup.h:61
bool hasLayerID(const UUID &id, bool allow_deleted=false) const
Definition DesignObjectLookup.cpp:1836
Scene scene(const UUID &id, bool allow_deleted=false) const
Definition DesignObjectLookup.cpp:1665
Model findLayer(const String &layer, bool use_translation=true) const
Definition DesignObjectLookup.cpp:1725
bool hasModelID(const UUID &id, bool allow_deleted=false) const
Definition DesignObjectLookup.cpp:1815
bool hasGeometryID(const UUID &id) const
Definition DesignObjectLookup.cpp:1808
virtual void addScene(Scene scene, bool ignore_application_scene=false)
Definition DesignObjectLookup.cpp:215
const void * lockPtr() const
Definition DesignObjectLookup.cpp:1027
WLock writeLock()
Definition DesignObjectLookup.cpp:965
Geometry geometry(const UUID &id, bool allow_deleted=false) const
Definition DesignObjectLookup.cpp:1656
bool hasMaterialID(const UUID &id) const
Definition DesignObjectLookup.cpp:1801
virtual void addGeometry(Geometry object)
Definition DesignObjectLookup.cpp:173
Model model(const UUID &id, bool allow_deleted=false) const
Definition DesignObjectLookup.cpp:1683
virtual void addLayer(Model layer)
Definition DesignObjectLookup.cpp:381
virtual void addModel(Model object)
Definition DesignObjectLookup.cpp:268
Model layer(const UUID &id, bool allow_deleted=false) const
Definition DesignObjectLookup.cpp:1695
Material material(const UUID &id, bool allow_deleted=false) const
Definition DesignObjectLookup.cpp:1647
virtual void addMaterial(Material object)
Definition DesignObjectLookup.cpp:887
Definition Dictionary.h:48
Definition Pointer.hpp:303
constexpr t_type & get() const
Definition Pointer.hpp:321
Definition EntityConverter.h:183
Buffer< Vertex< 3, fltp08 > > m_quad_position_data
Definition EntityConverter.h:2548
void addDictionary(const CADDictionaryObject &dictionary) override
Definition EntityConverter.h:527
EntityData m_current_data
Definition EntityConverter.h:2547
Geometry m_current_geometry
Definition EntityConverter.h:2560
void setupLayer(Model &model)
Definition EntityConverter.h:2470
Buffer< UUID > m_linework_read
Definition EntityConverter.h:2565
Geometry createGeometry()
Definition EntityConverter.h:2227
uint04 m_circle_count
Definition EntityConverter.h:2589
const Buffer< UUID > & lineworkRead() const
Definition EntityConverter.h:2415
Scene paperRoot()
Definition EntityConverter.h:1866
virtual void addIndex(const Vector< 4, sint04 > &vertex) override
Definition EntityConverter.h:1640
std::function< void(uint04 value, DXFValueManager *manager)> m_xdata_callback
Definition EntityConverter.h:2588
EntityConverter(const File &relative_path, DesignObjectLookup *lookup, ProgressInfo *logger)
Definition EntityConverter.h:185
Geometry & currentTriMesh()
Definition EntityConverter.h:2362
String m_current_block_name
Definition EntityConverter.h:2545
uint04 m_ellipse_count
Definition EntityConverter.h:2590
Dictionary< String, StyleData > m_text_styles
Definition EntityConverter.h:2573
virtual void addLinetypeDash(double) override
Definition EntityConverter.h:773
Dictionary< uint04, std::pair< UUID, VertexProperty > > m_mesh_object_field_listeners
Definition EntityConverter.h:2543
UUID m_last_insert
Definition EntityConverter.h:2559
void addDXFMaterial(DXFMaterial &mat) override
Definition EntityConverter.h:657
DesignObjectLookup * m_model_lookup
Definition EntityConverter.h:2577
void endFaceSection()
Definition EntityConverter.h:269
Buffer< UUID > getAllReadEntities() const
Definition EntityConverter.h:2447
void addLayer(const LayerData &layer) final override
Definition EntityConverter.h:451
Dictionary< String, Buffer< Model > > m_blocks_to_insert
Definition EntityConverter.h:2575
void setGroupImport(bool group_import)
Definition EntityConverter.h:2430
virtual void endBlock(const uint04 &) override
Definition EntityConverter.h:920
Dictionary< String, UUID > m_blocks
Definition EntityConverter.h:2574
Geometry & currentPolyMesh()
Definition EntityConverter.h:2377
const ConstPointer< Unit > & unit() const
Definition EntityConverter.h:432
void setVariableInt(const String &label, int value, int key_label) override
Definition EntityConverter.h:2295
Buffer< UUID > m_blocks_read
Definition EntityConverter.h:2568
fltp08 m_next_bulge
Definition EntityConverter.h:2570
Geometry currentLinework()
Definition EntityConverter.h:2342
Buffer< UUID > m_materials_read
Definition EntityConverter.h:2569
Scene currentRoot()
Definition EntityConverter.h:1882
virtual ~EntityConverter()
Definition EntityConverter.h:202
void setExtrusion(fltp08 dx, fltp08 dy, fltp08 dz, fltp08 elevation) override
Definition EntityConverter.h:1857
void setupEntityMaterial(Model model)
Definition EntityConverter.h:212
Dictionary< uint04, UUID > m_mesh_object_dictionary_listeners
Definition EntityConverter.h:2542
void copyBlock(Model &model, Model &block)
Definition EntityConverter.h:829
virtual void addSpline(const SplineData &) override
Definition EntityConverter.h:1719
void addXRecord(const HandleData &record) override
Definition EntityConverter.h:550
void setHandleManager(const DynamicPointer< CADHandleManager > &handle_manager)
Definition EntityConverter.h:198
DimensionOptions m_dim_options
Definition EntityConverter.h:2596
void setupColorForGeoVertices()
Definition EntityConverter.h:953
virtual void addGroup(const DXFGroup &group_info) override
Definition EntityConverter.h:863
bool m_ignore_known_blocks
Definition EntityConverter.h:2584
Dictionary< uint04, std::pair< UUID, VertexProperty > > m_mesh_object_color_listeners
Definition EntityConverter.h:2544
bool m_color_by_vertex
Definition EntityConverter.h:2580
void addBulge(Geometry &geo, fltp08 bulge, const Vertex< 3, fltp08 > &p1, const Vertex< 3, fltp08 > &p2)
Definition EntityConverter.h:2154
bool m_read_paper_space
Definition EntityConverter.h:2579
Buffer< TextBlock > parseString(const String &text, fltp08 default_height)
Definition EntityConverter.h:1925
Buffer< Model > modelRoots() const
Definition EntityConverter.h:1873
UUID m_current_entity
Definition EntityConverter.h:2558
UUID m_current_material
Definition EntityConverter.h:2564
void addXRecordData(uint04 value, DXFValueManager *value_manager) override
Definition EntityConverter.h:631
DynamicPointer< CADHandleManager > m_handle_manager
Definition EntityConverter.h:2572
UUID m_blocks_root
Definition EntityConverter.h:2556
Buffer< RGBColor > m_quad_color_data
Definition EntityConverter.h:2550
CADMeshVertexAttributeSetter * m_mesh_attribute_setter
Definition EntityConverter.h:2593
virtual void addBlock(const BlockData &block_info) override
Definition EntityConverter.h:883
virtual void addTextStyle(const StyleData &text_style) override
Definition EntityConverter.h:978
Buffer< UUID > m_points_read
Definition EntityConverter.h:2566
void addXLine(const LineData &line) override
Definition EntityConverter.h:1085
virtual void add3dFace(const TraceData &data) override
Definition EntityConverter.h:1185
Geometry m_current_linework
Definition EntityConverter.h:2561
void setAutoNameObjects(bool auto_name_objects)
Definition EntityConverter.h:2438
void addLine(const LineData &line) override
Definition EntityConverter.h:1025
Buffer< Vertex< 3, fltp08 > > m_tri_position_data
Definition EntityConverter.h:2549
Dictionary< UUID, String > m_child_blocks_to_insert
Definition EntityConverter.h:2576
bool m_group_import
Definition EntityConverter.h:2581
Extrusion & getExtrusion()
Definition EntityConverter.h:1863
Model getLayer(const String &layer_name)
Definition EntityConverter.h:707
void setIgnoreKnownBlocks(bool ignore_known_blocks)
Definition EntityConverter.h:2442
Buffer< RGBColor > m_tri_color_data
Definition EntityConverter.h:2551
void addRay(const LineData &ray) override
Definition EntityConverter.h:1126
void addDimRadial(const RadialDimension &) override
Definition EntityConverter.h:1764
DXFMode
Definition EntityConverter.h:2523
@ e_measurement
Definition EntityConverter.h:2533
@ e_3D_trace
Definition EntityConverter.h:2532
@ e_polyline
Definition EntityConverter.h:2526
@ e_closed_polyline
Definition EntityConverter.h:2529
@ e_leader
Definition EntityConverter.h:2527
@ e_line
Definition EntityConverter.h:2528
@ e_3D_face
Definition EntityConverter.h:2531
@ e_points
Definition EntityConverter.h:2525
@ e_none
Definition EntityConverter.h:2524
@ e_polyface
Definition EntityConverter.h:2530
virtual void addPolyline(const PolylineData &poly) override
Definition EntityConverter.h:1468
Buffer< UUID > m_model_roots
Definition EntityConverter.h:2553
virtual void addLeader(const LeaderData &data) override
Definition EntityConverter.h:1780
virtual void addLinetype(const LineTypeData &) override
Definition EntityConverter.h:772
Vertex< 3, fltp08 > m_position_offset
Definition EntityConverter.h:2587
Material getMaterial()
Definition EntityConverter.h:436
Geometry m_current_mesh
Definition EntityConverter.h:2562
void addDimDiametric(const DiametricDimension &) override
Definition EntityConverter.h:1768
UUID m_current_paper_root
Definition EntityConverter.h:2555
void addDimOrdinate(const DimOrdinateData &) override
Definition EntityConverter.h:1777
DXFMode m_current_mode
Definition EntityConverter.h:2578
File m_relative_path
Definition EntityConverter.h:2595
Model getBlockModel(const String &block_name)
Definition EntityConverter.h:775
Geometry currentCloud()
Definition EntityConverter.h:2392
void addCircle(const CircleData &c) override
Definition EntityConverter.h:1370
bool m_auto_name_objects
Definition EntityConverter.h:2583
virtual void addPoint(const PointData &point) override
Definition EntityConverter.h:982
bool m_ignore_known_materials
Definition EntityConverter.h:2585
String m_last_x_data_label
Definition EntityConverter.h:2541
bool m_ignore_current
Definition EntityConverter.h:2586
Material generateNewMaterial()
Definition EntityConverter.h:741
virtual void addVertex(const Vector< 4, fltp08 > &vertex) override
Definition EntityConverter.h:1586
UUID m_core_root
Definition EntityConverter.h:2554
virtual void addTrace(const TraceData &data) override
Definition EntityConverter.h:1157
Model currentBlock()
Definition EntityConverter.h:1913
Buffer< UUID > m_meshes_read
Definition EntityConverter.h:2567
void endSection() final override
Definition EntityConverter.h:342
const Buffer< UUID > & meshesRead() const
Definition EntityConverter.h:2416
virtual void endEntity() override
Definition EntityConverter.h:1848
bool m_text_face_camera
Definition EntityConverter.h:2582
Dictionary< uint04, Material > m_materials
Definition EntityConverter.h:2538
void addDimAngular(const AngularDimensionData< 3 > &) override
Definition EntityConverter.h:1771
virtual void addComment(const String &comment) override
Definition EntityConverter.h:1808
void setTextFacingCamera(bool text_face_camera)
Definition EntityConverter.h:2434
void addArc(const ArcData &arc) override
Definition EntityConverter.h:1263
virtual void addEllipse(const EllipseData &e) override
Definition EntityConverter.h:1405
const Buffer< UUID > & pointsRead() const
Definition EntityConverter.h:2414
Material getMaterial(const uint04 &material_handle)
Definition EntityConverter.h:749
Dictionary< String, String > m_x_data
Definition EntityConverter.h:2539
uint04 m_insert_count
Definition EntityConverter.h:2591
void setAttributes(const DXFAttributes &) override
Definition EntityConverter.h:1852
UUID m_current_block
Definition EntityConverter.h:2557
Geometry m_current_points
Definition EntityConverter.h:2563
Model currentEntity()
Definition EntityConverter.h:2242
CADMeshVertexColorSetter * m_mesh_color_setter
Definition EntityConverter.h:2594
static Matrix< fltp08 > GetOrientation(const Vector< 3, fltp08 > &extrusion)
Definition EntityConverter.h:2418
uint04 m_attribute_count
Definition EntityConverter.h:2592
void addDimAngular(const AngularDimensionData< 4 > &) override
Definition EntityConverter.h:1774
void _addLayer(const LayerData &layer_data)
Definition EntityConverter.h:458
virtual void addInsert(const BlockInsert &data) override
Definition EntityConverter.h:1673
Dictionary< String, UUID > m_point_name_data
Definition EntityConverter.h:2540
ConstPointer< Unit > m_unit
Definition EntityConverter.h:2546
String convertFromCADName(const String &file_name, const TranslatedString &object_type, uint04 object_count)
Definition EntityConverter.h:512
Dictionary< String, UUID > m_layers
Definition EntityConverter.h:2552
virtual void addMesh(CADMeshData &mesh_data) override
Definition EntityConverter.h:1523
logic for storing a extrusion data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:1004
void setDirection(fltp08 dx, fltp08 dy, fltp08 dz)
Definition CADEntities.h:1016
void setElevation(double elevation)
Definition CADEntities.h:1024
NDEVR_BASE_API bool exists() const
Definition File.cpp:1010
static NDEVR_BASE_API const Font & ApplicationFont(const String &app_font)
Definition Font.cpp:209
static constexpr char DefaultFont[8]
Definition Font.h:66
static void OptimizedSetPrimitiveVec(const OptimizedPrimitiveDef &ref, uint04 index, t_vec_type index_value)
Definition Geometry.h:421
OptimizedPrimitiveDef optimizedPrimitiveDef(PrimitiveProperty property)
Definition Geometry.h:394
void setTransform(const Matrix< fltp08 > &transform)
Definition Geometry.cpp:2708
void updateModifiedTime(Time time=Time::SystemTime())
Definition Geometry.cpp:2008
bool validate() const
Definition Geometry.cpp:2386
void updateVertexColumns(bool invalidate_bounds=true, bool erase_kd_tree=true)
Definition Geometry.cpp:2206
void setPrimitive(PrimitiveProperty property, uint04 index, t_type index_value)
Definition Geometry.h:335
void setGeometryProperty(GeometryProperty property, const t_type &value)
Definition Geometry.h:147
static void OptimizedSetPrimitive(const OptimizedPrimitiveDef &ref, uint04 index, t_vec_type index_value)
Definition Geometry.h:408
void setThicknessMode(ThicknessMode mode)
Definition Geometry.cpp:494
t_type vertex(VertexProperty property, uint04 index) const
Definition Geometry.h:919
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > getParents() const
Definition Geometry.cpp:1230
void setVertices(VertexProperty property, const Buffer< t_type > &vertices, uint04 offset=0)
Definition Geometry.h:885
uint04 addVertices(uint04 size)
Definition Geometry.h:686
@ e_color_rgb
Definition Geometry.h:89
@ e_cartesian_3F
Definition Geometry.h:74
@ e_no_vertex
Definition Geometry.h:69
void updateTransform(const Matrix< fltp08 > &transform, const void *lock_ptr=nullptr)
Definition Geometry.cpp:2719
uint04 vertexCount() const
Definition Geometry.h:713
void setupVertexTable(uint04 vertex_size, VertexMode position, VertexMode normal=VertexMode::e_no_vertex, VertexMode color=VertexMode::e_no_vertex, VertexMode texture=VertexMode::e_no_vertex, VertexMode tangent=VertexMode::e_no_vertex, VertexMode bitangent=VertexMode::e_no_vertex, VertexMode bones=VertexMode::e_no_vertex)
Definition Geometry.cpp:1203
void setGeometryType(GeometryType geometry_type)
Definition Geometry.cpp:1016
void autoCalculateIndices(PrimitiveProperty property, const void *lock=nullptr, ProgressInfo *log=nullptr, const Matrix< fltp08 > &transform=Matrix< fltp08 >(1.0))
Definition Geometry.cpp:2913
uint04 primitiveCount(PrimitiveProperty property) const
Definition Geometry.h:669
void setVertexMode(VertexProperty property, VertexMode mode)
Definition Geometry.cpp:1837
void updatePrimitiveColumns(bool remove_tree=true)
Definition Geometry.cpp:1999
uint04 vertexOffset() const
Definition Geometry.h:709
void setVertex(VertexProperty property, uint04 index, const t_type &vector)
Definition Geometry.h:871
@ e_flat_single
Definition Geometry.h:133
void updateVertexColumn(VertexProperty property)
Definition Geometry.cpp:2143
@ e_shape_type
Definition Geometry.h:116
@ e_thickness
Definition Geometry.h:101
uint04 addPrimitive(PrimitiveProperty index_property, const t_type &primitive)
Definition Geometry.h:648
void clearVerticesAndPrimitives()
Definition Geometry.cpp:1059
void setPrimitiveMode(PrimitiveProperty property, PrimitiveMode mode)
Definition Geometry.cpp:1981
PrimitiveMode mode(PrimitiveProperty property) const
Definition Geometry.h:309
uint04 addPrimitives(PrimitiveProperty index_property, uint04 insersion_size)
Definition Geometry.h:655
uint04 addVertex()
Definition Geometry.h:680
void closePolyline(PrimitiveProperty property)
Definition Geometry.cpp:2889
A line segment represented by two vertices, a start and end.
Definition Line.hpp:55
constexpr t_precision length() const
Definition Line.hpp:488
constexpr bool intersects(const LineSegment &segment, t_precision epsilon=cast< t_precision >(0.001)) const
Definition Line.hpp:578
Definition LogMessage.h:40
@ e_warning
Definition LogMessage.h:48
@ e_gouraud
Definition Material.h:50
void setMaterialProperty(MaterialProperties mat_index, const t_type &type)
Definition Material.h:173
void updateModifiedTime(const Time &time=Time::SystemTime())
Definition Material.cpp:871
@ e_shininess
Definition Material.h:113
@ e_two_sided
Definition Material.h:109
void setUVColor(const t_type &type)
Definition Material.h:202
void setShadingModel(ShadingModel model)
Definition Material.cpp:516
@ e_background_contrast
Definition Material.h:75
@ e_color_by_model
Definition Material.h:73
@ e_color_by_layer
Definition Material.h:78
@ e_color_channel
Definition Material.h:71
@ e_image
Definition Material.h:77
void setUVMode(UVType uv_index, const UVMode &type)
Definition Material.cpp:877
void setUVImage(UVType uv_index, const t_type &type)
Definition Material.h:196
void setUVIntensity(UVType uv_index, const t_type &type)
Definition Material.h:231
Definition Matrix.hpp:173
constexpr Matrix offset(const Vector< 2, t_type > &translation) const
Definition Matrix.hpp:561
constexpr Matrix scale(t_type scale) const
Definition Matrix.hpp:579
static constexpr Matrix< t_type > OffsetMatrix(const Vector< 3, t_type > &translation)
Definition Matrix.hpp:294
Matrix< t_type, t_cols, t_rows > invert() const
Definition Matrix.hpp:649
constexpr Vector< 3, t_type > decomposeOffset() const
Definition Matrix.hpp:440
constexpr Matrix rotate(const Vector< 3, Angle< t_angle_type > > &orientation) const
Definition Matrix.hpp:623
void invalidateBounds()
Definition Model.cpp:840
Matrix< fltp08 > getCompleteTransform() const
Definition Model.cpp:117
Dictionary< UUID, DesignObject > copyFrom(const Model &model, bool deep_copy, bool copy_ids=false, bool recursive=true)
Definition Model.cpp:1511
void setTransform(const Matrix< fltp08 > &transform)
Definition Model.cpp:3360
Geometry getGeometry() const
Definition Model.cpp:427
void setMaterialMode(MaterialMode vertex, MaterialMode outline, MaterialMode solid)
Definition Model.cpp:1882
void updateModifiedTime(Time time=Time::SystemTime())
Definition Model.cpp:2289
Material getMaterial(PrimitiveProperty property) const
Definition Model.cpp:465
Material createSceneMaterial() const
Definition Model.cpp:3209
uint04 getDirectLayerIndex() const
Definition Model.cpp:2355
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > getChildren() const
Definition Model.cpp:2733
void addChild(Model &child)
Definition Model.cpp:3301
Model createChild()
Definition Model.cpp:3020
Model getParent() const
Definition Model.cpp:2057
Buffer< Model, uint04, ObjectAllocator< DESIGN_PRIM > > getChildrenByName(const String &name) const
Definition Model.cpp:2793
void setModelProperty(ModelProperty property, const t_type &value)
Definition Model.h:137
Geometry createChildGeometry()
Definition Model.cpp:1903
bool hasMaterial() const
Definition Model.cpp:436
void updateTransform(const Matrix< fltp08 > &transform, const void *lock=nullptr)
Definition Model.cpp:2118
Model createSceneModel() const
Definition Model.cpp:3189
void setMaterial(PrimitiveProperty property, uint04 material_index)
Definition Model.cpp:792
@ e_fixed_bounding_box
Definition Model.h:101
@ e_export_ignored
Definition Model.h:115
@ e_model_color
Definition Model.h:112
void setLayer(Model layer)
Definition Model.cpp:2359
void clearLayer()
Definition Model.cpp:2375
Model createSceneLayer() const
Definition Model.cpp:3195
Matrix< t_type > projectionMatrix(const Vector< 3, t_type > &up) const
Definition Plane.hpp:134
Definition ProgressInfo.hpp:43
virtual bool addMessage(const LogMessage &message)=0
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:53
static const uint01 r_pos
Definition RGBColor.h:55
static const uint01 g_pos
Definition RGBColor.h:56
static const uint01 b_pos
Definition RGBColor.h:57
constexpr t_type radius() const
Definition RadialObject.hpp:134
constexpr const t_vertex & center() const
Definition RadialObject.hpp:167
void createDefaultMaterial()
Definition Model.cpp:3478
static void Circle(Geometry &mesh, const Matrix< fltp08 > &trans=Matrix< fltp08 >(1), uint04 width_segments=128, fltp08 radius=1.0f, Angle< fltp08 > phi_start=Angle< fltp08 >(DEGREES, 0.0f), Angle< fltp08 > phi_length=Angle< fltp08 >(DEGREES, 360.0f), bool join=true)
Definition ShapeConstructors.cpp:250
NDEVR_BASE_API uint08 hashLower() const
Definition String.cpp:513
static NDEVR_BASE_API String toHex(uint01 value)
Definition String.cpp:1150
t_type getAs() const
Definition String.h:334
NDEVR_BASE_API String & replace(const String &sub_string, const String &replace_sub_string, bool ignore_case=false)
Definition String.cpp:343
NDEVR_BASE_API String & formatNumberString(uint04 decimals)
Definition String.cpp:591
NDEVR_BASE_API uint08 hash() const
Definition String.cpp:494
NDEVR_BASE_API bool beginsWith(const String &s, bool ignore_case=false) const
Definition String.cpp:412
Definition TranslatedString.h:9
NDEVR_BASE_API TranslatedString & replace(const String &sub_string, const TranslatedString &replacement)
Definition TranslatedString.cpp:51
static NDEVR_BASE_API UUID CreateUUID()
Definition UUID.cpp:150
static ConstPointer< Unit > Kilometers()
Definition UnitDefinitions.cpp:43
static ConstPointer< Unit > InternationalMiles()
static ConstPointer< Unit > Meters()
Definition UnitDefinitions.cpp:13
static ConstPointer< Unit > Feet()
Definition UnitDefinitions.cpp:19
static ConstPointer< Unit > EastingNorthingElevation(const Unit &length_unit)
Definition UnitDefinitions.cpp:686
static ConstPointer< Unit > Gradians()
Definition UnitDefinitions.cpp:490
static ConstPointer< Unit > Centimeters()
Definition UnitDefinitions.cpp:31
static ConstPointer< Unit > Dekameters()
static ConstPointer< Unit > Yards()
Definition UnitDefinitions.cpp:66
static ConstPointer< Unit > Angstrom()
static ConstPointer< Unit > Degrees()
Angle Units.
Definition UnitDefinitions.cpp:460
static ConstPointer< Unit > Parsecs()
static ConstPointer< Unit > LightYears()
static ConstPointer< Unit > Microns()
static ConstPointer< Unit > Inches()
Definition UnitDefinitions.cpp:26
static ConstPointer< Unit > Microinches()
static ConstPointer< Unit > Decimeters()
static ConstPointer< Unit > AstronomicalUnits()
static ConstPointer< Unit > Millimeters()
Definition UnitDefinitions.cpp:49
static ConstPointer< Unit > Nanometers()
static ConstPointer< Unit > Radians()
Definition UnitDefinitions.cpp:485
static ConstPointer< Unit > Hectometers()
static ConstPointer< Unit > DegreesMinutesSeconds()
Definition UnitDefinitions.cpp:473
static ConstPointer< Unit > Gigameters()
static ConstPointer< Unit > Mils()
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
constexpr t_magnitude_type magnitude() const
Definition Vector.hpp:482
constexpr Vector< t_dims, t_norm_type > normalized(Vector< t_dims, t_norm_type > value_if_nan=Constant< Vector< t_dims, t_norm_type > >::NaN) const
Definition Vector.hpp:500
constexpr Vector< t_dims, t_new_type > as() const
Definition Vector.hpp:324
A vertex.
Definition Vertex.hpp:54
Definition Geometry.h:1452
void setVertex(uint04 index, const Vertex< 3, fltp04 > &value)
Definition Geometry.h:1484
Geometry m_geo
Definition Geometry.h:1496
const VertexProperty m_vertex_property
Definition Geometry.h:1501
#define H(x, y, z)
Definition md5.cpp:17
int32_t sint04
-Defines an alias representing a 4 byte, signed integer. -Can represent exact integer values -2147483...
Definition BaseValues.hpp:76
VertexProperty
Definition DesignObjectBase.h:52
ColorMode
Definition CADEntities.h:42
@ e_background_contrast
Definition CADEntities.h:46
@ e_by_layer
Definition CADEntities.h:45
@ e_by_block
Definition CADEntities.h:44
@ e_use
Definition CADEntities.h:43
float fltp04
Defines an alias representing a 4 byte floating-point number.
Definition BaseValues.hpp:157
@ DEGREES
Definition Angle.h:66
QAction * solid_material(nullptr)
t_type distanceSquared(const Bounds< t_dims, t_type, t_vertex > &bounds, const Vector< t_dims, t_type > &vertex)
Definition Distance.hpp:42
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
constexpr t_to cast(const Angle< t_from > &value)
Definition Angle.h:514
constexpr t_type distance(const t_vertex &vertex, const LineSegment< t_dims, t_type, t_vertex > &line)
Definition Distance.hpp:250
constexpr bool equals(const LineSegment< t_dims, t_type, t_vertex > &left, const LineSegment< t_dims, t_type, t_vertex > &right, const t_type &epsilon=cast< t_type >(0))
Definition Line.hpp:819
constexpr Angle< t_angle_type > abs(const Angle< t_angle_type > &value)
Definition AngleFunctions.h:750
constexpr bool isNaN(const t_type &value)
Query if 'value' is valid or invalid.
Definition BaseFunctions.hpp:200
@ B
Definition BaseValues.hpp:203
@ A
Definition BaseValues.hpp:201
@ Y
Definition BaseValues.hpp:202
@ X
Definition BaseValues.hpp:200
@ C
Definition BaseValues.hpp:205
@ D
Definition BaseValues.hpp:207
@ Z
Definition BaseValues.hpp:204
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:181
logic for storing an angular dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:621
logic for storing a arc data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:271
fltp08 radius
Definition CADEntities.h:281
Angle< fltp08 > angle1
Definition CADEntities.h:283
Angle< fltp08 > angle2
Definition CADEntities.h:284
Vector< 3, fltp08 > offset
Definition CADEntities.h:280
logic for storing a attribue data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:458
String tag
Definition CADEntities.h:466
String default_value
Definition CADEntities.h:467
Definition CADEntities.h:172
Vertex< 3, fltp08 > offset
Definition CADEntities.h:178
String description
Definition CADEntities.h:179
Definition CADEntities.h:502
String block_name
Definition CADEntities.h:503
ColorMode mode
Definition CADEntities.h:69
RGBColor color
Definition CADEntities.h:70
Definition CADEntities.h:572
Buffer< CADVariable > data
Definition CADEntities.h:576
uint04 handle
Definition CADEntities.h:573
Definition CADEntities.h:366
uint04 data_dictionary_reference
Definition CADEntities.h:393
Buffer< Vertex< 3, fltp08 > > vertices
Definition CADEntities.h:383
Buffer< uint04 > face_points
Definition CADEntities.h:387
Definition CADEntities.h:82
Buffer< std::pair< sint04, String > > values
Definition CADEntities.h:129
String label
Definition CADEntities.h:128
logic for storing a circle data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:477
RadialObject< 3, fltp08 > circle
Definition CADEntities.h:478
fltp08 thickness
Definition CADEntities.h:479
Definition BaseValues.hpp:272
static const t_type NaN
Definition BaseValues.hpp:274
Definition CADEntities.h:982
String description
Definition CADEntities.h:984
String name
Definition CADEntities.h:983
Buffer< uint04 > group_objects
Definition CADEntities.h:987
Definition CADEntities.h:970
String description
Definition CADEntities.h:972
MaterialUVOptions ambient
Definition CADEntities.h:973
String name
Definition CADEntities.h:971
MaterialUVImageOptions diffuse
Definition CADEntities.h:974
Matrix< fltp08 > mat_matrix
Definition CADEntities.h:978
fltp08 specular_gloss_factor
Definition CADEntities.h:976
MaterialUVImageOptions specular
Definition CADEntities.h:975
logic for storing an diametric dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:605
Definition CADEntities.h:553
LineSegment< 3, fltp08 > alignment_data
Definition CADEntities.h:558
Definition CADEntities.h:642
Vector< 3, fltp08 > definition_point
Definition CADEntities.h:516
Definition EntityConverter.h:109
char decimal_seperator
Definition EntityConverter.h:127
String arrow_block_name
Definition EntityConverter.h:128
ConstPointer< Unit > angle_unit
Definition EntityConverter.h:121
ConstPointer< Unit > distance_unit
Definition EntityConverter.h:123
fltp08 dimension_scale_factor
Definition EntityConverter.h:126
fltp08 arrow_size
Definition EntityConverter.h:125
uint04 angle_min_decimals
Definition EntityConverter.h:122
DimensionMode
Definition EntityConverter.h:111
@ e_decimal
Definition EntityConverter.h:113
@ e_fractional_stacked
Definition EntityConverter.h:116
@ e_fractional
Definition EntityConverter.h:118
@ e_architectural_stacked
Definition EntityConverter.h:115
@ e_ngineering
Definition EntityConverter.h:114
@ e_scientific
Definition EntityConverter.h:112
@ e_architectural
Definition EntityConverter.h:117
DimensionMode display_mode
Definition EntityConverter.h:124
Definition CADEntities.h:482
Vertex< 3, fltp08 > endpoint_of_major_axis
Definition CADEntities.h:484
fltp08 minor_to_major_ratio
Definition CADEntities.h:486
Vertex< 3, fltp08 > center
Definition CADEntities.h:483
Angle< fltp08 > angle1
Definition CADEntities.h:487
Angle< fltp08 > angle2
Definition CADEntities.h:488
fltp08 thickness
Definition CADEntities.h:485
Definition CADEntities.h:139
uint04 file_line_number
Definition CADEntities.h:146
uint04 material_handle
Definition CADEntities.h:145
bool paper_space
Definition CADEntities.h:149
bool visible
Definition CADEntities.h:148
CADColorInfo color_info
Definition CADEntities.h:142
PaperSpace paper_space_info
Definition CADEntities.h:144
bool is_off
Definition CADEntities.h:147
String layer
Definition CADEntities.h:140
fltp08 elevation
Definition CADEntities.h:185
Vector< 3, fltp08 > extrusion
Definition CADEntities.h:184
bool is_bold
Definition Font.h:51
fltp08 point_size
Definition Font.h:44
RGBColor color
Definition Font.h:49
bool is_strikethrough
Definition Font.h:55
bool is_italic
Definition Font.h:52
String name
Definition Font.h:42
uint01 alignment
Definition Font.h:50
bool is_underline
Definition Font.h:53
bool is_overstrike
Definition Font.h:54
fltp08 fixed_width
Definition Font.h:46
Definition Geometry.h:378
Definition CADEntities.h:133
uint04 parent_handle
Definition CADEntities.h:135
uint04 handle
Definition CADEntities.h:134
Definition CADEntities.h:154
@ e_locked
Definition CADEntities.h:159
Vector< 8, bool > flags
Definition CADEntities.h:168
String name
Definition CADEntities.h:167
logic for storing a leader in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:660
Definition CADEntities.h:491
LineSegment< 3, fltp08 > line
Definition CADEntities.h:492
fltp08 thickness
Definition CADEntities.h:493
Definition CADEntities.h:188
RGBColor color
Definition CADEntities.h:967
File map_file
Definition CADEntities.h:966
RGBColor color
Definition CADEntities.h:960
fltp08 color_intensity
Definition CADEntities.h:959
Matrix< fltp08 > paperToModelMatrix() const
Definition CADEntities.h:53
Vector< 3, fltp08 > scale
Definition CADEntities.h:498
Angle< fltp08 > azimuth
Definition CADEntities.h:499
Vector< 3, fltp08 > offset
Definition CADEntities.h:497
Definition CADEntities.h:509
Vector< 3, fltp08 > location
Definition CADEntities.h:510
logic for storing a polyline data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:293
Vector< 32, bool > flags
Definition CADEntities.h:329
@ e_is_3D_polyline
Definition CADEntities.h:299
@ e_is_3D_polygon
Definition CADEntities.h:300
@ e_closed
Definition CADEntities.h:296
@ e_is_polyface_mesh
Definition CADEntities.h:302
fltp08 thickness
Definition CADEntities.h:312
logic for storing a radial dimension in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:590
logic for storing a spline data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:352
logic for storing a style data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:217
String name
Definition CADEntities.h:253
logic for storing a text data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:437
fltp08 height
Definition CADEntities.h:442
fltp08 reference_width
Definition CADEntities.h:443
Angle< fltp08 > rotatation
Definition CADEntities.h:445
fltp08 line_spacing_factor
Definition CADEntities.h:448
String text
Definition CADEntities.h:438
uint01 alignment
Definition CADEntities.h:450
Vertex< 3, fltp08 > align_a
Definition CADEntities.h:440
Vertex< 3, fltp08 > align_b
Definition CADEntities.h:441
logic for storing a trace data in a CAD-friendly way for exporting and importing.
Definition CADEntities.h:337
Vertex< 3, fltp08 > points[4]
Definition CADEntities.h:342