BTLxPart.ref_side_from_face

BTLxPart.ref_side_from_face(beam_face)[source]

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

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

Parameters:
beam_faceFrame

The frame of a beam face from beam.faces.

Returns:
keystr

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