cad-editor/src/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 188d310789 feat(pline): create polyline as a live entity so it snaps while drawing
The polyline was only committed to the document on finish, so its partial
geometry produced no snap points — you could not snap to vertices already
placed. Publish it as a real LwPolyline at the second vertex and replace
its geometry in place as later vertices land, so it lives in the document
(and the snapper) throughout the draw.

New CmdResult::CommitLiveEntity / UpdateLiveEntity{finish} plus a
set_live_handle() hook let a command own an entity mid-run. The create
pushes a single undo snapshot; in-place updates push none, so the whole
object reverts as one unit. Updates preserve the entity's handle and
layer (a fresh built entity carries a NULL handle that would desync it
from the document map key and drop it from rendering). (#119)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 21:02:50 +03:00
..
automation.rs feat(automation): local TCP socket transport for --serve 2026-06-18 01:54:03 +03:00
cmd_result.rs feat(pline): create polyline as a live entity so it snaps while drawing 2026-06-18 21:02:50 +03:00
commands.rs feat(clipboard): paste menu with paste-to-original and paste-as-block 2026-06-18 16:09:47 +03:00
document.rs refactor(plugin): drop built-in plugins, external-only 2026-06-17 15:50:52 +03:00
expr_eval.rs Implement Expression Evaluation for numerical inputs and the CLI 2026-06-07 13:17:46 -04:00
helpers.rs feat(clipboard): paste menu with paste-to-original and paste-as-block 2026-06-18 16:09:47 +03:00
history.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
layers.rs fix(ribbon): load style/layer dropdowns from the document 2026-06-12 01:46:17 +03:00
mod.rs feat(clipboard): carry referenced records across drawings on paste 2026-06-18 14:34:32 +03:00
model_ops.rs refactor(scene): rename model_solid to solid_model 2026-06-16 11:39:31 +03:00
mtext_editor.rs feat(points): point style commands + DDPTYPE dialog, viewport-aware size 2026-06-17 11:13:12 +03:00
plugin_host.rs feat(plugin): object-pick acquisition for interactive commands 2026-06-18 01:43:53 +03:00
properties.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00
settings.rs feat(plugin): marketplace — install plugins from a curated registry 2026-06-17 15:24:56 +03:00
style_ops.rs feat(styles): seed current table/multileader style from the file 2026-06-10 19:05:07 +03:00
text_inline.rs fix(style): new text/mtext/dimension use the current style (#92) 2026-06-14 01:15:52 +03:00
update.rs fix(snap): priority-based osnap selection + true perpendicular 2026-06-18 16:30:37 +03:00
view.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
visibility.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00