No Key Shortcut...
 1-8  9-28  29-33

Previous
Next
 From:  Grendel
35.9 
Thanks Michael, that worked like a charm. I've attached a simple three step visual for others to look at if they want to do shortcuts if that is alright?

EDITED: 31 Aug 2006 by GRENDEL


  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)
35.10 
Bravo !
Very clear :)
  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
35.11 In reply to 35.9 
> if that is alright?

Of course! Thank you very much, I appreciate it. Other people will benefit from your clear instructions.

- 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:  black mariah (BLACK_MARIAH)
35.12 
Awesome. But what's the command for "Reset All"? I can't find it, and that's something I use on a constant basis. So much so I want to put it on the friggin' spacebar.
  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
35.13 In reply to 35.12 
That one's a little different, it's not exactly a command because you can do it while another command is still running.

This will do it:

[Shortcut Keys]
Space=script:moi.view.resetAll();

That's basically a little script macro that will run when you push the space bar.

You've probably already seen this, but just to make sure - when you do the view reset the first time, it will go to the selected objects. If you want to go to all objects instead of just the selected ones, then do another reset immediately and it will switch to all objects.

- 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:  black mariah (BLACK_MARIAH)
35.14 In reply to 35.13 
Awesome. Thanks for the help.
  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:  Grendel
35.15 
OK Michael, what would I need to enter to toggle each of the snaps to a key? :) Grid(on/off), Straight, and Object. I have made a list of all the commands so people won't go looking all over with their Icon, UI name and command name. I'll post the list so it will help with some of the same questions.
  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
35.16 In reply to 35.15 
Let's see, those ones also need one of those mini script macros. This will do it:

[Shortcut Keys]
G=script:moi.drawingAids.gridSnap = !moi.drawingAids.gridSnap;
O=script:moi.drawingAids.objectSnap = !moi.drawingAids.objectSnap;
S=script:moi.drawingAids.straightSnap = !moi.drawingAids.straightSnap;

Thanks for assembling the list!

- 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:  Grendel
35.17 
Here is a quick list for most of the tool names and commands you will need to setup keyboard shortcuts for MoI. Just read the above portion of the thread or the three step walk-thru above. Next to each icon is the function name and then the associated command name which is what you will need for defining your own shortcuts in the moi.ini file.
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)
35.18 In reply to 35.17 
And maybe also the Selection All, Deselect all, Inverse Selection will be nice on the list :)
  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
35.19 In reply to 35.17 
Very cool Grendel, thank you!

- 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
35.20 In reply to 35.18 
> And maybe also the Selection All, Deselect all, Inverse Selection will be nice on the list :)

Grendel's got them on Page #3 of his guide, here they are:

[Shortcut Keys]
A=script:moi.geometryDatabase.selectAll();
N=script:moi.geometryDatabase.deselectAll();
I=script:moi.geometryDatabase.invertSelection();

- 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:  Frenchy Pilou (PILOU)
35.21 In reply to 35.20 

This another one by Michael
Select All / Deselect All by the Space Barre !

Add this in "one line" in the section [Shortcut Keys]

Space=script:var selection = moi.geometryDatabase.getSelectedObjects(); if ( selection.length == 0 ) moi.geometryDatabase.selectAll(); else moi.geometryDatabase.deselectAll();

Works like a charm !)

EDITED: 4 Sep 2006 by PILOU

  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:  vizjunky
35.22 In reply to 35.20 
hi There Michael and All

is it possible To make some numeric command aliases?

(alii?)

i use a mouse left-handed even Tho i am actually right-handed
previous owners/bosses drove me crazy with contradictory infomation

so i keet a clip-board To write everything down with
and i ended up loving To use a mouse left-handed which

leaves The right-hand in The proximity of The keyboard number pad

(not going To mention The other software That i have been using for 18 years)
but This is extremely FAST, numeric input for a command name, Then (if needed)

additional numeric input for etc parameters
i havent downloaded The MOI beta yet, so

(but i am going To do just That as soon as i finish This message)

i am not sure if This is possible or would work

????

Thanks

by The way i got 300 - 400 numeric keypad command aliases memorized by now

and (did i say This before) IT IS extremely FAST!!!

vizjunky
  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
35.23 In reply to 35.22 
> is it possible To make some numeric command aliases?

These are just single-letter shortcut keys that we're talking about here, I think you may be talking about multiple key command name aliases as might be used in a command-line interface program? MoI doesn't have a command-line style interface so there isn't any place to type in these types of sequences.

Single number shortcut keys actually do kind of work right now, but it's a bug, they're not supposed to work because most of the time MoI can use numeric input right away - for instance if you're drawing a line and you type "5,2 [enter]", you will place the current point at the coordinates 5,2 , you don't have to click somewhere or do anything special before typing in the numbers. That's why they aren't going to be allowed as shortcut keys (once the bug is fixed). If there is a command running that takes numeric input as one of its parameters (example: circle with a radius), then typing a number will put it directly into the option for the command instead of in the point coordinate box.

However, you can still use the number pad for some shortcuts if you turn Num Lock off, this will then make the keypad generate non-number characters, such as Page Up, Home, End, etc... These can be assigned as shortcuts in the .ini file (as described earlier in this thread) using these labels: UpArrow, DownArrow, LeftArrow, RightArrow, Home, End, PageUp, PageDown, Insert, Delete, Backspace.


But really one big effort in MoI's interface was actually to set it up so that you don't need to touch the keyboard to do anything at all... I didn't ignore the keyboard completely, like there is the support for keyboard shortcuts as in this thread, and entering numeric data should work quite well since it sends the numbers to the right spot without further clicks, but if you really like to use a command-line interface with hundreds of different aliases, that's a lot different from how MoI works.

- 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:  eph
35.24 
This is one of the coolest features of MoI indeed ;)
How would I assign shortcuts to the viewports? Like T, F and R for top, front and right, and spacebar to toggle Split-3D..
TIA!
  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
35.25 In reply to 35.24 
> How would I assign shortcuts to the viewports? Like T, F and R for top,
> front and right, and spacebar to toggle Split-3D

Here's what you do. First, close MoI. Then open up the moi.ini file in notepad. The moi.ini file is located here: C:\Documents and Settings\[your login name]\Application Data\Moi\moi.ini

Go to the [Shortcut Keys] section, and add these lines (the line for Space= should be all one long line):

[Shortcut Keys]
T=script:moi.ui.mainWindow.viewpanel.mode = 'top';
F=script:moi.ui.mainWindow.viewpanel.mode = 'front';
R=script:moi.ui.mainWindow.viewpanel.mode = 'right';
Space=script:var viewpanel = moi.ui.mainWindow.viewpanel; if ( viewpanel.mode == 'split') viewpanel.mode = '3d'; else viewpanel.mode = 'split';


Make sure you edit moi.ini with MoI closed. Then the next time you start MoI, the T, F, R and Space keys should work the way you want.

- 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:  Frenchy Pilou (PILOU)
35.26 In reply to 35.25 
Just a question : If I translate in french the word "top" of the Ui or Command by "Dessus" for example, that's not affect
your line above? > T=script:moi.ui.mainWindow.viewpanel.mode = 'top';
  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
35.27 In reply to 35.26 
> If I translate in french the word "top" of the Ui or Command by "Dessus"
> for example, that's not affect your line above?

Nope, it won't affect it - script names and things involving the program code will stay in English.

When you look at the UI, you will see certain parts that are interacting with the program code - those you shouldn't try to translate, you would only translate the visible text labels. So for instance if something says <xxx id="Top">, you don't translate that - the id attribute is something that is not visible, it has to do with the program code. The only part you would normally translate would be the inside text, like this: <xxx>Top</xxx>.

The translation will probably be much easier in a month or so when I get around to making the string table thing. That will be a text file that only contains just pieces of visible text.

- 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:  Frenchy Pilou (PILOU)
35.28 In reply to 35.27 

>That will be a text file that only contains just pieces of visible text.
That will be terrific and so easy for any langages of translation :)
I had started the translate, so maybe I will wait some times :)
MoI the first Nurbs modeler who exist in any languages!!!
Fortunately I am a little more strong in french than in english :D

<xxx>Top</xxx>
Yes I have seen that but was not absolutly sure of the result on the rest of the code
Thx :now I am fixed :)
Is there a problem if "Top" is tranlated in 2 lines in the "Button" or in the "screen View"?
"Vue de
Dessus" (what is the code for that ? Writing in 2 lines :)

And do you want have the control of the result of the "Design" of a translation, or it's free adaptation for the user?

EDITED: 11 Nov 2006 by PILOU

  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-8  9-28  29-33