Install(?) script

Next
 From:  YASH
7122.1 
Hi MOIers,

I've just installed MOI on my machine. I had a go on it at work and I was impressed with just how bloody simple it is to do everything. THANK YOU MR GIBSON, YOU ARE A GODDAMN GENIUS!!!

Having said that, I don't seem to be able to find a how to for installing scripts on this thing. There appears to be lots of little bits of code with very useful sounding descriptions around the forum but I wasn't able to figure out how to get them to run on my copy of MOI. A bit of a Newbie question so if there is a How to posted somewhere please let me know how to navigate to it please.

Thanking you in anticipation
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7122.2 In reply to 7122.1 
Hi YASH - well there are a couple of different kinds of script so you do slightly different things depending on the particular type.

One type is just one line of code that you are meant to copy and paste into a shortcut key definition, and the entire script just goes right into the shortcut key. Those ones you use by going to Options > Shortcut keys and pasting in the script into the "command" column for a newly added shortcut key.

Those types of scripts are usually for things that run immediately like changing selection in various ways and things like that.

The other kind of script is a "plug-in command" which usually involves some UI for different options in the command and may have various stages in it like a stage to pick points or select objects or things like that, not just a single action that just runs immediately on one keystroke like the other kind.

The plug-in type scripts will come as a package of usually 2 files, a .js file and a .htm file that are zipped up. This type needs to be unzipped and the individual files copied into MoI's commands folder which will then make a new command available. You then set up a new shortcut key and put in the command name (which will be the name of the .js file but you leave off the .js extension when you put in the name in the shortcut key) to trigger it.

The location of the commands folder is different depending on whether you are using the Windows version or the Mac version.

On the Windows version go inside the main installation folder and look for the \commands sub-folder, like: C:\Program Files (x86)\MoI 3.0\commands - that's where you want to copy the unzipped plug-in files.

On the Mac version you need to right-click the app and on the menu that pops up choose "Show package contents". That will open up a finder window and inside there go to drive_c/moi/commands - that's the spot to copy the plug-in files.


In the future I want to simplify how to install plug-ins but for now it involves copying the files into that location.

Hope this helps!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mnrsiat
7122.3 In reply to 7122.2 
I have just upgraded to V3 with a need to unwrap a surface (developable) and after searching around, I think I may be able to do it with some trickery around UnwrapCurve. This will be my first plugin script, thanks for the complete explanation on installing them. So now I wonder, how many plugin scripts are there? Are they collated anywhere? A plugin library would be awesome, does it exist?

thanks,
Rachel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7122.4 In reply to 7122.3 
http://moi3d.com/resources and the Petr's page! ;)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
7122.5 In reply to 7122.3 
I played around with unwrapping cones, and frustums, and did a cone unwrap script.

http://moi3d.com/forum/index.php?webtag=MOI&msg=6175.22

I'll have to get back to it sometime.

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
7122.6 In reply to 7122.3 
Hi Rachel, currently the closest thing to a plugin library is what Pilou writes about above - got to the Resources page he has the link for and then on there look for Petr's page.

In the future I want to make a more sophisticated library mechanism that's more integrated directly with MoI so you could do something like browse through different categories and click a button to install one, but it will take some work to implement that type of mechanism.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All