- cylinder(r = sonar_radius, h = sonar_height); }
- // for the variance with which the physical sonar cylinders are placed
- translate([between_sonar_centers / 2 - between_sonar_centers_variance, 0, 0]) {
- cylinder(r = sonar_radius, h = sonar_height);
- translate([0, -sonar_radius, 0]) {
- cube([between_sonar_centers_variance, sonar_diameter, sonar_height]); } }
+ hull() {
+ cylinder(r = sonar_radius, h = sonar_height);
+ // for the variance with which the physical sonar cylinders are placed
+ translate([ -between_sonar_centers_variance, 0, 0]) {
+ cylinder(r = sonar_radius, h = sonar_height); } } }