Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Advanced Python: IFC + computational geometry
Search
Thomas Krijnen
December 06, 2022
Education
480
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Advanced Python: IFC + computational geometry
Thomas Krijnen
December 06, 2022
More Decks by Thomas Krijnen
See All by Thomas Krijnen
IFC5 Refresher - Budapest
aothms
0
90
BIM, IFC & IfcOpenShell
aothms
0
190
IfcVoxNet 3D segmentation and classification of voxelized IFC building models with Deep Learning
aothms
0
110
IFC5 Technical prototypes
aothms
0
130
IfcOpenShell @ FOSDEM 2024
aothms
0
170
Computational Design Day 2024
aothms
0
80
IFC5: Adequate complexity maximum reliability
aothms
0
350
Thermal analysis of IFC building models using voxelized geometries
aothms
0
170
Validation and Inference of Geometrical Relationships in IFC
aothms
1
270
Other Decks in Education
See All in Education
Case Studies and Future Research - Lecture 12 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
240
2026年度春学期 統計学 第13回 不確かな測定の不確かさを測る ― 不偏分散とt分布 (2026. 6. 25)
akiraasano
PRO
1
160
Geografía y fútbol. Atlanta. la megalópolis del fútbol
juanmartin2026
1
12k
Adobe Express
matleenalaakso
2
8.3k
The Strengthening Institutions Program
territorium
PRO
0
150
形骸化しない社内勉強会の取り組み - オーナーシップの作り方 / In-house study session
soudai
PRO
1
200
Soluciones al examen de Geografía 2026. JUNIO (Convocatoria Ordinaria)
juanmartin2026
1
9k
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
PRO
4
19k
Πλουτοκρατία: Η Τυραννία του Μαμμωνά και η Μεταανθρώπινη Δουλεία
amethyst1
0
290
[2026前期火5] 論理学(京都大学文学部 前期 第6回)「かつとまたはの規則」
yatabe
0
480
輻射安全管理系統2.0暨輻防e++學園平台說明會
aecrp
0
1.9k
AIには考えられないことを考えられる人になるために
iqbocchi
1
230
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.4k
A Modern Web Designer's Workflow
chriscoyier
698
190k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
Building Adaptive Systems
keathley
44
3.2k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Optimizing for Happiness
mojombo
378
71k
Transcript
Advanced python IFC + computational geometry
Guest lecturer • Thomas Krijnen • past: Post-doctoral researcher @
TU Delft, NL • past: PhD @ TU Eindhoven, NL • Founder AECgeeks • Maintainer IfcOpenShell.org • ✉
[email protected]
• 🐤 @aothms
Why python - Batteries included: - web: flask, django, e.g
view.ifcopenshell.org - machine learning: pytorch, tensorflow, keras, scikit, … - geometry: pythonOCC, shapely, … - graphs: networkx, rdflib, … - Readable syntax, reasonable semantics wrt typing, expressive types (e.g sets, containment operators, …) - Interpreted (no lengthy compilation times) and high performance possible (e.g numpy, numba, pypy, …)
Work (1) - geometric analysis for code compliance checking https://github.com/opensourceBIM/voxelization_toolkit
Work (2) - model validation https://github.com/buildingSMART/validate
Setup https://docs.conda.io/en/latest/miniconda.html conda create -n course2022 conda activate course2022 conda
install -c conda-forge pythonocc-core ifcopenshell jupyter
Anatomy of a simple Python script
Data extraction using IfcOpenShell Python
Entities and attributes
Inverse attributes
Comparison with a SPARQL query <http://standards.buildingsmart.org/IFC/DEV/IFC2x3/TC1/OWL#IfcWallStandardCase > basic graph pattern
aggregate function / makes this a property path, a sequence of two predicates in this used because in IfcOWL the specific type of the property nominal is emitted. IfcAreaMeasure in this case.
Example with geometry
The complexity of IFC
Continue on http://web.archive.org/web/20200711032105/http://www. pythonocc.org/quick-examples/machine-learning-and- building-models/ https://academy.ifcopenshell.org/posts/using-ifcopenshell- and-pythonocc-to-construct-new-geometry/ https://github.com/AECgeeks/tue-python-workshop-2022