Files
cadcraft/crates
DievartisandFredApps 8e329e42b9 Hatch dialog: create custom patterns and capture a repeating tile from a drawing (#3631)
* Hatch dialog: author custom PAT families and capture a repeating tile

* Handle Escape through CADCraft's window cancel intent in the hatch dialog

* Keep custom hatches in the pattern gallery and fix repeating tile capture

* Exercise keyboard input in the hatch gallery filter

* Use the active drawing’s hatch geometry and finish tile picks only after two corners

Resolve embedded pattern lines for the gallery, HATCH, HATCHEDIT and Properties. Retry an empty compact swatch at full-period scale. Add coverage for two reopened drawings with the same pattern name, incomplete picks and aligned sparse marks.

The earlier shallow-slope fix skips empty scanlines before clipping. Its regression counts 10,000 full-length marks in a 100 by 100 tile area.

* Expose hatch tile capture as a headless engine command and reuse it in the dialog

* Respect drawing visibility and localize hatch capture errors in the dialog

* Use the public UI state constructor in workspace tests and route hatch capture through CadApp::run

* Classify in-memory hatch tile capture as requiring no files

* Check the saved hatch by handle independently of entity iteration order

* Reserve the native user-defined hatch name across custom pattern entry points

* Add the Chinese command label for Capture hatch tile

chinese_menus_and_commands_are_fully_translated requires every command
label in the Simplified Chinese catalog. The Ubuntu gate failed with this
one key still in English.

---------

Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-12-02 16:18:48 +01:00
..