brepjs API Reference
    Preparing search index...

    Function blueprintToDXF

    • Convert a Blueprint (or CompoundBlueprint/Blueprints) to a DXF string.

      Each straight segment becomes a LINE entity; arcs, ellipses, splines, and other curves are approximated as LWPOLYLINE entities.

      Parameters

      Returns string

      A complete DXF ASCII string.

      const dxf = blueprintToDXF(myBlueprint, { curveSegments: 64 });
      

      exportDXF for the lower-level entity-based API.