mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-24 10:56:51 -06:00
A PlotStyleTable model in doc with our own built-in tables (default.ctb keeps object properties, monochrome.ctb prints black, grayscale.ctb prints the grey of each colour's luminance). The render builder resolves each object's style by its index colour (true colours by the nearest index) and applies colour, screening, linetype and lineweight. PLOT/EXPORTPDF use the page setup's table (or the plotStyleTable option); layouts with Display plot styles (PAGESETUP displayPlotStyles, DXF plot flag 2) show it on screen and in PNG/SVG exports. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>