feat: Thread on handle terminal piece
This commit is contained in:
parent
d823a58d88
commit
9fda02ed9d
|
@ -164,15 +164,23 @@ class Handle:
|
||||||
height=self.rim_length,
|
height=self.rim_length,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
result.faces("<Z").tag("mate")
|
result.faces(">Z").tag("mate")
|
||||||
result.faces(">Z").tag("base")
|
result.faces("<Z").tag("base")
|
||||||
result = (
|
result = (
|
||||||
result
|
result
|
||||||
.faces("<Z")
|
.faces(">Z")
|
||||||
.workplane()
|
.workplane()
|
||||||
.circle(self.diam_connector_external / 2)
|
.circle(self.diam_connector_external / 2)
|
||||||
.extrude(self.insertion_length)
|
.extrude(self.insertion_length)
|
||||||
)
|
)
|
||||||
|
if not self.simplify_geometry:
|
||||||
|
thread = self._external_thread().val()
|
||||||
|
result = (
|
||||||
|
result
|
||||||
|
.union(
|
||||||
|
thread
|
||||||
|
.moved(Cq.Vector(0, 0, self.connector_length / 2)))
|
||||||
|
)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def connector_insertion_assembly(self):
|
def connector_insertion_assembly(self):
|
||||||
|
|
Loading…
Reference in New Issue