Repository navigation
First public release.
render()returnspaths(path data per layer),widthandheight, and
every sheet haspaths, so host apps can draw layers without parsing SVG.
Each layer path hasd(everything),regions(closed outlines, filled
even-odd on fill layers) andlines(open lines, always stroked).marginrender option and--marginflag: space between the parts and
the sheet edge, separate fromgapbetween parts (defaults togap).- Errors from a missing font carry
missingFonts, so a host can load the
fonts and render again. parameters()gives list settings"type": "number"with a list
initial, the same as OpenSCAD's parameter JSON (was"vector").- Every setting has
span, the source offsets of its value, so an editor
can change the value without touching anything else. - A setting's caption comes only from a comment on its own line above it,
not from the end-of-line comment of the setting before. text_width()andtext_metrics()errors report their line and column.- A warning when kerf compensation closes a hole narrower than the kerf.
kerf checklists every sheet with its material, thickness and pieces;
kerf renderwarns when several sheets are stacked in one SVG, and
kerf --versionshows the language version too.- Guides in
docs/, calibration square and kerf test examples, and
npm run compat, which checks SVG and DXF output in Inkscape.