Grasshopper

algorithmic modeling for Rhino

Hi guys. I have a problem: I don't know why GSH doesn't recognize the first point at lower left in 3RD LAYOUT, 1ST and 2ND are right. Hope that someone could help me.

Views: 721

Attachments:

Replies to This Discussion

I tried do substitute POLYGON CENTER with AREA, it works only for 2/6/9 item, but i need that all match. I don't know why I can't solve this.

Anyone? Maybe it's easy for you!! ;-)

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.

Attachments:

Now i changed to meters.

Change the absolute tolerance settings drawing units is not important.

I don't know why, but it works randomly... maybe there isn't a solution :-(

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service