Forum: Poser Python Scripting


Subject: Moving character with Python?

Shadowy_Mike opened this issue on Jun 01, 2007 · 9 posts


Shadowy_Mike posted Sun, 03 June 2007 at 2:37 PM

hm, beautifully that at least you had your fun. ;-)

Therefore again from in the front:

I produced miscellaneous models (OBJ files). Each individual one of this OBJ files forms a module. By the variable putting these modules together, very different rooms can be built. One could look at some examples for these modules if one had followed the Link in my first Posting.
examples :-)

For producing my pictures, I use mainly DAZ|Studio. On my home page and also here in the Free Stuff area, I offer my models as Poser Ready. (free) Because, cr2 files are the most comfortable resolution for the most things. (for Poser & DAZ|Studio)

For what I looked and still seek, answers to following questions are:

  1. If there is a python script with which I two bodies one on top of the other can line up. How Align in Wings 3D or in different 3D CAD programs. (Often at the assembly of parts)
  2. If there is not yet such a program, is it to be possibly written something similar as an Python Script? I am certain, that it (somehow) is possible, the question therefore is more whether the expenditure is worthwhile. Since I have not done yet anything in this direction until now.

The solution-base of this me envisions he/it was independently from the applied units of measurement on PNUs there falls back. I think that it first would have to be determined the respective origins of the two bodies, relatively to the origin. Then, the Boundingbox measurements of the bodies would have to be decided. So one could determine the value of the postponement and executes these then. Surely it would be the simplest on that occasion if I execute this individually for each area-axis. Also the possible rotation of a body probably would have to be taken into account on that occasion.
Since the Script accesses the internal format (PNU) on that occasion, it should not play any role which Display units of the users exactly put in. (inch, feet, meter …)

I hope somewhat more clearly now had expressed me myself. It is not that somebody writes a program for me. Of course, I would not have anything on the other hand. :-)
I only want to know whether it is at all possible with justifiable expenditure.

Because actually I wanted to occupy myself with DAZ|Script soon. However now, since the problem simply is there, I would concern myself with python.

Greeting
Martin