ellipse_to_occ
- compas_occ.conversions.ellipse_to_occ(ellipse)
Construct an OCC ellipse from a COMPAS ellipse.
- Parameters:
- ellipse
compas.geometry.Ellipse
The COMPAS ellipse.
- ellipse
- Returns:
gp_Elips
See also
Examples
>>> from compas.geometry import Ellipse >>> from compas_occ.conversions import ellipse_to_occ >>> ellipse = Ellipse(1, 0.5) >>> ellipse_to_occ(ellipse) <class 'gp_Elips'>