COMPAS
  • Home
  • Docs
  • Extensions
  • Examples
  • Contribute
  • 1.0.0
  1. docs
  2. API Reference
  3. compas
  4. robots
  5. RobotModel
  6. RobotModel.iter_links

RobotModel.iter_links

RobotModel.iter_links()[source]

Iterator over the links that starts with the root link.

Returns

Iterator of all links starting at root.

Examples

>>> [l.name for l in robot.iter_links()]
['world', 'link1', 'link2']
  • Introduction
  • Installation
  • Getting started
  • Tutorial
  • API Reference
    • compas
      • datastructures
      • files
      • geometry
      • numerical
      • plugins
      • robots
      • rpc
      • topology
      • utilities
    • compas_rhino
    • compas_blender
    • compas_ghpython
    • compas_plotters
  • Extension points
  • Developer Guide
  • Changelog
  • Releases
  • License
  • Citing
  • RobotModel.iter_links
Previous
RobotModel.iter_link_chain
Next
RobotModel.load_geometry

COMPAS

A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.

Newsletter

Copyright © 2017-2020 compas-dev