Skip to content

Instantly share code, notes, and snippets.

@nophead
Created April 3, 2018 15:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save nophead/eb799ccd853f60e4f31ec600939a3dd4 to your computer and use it in GitHub Desktop.
OpenSCAD script to test squashed wall theory
layer_height = 0.25; // slicer layer height
extrusion_width = 0.5; // slicer extrusion width
nozzle = 0.45; // extruder nozzle aperture
squeezed_wall = extrusion_width - layer_height / 2 + nozzle / 2 + extrusion_width / 2;
wall = 2 * extrusion_width;
w = 20;
h = 10;
base = 1;
difference() {
cube([w, w, h]);
translate([wall, wall, base])
cube([w - wall - squeezed_wall, w - wall - squeezed_wall, h]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment