Fri, Jan 31, 10:45 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Create metablobs in Poser 7


nyguy ( ) posted Tue, 18 March 2008 at 1:06 PM · edited Fri, 31 January 2025 at 10:42 AM

I am looking for away to create metablobs in Poser 7. 

Here is what I am trying to do: create small spheres to simulate spray of water. Sort of like a splash.
Can anyone help?

Poserverse The New Home for NYGUY's Freebies


Cage ( ) posted Tue, 18 March 2008 at 1:13 PM

Do a search for a free script called Weird Juice Drops.  It's a free Poser Python metablob modeler.  Weird Juice also has commercial products which apply physical simulations for water effects, I think, but I've never seen a post by anyone who's used the commercial versions.

===========================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.


nyguy ( ) posted Tue, 18 March 2008 at 1:26 PM

Quote - Do a search for a free script called Weird Juice Drops.  It's a free Poser Python metablob modeler.  Weird Juice also has commercial products which apply physical simulations for water effects, I think, but I've never seen a post by anyone who's used the commercial versions.

Does not work in Poser 7. I have already tried it.

Poserverse The New Home for NYGUY's Freebies


Cage ( ) posted Tue, 18 March 2008 at 1:36 PM

How does it fail?  Could it be something as simple as the failure to import Numeric at the beginning?  If so, one could presumably compensate.

Well, I just checked, and the drops.py doesn't import Numeric, but he is using .pyd files, which might restrict usage to a given build of Python, and Poser 5 uses a different version than Poser 7.  Bummer.  And their webpage hasn't been updated in an age-and-a-half.  Presumably the script is dead.  :(

http://darwin3d.com/gdm1999.htm

Worst case scenario, there's a C example at the above link which shows how to create metablobs.  I suppose someone could try to recreate the wheel....

===========================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.


PhilC ( ) posted Tue, 18 March 2008 at 1:41 PM

I had some success using the "Marching Cubes" algorithm but came unstuck trying to get all the resulting faces pointing "out". It is now something of a back burner project.


Cage ( ) posted Tue, 18 March 2008 at 2:12 PM

I'm sure you already tried this, but... did you check the face dot product against a control value which pointed in a known direction, and all that?  I seem to recall your thread on the topic.  Do you have the link to it handy?  Now I'm curious....

===========================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.


nyguy ( ) posted Tue, 18 March 2008 at 2:18 PM

Quote - How does it fail?  Could it be something as simple as the failure to import Numeric at the beginning?  If so, one could presumably compensate.

Well, I just checked, and the drops.py doesn't import Numeric, but he is using .pyd files, which might restrict usage to a given build of Python, and Poser 5 uses a different version than Poser 7.  Bummer.  And their webpage hasn't been updated in an age-and-a-half.  Presumably the script is dead.  :(

http://darwin3d.com/gdm1999.htm

Worst case scenario, there's a C example at the above link which shows how to create metablobs.  I suppose someone could try to recreate the wheel....

When I get home I will fire up Poser 7 and get the error. Think it was on line 45 or something. and I will post it here.
I was able to get it to work in Poser 6 sometime back and have not reinstalled Poser 6 on my system since my reinstall of OS.

Poserverse The New Home for NYGUY's Freebies


Cage ( ) posted Tue, 18 March 2008 at 2:46 PM

Poser 6 uses the same version of Python as Poser 5, so if it's a problem with the .pyd, that wouldn't have cropped up with P6.

Traceback (most recent call last):
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsWeirdJuiceDrops.py", line 40, in ?
    import DropsP5
ImportError: DLL load failed: The specified module could not be found.

Here's what I'm getting, with both default placement of the .pyd and when placing it in the DLLs folder.  Python is just failing to recognize the .dll, which is different from compatibility errors I've seen.  Maybe someone knows how to get P7 to acknowledge the existence of the .pyd?  Or maybe this error really means to tell us that P7 Python just doesn't like the Drops5.pyd and won't read it?

===========================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.


nruddock ( ) posted Tue, 18 March 2008 at 3:32 PM

P7 won't load anything compiled for P6 or P5, the C API is different between Python 2.2 and Python 2.4 (just as PYCs need replacing so do PYDs and DLLs).

Drops might work in P6 but I'm not sure it was updated for P6, and it certainly won't work in P7 (WeirdJuice didn't even do an update for MetaForm for P7, so it's not surprising the freebie hasn't been updated).


nyguy ( ) posted Tue, 18 March 2008 at 4:44 PM

Here is what I got from drops

Traceback (most recent call last):
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsWeirdJuiceDrops.py", line 40, in ?
    import DropsP5
ImportError: DLL load failed: The specified module could not be found.

Poserverse The New Home for NYGUY's Freebies


nruddock ( ) posted Tue, 18 March 2008 at 6:49 PM

Quote - Here is what I got from drops

Traceback (most recent call last):
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsWeirdJuiceDrops.py", line 40, in ?
    import DropsP5
ImportError: DLL load failed: The specified module could not be found.

Like I said the PYD it's trying to load won't because it's compiled for the wrong version of Python.
If your lucky Drops may work in P6, but it definitely won't in P7.

If you have P5 (or even PP) and your wanting a static object then you should be able to export and use in P7, but otherwise your on to a loser.


Cage ( ) posted Tue, 18 March 2008 at 7:29 PM · edited Tue, 18 March 2008 at 7:42 PM

file_402248.txt

@ PhilC:

I don't know if this would be capable of handling an irregular form created from metablobs (perhaps if you retained the metablob centers as points of reference), but I tested this to reverse backwards-facing polygons.

This is the script.

Edited to fix editing error in script....

===========================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 ( ) posted Tue, 18 March 2008 at 7:30 PM

file_402247.txt

@PhilC part 2.

This was my irregular test object.  The script passed this test, at least.  Save this as .obj.

===========================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.


PhilC ( ) posted Tue, 18 March 2008 at 8:02 PM

Thanks, I'll revisit the project and see if I can progress.


Cage ( ) posted Tue, 18 March 2008 at 10:42 PM

file_402259.txt

Just in case anyone tries to test the script posted above, this one's fixed.  the first one forgot to import Numeric and hadn't had all of the WIP excess removed.

===========================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.


jdredline ( ) posted Wed, 19 March 2008 at 10:07 AM

Sorry, I found this thread so late.  I could have saved everyone the hassle.

I wrote to those guys over in Ireland way back and months later they replied back they would not be updating the Weird Juice Drops script for use beyond Poser 5.



PhilC ( ) posted Wed, 19 March 2008 at 10:24 AM

Did they say why?


nyguy ( ) posted Wed, 19 March 2008 at 12:00 PM

Quote - Sorry, I found this thread so late.  I could have saved everyone the hassle.

I wrote to those guys over in Ireland way back and months later they replied back they would not be updating the Weird Juice Drops script for use beyond Poser 5.

I had wrote them also and redirected me to Daz. Response from Daz was they would have to evaluate the program and see if it was worth updating. This was when Poser 7 came out and nothing on Daz's site about any plans.

Poserverse The New Home for NYGUY's Freebies


jdredline ( ) posted Wed, 19 March 2008 at 12:01 PM

----- Original Message -----

From: support@weirdjuice3d.com

To: JDRedline

Sent: Thursday, June 21, 2007 11:15 AM

Subject: RE: Fw: Weird Juice drops in Poser 7

 

Hi JD

Drops and MetaForm aren't currently compatible with P7. I have done some work on a patch recently, but can't guarantee at this moment that it will be released.

If we do produce an update it will be announced through the usual channels and the prodcut page and site will be updated.

Thanks for your enquiry.

Bill Sheil

Weird Juice Software



nyguy ( ) posted Wed, 19 March 2008 at 12:13 PM

That is totally different from what I was told when Poser 7 first came out.

Poserverse The New Home for NYGUY's Freebies


Privacy Notice

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.