Sunday, 27 November 2011

OpenSCAD, scaling existing STL object

I found this nice hand figure from open stl library and wanted to print it for ongoing D&D game. As it happens though, this printed part fits well on scale for Large size (4 squares) and we happened to need Normal size (1 square). So OpenSCAD to rescue. After some reading of the manual, all I needed to type in was just this:

scale([ 0.5, 0.5, 0.5 ]) 
   {import_stl("G:STLs/hand.stl", convexity = 5);}

Then press F6 to compile and render, and select menu for STL export.

Result bellow. I printed this smaller hand with support-material enabled, so I'll need to clean it up before use.

Somewhat unreleated sidenote: I have noticed that sometimes my phone fails to upload entire picture to Picasa albums. There's no error message but about half or 1/3rd of the picture becomes grey. I'll need to test this further..