Customizable Pegboard Double Hook
Description
I loved the original customizable hook set/generator by TreeHouseDesign. I've printed and am using many of them. This was the Thing that pushed me over the edge to dip my toes into the world of OpenSCAD. This is my very first OpenSCAD creation so it's not super elegant (coding wise) but works well. I totally cannibalized TreeHouseDesign's code. Thanks for the head start! The settable parameters allow creating a pegboard double hook the satisfy almost any sizing requirements. I've included the STL files for the pictured hooks but use the OpenSCAD file and create them to your own needs. *** Printing Notes *** @ I suggest bumping walls to 3 or even 4 for larger hook diameters. This will make the hooks stronger. Here are the customizable paramters in the code: --------------- // Global Pegboard parameters. Change to match your pegboard if necessary. holeDiameter = 5.25; // undersize this a little. My actual diameter is 5.75 holeSpacing = 25.4; // 1" = 25.4 mm boardThickness = 6; // oversize this a little topAnchorAngleStep = 10; // controls the shape of the top anchor $fn = 25; // Shape of the cross section: Increase for smoother/rounder hooks. // 1 = rectangular, 5 hexogonal. 20-25 for printing // Setting this above 20-30 dramatically increases compile time. // I have problems with printer bed adhesion with rounder shapes. /////////////////////////////////////////////////////////////////////////////////////////////////// // // Double Hook customization parameters // (lengths are specified in mm) // There is little to no error checking in the code so it's very possible to // specify values that will produce unpredictable results. YMMV. DhHookDia = 3.75; // Sets the diameter of the hook itself. Reasonable values // are 3.5mm-7.0mm. DhHoleAdd = 0.3; // Sets how much larger the mounting hole is vs. the hook itself. // 0.3mm aditional works for my printer ate the small range of hook // diamters. You may have to do just a LITTLE filing or trimming of // of the part of the hook that gets inserted. Will be a nice tight fit. DhGap = 61; // Sets the space inbetween the two inside edges of the hooks. // If you know the offset between centers then just use that value but // subract the diameter of the hook. // i.e. "DhGap = 70 - DhHookDia" (or just account for it in a single value) // For sure set larger than your value for DhHookDia. // There is not much/any error checking in the code. DhBuffer = 2; // Sets the distance that the mounting holes will be set back from the // edges and top of the panel. DhBufferAdd = 0; // Sets an additional buffer distance from the top of the panel // If you want to move the mounting holes down away from the top of the // panel this is how you do that. DhAddBrace = true; // Set to true to generate bracing under the the hook. This will also // add a groove in the panel for the brace to set it. It really makes the // hook sturdy and sit straight. A good idea if you are making fairly long // hooks. // Set to false if you dont want bracing or a groove created. DhBraceScale = 0.6; // Sets how wide the brace is as relative to the the horizontal part // of the brace. A value of 1.0 makes a 45 degree angle. DhHookLength = 80; // Sets the length of the hooks DhHookEndRise = 6; // Sets the length of the riser at the end of the hook DhHookEndAngle = 50; // Sets the angle of riser at the end of the hook (90=vertical, 0=flat)
Statistics
Likes
1
Downloads
0