cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven bfd8d0411a perf: AABB snap pre-rejection via acadrust bounding_box() (Option K upgrade)
Add `aabb: [f32; 4]` field to WireModel (world-space 2-D bounding box).
In tessellate_entity() set each wire's AABB from e.as_entity().bounding_box()
via new entity_aabb() helper; Insert sub-entities each get their own AABB.
Preview/interim wires and any entity returning a zero-extent default box get
UNBOUNDED_AABB so they are never pre-rejected.

Replace the chord-sphere heuristic in Snapper::wire_in_range() with a proper
AABB vs snap-circle overlap test.  The new check is four scalar comparisons and
correctly handles closed curves (circles, arcs) which the chord-sphere approach
had to special-case.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 12:21:51 +03:00
..
app perf: AABB snap pre-rejection via acadrust bounding_box() (Option K upgrade) 2026-04-26 12:21:51 +03:00
command feat: add missing Annotate tab commands and icons 2026-04-09 03:26:47 +03:00
entities fix: replace degenerate same-vertex edges with Point in lwpolyline and spline 2026-04-25 20:30:26 +03:00
io feat: STEPOUT command — export 3D meshes to STEP AP203 2026-04-08 22:23:58 +03:00
modules perf: AABB snap pre-rejection via acadrust bounding_box() (Option K upgrade) 2026-04-26 12:21:51 +03:00
scene perf: AABB snap pre-rejection via acadrust bounding_box() (Option K upgrade) 2026-04-26 12:21:51 +03:00
shaders fix: ViewCube hover, glow, centroids, corner geometry and snap angles 2026-04-23 19:11:19 +03:00
snap perf: AABB snap pre-rejection via acadrust bounding_box() (Option K upgrade) 2026-04-26 12:21:51 +03:00
ui feat: view tab widget toggle commands and unified SVG icon color scheme 2026-04-24 01:23:06 +03:00
linetypes.rs first commit 2026-03-22 14:56:27 +03:00
main.rs Refactor src/main.rs into modular src/app/ structure 2026-03-22 22:44:32 +03:00
patterns.rs first commit 2026-03-22 14:56:27 +03:00