Last active
September 16, 2016 11:23
-
-
Save johnbintz/2a73befb3f11ccd0c4672391ae0ac623 to your computer and use it in GitHub Desktop.
How I sliced up the Caverna Storage Solution for the Monoprice Select Mini 3D
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set max print size here | |
slice_x = 80; | |
slice_y = 80; | |
slice_z = 80; | |
// use like this: | |
// | |
// for y in 0 1 2 3; do for x in 0 1 2 3; do openscad -o "bottom_${x}x${y}.stl" --render -D x=$x -D y=$y bottom_slicer.scad ; done; done | |
// | |
// you may need to mess with the orientation of the imported file/slicer cube! | |
// if the slicer cube's slice produces no output, OpenSCAD will not save the output file. handy. | |
intersection() { | |
import("bottom_tray.STL"); | |
translate([x * slice_x, y * slice_y, 0]) | |
cube([slice_x, slice_y, slice_z]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment