Multiple bug fixes in the new support generator to guarantee gap
between object and support.
This commit is contained in:
@@ -83,13 +83,16 @@ public:
|
||||
if (height > layer2.height)
|
||||
return true;
|
||||
else if (height == layer2.height) {
|
||||
return bridging < layer2.bridging;
|
||||
// Bridging layers first.
|
||||
return bridging && ! layer2.bridging;
|
||||
} else
|
||||
return false;
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
|
||||
coordf_t bottom_print_z() const { return print_z - height; }
|
||||
|
||||
SupporLayerType layer_type;
|
||||
// Z used for printing, in unscaled coordinates.
|
||||
coordf_t print_z;
|
||||
|
||||
Reference in New Issue
Block a user