Skip to content
Martin Hecher edited this page Oct 16, 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
  • duraark-e57-metadata

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 first parameter. The second parameter is the name of the output IFC file. The paths to the files have to be relative to the C:\Users\duraark-storage folder, so in our example the command line to call the script looks like this:

Ensure that your command line is navigated to the the duraark-installer-windows-x.x.x/components folder.

duraark-pc2bim.bat test/Nygade_Scan1005-1006.e57 test/Nygade_Scan1005-1006.ifc

Be aware to use a slash '/' instead of a back-slash '**' which would be normal on Windows.

When the script finished it will output the file

C:\Users\duraark-storage\test\Nygade_Scan1005-1006.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:

Ensure that your command line is navigated to the the duraark-installer-windows-x.x.x/components folder.

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

Be aware to use a slash '/' instead of a back-slash '**' which would be normal on Windows.

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 '****', e.g. test/Nygade_Scan1005-1006.e57 instead of test\Nygade_Scan1005-1006.e57