You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My guess is that this code might hitting some kind of memory limit on your machine. How much RAM do you have?
$fn=50 for the sphere()s might be the culprit.... With $fn=5 it works ok for me. I'm not sure what level of $fn you need for your application.... perhaps more insight and suggestions could be found on the mailing list.
It works fine under simple "Compile". Any obvious reason for this?
levels=5;
side=5;
for (h=[1 : levels]) {
for (i = [1 : side]) {
for (j = [1 : side]) {
if ((h == 1) || (i == 1 || j == 1 || i == side || j == side)) {
translate([i_5, j_5, h*5]) {
sphere(r=3, center=false, $fn=50);
}
}
}
}
}
for (h=[1 : 12]) {
translate([h+1.5, 5, 20+(levels+h-1)]) {
cube([3, 20, 2]);
}
}
translate([30,0,0]) { mirror([1,0,0]) {
for (h=[1 : 12]) {
translate([h+1.5, 5, 20+(levels+h-1)]) {
cube([3, 20, 2]);
}
}
}}
The text was updated successfully, but these errors were encountered: