cosplay: Touhou/Houjuu Nue #1

Closed
aniva wants to merge 37 commits from touhou/houjuu-nue into main
1 changed files with 31 additions and 15 deletions
Showing only changes of commit d5ddbc4186 - Show all commits

View File

@ -42,8 +42,14 @@ class Parameters:
hs_joint_radius_inner = 20
hs_joint_corner_fillet = 5
hs_joint_corner_cbore_diam = 12
hs_joint_corner_cbore_depth = 12
hs_joint_corner_inset = 15
hs_joint_corner_cbore_depth = 2
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
the size of the harness.
@ -138,19 +144,19 @@ class Parameters:
radius=self.hs_joint_radius,
radius_inner=self.hs_joint_radius_inner,
tooth_height=self.hs_joint_tooth_height,
base_height=self.hs_joint_ring_thickness)
hirth = (
hirth
.faces("<Z")
.workplane()
.transformed(
offset=Cq.Vector(0, 0, -self.hs_joint_ring_thickness / 2),
rotate=Cq.Vector(90, 0, 0))
# This hole will drill only to the centre and not through. This is
# intended.
.hole(5)
.val()
)
base_height=self.hs_joint_ring_thickness).val()
#hirth = (
# hirth
# .faces("<Z")
# .workplane()
# .transformed(
# offset=Cq.Vector(0, 0, -self.hs_joint_ring_thickness / 2),
# rotate=Cq.Vector(90, 0, 0))
# # This hole will drill only to the centre and not through. This is
# # intended.
# .hole(5)
# .val()
#)
conn = self.hs_joint_harness_conn()
result = (
Cq.Workplane('XY')
@ -185,6 +191,16 @@ class Parameters:
.union(hirth.move(Cq.Location((0, 0, self.hs_joint_base_thickness))), tol=0.1)
.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")
return result