Skip to content

Instantly share code, notes, and snippets.

@francis-bitonti
Last active December 18, 2018 21:36
Show Gist options
  • Select an option

  • Save francis-bitonti/0951067889c9461d8cfd754c19e4cfe9 to your computer and use it in GitHub Desktop.

Select an option

Save francis-bitonti/0951067889c9461d8cfd754c19e4cfe9 to your computer and use it in GitHub Desktop.

Revisions

  1. francis-bitonti revised this gist Dec 18, 2018. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion mechP2.py
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    mechP.stochasticLatticeStatic(token)
    #generate the lattice (this is a large part and it might take a min or two...)
    mechP.runStochastic(token)

    #apply marchingCube function to transform the lattice into a mesh for 3D print.
    #marchingCube(lines,resolution,memberThickness,filename,token):
    final=genysis.marchingCube(MPfilename,700,0.25,"mechOutput",token)
  2. francis-bitonti created this gist Dec 5, 2018.
    3 changes: 3 additions & 0 deletions mechP2.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    mechP.stochasticLatticeStatic(token)

    final=genysis.marchingCube(MPfilename,700,0.25,"mechOutput",token)