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.
A Blueprint, CompoundBlueprint, or Blueprints collection.
Optional
Layer name and curve approximation settings.
A complete DXF ASCII string.
const dxf = blueprintToDXF(myBlueprint, { curveSegments: 64 }); Copy
const dxf = blueprintToDXF(myBlueprint, { curveSegments: 64 });
exportDXF for the lower-level entity-based API.
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.