Rotate 90 Script/Hotkey
All  1  2-11

Previous
Next
 From:  Michael Gibson
8224.2 In reply to 8224.1 
Hi Stein, please try the attached script. Instructions for installing a plug-in command here. This particular one only has a .js file and no .htm since it does not show any UI.

Once you have installed it into MoI's commands folder, a new command named QuickRotate will then be available. You can then set up a shortcut key for it and inside the shortcut key also put any of x y z to control the axis used by that shortcut key, and an angle value. So for example to set up a shortcut key to rotate around the y axis by 45 degrees put this in the shortcut key:
QuickRotate y 45

Hope this helps!

- Michael
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:  Stien (UNCLESTAN)
8224.3 In reply to 8224.2 
Hey Michael. This is exactly what i was looking for... and what a nice little piece of code!

Thanks a ton.
  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:  MajorGrubert (CARLOSFERREIRAPINTO)
8224.4 
Hello Michael,

I'm curious if V3 scripts will work on V4?

Thanks,

Carlos
  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
8224.5 In reply to 8224.4 
Hi Carlos, yes in general they should. I think it's possible that a few may need minor edits due to a couple of bug fixes here and there.

- 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:  MajorGrubert (CARLOSFERREIRAPINTO)
8224.6 
Cool! : ) Thanks
  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:  moritzbock (MORITZ)
8224.7 In reply to 8224.5 
Hi Michael,
it donĀ“t works with my MOI V3.1 ... 8-(

Happy Xmas
moritzbock
Image Attachments:
Size: 19.7 KB, Downloaded: 3 times, Dimensions: 217x193px
  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
8224.8 In reply to 8224.7 
Hi Moritz, you would get that error if the QuickRotate.js file was not copied over into your commands folder, there are some instructions on where to copy it here: http://moi3d.com/faq#Q:_How_do_I_install_a_plug-in_script.3F

The error happens because no command named QuickRotate was found in the commands folder, and so instead MoI tried running the contents of the shortcut key as script code itself rather than loading it from the QuickRotate.js file.

- 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:  moritzbock (MORITZ)
8224.9 In reply to 8224.8 
Hi Michael,

the QuickRotate.js file is in the right place - like the other ...

moritzbock
Image Attachments:
Size: 381.7 KB, Downloaded: 39 times, Dimensions: 1029x1137px
  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:  moritzbock (MORITZ)
8224.10 In reply to 8224.9 
Hi Michael
I'm embarrassed. I put the QuickRotate.js into the wrong MOI folder (V3 instead of V3.1 !!!)

Always the same mistake - shame on me 8:(

moritzbock
  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
8224.11 In reply to 8224.10 
No problem Mortiz, I'm glad you got it sorted out!

- 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  2-11