Skip to content

Instantly share code, notes, and snippets.

@chand1012
Last active January 6, 2020 17:34
Show Gist options
  • Save chand1012/c8f4d8094d6e0b48c8e97e89a2530fad to your computer and use it in GitHub Desktop.
Save chand1012/c8f4d8094d6e0b48c8e97e89a2530fad to your computer and use it in GitHub Desktop.
Just a single studded lego brick in openscad
$fn = 50;
union () {
difference() {
cube([8, 8, 9.6], center=true);
translate([0, 0, -3.2]) {
cube([4.8, 4.8, 3.2*3], center=true);
}
}
translate([0,0,9.6/2]) {
cylinder(d=4.8, h=1.6*2, 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