latentspace.

ghpythonutils

GhPython Utilities ๐Ÿ”ง

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.


Installation

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


Usage

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
How to use ghpythonutils


Things that have been implemented to date

Last update date: 08/26/2023

    ghpythonutils/
    โ”œโ”€โ”€ APIs/
    โ”‚   โ”œโ”€โ”€ p2m/
    โ”‚   โ”‚   โ”œโ”€โ”€ p2m.py
    โ”‚   โ”‚   โ””โ”€โ”€ examples/
    โ”‚   โ”‚       โ””โ”€โ”€ p2m_wall_generator.py
    โ”‚   โ””โ”€โ”€ app.py
    โ””โ”€โ”€ utils/
        โ”œโ”€โ”€ dbscan/
        โ”œโ”€โ”€ dijkstra/
        โ”œโ”€โ”€ kmeans/
        โ”œโ”€โ”€ mir/
        โ”œโ”€โ”€ quadtree/
        โ”œโ”€โ”€ scaler/
        โ”œโ”€โ”€ scorepolygon/
        โ”œโ”€โ”€ request.py
        โ””โ”€โ”€ utils.py