Forum: Poser Python Scripting


Subject: Exporting posed and premorphed figure to modeller

adp001 opened this issue on Nov 28, 2020 ยท 40 posts


adp001 posted Sat, 28 November 2020 at 3:20 AM

The core of an export function then looks like this:

        # exporting vertices
        used = used_list(vertices)
        for idx, vertex in enumerate(vertices):
            if used[idx] != 0:
                print("v {} {} {}".format(*vertex), file=fh)