Hi everyone,
As you may know, I have embarked on an effort to port all the capabilities of Topologic + TopologicSverchok into a host-independent, GUI-independent, and platform-agnostic API. The result is topologicpy and it can be installed with a simple command on Windows and Linux:
> pip install topologicpy
I would like to use this forum to collect your feedback on this effort and to make sure that this API is robust and useful for you. You can comment on anything regarding this project including its direction, the quality of the code, the quality of the documentation, suggestions for the future, among other issues.
-
The github repository is at: https://github.com/wassimj/topologicpy
-
You can find a description of the topologicpy project at pypi: https://pypi.org/search/?q=topologicpy
-
You can find the direct link to the documentation at: https://topologic.app/topologicpy_pdoc/
At the moment, topologicpy implements the complete API for topologic (Core). So it is useful in its current state. Additionally, most of the relevant classes of TopologicSverchok have also been ported, but they have not yet been fully tested. The code is being refactored where needed and documented using docstrings. The documentation is being auto-generated using pdoc3 https://pdoc3.github.io/pdoc/. This is ongoing work and any help is more than welcome.
As a user of topologicpy, you have a choice to access topologic directly using:
from topologicpy import topologic
v = topologic.Vertex.ByCoordinates(0,0,0)
print(v)
>>> <topologic.Vertex object at 0x00000211E0205C30>
or access topologic through topologicpy classes:
from topologicpy.Vertex import Vertex
v = Vertex.ByCoordinates(0,0,0)
print(v)
>>> <topologic.Vertex object at 0x000001DF2B3B2C70>
Please do test topologicpy and go through the code and documentation, report any issues, and ask for features and improvements. I hope you will enjoy topologicpy and I hope this discussion topic will be as active and rich as the original discussion topic for Topologic.