Skip to content

Instantly share code, notes, and snippets.

@thinkl33t
Last active September 24, 2015 15:09
Show Gist options
  • Save thinkl33t/d18cab39fb604f524690 to your computer and use it in GitHub Desktop.
Save thinkl33t/d18cab39fb604f524690 to your computer and use it in GitHub Desktop.
Device to measure the height of the hacman laser bed.
// width of the material you are cutting the measurer from
stock_width = 3;
// total kerf of an inside and outside cut. basically the width of your laser beam
kerf = 0.1;
// depth of the material the measurer is for.
material_depth = 5;
module top()
{
difference()
{
square([40, 20], center=true);
for (y = [-1,1])
translate([10, y*(10-(stock_width+1))])
square([15, stock_width-kerf], center=true);
}
}
module bottom()
{
difference()
{
translate([10,0]) square([20, 20], center=true);
for (y = [-1,1])
translate([10, y*(10-(stock_width+1))])
square([15, stock_width-kerf], center=true);
}
}
module side(height=17.5)
{
union()
{
square([15, height+stock_width+kerf], center=true);
square([20, height-stock_width+kerf], center=true);
}
}
top();
translate([0,22]) bottom();
translate([32,0]) side(16+(material_depth/2));
translate([32,20+material_depth]) side(16+(material_depth/2));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment