[OpenSCAD] Routine to make holes (for weight/material saving)

Parkinbot rudolf at parkinbot.com
Wed Apr 11 12:00:18 EDT 2018

You can difference somehow translated objects to get holes. Use cube(),
cylinder() or like the following example shows roundedRect(). 
Also play with your slicer's infill parameter to save weight. 

  roundedRect([55, 120, 3], 5); 
  translate([0, 10])
  roundedRect([45, 90, 4], 5); 

module roundedRect(size, radius)  // more elegant version
 linear_extrude(height = size.z, center=true)
  offset(radius) offset(-radius)
   square([size.x, size.y], center = true); 

Sent from: http://forum.openscad.org/

More information about the Discuss mailing list