Script request
 1-7  8-27  28-35

Previous
Next
 From:  vector illustrator (QUARITEXA)
9322.28 In reply to 9322.26 
Michael, have I explained in sufficient detail or do I need to add something else? I apologize in advance if I express myself incomprehensibly. English is not my native language.
  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
9322.29 In reply to 9322.28 
Hi Quaritexa, I've been trying what you were describing but I've been getting inconsistent results that have been confusing me. I'm not sure if there is a bug that I haven't been able to track down or something like that.

I don't think that I will be able to experiment with it much more right now, it's very time consuming.

If you want to test just modifying the #2 version to only do the twist on Top or Bottom views, you could try modifying the script by finding the part that has this comment:
// Added below for calculating tilt.

and right below that put in an

if ( name == 'Top' || name == 'Bottom' )
{


>>Put the tilt processing here


}



- 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:  vector illustrator (QUARITEXA)
9322.30 In reply to 9322.29 
I tested it a bit. Seems to work just fine. Exactly what is needed.

Thank you so much 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:  nameless
9322.31 In reply to 9322.30 
Hi Quaritexa,

Did you end up modifying the second script? Can you share the script version that works 100% for you?

I will play with the line Michael pointed at and see what I get just for fun.
  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:  vector illustrator (QUARITEXA)
9322.32 In reply to 9322.31 
yes

  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:  nameless
9322.33 In reply to 9322.32 
Thanks! I tested it and I got an odd single instance of weird rotation, but I couldn't reproduce it and it seems to be working fine in all angles now. super!
  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)
9322.34 
Seems not for me... Must be the big full top face view no ? Not sure...
What is the nearest ?

EDITED: 29 Jun 2020 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
 From:  Frenchy Pilou (PILOU)
9322.35 
Else in case of...you can input any numbers
script: /* Toggle FOV */ var other_angle = 40.0; var v = moi.ui.mainWindow.viewpanel.getViewport('3d'); if ( v.projection == 'Perspective' ) { if ( v.fieldOfViewAngle == other_angle ) { v.fieldOfViewAngle = 27.5; } else { v.fieldOfViewAngle = other_angle; } }

  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-7  8-27  28-35