Round corners for Openscad - Library
by WarrantyVoider, published
Liked ByView All
Give a Shout Out
If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.Print Thing Tag
Making a cube in OpenScad takes just one line of code. Making it nicer (with rounded corners) takes... 40 lines of code!
But hey, the good thing about OpenScad is that once someone makes a library, everything becomes trivial.
So now, making tidy iPhonesque shapes requires just a line of code:
You have several options to use this library:
a) Open the .scad file, copy its content and paste it in your script
b) Include the file in your script with any of these commands:
For this option, the library file should be in the same folder as your script.
c) Download the file and copy it in /usr/local/share/openscad/libraries (at least for Ubuntu) Then add it using:
- x = Xdir width
- y = Ydir width
- z = Height of the cube
r = Rounding radious
*Some times it's needed to use F6 to see good results!
Preview of the code: http://codeviewer.org/view/code:1b36
Upgrade this Thing with Thingiverse Apps
Round corners for Openscad - Library by WarrantyVoider is licensed under the Creative Commons - Attribution - Share Alike license.
What does this mean?
- You must attribute (give credit) to the creator of this Thing.
- You must distribute Remixes under the same license as the original.
- Remixing or Changing this Thing is allowed.
- Commercial use is allowed.
Show Some Love
Say thanks by giving WarrantyVoider a tip and help them continue to share amazing Things with the Thingiverse community.Tip Designer
We're sure WarrantyVoider would love to see what you've printed. Please document your print and share a Make with the community.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. It’s even easier to post a Make via the Thingiverse Mobile app (available via Google Play and Apple App Store).