From 027276c4eb205938b839be7e86eaa57878bc0f83 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Sat, 23 Jul 2022 14:11:30 -0300 Subject: [PATCH] Fix rear mount --- monitor/hinge.py | 2 +- monitor/rear_mount.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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))