Created
August 13, 2026 19:51
-
-
Save prozacchiwawa/33fd3855f36f80f74bca3bdf4a73e42d to your computer and use it in GitHub Desktop.
trapezoid in openscad
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
| module trapezoid(h,w1,w2,l) { | |
| intersection() { | |
| scale([1,1000,1]) { | |
| rotate([0,0,45]) { | |
| cylinder(h=h,r1=w2,r2=w1,center=true,$fn=4); | |
| } | |
| } | |
| cube([1000,l,1000],center=true); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment