-
Notifications
You must be signed in to change notification settings - Fork 21
What is PyRx?
PyRx is wrappers for Python, wrapping ObjectARX and ActiveX. I like to think of this project as a replacement for Lisp and VBA, while these APIs are still great options, they have very limited options for importing other useful libraries. This is where Python shines as there’s many thousands of useful modules readily available to expand your toolset
Anyone who wants to extend the behavior of CAD. Object ARX or .NET users that need to do prototyping, without the need to setup and compile a project. Lisp users who want to extend lisp.
Admittedly the project still lacks documentation, if you are not familiar with any CAD API, or not willing to search on your own for possible solutions, you may have a hard time getting started.
With respect to interfacing with AutoCAD, its on par with .NET. Some benchmarks I’ve done are even faster than .NET, but on average it’s slightly slower. One test I ran was a transformation on 50,000 points, the results.
-C++ 0.085692
-C# 0.13150
-py 0.18951950000337092
-lisp 0.8120 secs