fix: Close polygonal wire in torsion joint

This commit is contained in:
Leni Aniva 2025-07-08 22:53:06 -07:00
parent 621c7d54b6
commit 66976d7e1d
Signed by: aniva
GPG Key ID: D5F96287843E8DFB
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ class TorsionJoint:
if not rider_slot_begin: if not rider_slot_begin:
rider_slot_begin = self.rider_slot_begin rider_slot_begin = self.rider_slot_begin
def slot(loc): def slot(loc):
wire = Cq.Wire.makePolygon(self._slot_polygon(flip=False)) wire = Cq.Wire.makePolygon(self._slot_polygon(flip=False)).close()
face = Cq.Face.makeFromWires(wire) face = Cq.Face.makeFromWires(wire)
return face.located(loc) return face.located(loc)
wall_profile = ( wall_profile = (