Answers for "how to find perpendicular slope"

10

how to write a perpendicular equation with given points

Sorry that you have to do math as will.
Posted by: Guest on January-12-2021
0

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)
Posted by: Guest on March-19-2021

Code answers related to "how to find perpendicular slope"

Browse Popular Code Answers by Language