Skip to main content
Ctrl+K
Logo image

COMPAS docs

  • Introduction
  • Installation
  • Tutorial
  • Examples
  • API Reference
    • API Reference
  • License
COMPAS.dev
  • API Reference
  • ToolModel
  • ToolModel.get_link_visual_meshes

ToolModel.get_link_visual_meshes

ToolModel.get_link_visual_meshes(link)[source]

Get a list of visual meshes from a Link.

The origin of the visual meshes are transformed according to the element.origin of the Visual nodes. This means that the returned mesh will match with the link’s origin frame.

Parameters:
linkLink

The link to extract the visual meshes from.

Returns:
list of Mesh

A list of visual meshes belonging to the link The list is empty if no visual meshes are found.

Notes

Only MeshDescriptor in element.geometry.shape is supported. Other shapes are ignored.

On this page
  • ToolModel.get_link_visual_meshes()

© Copyright COMPAS Association.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.13.3.