summaryrefslogtreecommitdiff
path: root/body/veye_imx287.scad
diff options
context:
space:
mode:
authorNikita Kostovsky <nikita@kostovsky.me>2026-01-25 13:07:05 +0100
committerNikita Kostovsky <nikita@kostovsky.me>2026-01-25 13:07:05 +0100
commit3939d642549b13760e53686b516e48022f37eb10 (patch)
tree3b115fa8378b73b525618bcbd61651f7459616fa /body/veye_imx287.scad
parentd2df7e752e422bca585342162c40f6fc256b2103 (diff)
try another way for laser/m12 lense holders
Diffstat (limited to 'body/veye_imx287.scad')
-rw-r--r--body/veye_imx287.scad25
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