Hole grid / pegboard / peg grid generator

Hole grid / pegboard / peg grid generator

thingiverse

OpenSCAD library to generate various parametric pegboard-like shapes, i.e. perforated rectangles. Customiser enabled. The master version of this library is [on github](https://github.com/ringerc/openscad-pegboard-peggrid); it isn't guaranteed that the Thingiverse copy will be updated with all minor changes. Current update corresponds to github revision 024dd82. ## Basic Usage Download `pegboard.scad` and put it in the same directory as your project, add the location to your openscad include search path, or ``` use <pegboard.scad> board_dimensions = [30, 30, 3]; // 30mm x 30mm rectangle, 3mm thick hole_diameter = 3; // 3mm holes hole_pitch = 6; // hole centers 6mm apart pegboard(board_dimensions, hole_diameter, hole_pitch); ``` (It's better to put it on the OpenSCAD library path rather than putting it in your project directory, but that'll get you started). ## Configuration See `pegboard.scad`, its tests and its examples for things you can do with it. ## Derivatives This library is BSD licensed. The license specifies what you *can* do with it. I have a few requests that I would *appreciate* you following, though the license does not require you to do so: 1. **Please do not create derivatives of this library on Thingiverse without linking to the original**. I would prefer that you submit changes to me for inclusion in the main library instead, if you can make them work without breaking the existing tests. ## Testing To produce the output of the sample image download `pegboard_test.txt`, rename to `pegboard_test.scad` and run in the same directory as `pegboard.scad`. Or better, get the current version from [github](https://github.com/ringerc/openscad-pegboard-peggrid). There are a few assertions in there for basic functionality, but OpenSCAD doesn't make it easy to write useful tests since it lacks the ability to introspect objects usefully. So you have to eyeball it and compare the described expected results to what you see on the test pattern. A sample test result `.stl` and `.png` is included. ## TODO At some stage I may be motivated to: * Support non-rectangular shapes * Support non-cylindrical holes ... none of which is hard, so if you want it, ask me for advice and I'll point you in the right direction. Code contributions appreciated. Wondering if I should submit to MCAD.

Download Model from thingiverse

With this file you will be able to print Hole grid / pegboard / peg grid generator 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 Hole grid / pegboard / peg grid generator.