No Key Shortcut...
 1-20  21-33

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

Previous
Next
 From:  Michael Gibson
35.29 In reply to 35.28 
> 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 :)

It's kind of good if the text is not too big, longer text will make the button larger which can have some bad side effects like making things not fit on lower resolution screens, making something stick out more than its neighbors, etc... But it will still function though.

To make things take up two lines, you can insert an explicit <br>, for example: Vue de<br>Dessus . That will force a line break at that spot. But this will probably look weird unless all the neighboring buttons do it too.


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

I don't quite understand the question... Eventually I want to have several language choices that are packaged with the regular install so that you can choose whichever one you want to use.

- 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.30 In reply to 35.29 

> I don't quite understand the question
For example if I make a translation in any language, can I put it on the Net for everybody user can use it, or you want keep a look (& Copyright) about "the design" result of the Ui? (Like a 2 lines can make some disgracious results!
Thx for the code (so it's pure Html language :)

Ps What is the version number of the IGES export format used in MoI?

  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.31 In reply to 35.30 
> For example if I make a translation in any language, can
> I put it on the Net for everybody user can use it, or you
> want keep a look (& Copyright) about "the design" result
> of the Ui?

Please feel free to post any modified UI files (anything in the \ui subdirectory) on the Net for other MoI users to use.

That doesn't mean it is not copyrighted though, that's a little different. This stuff is still copyrighted even though it is ok with me if you distribute them to other users.


> (so it's pure Html language :)

Yup, anything you can put in regular HTML (or I guess I should say Internet Explorer HTML) you can put in there. But as you have seen, a lot of the things in there are custom elements unique to MoI such as <moi:CommandButton>, etc...

If you want to see something really funny, go to CommandBar.htm and just below the <body>, put a <marquee> and just above the </body>, put a </marquee> and see what happens. :)

Maybe I should set it up like this by default? ;)

Anyway, as you can see there are a lot of possibilities for changing the UI quite substantially...


> Ps What is the version number of the IGES export format used in MoI?

5.1, I think.

- 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.32 In reply to 35.31 
So with this "marquee"
Moi will can be also a terrific "Shoot Them Up game" !:D:D:D

Thx for the infos
  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:  eph
35.33 
Thanks for the quick reply michael :)
A compilation of above suggestions - this is what I currently use... :

[Shortcut Keys]
Delete = Delete
Space = script:var viewpanel = moi.ui.mainWindow.viewpanel; if ( viewpanel.mode == 'split') viewpanel.mode = '3d'; else viewpanel.mode = 'split';
F1 = script:moi.launchHelp();

A = Polyline
B = Box
C = Circle
D = BooleanDifference
E = Extrude
F = script:moi.ui.mainWindow.viewpanel.mode = 'front';
H = script:moi.geometryDatabase.hide();
I = BooleanIntersection
J = Join
L = Loft
O = Offset
Q = Showpoints
R = script:moi.ui.mainWindow.viewpanel.mode = 'right';
S = Scale
T = script:moi.ui.mainWindow.viewpanel.mode = 'top';
V = PlanarSrf
W = Move
X = Rectangle
Z = script:moi.view.resetAll();

Shift+A = Curve
Shift+B = Box3pts
Shift+C = Chamfer
Shift+D = Delete
Shift+E = Extend
Shift+F = Fillet
Shift+G = script:moi.drawingAids.gridSnap = !moi.drawingAids.gridSnap;
Shift+J = Separate
Shift+M = Mirror
Shift+O = script:moi.drawingAids.objectSnap = !moi.drawingAids.objectSnap;
Shift+Q = AddPoint
Shift+R = Rotate
Shift+S = script:moi.drawingAids.straightSnap = !moi.drawingAids.straightSnap;
Shift+T = Trim
Shift+V = Plane3pts
Shift+W = Copy
Shift+X = Rect3pts

Ctrl+A = script:moi.geometryDatabase.selectAll();
Ctrl+C = CopyClipboard
Ctrl+D = script:moi.geometryDatabase.deselectAll();
Ctrl+E = Export
Ctrl+I = script:moi.geometryDatabase.invertSelection();
Ctrl+N = New
Ctrl+O = Open
Ctrl+S = Save
Ctrl+V = Paste
Ctrl+X = Cut
Ctrl+Y = script:moi.command.redo();
Ctrl+Z = script:moi.command.undo();
  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-33