Forum: Poser - OFFICIAL


Subject: Script listing material settings?

Believable3D opened this issue on Aug 14, 2009 · 13 posts


Believable3D posted Fri, 14 August 2009 at 12:47 AM

There are all sorts of Python scripts listing things like content in a scene blah blah (see e.g. the Scripts > Print Info menu in P8).

Is there a script that will print material settings? a bit more complex, I suppose....

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


markschum posted Fri, 14 August 2009 at 1:44 AM

Did you want all the settings for all the nodes in all the materials ? 
that gets really big :(


Believable3D posted Fri, 14 August 2009 at 2:09 AM

Yeah, I know. :) Ideally, though, I could specify to have the settings shown for just one material.

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


PhilC posted Fri, 14 August 2009 at 4:41 AM

What exactly do you need it for?
In what format do you need the information?

How would it differ from just saving the material then opening the file in a text editor?


Believable3D posted Fri, 14 August 2009 at 9:17 AM

Heehee. Never thought of that. I'll do that and see what it looks like.

I want it, because I tinkered and tinkered with settings that were originally based on the AO version of VSS. I didn't think of saving the VSS prop rather than an MC on the figure, so it got detached. It's a convoluted story, but ultimately, what it boils down to is that I want to re-create a very close approximation of what I've got with a new iteration of the non-AO version of VSS, so I need to have a good look at the info that I can print out. Too easy to get lost with a visual method of comparing on the monitor, and anyway I don't have dual monitors at the moment.

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


markschum posted Fri, 14 August 2009 at 10:17 AM

K, thats not to hard to do at all, probably take longer to make it pretty :) 


markschum posted Fri, 14 August 2009 at 11:35 AM

Here is a first attempt. It just puts the output to the screen so you can see if its what you want to have.  Each Node in the shader tree is listed with all parameters, and the material name .

There is ALL in the list of materials , which will list all materials,. Selecting a material will list only it.
Materials are from selected figure only at this stage. Requires Poser 7 for the dialog. 


Believable3D posted Fri, 14 August 2009 at 9:08 PM

Wow, that's awesome! Thank you so much!!

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


markschum posted Fri, 14 August 2009 at 10:21 PM

working on making it go to a formatted file rather than print, mainly cause I cant see how to print in python. :(    

Is that close to what you wanted?  I have added the node that connects to a parameter, so the inputs will show what node is attached.

I will post the completed script tomorrow .


Believable3D posted Sat, 15 August 2009 at 12:39 AM

Thanks so much for your work on this. I just printed it off (7 pages).

The ability to print directly isn't all that crucial, as it's no trouble to copy and paste into a new doc.

Nice work!

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


markschum posted Sat, 15 August 2009 at 1:28 AM

yer welcome . thats actually a pretty simple script. :)


markschum posted Sat, 15 August 2009 at 9:51 AM

Here is the final one , unless I missed something :)

This prompts for what material you want , or ALL, and then prompts for the location and name of the save file. The heading is wrong on the save file screen but no way to change it .

The file is formatted text , and should view and print correctly from Wordpad.


Believable3D posted Sat, 15 August 2009 at 1:10 PM

Wow. Thanks again!

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3