Grasshopper

algorithmic modeling for Rhino

Hi,

I'm sure I misunderstand how curve-curve intersection works.

I have two triangles and intersecting them skips points. They are both defined in Rhino by 4 clicks(, not just 3 + closing curve).

See attached screenshot.

Views: 764

Attachments:

Replies to This Discussion

It looks like it should have worked. Can you post the geometry?

--

David Rutten

david@mcneel.com

When I tried it in a new file it worked okay. However, here I'm running it parallel to my script and it's skipping points again.

I didn't post it into bug section because I'm sure I must be doing something wrong, so thank you David, for helping me out.

Attachments:

Hi Jonish, 

the absolute tolerance of your Rhino file is set to 1.0

The absolute tolerance tells Rhino to treat everything that is smaller than that number as irrelevant details. Typically, a good rule of thumb is to make your Absolute Tolerance at least 10 times smaller than the smallest geometric feature in your model.

Intersections in Rhino are tolerance based operations (if they weren't that intersecting 3D curves would almost never result in an answer). If you change the tolerance to a more reasonable 0.01, then refresh the Grasshopper solution (press F5 in GH) you should get all the intersections you expect.

--

David Rutten

david@mcneel.com

Thank you so much, David, that solved it!

(Sorry for being so lame!)

-jonas

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service