adp001 opened this issue on Apr 18, 2020 ยท 29 posts
adp001 posted Wed, 02 December 2020 at 6:56 PM
First and foremost the lib helps writing scripts. It allows the editor to correct and complete syntax (you write "poser." and the editor displays a list of parameters of "poser" to choose from - e.g. poser.Scene()). And so called "Type Hinting" is possible. The editor can protect you from comparing e.g. two variables which can't be compared with each other because they have different types.
Regarding debugging: All functions provided by Poser are built into Poser (as is the Python interpreter). Only this built-in interpreter can access these functions. Which means: You need Poser to successfully execute scripts made for Poser.
But what works: The lib builds "pods" for every Poser function. But they don't give a useful result when executed. Meaning: Some scripts are executed without errors. Only completely without a result. How far this helps debugging, you have to decide from case to case. I have built many wx-Python scripts where I redirected the "fill and work routines" when Poser was not actually available.
About the editor: I would recommend "PyCharm" in the first place. A really powerful Python editor, for whom hardly anything is impossible.In second place (but by far) perhaps VS code (dances at all weddings, can do a lot, but a lot only cumbersomely or with errors).
PyCharm: https://www.jetbrains.com/pycharm/
VS-Code: https://code.visualstudio.com/