Thingiverse
Sudoforge Test #1
by adamkyler
2
Downloads
9
Likes
0
Makes
Test of using Python to generate STL files. The interesting bit of the code is below:
if int(x\*10)%2 ^ int(y\*10)%2:
z = 0.06 + ( pow(x-0.5,2) + pow(y-0.5,2) )/5
if int(x\*10)%2 ^ int(y\*10)%2:
z = 0.06 + ( pow(x-0.5,2) + pow(y-0.5,2) )/5
Sign in to leave a comment
Sign in