Quote Originally Posted by DrZ234 View Post
Roxy, thank you for all of your help. I don't know what is going on, if I put your .stl in Slic3r, I can generate gcode. If I put your .scad in OpenSCAD, then export .stl, then go to Slic3r, it generates gcode fine.

HOWEVER, if I change the values at all to customize them in OpenSCAD, then export .stl, then I cannot generate code in Slic3r.

I would like to figure out why this is happening!
Most likely, you are not compiling and rendering the design with the new information. OpenScad (as a convenience to you) will do a best guess rendering of the source code to show you what it thinks it will generate. But, the design is not compiled and you are not ready to export the information into a .STL file yet.

Up on the Menu Bar of OpenScad, Do a Design / Compile & Render. Then export the generated information as an .STL file. That should slice without problems.

Quote Originally Posted by DrZ234 View Post
But what I actually need each little box needs to be 8.5mmx8.5mm square on the inside. The height needs to be 33mm. The total width of the thing must be around 158mm, so that should be 7x7 small boxes. Width of all walls 3mm should be fine.

THANK YOU!
Assuming you get the .STL to export in a fashion where your slicer can digest it, Just tweak any of the numbers at the top to get it to look exactly how you want it. Just to make the code simpler... The size of the box ignores the thickness of the walls. The size of the box goes from the center of the wall to the center of the wall. And the height includes the thickness of the bottom plate. You should be able to work around those issues to get what your want.

Good luck....