mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-19 17:18:09 +08:00
Divide pad blueprint before its filtered.
Filtering may remove the outer pad and the division expects an outer part to be present.
This commit is contained in:
parent
3b8d42a64f
commit
2feb8421e9
@ -430,9 +430,11 @@ public:
|
|||||||
|
|
||||||
ExPolygons fullpad = diff_ex(fullcvh, model_bp_sticks);
|
ExPolygons fullpad = diff_ex(fullcvh, model_bp_sticks);
|
||||||
|
|
||||||
remove_redundant_parts(fullpad);
|
|
||||||
|
|
||||||
PadSkeleton divided = divide_blueprint(fullpad);
|
PadSkeleton divided = divide_blueprint(fullpad);
|
||||||
|
|
||||||
|
remove_redundant_parts(divided.outer);
|
||||||
|
remove_redundant_parts(divided.inner);
|
||||||
|
|
||||||
outer = std::move(divided.outer);
|
outer = std::move(divided.outer);
|
||||||
inner = std::move(divided.inner);
|
inner = std::move(divided.inner);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user