MattSCAD/pcd.scad

18 lines
342 B
OpenSCAD
Raw Normal View History

2024-06-07 13:00:20 +00:00
module pcd(degrees, totalDegrees=360){
count=totalDegrees/degrees;
for(i=[1 : count]){
rotate(degrees*i)
children();
}
}
module pcdAtFixedDegrees(degrees){
for(degree=degrees){
rotate(degree)
children();
}
}
pcd(30)
translate([30,0,0])
cylinder(h=10,d=5, center=true, $fn=30);