Last active
December 4, 2018 23:54
-
-
Save francis-bitonti/5c519bbe2063912aabb6b3d7ae728472 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import genysis | |
token = "YOUR TOKEN" | |
MPfilename = "mechP.obj" | |
mechP = genysis.volumeLattice() | |
mechP.setVolume("Part.obj") | |
mechP.setPoreSize(1.5) #units are mm | |
mechP.setOutput(MPfilename) | |
mechP.stochasticLatticeStatic(token) | |
final=genysis.marchingCube(MPfilename,700,0.25,"mechOutput",token) | |
print(final) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment