Roadmap 0.13, Market watch builds

MW.25 Drawing cleanup: find ends that almost meet and lines that are almost level or plumb, review them, and repair them

  • Feature
  • Built · in the lab
  • CadCraft

From MWClaim #446 (scan lines, arcs and polylines for near-miss endpoints and tiny angle errors, with tolerances, markers, preview and review). CadCraft deletes doubled and overlapping objects (OVERKILL) and repairs damaged objects (AUDIT); nothing finds two ends that stop a hair short of each other or a line that is a fraction of a degree off level. Build: CLEANUP scans the selected objects, or the whole drawing, with two typed tolerances (a gap distance and an angle) and lists what it finds by kind: ends that almost meet (a gap), an end that stops just short of or just past another object, lines and polyline segments almost level, almost plumb, or almost parallel or square to a neighbour they join. Each finding gets a marker in the drawing; clicking a finding in the list zooms to it and shows the repair as a preview. Fix one, fix the ticked ones or fix all, as one undo step; a finding can be skipped. Repairs: move both ends to the middle or one end onto the other, extend or trim to the object, turn a line about its middle or its fixed end. Locked layers and the inside of blocks are reported, not changed. The scan alone changes nothing. CadCraft. Untested: sheets, linked drawings, splines and ellipses (reported as not checked), very large drawings, touch, Studio windows.

Built in the lab (2026-12-03): CLEANUP opens a window (Modify menu entry too) with gap and angle fields (empty = defaults from the drawing's size and units), Scan, a list grouped by kind with a marker ring per finding, zoom and a green preview on click, a repair choice where there are several (corner, middle, one end onto the other; extend; trim; turn about the middle or an end), Fix ticked, Fix all, Skip, and a rescan after a repair. Scan looks at the whole drawing (the engine takes a chosen set; the window does not offer one yet). Locked layers are reported and left; block contents, linked drawings, splines and ellipses are counted as not checked. Fix all is one undo step. Checked in a real browser against the lab (30 steps incl. the nine acceptance steps, hatch fills after the repair). Untested: sheets, linked drawings, splines and ellipses, very large drawings in the window, touch, Studio windows.

From: a Discord member

Add a comment

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.