mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 19:01:02 +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:
+7
-7
@@ -320,14 +320,14 @@ Being straight about the edges, so nobody discovers them the hard way:
|
||||
|
||||
| Path | Role |
|
||||
|---|---|
|
||||
| `src/libslic3r/CadDocument.*` | the feature recipe and its replay |
|
||||
| `src/libslic3r/GeometryEngine.*` | OCCT wrapper — faces, edges, booleans, healing |
|
||||
| `src/libslic3r/SketchEngine.*` | profile → wire → solid |
|
||||
| `src/libslic3r/SketchSolver.*` | constraint solving, over the vendored solver |
|
||||
| `src/libslic3r/CAD/CadDocument.*` | the feature recipe and its replay |
|
||||
| `src/libslic3r/CAD/GeometryEngine.*` | OCCT wrapper — faces, edges, booleans, healing |
|
||||
| `src/libslic3r/CAD/SketchEngine.*` | profile → wire → solid |
|
||||
| `src/libslic3r/CAD/SketchSolver.*` | constraint solving, over the vendored solver |
|
||||
| `src/libslic3r/slvs/` | vendored 2D constraint solver (GPLv3) |
|
||||
| `src/slic3r/GUI/DesignPanel.*` | the tab: toolbar, cards, feature tree |
|
||||
| `src/slic3r/GUI/DesignCanvas.*` | viewport integration |
|
||||
| `src/slic3r/GUI/DesignSketchTool.*` | in-canvas sketching |
|
||||
| `src/slic3r/GUI/CAD/DesignPanel.*` | the tab: toolbar, cards, feature tree |
|
||||
| `src/slic3r/GUI/CAD/DesignCanvas.*` | viewport integration |
|
||||
| `src/slic3r/GUI/CAD/DesignSketchTool.*` | in-canvas sketching |
|
||||
|
||||
Build with `-DSLIC3R_CAD=ON` (the default). With it OFF the tab is not compiled and the deps
|
||||
prefix matches upstream exactly — see [cad_dependency_weight.md](cad_dependency_weight.md).
|
||||
|
||||
Reference in New Issue
Block a user