Forum: Poser Python Scripting


Subject: loading groups of inj morphs

markschum opened this issue on Mar 26, 2008 ยท 5 posts


markschum posted Wed, 26 March 2008 at 7:07 PM

Hi all,

I am trying to create inj morphs for a figure, and thats all worked ok. I have a script that extracts the morphs from the figure cr2 and builds a inj pose file.

The problem is the figure creator wants one pose file to load a SET of morphs .

I tried putting the inj poses in a folder and using readscript to load them all but it isnt working .

What am I doing wrong ?

{
version
{
number 4.01
}
readscript ":runtime:libraries:morphs:myfolder:fbmbarbarian.pz2"
}

that is my test pose file
the fbmbarbarian.pz2 is the inj pose file , it works if loaded from the pose folder.

help ! ....


svdl posted Wed, 26 March 2008 at 7:22 PM

When I make an INJ file, I don't rely on readScript.
Instead, I incorporate both visibility and delta information for all the channels into a single pose file. In my experience this is less fickle than readScript, and it also doesn't rely on folder locations.

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


markschum posted Wed, 26 March 2008 at 7:36 PM

thats what I have done , but for each morph. The person I am doing this for just decided he wants a pose file to do groups of morphs , and I didnt want to duplicate the morph deltas .


adp001 posted Wed, 26 March 2008 at 11:22 PM

No selection for the figure/actor the loaded morph should be attached to?




lesbentley posted Sat, 29 March 2008 at 10:58 PM

@ markschum,

It's the oldest one in the book.

You use "readscript", it should be "readScript" with an upper case S.

Done that sort of thing many a time myself.