Created
July 16, 2015 21:19
-
-
Save Stemer114/14bfed948743a038a494 to your computer and use it in GitHub Desktop.
right triangle
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
// right triangle | |
// side a oriented in x direction | |
// side b oriented in y direction | |
// height is in z direction | |
module right_triangle( | |
a = 10, //side a (x direction) | |
b = 10, //side b (y direction) | |
thickness = 5 //thickness (z-direction) | |
) | |
{ | |
hull() | |
{ | |
cube([a, de, thickness]); | |
cube([de, b, thickness]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment