diff options
Diffstat (limited to 'body/veye_imx287.scad')
| -rw-r--r-- | body/veye_imx287.scad | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/body/veye_imx287.scad b/body/veye_imx287.scad index 85ebcf6..dd08c0b 100644 --- a/body/veye_imx287.scad +++ b/body/veye_imx287.scad @@ -119,7 +119,8 @@ module veye_imx287_mount_plate_outer() cr = veye_imx287_mount_plate_corner_radius; translate(veye_imx287_mount_plate_offset()) - hull() + color("green", 0.1) + *hull() { for ( dx = [w / 2 - cr, -w / 2 + cr], @@ -131,6 +132,22 @@ module veye_imx287_mount_plate_outer() cylinder($fn = dToFn(cr * 2), r = cr, h = t); } } + + color("blue", 0.5) + translate([0, 1 / 2 - imx287_thickness + $tiny_padding, 0]) + cube([w, 1, h], center = true); +} + +module veye_imx287_mount_plate_outer_top() +{ + w = veye_imx287_pcb_w; + h = veye_imx287_pcb_h; + t = veye_imx287_mount_plate_thickness; + cr = veye_imx287_mount_plate_corner_radius; + + color("pink", 0.5) + translate([0, 1 / 2 - imx287_thickness + $tiny_padding, h / 2 + 1 / 2]) + cube([w, 1, 1], center = true); } // inner area to cut @@ -212,12 +229,12 @@ module veye_imx287_mount_plate() } } -color("yellow", 0.1) +color("yellow", 0.4) *veye_imx287_natural(); color("green", 0.4) *veye_imx287_mount_plate(); -color("red", 0.1) +color("red", 0.4) *veye_imx287_mount_plate_outer(); color("green", 0.3) *veye_imx287_mount_plate_inner(); @@ -230,3 +247,5 @@ color("green", 0.3) veye_imx287_mount_plate_inner(); } +*veye_imx287_mount_plate_outer(); +*veye_imx287_mount_plate_outer_top();
\ No newline at end of file |
