diff --git a/v1/scad/lib/generic/spoolmount_hook.scad b/v1/scad/lib/generic/spoolmount_hook.scad index f06822a..c5d160b 100644 --- a/v1/scad/lib/generic/spoolmount_hook.scad +++ b/v1/scad/lib/generic/spoolmount_hook.scad @@ -1,23 +1,47 @@ module spoolmount_hook() { - linear_extrude(9) { - polygon(points=[ - [0, 0], - [0, 12], - [1, 12], - [3, 10], - [7, 10], - [9, 12], - [10, 12], - [10, 8], - [8, 6], - [5, 6], - [5, 2], - [3, 2], - [1, 0], - ]); + difference() { + // Hook body + linear_extrude(9) { + polygon(points=[ + [0, 0], + [0, 12], + [1, 12], + [3, 10], + [7, 10], + [9, 12], + [10, 12], + [10, 8], + [8, 6], + [5, 6], + [5, 2], + [3, 2], + [1, 0], + ]); - translate([8, 8]) - circle(r=2, $fn=50); + translate([8, 8]) + circle(r=2, $fn=50); + } + + // Corner cutouts + { + translate([9, 10.5, -0.5]) + rotate([90, 0, 90]) + linear_extrude(3, center=true) + polygon(points=[ + [0, 0], + [2, 0], + [2, 2], + ]); + + translate([9, 10.5, 9.5]) + rotate([-90, 0, 90]) + linear_extrude(3, center=true) + polygon(points=[ + [0, 0], + [2, 0], + [2, 2], + ]); + } } }