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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Thomas Krijnen
December 06, 2022
Education
470
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
84
BIM, IFC & IfcOpenShell
aothms
0
180
IfcVoxNet 3D segmentation and classification of voxelized IFC building models with Deep Learning
aothms
0
100
IFC5 Technical prototypes
aothms
0
120
IfcOpenShell @ FOSDEM 2024
aothms
0
160
Computational Design Day 2024
aothms
0
75
IFC5: Adequate complexity maximum reliability
aothms
0
350
Thermal analysis of IFC building models using voxelized geometries
aothms
0
160
Validation and Inference of Geometrical Relationships in IFC
aothms
1
260
Other Decks in Education
See All in Education
2026年度春学期 統計学 第6回 データの関係を知る(1)ー 相関関係 (2026. 5. 14)
akiraasano
PRO
0
120
Protecting Patrons with Digital Vendors
dsalo
0
190
吉祥寺.pmは1つじゃない — 複数イベント並走運営の12年 —
magnolia
0
1.3k
Soluciones al examen de Geografía 2026. JUNIO (Convocatoria Ordinaria)
juanmartin2026
0
1.5k
Stardy 会社紹介資料
stardy
0
230
Virtual and Augmented Reality - Lecture 8 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.3k
0526
cbtlibrary
0
160
生成AI時代のエンジニア育成について考えてみた
akasan
0
140
Info Session MSc Computer Science & MSc Applied Informatics
signer
PRO
0
290
!コスパよくインターンに受かる方法!
ruribou
0
260
Padlet opetuksessa
matleenalaakso
12
15k
2026年度春学期 統計学 第4回 データを「分布」で見る (2026. 4. 30)
akiraasano
PRO
0
130
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Faster Mobile Websites
deanohume
310
31k
Making Projects Easy
brettharned
120
6.7k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
250
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Raft: Consensus for Rubyists
vanstee
141
7.5k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
430
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
YesSQL, Process and Tooling at Scale
rocio
174
15k
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