http://kyticka.webzdarma.cz/3d/moi/#SetView
All  1-3  4-6

Previous
Next
 From:  shayno
7898.4 
Hi Michael

Can this be added to the scripts above to reset the view first

script:moi.view.resetAll();

thanks
shayne
  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
7898.5 In reply to 7898.4 
Hi shayne,

re:
> Can this be added to the scripts above to reset the view first

Yes, you can add that if you want. Just insert moi.view.resetAll(); into any of the previous scripts, like so:

script: moi.view.resetAll(); var v = moi.ui.mainWindow.viewpanel.getViewport('3D'); v.upDownAngle = 0; v.leftRightAngle = 0; v.tiltAngle = 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
 From:  GonzoRus
7898.6 In reply to 7898.5 
Unfortunately when viewed from above "Alt + W" not visible EditFrame. ( v.upDownAngle = 0 )


But when set the minimum angle of 0.1 it works ( v.upDownAngle = 0.1 )


Alt + W = script: var v = moi.ui.mainWindow.viewpanel.getViewport('3D'); v.upDownAngle = 0.1; v.leftRightAngle = 0; v.tiltAngle = 0;



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
 

Reply to All Reply to All

 

 
 
Show messages: All  1-3  4-6