cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
AI Assistant 3f8b69c71b CMMS embedding: Export to CAM - build STL, save, navigate to Kiri:Moto
Wires Message::StlExport's existing STLOUT command to the CMMS when
embedded, instead of the native save-dialog flow (which was already
non-functional on the web build regardless - handle_path() has no real
filesystem to write to there, a pre-existing upstream gap, not something
this touches).

- Cargo.toml: add the Location web-sys feature (needed for
  window.location().set_href()).
- src/sys.rs: post_stl_export_to_host() - POSTs STL bytes as a new
  attachment (cad_export_stl action, not cad_save/cad_save_new - STL isn't
  in CAD_EDITABLE_EXT, it needs its own allowlist), then navigates the
  browser straight to the CMMS's Kiri:Moto CAM page for the attachment it
  just created. Splits cfg.job_id's "type:id" owner token apart to build
  cam-edit.php's entity_type=/entity_id= params.
- src/app/mod.rs + update/mod.rs: CmmsStlExportResult message/handler -
  only ever surfaces a failure (a success already navigated away).
- src/app/update/mod.rs: Message::StlExport gains a wasm32+embedded branch
  that skips the file-picker entirely and calls the above directly.
2026-08-23 17:41:02 +10:00
..
app CMMS embedding: Export to CAM - build STL, save, navigate to Kiri:Moto 2026-08-23 17:41:02 +10:00
entities feat(mline): align creation and editing 2026-08-23 00:30:41 +03:00
io CMMS embedding: support creating a brand-new file, not just editing 2026-08-23 15:54:52 +10:00
modules feat(mline): align creation and editing 2026-08-23 00:30:41 +03:00
plugin fix: restore workspace verification 2026-08-15 23:11:26 +03:00
scene feat(mline): align creation and editing 2026-08-23 00:30:41 +03:00
shaders fix(point): preserve relative marker sizing 2026-08-22 22:22:01 +03:00
ui Honor point display geometry and sizing 2026-08-22 17:18:30 +03:00
cli.rs fix(renderer): add automatic compat fallback 2026-07-24 17:05:54 +03:00
command.rs Complete multiline command and properties behavior 2026-08-22 20:20:34 +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(i18n): add Bulgarian locale 2026-08-17 23:45:04 +03:00
lib.rs feat(locale): add Fluent translations 2026-08-02 18:53:38 +03:00
locale_catalog.rs feat(mline): align creation and editing 2026-08-23 00:30:41 +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 Merge pull request #856 from ramox81/codex/align-circle-behavior 2026-08-21 23:29:57 +03:00
sys.rs CMMS embedding: Export to CAM - build STL, save, navigate to Kiri:Moto 2026-08-23 17:41:02 +10:00
videos.rs fix(plugins): trust platform certificates 2026-07-29 15:00:07 +03:00