fix: use `.located` to move threads
This commit is contained in:
parent
53c204eb20
commit
0bee80f582
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue