Probably an easy question regarding rhino.python but after a few hours I am still not able to do it.
I have a slanted line and i would like to add line perpendicular to the existing line.
Can you please give me some hints how this can be done?
In screenshot above the black line is the “existing” line and the red one is the one i would like to draw.
Find the tangent direction on the curve at the point you want to add it. Take the vector outer (cross) product of the tangent direction with the cplane normal. This is the direction of the line.
VectorCreate is not the way to go (stupid Python) but I hope you understand that I want to take the cross product of the (0,0,1) vector and the tangential vector.