algorithmic modeling for Rhino
hi all,
I am wondering how to get the curve parameter that results from my LinePlane intersection.
Actually it returns me d = -1
my code:
Private Sub RunScript(ByVal plane As Plane, ByVal line As Line, ByRef A As Object)
Dim d As Double
d = rhino.Geometry.Intersect.Intersection.LinePlane(line, plane, doc.ModelAbsoluteTolerance)
End Sub
thanks for your help
Tags:
well I should precise my question:
I know that I should get my intersection point using the following code
line.pointAt(d)
but which is weird is that d=-1 and my plane and point intersect...so it should be d= something between 0 and 1
any suggestions ?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by