Refactor how offset and direction sense interact for wall and slabs.

This commit is contained in:
Bruno Perdigão
2025-01-25 16:05:04 -03:00
parent c49ca699eb
commit 2b1a59a4f8
5 changed files with 15 additions and 11 deletions
@@ -306,7 +306,6 @@ class DumbSlabPlaner:
elif layer_params["direction_sense"] == "NEGATIVE":
y = -abs(y) if existing_x_angle > 0 else abs(y)
z = -abs(z)
offset_vector = -offset_vector
extrusion.ExtrudedDirection.DirectionRatios = (x, y, z)
extrusion.Depth = thickness