DATAKIT SDK  V2026.4
testcreatecylfdt.hpp
Go to the documentation of this file.
1 // TestCreateCylFdt.hpp
2 // Sample creation helpers for cylinder bodies, FDT (Form and Dimension Tolerances), and cube variants with extra attributes.
3 // Used as input data for STEP writer tests (TestLibStepWrite).
4 // Functions duplicated from TestCreateCube are renamed with suffix _2 and augmented with validation properties, IDs, and face attributes.
5 
6 #include "util/util_ent_dtk.hpp"
8 
9 namespace sampleWriter
10 {
11  //! \brief Creates a body containing a construction (reference) plane at the origin.
13  //! \brief Creates a closed BRep cylinder body with its triangulated tessellation, ready for writing.
15 
16  // duplicated from TestCreateCube, with additional attributes
17  //! \brief Creates a 100x100x100 mm BRep cube body augmented with face IDs required for FDT attachment, validation properties, and face-level user attributes.
19  //! \brief Creates an open shell body (5 faces) augmented with open-shell validation properties.
21  //! \brief Creates a wireframe body with colored curves, augmented with additional attributes.
23 }
sampleWriter::CreateCube_2
Dtk_BodyPtr CreateCube_2()
Creates a 100x100x100 mm BRep cube body augmented with face IDs (required for FDT linking),...
Definition: testcreatecylfdt.cpp:1064
sampleWriter::CreateCurves_2
Dtk_BodyPtr CreateCurves_2()
Creates a wireframe body with colored curves, augmented with additional curve-level attributes.
Definition: testcreatecylfdt.cpp:1110
util_topology_ptr_dtk.hpp
sampleWriter
Definition: testcreatecube.cpp:15
util_ent_dtk.hpp
sampleWriter::CreateOpenShell_2
Dtk_BodyPtr CreateOpenShell_2()
Creates an open shell body (trimmed cylindrical surface) augmented with open-shell attributes.
Definition: testcreatecylfdt.cpp:1095
sampleWriter::CreateConstructionPlane
Dtk_BodyPtr CreateConstructionPlane()
Creates a construction plane body: an infinite plane at Y=50, returned as an open shell.
Definition: testcreatecylfdt.cpp:1154
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
sampleWriter::CreateCylinder
Dtk_BodyPtr CreateCylinder()
Creates a closed BRep cylinder body (radius 50, height 100) with two circular faces,...
Definition: testcreatecylfdt.cpp:1180