# 3.1.6.4: 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 cases, it would be cumbersome to convert this information into geometric entities only to feed it into the **“LineToBeam”** component, which reverses the previous step. The **“IndexToBeam”** component (see Fig. 3.1.6.4.1) accepts a pair of lists of node indexes and produces beams with default properties. This approach speeds up model generation considerably, as there is no need to compare nodes for coincident coordinates.

<figure><img src="/files/yKsewdwryyG1WDIksjXG" alt=""><figcaption><p>Fig. 3.1.8.1: The “IndexToBeam”-component lets you directly define the connectivity information of beams.</p></figcaption></figure>

The **“IndexToBeam”** component allows for the definition of zero-length elements, which is useful when you want to connect elements that touch but should not be rigidly connected (think of a scissor – see section 3.3.3 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-create-linear-element/3.1.6-line-to-beam.md)[.1](/3-in-depth-component-reference/3.1-model/3.1.6-create-linear-element/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.karamba3d.com/3-in-depth-component-reference/3.1-model/3.1.6-create-linear-element/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.
