Line segment definition
Line segment DTO
Creates an arc segment definition for DXF (curved path between two points). Example: center=[5,5], radius=5, startAngle=0°, endAngle=90° → quarter circle arc
Arc segment definition
Arc segment DTO
Creates a circle segment definition for DXF (closed circular path). Example: center=[10,10], radius=5 → full circle with diameter 10 centered at [10,10]
Circle segment definition
Circle segment DTO
Creates a polyline segment definition for DXF (connected line segments through points). Example: points=[[0,0], [5,0], [5,5], [0,5]] → rectangular polyline path
Polyline segment definition
Polyline segment DTO
Creates a spline segment definition for DXF (smooth curve through control points). Example: controlPoints=[[0,0], [5,10], [10,0]] → smooth curved path through points
Spline segment definition
Spline segment DTO
Creates a path from multiple segments (combines lines, arcs, circles, polylines, splines). Similar to OCCT wires - segments are connected to form a continuous or multi-part path. Example: segments=[lineSegment, arcSegment, polylineSegment] → combined path entity
Path definition with segments
Path DTO
Creates a paths part with layer and color assignment for DXF organization. Groups multiple paths into a single layer with consistent styling. Example: paths=[path1, path2], layer="Outlines", color=red → grouped geometry
Paths part definition
Paths part DTO
Generates a complete DXF file from paths parts (exports 2D CAD drawing format). Supports lines, arcs, circles, polylines, and splines organized in layered paths. Example: model with 3 parts on different layers → valid DXF file string for CAD software
DXF model definition
DXF file content as string
Creates a line segment definition for DXF (pass-through for validation). Example: start=[0,0], end=[10,5] → DXF line segment from origin to [10,5]