mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Refactored mesh slicing code into a new TriangleMeshSlicer class
This commit is contained in:
parent
dfd9bc8958
commit
519ed91c68
4 changed files with 479 additions and 448 deletions
|
@ -142,7 +142,8 @@ TriangleMesh::slice(z)
|
|||
delete z;
|
||||
|
||||
std::vector<ExPolygons> layers;
|
||||
THIS->slice(z_f, &layers);
|
||||
TriangleMeshSlicer mslicer(THIS);
|
||||
mslicer.slice(z_f, &layers);
|
||||
|
||||
AV* layers_av = newAV();
|
||||
av_extend(layers_av, layers.size()-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue