mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 05:25:58 +08:00
Hotfix for pad shape deduction.
This commit is contained in:
parent
10897524df
commit
4ffe3278be
@ -580,9 +580,8 @@ struct Pad {
|
|||||||
|
|
||||||
for (const ExPolygon &bp : platetmp) basep.emplace_back(bp.contour);
|
for (const ExPolygon &bp : platetmp) basep.emplace_back(bp.contour);
|
||||||
|
|
||||||
|
|
||||||
if(pcfg.embed_object) {
|
if(pcfg.embed_object) {
|
||||||
auto modelbase_sticks = modelbase;
|
ExPolygons modelbase_sticks = modelbase;
|
||||||
|
|
||||||
if (pcfg.embed_object.object_gap_mm > 0.0)
|
if (pcfg.embed_object.object_gap_mm > 0.0)
|
||||||
modelbase_sticks
|
modelbase_sticks
|
||||||
@ -591,7 +590,7 @@ struct Pad {
|
|||||||
/ SCALING_FACTOR));
|
/ SCALING_FACTOR));
|
||||||
|
|
||||||
for(auto& poly : modelbase_sticks) {
|
for(auto& poly : modelbase_sticks) {
|
||||||
basep.emplace_back(poly);
|
basep.emplace_back(poly.contour);
|
||||||
sla::breakstick_holes(
|
sla::breakstick_holes(
|
||||||
poly,
|
poly,
|
||||||
pcfg.embed_object.object_gap_mm, // padding
|
pcfg.embed_object.object_gap_mm, // padding
|
||||||
|
Loading…
x
Reference in New Issue
Block a user