Yeah, good point. Didn't catch that those system / pipeline cmds were
themselves also python.
On Tuesday, September 1, 2015, Marcus Ottosson
wrote:
> Subprocess is really only good for external processes, and less so for
> Python functions.
>
> Threading to the rescue!
>
> import timeimport thr
I've used subprocess for this.
import subprocess
myCmd = "ping -n 5 8.8.8.8"
# Wait
subprocess.Popen( myCmd, shell=False, bufsize=4096 ).wait()
# No wait
subprocess.Popen( myCmd, shell=False, bufsize=4096 )
On Tuesday, September 1, 2015, Todd Widup wrote:
> I have several functions that run
PS, is the IRC freenode.net channel a chat service-- does it have an
archive of discussions there like the one for the "Python Inside Maya" (or
really Maya API in Python and C++) group?
On Wed, Oct 8, 2014 at 9:37 AM, Emre Yilmaz wrote:
> Re: <>
>
> I'm pretty
Re: <>
I'm pretty sure that it *IS* possible to rename a Google Group and change
its description. I'm judging from a quick search and landing on pages like
this one:
https://support.google.com/a/answer/167102?hl=en
https://sites.google.com/site/tomihasa/google-groups-faq#renamegroup
It looks lik
Much better, unless I am misunderstanding your need:
import pymel.core as pm
# Create locator
locPN = pm.spaceLocator(n="myLocator")
# Get its shape node
locShapePN = locPN.getShape()
# Print out name of shape node
print locShapePN.name()
A lot (not all) of OpenMaya's functionality is integrat
My memory is that you just set the default value you want on the
attribute, like you would with other attributes like non-array
attributes, before you make it paintable. When it is paintable, it'll
still have that default value and you should see it that way in the
Artisan tools.
In other words, t
The first thing I'd try is changing transformFunc.setRotation(quat) at the
end to set to the whole matrix rather than just setting rotation:
transformFunc.set(tm)
If I'm understanding right, the effect you want is that if the cube is at
tx=10, and then you run the code, the cube will rotate aroun
One thing the OP said that jumped out for me-- "Is it because h.264 doesn't
like my resolution? When I playblast at 1920x1080 it seems to always work."
How much choice do the users of your tool have over image size?
While I'm not familiar with ffmpeg on windows, I have a memory that h.264,
MPEG-4
Is there any gotcha with putting input and output attributes as children
under the same compound array?
Details:
I have a node with a compound array attribute. For each item I'm handling,
I get input data and compute an output. I've usually structured these
cases like this:
Input data:
itemsI
This whole discussion is making me curious, does anyone know what of Maya's
API code is hardware accelerated? Obviously Maya makes heavy use of the
graphics card in general. But I'm wondering if some relatively agnostic use
of the API like, say, a bunch of MVector normalizations or MMatrix
multip
Since we're on the topic, I just started using Eclipse with Maya and
ran into two confusions.
1) Sending cmds to Maya directly from Eclipse? There was a plugin on
Creative Crash from Ron Bublitz to do this, but it didn't seem to work
for me (due I think to my too-new Eclipse version.) Is there a
I used an earlier version of OpenCV ages ago though via C++ not
Python, and recently got interested in playing with it again...
curious to compare notes as things evolve!
On Wed, Nov 17, 2010 at 4:58 AM, Robert Butterworth
wrote:
> About to start work on that myself.
>
> I'll keep you guys poste
12 matches
Mail list logo