Skip to content

Instantly share code, notes, and snippets.

@patmandenver
Created April 5, 2020 23:48
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 patmandenver/b7ee4b588b766ed76a96fffc4d58b0db to your computer and use it in GitHub Desktop.
Save patmandenver/b7ee4b588b766ed76a96fffc4d58b0db to your computer and use it in GitHub Desktop.
For justin to fix a model
$fn=100;
stl_file="mount_file.stl";
remove=3.0;
union(){
difference(){
translate([-120,-90]){
import(stl_file, convexity=3);
}
linear_extrude(50){
translate([-50, 0, -5]){
square([150,100]);
}
}
}
translate([0,-remove]){
difference(){
translate([-120,-90]){
import(stl_file, convexity=3);
}
linear_extrude(50){
translate([-50, -100, -5]){
square([150,100]);
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment