Forum: Poser - OFFICIAL


Subject: Loop-making script

Cage opened this issue on Apr 03, 2010 · 610 posts


Cage posted Sun, 04 April 2010 at 1:26 PM

Okay.  Here's a version of the script which will print progress, hopefully to identify where the script is failing for lesbentley.

It should print something like this, if all goes well (actors will vary):

Quote - Created plane
Callback started
Starting callback
Callback is running
Callback is running
Callback is running
Starting loop generation
Making loop
Getting actors
tongue2:1
rPinky2:1
chest:1
lToe:1
rEye:1
lIndex2:1
newloop
rThigh:1
head:1
lFoot:1
lInstep:1
rInstep:1
abdomen:1
hip2:1
lThumb1:1
lRing2:1
lMid1:1
rToe:1
lShin:1
rBigToe1:1
rForeArm:1
lThumb3:1
lEye:1
lBigToe2:1
rShldr:1
lRing3:1
lThumb2:1
lIndex1:1
newloop 1
lPinky3:1
lMid3:1
rMid1:1
lHand:1
lRing1:1
rRing1:1
lIndex3:1
rBigToe2:1
rHand:1
lBigToe1:1
rIndex3:1
rShin:1
rMid3:1
rRing3:1
jawUpper:1
lPinky2:1
lForeArm:1
rRing2:1
rThumb2:1
lCollar:1
rMid2:1
rFoot:1
lThigh:1
tongue1:1
rThumb3:1
rPinky3:1
hip:1
rIndex2:1
lPinky1:1
jawLower:1
lMid2:1
rThumb1:1
rPinky1:1
rIndex1:1
rCollar:1
neck:1
lShldr:1
Found vertices
Convex hull generated
Perimeter markers placed
Ring vertices placed
Verts, polys, sets created
UV mapping applied
New Geometry() instantiated
Prop created
Applying smoothing

I recall that someone had trouble with the use of poser. in another script, when using Poser 6.  I'm wondering it P6 may be having trouble here:
if( (event & poser.kEventCodePARMCHANGED) != 0):

If so, the script would seem to do nothing, as it apparently is.  If this is the case, I'll have to try to figure out how to properly invoke a poser typecode for older versions.  Hmm. 

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.