OpenSCAD Parametric shape generator by ArdvarkMadman 3d model
3dmdb logo
Thingiverse
OpenSCAD Parametric shape generator by ArdvarkMadman

OpenSCAD Parametric shape generator by ArdvarkMadman

by Thingiverse
Last crawled date: 3 years, 5 months ago
$fn=12; //resolution
s=2; //unit corner radius
x=30 ; //x translate (unit radius)
x2=0; //x translate (shape radius)
c=3; //num of unit corners =>2
d=360; //num of units (higher=smoother)
//rotation factors
jx=1;
jy=0;
jz=1;
//EXECUTE
for (j=[ 0 : 360/d : 360 ]) //unit rotation
rotate([jjx,0,0])
rotate([0,jjy,0])
rotate([0,0,j*jz])
translate([x2,x2,x2])
hull (){ //unit generation
for (i=[ 0: 360/c : 360 ])
rotate([0,0,i ])
translate([x,0,0])
sphere(s);
}

Tags