# Connecting the Point Cloud

The connection of the point cloud takes place in the DICAM, the free construction.

#### position and the icon bar <a href="#position-anlegen-und-die-iconleiste" id="position-anlegen-und-die-iconleiste"></a>

* *Create New Item 001 in Project*

We create a new project and position. A specific template is not required. In the Free Design model area, we add the icons of the point cloud (function 1 – 7 – 3) to the icon bar, if not available.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FBtPhmrojVBPY3xSQenwr%252F01_Iconleiste.png%3Falt%3Dmedia%26token%3D21617dde-75ff-41f5-a818-9c86eb295b40\&width=768\&dpr=4\&quality=100\&sign=eddf7958\&sv=2)

#### Connect Point Cloud <a href="#punktewolke-verbinden" id="punktewolke-verbinden"></a>

`Modellbereich DICAM`

We open the dialog to connect the point cloud. Either via the new icon or the function from the menu.

* *1-2-05 "Connect point cloud"*
* *Use the browser button to select the point cloud "Treppenhaus.e57" in the unzipped folder*

The transformation values are automatically determined in order to place the center of the source file on the origin of the Dietrich's project.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FMAaSKqVDfBin1it6zCmp%252F02_Verbinden_01.png%3Falt%3Dmedia%26token%3Df5f7dc26-2fa0-433b-af1c-3eb89401e3b0\&width=768\&dpr=4\&quality=100\&sign=e3ef783e\&sv=2)

The number of points in the source file is displayed. In our file, just over 8 million.

#### Align filters <a href="#filter-zum-ausrichten" id="filter-zum-ausrichten"></a>

By selecting a filter, the number of points can be reduced. For such a small file as the sample file, this is not mandatory. However, we want to choose the process here that is also practicable for very large files.

* *We choose the filter: Orientation cell 5cm*
* *Open Filter Setting for Editing*
* *If 1 is not yet entered, then enter it in the field before "Merge cell to point"*

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FRlpEIY2WCkQS3GYyXCtk%252F03_Filter_Ausrichten.png%3Falt%3Dmedia%26token%3Dada62dc4-c3c6-4b81-a53d-55136dad29e3\&width=768\&dpr=4\&quality=100\&sign=9dbdba73\&sv=2)

We'll only use the "Merge Points to Cell" filter. To use it, we enter a "1" in front, which indicates the order in which the filters pass.

This filter combines all points that lie in a cube with the specified edge length / cell size into one. Roughly simplified, we get one point every 5cm with this setting.

This reduction of the points allows the point cloud to be quickly aligned and clipped (cropped).

For larger projects, this value should be set larger. For example, 10cm, see saved setting "Alignment Cell 10cm" or even larger.

The other filters are rather rare to use. They can be used to filter out statistical outliers and individual outliers. This calculation is extremely time-consuming, but offers good results for scans with glitches in which there are implausible points.

* *Filter dialog box confirm with "Ok"*
* *Set all reductions to 0 (if values are entered here)*
* *Button "Reduce Point Cloud (ClipBox) and Apply Filter"*

By reducing it to 0, we get the complete geometric point cloud. By clicking on the button selected afterwards, we start the calculation.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252F9OUPvuppvu588mbWrVKt%252F04_Punktewolke_reduzieren.png%3Falt%3Dmedia%26token%3Dad0614e7-b06b-445f-9d75-3a0bd9d2303b\&width=768\&dpr=4\&quality=100\&sign=20fcabba\&sv=2)

The 6 scans of the e57 file are read in and the filters are applied. This process can take several minutes, depending on the size of the file, the settings of the filters, and the hardware. This will be displayed in the progress window. After the run, we see the result of our filter setting below. The number of points through Clip Box is unchanged because we didn't use clipping. The "Orientation Cell 5cm" filter has reduced the points to about 123,500.

* *We close the "Connect point cloud" window with OK and can view the reduced point cloud in the free construction.*

#### Transformation <a href="#transformation" id="transformation"></a>

* *9-1-2 "Basic View" to get into the top view*

In the top view, it can be seen that the alignment is not yet usable.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FWe6dg0GzuDzgJ5BGRedU%252F05_Draufsicht1.png%3Falt%3Dmedia%26token%3Dc75bfa4f-55a7-47fc-a411-53f48b71d623\&width=768\&dpr=4\&quality=100\&sign=90ea37b0\&sv=2)

As in the picture below, the orientation should look like in the end. The upper edge of the finished floor of the ground floor should correspond to the height of 0.00.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252F40kAwCcy3hTGneTpgTVz%252F06_Ziel.png%3Falt%3Dmedia%26token%3D6575a019-d992-4ffe-b19c-ed62b31bd5af\&width=768\&dpr=4\&quality=100\&sign=ee9fd254\&sv=2)

**Transformation by Rotation Angle Z**

To make the alignment, we switch again to the dialog for connecting the point cloud.

* *1-2-05" Connect point cloud*

In the first step, we want to define the X-direction of the point cloud in the program. To do this, the point cloud must be rotated around the Z-axis.

* Click on "Measure" button behind "Transformation Rot.winkel Z:"

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252F4rKfLOT18jFLccubQhk1%252F07_Transformation_Rot_Z.png%3Falt%3Dmedia%26token%3Dfa07b0fe-fdab-4459-bf73-eb94265db34f\&width=768\&dpr=4\&quality=100\&sign=4557f725\&sv=2)

With this function, we can cut out a horizontal slice from the point cloud to determine the orientation more easily. The values can be entered here or accessed in the page view.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FZalJZR7yDvsJSxVMu0gz%252F08_Transf_Z_Ausschnitt.png%3Falt%3Dmedia%26token%3D0bffa9e3-cbb7-4d2a-b55b-b5abb8a20589\&width=768\&dpr=4\&quality=100\&sign=5128a94b\&sv=2)

* "*Measure" button to grab the values*
* *Choose two points to get a disc with a thickness of about 1m*
* *Confirm the excerpt with "Ok"*

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FIF0g8XmeUW0sPp5J4mWU%252F09_X_Richtung.png%3Falt%3Dmedia%26token%3D9b33457a-9d41-4e92-a8ee-859fa37a2db3\&width=768\&dpr=4\&quality=100\&sign=35dc5a9a\&sv=2)

After confirming the cutout, we determine the orientation.

* *Select point 1 and point 2 that should correspond to the X-axis*

These points should be as far apart as possible to compensate for inaccuracies caused by the selected points.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252Ftn4uQh9LGmKw8gjkUjky%252F10_X_Ausrichtung_Punkte.png%3Falt%3Dmedia%26token%3D2ba5a6dd-a469-40b2-b687-faa3f6367bd2\&width=768\&dpr=4\&quality=100\&sign=b608e015\&sv=2)

We get back to the "Connect Point Cloud" dialog box. The angle of about -13 degrees is now in the corresponding field.

If an alignment according to the Y-direction or any known angle is desired, this can simply be added up here. The calculator is also available here.

In the background, we can already see the rotated point cloud.

**Transformation in the X and Y directions**

We stay in the dialogue, followed by the 2nd step, the shift in X and Y direction.

* *"Measure" button at "Transformation Position X"*

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252F4ls3dIaAj38d3EcwNdvt%252F11_Transformation_inXuY.png%3Falt%3Dmedia%26token%3D24691bbb-8405-4b63-b94d-a5184ce31440\&width=768\&dpr=4\&quality=100\&sign=4e9baa98\&sv=2)

We get back into the dialog for cutting out a horizontal slice, as in determining the rotation around Z.

The values from the rotation are still stored and we can take them over with OK, or enter them again or grab them.

* *Confirm values with "Ok"*

A window will appear again explaining the next queries. First, the reference point in the structure is queried, then the points of the point cloud in X and Y, which should correspond to this point in the structure.

* *Mouse-Right to select the origin 0, 0 in the building*
* *Select point of the point cloud that corresponds to the X value of the building reference point*
* *Select point of the point cloud that corresponds to the Y-value of the building reference point*

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FgrswAs4y1W67i7UkalKN%252F12_Transformation_XuY_Punkte.png%3Falt%3Dmedia%26token%3Dc24f6e38-b8a5-44df-8967-8cc87777aaee\&width=768\&dpr=4\&quality=100\&sign=15200e4a\&sv=2)

**Transformation in the Z-direction**

We close the dialogue and look at the result in DICAM.

* *Close dialog with "Ok"*
* *9-1-4 "View" to view the result from the side*

Here it is visible that the origin is still above OKFF EG.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252F9lLzfDLcHXMFjJ65lugN%252F13_Transformation_Z_Ursprung.png%3Falt%3Dmedia%26token%3Dc20c423d-556c-4df4-bca9-26dd59343efe\&width=768\&dpr=4\&quality=100\&sign=c176c329\&sv=2)

Again, we can cut a slice out of the point cloud to determine the point. To determine the height, it is a vertical disk. For this reason, the direction of intersection is also queried for this determination. You can choose between the X and Y directions.

* *1-2-05" Connect point cloud*
* *"Measure" button at "Transformation Position Z"*

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FuCUkIEmdEWKqIiWpD7XP%252F14_Transform_Z.png%3Falt%3Dmedia%26token%3Dd4d0f27f-cae4-4847-adfd-f3a431df1403\&width=768\&dpr=4\&quality=100\&sign=86c6fd96\&sv=2)

* *Select cutting direction X*
* *Two points above the stairs*

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FpVaGxNtT390J8SUanesO%252F16_Transform_Z_Richtung_Punkte.png%3Falt%3Dmedia%26token%3Db9e014f3-cd74-4baf-98ef-49217c2e9ef5\&width=768\&dpr=4\&quality=100\&sign=79005899\&sv=2)

The following is an explanation of the next queries. As a reference point in the building, we select the origin by clicking the right mouse button. Then we use the mouse to grab a point in the left area of the ground floor.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FbScJNIXeHNwcFJcUKxWl%252F17_Transform_Z_Abfrage.png%3Falt%3Dmedia%26token%3Dc6034256-66c0-4217-a771-50ad83edf253\&width=768\&dpr=4\&quality=100\&sign=aff6b955\&sv=2)

* *Mouse-Right for Origin*
* *Select point in the left area of the ground floor*

The transformation is thus complete.

#### Scenes <a href="#scenen" id="scenen"></a>

After a review in DICAM, we determine the correct alignment of the point cloud in the structure. We would like to save this intermediate status as a result. We are talking about a scene here.

Especially with larger point clouds, it makes sense to have different sub-areas available later as individual scenes. This scene can then always be used for creation. Scenes are stored in the directory of the source file, they can also have a significant file size depending on the number of points. The scenes can also be loaded without an existing source file, which makes it easier to pass on the point cloud to other Dietrich's users. Without a source file, no changes can be made to the scene.

The loading of a scene takes place without calculations and thus works without loss of time. When the project is closed, the last state is saved as a temporary scene, so that the last state is always available without calculation.

* *1-2-05 "Connect point cloud"*
* *"Save Scene" function*

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252Fw62ZbzF5FOhO2Ja8YG05%252F18_Scene.png%3Falt%3Dmedia%26token%3D3abe7226-83d6-49b8-ae49-250ad40383c3\&width=768\&dpr=4\&quality=100\&sign=fe89c083\&sv=2)

Saved scenes can be loaded using the "Apply Saved Scenes" function.

#### Clipping the point cloud <a href="#clippen-der-punktewolke" id="clippen-der-punktewolke"></a>

By clipping, the point cloud can be geometrically reduced, i.e. cut to size. For the reduction, we have the three main axes X, Y and Z at our disposal. If both clipbox boundaries are set to zero, this direction will not be reduced.

We want to choose the area of the stairs from the ground floor to the upper floor. The values can be re-entered here or conveniently accessed via the buttons.

* *"Measure" button to grab the points for the reduction from X to X*

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252Fu1246EWmYOnKEcmX6VNj%252F19_Reduzieren.png%3Falt%3Dmedia%26token%3D032a3715-6a41-4ef6-9f55-04e7295bb809\&width=768\&dpr=4\&quality=100\&sign=76ee30fc\&sv=2)

* *Select X-points to the left and right of the stairs*
* *"Measure" button to pick up the points for the reduction from Y to Y*
* *Select Y-points below and above the stairs*

The view automatically jumps to the top view. The order is arbitrary, both the minimum and the maximum can be selected.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FazUEQchN9z1cZkO4Uwu4%252F20_Reduzieren_XuY.png%3Falt%3Dmedia%26token%3Dcd2dfc62-217c-461b-8550-e6d55a8b2f10\&width=768\&dpr=4\&quality=100\&sign=bbec16a1\&sv=2)

Clipping in Z "Reduction of the point cloud from Z to Z" is done in the same way. The view switches to the front view (ZoX).

* *"Measure" button to pick up the points for the reduction from Y to Y*

Here it is difficult to pick up the corresponding point on the ground floor floor.

* *Select a nearby point*
* *Correct the value in the mask to 0.1, which corresponds to the point on the floor*

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252F56TvBYabu8lbJcXlmj5b%252F21_Reduzieren_Z.png%3Falt%3Dmedia%26token%3Dd233f6bd-f089-436a-ad94-869060958c2c\&width=768\&dpr=4\&quality=100\&sign=9fafa55d\&sv=2)

To see the result in detail, we change the filter setting to "Detail Cell 5mm".

* *Filter settings on "Detail Cell 5mm"*
* *"Reduce Point Cloud (Clipbox) and Apply Filter*

After checking in DICAM, we save this scene under "Detail Stairs".

* *Close the dialog with "Ok", check it in DICAM and then connect it in the point cloud Save the scene as "Detail\_Treppe"*

#### Unconnect to point cloud <a href="#verbindung-zu-punktewolke-losen" id="verbindung-zu-punktewolke-losen"></a>

The point cloud can be detached again by checking the box for connecting the point cloud. In front of the path of the e57 file you will find this checkmark, which will detach the point cloud from the project.

![](https://docs.dietrichs.com/~gitbook/image?url=https%3A%2F%2F2167432514-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FWEXuUExDEsZKss2R6ZV9%252Fuploads%252FFO2N5qB9fVhBSqRzv4fB%252F22_Punktewolke_L%25C3%25B6sen.png%3Falt%3Dmedia%26token%3D8472a19c-d7e1-4783-890b-20beba3dce0f\&width=768\&dpr=4\&quality=100\&sign=b04de53b\&sv=2)

The fastest way to reconnect is to take over a saved scene, as no new calculation is required in this case.
