PGM to OpenSCAD surface (normed zero-one)

normed remix of original python script

Art

Creative Commons Attribution Share Alike

Commercial use is allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.

Learn more or download attribution tags

Description

This is a "normed" version of the original. which means this script makes a ".dat" file with grey scales (0-255) converted to (0.00-1.00). This works a lot better if you are going to upload your openSCAD code to thingivese customizer. NOTE: I am not a python expert I just used trial and error to assign the correct value to depthval. If you have python questions I probably can not answer them, @sawdusty is the master here. http://www.thingiverse.com/thing:75581


The original makes a ".dat" file with grey scales (0-255) converted to (0.00-7.65) which is fine..but is not compatible with how thingiverse works.


http://customizer.makerbot.com/imagesurface

http://customizer.makerbot.com/docs#image
surface


ALSO note in openSCAD the surface command adds 1mm to the bottom (below zero) of the surface it creates

Materials and methods

python is needed

Documents

Issues

Issues are used to track todos, bugs or requests. To get started, you could create an issue.

Comments

Mini mark.g.peeters.4.23.14Peetersm published this design ago