PGM to OpenSCAD surface (normed zero-one)

PGM to OpenSCAD surface (normed zero-one)

youmagine

This is a "normed" version of the original, meaning this script generates a ".dat" file with grey scales (0-255) converted to (0.00-1.00). This works much better if you're planning to upload your openSCAD code to Thingiverse Customizer. Note that I'm not a Python expert; I just used trial and error to assign the correct value to depthval. If you have any Python questions, @sawdusty is the go-to person for answers. The original script creates a ".dat" file with grey scales (0-255) converted to (0.00-7.65), which is okay but not compatible with Thingiverse's requirements. For more information on how this works, check out Thingiverse Customizer documentation: http://customizer.makerbot.com/image_surface and http://customizer.makerbot.com/docs#image_surface. Also keep in mind that when using the surface command in openSCAD, it adds 1mm to the bottom (below zero) of the created surface.

Download Model from youmagine

With this file you will be able to print PGM to OpenSCAD surface (normed zero-one) with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on PGM to OpenSCAD surface (normed zero-one).