One more fix for Organic supports & Raft :

Raft was not generated at all with Organic supports enabled, but
no trees produced.
This commit is contained in:
Vojtech Bubnik 2023-02-28 17:40:05 +01:00
parent 94d463b645
commit 2959de40ae
2 changed files with 152 additions and 129 deletions

View file

@ -2954,7 +2954,7 @@ SupportGeneratorLayersPtr generate_raft_base(
Polygons columns;
Polygons first_layer;
if (columns_base != nullptr) {
if (columns_base->print_z > slicing_params.raft_contact_top_z - EPSILON) {
if (columns_base->bottom_print_z() > slicing_params.raft_interface_top_z - EPSILON) {
// Classic supports with colums above the raft interface.
base = columns_base->polygons;
columns = base;