cone_to_occ

compas_occ.conversions.cone_to_occ(cone)

Convert a COMPAS cone to an OCC cone.

Parameters:
conecompas.geometry.Cone

The COMPAS cone.

Returns:
gp_Cone

Examples

>>> from compas.geometry import Cone
>>> from compas_occ.conversions import cone_to_occ
>>> cone = Cone(1, 1)
>>> cone_to_occ(cone)
<class 'gp_Cone'>