Skip to content

Instantly share code, notes, and snippets.

@francis-bitonti
Last active December 18, 2018 19:31
Show Gist options
  • Save francis-bitonti/1346c562ebe8ba8254eff71fe6f49724 to your computer and use it in GitHub Desktop.
Save francis-bitonti/1346c562ebe8ba8254eff71fe6f49724 to your computer and use it in GitHub Desktop.
#create a surface lattice class
cranial =genysis.surfaceLattice()
#set the values needed for this function
cranial.setSurface("Skull_Srf.obj")
cranial.setCellHeight(0.1)
cranial.setOutput(MPfilename)
cranial.setComponent(cellName)
#Generate the lattice. It will be saved as implant.obj
cranial.run(token)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment