CustomUI
 1-5  …  126-145  146-165  166-185  186-205  206-225  …  506-522

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6507.166 
All scripts have been rewritten using newest filesystem functions. Mac users now can rename and delete objects in the Object library.
Check the first post for update.

P.S. Added CustomUI version of the Dinos Script Palette script. http://moi3d.com/forum/lmessages.php?webtag=MOI&msg=5993.1

EDITED: 28 Jun 2014 by SMIRNOV

  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)
6507.167 In reply to 6507.166 
Cool :)

Does the manual of the first page is changed ?
---
Pilou
Is beautiful that please without concept!
My Gallery
  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:  Max Smirnov (SMIRNOV)
6507.168 In reply to 6507.167 
Hi Pilou
I changed scripts only.
  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)
6507.169 In reply to 6507.168 
Thx for the info! So no new translation to make! :)
---
Pilou
Is beautiful that please without concept!
My Gallery
  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:  BurrMan
6507.170 In reply to 6507.168 
Hi Max,
Can you help me with one edit I need to make?

For the path of a scripts directory has changed.

In the previous version, for the mods/ExtScripts.menu.htm there was a line like this to set a path to a folder:

var files = moi.filesystem.getFiles(moi.command.getOption('ExePath', false)+"\\commands", '*.js' ), scom = [];

Where "commands" is a folder to look in.....

The new version has this line:

var files = moi.filesystem.getFiles(moi.filesystem.getCommandsDir(), '*.js' ), scom = [];

How is this line modified to set a custom directory?

Thanks....
  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
6507.171 In reply to 6507.170 
Hi Burr, do you mean you want the custom directory to be one that's inside the installation folder like alongside "ui" and "commands" ?

If so you could do this:

var files = moi.filesystem.getFiles(moi.filesystem.getProcessDir()+"\\commands", '*.js' ), scom = [];

that should be the equivalent of the old one, it will get the location of the folder where MoI.exe is in, then stick \commands at the end of that, replace commands with what you need same as you did before.

- 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:  Michael Gibson
6507.172 In reply to 6507.166 
And thanks Max for updating this to work for Mac users too!

- 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:  BurrMan
6507.173 In reply to 6507.171 
Hi Michael,
Yes that was it... It was the difference between getCommandsDir and the getProcessDir you posted. I was trying a few variations with crashing, but was only changing the "+\\folder" part....

Thanks for responding in on that....

Burr
  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:  Max Smirnov (SMIRNOV)
6507.174 In reply to 6507.170 
Hi Burr,

now you can set any directory you want (check the first post).
Update mods/ExtScripts.menu.htm
Create mods/ExtScripts.cfg.htm file with the following content:
MOI\commands
MOI\commands\myscripts
...
  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:  wastzzz
6507.175 
Thanks, works perfectly on new beta.
M.
  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:  BurrMan
6507.176 In reply to 6507.174 
Thanks max... i will check out the cfg file too. It sounds handy. I needed the other one because i setup 2 extension scripts with 2 buttons in the commandbar....
  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:  shayno
6507.177 
Thanks Michael for the latest Beta
In case anyone is interested , on the windows version to easily get my Moi beta back up and running with scripts and custom UI I do this

from the old beta version ( call it old ) I
Copy sidepane.htm from old UI into new UI (mine opens construct and transform at once).
Copy saveas.js and save.js from old commands into new commands overwrite the new ones (mine save a jpg also).

Copy all of the commands folder from old into the new commands folder but do not replace or overwrite anything in there.
This puts any commands you use like ringcircle etc in there

I copy the following so I know where they are.
Copy your moi.ini into the main moi directory of new
Copy your template file in there also
Copy your licience key into moi directory

Installation: of custumui.
- Backup /ui/CommandBar.htm (I just copy to the desktop)
- Extract CustomUI archive into the MoI directory

delete objects in new objects folder
Copy your objects from old objects file to new objects
copy snapshot.htm from old customui to new customui (mine is set to save as a jpg)
rename any parts of custom UI with a - in front that you don't want (I don't use the align buttons)
cheers
shayne
  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:  DannyT (DANTAS)
6507.178 In reply to 6507.177 
Hi Shayne, apart from your sidepane.htm, saveas.js and save.js if you uninstall the previous beta all custom scripts and custom directories will be left behind then it's just a matter copy and paste, the only thing to replace is Max's CommandBar.htm

-
~Danny~
  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:  yakas
6507.179 
Hi guys, I am getting this error. When it does load, there is nothing visually different about the UI?
Image Attachments:
Size: 43.3 KB, Downloaded: 156 times, Dimensions: 463x331px
  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
6507.180 In reply to 6507.179 
Hi yakas, that error probably means you are using an older beta release - that function that the error mentions is only in the most current v3 beta, the Jun-27-2014 version which you can get from here: http://moi3d.com/beta.htm

- 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:  yakas
6507.181 In reply to 6507.180 
Wow, that was fast. Works fine, woo hoo!
  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:  Max Smirnov (SMIRNOV)
6507.182 
Camera switcher for CustomUI :)


put .htm file in /ui/customui/ folder

right click - save camera position
left click - load camera position

EDITED: 7 Mar 2022 by SMIRNOV

  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:  shayno
6507.183 In reply to 6507.182 
Thanks Max thats neat
Is there any way that it can save the set positions on moi close , as it forgets what you set
cheers
shayne
  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:  Don (DON_CHEKE)
6507.184 In reply to 6507.182 
Is there additional instructions to get this to work? I could find no customui folder in the MoI ui directory, so i created one and put the htm file there but it does not show when I run MoI. What am I missing?

_________________________
Don Cheke
Visit: Textual Creations
  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
6507.185 In reply to 6507.184 
Hi Don, if I remember right I think you need to unzip the file into MoI's main installation folder.

That will then replace one of Moi's .htm files inside the \ui folder to show the additional UI, and that will also then create the CustomUI folder for you during that unzipping process since it's stored in the .zip file.

- 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

 

 
Show messages:  1-5  …  106-125  126-145  146-165  166-185  186-205  206-225  226-245  …  506-522