Mesh¶
-
class
urdfpy.
Mesh
(filename, scale=None, meshes=None)[source]¶ Bases:
urdfpy.URDFType
A triangular mesh object.
Parameters: - filename (str) – The path to the mesh that contains this object. This can be relative to the top-level URDF or an absolute path.
- scale ((3,) float, optional) – The scaling value for the mesh along the XYZ axes.
If
None
, assumes no scale is applied. - meshes (list of
Trimesh
) – A list of meshes that compose this mesh. The list of meshes is useful for visual geometries that might be composed of separate trimesh objects. If not specified, the mesh is loaded from the file using trimesh.
Attributes Summary
filename
The path to the mesh file for this object. meshes
The triangular meshes that represent this object. scale
A scaling for the mesh along its local XYZ axes. Attributes Documentation