mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 21:27:52 -06:00
Fix of previous commit: Mixed up ClipperLib::pftPositive and pftNonZero
This commit is contained in:
parent
73e0099c55
commit
9aa520baf3
5 changed files with 6 additions and 6 deletions
|
@ -12,13 +12,13 @@ struct MeshSlicingParams
|
|||
{
|
||||
enum class SlicingMode : uint32_t {
|
||||
// Regular slicing, maintain all contours and their orientation.
|
||||
// slice_mesh_ex() applies ClipperLib::pftPositive rule to the result of slice_mesh().
|
||||
// slice_mesh_ex() applies ClipperLib::pftNonZero rule to the result of slice_mesh().
|
||||
Regular,
|
||||
// For slicing 3DLabPrints plane models (aka to be compatible with S3D default strategy).
|
||||
// slice_mesh_ex() applies ClipperLib::pftEvenOdd rule. slice_mesh() slices EvenOdd as Regular.
|
||||
EvenOdd,
|
||||
// Maintain all contours, orient all contours CCW.
|
||||
// slice_mesh_ex() applies ClipperLib::pftPositive rule, thus holes will be closed.
|
||||
// slice_mesh_ex() applies ClipperLib::pftNonZero rule, thus holes will be closed.
|
||||
Positive,
|
||||
// Orient all contours CCW and keep only the contour with the largest area.
|
||||
// This mode is useful for slicing complex objects in vase mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue