Roadmap 0.11, Owner Research Suggested
ORS.4 Draw order: bring to front, send to back, text to front, hatches to back
Partly built in the lab 2026-11-12: DRAWORDER (Front, Back, Above, Under), TEXTTOFRONT, HATCHTOBACK, one undo step each (new a Discord member.reorder); the order survives Save and Open in DXF and DWG. On screen the order shows among fills and pictures only. Also open: a DWG's saved draw order from another program is not read (dwg-import.js), and undoing an erase puts the object back on top. Tests bin/test-ors-cleanup.mjs.
a Discord member Suggested. The other program has DRAWORDER (front, back, above, under), TEXTTOFRONT and HATCHTOBACK. Ours: draw order is the order objects were added and is kept on save, but there is no command to change it. Needed whenever a fill or picture covers linework.
BUILT on screen (cad-11 2026-11-20): the redraw cache is a list of runs (fills, lines, masks, texts), an opaque item over something drawn before it starts a new run (a 64 x 64 grid of what the run covers), so DRAWORDER, TEXTTOFRONT and HATCHTOBACK show on screen as in the file (browser-ors.mjs --row ORS.4: a red line over and under a blue fill, read from the pixels). Past 256 runs the rest share the last one (2,000 runs made a zoomed redraw of 100,000 objects 2 to 4 times slower). Test cad11.test.mjs.
Community comments
No comments yet
Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.
Sign in or create a free account to add a comment.