Open ghost opened 4 years ago
The www.misfitcode.com website says that this feature has never been used and recommends abandoning it. It's probably not well maintained, so I guess do you have a use case for scripts?
As I can see, Maverick Model 3D core has updated to support Lua 5.2
It's a deprecated feature that is not enabled in releases but the code still exists. I'm not personally interested in it but reasonable patches are accepted.
Lua scripting support has to be enabled to build time and is not enabled in Maverick releases. Same as Misfit Model 3D. The Lua scripting documentation was removed from Misfit Model 3D at some point and does not exist in Maverick.
On Unix-like systems the configure
build step will enable Lua if it's installed(?). There is no option in Makefile.generic (Makefile.mingw
in Misfit Model 3D source) to enable it for Windows builds.
I confirmed the Lua 5.2 support commit compiles on Linux. Beyond that I haven't tested Lua support in Maverick nor ever used Lua for any other purpose.
The available functions for Lua scripting are in src/mm3dcore/luaif.cc (which at time of writing are the same as Misfit Model 3D).
Just found that in the «Misfit Model 3D - Scripting Guide» for running script from GUI there should be "File > Run Script..." menu entry:
But I can't see such menu entry it in Maverick Model 3D
P.S. Also, is there some additional info on Lua-scripting in Maverick Model 3D?