“A completely flexible pegboard hook generator. Peg hole size and spacing are customizable. Many hook parameters are customizable (see below for details)
I’ve included the .scad file and individual stl files for each example. The examples were created for US pegboard (1” spacing).
// height: radius of the ellipse which defines the protruding hook along the y axis.
// width: diameter of the ellipse which defines the protruding hook along the x axis.
// offset: moves the hook up or down on the base.
// rotateVector: rotates the hook in the x/y plane
// endRise: length of the riser on the end of the hook
// endRiseAngle: angle of the riser on the end of the hook
// angleSweepStart: where does the hook start on the ellipse?
// angleSweep: How far around the ellipse does the hook go?
// angleStep: How many steps should we take to get there?
jHook( 100, 50, 0, [0,0,0], 10, 90, 90, 180, 10);”