diff --git a/monitor/hinge.py b/monitor/hinge.py index 1c7487b..e5796d2 100644 --- a/monitor/hinge.py +++ b/monitor/hinge.py @@ -44,4 +44,4 @@ hinge = ( .extrude(hinge_t) ) -exporters.export(hinge, "hinge.stl") +#exporters.export(hinge, "hinge.stl") diff --git a/monitor/rear_mount.py b/monitor/rear_mount.py index 8017de2..3a76785 100644 --- a/monitor/rear_mount.py +++ b/monitor/rear_mount.py @@ -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))