Hinge in place
This commit is contained in:
parent
e19a2f7aff
commit
1aef3f05cb
@ -62,11 +62,12 @@ rear_mount = (
|
||||
.faces(">X")
|
||||
.workplane(centerOption="CenterOfBoundBox", offset=-(rear_mount_width-20)/2)
|
||||
.transformed(rotate=cq.Vector(0, 0, 90))
|
||||
.center(-hinge_s / 2, rear_mount_thickness / 2)
|
||||
.center(-hinge_s / 2, rear_mount_thickness / 2).tag("hingeplane")
|
||||
.placeSketch(hinge_profile_1)
|
||||
.extrude(-hinge_t)
|
||||
.workplane(offset=-hinge_gap)
|
||||
.workplaneFromTagged("hingeplane")
|
||||
.workplane(offset=-hinge_t - hinge_gap)
|
||||
.placeSketch(hinge_profile_2)
|
||||
.extrude(hinge_t))
|
||||
.extrude(-hinge_t))
|
||||
|
||||
exporters.export(rear_mount, "rear_mount.stl")
|
||||
exporters.export(rear_mount, "rear_mount.stl")
|
Loading…
Reference in New Issue
Block a user