

Numpy.ndarray of float – The 3D location of the mesh’s center of mass.

Where each row contains indices of vertices in Numpy.ndarray of int – A #tris by 3 array, Numpy.ndarray of float – A #verts by 3 array, uniform_com ( bool) – Whether or not to assume a uniform mass density for center of mass comp.center_of_mass ( numpy.ndarray of float) – The 3D location of the mesh’s center of mass.density ( float) – The density of the mesh.This list should contain one norm per vertex. normals ( numpy.ndarray of float) – A #normals by 3 array, where each row contains a normalized.The vertices array that are part of the triangle. triangles ( numpy.ndarray of int) – A #tris by 3 array, where each row contains indices of vertices in.vertices ( numpy.ndarray of float) – A #verts by 3 array, where each row contains an ordered._init_ ( vertices, triangles, normals=None, density=1.0, center_of_mass=None, uniform_com=False ) ¶Ĭonstruct a 3D triangular mesh. Numpy.ndarray of float – The 3D location of the mesh’s vertex mean (read-only). Numpy.ndarray of float – The 3D location of the center of the mesh’s minimal bounding box Numpy.ndarray of float – The 3x3 inertial matrix of the mesh (read-only). mass ¶įloat – The mass of the mesh (read-only). density ¶įloat – The density of the mesh. Numpy.ndarray of float – A #normals by 3 array, where each row contains a normalized Numpy.ndarray of int – A #tris by 3 array, where each row contains indices of vertices in Numpy.ndarray of float – A #verts by 3 array, where each row contains an ordered

Mesh3D ( vertices, triangles, normals=None, density=1.0, center_of_mass=None, uniform_com=False ) ¶Ī triangular mesh for a three-dimensional shape representation.
