Skip to content

Instantly share code, notes, and snippets.

@francisbitontistudio
Last active December 18, 2018 19:30
Show Gist options
  • Save francisbitontistudio/a13709ef7bac59d370174c3b7e5e212d to your computer and use it in GitHub Desktop.
Save francisbitontistudio/a13709ef7bac59d370174c3b7e5e212d to your computer and use it in GitHub Desktop.
#First set up a new lattice component to blend into
newBlendTarget = "cell_2.obj"
genysis.genLatticeUnit(7,0.01,0.01,0.01,1.0,1,newBlendTarget,token)
#set the values needed for this function
cranial.addPointAttractor(newBlendTarget,point=[1.6,90.4,0.6],range=2)
cranial.setOutput("implant_2.obj")
#generate new lattive with attractor.
cranial.run(token)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment