[ S.O.F.T ] lab
Rhino LEARN Grasshopper
TRI STRAND BRAID
Logic generation + beginner level Script
[ S.O.F.T ] lab
Rhino
1
LOGIC GENERATION
LEARN Grasshopper
a
Physical Model
Sumaiya Sarwat
[ S . O . F.T ] l a b
b
Diagram Study
LOGIC GENERATION c
Rules Layer
0.0
.25
.50
.75
1.0
<< Position
Rule_ 01_2d [Front]
2
3
4 Alone
1
Intersect
0
Intersect
_ Curves move through Points ‘0’ & ‘4’ are always alone.
<< Point ID
0.0
.25
.50
.75
_ All Intersections / Overlaps will occur at the position of 0.25 & 0.75
1.0
X
3
4 Alone
Intersect
2
Yellow & Red Intersect
Blue Alone
-Y
1
Layer
X +Y
Layer
_ Intersection at point ‘1’ & ‘3’ will occur alternatively. _ Movement of a single curve vertically / in Layers :
+Y
0
_ No Intersection / Overlap will occur at the position of 0.0 & 1.0 _ Curves move through Points ‘1’ & ‘3’ will always intersect.
-Y Rule_ 02_2d [Top / Side]
Layer
1
LEARN Grasshopper
Alone
Rule_ 01_2d [Front]
[ S.O.F.T ] lab
Rhino
Layer
Point ID >>
0
1
3
4
3
1
0
Position >>
0.0
.25
.75
1.0
.75
.25
0.0
_ Each layer will contain one detached curve & two Intersecting Curves
Layer
Rule_ 02_2d [Top / Side] _ Curves (alone) at point of ‘0’ & ‘1’ will always stay at (x,0) position.
Layer
_ Curves (Intersecting ) at point of ‘1’ & ‘3’ will always move at (X, +- Y) position. Layer
2
From Layer 0 to Layer 6
Understanding Logic through simple Script -Y
X +Y
Layer 6
1. Origin / Start from a point 2. Draw line in X direction 3. Array Lines in Z direction
5.1 List item > give ID (0-6) to array lines (layer 0 to layer 6)
4. Reference vertical Lines
5.2 Get points in each layer according to rule_01 & 02
5. Draw Cur ves [ B / Y / R ]
5.2 Draw Blue / Yellow / Red Cur ves
Layer 5
Layer 4
Layer 3
Layer 2
Layer 1
[Front]
LEARN Grasshopper
Layer
[Side]
[ S.O.F.T ] lab
Rhino
Layer 0
Layer 2
Layer 1
Layer 0
Layer 3
>> 1
>> 0
1 2
5 4
0
>> 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0
2 5
3
3 >>
3
3
3
3
>> 1
2
4
0
1 2 1 2
5 4 5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0
2
>>
3
3
3
3
3
3 >>
3
1
5
1
2
4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 2
>>
3
3
3
3
3
3
>> 1
4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 2
5
3
>>
3
3
3
3
3
3
>> 1
4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 1 2
5 4
0 2
-Y
3
[Front]
4
0 5
[Side]
0 1
4
2 3 4 1 0 5 . . .
5 2 3
4 1 0 5 2 3 . . .
1 0
5
M ov e me n t of Red Cu r v e in d i ffe rent l a y ers _ get p oi n t I D in Ci rc l e > >
Layer 5 3 4
M ov e me n t of Yellow Cu r v e i n d iffe rent l a y ers _ get p oi n t I D in C i rc l e > >
0 5
0 5 2 3 4 1 . . .
Layer 6 4
M ov e me n t of B lue Cu r v e in d iffe rent l a y ers _ get p oi n t I D in C i rc l e > >
5
0 1 2 3 4 5
LEARN Grasshopper
S ec ti on s i n di ffe re nt l a y ers _ get p oi n t I D in Ci rcl e > >
Layer 4
S ec ti on s i n di ffe re nt l a y ers _ get p oi n t I D in H e xagon > > 0 1 2 3 4 5
Sections in diffe rent la yers _ L inea r
[ S.O.F.T ] lab
Rhino Layer
3
Study in Section From Layer 0 to Layer 6 Understanding Logic in 3rd diagram X +Y Layer 6
3
3
Layer 5
3
Layer 4
3
Layer 3
3
Layer 2
3
Layer 1
Layer 0
[ S.O.F.T ] lab
Rhino LEARN Grasshopper
Layer
4
From Layer 0 to Layer 6
Fi n al Scr i pt for Tri Strand B raid _ Begin n er le vel Layer 4. Draw Blue / Yellow / Red Cur ves 5. Make Pipe From Cur ves
1. Start point / Origin / Circle
Layer
2. Array of Circles in Z direction 3. De fine point ID in each circle for Blue Cur ve _
0 5 2 3 4 1 . . .
3. De fine point ID in each circle for Yellow Cur ve _ 3. De fine point ID in each circle for Red Cur ve _
4 1 0 5 2 3 . . .
2 3 4 1 0 5 . . .
Layer
Layer
Layer
Layer
Layer
[ S.O.F.T ] lab
Rhino LEARN Grasshopper
Layer
TRI STRAND BRAID Logic generation + beginner le vel Script Layer
Layer
Layer
Layer
Layer
Layer
Layer