. The rules to dispatch the lines are the next:
I start with a list that alternate true/false; like that: true, false, true, false.
If the angles between those lines are greater than 89° I want to inverse the next part of the list:
True, False, True, False, True, False,...
become
True, False, [>89°] False, True, False, True, [>89°] True, False,...
I managed to create a true false list, to check for the greater than 89° angle, to separate the lines relatively to the angles, but I don't know how to inverse part of the list at certain index.
(In the picture, I have written 90° but it should be 89°, I check for greater than 89° and not equal to 90° because in the real rhino model, the lines won't be exactly orthogonal)
If you have another idea to to reach the same result, it's also okay, I tried to find rules to solve the problems, but I may have overlooked other solutions !
And if there is some part of the patch that are correct but there is easier solution, I would love to learn as I am still new to grasshopper.
Thanks for taking the time to read. :)
…
ed my example?
Orange robot = you reach a singularity = you should take that into account, it will block the execution when the robot will reach this position.…
Hi,
We have built this model that is supposed to act as a roof, but mistakenly it is now 90 degrees on the XY we need to turn is to face the XY, in order for it to act as a roof. Can Anyone help?
Animating some properties of the capsule class. All animation done using GH2 equations and gradients. Took about 90 lines of code to generate these frames.
Added by David Rutten at 1:32pm on September 3, 2016
represent the list rearrangement. It would also be great for this to accommodate variable list lengths because the u/v gridlines on the original surface are tbd
…
to pick 30 for the first repetition, 15 and 90 for the next, 30 and 90, and 30 and 15 for the next... etc.(It's clearer in the photo attached)
Does anybody has any idea how to do that?
Any answer is very much appreciated!
Thank you.
Valeria…