compas_occ.conversions
Arrays
Construct a one-dimensional float array from a list of floats. |
|
Construct a one-dimensional integer array from a list of integers. |
|
Construct a one-dimensional point array from a list of points. |
|
Construct a two-dimensional real array from a list of lists of floats. |
|
Construct a two-dimensional point array from a list of lists of points. |
|
Construct a list of lists of floats from two-dimensional real array. |
|
Construct a horizontal one-dimensional point array from a list of points. |
|
Construct a list of points from a one-dimensional point array. |
|
Construct a list of lists of points from two-dimensional point array. |
Primitives
Construct a COMPAS circle from an OCC circle. |
|
Construct an OCC circle from a COMPAS circle. |
|
Convert a COMPAS cone to an OCC cone. |
|
Convert an OCC cylinder to a COMPAS cylinder. |
|
Convert a COMPAS cylinder to an OCC cylinder. |
|
Construct a COMPAS frame from an OCC position. |
|
Convert an OCC line to a COMPAS line. |
|
Convert a COMPAS line to an OCC line. |
|
Convert an OCC plane to a COMPAS plane. |
|
Construct a COMPAS point from an OCC point. |
|
Construct a COMPAS point from an OCC 2D point. |
|
Convert a COMPAS plane to an OCC plane. |
|
Convert a COMPAS point to an OCC point. |
|
Convert a COMPAS plane to a right-handed OCC coordinate system. |
|
Convert a COMPAS plane to a right-handed OCC coordinate system. |
|
Convert a COMPAS sphere to an OCC sphere. |
|
Convert a COMPAS torus to an OCC torus. |
|
Convert an OCC axis to a COMPAS vector. |
|
Construct a COMPAS vector from an OCC vector. |
|
Construct a COMPAS vector from an OCC 2D vector. |
|
Convert a COMPAS vector to an OCC vector. |
|
Convert a COMPAS vector to an OCC direction. |
Transformations
Meshes
Convert a general COMPAS mesh to an OCC shell. |
|
Convert a COMPAS quad mesh to an OCC shell. |
|
Convert a COMPAS triangle mesh to an OCC shell. |
|
Convert a Ngon to a BRep face with an underlying best-fit surface. |
|
Convert a quad to a BRep face with an underlying ruled surface. |
|
Convert a triangle to a BRep face. |