mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 21:27:52 -06:00
New slice_mesh() variant slicing with a single plane only, running
on a single thread only (not parallelized). The new slice_mesh() is used to calculate contour of objects sunken below the print bed.
This commit is contained in:
parent
8df2525355
commit
eb6392dccd
5 changed files with 131 additions and 27 deletions
|
@ -52,6 +52,12 @@ std::vector<Polygons> slice_mesh(
|
|||
const MeshSlicingParams ¶ms,
|
||||
std::function<void()> throw_on_cancel = []{});
|
||||
|
||||
// Specialized version for a single slicing plane only, running on a single thread.
|
||||
Polygons slice_mesh(
|
||||
const indexed_triangle_set &mesh,
|
||||
const float plane_z,
|
||||
const MeshSlicingParams ¶ms);
|
||||
|
||||
std::vector<ExPolygons> slice_mesh_ex(
|
||||
const indexed_triangle_set &mesh,
|
||||
const std::vector<float> &zs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue