Fix rear mount

This commit is contained in:
Roberto Alsina 2022-07-23 14:11:30 -03:00
parent e61be357ee
commit 027276c4eb
2 changed files with 3 additions and 3 deletions

View File

@ -44,4 +44,4 @@ hinge = (
.extrude(hinge_t)
)
exporters.export(hinge, "hinge.stl")
#exporters.export(hinge, "hinge.stl")

View File

@ -62,11 +62,11 @@ 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).tag("hingeplane")
.center(-hinge_w / 2, rear_mount_thickness / 2).tag("hingeplane")
.placeSketch(hinge_profile_1)
.extrude(-hinge_t)
.workplaneFromTagged("hingeplane")
.workplane(offset=-hinge_t - hinge_)
.workplane(offset=-hinge_t - hinge_gap)
.placeSketch(hinge_profile_2)
.extrude(-hinge_t))