Bitbybit Docs
    Bereite Suchindex vor...

    Klasse Dxf

    Index

    Konstruktoren

    • Rückgabewert Dxf

    dxf

    • Creates a line segment definition for DXF export (pass-through for validation). Example: start=[0,0], end=[10,5] → DXF line segment from origin to [10,5]

      Parameter

      Rückgabewert DxfLineSegmentDto

      Line segment DTO

    • Creates an arc segment definition for DXF export (curved path between two points). Example: center=[5,5], radius=5, startAngle=0°, endAngle=90° → quarter circle arc

      Parameter

      Rückgabewert DxfArcSegmentDto

      Arc segment DTO

    • Creates a spline segment definition for DXF export (smooth curve through control points). Example: controlPoints=[[0,0], [5,10], [10,0]] → smooth curved path through points

      Parameter

      Rückgabewert DxfSplineSegmentDto

      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

      Parameter

      Rückgabewert DxfPathDto

      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

      Parameter

      Rückgabewert DxfPathsPartDto

      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

      Parameter

      Rückgabewert string

      DXF file content as string