fix: use `.located` to move threads

This commit is contained in:
Leni Aniva 2024-06-26 19:27:36 -04:00
parent 53c204eb20
commit 0bee80f582
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 3 additions and 3 deletions

View File

@ -148,11 +148,11 @@ class Handle:
result result
.union( .union(
thread thread
.moved(Cq.Vector(0, 0, self.connector_length / 2))) .located(Cq.Location((0, 0, self.connector_length / 2))))
.union( .union(
thread thread
.rotate((0,0,0), (1,0,0), angleDegrees=90) .rotate((0,0,0), (1,0,0), angleDegrees=90)
.moved(Cq.Vector(0, 0, -self.connector_length / 2))) .located(Cq.Location((0, 0, -self.connector_length / 2))))
) )
return result return result
@ -179,7 +179,7 @@ class Handle:
result result
.union( .union(
thread thread
.moved(Cq.Vector(0, 0, self.connector_length / 2))) .located(Cq.Location((0, 0, self.connector_length / 2))))
) )
return result return result