Grasshopper

algorithmic modeling for Rhino

I am looking for a way to analyse deviation between two curves just like the Rhino command (Analyse->Curve->Deviation). Can anyone suggest ways of accomplishing this in Grasshopper?

Views: 2459

Replies to This Discussion

I don't think this can be done through standard components, since its solved easiest through recursion. Through a scripting component it shouldn't be that hard. Are you looking for minimum or maximum deviation?
Hi Damien!

Maximum deviation, please. Thanks!
Well its just some quick copy editing for both, so here you go ;) I separated these out into separate functions and separate components so that it only calculates what you need.
Attachments:
This worked quite well! thank you so much! It is perfect!

Hi Damien this is brilliant thanks a lot!

Is there an easy way to use the script with a list of curves instead of two?

I get null values for now.

Also I got these error messagee when I opened the script and pressed ok:

Attachments:

Attached is a component that does the min/max checks using rhino's built in curve deviation calc.  Works well if the curves are approximately aligned

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service