Forum: Poser - OFFICIAL


Subject: ??? for the pythonheads

noxiart opened this issue on Jan 22, 2010 · 10 posts


noxiart posted Fri, 22 January 2010 at 3:48 PM

Here are the comments, but the only "unusual" I see is the @ in the third line ?

#    Script: MagClonerV1n.py
#    Author: bushi (PoserPython.com) - bushi@velocitus.net
#    Description: This script mirrors magnets on a Poser figure.  
#             After selecting the magnets to use, you can either
#             clone the magnets to the opposite side of the
#                  figure or delete the selected magnets.

#    System: Poser Pro, Poser 5

This script is released as freeware and is copyrighted.

You can use the script free of charge but you can't modify

it and then make the modified script available to the

public.  You can take it apart to see how it works but

you can't take sections of the code and use the code in

scripts that will be available to the public.  It is

released "as is" so you are fully responsible for any

problems or damage that may result from using this script.

This script may not be posted to other websites without

permission.  It may not be included in any collection

for sale or for free without permission.

Copyright 2003 - Cletus D. Payton - 12/13/03

Docs:

This is version 1n of a PoserPython script to mirror magnets on a

Poser figure.  Unzip the attached WINZIP archive to a folder under

the poserScripts directory.  It really doesn't matter where as long

as it's in the Poser Python path. 

Start the script then choose a figure and click the 'Select'

button in the main button box.   A drop-down panel will appear.

The mags in the left scrollbox (inactive) will not be selected for

cloning or deleteing.  The mags in the right scrollbox (active) will

be selected for cloning or deleteing.  You can use the buttons below

the scrollboxes to move the magnets between the boxes. To select

specific magnets to move, click on the magnet name to highlight it.

You can select one or more to move.

The move buttons perform the following functions:

'>>' - move all magnets in the inactive scrollbox to the

#        active scrollbox.

'>'  - move selected (highlighted) magnets to the active scrollbox.

'<'  - move selected magnets to the inactive scrollbox.

'<<' - move all magnets in the inactive scrollbox to the inactive

#        scrollbox.

When you've selected the mags you want to operate on, click the

'Select' button at the bottom of the pull-down panel.  The panel will

close.  You may now use the 'Clone' button or 'Delete' button to clone

or delete the active magnets.

The 'Unclone' button will remove cloned magnets.  It's a multi-level

undo so you can step back through several cloning steps.

The long, dark-grey button at the bottom of the main button box will

close the drop-down panel without doing a selection set.

Under a heavy system load, you may have the user window pop back to

it's original location while moving it.  This is due to the

interaction between the script and Poser refresh routines being used

by the script.  If you have a problem with moving the window,

right-click the blue bar at the top of the window and use the 'Move'

option.  This lets the Window Manager take control of the panel

movement.

When you first run the script, a small text file will be created

in C:.  This file keeps track of the last location of the script

window and uses the stored location as the initial position on

re-start of the script.

Maybe I should just try deleting all comments ?