# Combine Panels

After HRB assignment, executing combined elements, or further manual panel processing, panel pieces sometimes arise that could be consolidated into a larger panel. In the wall construction module the new function "5-03 Merge panels" can do this automatically according to the settings:

* A list displays the identification numbers for which panels should be merged.
  * For each identification number the maximum panel width and the maximum panel length are specified. Two or more panel parts are merged as long as these maximum dimensions are not exceeded.
  * It is also specified whether panels may be rotated for merging.
  * Because panels are often entered with gaps, the program must also search for panels that do not touch. Therefore a value is specified for the maximum distance the panels may have. Only when panel edges lie closer than this value will an attempt be made to merge those panels.
* The settings made can be saved, recalled, and managed using the usual procedure (SaveDefaultSettings). It is possible to define favorites for the icon bar.
* When the "Merge panels" button is triggered, the panels in the current wall are merged according to the settings.
* Prerequisites for panels to be merged:
  * Panels must have the same identification number and belong to the same MOS group.
  * The viewing surface of the panels must be parallel to the wall. However, the longitudinal orientation of the panels does not need to be identically aligned.
  * The panels must have the same thickness.
  * The panels must have parallel edges with a maximum distance as specified in the settings. The shorter of these edges is shifted to the parallel edge of the other panel for merging and united there.
  * The following rules apply here to cover some practical situations in which merging is not permitted. These situations occur particularly when panels in HRB are to be aligned to windows and doors:

<figure><img src="https://1294550180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0t0AJ2HDudwBgiGFR59Q%2Fuploads%2FenFyjHLKd3IuVZPkjC66%2Fgrafik.png?alt=media&#x26;token=10e31cfa-a8ee-4c28-97c8-f74681814e0b" alt=""><figcaption></figcaption></figure>

* The shorter edge must overlap at least 90% of the other edge (left side left window).
  * The edges must not lie within the bounding rectangle of either panel (right window).
  * The merged panel must not exceed the specified maximum panel width and length.

When panels are merged with this function, machine operations are retained and transferred to the united panel. Only at the edges where the panels are connected is the shape changed. Other shapes, recesses, and openings in the panels are also retained.

* Note how processing affects the merged panel. Example: cutout at a longitudinal edge or end cut:
  * If the cutout or end cut is located on an external longitudinal edge, it will continue to affect only that longitudinal edge after merging:\
    ![](https://1294550180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0t0AJ2HDudwBgiGFR59Q%2Fuploads%2FkU81L1hXitBzZ2QLpWhs%2Fgrafik.png?alt=media\&token=e04b49a0-535a-46fd-98ad-fb0c62e07e8d)
  * If the cutout is on an edge where the panels are united, it will affect the entire merged panel:\
    ![](https://1294550180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0t0AJ2HDudwBgiGFR59Q%2Fuploads%2Fv19cel0OIH08eyuZP4kM%2Fgrafik.png?alt=media\&token=e03e6ef1-ad14-4a28-b8ec-3a15cc42ef1a)
  * For such operations the machine processing should be deleted beforehand while retaining the graphical representation (*Wall construction 6-1-3 delete by bar*). As a result, the original shapes are then united:\
    ![](https://1294550180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0t0AJ2HDudwBgiGFR59Q%2Fuploads%2FJLwjRaQQ97uIk4gv28Nk%2Fgrafik.png?alt=media\&token=51da4bfc-8b8f-49fd-b2dd-9301f9df8111)
  * The cutouts for doors and windows are automatically created only as shapes and not as machine operations. They accordingly remain when merging:\
    ![](https://1294550180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0t0AJ2HDudwBgiGFR59Q%2Fuploads%2FWfm5YURcYoR8FwxT0Gwu%2Fgrafik.png?alt=media\&token=38cfb0ed-7155-4999-8ebd-90be79550fde)

A call to the function has also been included as the final step in the HRB assignment dialog. There a setting for merging panels can be chosen. Then this function is triggered after the preceding steps (assign HRB, recalculate type 4 operations, execute combined elements).
