Hole for an M3 DIN967 standard pan-head screw (optical drive 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 ScrewHole_substract(hole_diameter, head_diameter) {
translate([0,0,-10])
cylinder(15, (hole_diameter/2)+0.2, (hole_diameter/2)+0.2);
}
module ScrewHole(hole_diameter, head_diameter) {
difference() {
cylinder(1, (head_diameter/2)+0.2, (head_diameter/2)+0.2);
ScrewHole_substract(hole_diameter, head_diameter);
}
}