Re: [Maya-Python] Re: Animated Gif Widget triggered during mouse Hover Over

2015-09-09 Thread Antonio Govela
The MouseMove event seems to trigger the movie.start only once. so even if the event keeps triggering with a slight mouse move (which it does) the gif plays through and loops, which is the functionality I was looking for. I'm looking into your suggestion about reimplementing event() on the cla

Re: [Maya-Python] Re: Animated Gif Widget triggered during mouse Hover Over

2015-09-09 Thread Justin Israel
Thanks for doing the pastebin. Much better. Wouldn't the event trigger at each pixel move, and call start? Also, you don't need to install an event filter if you are installing it on itself. It would be the same as just reimplementing event() on that class. On Thu, Sep 10, 2015 at 10:28 AM Kuri

Re: [Maya-Python] Re: Animated Gif Widget triggered during mouse Hover Over

2015-09-09 Thread Kurian O.S
http://pyqt.sourceforge.net/Docs/PyQt4/qmovie.html#started did you check the default signals from QMovie ? On Wed, Sep 9, 2015 at 3:17 PM, Antonio Govela wrote: > Sorry.. it was late and was getting kinda lost. So I managed to clean the >>> code and actually trigger an animated gif widget using

Re: [Maya-Python] Re: Animated Gif Widget triggered during mouse Hover Over

2015-09-09 Thread Antonio Govela
> > Sorry.. it was late and was getting kinda lost. So I managed to clean the >> code and actually trigger an animated gif widget using events. > widgets can be added with classes and respond independently to the 'hover >> over and leave' mouse tracking. > > Here's the code: http://pastebin.co

Re: [Maya-Python] Re: Animated Gif Widget triggered during mouse Hover Over

2015-09-09 Thread Justin Israel
Can you please just use a pastebin? This code is hard to read. I'm also having trouble following some of the usages in here... such as the persistent model index, and calling to the QTableWidget eventFilter, randomly. On Wed, Sep 9, 2015 at 5:30 PM Antonio Govela wrote: > I cleaned up the code

Re: [Maya-Python] How is maya camera film offset translated into nuke camera equivalent?

2015-09-09 Thread vladislav . akhtyrskiy
Hi guys, sorry to bring this topic back. How to export window translate from Nuke to Maya? Thanks a lot. On Wednesday, 20 July 2011 04:13:20 UTC-4, dekekincaid.at.gmail dot com wrote: > BTW, nuke can read film offsets with fbx 2010 files.  If you want to write > your converter though, Nuke

Re: [Maya-Python] How is maya camera film offset translated into nuke camera equivalent?

2015-09-09 Thread Vladislav Akhtyrskiy
Actually already did it) On Sep 9, 2015 3:35 PM, wrote: > Hi guys, sorry to bring this topic back. > > How to export > window translate from Nuke to Maya? > > Thanks a lot. > > On Wednesday, 20 July 2011 04:13:20 UTC-4, dekekincaid.at.gmail dot com > wrote: > > BTW, nuke can read film offsets wit

Re: [Maya-Python] Procedural modeling - one click greeble/panel maker tool

2015-09-09 Thread Justin Israel
Nice stuff. Thanks for sharing, and welcome to the group! On Thu, 10 Sep 2015 5:28 AM Carlos Rico wrote: > Nice! wouldn't mind to have a look at 'em, :) Cheers > > > *Carlos Rico Adega*- > LinkedIn >

Re: [Maya-Python] Procedural modeling - one click greeble/panel maker tool

2015-09-09 Thread Carlos Rico
Nice! wouldn't mind to have a look at 'em, :) Cheers *Carlos Rico Adega*- LinkedIn carlos.rico...@gmail.com 2015-09-09 18:51 GMT+02:00 Dante Rinaldi : > Hello everyone! > I jus

[Maya-Python] Procedural modeling - one click greeble/panel maker tool

2015-09-09 Thread Dante Rinaldi
Hello everyone! I just found this group and I'm looking forward to reading all your posts! I just started coding in Python for Maya - I have a couple of tools made and would love to share them if anyone thinks they're interesting! PanelMaker: https://vimeo.com/138657599 https://danterinaldidesig

[Maya-Python] Re: Layer Editor With PyQT

2015-09-09 Thread Kurian O.S
I think i will give up on this :) On Tuesday, September 8, 2015, Jefri Yeh wrote: > Yeah too bad that after moving it to our custom UI the layer editor > doesn't even work anymore. Seems that it's not designed to work that way. > The worst case is you need to look at layerEditor.mel and replicat

[Maya-Python] Re: MFnNurbsSurface Crash

2015-09-09 Thread Rémi Deletrain
This is actually due to the tolerance ... Thank you very much again !!! Le mercredi 9 septembre 2015 10:24:37 UTC+2, Rémi Deletrain a écrit : > > Hello everyone, > > I am trying to retrieve a position of a uv nurbssurface from a point in > space. > For this I use the Maya API. > > I tried with a

Re: [Maya-Python] Re: MFnNurbsSurface Crash

2015-09-09 Thread Jefri Yeh
I think that's because you are giving the MPoint position outside the nurbs surface range. Try pick a point on the surface and run it again. I've quickly tested it and that seems to be the reason of # RuntimeError (kInvalidParameter): value not in valid range # error. On Wed, Sep 9, 2015 at 9:13

[Maya-Python] Re: MFnNurbsSurface Crash

2015-09-09 Thread Rémi Deletrain
Actually I do not have the crash problem. Many thank you r4inm4ker! But now I have an error : # RuntimeError (kInvalidParameter): value not valid in ranks # while I give (MPoint, double, double, bool). Well I guess the problem is MPoint, but I do not understand why. He requested a position and I

Re: [Maya-Python] MFnNurbsSurface Crash

2015-09-09 Thread Jefri Yeh
you need to separate the MScriptUtil instancing to preserve the pointer. uutil = MScriptUtil() u = uutil.asDoublePtr() vutil = MScriptUtil() v = vutil.asDoublePtr() On Wed, Sep 9, 2015 at 4:24 PM, Rémi Deletrain wrote: > Hello everyone, > > I am trying to retrieve a position of a uv nurbssu

[Maya-Python] MFnNurbsSurface Crash

2015-09-09 Thread Rémi Deletrain
Hello everyone, I am trying to retrieve a position of a uv nurbssurface from a point in space. For this I use the Maya API. I tried with a mesh and it works very well. The problem I have with the nurbssurface is that when I run my script Maya plant ... Is someone already had this problem? That