n. Of course I have not figured out how to create a typical composite wall section that will always be perpendicular to this line yet.
I am planning starting some kind of Safdie Habitat 67 study with Grasshopper. Parametric modeling usually focus on surfaces and blobs, but can be used to create other things as well.
Basically what I need to do is:
1) A system of rectangles that defines the bottom outline of a habitable unit. [easy]
2) How to convert this bottom outline into a box with a composite wall, and slab system and with windows and stuff. [should i try to create a boolean system from this outline? or a system with extrusions along the rectangle?]
3) A system that generates the staircases and ramps. [basically extrusion along the lines that defines the corridors and staircases]
hmmmmm...
Martin…
Added by Martin Hedin at 11:44am on October 21, 2011
思った感じになりません。
balls の代わりにplanarカーブを直接入れてみましたがエラーが出ます。
ファンクションにしてみたところ、forループので作った数値が反映されていません。
ファンクションのインスタンス?を出力していないと思い上記のようにしましたがエラーが出てしまいます。
以上の事から自分の認識が正しいのかよくわからなくなりました・・・
python自体の深いところをわかっているわけではないので余計こんがらがりました。
そこで、for b in ballsはどのような条件または使い方であれば使えるのでしょうか?
そして、上記のように別のオブジェクトに対しての使い方はどのようにすればできるのでしょうか?
2:同じファンクション内のdist = rs.Distance(self.pos,b.pos)についてですが
この文章も for b in balls によってbはBallのインスタンスであると定義?されたためb.posがbの位置であると分かるのでしょうか?
pythonは定義しなくても動いてしまうのでどのような時に使えるのか文章見ただけではよくわかりません・・・
大変細かいことかもしれませんが、よりpythonをしっかりと理解するためにも、どなたかわかる方ご教授いただけると幸いです。…
ils.ExceptionUtils.RemoveData(System.Exception, System.Object)'.
Traceback: line 67, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\types.py" line 6, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\abc.py" line 11, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\_abcoll.py" line 83, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\UserDict.py" line 398, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\os.py" line 9, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\linecache.py" line 6, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\warnings.py" line 43, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\random.py" line 5, in script…
he problems.
Unfortunately if the value of divisions in this example is less than 67 the joined loft becomes an open instead of closed Brep.
Although for now the outcome of my problem seems all right, it does feel strange that this change happens.
It also happens if I scale the lines by any factor larger than 1.
This time I do add the files instead of the pictures, so if any one fancies a look to help me solve this mystery, please!
Tijl…
ror that I get :
Runtime error (MissingMethodException): Method not found: 'Void Microsoft.Scripting.Utils.ExceptionUtils.RemoveData(System.Exception, System.Object)'.
Traceback: line 67, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\types.py" line 8, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\warnings.py" line 12, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\ntpath.py" line 63, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\os.py" line 7, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\shutil.py" line 68, in script
Cheers…