Sketch Doctor
Alpcell Fusion Tools panel · SOLID → MODIFYCleans up the sketches of a design. It deletes duplicate curves and zero-length lines, joins curve ends that almost touch so a profile closes, and ties points on the sketch origin to the origin itself, so deleting a circle can no longer set half a drawing loose. It also hides visible sketches and, if you choose, deletes sketches that look unused. You pick every item, and a change that would break a timeline step is not made at all.
- Duplicates and zero-length lines
- Tiny gaps joined
- Origin points tied properly
- Hides sketches
- Rolls back if a step breaks
What you get
-
Duplicates and stray lines, gone
A curve lying exactly on another one of the same kind, and a line with no length, are listed one by one. Only the extra copy is deleted; the curve it lies on stays.
-
Profiles that close
Curve ends that almost touch, but are not joined by a shared point or a constraint, are listed with the size of the gap. Joining merges the two points, so the outline closes.
-
Points that stay on the origin
A circle whose centre snapped to another circle's centre at the origin comes loose when that circle is deleted. The Doctor ties it to the origin point itself, one constraint swapped for another, and nothing moves.
-
Nothing breaks
After its changes the Doctor recomputes the design. If a timeline step that worked before now fails, everything is rolled back and you are told which step. Otherwise it is all one undo step.
-
Works with Design Health
Design Health reports the same problems. Its Fix on a finding, or on one row, runs the Doctor on just that, with the same safety check.
How to use it
- Start the toolClick Sketch Doctor in the Alpcell Fusion Tools panel, or under SOLID → MODIFY. The dialog lists what it found in every sketch of the open design.
- Choose the fixesEverything except deleting sketches starts ticked. Untick what you want to keep as it is; the Result box counts what will change.
- Click OKThe fixes are applied in one undo step. If one would break a timeline step, nothing is changed and you are told which step.
Settings
The dialog lists what it found in the open design when it opened: one group per kind of problem, and inside it one sub-group per sketch with a checkbox for each item. Groups with nothing to fix say so. The example below is a design with three sketches.
The safety net, in short: after its changes the Doctor recomputes the design and compares the failing steps with those before. A step that failed already does not count; a newly failing one cancels everything.
Lines, arcs and circles lying exactly on another curve of the same kind: the same ends (a reversed line counts), or the same centre and radius, to within a millionth of a millimetre. Duplicates often come from pasting or projecting twice, and they keep profiles from forming. Construction and projected curves are left out.
A sub-group for each sketch with something to fix, with the number of items. Its header checkbox stands for the whole sketch: untick it to leave this sketch alone without unticking each item. A sub-group with more than 12 items starts closed.
One checkbox per extra copy, named by its kind and size (“circle Ø20 mm”, “arc R5 mm”). Ticked, the copy is deleted; the curve it lies on stays.
The second copy in Sketch1. To see where it is first, use Design Health: clicking its row there selects the curve and zooms to it.
Lines whose two ends lie on the same spot. They are invisible, but they can hold constraints and break profiles.
The sketch the line is in.
Ticked, the line is deleted.
Pairs of curve ends that almost touch but are not joined. An end counts as joined when it shares its point with another curve, when a coincident constraint ties it to something, or when it lies within a millionth of a millimetre of another end. The remaining open ends of different curves pair up, nearest first, each end used once. Gaps like these are typical of imported DXF drawings.
The largest gap to list. Changing it reads the sketches again and rebuilds the list below at once. Keep it small: 0.01 mm catches the rounding gaps of imported drawings, while a gap of a few tenths is usually a drawing mistake that deserves a look before you join it.
The gaps of Sketch1. With no gap under the limit anywhere, this group says “No curve ends this close.”
One checkbox per gap, with its width. Ticked, the two end points are merged into one, which moves one end by that tiny distance and closes the outline.
When you draw at the origin, Fusion can snap a new circle's centre to the centre of a circle already there instead of to the origin point. The new circle then hangs on the first: delete the first circle and the second comes loose, with everything dimensioned from it. This group lists the points on the origin that reach it only through another curve's point, and those not tied to it at all. With none, it says “Every point on the origin is tied to it.”
The points of Sketch2: first those that hang on another curve, then those not tied at all.
The point is named by its curve (“circle Ø20 mm” for its centre, “end of line 30 mm”) and what it hangs on; a point tied to nothing reads “…, not tied”. Ticked, its one tie towards the origin is replaced by a coincident constraint with the origin point. Nothing moves, as the point is on the origin already, and points hanging on this one stay tied to it, so fixing them one at a time never frees anything.
The same fix is the Tie to origin button of the Sketch Buddy, for one point.
Every sketch whose light bulb is on, with the count. Hidden sketches make a finished design easier to read and to select in. The group starts closed when more than eight sketches are visible.
One checkbox per visible sketch, ticked: every visible sketch is hidden on OK unless you untick it. Untick the sketches you are still working in.
Hiding only turns the light bulb off; switch it on again in the browser whenever you need the sketch.
Sketches with curves that no extrude, revolve, sweep, loft or ruled surface takes a profile or path from, and that no other sketch projects geometry from. That is a best guess: Fusion does not tell which features use a sketch, so a sketch that only places holes, drives a pattern or holds a joint looks unused too.
With none found, this reads “None found.”
The only fix that starts unticked. Ticked, the whole sketch is deleted, and any other fix chosen for it is skipped. If a step that depends on it then fails, nothing is changed; untick it and click OK again.
What OK will do with the current ticks. Only the lines with something to do are shown; with nothing ticked, a single line reads “Changes: nothing selected” and OK is greyed out.
Duplicate copies and zero-length lines together.
Gaps whose ends will be merged.
Points that will be tied to the origin point.
Sketches whose light bulb will be turned off.
Sketches that will be deleted. Not shown in this example, as Delete Sketch3 is unticked.
Opens this page in your browser.
The ⓘ at the lower left also opens this page. OK applies the ticked fixes, sketch by sketch: origin ties first (so a deleted curve can no longer free a point), then deletions and joins, hiding, and last the sketches to delete. Then the safety check runs. It is all one undo step; if Fusion refuses a change, or a step breaks, nothing is changed and you see why. Cancel leaves your design as it was.
Unconstrained curves and open ends are only reported, by Design Health: fixing them needs your judgement. The same goes for a dimension measured from a curve's own point at the origin, which goes when that curve is deleted; Design Health lists those too.