cad-editor/assets
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Karim Jerbi 236b7756f8 feat(draworder): HATCHTOBACK command and interactive DRAWORDER workflows
Implement the AutoCAD compatible HATCHTOBACK (HB) command and enhance the interactive DRAWORDER command pipeline with comprehensive verb selection and viewport entity picking.

Key implementations and architectural details:

1. HATCHTOBACK command execution
   * Isolates entities belonging to the active layout block record or global space.
   * Filters out entities residing on locked layers using an efficient hash set lookup.
   * Records targeted delta undo operations on SortEntitiesTable objects (~100 bytes) rather than snapshotting full document structures.
   * Performs granular draw depth cache invalidation via Scene::invalidate_draw_depth, preserving existing geometry tessellations and spatial indices.
   * Emits localized user notifications when no qualifying hatch entities are found.

2. Interactive DrawOrderCommand state machine
   * Supports preselected entities as well as interactive on demand selection gathering.
   * Implements subverb selection supporting single character shortcuts (A for Above, U for Under, F for Front, B for Back) and case insensitive keyword parsing.
   * Enables interactive reference object picking directly in the viewport via needs_entity_pick and on_entity_pick callbacks.
   * Supports hexadecimal handle specification directly from the command line interface.

3. Ecosystem and system integration
   * Bumps DEFAULT_ALIASES_VERSION from 2 to 3 to register the HB alias while preserving existing user overrides.
   * Integrates HATCHTOBACK and HB into dynamic autocomplete registries.
   * Adds localized message strings across all 20 Fluent translation catalogs.
   * Corrects hatch boundary serialization flags to ensure outermost boundary rings consistently carry the external attribute.
2026-08-23 18:56:01 +01:00
..
fonts fix(tolerance): draw the feature control frame properly 2026-07-15 22:22:07 +03:00
icons feat: improve start page links 2026-08-15 23:33:18 +03:00
linetypes chore(assets): drop ACAD prefix from ISO names 2026-06-08 23:11:30 +03:00
mimetypes feat(thumbnails): embed DWG previews and wire cross-platform file thumbnails 2026-07-11 01:27:17 +03:00
patterns chore(assets): drop ACAD prefix from ISO names 2026-06-08 23:11:30 +03:00
plotstyles feat(plot): complete plot configuration 2026-07-31 13:41:34 +03:00
sponsors fix(web): outline sponsor logo text 2026-07-30 20:21:18 +03:00
logo.svg fix(icon): draw every icon from the logo file 2026-08-07 17:37:59 +03:00
ocad.pgp feat(draworder): HATCHTOBACK command and interactive DRAWORDER workflows 2026-08-23 18:56:01 +01:00