Files
kicad-source-mirror/common/plotters
Seth Hillbrand c0a6a139cf Add $INSUNITS header variable to DXF export
The DXF exporter was missing the $INSUNITS header variable, which tells
CAD software what physical units the drawing coordinates represent. Without
it, other programs have no reliable way to determine the coordinate scale.

Add $INSUNITS to the HEADER section alongside the existing $MEASUREMENT
variable. When exporting in millimeters, $INSUNITS is set to 4; when
exporting in inches, it is set to 1.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/23181
2026-02-23 12:14:49 -08:00
..
2025-09-20 13:27:37 -07:00
2026-02-20 22:07:43 +00:00