Re: [Maya-Python] Re: Maya, Euler Rotation and Gimbal lock

2018-05-29 Thread AK Eric
If you're applying the same worldpsace matrix to two nodes, but they give different rot values yet have the same heading, I would infer that each of the nodes *parent's *have different orientations, and you're seeing that expressed as different rot values on the two nodes. -- You received

Re: [Maya-Python] open maya scene with "load no references"

2018-05-29 Thread gnn
Hello Justin, sceneNameToOpen is a variable like this: root = '{0}{1}\\shots\\sh{2}\\lit\\work\\maya\\' .format(SBpath,SceneEpisodeField,ScenePlanField).replace('/','\\') ...after founded the last maya scene by date, the path of the scene to open give me that:

Re: [Maya-Python] Getting value dynamically from QLineEdit

2018-05-29 Thread Justin Israel
On Wed, May 30, 2018, 7:39 AM Nazmi Yazıcı wrote: > I added the functions to the class and i can call them as i wanted to > right now as you've suggested. I guess i should've done that at first but > i'm fairly new to this. I also started watching your awesome tutorials, so > thank you twice!:D

Re: [Maya-Python] Getting value dynamically from QLineEdit

2018-05-29 Thread Nazmi Yazıcı
I added the functions to the class and i can call them as i wanted to right now as you've suggested. I guess i should've done that at first but i'm fairly new to this. I also started watching your awesome tutorials, so thank you twice!:D 28 Mayıs 2018 Pazartesi 22:40:44 UTC+3 tarihinde Justin

Re: [Maya-Python] open maya scene with "load no references"

2018-05-29 Thread Justin Israel
Whay is the value of sceneNameToOpen? Have you tried it with forward slashes? On Wed, May 30, 2018, 7:07 AM gnn wrote: > Hello all, > i don't know why maya open a scene in python with this part of a script: > > # open maya scene: > cmds.file( sceneNameToOpen, open=True, force=True, prompt=False

Re: [Maya-Python] Re: Maya, Euler Rotation and Gimbal lock

2018-05-29 Thread Tuan Nguyen
Hi Eric Like you said, i used matrix to calculate data and apply rotation value back to controller. I understand that both values are legit, but is there anything i can do to control the result? How can i know which value i will get after extract data from matrix? or can i convert them vice-versa?

[Maya-Python] open maya scene with "load no references"

2018-05-29 Thread gnn
Hello all, i don't know why maya open a scene in python with this part of a script: # open maya scene: cmds.file( sceneNameToOpen, open=True, force=True, prompt=False ) # result:"D:\scenePath\SceneName.ma" and didn't open it when i test without references and selective preload (it seems to

[Maya-Python] Re: Maya, Euler Rotation and Gimbal lock

2018-05-29 Thread AK Eric
I wouldn't say gimbal *lock *more as a function of how Euler rotations work within the gimbal system that constrains them: You can have the exact same "heading" of the local axis between to objects, but they got there by rotating in completely opposite directions. For example, one rotated

Re: [Maya-Python] Physically-based animation, product name advice

2018-05-29 Thread Carlos Rico
I like mass though for non-english speakers like me it reminds me of Mass. It suggest me other physical qualities as well, like friction, inertia, resilience, etc. which I think are related to the animation thingy :). That's my bit. Cheers *Carlos Rico Adega*-

[Maya-Python] Physically-based animation, product name advice

2018-05-29 Thread Marcus Ottosson
Hi all, I'm looking for a suitable name for an upcoming (secret) product, and was hoping I could ask for your opinion. I can't say much, except that it's a physically-based character animation tool for Maya. It does for animators what physically-based renderers like Arnold does for lighting

Re: [Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Marcus Ottosson
Have you tried on a different computer? Or with Maya 2015-2017? On a different OS? On 29 May 2018 at 12:49, Rémi Deletrain wrote: > Thank you for your reply Justin, > > Yes it's same version of RV (3.12.19-32). I try on Maya 2014 and Maya 2018. > I try with: > -

[Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Rémi Deletrain
Thank you for your reply Justin, Yes it's same version of RV (3.12.19-32). I try on Maya 2014 and Maya 2018. I try with: - socketInstance.connect(("localhost", 45000)) - socketInstance.connect((socket.gethostbyname("localhost"), 45000)) I'm sure RV listen a public host name because my

Re: [Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Justin Israel
Yes connecting to another process on your localhost shouldn't be a matter of firewalls. So it's the same version of RV with different Maya versions? Have you tried connecting directly to 'localhost' instead of resolving your localhost public host name? There could be a difference in the resulting

[Maya-Python] Maya, Euler Rotation and Gimbal lock

2018-05-29 Thread illunara
Hi everybody I have a question about euler rotation, you will find below the link to an picture https://ibb.co/gUTd0y These 2 objects have same local space, rotate-order, position, identical rotation but difference rotate-value, is this a gimbal-lock issues? how can i retrieve the "similify

[Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Rémi Deletrain
The connection with google works. My IT guys say me firewall doesn't lock a localhost. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Marcus Ottosson
Je ne sais quoi! On 29 May 2018 at 08:59, Rémi Deletrain wrote: > A priori aucun problème du coté du pare-feu. Je vais essa > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and

Re: [Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Rémi Deletrain
Oups wrong manipulation. No problem of the firewall detected with IT. I try to communicate with google -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it,

[Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Rémi Deletrain
A priori aucun problème du coté du pare-feu. Je vais essa -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Rémi Deletrain
Hi Marcus, I used this variable: s_host = socket.gethostbyname("localhost") i_port = 45000 # RV default port Hmmm, I do not know if my firewall is the problem. I ask my IT guy now ! -- You received this message because you are subscribed to the Google Groups "Python Programming for

Re: [Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Marcus Ottosson
Ah, didn't read carefully enough, saw you mentioned it works under Maya 2014. In that case, it sounds like either a firewall is blocking your Maya 2018, or a firewall is blocking everything and *allowing* your Maya 2014. What platform are you on? Are the Maya's running on the same machine? Have

Re: [Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Marcus Ottosson
What is s_host and i_port? If the IP exists but port is inaccessible, you’ll get an error like that. >>> import socket>>> sock = socket.socket(socket.AF_INET, >>> socket.SOCK_STREAM)>>> sock.connect(("localhost", 1)) # 1 is not available Traceback (most recent call last): File "", line 1, in

[Maya-Python] Re: [Socket] error 10061

2018-05-29 Thread Rémi Deletrain
Hi Justin, No it's the opposite that I'm trying to do, connected Maya to RV. RV has a valid settings for accept connection from Maya2014, so I think is a same settings for Maya2018. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk