download studio_utility_1_0.py
studio_utility_1_0.py ユーティリティモジュールを更新しました。
dorpbox に熊谷さんのプロジェクトファイルを置きました。 下記 checkPolyline という関数を使っています。今後配置問題を解決するのに多用すると思われます。
rev_0609_kumagai.3dm, rev_0609_kumagai.gh
def checkPolyline(pl,pls,mode = 0): """ pl: rhino.Geometry polyline to check if it is in boundary if it not closer with others than specified buffer pls: rhino.Geometry polyline list as others mode: 0: no colide, no touch 1: allow touch at line, touch at point 2: allow touch at line, but not touch at point 3: allow touch at a point, but not touch at line return: True: if it is in boundary, and does not colide others False: if it is not in boundary, or colides others """
Comments are closed.