TButtJoint.get_face_most_ortho_to_beam
- static TButtJoint.get_face_most_ortho_to_beam(beam_a, beam_b, ignore_ends=True)[source]
Of all the faces of beam_b, returns the one whose normal is most orthogonal to beam_a.
This is done by calculating the inner-product of beam_a’s centerline which each of the face normals of beam_b. The face with the result closest to 0 is chosen.