Re: [Maya-Python] PLUG: Python for Maya: Udemy course

2016-12-15 Thread dgovil
Hey specifically the Controller Library and Light Manager projects deal with Qt, and go over using Qt.py to work with Maya 2017 as well. The Light Manager project also has an example of how to adapt from the dockControl in maya 2016 and below to using the workspace control in maya 2017. -- You

Re: [Maya-Python] PLUG: Python for Maya: Udemy course

2016-11-24 Thread dgovil
Oh yeah tons of great courses on sale. @Marcus thanks! and the Roli Rise is really cool. I went with one of our TDs when he bought one...really crazy. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe fr

Re: [Maya-Python] PLUG: Python for Maya: Udemy course

2016-11-18 Thread dgovil
Thanks Ken! And yes, a hobbyist musician. I really need to get back into recording my stuff. Do you have any stuff online? I wish I had Omnisphereit sounds gorgeous. Mostly just using BitWig/Reaper and Komplete here, hardware wise it's an Arturia Keylab with a Scarlett 18i20 underneath it.

Re: [Maya-Python] PLUG: Python for Maya: Udemy course

2016-11-18 Thread dgovil
Awesome, thanks Justin. -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this dis

[Maya-Python] PLUG: Python for Maya: Udemy course

2016-11-18 Thread dgovil
ssions Anyway the idea is that it takes you from the very basics of Python all the way to what a Pipeline TD would be expected to know, and show that it’s useful for artists to learn Python as well. All source code is also available here: http://www.github.com/dgovil/PythonForMayaSamples a

[Maya-Python] Drawing custom ticks in the time line

2015-08-04 Thread dgovil
Was just wondering if anyone had any luck drawing custom elements into the time slider without implementing a new slider. Something like how grease pencil can draw into it. I was thinking it might be possible if there was somekind of paint signal I could hook into and draw accordingly, but I ca

[Maya-Python] [MAYA API] Create object through a custom node.

2014-02-16 Thread dgovil
You can create this with a polygon shape node. There are a couple examples i believe in c++ in the dev examples that will show how to make the geometry. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from

[Maya-Python] Re: How to create a custom container to encrypt nodes for commercial confidentiality?

2014-01-21 Thread dgovil
Sounds like alembic cache being read in via the alembic plugin? Not saying that it's that, but you could maybe look at the alembic open source code and see what they do there. On Tuesday, 21 January 2014 12:36:07 UTC, Webber Huang wrote: > > > Hey guys,i has been participated in some internetion

Re: [Maya-Python] path.py: isdir() not working with python27

2014-01-09 Thread dgovil
In Linux, it's working in Python 2.7.3 and 2.6.4 for me, but I can't say I'm a fan of that style of implied argument passing. The only issue I can think of is that I had weird bugs sometimes with using backslashes on Windows. Python supports forwards slashes on windows, so maybe try that? Other

[Maya-Python] Re: PyQt - interface similar to Tactic/Shotgun possible?

2013-12-16 Thread dgovil
Definitely possible in PyQt. I've built smaller but similar UIs. If it's for a similar purpose as Shotgun though, I'd stick to a web interface since it's something you'd want accesable to people on the go too. As for gantt charts, quick google search found a result by Justin from a year ago sugg

[Maya-Python] Re: Loading Model into a QHBoxLayout

2013-10-16 Thread dgovil
Here you go. Had to make some changes to your code to make it work. You had set your central layout to the treeview layout. You actually need to set it to the layout that contains everything you need. -- You received this message because you are subscribed to the Google Groups "Python Programm

[Maya-Python] Re: Loading Model into a QHBoxLayout

2013-10-15 Thread dgovil
> > Sorry, correction, my code should be: > self.layout.addWidget(button_widget) Similarly, you can do the same for the treeview_layout. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this grou

[Maya-Python] Re: Loading Model into a QHBoxLayout

2013-10-15 Thread dgovil
hey Bay, Can you post a picture of what your ui looks like right now or share the testtree file too? It’s hard to run the code without it. Anyway, the easiest thing I can see is that you probably need a widget to apply your button_layout for. # Line 64 button_widget = QtGui.QWidget() button_l

[Maya-Python] Re: Store created elements created from function/button

2013-10-15 Thread dgovil
If you're using a class, you can have a instance level dict ie self.foo = {} and then whatever method your button calls can update that dictionary which can be used by any other method of the class. On Tuesday, 15 October 2013 08:12:37 UTC-7, Simen Chris wrote: > > Hey guys, I'm creating a riggin

[Maya-Python] Get List of NonOccluded/PartiallyOccluded objects in current viewport

2013-10-15 Thread dgovil
Hi guys, I was hoping someone could point me in the right direction for this. I’m trying to get a list of objects that are visible from the camera, so this includes objects that are within the viewport/cameraFrustrum that are either completely or partially visible. ie I want to remove objects

Re: [Maya-Python] Check if object affects other object

2013-06-29 Thread dgovil
hmm not sure if I want to step through time necessarily, but might be necessary I guess. I'm gonna try and see if there's another way around it for what I'm trying to achieve. (A custom rotate tool..). Will post back here if I find anything :-) -- You received this message because you are sub

Re: [Maya-Python] Check if object affects other object

2013-06-26 Thread dgovil
or others, > depending on the "affects world space" property of attributes... > > > > > On Tue, Jun 25, 2013 at 2:09 PM, dgovil wrote: > > Hi guys, > > I'm wondering if someone knows of a way to do the following: > > > > Given a

[Maya-Python] Check if object affects other object

2013-06-25 Thread dgovil
Hi guys, I'm wondering if someone knows of a way to do the following: Given a selection of objects, check for each object if its' xform is affected by any of the other objects in the selection. Preferably without tracing the full path, connections and/or expressions that might be involved. Usin

[Maya-Python] Re: PyQt Maya memory issues

2013-05-12 Thread dgovil
One, once you scale the images are you writing them back down to a cache somewhere? I assume these images don't change often once they're created, so you could cache the thumbnails somewhere to speed up time and performance. As for the memory issue, are you using the same instance of your UI cla

[Maya-Python] Re: SublimeJEDI: Easier than SublimeCodeIntel

2013-04-25 Thread dgovil
Someone shared this gem with us at work today, and it's been really awesome. Slight lag as it indexes the package, but then it's pretty reliable -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this gr

[Maya-Python] Re: Qt's Widget

2013-01-20 Thread dgovil
Think of it this way, is the time you save using C++'s performance greater than the time you would spend writing, optimizing , compiling and maintaining the same C++ code. The advantage to Python is that it's very easy to read, maintain, distribute, compile and share. It's performance is good

Re: [Maya-Python] PyQt Color'd tabs

2012-09-12 Thread dgovil
Yup, I'm using a modified version of the stylesheet here: http://tech-artists.org/forum/showthread.php?2359-Release-Qt-dark-orange-stylesheet @justin, 3 is better than none :-D I'll try those out tomorrow and see how that works out. Thanks On Monday, 10 September 2012 23:37:43 UTC-7, Eric Thivi

[Maya-Python] PyQt Color'd tabs

2012-09-10 Thread dgovil
I've been trying to find an elegant way to color just the tab of a PyQt window, that is have each tab be a different color without affecting the tab contents. I've been advised to override the tab widgets paint method, but I'm sure there must be a more elegant way to do this? Any ideas? Much a

[Maya-Python] Re: ls -type shadingEngine equivalent in api

2012-05-26 Thread dgovil
Plus it's good to have the answer up for anyone else looking. -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

[Maya-Python] Re: Maya 2012 loses some hotkeys?

2012-05-22 Thread dgovil
Happens here too with Maya 2012 with the latest public hotfix/service pack It's very rare and I can't reproduce it manually, but it requires me to find a way to force the viewport to regain focus. Often that's a new session of Maya. On May 20, 1:55 pm, anim8err wrote: > I been seeing a problem us

[Maya-Python] Re: pyMel UI crashes 2013

2012-05-05 Thread dgovil
un them normally, the UI works: > > http://pastebin.com/02SVxcn2 > > May be a pymel bug with context managers. > > On May 5, 2012, at 4:14 PM, dgovil wrote: > > > > > > > > > Specifically I think I've traced it down to the use of pm.menu() as

[Maya-Python] Re: pyMel UI crashes 2013

2012-05-05 Thread dgovil
Specifically I think I've traced it down to the use of pm.menu() as the issue, but a few other things are throwing up issues. But building a new UI from scratch, the second I use pm.menu, it crashes the UI. -- view archives: http://groups.google.com/group/python_inside_maya change your subscript

[Maya-Python] pyMel UI crashes 2013

2012-05-05 Thread dgovil
So I made a little keyframe manager script for Maya (http:// dl.dropbox.com/u/1384719/dagKeyManager.zip) Users on 2011 and 2012 have been fine, and I've been using it daily in my own work. But users on 2013 have the whole Maya UI lockup. I can reproduce this on my system, on both OSX and Windows.

[Maya-Python] Re: PyQt and Maya's scriptedPanels

2012-04-18 Thread dgovil
Wow, thanks for all the info and code examples guys. I'm going to try and cobble things together as soon as work lets up, but all the stuff here should make for pretty smooth sailing. Cheers -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings:

[Maya-Python] Re: PyQt and Maya's scriptedPanels

2012-04-12 Thread dgovil
indow = MayaSubWindow() > myWindow.show() > > Use this if the code is garbled in this mail:http://pastebin.com/HhPcd23h > > > > > > > > On Thu, Apr 5, 2012 at 2:32 AM, dgovil wrote: > > Hey guys, > > I want to create a few PyQt UI's to keep all my anim

[Maya-Python] PyQt and Maya's scriptedPanels

2012-04-10 Thread dgovil
Hey guys, I want to create a few PyQt UI's to keep all my animation tools in a particular area and cut down on clutter. I know this must be possible because I've seen a few GUI's pull it off like this: http://www.martintomoya.com/Site/tools_info.html Specifically I would like to embed the channel