Skip to content

Commit

Permalink
added a doc file explaining slicing call hierarchy (#7796)
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulrajan authored Dec 20, 2024
1 parent c52b845 commit 0a45e33
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/developer-reference/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ This is a documentation from someone exploring the code and is by no means compl

- [Preset, PresetBundle and PresetCollection](https://github.com/SoftFever/OrcaSlicer/blob/main/doc/developer-reference/Preset-and-bundle.md)
- [Plater, Sidebar, Tab, ComboBox](https://github.com/SoftFever/OrcaSlicer/blob/main/doc/developer-reference/plater-sidebar-tab-combobox.md)
- [Slicing Call Hierarchy](https://github.com/SoftFever/OrcaSlicer/blob/main/doc/developer-reference/slicing-hierarchy.md)
5 changes: 5 additions & 0 deletions doc/developer-reference/slicing-hierarchy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Slicing Call Hierarchy

The Slicing logic is not the easiest to locate in the code base. Below is a flow diagram of function calls that are made after clicking the `Slice Plate` button in the UI. Most of the processing happens in different threads. Note the calls after `BackgroundSlicingProcess::start()`, but this is how you can find the slicing logic.

<img src="../images/slicing_call_heirarchy.svg" alt="Example Image" width="320">
4 changes: 4 additions & 0 deletions doc/images/slicing_call_heirarchy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a45e33

Please sign in to comment.