diff --git a/src/hollow_out.scad b/src/hollow_out.scad new file mode 100644 index 00000000..23f6cb55 --- /dev/null +++ b/src/hollow_out.scad @@ -0,0 +1,18 @@ +/** +* hollow_out.scad +* +* Hollow out a 2D object. +* +* @copyright Justin Lin, 2017 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-hollow_out.html +* +**/ + +module hollow_out(shell_thickness) { + difference() { + children(); + offset(delta = -shell_thickness) children(); + } +} \ No newline at end of file