Get vector on Brep Edge following surface

Hi guys,

I’m looking for a way to get the vector on a specific point on a brep edge. How do I do that? I found TangentAt, but that only provides me the vector which runs along the brep edge. Or?

I assume there is some kind of built-in way, since it shows those vectors when you have 2 surfaces that have the same position on an edge. When using a command like DupEdge it indicates which surface edge you will select by showing those arrows along the direction of the surface (which I am trying to get as a vector).
Anybody an idea how to get these?

Hi @siemen,

Without digging into the code, you shoudl be able to take the cross product of the curve tangent and the surface normal. You may need to reverse the results to get the direction correct.

– Dale

Hi @dale,

That’s it, thanks a lot!