MoI GUI Builder released for Mac and PC!
 1-20  21-40  41-60  61-80  81-100  101-102

Previous
Next
 From:  ed (EDDYF)
7245.61 
Chipp - Is there an easy way for me to add only the SubD buttons for Max's scripts (as opposed to the hot keys I'm now using)?

At this time I don't want to change the entire UI.

Ed Ferguson
  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:  chippwalters
7245.62 In reply to 7245.61 
Hi Ed,

Currently the scripts I provide only work within Max's framework. You can of course install his framework and ONLY use those buttons (by prefixing a '-' before all the other *command.htm* files).
  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
7245.63 In reply to 7245.61 
Hi Ed,
You would edit the Commandbar.htm file in MoI's UI folder to add a button.....

Here is a button next to max's custom UI..




The code to add a button is:

code:
<moi:Spacer/>
<moi:CommandButton icon="icons/plugin.png" command="Subdiv6"</moi:CommandButton>


The icon is an image of your choice. The command is the name of the command....
Attachments:

  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)
7245.64 In reply to 7245.63 
you write "subdiv6"
in normal way that is "_subdiv_beta6" have you change the name of the command?
  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:  chippwalters
7245.65 In reply to 7245.63 
Ed, if you wanted to use my icons, then the correct would be:

code:
<moi:Spacer>
<moi:CommandButton icon="icons/subDicon.png" command="_Subdiv_beta6"</moi:CommandButton>


Thanks to Burrman for the heads up. I changed the icons link.

EDITED: 23 Apr 2015 by CHIPPWALTERS

  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
7245.66 In reply to 7245.64 
Hi Frenchy,
Yes, i just renamed it for myself. Simplified for typing.
  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
7245.67 In reply to 7245.65 
Hey chippwalters,
Well, the icon name "plugin.png" is an icon i have on my system. He would want to create a png icon same as yours and have it named and stored in icons folder, then change that name in the code snipet...
  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:  chippwalters
7245.68 In reply to 7245.67 
Yep, you're right. I mistyped the code. It should be:

code:
icon="icons/subDicon.png"
  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:  ed (EDDYF)
7245.69 
Thanks Chipp and BurrMan - You both saved me a lot of time.

OK - If anyone simply wants to add four buttons to run Max Smirnov's SubD scripts without making any other UI modifications, I've consolidated and condensed the instructions:



Reference:
http://moi3d.com/forum/index.php?webtag=MOI&msg=6674.173
http://moi.maxsm.net/
http://moi.maxsm.net/media/files/

To Install the SubD Scripts by Max Smirnov:
Unzip and copy the following files to the folder: MoI 3.0/commands
_ImportObj.htm
_ImportObj.js
_Subdiv_beta6.htm
_Subdiv_beta.js
_sBridge.htm
_sBridge.js
_sSplit.htm
_sSplit.js
_sScale.htm
_sScale.js

To add Hot Keys (optional):
In MoI go to Options > Shortcut keys and push the "Add" button in there. In the left hand column that says "Key" put in whatever keyboard character you want to use for launching it. Then in the right-hand "Command" column put in the same thing you are currently typing in at the command line.

To add four SubD Icon Buttons (optional):
Make a backup of your MoI folders in case you need to revert back.
Using a text editor, open CommandBar.htm in the MoI 3.0/ui folder.
Find the blue text below. Insert the new white text. Extra spaces are optional and were included for readability (use at least one space character where space is shown).



Download the Icon images from Chipp Walters here: https://altuit.cloud/web/dbpub/MoIGUIdownloads/MODOicons.zip
Select the four icons for the SubD scripts and copy to your MoI 3.0/ui/icons folder

Done!

Ed Ferguson

EDITED: 23 Apr 2015 by EDDYF


  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:  MarkRG (MARKRG0)
7245.70 
Hi,

I'm posting this just for reference. I've been using it for about a year and created it to blend with MODO - the app I use alongside MoI. I find it a little easier on the eye.

Mark
Image Attachments:
Size: 716.8 KB, Downloaded: 969 times, Dimensions: 2120x1293px
  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
7245.71 
This looks cool, I will check it out. Would it allow me to reorganize the toolbar? I would like to show all tools without clicking on their drawer tab. Even more, could commonly used functions within each tool be shown, for example show all the align command types?

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:  yakas
7245.72 In reply to 7245.71 
It looks like the image above my post shows this as possible.

downloading...
  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:  keith1961
7245.73 In reply to 7245.69 
Hi ed
I don't know anything about programming but I followed your instructions and now have:

The scrips in the Command folder
A nice row of buttons in Moi

The buttons don't seem to do anything when I follow the instructions in the car modeling tutorial. Have I missed a vital step? Am I worng to think that it would be as easy as copy and pasting the scripts and copying code?

Typing in code took me back to my youth, a time when when my brother used to make me type in pages of basic into his Dragon32. With similar, unspectacular, results.

Best regards
Keith
  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:  ed (EDDYF)
7245.74 In reply to 7245.73 
Keith -

Have you verified the scripts are working by typing in the name of the script?

Hit TAB then enter the following in the box at the bottom of MoI: _sSPLIT

Even with nothing created in MoI you should see a pop-up dialog that says "Select edge or face(s)

If you don't get the pop-up dialog then your scripts are not installed correctly.

If you do see the pop-up then the code you typed in from here has an error: http://moi3d.com/forum/index.php?webtag=MOI&msg=7245.69

The code in white is a screen shot from my working system, so if you retype it as shown it should work.

Ed
  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:  keith1961
7245.75 In reply to 7245.74 
Thanks so much! I found a couple of errors in my typing. Less tired today so that helped too, Look like I will have some fun working out how to exploit this new power up.
Keith
  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:  Marv (MSWRITES)
7245.76 In reply to 7245.73 
Hello,
I attempted to put the scripts into the command folder and when trying to save got an "Access Denied" message. That stopped me.

Marv
  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
7245.77 In reply to 7245.76 
Hi Marv,

> I attempted to put the scripts into the command folder and when trying to save
> got an "Access Denied" message. That stopped me.

In newer versions of Windows, Windows will by default prevent programs from modifying anything in the "Program Files" (or "Program Files (x86)") folders, unless the program is running with elevated privileges.

If you're trying to unzip directly into that commands folder, try right-clicking on your unzip program and choose "Run as Administrator", so that it will be running with elevated privileges and then be allowed to unzip into there.

Or another way you can do it is to unzip it to some other place like your desktop, and then use the Windows File Explorer to copy the files over - instead of just ending with an error message, Explorer should put up a Yes/No dialog and if you say yes there it will use the elevated privileges just for that file copy.

- 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:  chippwalters
7245.78 
There's a new update to MGB, so please click the button 'check for updates.'

Michael changed the latest Mac version app name to "MoI v3.1.app" and MGB looks for the legacy name: "MoI v3.app"

I've now fixed it. You should press the check for update button on the top right of the interface, and it will automatically update the program. No need for Windows users to update, but if you do things should work just fine.
  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:  paulrus
7245.79 In reply to 7245.78 
I couldn't find the answer by searching here or on Chip's site, so can anyone tell me what the "Externals" folder is for? It's empty on my install.

Also, I'm sure I asked this at some point in this thread, but is there a way for MGB to read the current CSS file for MOI so you don't have to recreate something you've already done prior to installing MGB?

Thanks!

Paul
  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:  chippwalters
7245.80 In reply to 7245.79 
Externals -- no need to worry about it.

No way to read an existing CSS...would require me to write my own CSS renderer/parser. Sorry.
  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-20  21-40  41-60  61-80  81-100  101-102