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(*path_parts)

Returns the building path.

can_load_mesh(url)

Determine whether this loader can load a given mesh URL.

load_mesh(url)

Loads a mesh from local storage.

load_urdf(file)

Load a URDF file from local storage.