FIX: first layer overlaps
still need to check if layers' bottom_z is under initial_layer_height since z_heights[0] is fixed to it. jira: STUDIO-10282 Change-Id: Ia2d0565039389c8eb7edbb6b5403996b5ee412c2
This commit is contained in:
parent
cb5c007d28
commit
6266a987d4
|
@ -3790,6 +3790,7 @@ void TreeSupport::generate_contact_points()
|
|||
// print_z=object_layer->bottom_z: it directly contacts the bottom
|
||||
// height=z_distance_top: it's height is exactly the gap distance
|
||||
// dist_mm_to_top=0: it directly contacts the bottom
|
||||
if (bottom_z - z_distance_top < m_object->get_layer(0)->print_z) return contact_node; // dont add it if overlapping with the initial layer
|
||||
contact_node = m_ts_data->create_node(pt, -gap_layers, layer_nr - 1, roof_layers + (gap_layers > 0 ? 1 : 0), to_buildplate, SupportNode::NO_PARENT, bottom_z,
|
||||
z_distance_top, 0, radius);
|
||||
contact_node->overhang = overhang;
|
||||
|
|
Loading…
Reference in New Issue