[OpenSCAD] too many hexagons crashes openscad (how many is too many?)

Torsten Paul Torsten.Paul at gmx.de
Sun Oct 28 11:23:09 EDT 2018


This works for me as it stays in 2D for the hexagons and
also forces to collapse each line into a single internal
object with the render() call.

This is dropping the slight slanted sides of the hexagons,
but I wonder if that would even show up on high resolution
printers.

cube([600,400,2.5]);
color([0.2,0.8,1]) linear_extrude(3.5) {
     for (x = [2:2:600]) {
         render() for(y = [2:2:400]) {
             translate([x,y+1*((x/2)%2),2.5]) {
                 circle($fn = 6, r = 1, center = true);
             }
         }
     }
}

ciao,
   Torsten.



More information about the Discuss mailing list