Thingiverse
surf2solid.py
by mrule
9
Downloads
23
Likes
0
Makes
A quick and dirty sketch of a python clone of http://www.thingiverse.com/thing:6955
Takes a function of x,y,r, and t (theta, in radians), plots it, returns it as a solid which it spits to stdout, or writes to a .scad or .stl file, depending on usage. Arguments are set toward the top of the scrip. The function is specified as a string. This script requires numpy. Comments need improvement.
Python seems popular, so I'm hoping this will be stolen and modified.
There are probably still bug
Takes a function of x,y,r, and t (theta, in radians), plots it, returns it as a solid which it spits to stdout, or writes to a .scad or .stl file, depending on usage. Arguments are set toward the top of the scrip. The function is specified as a string. This script requires numpy. Comments need improvement.
Python seems popular, so I'm hoping this will be stolen and modified.
There are probably still bug
Sign in to leave a comment
Sign in