cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 1a753e821c refactor(snap): find both tracking directions in one pass
Perpendicular tracking arrived as a second full scan of the drawing's
segments, run next to the edge-direction scan on every acquisition. The
two ask different questions of the same segments — does this one end
here, does this one pass through here — and the scan is the expensive
part, so they now ask together and the drawing is walked once.

Two things fall out of sharing the walk. The perpendicular path picks up
the non-finite guard the edge path already had, so a NaN vertex can no
longer reach the projection. And a perpendicular is now skipped when the
edge rays already cover its direction: at a square corner one segment's
perpendicular is the other segment's own ray, and two rays down the same
line are two identical-looking things for the cursor to choose between.

Behaviour is otherwise unchanged — same tolerance, same near-parallel
dedup, same cap of six each, same skipping of round wires.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 00:23:53 +03:00
..
app fix(units): leave the sheet viewport alone when converting 2026-08-08 00:11:57 +03:00
entities feat(units): read back every form the drawing writes 2026-08-07 23:46:49 +03:00
io fix(icon): draw every icon from the logo file 2026-08-07 17:37:59 +03:00
modules feat(units): read back every form the drawing writes 2026-08-07 23:46:49 +03:00
plugin fix(plugins): harden marketplace loading 2026-07-30 16:34:07 +03:00
scene fix(paper): give the sheet back its desk and its edge 2026-08-08 00:11:47 +03:00
shaders feat(render): add scene environment pipeline 2026-08-05 23:42:18 +03:00
ui feat(units): read back every form the drawing writes 2026-08-07 23:46:49 +03:00
cli.rs fix(renderer): add automatic compat fallback 2026-07-24 17:05:54 +03:00
command.rs feat(select): offer the selection modes at "Select objects" 2026-08-07 13:32:11 +03:00
config.rs feat(web): persist browser state 2026-07-29 00:44:00 +03:00
discussions.rs fix(plugins): trust platform certificates 2026-07-29 15:00:07 +03:00
i18n.rs feat(web): unify fonts and refine viewcube 2026-08-03 15:28:51 +03:00
lib.rs feat(locale): add Fluent translations 2026-08-02 18:53:38 +03:00
locale_catalog.rs feat(styles): overhaul style managers 2026-08-03 02:01:47 +03:00
main.rs feat(locale): add Fluent translations 2026-08-02 18:53:38 +03:00
network.rs fix(plugins): trust platform certificates 2026-07-29 15:00:07 +03:00
par.rs feat(wasm): sequential rayon shim for the web build 2026-06-16 17:11:20 +03:00
patreon.rs fix: normalize recent Patreon support 2026-08-04 12:17:21 +03:00
perf.rs perf(scene): make geometry edits incremental 2026-07-28 17:16:27 +03:00
snap.rs refactor(snap): find both tracking directions in one pass 2026-08-08 00:23:53 +03:00
sys.rs fix(linux): focus browser on external links 2026-07-30 21:07:31 +03:00
videos.rs fix(plugins): trust platform certificates 2026-07-29 15:00:07 +03:00