mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 10:51:22 +00:00
Design tab: move the CAD sources into their own folder
Review request on PR #15238: "Place CAD-related files (e.g. CadDocument/ GeometryEngine) into a separate folder." src/libslic3r/CAD/ the kernel — CadDocument, GeometryEngine, the four Sketch* units, SketchSolver, ThreadStandards src/slic3r/GUI/CAD/ the tab — DesignPanel, DesignCanvas, DesignSketchTool, SketchInlineEditor, McpControl, generated DesignOffer Pure relocation: no line of logic changes. Two include rewrites follow from it — files that moved re-spell their own neighbours against src/ (already on the include path), and files that did not move pick up the new folder. docs and docs/ux/mockups/gen_offer_table.py follow the same paths. Verified: libslic3r, libslic3r_gui and libslic3r_tests all build, CAD suite green at 2518 assertions in 194 test cases, and the sibling fork builds identically — 17 shared sources still byte-identical, 8 diverging by their expected counts.
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
"Source of truth for the object-driven tool offer (see docs/cad_ux_guidelines.md 4.1).",
|
||||
"Every verb, the selections it accepts, the document state it needs, and its fixed",
|
||||
"compass address. Extracted from the code, not from memory:",
|
||||
" verbs + shortcuts + refusal messages -> src/slic3r/GUI/DesignPanel.cpp (feat_dropdown",
|
||||
" verbs + shortcuts + refusal messages -> src/slic3r/GUI/CAD/DesignPanel.cpp (feat_dropdown",
|
||||
" call sites at 524/662/734/790/874/904, sk_key table at 369-400, m_keys_feature)",
|
||||
" kernel coverage -> src/libslic3r/CadDocument.hpp (enum CadFeatureType)",
|
||||
" headless coverage -> src/slic3r/GUI/McpControl.cpp (method == \"...\")",
|
||||
" selection kinds -> src/slic3r/GUI/DesignCanvas.hpp (the on_*_selected callbacks)",
|
||||
" kernel coverage -> src/libslic3r/CAD/CadDocument.hpp (enum CadFeatureType)",
|
||||
" headless coverage -> src/slic3r/GUI/CAD/McpControl.cpp (method == \"...\")",
|
||||
" selection kinds -> src/slic3r/GUI/CAD/DesignCanvas.hpp (the on_*_selected callbacks)",
|
||||
"gen_offer_mockups.py reads this file; the eventual C++ offer table is generated from it",
|
||||
"too, so the map exists once."
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user