Model - DXF
API reference for src/export/dxf on @huukhanhnguyen/model, reachable from ..
See the Guide for the ModelJSON / evaluate pipeline.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
sceneToDxf
function
A render frame (Model.sceneFrame()) → DXF R12. Same bake law as sceneToStep: slice leaves are world-space; block placement matrices bake into each leaf via transformEntity, then the scene writer serializes.
sceneToDxf(frame: RenderFrameSlice[], options?: DxfExportOptions): string