Home › Forums › Urban Modeling and Simulation › UMS_Surface split script › Reply To: UMS_Surface split script
November 21, 2019 at 23:38 #14278
Reinhard Koenig
Keymaster
Dear Bardo,
have you tried using the line – circle intersection method?
https://developer.rhino3d.com/api/RhinoCommon/html/N_Rhino_Geometry_Intersect.htm#!
This post shows an example of how to use it:
https://developer.rhino3d.com/guides/grasshopper/simple-geometry-component/
This is the function:
Rhino.Geometry.Intersect.Intersection.LineCircle(line, circle, out t1, out p1, out t2, out p2)
Hope this helps. You can also use a Grasshopper component after your C# script and continue with another C# script, etc.
Best regards
Reinhard