[OpenSCAD] Arrange cylinders in circle like barrels of a gatling gun

shadowwynd shadowwynd at gmail.com
Wed Oct 17 19:00:06 EDT 2018


count = 8;
outer_r = 40;
cyl_d = 20;
cyl_h = 30;

for (i=[0:360/count:359])
{
	rotate ([0, 0, i])
		translate ([outer_r, 0, 0]) 
			cylinder (d=cyl_d, h=cyl_h);


}



--
Sent from: http://forum.openscad.org/



More information about the Discuss mailing list