Nice work!
Blur Studios have published all their pipeline scripts, and there's a
pretty nice collapsible groupBox there. Might be interesting to have a look
at.
You can download a Windows installer from http://code.google.com/p/blur-dev/.
If you just want the groupbox script, I pasted it here:
ht
I would start by getting information about the selected particle, something
like
Select the particle shape > changed to select by component type then >
select the desire particle.
>
import maya.cmds as cmds
myselPart = cmds.ls(sl = True)
print myselPart
That's a start
Martin
On Sun, May 13
You should be able to do something like this to get the point positions on
a per-frame basis:
import pymel.core as pm
pars_shape = pm.PyNode( 'particleShape1' )
for frame in range( start, end+1 ):
pm.currentTime( frame )
positions = []
for pt in pars_shape.points:
positi
Here is a simple approach using the commands module:
def getParticlePositions(pObject, pId, start, end):
cTime = cmds.currentTime(q=True)
positions = {}
fromStart = True
for f in xrange(start, end+1):
cmds.runup(maxFrame=f, fsf=fromStart)
fromStart = False
t
Or if its a lot of code, provide a pastebin or gist please?
On Mon, May 14, 2012 at 9:48 AM, Mike Malinowski (LIONHEAD) <
mich...@microsoft.com> wrote:
> Can you paste your code, and the error?
>
> -Original Message-
> From: python_inside_maya@googlegroups.com [mailto:
> python_inside_ma
Maybe this?
http://stackoverflow.com/questions/3657504/how-to-have-gantt-chart-using-python-or-pyqt
On Sun, May 13, 2012 at 3:56 AM, John Keller wrote:
> How Can I draw gantt Chart in PyQt,I trid use KDChart but failed!any
> Help?
>
> --
> view archives: http://groups.google.com/group/python_in
Yep that was a typo - should have been statusBar.showMessage()
On Saturday, May 12, 2012 4:04:43 PM UTC-7, Justin Israel wrote:
>
> I think that approach works just fine. They obviously didn't use the
> QMainWindow status bar when they built the UI. Its just a separate child.
> It would have b
Can you paste your code, and the error?
-Original Message-
From: python_inside_maya@googlegroups.com
[mailto:python_inside_maya@googlegroups.com] On Behalf Of Sudeepth Patinjarayil
Sent: 14 May 2012 15:20
To: python_inside_maya
Subject: [Maya-Python] How to export anim throuh python scrip
How Can I draw gantt Chart in PyQt,I trid use KDChart but failed!any
Help?
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe
Hey,
Lets say I have a particle that is moving base on a field for 10
frames.
How can I query its position on each frame and write it in text file?
Many thanks for you help in advance.
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http:/
Hi all,
i am not able to export anim file in a ptyhon script. the error is
showing as variable not found. even though i assigned. please can any
one help to solve this problem.
Thanks and regards,
Sudeepth Patinjarayil.
--
view archives: http://groups.google.com/group/python_inside_maya
change
Hi Damon,
I had already started evaluating bounding box proximity right before you
emailed. The argument put to me with it was the shape of curves could be
erratic enough to give you the wrong curve. But what you point out pretty
much solves it, by narrowing down the possible nearest curves first,
I would suggest starting by checking object's distance based on their
shape's bounding box extents as opposed to the whole object. With nurbs
curves you wind up with pivots being far from where the actual curve is,
sometimes they lie at the origin no matter where the actual cvs of the
curve lie. Y
I need to write something to find the nearest curve to specific cv's
on another curve, within a given limited distance. So far, the only
idea I have is to write a plugin to evaluate the nearestPoint on
curve, for every single one of hundreds of curves, just to find out
the nearest one to the target
14 matches
Mail list logo