2014e60ae6
* claim: #9827 * Sketch Offset: an Instances count stacks offsets one behind another (#9827) Offset made one offset at a time, so a set of evenly spaced outlines meant running it again on the curves it had just made, once per ring: a separate undo step and a separate driving dimension each time. `sketch.offset` now takes `instances`, a whole number or a unitless expression from 1 to 100 (1, today's behaviour, by default). The per-group work the command did inline becomes `offset_rung`, and `offset_ladder` runs it once per instance, each rung offsetting the one before it the same distance again, so instance n stands n distances from the curves picked. Every rung of a side is driven by that side's own dimension, so editing it moves the whole set and keeps the spacing even, and each side of a Two Sides or Symmetric offset grows its own ladder. A rung the shape has no room for refuses the whole command and names which instance it was. A later rung reads its side from the geometry, through the rung's own normal-distance annotation, rather than from the distance's sign: an output's stored ends need not run the way the chain through them is walked, and a reversed walk reads the same sign as the other side. A circle is the exception and keeps the sign, because it offsets concentrically with no chain to walk, and a step past a ring smaller than the distance lands beyond the centre, where the circle's "outside the current radius" side test reads as the outward side: an inward ladder turned round and grew again (1, 4, 1, 4 mm) instead of running out of room. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Sketch Offset: the Instances row in the offset window (#9827) The offset window gets an Instances row under Distance: a whole number with step arrows, 1 by default, so the count can be walked up a ring at a time and the preview follows each step. The count is not kept in the design, as Mirror's and Scale's values are not, so the window sends the number it evaluates to rather than the text. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * UI kit: a count's step arrows are not text (#9827) The arrows stand inside the editor, which asks for the text cursor across its whole rect, so hovering one showed an I-beam and the arrows read as part of the number. They take the ordinary cursor back after it, and the pointer is read from the arrow's rect rather than from the hover the editor underneath competes for, which keeps the hover highlight in step with it. The pattern Quantity rows share this field and had the same thing. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Sketch Offset: Instances label in the complete catalogs and the other shipped languages Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Sketch Offset Instances: translations for the complete catalogs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: bherbruck <brennen.herbruck@gmail.com>