Hexagonal Grid Generator in OpenSCAD

Hexagonal Grid Generator in OpenSCAD

prusaprinters

<p>Hexagonal grids are a nice design tool when printing. They are regularly used to maintain strength and rigidity while lowering overall weight and material usage. They are also used as a design element. As such there are numerous methods to create and add hexagonal grids to your designs. A common method is printing hexagonal infill with no top and bottom layer. This works very well in some instances (grid oriented in x-y). If your grid is rotated it is difficult (sometimes impossible) to use slicer settings and achieve the same effect.&nbsp;</p><p>The attached OpenSCAD script will generate a rectangular grid of hexagons of arbitrary size and wall thickness. This can be further modified within your designs or can be used to generate a quick .stl to fill holes in an existing component with a nice hexagonal lattice.</p><p>There are several hex generators available online already. Compared to other OpenSCAD versions this script renders more quickly due to use of the excellent Belfry OpenSCAD Library. It also centers the hexagons automatically within your grid. I find this more aesthetically pleasing than some other options.&nbsp;</p><p><strong>Usage</strong></p><p><i>Note: The Belfry OpenSCAD Library v2 is required. Details are included in the OpenSCAD file</i></p><p>Save the attached file “hex-grid.scad” to your computer. Then open and modify the last line of the file with the parameters of your choosing.</p><p>If you would like to use this in other projects (<i>recommended</i>), then save the file to a folder located in your OpenSCAD library path. Comment out the last line of the file. Then you can include the file in any project by adding include &lt;<i>folder</i>/hex-grid.scad&gt; at the beginning of your project script. Simply call <i>create_grid(size,SW,wall)</i> in your project</p>

Download Model from prusaprinters

With this file you will be able to print Hexagonal Grid Generator in OpenSCAD with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Hexagonal Grid Generator in OpenSCAD.