Forum: Poser - OFFICIAL


Subject: Loop-making script

Cage opened this issue on Apr 03, 2010 · 610 posts


Cage posted Thu, 08 April 2010 at 1:17 PM

Quote - That got me thinking about chains. If you created a vertical stack of loops round two parallel cylinders with the correct spacing you would have the basis of a chain geometry. You could then apply a pose to each segment to zRotate it by 90°. Next you could apply another pose to every second link to yRotate it 90°. Now all that is necessary is to export all the segments as an obj, and you have your chain geometry.

It would be no great effort to construct the geometry by this method, and the py script would only be needed to create the geometry, not to apply the rotations. The real hardship would come in writing the cr2. I'm wondering if a py script could write out a cr2 with a series of regularly spaced actors. That would take the hard work out of building a chain.

A Python script could space the actors, save the geometry (to avoid problematic geomCustom references), and write the .cr2.  What it couldn't do is apply separate groups to the different ring segments.  So perhaps working with geomCustom would be the best way to try to automate that sort of thing.  Hmm.  A Python script could also add any EasyPose type ERC to the .cr2.

Let me think about this.  I hadn't really given any more thought to chains than to knots.  There may be some way to automate the creation of a chain even more fully than you're suggesting, at least the geometry portion.  😕  Hmm.

Lots of good ideas!  Excellent!  :thumbupboth:

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