fixed bug creating transition shapes

it was accidentally assigning extrusion vector instead of an offset
This commit is contained in:
Andrej730
2023-09-18 11:30:36 +05:00
parent d67eae55df
commit 7b28bc9c68
@@ -1075,7 +1075,7 @@ class ShapeBuilder:
transition_items.append(self.extrude_face_set(first_profile_points, start_length, end_cap=False))
transition_items.append(
self.extrude_face_set(second_profile_points, end_length, end_extrusion_offset, start_cap=False)
self.extrude_face_set(second_profile_points, end_length, offset=end_extrusion_offset, start_cap=False)
)
first_profile_points = [p + start_offset for p in first_profile_points]
@@ -1105,7 +1105,7 @@ class ShapeBuilder:
transition_items.append(self.extrude_face_set(start_points, start_length, end_cap=False))
transition_items.append(
self.extrude_face_set(end_points, end_length, end_extrusion_offset, start_cap=False)
self.extrude_face_set(end_points, end_length, offset=end_extrusion_offset, start_cap=False)
)
# offset verts