python 4

Dealing with tree structures in Python Grasshopper

When using the Python component in Grasshopper, we sometimes encounter circumstances to deal with the unique tree structure of Grasshopper. There are two ways to handle this issue, one is a more scripting version, the other is a much simpler version. (1) The given tree structure For this tutorial, I simply made a secondary depth tree structure, adding series of numbers. (2) Dealing with list of ..

라이노 그래스호퍼에서 파이썬 사용하기

1. 그래스호퍼에서 파이썬을 사용할 때의 장점 그래스호퍼에 내장되어있는 파이썬 컴포넌트를 사용하면, geometry를 라이노 디스플레이로 확인하면서 손쉽게 geometry 스크립팅을 할 수 있다는 장점이 있다. 라이노의 막강한 geometry 생성 내장 모듈들을 불러와서 사용할 수 있기 때문이다. 필요한 부분은 직접 스크립팅을 하되, 만들어진 지오메트리를 불러오거나 변수들을 조작하는 데는 이에 최적화된 그래스호퍼를 사용하면 대단히 효과적인 스크립팅이 가능하다. Rhino 6 를 설치하면, 그래스호퍼의 Python 컴포넌트는 기본으로 내장되어 있기 때문에 파이썬을 별도로 설치할 필요가 없다. 2. 그래스호퍼 파이썬 컴포넌트 사용하기 그래스호퍼에서 파이썬 컴포넌트를 불러와서(Math - Script 탭) 컴..