Fix rear mount
This commit is contained in:
parent
e61be357ee
commit
027276c4eb
@ -44,4 +44,4 @@ hinge = (
|
|||||||
.extrude(hinge_t)
|
.extrude(hinge_t)
|
||||||
)
|
)
|
||||||
|
|
||||||
exporters.export(hinge, "hinge.stl")
|
#exporters.export(hinge, "hinge.stl")
|
||||||
|
@ -62,11 +62,11 @@ rear_mount = (
|
|||||||
.faces(">X")
|
.faces(">X")
|
||||||
.workplane(centerOption="CenterOfBoundBox", offset=-(rear_mount_width-20)/2)
|
.workplane(centerOption="CenterOfBoundBox", offset=-(rear_mount_width-20)/2)
|
||||||
.transformed(rotate=cq.Vector(0, 0, 90))
|
.transformed(rotate=cq.Vector(0, 0, 90))
|
||||||
.center(-hinge_s / 2, rear_mount_thickness / 2).tag("hingeplane")
|
.center(-hinge_w / 2, rear_mount_thickness / 2).tag("hingeplane")
|
||||||
.placeSketch(hinge_profile_1)
|
.placeSketch(hinge_profile_1)
|
||||||
.extrude(-hinge_t)
|
.extrude(-hinge_t)
|
||||||
.workplaneFromTagged("hingeplane")
|
.workplaneFromTagged("hingeplane")
|
||||||
.workplane(offset=-hinge_t - hinge_)
|
.workplane(offset=-hinge_t - hinge_gap)
|
||||||
.placeSketch(hinge_profile_2)
|
.placeSketch(hinge_profile_2)
|
||||||
.extrude(-hinge_t))
|
.extrude(-hinge_t))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user