Forum: Poser - OFFICIAL


Subject: A helper script to make many copies of a prop.

ockham opened this issue on Feb 14, 2002 ยท 8 posts


ockham posted Thu, 14 February 2002 at 1:39 AM

When I'm building something like a stairway, or assembling a shape from tubular segments, the job of making many copies of a basic shape, doing the Ctrl-C / Ctrl-V copy-paste to get the parameters the same, and then moving each to a desired position, gets TIRING. It's also error-prone; I always end up with one or two pieces "hiding" in the same position as the original. Here's a script to take care of such jobs. Select an object, preferably a single shape, not a multi-part thing. Activate the script. Enter how many new copies you want, and the center-to-center spacing between them on the X, Y, and Z axis. Then hit Go, and the copies will appear, each with a name in typical Poser style. This message carries an example image; the script is posted along with the next message.

My python page
My ShareCG freebies


ockham posted Thu, 14 February 2002 at 1:40 AM

As with others, be sure to rename the MESSAGE#####.TXT to COPYPROP.PY before using.

My python page
My ShareCG freebies


hauksdottir posted Thu, 14 February 2002 at 2:21 AM

Thank you! This is one of those useful out of proportion to their size things which we wonder how we ever lived without. Carolly


Impudicus Rex posted Thu, 14 February 2002 at 2:35 AM

Great stuff Ockham! Thanks for another great script.


kyko posted Thu, 14 February 2002 at 6:58 AM

Great work ockham. Thanks for all. About the blink script you've posted last week, This don't work in my vicky2 figure. I have change blinkL/R to EyeBlinkL/R , but don't work.I try wiht the naturalize.py (good idea) and work ok but no bliks. Any sugerence? You can add some movement for eyes? I've make some morphs to my hairs props simulating air movements.Can write some motion maths in pyton to simulate this? Thanks for all. Xcuse my english :)


PhilC posted Thu, 14 February 2002 at 7:25 AM

A very handy script.
I thank you :)

philc_agatha_white_on_black.jpg


ockham posted Thu, 14 February 2002 at 10:44 AM

Some notes and comments: 1. The X-spacing defaults to 0.1 if you enter 0 in all the slots. This is not quite consistent, but the first thing I wanted from this script was to avoid "pileup" of copies in the same location. 2. If you want a checkerboard of objects, like setting out chairs in a meeting room, place the original chair in the front left corner then apply the script with only Z spacing non-zero. This will make the left column. After that, select each of the chairs in this column and apply the script with only X spacing, to make a row depending on each chair. The result will be numbered neatly by row and column: chair_2_3 will be the 2nd row from front, 3rd chair from left. To Kyko, about the blink and naturalizer: I don't have a Vicky, so I can't really tell what's going on. If you changed every instance of "Blink Left" to the EXACT name of the same movement in Vicky (spacing and capitalization exactly the same) I think it should work. Eye movements: good idea. I'll add that into the Naturalizer and repost. On your hair morphs: email me with details of the parameter names and limits, and I'll make you a special Naturalizer script with those parameters added in.

My python page
My ShareCG freebies


kyko posted Thu, 14 February 2002 at 11:05 AM

Ockham, you are great!! :) I'm at work now.This night(spain gmt) i be send an email with this parameter. Thaks very much.