1
0
mirror of https://github.com/pgrondek/SixInchRack.git synced 2024-11-25 13:15:48 +00:00
SixInchRack/Libs/Mesh-lib.scad

14 lines
422 B
OpenSCAD
Raw Normal View History

2020-01-24 21:49:36 +00:00
module mesh(xCount, yCount, height=1, size=1) {
translate ([1*size,1*size,0]) {
for (x =[0:(xCount-1)]) {
for (y =[0:(yCount-1)]) {
2020-01-25 16:11:34 +00:00
translate([x*4*size,y*2.2*size,0]) {
2020-01-24 21:49:36 +00:00
cylinder(height,size,size,$fn=6);
2020-01-25 16:11:34 +00:00
translate([2*size,1*size,0])
2020-01-24 21:49:36 +00:00
cylinder(height,size,size,$fn=6);
}
}
}
}
}