My (tweakable) Drill/Punch Template

flemming

Member
I know there are a couple 3D printed drilling templates out there, but I put something together last night in OpenSCAD, that makes tweaking the dimensions and hole locations, really easy. I've uploaded the .scad file as well as STLs for Tayda's 125B enclosures to Thingiverse:


If you use enclosures from some other supplier and you just need to +/- a 1mm here and there you can use the Customizer on Thingiverse. If you want to make something more custom, you can download the .scad file and modify the code. The hole coordinates are relative to center, so for example if you wanted to make a template specific for the Terrarium in OpenSCAD you'd have:

Code:
width=65;
height=120;
holes = [
  [-20.32, 38.1], [0, 38.1], [20.32, 38.1],
  [-20.32, 12.7], [0, 12.7], [20.32, 12.1],
  [-21, -12.7], [-7, -12.7], [7, -12.7], [21, -12.7],
  [-15.24, -27.3], [15.24, -27.3],
  [-15.24, -45], [15.24, -45],
];
DrillTemplate(width, height, holes);

I haven't done much with OpenSCAD, but it seemed to generate reliable models for me with a variety of parameters.

Robert
 

Attachments

  • PedalPCB-Drill-Template.jpg
    PedalPCB-Drill-Template.jpg
    241.9 KB · Views: 20
Top