Python Intro #03 | ghpythonlib

Contents

  1. ghpythonlibs
    1. Import
    2. Usage
    3. Add-ons
  2. DataTree
    1. Import
    2. Declaration
    3. Add / Call
  3. Practice

ghpythonlib

Import

import ghpythonlib.components as gh

Usage

import ghpythonlib.components as gh

a = gh.Voronoi(x)

Add-ons

import ghpythonlib.components as gh

pointcharges = [x,y]
values = [0.5,-0.5]
startpoints = gh.DivideCurve(gh.Line(x,y),10,True)[0]

a = gh.FlowLines.Equi2D([x,y],[0.5,0.5],startpoints)

DataTree

refer Tips | DataTree in Python