Forum: Poser - OFFICIAL


Subject: Poser and ZBrush problems

Predatron opened this issue on May 27, 2005 ยท 12 posts


face_off posted Sun, 29 May 2005 at 3:19 AM

You can save a heap of time loading and saving geometries by using a simple python script. For example, if you want to make a fbm from the head and neck of an imported obj, simply import the prop, select it, and run a python script...

importedProp = poser.Scene().CurrentActor()

newHeadGroup = poser.Scene().CreateGeomFromGroup(importedProp, "head")
poser.Scene().CurrentFigure().Actor("head").SpawnTargetFromGeometry(newHeadGroup, "My New Head")
poser.Scene().CurrentFigure().Actor("head").Parameter("My New Head").SetValue(1)

print "Assigning neck morph"
newNeckGroup = poser.Scene().CreateGeomFromGroup(importedProp, "neck")
poser.Scene().CurrentFigure().Actor("neck").SpawnTargetFromGeometry(newNeckGroup, "My New Head")
poser.Scene().CurrentFigure().Actor("neck").Parameter("My New Head").SetValue(1)

poser.Scene().SelectActor(importedProp)
poser.Scene().DeleteCurrentProp()

Message edited on: 05/29/2005 03:20

Creator of PoserPhysics
Creator of OctaneRender for Poser
Blog
Facebook