# 3.1.8: Index to Beam

Sometimes the initial geometry is already given as a set of points and two lists of node-indexes with one entry for each start- and end-point of beams respectively. In such a case it would be cumbersome to convert this information into geometric entities only for feeding it into the **“LineToBeam”**-component which reverses the previous step. The **“IndexToBeam”**-component (see fig. 3.1.8.1) accepts a pair of lists of node-indexes and produces beams with default properties from it. This speeds up model generation considerably for there is no need to compare nodes for coincident coordinates.

![Fig. 3.1.8.1: The “IndexToBeam”-component lets you directly define the connectivity information of beams](/files/-MCkEZZirfhMP1ieJZd9)

The **“IndToBeam”**-component makes it possible to define elements with zero length. This proves useful in case you want to connect elements that touch each other but should not be rigidly connected (think of a scissor – see section [3.3.3](/3-in-depth-component-reference/3.3-cross-section/3.3.3-spring-cross-sections.md) about springs).

The input-plugs **“Z-Ori”**, **“Color”**, **“Id”** and **“CroSec”** have the same meaning as for the **“LineToBeam”**-component (see section [3.1.6](/3-in-depth-component-reference/3.1-model/3.1.6-line-to-beam.md)).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual-2.karamba3d.com/3-in-depth-component-reference/3.1-model/3.1.8-index-to-beam.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
