Repository navigation
ZigZag 0.1.6
ZigZag 0.1.6
Satin lettering read stroke by stroke, with a choice of how corners are
sewn; Break into Columns, to adjust a satin's route by hand; an even
zigzag; comments pinned on the canvas for an agent, with its work shown
before and after or as versions to choose from; tools for agents to adjust
and measure stitching; and a pre-flight check of the stitches themselves.
Satin lettering
- Letters and other filled shapes sewn in satin are read as strokes by
their chordal axis (the middle line of the outline): a P is a stem and a
bowl, a T a bar and a stem. - Corners in the Stitch panel says how the strokes meet. Cut (the
default) cuts the shape into columns where its strokes part, corners
squared, one stroke running on and the other ending against it. Mitred
makes each stroke its own column and ends both on the line between them.
Auto mitres unless a corner is too sharp to mitre cleanly (the point of a
V) or a join can't be read clearly, when it's cut. In layer names:
cut=0,mitred. - The order a letter's columns are sewn in is chosen by trying orders
against the real sewing test, and the thread can hop once between two
pieces of hidden ground that nearly touch, so more letters sew in one
piece of thread. - Zigzag: Even (on by default): each step along a column is shared
between the stitch over and the stitch back, so both slant the same and a
narrow stem's edges are clean.even=0sews one stitch straight across
and the next the whole step, as before. - On knit, satins from 1 mm wide get a center walk under them (1.5 mm on
other fabrics).
Break into Columns
- Object › Break into Columns makes a satin shape the columns it's sewn
as: each a two-rail satin of its own, with its rails and rungs, in a
group, in the order ZigZag sews them. Columns one after another in one
group, in the same thread and with the same settings, are still sewn as
one satin, so breaking a shape doesn't change how it's sewn. Reorder them
in Layers or reshape their rails. Agents have it asbreak_into_columns. - A two-rail satin can say which subpaths are its rails (
rails=1+2), and
its rails can be closed (a ring). - Clicking between a two-rail satin's rails selects it.
Basic settings
- Show advanced settings in Settings › General: turned off, the Stitch
and Document panels show the few settings most designs need and leave
the rest to the fabric. A setting that's been changed always shows,
marked with a dot, and each panel says how many more it has. It's on
unless you turn it off.
Working with an agent
- Annotate (beside Send in the Agent panel, or N): click the canvas to
pin a comment where you mean, or drag a box round an area. A pin goes
with the object it's on. Return sends a comment to the agent there and
then (or when it's done with what it's doing); comments not yet sent go
with the next prompt. The agent marks each one done with a word on what
it did. A bar over the canvas frames the comments, hides them, deletes
one or all, and sends them. - Each prompt keeps the design as it was. On its Done line: Before,
After and Side by Side, and from the comparison, Revert to This
(one undo step). The last twelve prompts keep theirs. - Ask for options and the agent makes versions: each is shown beside the
original as it's made, all moving and zooming together, with Use This on
the one you want. - The transcript shows a run of steps as one line (
4 steps · Checking ×2 · Reshaping) that opens with a click, in one text size throughout; Send
and Stop are one round button. - Floating bars are moved by a grip of dots.
Agents
-
get_annotationsreads the comments pinned on the canvas (where each
is, what it says, the objects it's on) andresolve_notemarks one
done.render_previewdraws them as blue pins and dashed boxes. -
start_variants,save_variantandshow_comparisonmake versions for
the person to compare with the original and choose from. -
measure_stitchingcounts what shows in satin stitching (stitches
outside the shape, bare cloth, crowded needle points, seams, piled satin,
travel in sight, trims) and, given an earlier result, says what moved and
whether it's better: an agent can try a change, keep it if it helped and
undo it if it didn't. -
get_pathandedit_pathread and change an object's points: move, add
or delete a point, add or delete a subpath. On a broken-out column that's
its rails and rungs. -
create_outlinesturns text into shapes, so its columns and points can
be changed. -
set_objecttakes a satin'scut,mitred,evenandrails.
Issues
- The Issues list checks the stitches themselves, as a shop's pre-flight
check does: stitches shorter than the document's shortest, stitches over
12.1 mm, pieces of thread between cuts too short for a trimmer to catch,
and (as notes) needle points piled in one spot and thread piled too
thick. - Travel is counted as showing only where nothing sewn later lies over it,
and stitches crowded together count by the distance they take up.
Lettering
- Text scaled by its handles says its new letter height (and tracking,
kerning and horizontal scale) in its settings. - New text starts in the font you last used, from one session to the next.
- A letter height typed into the task bar is taken when you press Return.
- The font menu opens on the current font instead of scrolling to it.
- While a satin is dragged, its columns move with it rather than being
found again at every frame.
Command line
zigzag convert --set "pc=0.3 ul=center"gives stitch settings to every
object that doesn't set its own.
Fixes
- New objects in a reopened design are numbered after the ones already in
the file, so a new shape no longer takes an old one's id. - PES and PEC files carry the design-box offset Brother machines expect
(Kiran Joshi). - On Windows the studio finds the agent CLIs, draws menu checks and uses
Segoe UI; the Agent panel has install steps for each platform (Juri
Wolf).
For development
tools/census/sets every letter and digit of about 50 popular fonts as
satin and counts how many come out clean; see the README. Thetrial
profile builds as fast as release and rebuilds in seconds.