3dcheapskate opened this issue on Apr 01, 2014 · 61 posts
3dcheapskate posted Mon, 13 April 2015 at 6:12 AM
Just set up the HANDPROXYDATA for the sword from dyald’s M4 Fable freebie and I can now put that into either hand of any figure by simply selecting prop and figure from scene and running my dev version of ‘PropGoto+’. Tested it in Poser 6, DS3 and DS 4.6.
Here’s the dataline I’m using for this sword…
**:HANDPROXYDATA
M4 Fable Sword (dyald),Sword,Sword,0.0,-90.0,90.0,0.093,0.0,0.33**
To auto-match a prop I currently check the third parameter (in blue) of each dataline against the first few characters of the Poser internal name of the prop (’act.InternalName()’ in PoserPython, ‘oProp.name’ in DAZ Script)
Hmm… I bet there’ll be a few other sword props with internal name beginning “Sword”...
I included the external name in the datalines (second parameter) as well so I could add an additional check for a match against this, but I reckon ‘Sword’ will be quite common for that too. Maybe I need to include fields for the PP2 filename and the OBJ filename (if the prop uses external geometry) to give a better chance of a unique match.
And I’ve always got the fallback option of asking the user to confirm the match, or select the correct prop - that’s the purpose of the first field in each dataline.
Not a big problem, but it means that it’ll take a bit longer…
I’ve also realized that the existing procedure for positioning a prop in the dummyhand proxy seldom ends up with the prop’s origin at the world origin, which is what I really want. Again, not a big problem to fix that (I think/hope), but not something I’d planned…
The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.
*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).