Files
OrcaSlicer/src/slic3r/GUI
Tommaso BianchiandClaude Opus 4.8 36b2bd8bfc CAD persistence: implement recipe round-trip on the BBS 3mf backend (mirror)
Mirror of snaporca-cad ad822bf. The earlier mirror (2c0140afb9) implemented
persistence in the PrusaSlicer 3mf.cpp, but the GUI saves/loads projects via the
BBS-native backend (store_bbs_3mf / load_bbs_3mf), so the recipe was never
written to nor read from GUI-saved projects.

- bbs_3mf.cpp: BBS_CAD_RECIPE_FILE = "Metadata/SnapOrca_cad.bin"; writer
  _add_cad_recipe_file_to_archive (called after layer-height in store_bbs_3mf);
  reader branch in _load_model_from_file's metadata dispatch loop (iterate +
  iequals on m_filename — mz_zip_reader_locate_file does not work on these
  archives).
- Plater.cpp: load_files carries the Model-level cad_recipe onto q->model().
- test_3mf.cpp: [3mf] test asserting store_bbs_3mf embeds the recipe entry
  byte-for-byte (read back via miniz, Catch2 v3).

Verified on behemoth: libslic3r_tests + the new [3mf] BBS test pass; orca-slicer
GUI links clean. Round-trip verified live on snaporca-cad (identical code path).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BVzKmX6Y1aEteit1HTXG4Q
2026-06-28 21:53:36 +02:00
..
2026-03-09 20:52:12 +08:00
2026-06-18 09:13:51 -03:00
2025-10-28 15:29:50 +08:00
2026-06-19 09:42:12 +08:00
2026-06-18 09:13:51 -03:00
2026-06-18 09:13:51 -03:00
2025-10-05 16:02:17 +08:00
2026-04-20 19:27:38 -03:00
2026-06-18 09:13:51 -03:00
2026-01-03 23:06:57 +08:00
2025-07-06 11:34:47 +08:00
2026-06-07 13:12:51 +08:00
2026-06-18 09:13:51 -03:00
2023-12-01 10:42:45 +00:00
2023-08-30 23:38:33 +08:00
2026-06-18 09:13:51 -03:00
2026-06-19 09:42:12 +08:00
2026-06-18 09:13:51 -03:00
2025-08-22 20:02:26 +08:00
2026-06-18 09:13:51 -03:00
2023-12-01 10:42:45 +00:00
2026-05-31 18:04:06 +08:00
2025-09-21 13:47:51 +08:00
2025-10-02 09:30:48 +08:00
2025-10-02 09:30:48 +08:00
…
2026-06-18 09:13:51 -03:00
2023-08-09 13:42:41 +08:00
2025-10-02 09:30:48 +08:00
2025-10-28 15:29:56 +08:00
2025-10-28 15:29:56 +08:00
…
2026-05-16 01:12:30 +08:00
2026-05-16 01:12:30 +08:00
2025-09-21 23:01:08 +08:00
2026-01-23 17:05:56 +08:00
2026-04-25 18:14:51 +08:00
2026-04-25 18:14:51 +08:00
2026-03-11 17:20:12 -07:00
2026-04-25 18:14:51 +08:00
2026-01-23 17:05:56 +08:00
2026-06-19 09:42:12 +08:00
2024-07-23 18:00:21 +08:00
2026-06-18 09:13:51 -03:00
2026-06-18 09:13:51 -03:00
2026-01-03 23:06:57 +08:00
2026-01-23 17:05:56 +08:00
2026-01-03 23:06:57 +08:00
2026-02-04 11:40:02 +00:00
2026-01-23 17:05:56 +08:00
2026-01-23 17:05:56 +08:00
2025-10-28 15:30:06 +08:00
2025-11-19 13:51:52 +03:00
2025-10-28 15:29:56 +08:00
2026-04-25 18:14:51 +08:00
2026-04-25 18:14:51 +08:00