Skip to content

Instantly share code, notes, and snippets.

@Stemer114
Last active February 1, 2023 22:07
Show Gist options
  • Save Stemer114/324c382a528d10b43759 to your computer and use it in GitHub Desktop.
Save Stemer114/324c382a528d10b43759 to your computer and use it in GitHub Desktop.
openscad nut trap module
//nut trap
//default values are for M3 nut
//if you use this module as a nut trap cutout, you need to add +de (ie 0.1mm or similiar) to height
//in order to get non-manifold cutouts
module nut_trap (
w = 5.5,
h = 3
)
{
cylinder(r = w / 2 / cos(180 / 6) + 0.05, h=h, $fn=6);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment