algorithmic modeling for Rhino
the idea is to create a canvas like the one above with 45000 lines.
Idealy, I want the blue on a layers et the red on a other.
i think you can achieve that with a c# component. But you will need the FROM and TO Values to be able to decide which color to which line belongs.
Thanks for all your answers. I will trying to do what you suggest, but I didn't code.
first you need the conditions, your input. How will you sort your lines? Regarding X-, Y- or Z-Coo.
Do you always have 11xBlue and 11xRed?
Make a list with the borders of blue and red. Set the rule:
1) 0<= x <1
2) 1<= x <2
and so on
At the end we can speak about coding...
I don't care about the input...
I'have 45000 lines stacked and i tried to make a gradient with two colors.
I want only two lists of numbers with the lines in blue and a the other, lines in red.
I don't really need visualisation, just the list are important here.
If it's not possible without input, i don't care about the design.
senequier,
to make two lists with your lines implies to know how to sort the lines.
How do you want to decide which line will be blue and which one red?
Also, you may provide a small example (maybe with 10 lines) and a sketch with the expected result.
It is hard to understand what you want to do.
You dont care about input, visualisation and design. Its ok. But you need to meet some criteria to be able to split your liner in two groups.
Raul
Start again at the beginning!
Thank you for taking time to solve my problem.
I'm looking to realize a two-color gradient from same line thickness.
I would like a solution where I get two lists based on the number of desired lines.
Example, if I have a height of 100 lines, lines 1,2, 3 ... 50.52, 54.57 ... will be blue and 100.99, 98 ... 51.49, 47.43 ... will be red.
maybe the image is more helpful
But if I chose a lot of lignes, to didn't see the lignes, visually.
More something like that!
Hopefully this is useful, it just uses stock components - currently set to the 42 line example - but if you change the "Duplicate data" number input and the "Series" Count input you can change this.
At the moment it just goes into the preview geometry component. However, if you download the (very useful) Human plugin or similar you'll be able to create these attributes and bake them into the rhino environment with these properties.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by