Skip to content
Martin Hecher edited this page Oct 13, 2015 · 10 revisions

The DURAARK System comes with a set of components which can be directly used on the command line. This is helpful if you want to integrate DURAARK's functionality into your own workflow or applications.

Currently we provide the following components:

  • duraark-pc2bim (Reconstructs a BIM model from an E57 point cloud file)
  • duraark-e57-metadata (Extracts metadata from an E57 point cloud file)

If you experience problems with the execution of the scripts have a look at the Troubleshooting section at the end of this page.

duraark-pc2bim

This component extracts a BIM model from a given point cloud file.

Usage

To use it first copy the point cloud file to the folder

C:\Users\duraark-storage

Here we are using the file 'Nygade_Scan1005-1006.e57' as an example. Copy the file to

C:\Users\duraark-storage\test\Nygade_Scan1005-1006.e57

After the file is copied open a command line and navigate to the duraark-installer-windows-x.x.x/components folder (where x.x.x is the version number of the downloaded installer). There you have th script duraark-pc2bim.bat which expects the path to the E57 file as its only parameter. The path to the file has to be relative to the C:\Users\duraark-storage folder, so in our example the command line to call the script looks like this (you are in the duraark-installer-windows-x.x.x/components folder, right :-)):

duraark-pc2bim.bat test\Nygade_Scan1005-1006.e57

When the script finished it will output the file

C:\Users\duraark-storage\test\Nygade_Scan1005-1006.e57.ifc

with the reconstructed BIM model in IFC format.

duraark-e57-metadata

This component extracts metadata from a given point cloud file and ouputs the data into a JSON file.

Usage

To use it first copy the point cloud file to the folder

C:\Users\duraark-storage

Here we are using the file 'Nygade_Scan1005-1006.e57' as an example. Copy the file to

C:\Users\duraark-storage\test\Nygade_Scan1005-1006.e57

After the file is copied open a command line and navigate to the duraark-installer-windows-x.x.x/components folder (where x.x.x is the version number of the downloaded installer). There you have th script duraark-e57-metadata.bat which expects the path to the E57 file as its only parameter. The path to the file has to be relative to the C:\Users\duraark-storage folder, so in our example the command line to call the script looks like this (you are in the duraark-installer-windows-x.x.x/components folder, right :-)):

duraark-e57-metadata.bat test\Nygade_Scan1005-1006.e57

When the script finished it will output the file

C:\Users\duraark-storage\test\Nygade_Scan1005-1006.e57.json

with the metadata in JSON format.

Troubleshooting

  • It is mandatory to provide the path to the files for a component relativ to the folder
C:\Users\duraark-storage
  • It is mandatory to use the path separator / instead of the Windows common **