I have a grasshopper question. My main task has been to map earthquakes for the last 100 years in Bangladesh. I have managed to map the location of the previously mentioned earthquakes and I have altered the icon pinpointing the epicentres by associating a + sign to them.
I have also set out to change their size depending on their magnitude. I am now hitting a wall with associating colour to the + shaped curves depending on the magnitude. There seems to be a problem with my range of magnitude. Supposedly the scale component is picking up a 0 somewhere. I have checked the CSV files, without finding a single 0 magnitude earthquake there. I don’t know if the issue comes from there…
Perhaps someone here will find what has eluded me for so long now.
There is no error on your script, just enable preview on your last component and diable the others.
As you remap value from [1.7 to 8.6] to [0 to 20] 1.7 becomes 0.0 => so the problem of scaling.
Just remap correctly for scaling and it will be OK.
The part I added whas just useful for me to understand where was the problem. You can delete that.
Grasshopper script can store geometry text Colors … so you don’t need 3dm. If you right click on curve where you get the cross you can click on internalise. So your script will no more need 3dm.
Hope it is clear.