> For the complete documentation index, see [llms.txt](https://docs.dietrichs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dietrichs.com/holzrahmenbau-kompendium/prinzipien-des-hrb-systems/hrb-regelungen/bauteilsuche-bei-anschlussen.md).

# Bauteilsuche bei Anschlüssen

An den verschiedensten Stellen im HRB-Modul werden Anschlüsse hergestellt. Zum Beispiel zwischen Riegeln und den Pfosten oder zwischen den Pfosten und Schwellen / Rähmen. Dabei kann es verschiedene Situationen geben, die vom Programm möglichst automatisch erkannt und korrekt behandelt werden sollen. Daher wurden mit der V22.01 neue, klare und nachvollziehbare Regeln eingebaut:

<figure><img src="/files/V7kRkfbIua5yswYcaZhD" alt=""><figcaption></figcaption></figure>

Stab 1 endet nach dem Anschluss immer an der Spitze des roten Pfeils.

* A1, A2, A3: Sobald der anzuschließende Stab (Stab 1) mit seinem Ende ein Bauteil durchdringt oder bündig daran endet, wird dort angeschlossen. Ein weiter entferntes Bauteil wird ignoriert. Sobald ein Bauteil gefunden wurde sucht das Programm weiter, ob ein weiteres Bauteil die Regel erfüllt. Daher wird in Fall A1 und A2 nicht am oberen der beiden Rähme angeschlossen, sondern weiter geprüft, das zweite Rähm gefunden und dann dort angeschlossen.
* B1, B2: Wenn kein Anschlussbauteil gefunden wird, dann wird aus dem HRB-Anschluss die 'maximale Verlängerung zum Suchen' verwendet. Der Stab 1 wird um dieses Maß verlängert und im Verlängerungsbereich wird gesucht. Berührt oder durchdringt der Stab 1 dann ein oder mehrere Bauteile wird von diesen das nächste genommen. Das gilt auch dann, wenn der Stab1 das Bauteil 2 nur berührt, wie im Fall B2.
* C1: Wenn auch nach dem Verlängern kein Bauteil gefunden wurde, wird das nächste Bauteil genommen, auch wenn dafür der Stab1 verkürzt werden muss.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.dietrichs.com/holzrahmenbau-kompendium/prinzipien-des-hrb-systems/hrb-regelungen/bauteilsuche-bei-anschlussen.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
