algorithmic modeling for Rhino
If you can provide a Rhino 4. version would be helpful.
If in the third layout the lower left point is the element with index 1 or 2 then
my guess is that you have to change the precision settings of your rhino file or move the points so that the x,y,z coordinates only have integer values or do both.
Sort Points sorts points by X, then Y, then Z. This means that if two points have the exact same X coordinate, then Y becomes important. If the points do not have the same X (even if they are only one ten-millionth of an electron apart) then one of them will sort before the other. When you sort an aligned grid like this you will most likely run into tiny rounding errors that will give you a seemingly nonsensical sort order.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
nicely explained ....
Talking about it, does sorting of points uses the document tolerance settings?
No, tolerance is not used in the sorting algorithm.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Sorry, this is a Rhino 4 version.
Change the absolute tolerance settings drawing units is not important.
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