Replies: 2 comments 19 replies
-
I think it’s great! It’s only natural to want to extend wrappers with syntax that’s more fitting to Python. My original thoughts were to use similar syntax as ObjectARX, easy to port projects, use the documentation. Regarding exceptions, they currently include the things I need for support. Error code, Line number, function, and file. From here, I know exactly where to debug from in C++. But yeah, I would fully expect Python users to want to add cool layers of abstraction on top. It’s better not done by me, as I’ve already been accused of having a C++ bias lol. I haven’t thought much about library contributions, I guess I would have to make some guidelines. I.e. Unit tests and documentation |
Beta Was this translation helpful? Give feedback.
-
ARX and ActiveX I you look at the API in the aggregate, it contains both native and ActiveX, Just a thought, but pyrx-core/ could just include everything that’s core related. |
Beta Was this translation helpful? Give feedback.
-
Hi, as I understand it, PyRx primarily maps C++ functions to python.
How do you feel about adding tools written in pure Python to make working with C++ functions easier?
I mean, for example, this boilerplate code:
For example, you can create a function:
which can be used as below:
Additionally, this will make it easier to debug the code, C++ exceptions are often incomprehensible at first glance, and extending the
get_objects
function with type checking etc. will make debugging much easier for beginnersBeta Was this translation helpful? Give feedback.
All reactions