Archive for June 28th, 2011

OpenSCAD Layout Grid

OpenSCAD Build Surface Grid

OpenSCAD Build Surface Grid

This OpenSCAD module spreads an array of cubes across the otherwise featureless preview window, so I know whether the gizmo I’m building or the parts I’m arranging actually fit on the Thing-O-Matic’s build platform. This doesn’t get out to the very edge, but if it looks close, then I should pay more attention anyway.

module ShowPegGrid(Size) {

 for (x=[-5:5])
  for (y=[-5:5])



You obviously don’t want to extrude these things, so put the ShowPegGrid() statement inside an if, so you can turn it off for the final build layout.