Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I am trying to use grasshopper function like find Discontinuity of a curve when writing python script. Is there any way to do this? Do I need to say " import Grasshopper as Gh" or something? Then what should I do next in order to use the function? 

Thank you.

Views: 1600

Replies to This Discussion

Hi Nezumi,

Grasshopper components use RhinoCommon methods.
In this case it's the Curve.GetNextDiscontinuity you are looking for.
You can also use the rhinoscriptsyntax CurveDiscontinuity function.

And ghpythonlib.components.Discontinuity function. The later two call the first method.

Hi,

That is really helpful. Thank you!

Cheers,

Zumii

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