BTLxPart.ref_side_from_face

BTLxPart.ref_side_from_face(element_face)[source]

Finds the one-based index of the reference side with normal that matches the normal of the given element face.

This essentially translates between the element face reference system to the BTLx side reference system.

Parameters:
element_faceFrame

The frame of an element face from element.faces.

Returns:
keystr

The key(index 1-6) of the reference surface.