Share your MoI keyboard shortcuts
 1-15  16-35  36-55  56-72

Previous
Next
 From:  Metin (METIN_SEVEN)
8123.56 
Since upgrading to MoI V4 I've completely rebuilt my shortcuts from scratch. As usual, the shortcuts are a never-ending project, but here's my current collection of commands and scripts that are assigned to various keys.

On a side note: some of the keyboard shortcuts are chosen to match those in ZBrush, and some may match Blender keyboard shortcuts.

[Shortcut Keys]
.=BoundingBoxCenter
/=script: /* Isolate selection */ moi.geometryDatabase.isolate();
0=script: /* Edge loop selection */ moi.geometryDatabase.selectLoop();
1=Scale1D
2=Scale2D
3=script: /* Open Add New Style dialog */ var gd = moi.geometryDatabase; gd.styleEditorOpened(); var dialog = moi.ui.createDialog( 'EditStyleDialog.htm?titleid=Add style dialog title&index=-1', '', moi.ui.mainWindow ); if ( dialog.window.doModal() != -1 ) { var styles = gd.getObjectStyles(); if ( styles.length> 0 ) moi.ui.propertiesPanel.editStyleIndex( styles.length - 1 ); } gd.styleEditorClosed();
4=script: /* Open Edit styles dialog */ var dialog = moi.ui.createDialog( 'EditStylesDialog.htm', 'resizeable,defaultWidth:380,defaultHeight:420', moi.ui.mainWindow ); dialog.window.doModal();
\==Extrude
\\=script: /* Lock selection toggle */ moi.geometryDatabase.lock();
`=ShowPoints
A=Align
Alt+A=ArrayDir
Alt+B=BlendCap
Alt+C=CloseCurve
Alt+D=DelCorners
Alt+E=EllipseDiameter
Alt+F=FatLines
Alt+H=script: /* Select objects to unhide */ moi.geometryDatabase.showSubset();
Alt+M=cMorph
Alt+N=Network
Alt+P=Project
Alt+R=RailRevolve
Alt+S=Shell
Alt+U=UnwrapCurve
Alt+Z=script: /* Toggle visibility of all curves */ var objs = moi.geometryDatabase.getObjects().getCurves(); var ishidden = objs.length> 0 ? objs.item(0).hidden : false; objs.setProperty( 'hidden', !ishidden );
B=Blend
C=Circle
Ctrl+A=script:moi.geometryDatabase.selectAll();
Ctrl+Alt+S=IncrementalSave
Ctrl+C=CopyClipboard
Ctrl+E=Export
Ctrl+F=script: /* Zoom all viewports out a little */ var vnames = [ 'Top', 'Front', 'Right', '3D' ]; for ( var i = 0; i < 4; ++i ) { moi.ui.mainWindow.viewpanel.getViewport(vnames[i]).zoom( 1.1 ); }
Ctrl+I=script: /* Invert selection */ moi.geometryDatabase.invertSelection();
Ctrl+N=New
Ctrl+Numpad/=BooleanMerge
Ctrl+O=Open
Ctrl+P=script: /* Copy PDF format to clipboard */ moi.geometryDatabase.copyToClipboardPDF();
Ctrl+R=Rebuild
Ctrl+S=Save
Ctrl+Shift+Alt+S=script: /* Shrink selection 1.0 */ function es(edg){ var i,f; for (i=0; i<edg.length; i++) {f=edg.item(i).getFacesOfEdge(); f.setProperty('selected',0);}} var gd = moi.geometryDatabase; gd.invertSelection(); var so = gd.getSelectedObjects(), sf=so.getFaces(), i; gd.invertSelection(); for ( i=0; i<sf.length;i++) es(sf.item(i).getEdges());
Ctrl+Shift+C=CopyClipboardWithOrigin
Ctrl+Shift+D=Copy
Ctrl+Shift+O=script: /* Open most recent file */ var Files = moi.ui.getRecentFiles(); if ( Files.length> 0 ) { var LastFile = Files.item(Files.length-1); var FileName = LastFile.item(2); var Options = LastFile.item(3); moi.command.execCommand( 'open ' + FileName + Options ); }
Ctrl+Shift+S=SaveAs
Ctrl+Shift+V=PastePart
Ctrl+Shift+Z=script:moi.command.redo();
Ctrl+Space=script: /* Toggle quad view */ if ( moi.ui.mainWindow.viewpanel.mode != 'split' ) { moi.ui.mainWindow.viewpanel.mode = 'split' } else { var viewport = moi.ui.getViewportUnderMouse(); if ( viewport ) { viewport.viewPanel.mode = viewport.name } }
Ctrl+V=Paste
Ctrl+X=Cut
Ctrl+Y=script:moi.command.redo();
Ctrl+Z=script:moi.command.undo();
D=Fillet
Delete=Delete
DownArrow=Nudge Down
E=Scale boundingboxcenter
F=script: /* Show all in viewports */ moi.view.resetAll();
F1=script:moi.launchHelp();
F2=/* Edit object name */ var pp = moi.ui.propertiesPanel; if (pp.show && pp.numSelectedObjects > 0) { pp.editName(); }
H=script: /* Hide selection */ moi.geometryDatabase.hide();
I=script: /* Toggle background image on or off */ var images = moi.view.getBackgroundImages(); for ( var i = 0; i < images.length; ++i ) images.item(i).hidden = !images.item(i).hidden;
J=Join
L=Loft
LeftArrow=Nudge Left
M=Merge
N=script: /* Select naked edges (open borders) */ var gd = moi.geometryDatabase; gd.deselectAll(); var breps = gd.getObjects().getBreps(); for ( var i = 0; i < breps.length; ++i ) breps.item(i).getNakedEdges().setProperty( 'selected', true );
Numpad*=BooleanIntersection
Numpad+=BooleanUnion
Numpad-=BooleanDifference
Numpad/=BooleanMerge
O=Offset
P=PlanarSrf
PageDown=Nudge ZDown
PageUp=Nudge ZUp
R=Rotate
RightArrow=Nudge Right
S=Sweep
Shift+\\=script: /* Toggle between Parallel and Perspective view */ var vp = moi.ui.mainWindow.viewpanel.getViewport('3D'); vp.projection = (vp.projection == 'Perspective' ? 'Parallel': 'Perspective');
Shift+`=AddPoint
Shift+A=Curve
Shift+Alt+A=ArrayCurve
Shift+C=ArcContinue
Shift+DownArrow=Nudge Down Small
Shift+E=ScaleIndividual
Shift+F=script: /* Toggle edge display */ var breps = moi.geometryDatabase.getObjects().getBReps(); var hide = true; for ( var i = 0; i < breps.length; ++i ) { var edges = breps.item(i).getEdges(); if ( i == 0 ) hide = !edges.item(0).hidden; edges.setProperty( 'hidden', hide ); }
Shift+I=Image
Shift+L=moi.geometryDatabase.selectLastCreated();
Shift+LeftArrow=Nudge Left Small
Shift+N=NSided
Shift+O=Orient
Shift+PageDown=Nudge ZDown Small
Shift+PageUp=Nudge ZUp Small
Shift+R=Revolve
Shift+RightArrow=Nudge Right Small
Shift+S=Pipe2Thickness
Shift+UpArrow=Nudge Up Small
Shift+W=ExplodeMove
Shift+X=Mirror
Space=script: /* Toggle between opposite views under pointer */ moi.ui.mainWindow.viewpanel.reverseView( moi.ui.getActiveViewport().name );
T=Trim
UpArrow=Nudge Up
W=Move
X=Delete
Z=script: /* Toggle snaps on or off */ moi.drawingAids.gridSnap = !moi.drawingAids.gridSnap; moi.drawingAids.objectSnap = moi.drawingAids.gridSnap; moi.drawingAids.straightSnap = moi.drawingAids.gridSnap;

─ Metin

visualizer • illustrator • 3D designer — metinseven.nl
  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:  MPSchmied
8123.57 
Need a Keyboard Shortcut for the command "Area" to change the view rotate midpoint. This is the most important view function for me, it should works just with Ctrl+Shift.
  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
8123.58 In reply to 8123.57 
Hi MPSchmied, you can set up a keyboard shortcut for Zoom Area by using this for the command part of the shortcut key:

script: var v = moi.ui.getActiveViewport(); if ( v ) v.interactiveViewChange('zoomarea');

That will trigger the area zoom on the viewport that the mouse is over.

But you can't set a shortcut just for ctrl+shift on their own, those are meant to be used as modifier keys that can be used in addition to another key.

- 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:  mk (MARKY)
8123.59 In reply to 8123.58 
This is great!

Even better than Ctrl+Shift and mouse area in Rhino, because here the zoom area can be precisely selected.

EDITED: 28 Nov 2022 by MARKY

  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:  Elang
8123.60 
Hello.

Can we assign shortcut keys for ortho view that is work vice versa?

So if I press Ctrl+Numpad1, It will go to FULL FRONT VIEW (assume that I'm not in the Front View beforehand).
If it is already in Full Front View, then it will go to FULL BACK VIEW (the exact opposite of Front View) when I press the same shortcut.
Next, if I press the same shortcut key again, it will go to FRONT VIEW again. And so on.

This will also Works for RIGHT-LEFT and TOP-BOTTOM, with different shortcut key for each.

Hope I make myself clear in this, and please pardon my English.

Thank you very much in advance for any 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:  Michael Gibson
8123.61 In reply to 8123.60 
Hi Elang, there are some view setting shortcut key scripts listed here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3808.2

Are any of those close to what 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:  Elang
8123.62 In reply to 8123.61 
Hi Michael

I tried the script from your link. I expect that if i tap the hotkey, the view will be change to the opposite direction from the current one.
So if it is in Front View, then tapping the same key will bring it to the Back View. Tapping it again will bring me to the Front View. And so on.

The script is not doing that for now.

Thank you.
  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
8123.63 In reply to 8123.62 
Hi Elang, try these ones:

Set Top/Bottom view:

script: /* Set Top/Bottom view */ var vname = 'Top'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode.toLowerCase() != vname.toLowerCase() ) { vp.mode = vname; } else { vp.mode = vname; vp.reverseView( vname ); }

Set Front/Back view:

script: /* Set Front/Back view */ var vname = 'Front'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode.toLowerCase() != vname.toLowerCase() ) { vp.mode = vname; } else { vp.mode = vname; vp.reverseView( vname ); }

Set Right/Left view:

script: /* Set Right/Left view */ var vname = 'Right'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode.toLowerCase() != vname.toLowerCase() ) { vp.mode = vname; } else { vp.mode = vname; vp.reverseView( vname ); }


- 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:  Elang
8123.64 In reply to 8123.63 
It works, Michael.

Thank you very much!
  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:  none (EVALON)
8123.65 
Hi All,

I have a quick question that I hope one of you can help with:

Using much of the fine information in this thread I have sorted out most of my shortcut key wishes, however, I can't seem to find out what the shortcut key is for editing the "size" (x,y,z size dialog box) of a selected object. I probably have missed it but would one of you know what it is?

Best regards & wishing you a pleasant day!

Jesper
  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)
8123.66 In reply to 8123.65 
Scale, Scale1D, Scale2D ;)

http://moi3d.com/4.0/docs/moi_command_reference11.htm#shortcutkeys

But for that you want exactly no need shortcut it's direct! :)

EDITED: 14 Apr 2023 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:  none (EVALON)
8123.67 In reply to 8123.66 
Hi Pilou,

& thanks for your feedback ;-) ... However, I am not sure we are thinking about the same - at least when I insert e.g. Shift+Q=Scale(1D, or 2D) into the Shortcut keys list something else than what I was intending seems to happen ..

Just to clarify: In the "properties panel" description in this link: http://moi3d.com/4.0/docs/moi_command_reference11.htm#shortcutkeys (approximately half way down the page) I would like #4, i.e. the "Edit Size" dialog to open up so that the "cursor" is immediately placed e.g. in the x-axis size dialog box. I hope this make sense ... ? BTW I use the MOI3D V3 version - maybe that makes a difference?

Cheers,

Jesper
  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
8123.68 In reply to 8123.67 
Hi Jesper, see here for a script that you can put on a shortcut key for opening up the edit size menu:
http://moi3d.com/forum/index.php?webtag=MOI&msg=10769.2

- 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:  none (EVALON)
8123.69 In reply to 8123.68 
Hi Michael,

& thanks for your prompt & helpful reply ;-)

However, when I try your script I get an error message saying that " Typeerror: Result of expression 'moi.ui.findElement' [undefined] is not a function. " ... I have attached a screendump of what the moi.ini looks like an the error message. Maybe I need to change something somewhere to make it work ... ?

Cheers, Jesper
Image Attachments:
Size: 358.7 KB, Downloaded: 32 times, Dimensions: 2560x1440px
  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
8123.70 In reply to 8123.69 
Hi Jesper,

re:
> However, when I try your script I get an error message saying that " Typeerror: Result
> of expression 'moi.ui.findElement' [undefined] is not a function. "

The script uses some infrastructure that was added in MoI version 4, but you're using MoI version 3, so that's the problem.

Try this instead, it should work ok in v3:

script: /* Show edit size menu */ moi.ui.showMenu( 'EditSizeMenu.htm', moi.ui.sidePane.PropSizeContainer, 0, 0 );

- 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:  none (EVALON)
8123.71 
Hi Michael,

Thanks again for helping out with this - I have copied the script to my .ini list and it works fine! ... Much appreciated ;-)

Jesper
  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:  pafurijaz
8123.72 
This topic saved my life..
Now I works too fast, thanks to all!
  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-15  16-35  36-55  56-72