Hole for an M2.5 DIN965 standard countersunk screw
Category: Screws
Using this part
This TurboCase prefab can be directly pasted into your KiCad PCB editor by using the copy button below. The
code of the footprint is also shown here for reference. The footprint file can also be downloaded to be
added to your own local footprint libraries.
Download footprint
The OpenSCAD code
This is the OpenSCAD code that will end up in your final case .scad file:
module ScrewHoleCountersunk_substract(hole_diameter, head_diameter, head_height) {
translate([0,0,-head_height+1.2])
cylinder(head_height, (hole_diameter/2)+0.2, (head_diameter/2)+0.2);
translate([0,0, -10])
cylinder(12, (hole_diameter/2)+0.2, (hole_diameter/2)+0.2);
}
module ScrewHoleCountersunk(hole_diameter, head_diameter, head_height) {
difference() {
cylinder(1, (head_diameter/2)+1.2, (head_diameter/2)+1.2);
ScrewHoleCountersunk_substract(hole_diameter, head_diameter, head_height);
}
}