this target list:
(a1, b1, c1, d1)
(a2, b2, c2, d2)
(a3, b3, c3, d3)
....
What I want to do is injecting one more value (arbitrary angle in my case) to each point before I cull many of them - so that each point brings its angle data along.
Any hep would be greatly appreciated. TIA
…
he code within a limited number of turns. I suggest you check 양방하는법 and learn more interesting things about games. The game is not only challenging and fun, but it also helps to improve cognitive skills such as critical thinking, problem-solving, and pattern recognition. Mastermind has stood the test of time and remains a beloved game for all ages.…
Added by MichaelD0112 at 12:25am on April 10, 2023
. 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. :)
…
e analysis) into a grasshopper script that will effect the way objects are placed, or formed? I have been all over the internet trying to find answers and had little luck so I decided to think of an example and post it to the forum. I have looked into functions, path mappers, data trees and many other components.
Say my site had 2 buildings, one that was built in 1918 (B1) and one that was built in 1920 (B2). But B2 was demolished in 2009 and B1 still exists (2011). Can a simple script be created to model this? I have had a go but my most successful attemt still fails, I can get a true statement when the the number 1920 and above is reached but I cannot get it to also show a false reading for when the number 2009 is reached.
If someone could help me out on this and show (tell) me how this could be used as a variable to create design/the placement of objects, it would be MUCH appreciated.
Cheers
Matt…