Skip to content

Instantly share code, notes, and snippets.

@kintel
Last active March 3, 2019 20:58
Show Gist options
  • Save kintel/fb30ba45f0adca4969b4f03ef082817f to your computer and use it in GitHub Desktop.
Save kintel/fb30ba45f0adca4969b4f03ef082817f to your computer and use it in GitHub Desktop.
// Box should have 50 mm sides
// Holes should be 5 mm in diameter
//
color("Blue") translate([0,0,12.5]) linear_extrude(height=5) import("box-w-holes-graffle.svg", center=true);
translate([15,15, 10]) cylinder(h=20, r=4.5, center=true, $fn=32);
translate([15,-15, 10]) cylinder(h=20, r=4.5, center=true, $fn=32);
translate([-15,15, 10]) cylinder(h=20, r=4.5, center=true, $fn=32);
translate([-15,-15, 10]) cylinder(h=20, r=4.5, center=true, $fn=32);
translate([0,0,2]) cube([50, 50, 20], center=true);
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment