Horje
draw perpendicular line from the point of curve rhinoscriptsyntax Code Example
draw perpendicular line from the point of curve rhinoscriptsyntax
curve = rs.GetObject()
points = rs.GetObjects()
length = 50
for point in points:
    pt = rs.coerce3dpoint(point)
    param = rs.CurveClosestPoint(curve, pt)
    normal = rs.CurveNormal(curve)
    tangent = rs.CurveTangent(curve, param)
    curveNormal = rs.VectorCrossProduct(normal, tangent)
    rs.AddLine(pt, pt - curveNormal * length)




Whatever

Related
get collection select qurey Code Example get collection select qurey Code Example
nodemon not detect any file chages in linux Code Example nodemon not detect any file chages in linux Code Example
nl meaning Code Example nl meaning Code Example
swagger logando Code Example swagger logando Code Example
cisco call drop troubleshooting Code Example cisco call drop troubleshooting Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7