Skip to content

Instantly share code, notes, and snippets.

@theanam
Created June 30, 2025 09:38
Show Gist options
  • Save theanam/182138dff8b7155ba72f8373314ea90b to your computer and use it in GitHub Desktop.
Save theanam/182138dff8b7155ba72f8373314ea90b to your computer and use it in GitHub Desktop.
OpenScad Rounded rect module
module rounded_rect(r,w,h){
hull(){
translate([r,r]) circle(r = r);
translate([w-r,r]) circle(r = r);
translate([w-r,h-r]) circle(r = r);
translate([r,h-r]) circle(r = r);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment