Skip to content

This repository shows how to process, update or create IFC (Industry Foundation Class) files automatically with python. The examples show how to parse geological/geotechnical related IFC Files that originate from Leapfrog Works.

License

Notifications You must be signed in to change notification settings

vmarquar/ifc-geology-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IFC & Leapfrog & Geological Modelling examples

Examples

ifc-geology-example/example1_parse-leapfrog-boreholes-to-csv.py shows how to parse an ifc file created from Leapfrog Works. It will extract all boreholes and their intervals into 2 csv files.

ifc-geology-example/example2_add-pset-to-geological-units.py shows how to retrieve all geological units / volume bodies and shows how to add PSETs and Properties to the geological units using a csv helper file. Additionally it can compute the volume of all geological bodies.

ifc-geology-example/example3_create-spheres.py shows how to create an ifc file from scratch and create random spheres and attach a pset and properties to each of them.

Useful links

Installation

pip install ifcopenshell or poetry add ifcopenshell or after downloading from git poetry install or poetry install --no-root

About

This repository shows how to process, update or create IFC (Industry Foundation Class) files automatically with python. The examples show how to parse geological/geotechnical related IFC Files that originate from Leapfrog Works.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages