OptionalcoordinateOptionalmetadata999 comment written at the top of the file (R12 has no $INSUNITS
to state the unit instead — see dxf/writer.ts). Defaults to a
generic "units: metres" note; pass one naming the IfcProjectedCRS
for a georeferenced export.
OptionalpolylineExtra polyline layers drawn on top of the drawing, each on its own DXF
layer (e.g. the viewer's traced scan outline, #6871). Points are in
drawing space and go through coordinateTransform like everything else.
OptionalshowInclude cut-polygon boundaries (hatch regions, represented as closed POLYLINE boundaries — see module docs). Default true.
OptionalshowInclude lines whose visibility === 'hidden' (default true, matching SVG).
OptionalunderlaysDXF reference underlays composited alongside the drawing (issue #1782 parity).
Applied to every emitted point (drawing geometry and underlays alike) as the very last step before it reaches the writer. Identity by default. The viewer uses this to re-derive true world/map coordinates for a plan-view export — see
apps/viewer/src/hooks/dxfExportGeoref.ts.