My scripts for converting a (fairly specific) maya scene to input files for LIGGGHTS
These Mel scripts can be called from the Maya Command line, or better yet from a custom button on the shelf that calls "plfExport_Liggghts;"
In Maya, your scene should:
Select all moving objects, then run "plfExport_Liggghts;" or "plfExport_Liggghts_deformable;"
You will see moving objects jittering through the full animation sequence.
TO-DO:
**IF YOU USE THESE SCRIPTS, PLEASE CITE THE FOLLOWING PAPERS (which were instrumental in the development of these scripts):
Falkingham, P.L. and Gatesy, S.M., 2014. The birth of a dinosaur footprint: subsurface 3D motion reconstruction and discrete element simulation reveal track ontogeny. Proceedings of the National Academy of Sciences, 111(51), pp.18279-18284.
Falkingham, P.L., Turner, M.L. and Gatesy, S.M., 2020. Constructing and testing hypotheses of dinosaur foot motions from fossil tracks using digitization and simulation. Palaeontology, 63(6), pp.865-880.
Hatala, K.G., Gatesy, S.M. and Falkingham, P.L., 2021. Integration of biplanar X-ray, three-dimensional animation and particle simulation reveals details of human ‘track ontogeny’. Interface focus, 11(5), p.20200075.