Multiple bug fixes in the new support generator to guarantee gap

between object and support.
This commit is contained in:
bubnikv 2017-01-25 18:33:05 +01:00
parent a74aaca681
commit 22124e5f61
2 changed files with 329 additions and 202 deletions

View file

@ -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;