I need to bolt some shelving to the wall. Yes, I know the shelves came with some hardware for doing that – but I own a 3D printer and I can design BETTER hardware. I whipped something up in Sketchup and printed off some brackets. Next, I needed a slight variation in order to bolt two shelving units to each other. (Something for which their hardware wasn’t designed).
Unfortunately, ReplicatorG just puked all over itself as soon as I tried to slice the bracket. I had been tinkering with OpenSCAD for the last week or so, so I figured I’d give that a shot. Here’s what I tried:
- First, I tried building the bracket up out of just rectangular boxes. This was okay, but cumbersome.
- Next, I tried to design a really really complex polyhedron in the shape of my bracket. This was a nightmare. To do it properly, you need to design your object such that you’re defining each of the triangles that make up the object. If you get set up the triangles by putting the numbers for each corner in the wrong order, in a less-right order, or did some other benign thing, it would make a mess.
- After chatting with Clothbot, I tried to define a cross section of my bracket as a flat image in Sketchup (again), then tried to expert it to a DXF through a plugin. I just couldn’t manage to extrude that flat DXF into a 3D image.
- So, I went back to Sketchup and tried to tinker with the file again, fixed it in CADSpan, exported to STL again, fixed it up with NetFabb again, and ReplicatorG still barfed it up.
- Back to OpenSCAD (again). This time I tried to assemble a 2D cross section of other shapes. This didn’t work as I tried to tinker with the “linear_extrude” function.
- THEN, finally, I tried to define a polygon (not a polyhedron) based upon the coordinates I had used originally to describe the bracket when I was attempting to build it out of triangles. This worked to describe a flat 2D section of the bracket. I tried the “linear_extrude” function again and it worked well. I then punched a few holes into the bracket with some small cylinders and exported to an STL again. It’s my understanding that OpenSCAD makes quality STL files – without holes or other cleanup required. While that may be the case, you guessed it, ReplicatorG tossed its cookies when it saw this bracket.
So, what is it? Is it the bracket? Sketchup and ReplicatorG? Is it OpenSCAD? Suggestions?