generative modeling for Rhino
I am helping an artist in the realization of very special wooden fence.
Its my first try with grasshopper.
I found a very stupid way to do it.
I think that a clever use of lists and data trees would allow me to avoid the spaghetti effect...
Does somebody could give me clue?
(I guess it is all about recursivity.)
We have a curve C
we divide this curve and we get n points PC0, PC1, PC2, ...PCn
We have one vertical line L0 starting from PC0
we have n spheres centered curve points Sp0, Sp1, ...SPn
I0 is the intersection between Sp0 and L0,
L1 is the line between PC1 and I0
we offset that line L1 following a plane defined by I0, PC1 and PC0.
We get OL1.
I1 is the intersection of OL1 and SP1.
L2 is the line between PC2 and I1
we offset that line L2 following a plane defined by I1, PC2 and PC1.
We get OL2.
I2 is the intersection between Sp2 and OL2,
Ln is the line between PCn and In-1
we offset that line Ln following a plane defined by In-1, PCn and PCn-1.
We get OLn
In is the intersection between Spn and OLn
How to create cascading actions?
Thank you very much systemiq, so clever!
I read about Hoopsnake a few days ago...
I'll try to reproduce your GH layout as soon as possible!
Hello Systemiq, I tried to recreate your layout exactly like a good boy but there is something wrong.
What is the expression in the orange list item component?
In reality... I know nothing about expression...
i+1 (and L-1 in the Length component).
Thank you very much
I start to understand the logic of your layout...
it seems to work now, now I need to learn Hoopsnake!
I need to figure out how we make the created lines stay!
Ok I get it
It seems that you have a former version of hoopsnake
mine (latest from today) has a new parameter called
"H (feedback history)"...
I'll study that very soon...
Désolé j'ai oublié de préciser que dans Hoopsnake (clic droit sur le composant), New Data devait être mis à "is prepended".
Et en plus tu parles français!!!!!
tu as reconnu mon frenglish?
Ok j'ai remplacé Hoopsnake 0.6.4 par 0.6.3
j'ai maintenant accès à l'option "is prepended"
et tout marche impeccablement!!!
Mille mercis à Mr Systemiq!!
I'll post the final definition soon...