From 8afef3bc72c8b73244cb5fe083e16fc3d9066fa6 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Wed, 7 Jan 2026 02:09:00 +0100 Subject: add cam pcbs, laser and laser holder, updated m12 lense holder --- body/laser.scad | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 body/laser.scad (limited to 'body/laser.scad') diff --git a/body/laser.scad b/body/laser.scad new file mode 100644 index 0000000..2b8cab9 --- /dev/null +++ b/body/laser.scad @@ -0,0 +1,14 @@ +include + +default_laser_d = 14; +default_laser_l = 45; + +// create a body of laser with diameter `d` and +// length `l`. +// the ray starts at the origin +module laser_body(d = default_laser_d, l = default_laser_l) +{ + rotate([-90, 0, 0]) + translate([0, 0, -l]) + cylinder($fn = diameterToFn(d), d = d, h = l); +} \ No newline at end of file -- cgit v1.2.3-70-g09d2