diff --git a/outline.scad b/outline.scad index cf1138af01498405ac95a716e3957829480c3ea5..5c29c6406f8f8bff9e2d60e841ae95b9e097abf3 100644 --- a/outline.scad +++ b/outline.scad @@ -1,5 +1,32 @@ -minkowski() { - rotate([0, 0, 30]) circle(d=40, $fn=6); - circle(d=5, $fn=120); +pcb_diameter = 40; + +module hex() { + minkowski() { + rotate([0, 0, 30]) circle(d=40, $fn=6); + circle(d=5, $fn=100); + } +} + + +module usb_c() { + p = 0.2; + + module tri() { + polygon([[0, 0], [p, 0], [0, p]]); + } + + w = 6.1; + h = 0.9; + + translate([-w/2, -h, 0]) difference() { + square([w, h]); + tri(); + translate([6.1, 0, 0]) mirror([1, 0, 0]) tri(); + } } + + +translate([0, 0, 0]) hex(); +//rotate([0, 0, -90]) usb_c(); +