compas_frame_from_occ_position

compas_occ.conversions.compas_frame_from_occ_position(cls, position)[source]

Construct a COMPAS frame from an OCC position.

Parameters
  • cls (Type[Frame]) – The type of COMPAS frame.

  • position (gp_Ax3) – The OCC position.

Returns

Frame