Forum: Poser - OFFICIAL


Subject: wasn't there a python script

elenorcoli opened this issue on Aug 18, 2007 · 17 posts


elenorcoli posted Sat, 18 August 2007 at 11:26 PM

that would mirror the morph from one side of the object to the other, ie, make one breast morph and mirror to other side on same body?

merci


Cage posted Sat, 18 August 2007 at 11:55 PM

Ockham has one which mirrors groups and another which flips .obj files over the x axis.  I don't think I've seen one for x symmetry with morphs.  If there is one, I want to know, too!  :)

===========================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.


ockham posted Sun, 19 August 2007 at 12:43 AM

You can try this one

http://ockhamsbungalow.com/Python/MorphMirror.zip

It's a couple years old, but seems to work without errors in P7 on a quick try.
Could still be some minor version problems.  

(e.g. integer / float disagreement, which seems to affect many of 
the older scripts.)

My python page
My ShareCG freebies


estherau posted Sun, 19 August 2007 at 1:37 AM

sounds interesting. do u think it would work on a mac? Should I try it? Love esther

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


ockham posted Sun, 19 August 2007 at 7:51 PM

On a Mac, it depends.  

OSX doesn't like some parts of Python, but according to Stewer this problem 
has been solved in Poser 7, possibly in one of the SR's.   

So the only answer is, try it and see!

My python page
My ShareCG freebies


estherau posted Sun, 19 August 2007 at 7:56 PM

okay, well i better update first hey

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


elenorcoli posted Sun, 19 August 2007 at 9:33 PM

groovy thanks ockham always the man


Miss Nancy posted Mon, 20 August 2007 at 9:51 PM

works in os x. thx to ockham for another excellent script. however, should mention it's for a object with bilateral symmetry, not for going from 1 arm to the other, or one breast group to the other AFAIK. depending on how the figure is grouped.



ockham posted Mon, 20 August 2007 at 10:02 PM

No, it does both types of symmetry.  Left arm to right arm, left collar
to right collar, right side of abdomen to left side of abdomen.

It lists all morph dials on currently selected part, and then you
hit either the 'Midline' or 'Opposite' button.  

Hit Midline if the current part is a center item like head or abdomen.  
The mirrored morph is then produced on the same part.  
(ie Left Smile ---> Right Smile)

You hit the Opposite button if the part is a 'side'.  
The mirrored morph is then produced on the opposite-handed part.  
(ie Muscular on left shoulder ---> Muscular on right shoulder.)

My python page
My ShareCG freebies


ockham posted Mon, 20 August 2007 at 10:05 PM

Oh.  Are you using the Group Mirror?  I thought we were talking about
the Morph Mirror here.

My python page
My ShareCG freebies


Miss Nancy posted Mon, 20 August 2007 at 10:39 PM

using the one attached above, which I downloaded about 24 hrs. ago. not seeing those buttons. its readme states that it adds a new dial to the selected body part, after selecting the morph of interest.



ockham posted Mon, 20 August 2007 at 10:52 PM

Hmm.  Maybe the one on the website isn't the latest version. Will check.........

My python page
My ShareCG freebies


ockham posted Mon, 20 August 2007 at 10:56 PM

It wasn't the latest!  I've been using this one, which for some reason
didn't get onto the website until this minute:

http://ockhamsbungalow.com/Python/morphmirror2.zip

SORRY!

My python page
My ShareCG freebies


Miss Nancy posted Mon, 20 August 2007 at 11:38 PM

o.k., ock - thx fr the new script upload. will check it out in os x.



Miss Nancy posted Tue, 21 August 2007 at 5:55 PM

re morphmirror2: "opposite" button didn't work (P7X) on p4 nude female nor jessi, right shoulder. "midline" button worked on both. Exception in Tkinter callback Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/lib-tk/Tkinter.py", line 1345, in call return self.func(*args) File "morphmirror2/morphmirror2.py", line 204, in HandleGoOpp OppActor=SelFig.Actor(OppName) error: Figure has no actor by that name



ockham posted Tue, 21 August 2007 at 6:00 PM

Yeah, I've noticed similar problems.  I've had to 'hard-wire' a number
of inconsistent names for left and right pieces.  I'll check these two
specific items.  If they work on my computer, then it must be some
Mac Python difference.

My python page
My ShareCG freebies


ockham posted Tue, 21 August 2007 at 6:31 PM

Okay, try it now.  There was a basic logic problem, so that it only worked
from left to right, not from right to left!    Apparently my left-handed bias is showing.

Renamed to avoid caching problems:

http://ockhamsbungalow.com/Python/morphmirror3.zip 

My python page
My ShareCG freebies