cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 4e8521010b fix(wipeout): keep fill boundary precise at UTM coordinates
`wipeout_boundary_2d` built the fill boundary from the wipeout's
insertion point cast straight to f32, stored in a HatchModel with
world_origin = [0, 0]. At UTM-scale coordinates (~1e6) f32 resolves to
~0.06, so the boundary collapsed and the relative-to-eye fill shader
cancelled `boundary - eye` to noise — the mask rendered as squares.

Return the boundary as small f32 offsets relative to a world_origin
(the insertion point, kept in f64) and set HatchModel.world_origin to
it at both the model-space and paper/viewport fill sites. Same fix as
the wide-polyline and on-create hatch fills.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 11:20:50 +03:00
..
app Merge PR #180: TTF solid glyph fills, font fallback, Z-order fix 2026-06-26 00:20:59 +03:00
command feat(commands): interactive value prompts for PDMODE/PDSIZE/LTSCALE/CELTSCALE (F4) 2026-06-25 13:35:25 +03:00
entities fix(polyline): keep wide-polyline fills precise at UTM coordinates 2026-06-26 10:55:28 +03:00
io fix(dimension): bake a *D block on save so dimensions survive in other CAD 2026-06-25 17:01:10 -07:00
modules fix(trim): trim circles into arcs, fix arc/circle preview plane (#184) 2026-06-26 07:25:02 +03:00
plugin Fix 5: Allow backward-compatibility and add plugin-template-v2 2026-06-25 00:02:17 +03:00
scene fix(wipeout): keep fill boundary precise at UTM coordinates 2026-06-26 11:20:50 +03:00
shaders perf(render): hoist per-wire constants to a storage buffer (native) 2026-06-26 10:39:23 +03:00
snap fix(osnap): snap to arc/circle centre when hovering the curve (#152) 2026-06-25 17:01:23 +03:00
ui Merge PR #180: TTF solid glyph fills, font fallback, Z-order fix 2026-06-26 00:20:59 +03:00
cli.rs Initial commit 2026-06-25 00:01:36 +03:00
lib.rs feat(cli): full command-line interface via clap 2026-06-20 13:59:20 +03:00
linetypes.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
main.rs Initial commit 2026-06-25 00:01:36 +03:00
par.rs feat(wasm): sequential rayon shim for the web build 2026-06-16 17:11:20 +03:00
patterns.rs chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
sys.rs fix(web): paste clipboard text into the TEXT / MText editors 2026-06-20 17:05:02 +03:00
update_check.rs chore: silence native and wasm build warnings 2026-06-22 02:03:34 +03:00