summaryrefslogtreecommitdiff
path: root/body/body.scad
diff options
context:
space:
mode:
Diffstat (limited to 'body/body.scad')
-rw-r--r--body/body.scad55
1 files changed, 24 insertions, 31 deletions
diff --git a/body/body.scad b/body/body.scad
index 94d25c7..cd9bd69 100644
--- a/body/body.scad
+++ b/body/body.scad
@@ -337,7 +337,7 @@ module cam_and_lense()
screw_hole(
m = m2,
id = id,
- il = hole_insert_height * 2,
+ il = m2_hole_insert_height * 2,
hd = m2_head_diameter,
hh = m2_head_height,
hs = hole_side_top);
@@ -391,7 +391,7 @@ module laser_holder_screw_holes()
screw_hole(
m = m2,
id = id,
- il = hole_insert_height * 2,
+ il = m2_hole_insert_height * 2,
hd = m2_head_diameter,
hh = m2_head_height,
hs = hole_side_bottom);
@@ -412,7 +412,7 @@ module cam_lense_holder_screw_holes()
screw_hole(
m = m2,
id = id,
- il = hole_insert_height,
+ il = m2_hole_insert_height,
hd = m2_head_diameter,
hh = m2_head_height,
hs = hole_side_front);
@@ -668,6 +668,22 @@ module other()
%radxa();
}
+module body_to_print()
+{
+ difference()
+ {
+ scanner_main_frame();
+ camera_hole();
+ laser_glass_hole();
+ laser_holder_screw_holes();
+ //m12_connectors();
+ m12_connectors_to_cut();
+ cam_lense_holder_screw_holes();
+ //body_fan_holes();
+ radxa_body_cutter();
+ }
+}
+
// visual block
// visualize camera
@@ -691,25 +707,14 @@ module other()
}
}
-union()
+*union()
{
other();
*cam_lense_holder_screw_holes();
- color("green", 0.1)
- difference()
- {
- scanner_main_frame();
- camera_hole();
- laser_glass_hole();
- laser_holder_screw_holes();
- m12_connectors_to_cut();
- //m12_connectors_to_cut();
- cam_lense_holder_screw_holes();
- //body_fan_holes();
- radxa_body_cutter();
- }
+ color("green", 0.4)
+ body_to_print();
%m12_connectors();
//m12_connectors_to_cut();
}
@@ -726,19 +731,6 @@ union()
}
}
-// printing body
-*difference()
-{
- scanner_main_frame();
- camera_hole();
- laser_glass_hole();
- laser_holder_screw_holes();
- //m12_connectors();
- m12_connectors_to_cut();
- //body_fan_holes();
- radxa_body_cutter();
-}
-
*translate([0, -$laserZOffsetMm, 0])
{
%laser_body();
@@ -747,4 +739,5 @@ union()
//m12_connectors();
//m12_connectors_to_cut();
-//radxa_body_cutter(); \ No newline at end of file
+//radxa_body_cutter();
+//body_to_print(); \ No newline at end of file