Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
I have a Visual basic program that will change the CR2 file but you can do that with a text editor.
try the attached zip file scripts.
one displays all items that are parented to the head. This is a no risk script to check that only the hair is selected.
the other script actually changes the parenting.
I have tested this in Poser5 SR4 and it appears to work correctly, but not tested with multiple hair groups.
Do not delete your original file before saving and testing the new hair prop.
regards
My Poser Python Script Wish list: (I totaly don't understand Python) 1. A script box that would list props with fields for entering new prop name, new group name, and new material for that prop so grouping tool could be avoided. 2. A script based interface that could somehow simplify working with long lists of morph chanel dials on a figure... how I can't imagine. In PoserPro I have these long list on the head to get through and the names are partially obscured by the number value. Just askin'. Thanks ockham for all your great stuff!
Here are my requests for Animation Helpers... 1. convert all frames from flatfooted walk designer to high heels. 2. randomized blinking 3. breathing 4. randomized shifting weight from foot to foot during standing. 5. Picking up and manipulating objects without parenting them to the hands (It's a shame that the figures can't ever 'drop' anything).
Attached Link: http://ockhamsbungalow.com/Python/Naturalizer2.zip
The randomized blinking and breathing is available. See the link for Naturalizer. A long time ago, I did a script for the pickup action, but it's *not* very satisfactory. You might try it anyway... Look for Foster1.zip in the same directory as Naturalizer. I think PhilC has done the high heels... Check his website.My python page
My ShareCG freebies
What I would like is an script to create morph targets from magnets, only one morph for body part even if it has more than one magnet affecting it, and set the dial to one. That'd be great also if all the morphs had the same name. No need to delete the magnets since there are scripts to do it already I don't know if it's already done (or if it can be done!), couldnt find that in the freestuff, I am sorry if so. Also thank you much to Ockham and Bushi, I use a few of your scripts a lot, they really make the Poser life easier:)
MyFreestuff   My Store
i dont know anything about python so i post here and someone else can make (if posible) in poser i have my main screen showing my scene that im creating i want to be able to have that 1 window (in 1 part, not a split window) to show 2 cameras blended together for 1 view main camera showing only red channel aux camera showing only green/blue channels so i have a realtime view (as an anaglyph) of my scene rendering every little change in camera and making them into anaglyph manually takes forever, and realtime feedback of camera changes to it would make making anaglyph pics easier and faster anaglyphs are the pictures/movies that use red/blue 3d glasses
Attached Link: http://ockhamsbungalow.com/Python/NoPoke.zip
Have you tried my No Poke (in freestuff)?Message edited on: 02/09/2005 15:03
My python page
My ShareCG freebies
Thanks for showing the error. I wonder if it's a disagreement between internal name and external name? I'll check that point...
My python page
My ShareCG freebies
Hmm. Can you do a screenshot of what the panel looks like just before you hit Go? I'm trying to figure out which parts of the human are showing in the list box.
My python page
My ShareCG freebies
Okay, I think I see the general nature of the problem. The clothing probably has 'dummy' parts with no real mesh. This is common, and the script should take care of it without giving errors. I'll work on this tonight! Again thanks for showing the errors in detail; that's the only way these things can get fixed.
My python page
My ShareCG freebies
I'd like to see a script that could assist in setting up bones systems in poser. Similar to a Virtual Mirror in other programs (like WINGS), where we would need to work on only half an object and the program mirrors our actions to the other side. Would it be possible to create a script that does this for creating bones in poser? Example, I creat the bones for the fingers, hand, forearm and shoulder while at the same time, the PC mirrors these bones to the other half of the model. Being able to turn it on and off would be needed for connecting the sides to the chest and hip. Was that clear? I think i could explain it better or provide an animated gif or something.
I think I figured out where the errors are coming from in the NoPoke script.
On lines 195, and 289, there are only 1 set of parens. You need to double them up. Like so:
195: InnerAngles.append((Dist,bi,dX,dY,dZ)) # need the body index here!
289: OldMorphs.append((OneParm.Name(),OneParm.Value()))
I added the extra parens and now it works.
Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=2239526
Not sure why my original posting disappeared, however, see the attached post link to go to my thread on the NoPoke script. The issue I found was a matter of parentheses. Take a look at the post, and then make sure all the parens are input correctly in your copy of the script.can someone make me a script? fairly simple i would think, but i dont know where to begin myself. I want to, rotate the main camera around the y axis. render frames, 5,10,45,50,55,60,65,70 and save each one as a png file. then repeat what's above, 8 times, with a different camera position each time.
I'm looking for a script that will take the real world position of a figures hip, and apply that positioning to the hip, while clearing out the "Body" rotations (setting them to Zero).
I'm trying to create new pose files with figures interacting. Many times I can get the pose just right, except that the figure needs to be rotated a little. If the hip is tilted it's difficult to accomplish. Rotating the body rotates the figure in the real world the way I would like. But that info is not saved in a pose file. So what I would like to do is take that real world positioning, and apply it to the hip. So when I save the new pose, the figure will face the right way.
Hello, I'd like to "revamp" some ideas which were posted here some time ago; sorry if they already found an answer, but as I don't see anything here, I'm asking... a) a script which would (recursively?) read the .obj's stored into a directory, and load (NOT inject) them, one by one, in their matching body part (i.e.: head_wince2 -> head body part, morph: wince2); this would make up both for Poser's horrible morph loading interface, and for limited INJ channels (I have a table of morphs, made by me or converted from other figures, which I must read every time I make a new INJ so that it doesn't overlap the others... and I'm running out of channels!). b) a script able to read every INJected morph target's name and see if its value equals zero; if this is the condition, the morph is REMoved. (I don't know if this can be done automatically, or if it requires the matching REM script; if so, a table file could be written to index all major Poser figures, like Unimesh characters etc..) @ Ockham: thanks for all your scripts!! They're lifesavers, especially your MTbyGroup allowed me to trim my morphs in ways I could never have dreamt of!
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Yes, I know :-), but it does not work on Cr2s only on Matposes. I thought when I load a Cr2 I would like to have a script to change the nodes.
Every organisation rests upon a mountain of secrets ~ Julian Assange