Forum: Poser Python Scripting


Subject: Send in the Clones

jjoyner opened this issue on Sep 02, 2020 ยท 14 posts


jjoyner posted Wed, 02 September 2020 at 10:22 AM

In February, I bought the Send in the Clones for Poser product at Daz Studio; https://www.daz3d.com/send-in-the-clones-for-poser. It is an older product for cloning props in a scene.

The Clone scripts appear in my Poser Pro 11.3 Scripts menu but I cannot get the scripts to do anything. Has anyone used this product or know whether it works in Poser 11? Poser 8? Poser 9? Has anyone had success with the corresponding Send in the Clones for Daz Studio?

The vendor, DraagonStorm, provided no documentation for the Poser version and, based on what I learned in another forum, died two years ago. The only Poser documentation that I could find is his short 2010 YouTube demo video (https://www.youtube.com/watch?v=tNQqdIcDX-U). He created the same product for Daz Studio 3 and Daz Studio 4 along with a short PDF tutorial for each but no PDF tutorial comes with the product for Poser. Send in the Clones has three short Python scripts that each collects Poser path information from the operating system and then launches its corresponding Python file that does the cloning (instancing). The launch files are uncompiled but the work files are complied. The three pairs of files clone a prop into a line, matric, or randomly. Below is launch script for the in line cloner:

import sys import poser pathname = os.path.split(poser.AppLocation())[0] pathname = os.path.join(pathname, 'Runtime', 'Python', 'poserScripts', 'DraagonStorm', 'SendInTheClones') sys.path.append(pathname)

if float(poser.Version()) < 9.0: import P8InlineClone P8InlineClone.DoIt()

if float(poser.Version()) >= 9.0: import P9InlineClone P9InlineClone.DoIt()

Thanks in advance for any feedback/help.

From the YouTube video:

Clones.jpg