feat: Use M12 centre hole for H-S joint
This commit is contained in:
parent
eb8a48fe77
commit
d5ddbc4186
|
@ -42,8 +42,14 @@ class Parameters:
|
||||||
hs_joint_radius_inner = 20
|
hs_joint_radius_inner = 20
|
||||||
hs_joint_corner_fillet = 5
|
hs_joint_corner_fillet = 5
|
||||||
hs_joint_corner_cbore_diam = 12
|
hs_joint_corner_cbore_diam = 12
|
||||||
hs_joint_corner_cbore_depth = 12
|
hs_joint_corner_cbore_depth = 2
|
||||||
hs_joint_corner_inset = 15
|
hs_joint_corner_inset = 12
|
||||||
|
|
||||||
|
hs_joint_axis_diam = 12
|
||||||
|
hs_joint_axis_cbore_diam = 20
|
||||||
|
hs_joint_axis_cbore_depth = 3
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Radius of the mounting mechanism of the wing root. This is constrained by
|
Radius of the mounting mechanism of the wing root. This is constrained by
|
||||||
the size of the harness.
|
the size of the harness.
|
||||||
|
@ -138,19 +144,19 @@ class Parameters:
|
||||||
radius=self.hs_joint_radius,
|
radius=self.hs_joint_radius,
|
||||||
radius_inner=self.hs_joint_radius_inner,
|
radius_inner=self.hs_joint_radius_inner,
|
||||||
tooth_height=self.hs_joint_tooth_height,
|
tooth_height=self.hs_joint_tooth_height,
|
||||||
base_height=self.hs_joint_ring_thickness)
|
base_height=self.hs_joint_ring_thickness).val()
|
||||||
hirth = (
|
#hirth = (
|
||||||
hirth
|
# hirth
|
||||||
.faces("<Z")
|
# .faces("<Z")
|
||||||
.workplane()
|
# .workplane()
|
||||||
.transformed(
|
# .transformed(
|
||||||
offset=Cq.Vector(0, 0, -self.hs_joint_ring_thickness / 2),
|
# offset=Cq.Vector(0, 0, -self.hs_joint_ring_thickness / 2),
|
||||||
rotate=Cq.Vector(90, 0, 0))
|
# rotate=Cq.Vector(90, 0, 0))
|
||||||
# This hole will drill only to the centre and not through. This is
|
# # This hole will drill only to the centre and not through. This is
|
||||||
# intended.
|
# # intended.
|
||||||
.hole(5)
|
# .hole(5)
|
||||||
.val()
|
# .val()
|
||||||
)
|
#)
|
||||||
conn = self.hs_joint_harness_conn()
|
conn = self.hs_joint_harness_conn()
|
||||||
result = (
|
result = (
|
||||||
Cq.Workplane('XY')
|
Cq.Workplane('XY')
|
||||||
|
@ -185,6 +191,16 @@ class Parameters:
|
||||||
.union(hirth.move(Cq.Location((0, 0, self.hs_joint_base_thickness))), tol=0.1)
|
.union(hirth.move(Cq.Location((0, 0, self.hs_joint_base_thickness))), tol=0.1)
|
||||||
.clean()
|
.clean()
|
||||||
)
|
)
|
||||||
|
result = (
|
||||||
|
result.faces("<Z")
|
||||||
|
.workplane()
|
||||||
|
.cboreHole(
|
||||||
|
diameter=self.hs_joint_axis_diam,
|
||||||
|
cboreDiameter=self.hs_joint_axis_cbore_diam,
|
||||||
|
cboreDepth=self.hs_joint_axis_cbore_depth,
|
||||||
|
)
|
||||||
|
.clean()
|
||||||
|
)
|
||||||
result.faces("<Z").tag("base")
|
result.faces("<Z").tag("base")
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue