No Key Shortcut...
 1-3  4-23  24-33

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-3  4-23  24-33