OK so what is this you ask, well you know how they say necessity is the mother of all invention? Well this was born from my need to have the ability to create small sections of pegboard and/or holes to draft into other projects. Now you can use this stand alone to create [a small] sheet of pegboard but more so it is intended to integrate into other projects. The best way to explain this by example, as take a look at this project https://www.thingiverse.com/thing:2459524 as we used a section of pegboard created from this code to create the mounting back for this.
In addition the peg only setting is intended to create a set of pegs without a board so you can import the resulting STL again into another application such Tinkercad to either create a set of uniformed pegs or punch out holes.
Update: to get customizer to work you need to "toggle" the logic and you can do this by swtiching the "type" to pegs (0) and then back to board (1) and it will then show the board with holes :-)
See more about this code here in this Youtube video (https://youtu.be/EI0rZ7c2ve0) as well as visit our Open-SCAD website here for more resources!
Also, please follow us on Thingiverse and give this a like if this came in handy and for more information on this project, please visit us at http://www.DIY3DTech.com as well as subscribe to our YouTube Channel at http://YouTube.DIY3DTech.com along with a visit to our drone site and YouTube channel at http://video-drone.DIY3DTech.com
If you are looking for one of a kind swag shop for yourself or a Maker Geek friend, visit our swag shop at http://Swag.DIY3DTech.com for unique 3D Printing, Laser Cutting and CNC swag! Too, if you want a behind the scene look at what we are working on be sure to follow us on Instagram (https://www.instagram.com/diy3dtech/)!