Thingiverse
filletcube() OpenSCAD module
9
Download
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 pubblica anche su
154 modelli aggiuntivi su altre 2 piattaforme
Hai stampato questo modello? Accedi e condividi il tuo make!
Accedi per lasciare un commento
AccediAncora nessun commento – sii il primo!