A python starter project for Hypar.
The dotnet-starter project is a dotnet core 2.0 library project which references the Hypar SDK and uses the Hypar CLI to bootstrap your project.
- Install Python 3.6.
- Fork this repository.
- Clone your fork of the repository locally.
- Edit the
hypar.jsonto describe your function.
Although not a strict requirement of Hypar, your code should have tests. The python-starter project uses Python's unittest module. To run the tests you can do the following:
cd test
python -m unittest
Hypar functions generate geometry in the form of glTF models. See the unit tests for a test which generates a .glb file that can be used to preview geometry. GlTF models can be previewed using the online glTF viewer.