Created
June 30, 2025 09:38
-
-
Save theanam/182138dff8b7155ba72f8373314ea90b to your computer and use it in GitHub Desktop.
OpenScad Rounded rect module
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 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