hoops_ai.cadaccess.hoops_exchange.hoops_mesh
Classes
|
- class hoops_ai.cadaccess.hoops_exchange.hoops_mesh.HOOPSMesh(body)
Bases:
MeshAccess- Parameters:
body (Any)
- triangleCountPerFaceArray()
Returns amout of triangle forming each face
- Return type:
- vertexCoordinatesArray()
Returns the spatial Coordinates of each vertew.
- Return type:
- vertexIndicesPerTriangle(face_index)
Returns the vertex indices of a triangle in a face
The first three indices make the first triangle of face f, second group of 3 makes the second triangle and so on
obtain the coordinate and normal using the vertexCoordinatesArray and vertexNormalsArray
- Parameters:
face_index (int)
- Return type:
- vertexNormalsArray()
Returns the spatial Coordinates of each vertew.
- Return type: