This commit is contained in:
Andrej730
2025-03-05 18:53:50 +05:00
parent 4c97cc8a41
commit e1e51cbf26
6 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -313,8 +313,8 @@ class DumbSlabPlaner:
if layer_params["direction_sense"] == "NEGATIVE":
direction_ratios *= -1
# offset_direction *= -1
elif (abs(existing_x_angle )> (pi / 2) and direction_ratios.z > 0) or (
abs(existing_x_angle )< (pi / 2) and direction_ratios.z < 0
elif (abs(existing_x_angle) > (pi / 2) and direction_ratios.z > 0) or (
abs(existing_x_angle) < (pi / 2) and direction_ratios.z < 0
):
# The extrusion direction is negative. If the layer_parameter is set to positive,
# then the we change the extrusion direction.