Find the next step in your career as a Graphisoft Certified BIM Manager!

Importing Point Clouds and Modelling the Terrain

Vimal Kumar
Graphisoft
Graphisoft

openpitmine.jpg

 

A quick way of inserting the representation of the terrain to our model is using the point cloud import feature of Archicad. Point clouds are more and more popular since they can give the most detailed surveying results, however at the same time need some touch up for architectural BIM use. They are only used as references to model the terrain meshes which – compared to the point cloud – will:

  • be native Archicad elements with significantly smaller size
  • no longer contain excessive number of points that might slow down navigation
  • have solid bodies for proper representation in all viewpoints
  • be used for quantity takeoffs and visualization purposes.

 

The workflow is quite simple despite the number of steps: we need to import the point cloud file, mark several points to list the coordinates of these, then generate the mesh based on the text file saved from the listing. Sounds easy, but might need some attention as we need to make point clouds, Archicad coordinate elevations/altitudes, scheduling and Excel work together in a smart way.

Let’s start by importing the point cloud into an empty Archicad file that has 0.00 as project altitude (AMSL) – the default setting of the out-of-the box template that comes with Archicad. There are many formats available, Archicad supports two of the most common ones: .xyz and .e57. To demonstrate the workflow we used the open mine pit sample file from here, which includes a scanned area of approximately 1 square kilometer and millions of scanned points in a 600+MB file – a piece of cake!

1., Use File/Interoperability/Import Point Clouds to select the file you want to import. In the Create Point Cloud dialog you can create or place the point cloud immediately after creation. Creating means that the point cloud will be converted into an object and will be added to the libraries. Place the point cloud.

Depending on the object itself and its settings, it might happen that it is not visible on any of the floor plans right away. Locate it in 3D, you can see in the settings dialog where the bottom value is: the depth of the pit is 579.859 metres, the bottommost point of the pit is at AMSL +2649.270m and topmost point at 3229.129 metres, but it is floating above the Project Zero. When creating the final terrain, we need to make sure that the Level Dimensions show the right values.

screen-shot-2016-02-05-at-11-14-19.png

 

2., Let’s position the point cloud vertically according to Project Zero. Whatever value we choose to offset the object with, the same amount has to be applied with the value of the opposite sign as a project altitude setting.

screen-shot-2016-02-05-at-11-40-21.png

 

For example if our Project Zero should be around the top of the pit, e.g.: AMSL +3100, then we can simply drag it downwards in 3D or section by 3100 metres.

3., This will make the terrain and the Project Zero relation correct, but will affect the altitude values which we need to fix in the Project Location settings by adding the same amount as a plus (if you elevate the terrain upwards, the project altitude must be offset with a minus sign).

screen-shot-2016-02-05-at-11-45-53.png

 

This way our Project Zero will be elevated to the desired altitude without the positioning being affected.

screen-shot-2016-02-05-at-11-40-21-2.png

 

4., Let’s populate the terrain with the 3D instances of the Coordinate Object. Only these can adapt to the 3D faces of any element, the regular Level Dimensioning tool will not work as it can only be gravitated to specific elements. In order to be able to list the coordinates, you need to use the Coordinate Dimension object.

If you change its Show Height from value to Altitude you can actually check the vertical/altitude values once the objects are placed.

screen-shot-2016-02-05-at-12-27-33.png

 

5., Place it to areas what you want to model. You may use the Marquee selection or 3D Cutaways to reduce the area in 3D. Place as many coordinates as needed, the more you place the detailed your model will be later. Depending on the size of the area this might take a while easily ending up in 100+ coordinates.

screen-shot-2016-02-05-at-12-37-35.png

 

6., With such large models it is recommended to change the working units to meter with 2 decimals, so the schedules will be listed in those units. Go to Options/Project Preferences/Working Units….

screen-shot-2016-02-05-at-15-02-46.png

 

7., Create a new element schedule, choose Objects as criteria and add the Object Parameters into the Fields panel. Look for the embedded object and add the three Point parameters.

screen-shot-2016-02-05-at-12-39-53.png

 

8., Save the schedule as an Excel workbook and open the .xls file in Excel.

9., Delete the first two header rows and combine the content of the columns into one common column using the Concatenate formula in column D for example. The formula in D1 should be =CONCATENATE(A1,” “,B1,” “,C1).

10., We only need one column in Excel, but deleting the first columns will result in an error in the formula, so we need to make the results static. Select and use Copy on the result column.

11., Select the column next to it and use Paste Special with the Values option.

screen-shot-2016-02-05-at-14-10-131.png

 

screen-shot-2016-02-05-at-12-52-33.png

 

The first three columns can be deleted now and you can save the file as .txt (Tab Delimited Text). Excel will include quotes around the column values if they contain commas when files are saved, which again will need some fixing in a text editor like Notepad. If the units were set to meters then only the dots will be included. (Commas come from the system settings of your computer on both Windows and Mac for digit grouping.)

The final .txt should look like this:

screen-shot-2016-02-05-at-15-12-42.png

 

12., Use File/Interoperability/Place Mesh from Surveyors Data… in Archicad and browse for the text file. Make sure that the units are set to the same as what you used when placing the coordinate objects and define the elevation of Project Zero. This has to be the same as what we set in the file for the point cloud import and what we wanted in the first place.

screen-shot-2016-02-05-at-15-17-54.png

 

This will only affect the positioning of the mesh compared to Project Zero, but will not change the Altitude value in the Project Location settings. That one will have to be set manually once the mesh is imported. After that you can try placing Coordinate Objects again to validate the altitudes to AMSL in 3D.

screen-shot-2016-02-05-at-15-28-36.png

 

Comments
Miguel Castro Perez
Participant

Vimal Kumar is very interesting the metodolgy that you shown.

 

I think that a better way to use is open the Point Cloud on "Cloud Compare" to reduce the point cloud. edit---->Sub Sampling (on Cloud Compare)

 

Download for free from: https://www.danielgm.net/cc/

 

Windows;

 

MiguelCastroPerez_7-1655226815622.png

 

Mac:

MiguelCastroPerez_8-1655226847980.png

 

 

MiguelCastroPerez_3-1655226012777.png

 

and after save the pint cloud as XYZ. 

 

 

 

MiguelCastroPerez_0-1655225241456.png

 

 

 

After that you can open the xyz file in excel to delete R G B N values

 

MiguelCastroPerez_1-1655225341362.png

 

After delete and add the  x y z columns names and delete "//X Y Z R G B N"    

 

MiguelCastroPerez_2-1655225488055.png

 

Leave the X on 1A,  and Save the files as txt

 

Open the file an verify that the comma used in you OS is correct.  If is incorrect change it,

 

 

Save the file as txt:

 

MiguelCastroPerez_9-1655226928413.png

 

 

After that open Archicad en use Interoperability ---->  Place Mesh from Surveyors Data

 

MiguelCastroPerez_4-1655226279236.png

 

MiguelCastroPerez_5-1655226407260.png

 

And you have your "Reduced point cloud" on your Archicad like as a mesh 😉

 

MiguelCastroPerez_6-1655226617389.png

 

Best regards

Josh Verran
Expert

Great article, workflow. Also, the CloudCompare method is powerful as well.
Have found the CloudCompare application to be incredibly useful especially when paired with https://portal.opentopography.org/datasets 

Still looking?

Browse more articles

Back to articles

See latest solutions

Accepted solutions

Start a new discussion!