Skip to content

Plan hand-safe colour passes and serialize structured SVG #8

Description

@jamiejk

Parent

#1

What to build

Turn prepared paths into deterministic, physically safe pen passes and one authoritative SVG. Passes group by intended colour; each pass plots fills before optional linework, and each phase restarts at the configured hand-safe sweep origin.

Acceptance criteria

  • Plot paths are grouped into deterministic pen passes by intended colour before spatial ordering.
  • Every pass contains a plot-fill phase followed by a linework phase when those components exist.
  • Each phase independently restarts from the configured hand-safe sweep origin.
  • Fill regions follow the configured sweep without interleaving regions.
  • Concentric paths remain contiguous per region and run outermost-to-innermost.
  • Nearest-neighbour optimization cannot reorder passes, phases, regions, or a region's internal path order.
  • One SVG contains all passes and phases in execution order with component and region metadata.
  • The SVG has physical millimetre dimensions, intended-colour strokes, active-nib stroke width, centreline geometry, and no solid path fills.
  • Semantic XML tests verify ordering and structure without relying on fragile whole-document snapshots.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified and ready for an agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions