Files
vectorcraft/docs
dotCooCoo 787c489cfc DXF/DWG import: pattern hatches keep their pattern and gradient hatches their gradient
Pattern hatches came in as their boundary outlines, and gradient hatches
were filled with their first color.

- A pattern hatch now draws its pattern lines (groups 53, 43 to 46 and
  49): each family's lines clipped to the boundary (even-odd, as solid
  hatches fill), cut into dashes and dots that start from each line's
  base point, and stroked at the hatch's lineweight without its linetype.
  Dots get round caps. A user-defined double hatch (group 77) with one
  family gets the perpendicular family too.
- A gradient hatch (groups 450 to 470) is filled with a linear or radial
  gradient at its angle across the boundary, in its two colors or one
  color shaded or tinted (452, 462); the shift (461) moves the center up
  and left. The named gradients map to linear and radial ones by
  VectorCraft's own rule (hatch.rs). Gradient colors "by block" or "by
  layer" on layer 0 resolve through the insert, and a block holding one
  becomes a symbol per look.
- A pattern hatch without usable pattern lines, with more than 20,000
  dashes, or past the drawing's budget of 2,000,000 dashes or
  200,000,000 clipping steps still comes in as its boundary, with a
  warning.

Docs: docs/mcp.md (DXF import), docs/file-format-parity.md (DXF row).
2026-12-04 20:33:00 -08:00
..