Skip to content

Instantly share code, notes, and snippets.

@bserem
Created June 28, 2022 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bserem/1b8b1d2e2ad5f45b8794bd35d80ffd91 to your computer and use it in GitHub Desktop.
Save bserem/1b8b1d2e2ad5f45b8794bd35d80ffd91 to your computer and use it in GitHub Desktop.
Boorman tools insect mesh spacers (openscad)
translate([0,0,0]) {
difference() {
cylinder(h=14, d=30, $fn=360);
translate([-4,-4,2.52])
cube([8, 8, 100]);
}
translate([-10, 10, 0]) {
cube([18, 70, 14]);
}
}
height = 2.4;
outer_diameter = 10;
inner_diameter = 8;
opening = 5;
translate([0,0,0]) {
difference() {
difference() {
cylinder(h=height, d=outer_diameter, $fn=360);
translate([0,0,-1])
cylinder(h=height+2, d=inner_diameter, $fn=360);
}
translate([1.5,1.5,-1])
cube([opening,opening,height+2]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment