Grass Hooper
woo jae sung . ws92@cornell.edu ww.woojsung.com
STEP01 . GRID ON SURFACES
+ Draw three lines [Rhino input]
• Note line direction
+ Crv object [GH object]
+Connect Rhino & GH objects
• RMB, select ‘set multiple curves’
• Note line picking order
1ST
2ND
3RD
+ Do the same thing for upper layer
+ Loft object
• Default loft option
step01_01step01_01
+ Divide object for surface division
+ Number slider setting
• ‘Even numbers’ for U direction
• ‘Integer’ for V direction
+ Connect Divide object to surfaces & slidersstep01_02
STEP02 . COMPONENT IDEA
+ By default, points generated through ‘Divide Srf’
object are to be ordered in zigzag fashion.
+ For better control, point ordering method should
be changed into2 x 2 array or list.
+ Get mid points
• pt01A = ( ptA(0)(0) + ptA(1)(0) ) / 2
pt01A
• pt02A = ( ptA(1)(1) + ptB(1)(1) ) / 2
• pt03A = ( ptA(2)(0) + ptA(1)(2) ) / 2
• pt01B = ( ptB(0)(0) +ptB(1)(0) ) / 2
pt02A
• pt02B = ( ptA(1)(0) + ptB(1)(0) ) / 2
pt01B
pt03A
• pt03B = ( ptB(2)(0) + ptB(1)(2) ) / 2
pt02B
pt03B
+ Set direction vectors
step02_01
+ Draw twointerpolate curves.
+ Loft
+ Component expansion
step02_02
STEP03 . VB Scripting
+ Point List object attached to see point order on
surfaces (zigzag order)
+ Setting VB component
•Four input parameters
• ptSetA : points set A from upper surface
• ptSetB : points set B from lower surface
• divU : U direction division factor
• divV : V direction division factor
+ Getconnected
+ Set input parameters : ptSetA & B
• Check ‘List’ - multiple point input
step03_01
+ Set input parameters : ptSetA & B
• Check ‘On3dPoint’ for data type hint
+ Set input parameters: divU & V
• Check ‘Integer’
+ Double ‘For ~ Next’
• To remap one dimensional linear point input
data into two dimensional array or list, we will
use double ‘for ~ next’ loop.
+ Iteration...
Regístrate para leer el documento completo.