Skip to content

Instantly share code, notes, and snippets.

@schas002

schas002/cup.scad

Last active Oct 5, 2017
Embed
What would you like to do?
OpenSCAD cup model.
difference() {
union() {
difference() {
sphere(20);
translate([0, 0, 20]) {
cube(40, true);
}
}
translate([15, 0, -10]) {
rotate([90, 0, 0]) {
difference() {
cylinder(3.14159, r = 7.5);
cylinder(3.14159, r = 7.5 - 3.14159);
}
}}
}
sphere(20 - 3.14159);
}
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
You can’t perform that action at this time.