compas_occ.conversions
Arrays
Construct a one-dimensional float array from a list of floats. |
|
Construct a two-dimensional real array from a list of lists 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 point array from a list of lists of points. |
|
Construct a list of lists of floats from two-dimensional real array. |
|
Construct a list of points from a one-dimensional point array. |
|
Construct a list of lists of points from two-dimensional point array. |
Primitives
Convert a COMPAS point to an OCC point. |
|
Construct a COMPAS point from an OCC point. |
|
Convert a COMPAS vector to an OCC vector. |
|
Convert a COMPAS vector to an OCC direction. |
|
Construct a COMPAS vector from an OCC vector. |
|
Convert a COMPAS line to an OCC line. |
|
Construct a COMPAS frame from an OCC position. |
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. |