Foundation is a python library meant to be used as an API for creating 3D objects. Files using this library can be converted to DAG (Directed Acyclic Graph) files which can then be compiled for CAD, analysis, or other purposes.
This is the backbone of Cadbuildr. See the documentation here
If you plan on contributing to this project, you can install ( after cloning ) the library by running the following command in the root directory of the project:
pip install -e .
The tests are a good place to start to understand how the library works. You can run the tests by running the following command in the root directory of the project:
pytest
Moreover there is a folder examples/ in the tests folder which contains some examples of how to use the library for basic parts.
Build :
poetry build
Publish :
poetry publish