Thingiverse
filletcube() OpenSCAD module
9
Downloads
4
Likes
0
Makes
This a module for OpenSCAD to create a cube with rounded edges (fillets).
It doesn't use minkowski or hull, thus it renders fast (enought).
Usage:
Like the build in module cube(), the first parameter is an array [x,y,z]
The second, third, and fourth parameters are for the side, top and bottom fillet radius.
They can be adresses with side=, top= and bottom=. Theese parameters work with arrays and take four values.
Each value is the radius of the fillet on an edge, counted clockwise.
The cube can be centered on each axis with the boolean parameters x, y and z
or all together with center.
The variable "filletcuberesolution" is the length of each segment of the round edges.
That means a smaller filletcuberesolution value equals more detail!
Caution: if you choose a very small filletcuberesolution OpenSCAD will work quite hard as the $fn will rise!
Each parameter except the first (dimensions of the cube) is optional.
It doesn't use minkowski or hull, thus it renders fast (enought).
Usage:
Like the build in module cube(), the first parameter is an array [x,y,z]
The second, third, and fourth parameters are for the side, top and bottom fillet radius.
They can be adresses with side=, top= and bottom=. Theese parameters work with arrays and take four values.
Each value is the radius of the fillet on an edge, counted clockwise.
The cube can be centered on each axis with the boolean parameters x, y and z
or all together with center.
The variable "filletcuberesolution" is the length of each segment of the round edges.
That means a smaller filletcuberesolution value equals more detail!
Caution: if you choose a very small filletcuberesolution OpenSCAD will work quite hard as the $fn will rise!
Each parameter except the first (dimensions of the cube) is optional.
Professional3D also publishes on
154 additional models across 2 more platforms
Did you print this model? Sign in and share your make!
Sign in to leave a comment
Sign inNo comments yet – be the first!