
Rounded Cube Universal - OpenSCAD
Description
Universal rounded cube module. Any edge roundable with various radius. call: rcube(x,y,z,radius_vector,center); - x,y,z - normal cube parameters - radius_vector : 12 edges = 12 parameter - parameter number of vector element = number of edge r_vector[0,1,2,3] wiev edges from z+, ccw from origo r_vector[4,5,6,7] wiev edges from y+, ccw from origo r_vector[8,9,10,11] wiev edges from x+, ccw from origo if (r_vector[e]==0) { no rounding } if (r_vector[e] > 0) {convex radius edge} if (r_vector[e] < 0) {chamfered edge} Example: r=[0,0,5,10, -7,0,2,0, 10,0,-10,6]; rcube(30,40,50,r);
Statistics
Likes
3
Downloads
0