Moi3d SDK Documentation

 From:  Michael Gibson
7768.6 In reply to 7768.4 
Hi Marco,

> So, could you please tell me if you have some tec docs for using your Moi3d API
> to write some javascript plugin from scratch ?

I'm sorry but I do not really have anything like this currently available.

Unfortunately, both creating that type of documentation and also supporting it takes a great deal of time and effort and so that particular area has not been a focus for my work on MoI as of yet. Currently I myself am more focused on working on the core of MoI and still developing features for "regular" end users rather than "developer" users.

In the future I do expect this to change once more of the core of MoI is more matured, it's still quite a bit in flux at the moment.

There are a few links to resources here:
http://moi3d.com/wiki/Scripting

Scripting is used a lot in the regular functioning of MoI for controlling the UI and workflow of commands, and so you can look at the scripts that come packaged along with MoI to see a lot of examples. They can be found in the "commands" folder, which on Windows is in C:\Program Files (x86)\MoI 3.0\commands and on the Mac right-click the MoI app icon and choose "Show package contents" and under there go to drive_c/moi/commands.


> For example, what's the objects' class hierarchy or what's the starting point to access the Api.

For the object model class hierarchy, see the moi.idl file which is at the above link to the wiki Scripting topic.

If you do get stuck on something or have a specific question you are certainly welcome to post it here and I'll try and help you but there isn't a lot in the way of documentation for helping you get started, that just requires a lot of self guided studying of existing scripts and a lot of trial and error to get started initially.

- Michael