ghpythonutils serves as a utility library for GhPython users who develop components, algorithms, automation tools, and related functionality.
For reference, this project is always a work in progress. Any ideas, questions, or suggestions are welcome and may be submitted as new issues.
First, this repository must be forked, and a command prompt (cmd) is then opened by pressing
Windows + R.
Next, the working directory is changed to the location where the
Rhino files are installed. The installation path is typically as follows:
cd `C:\Users\\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\IronPython\settings\lib`
Once the working directory has been changed successfully, this repository is cloned using the following command:
git clone git@github.com:PARKCHEOLHEE-lab/ghpythonutils.git
Upon successful installation, modules from
ghpythonutils can be imported using the following syntax. In addition, a class may either be inherited or its functions used statically.
How to use ghpythonutils
ghpythonutils/
โโโ APIs/
โ โโโ p2m/
โ โ โโโ p2m.py
โ โ โโโ examples/
โ โ โโโ p2m_wall_generator.py
โ โโโ app.py
โโโ utils/
โโโ dbscan/
โโโ dijkstra/
โโโ kmeans/
โโโ mir/
โโโ quadtree/
โโโ scaler/
โโโ scorepolygon/
โโโ request.py
โโโ utils.py