construct and transform menus both open
All  1-9  10-12

Previous
Next
 From:  Michael Gibson
10063.10 In reply to 10063.9 
Hi Wim, a "commandset" is a group of commands, it's a button like this that pops out a sub-menu of related commands:





Then these are command buttons that run an individual command when you click on them:




> would it be possible to add scale 2D and 1D too? How do I do that then?

Well where do you want them to go? There isn't currently any empty space next to the "Scale" command set button.

- 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:  wimverbe
10063.11 
I would place them instead of the twist icon and the "tube" icon which is missing here, 2 things I don't use so often. But am I wrong when I assume that if I would just insert 2 extra lines in the script, the window would simply increase in width with 2 extra columns? I don't see any window formatting in the script, so I presume that the frame adapts to the amount of items in a row/column, no?



  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
10063.12 In reply to 10063.11 
Hi Wim, sorry I thought you were talking about placing them somewhere in the regular side pane UI, I didn't know you meant on that dialog box.

Give the updated one a little further down in that thread a try:
https://moi3d.com/forum/index.php?webtag=MOI&msg=9758.3

> I don't see any window formatting in the script, so I presume that the frame adapts
> to the amount of items in a row/column, no?

There is formatting in there - it's set up in a table and every section in between is a table row and then a
is a table cell. So to replace Twist and Tube, those are on line number and 76 in the file, they look like this:
code:
	        <td><moi:CommandButton icon="moi://ui/icons/TwistIcon.png" command="Twist"></moi:CommandButton></td>
                <td><moi:CommandButton icon="moi://ui/icons/PipeIcon.png" command="Pipe"></moi:CommandButton></td>
You can find the regular scale command buttons inside the file Scalings.htm inside MoI's ui sub-folder. Look in there to see what you should put for icon="" and command="" for scale command buttons. - 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: All  1-9  10-12