I am new to grasshopper. This is a very silly issue, but when I populate the offset curve of rectangular cells and try to pick a single segment by listing items, the offset line segment is completely randomized; it changes with the change of distance and also the size of rectangular cells.
Is there any way to pick the segments that will remain constant throughout the grid cells? I have tried reparametrizing, simplifying, or grafting without knowing much about what they do, but no outcome made any difference.
I don’t got the same CurveOffset component, not sure why you use that one specifically and not the GH native one. Anyways all you had to do was flatten the CurveOffset (see picture/video below)
My bad I didn’t realize it wasn’t a native one, but I only switched to another available one when the native offset-curve won’t work, Here is the script rendered just like yours, but I still face the same problem.
And i have also uploaded the GH file, can you check if the script works on your device? i can’t identify what the problem is.
This doesn’t seen to work on mine, 1st one named “offset trial_2024Apr15a.gh” did work but the moment the offset has the negetive expression in the same file it started acting weird. So i downloaded and opened “offset trial_2024Apr15b.gh” too and it has the same problem.
No i can open the files, doesn’t work means the same issue persists and the list item is picking random segments, i attached the screenshot so you can understand the problem is still there
The reason I forgot the point is because versions ‘a’, ‘b’ and ‘bb’ in R7, using the standard GH Offset Curve component, don’t exhibit the problem. R8 is where there is a problem. Version ‘a’ in R8 shows the left edge of each cell instead of the bottom edge in R7. Versions ‘b’ and ‘bb’ in R8 with “-x” expression are not consistent from cell to cell about which edge is highlighted, so maybe there is yet another R8 issue here.
But I never worry about bugs or “why” questions, I routinely sort geometry to get consistent order, as I did in versions ‘c’ and ‘cc’.
Thank you so much!! I also noticed the negative value messes up the consistency, and I opened previous ‘a’, ‘b’, files, including my ones in Rhino 7, and yes, they work just fine! Thank you for clarifying the bug within R8 and the geometry sorting script in ‘c’.
This is the same as yesterday’s version ‘cc’ with Value List(blue group) and Stream Filter added. ‘Sorted’ is the same in both R7 and R8, ‘Unsorted’ is not.