Skip to content

Instantly share code, notes, and snippets.

@buendias-dev
Last active January 25, 2020 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buendias-dev/0703b81c95dc28b4db3babf5460e61fb to your computer and use it in GitHub Desktop.
Save buendias-dev/0703b81c95dc28b4db3babf5460e61fb to your computer and use it in GitHub Desktop.
OpenSCAD
// Draw a cube with a rounded base at (0,0), width = 30, length = 30, height = 25
translate([5, 5])
minkowski() {
cube([20, 20, 10]);
cylinder(r = 5, h = 5);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment