SlideShare a Scribd company logo
1 of 13
Grasshopper
move unitz random and orient
~ make random height buildings with base geometry ~
[ set > sequence > random ]
下準備 : 登録したポイントから” Line SDL ”を用いて線を作りました。
下準備:さらに曲線を”Divide Curve ”で分割しました。今回はこれらを
基準階の配置先として利用することにします。
建物の高さ方向にランダム要素を付け加えていくために
MoveとunitZを使用し,その接続先を Randomとします。
RandomのRangeに対して” Domain “を設定しています。
ここでの数値が高さに対するランダムの幅になりますが、
大まかに設定してしまってもあまり問題はありません。
分割したポイントの数とRandomのNumberが一致していないせいで
端っこのポイントで不具合が起きています。
直線の分割数とRandomのNumberについては同じものを参照する形に修正し、
数値についてもすこし調整をしました。
Lineで地上面のポイントとランダムに移動した高さ方向のポイントを結びました。
これを高さ方向に対するランダムな要素として利用していきます。
Divide Length を使って一定の長さごとに分割しました。
これで配置先の準備が整いました。
※ 今回は基準階の高さを4000(mm)想定して数値を設定しています。
あとは基準階となるボリュームを登録して
基準階となるボリュームをOrientで各ポイントへ配置します。
まずはXYPlaneで基準平面を設定してから、
次にXYPlaneを右クリックして Set one point から基準点を設定します。
最後に移動先のポイントを先ほど用意したDivide Lengh につなげば完了です。
( 端数の長さ等ついては気にせずにRangeを設定しても問題はありませんでした。)
END

More Related Content

More from onioncraft

[ Zbrush ] Zbrush to Rhino_by_ply_j
[ Zbrush ] Zbrush to Rhino_by_ply_j[ Zbrush ] Zbrush to Rhino_by_ply_j
[ Zbrush ] Zbrush to Rhino_by_ply_jonioncraft
 
[ Zbrush ] Retopology by EazyRemesh_test01_J
[ Zbrush ] Retopology by EazyRemesh_test01_J[ Zbrush ] Retopology by EazyRemesh_test01_J
[ Zbrush ] Retopology by EazyRemesh_test01_Jonioncraft
 
[ Grasshopper ] Improve Arch Truss exchap02_J
[ Grasshopper ] Improve Arch Truss exchap02_J[ Grasshopper ] Improve Arch Truss exchap02_J
[ Grasshopper ] Improve Arch Truss exchap02_Jonioncraft
 
[ Cinema4D ] Seamilar UV unwrap case 01
[ Cinema4D ] Seamilar UV unwrap case 01[ Cinema4D ] Seamilar UV unwrap case 01
[ Cinema4D ] Seamilar UV unwrap case 01onioncraft
 
[ Grasshopper ] interpolate curve basic #02 j
[ Grasshopper ] interpolate curve basic #02 j[ Grasshopper ] interpolate curve basic #02 j
[ Grasshopper ] interpolate curve basic #02 jonioncraft
 
[ Rhinoceros ] patch and torelance (j)
[ Rhinoceros ] patch and torelance (j)[ Rhinoceros ] patch and torelance (j)
[ Rhinoceros ] patch and torelance (j)onioncraft
 
[ Rhinoceros ] make terrain suface from pointcloud (j)
[ Rhinoceros ] make terrain suface from pointcloud (j)[ Rhinoceros ] make terrain suface from pointcloud (j)
[ Rhinoceros ] make terrain suface from pointcloud (j)onioncraft
 
[ Rhinoceros ] Record history option
[ Rhinoceros ] Record history option[ Rhinoceros ] Record history option
[ Rhinoceros ] Record history optiononioncraft
 
[ Grasshopper ] surface split and flatten
[ Grasshopper ] surface split and flatten[ Grasshopper ] surface split and flatten
[ Grasshopper ] surface split and flattenonioncraft
 

More from onioncraft (9)

[ Zbrush ] Zbrush to Rhino_by_ply_j
[ Zbrush ] Zbrush to Rhino_by_ply_j[ Zbrush ] Zbrush to Rhino_by_ply_j
[ Zbrush ] Zbrush to Rhino_by_ply_j
 
[ Zbrush ] Retopology by EazyRemesh_test01_J
[ Zbrush ] Retopology by EazyRemesh_test01_J[ Zbrush ] Retopology by EazyRemesh_test01_J
[ Zbrush ] Retopology by EazyRemesh_test01_J
 
[ Grasshopper ] Improve Arch Truss exchap02_J
[ Grasshopper ] Improve Arch Truss exchap02_J[ Grasshopper ] Improve Arch Truss exchap02_J
[ Grasshopper ] Improve Arch Truss exchap02_J
 
[ Cinema4D ] Seamilar UV unwrap case 01
[ Cinema4D ] Seamilar UV unwrap case 01[ Cinema4D ] Seamilar UV unwrap case 01
[ Cinema4D ] Seamilar UV unwrap case 01
 
[ Grasshopper ] interpolate curve basic #02 j
[ Grasshopper ] interpolate curve basic #02 j[ Grasshopper ] interpolate curve basic #02 j
[ Grasshopper ] interpolate curve basic #02 j
 
[ Rhinoceros ] patch and torelance (j)
[ Rhinoceros ] patch and torelance (j)[ Rhinoceros ] patch and torelance (j)
[ Rhinoceros ] patch and torelance (j)
 
[ Rhinoceros ] make terrain suface from pointcloud (j)
[ Rhinoceros ] make terrain suface from pointcloud (j)[ Rhinoceros ] make terrain suface from pointcloud (j)
[ Rhinoceros ] make terrain suface from pointcloud (j)
 
[ Rhinoceros ] Record history option
[ Rhinoceros ] Record history option[ Rhinoceros ] Record history option
[ Rhinoceros ] Record history option
 
[ Grasshopper ] surface split and flatten
[ Grasshopper ] surface split and flatten[ Grasshopper ] surface split and flatten
[ Grasshopper ] surface split and flatten
 

[ Grasshopper ] move unitZ random and orient_J