Author Topic: meshmixer API - pre-alpha super-experimental release  (Read 6551 times)

RMS

  • meshmixer founder
  • Administrator
  • Hero Member
  • *****
  • Posts: 1238
    • View Profile
    • gradientspace
meshmixer API - pre-alpha super-experimental release
« on: November 27, 2014, 03:32:30 PM »
So. Meshmixer 2.7 had a lot of nice new stuff, but it has one more thing we didn't mention in the release notes.
With Meshmixer 2.7, we are making available a scripting interface, so that you can programmatically control the desktop application.

This is pretty cool, you can do a lot of stuff with it, from macro-like things, to interactive tutorials, to full generative design.

Currently we are focused on Python, although our Python interface is generated from C++, so you could also use C++. We actually use the SWIG interface generator to produce a python interface from C++, and this can generate bindings for many other languages.

The project is available on github here: https://github.com/meshmixer/mm-api.

If you don't know how to use github, and/or just want something quick, you can also get the package as a zip file. Here is the zip for mm2.7: https://autodesk.box.com/s/goedm7ss9l2abujdl50n

If you use Python, you don't have to compile anything. The scripts can be very simple, even if you don't know how to program, you can basically cut-and-paste stuff. You can get Python 2.7 here: https://www.python.org/downloads/release/python-278/

Please read the README on the front-page of the github for details. A key thing to note is that this API is likely to change in the future, perhaps significantly. We will try to keep things backwards/forwards-compatible, but cannot guarantee it.

Have fun!!
created meshmixer - now starting gradientspace - meshmixer consulting available http://www.gradientspace.com/consulting