mas.zip
what:
スタジオで扱うモデルのために作ったモジュールです。今後機能拡張、して行きます。詳しい使用方法はエスキース時に説明します(後にポストします)。グラフ理論における最短ルート検索などの関数を含みます
These are python modules made for this MAS studio. Still in progress. I will lecture you how to use in escuisse time. It includes functions to find the shortest path in network, the algorithms are based on graph theory.
how to set up:
MASunitというフォルダを c:\ 直下 に作成( c:\MASunit )して下さい。その中にzipファイルの中身
CA_neighbour.py
graph_util.py
Utility.py
の3つのファイルを入れてください。
create a folder “MASunit” directly under c:\ ( c:\MASunit) . unzip downloaded mas.zip you will have 3 files:
CA_neighbour.py
graph_util.py
Utility.py
put these files in that “MASunit” folder.
パスを通します
rhinoceros で EditPythonScript とコマンドを打ってpython editorを出してください。
Tools -> options… とたどって
Files タブ Module Search Paths のところで + ボタンを押して、上で作ったフォルダのパス c:\MASunit を指定してください。その後Rhinocerosを終了し、再起動してから使用可能になります。
set the path to modules
on Rhinoceros command “EditPythonScript” and get editor.
On editor menu,
Tools – options…
On the File tab, by clicking “+” button, Add Module Search Paths and specify that folder “c:\MASunit”. Close Rhinoceros, and restart Rhinoceros, then you can use those modules.
Comments are closed.