LocalPackageMeshLoader

class compas.robots.LocalPackageMeshLoader(path, support_package)[source]

Bases: compas.robots.resources.basic.AbstractMeshLoader

Loads suport package resources stored locally.

Attributes
  • path (str) – Path where the package is stored locally.

  • support_package (str) – Name of the support package containing URDF, Meshes and additional assets, e.g. ‘abb_irb4400_support’

Methods

build_path

Returns the building path.

can_load_mesh

Determine whether this loader can load a given mesh URL.

load_mesh

Loads a mesh from local storage.

load_urdf

Load a URDF file from local storage.