Last active
November 23, 2021 15:09
-
-
Save pathologicalhandwaving/7c38a67a75b582204ee16f7b42f732e2 to your computer and use it in GitHub Desktop.
OpenScad Thing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Resolution | |
$fa = 1; | |
$fs = 0.4; | |
// Cube | |
//cube(size=10); | |
// Cube centered at origin | |
//cube(size=20,center=true); | |
// Rectangular Cuboid | |
// All angles are right angles | |
// Opposite faces are equal | |
//cube([5,10,20]); | |
// Rectangular Cuboid centered at Origin | |
cube([20,20,20],center=true); | |
// Another Cube centered at (10,10,10) | |
translate([10,10,10]) | |
cube([20,20,20],center=true); | |
// Cylinder with height = h, radius = r | |
cylinder(h=2,r=20); | |
// Another Cylinder Translated | |
translate([14,14,18],center=true) | |
cylinder(h=2,r=20); | |
// Another Cylinder Rotated | |
rotate([90,0,0]) | |
cylinder(h=2,r=20); |
Author
pathologicalhandwaving
commented
Jan 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment