Skip to content

Instantly share code, notes, and snippets.

@prozacchiwawa
Created August 13, 2026 19:51
Show Gist options
  • Select an option

  • Save prozacchiwawa/33fd3855f36f80f74bca3bdf4a73e42d to your computer and use it in GitHub Desktop.

Select an option

Save prozacchiwawa/33fd3855f36f80f74bca3bdf4a73e42d to your computer and use it in GitHub Desktop.
trapezoid in openscad
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