Forum: Poser Python Scripting


Subject: WIP: Poser <-> Blender Bridge

adp001 opened this issue on Dec 27, 2019 ยท 92 posts


unrealblue posted Sat, 06 March 2021 at 3:28 PM

adp001 posted at 3:11PM Sat, 06 March 2021 - #4414391

Thanks for testing.

The mapping error can be easily fixed.

if sys.version_info.major > 2:
    basestring = str
    map = lambda a, b: [a(_b) for _b in b]

I'll update the script accordingly.

For the Script-Button: Don't know how to start searching why it will not work.

I think a simple wxPython Dialog is the best solution for the moment. I'll make one today.

No worries!

I was lazy and just used list() right in the code rather than a lambda function dependent on the version. You're much more meticulous than me :D