Forum Coordinators: RedPhantom
Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 20 6:12 am)
"Is it possible to write a script that launches from a prop or other file so I could access scripts from my Poser lybrary rather than the Python pallet?"
It's possible to add a script-launcher to a figure. I don't know about a prop. You may be able to add a dial to "UNIVERSE" which launches a script somehow, then save the preferred state with that dial in place. I'm not sure. I'll tinker and see what happens. :)
I should point out that this script is not a PoserPython script. It runs as a standalone, requiring Python 2.4. PoserPython uses an earlier version of Python, which (most notably) lacks the "enumerate" call for lists - which I use extensively. If there's interest, perhaps I can restructure this script for PoserPython.
And I should have pointed out that the .py is a fake .jpg. It's a trick some people use in the PoserPython forum.
If anyone tries this and has questions or problems, let me know. I think there are still a couple of things I'm going to improve....
===========================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.
@Cage, your better off using a .doc extension to attach scripts, at least people will see a link rather than a broken image.
You can run scripts from figures using "pythonStartupScript <path_to_script>" (see the Barney cartoon figure) or using "runPythonScript <path_to_script>" from any type of file (e.g. see PhilC's ClothRoomPresets).
This one fixes a couple of problems and hopefully cleans up the GUI a bit. Click "??" for help.
Edit: Zowie! It works! Thanks for the info! :)
===========================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.
Quote - Edit: Zowie! It works! Thanks for the info! :)
You could always add your voice to the call to get the list of allowed extensions altered -> http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2661596
I knew about pythonStartupScript, but I just tested runPythonScript, and it did a lot of nothing. I'll have to see if I can find PhilC's examples. Could runPythonScript be a P6-only feature? I'm testing with P5....
Another script revision. This one adds error prevention for cases when a figure is loaded which has targetGeom entries which are already blanked out - such as an out-of-the-box V3.
===========================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.
It does look like runPythonScript must be Poser 6+ only. By the time I upgrade, I'll have all kinds of new goodies to try. :)
===========================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.
===========================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.
===========================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.
The joint insertion script will allow you to create joint insertion poses from character, prop, or scene files. The GUI is much like that used in most of the other pose-creating scripts I've posted recently. Select the file, then the figure, then the actor(s), then the parameters. Tweak the pose outline as needed, then save it. It will save a separate jp pose for each figure in a scene, and props (which may or may not really benefit from JP poses...) can be included or saved in separate poses.
A JP pose will apply the joint parameters saved in the pose when it is run in Poser. I frequently use them to change joint parameters from a custom setup I use to the standard V1 setup, when I need that. They're also handy for quickly passing along to other figures any JP changes made while working in Poser. Just create a pose and apply it to the other figure. Nice and quick.
I wish I knew who came up with the JP poses. All of these things are now lost in the mists of time....
===========================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.
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.
Note: I haven't tested this on any third generation Daz figures. It runs pretty quickly with Vicky 1-2, but it will be slower with V3 and others, I'm sure.
Requires an installation of Python version 2.4+.
===========================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.