Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Advanced Python: IFC + computational geometry
Search
Thomas Krijnen
December 06, 2022
Education
490
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
100
BIM, IFC & IfcOpenShell
aothms
0
210
IfcVoxNet 3D segmentation and classification of voxelized IFC building models with Deep Learning
aothms
0
120
IFC5 Technical prototypes
aothms
0
140
IfcOpenShell @ FOSDEM 2024
aothms
0
180
Computational Design Day 2024
aothms
0
88
IFC5: Adequate complexity maximum reliability
aothms
0
370
Thermal analysis of IFC building models using voxelized geometries
aothms
0
170
Validation and Inference of Geometrical Relationships in IFC
aothms
1
280
Other Decks in Education
See All in Education
Requirements Analysis and Prototyping - Lecture 3 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.8k
[2026後期火5] 論理学(京都大学文学部 後期 第1回)「名前はあるのに、誰なのかわからない」
yatabe
0
150
観察、仮説、実行、検証、計画、提案を一年で3000回トレーニングする方法/3000 Thinking Loops in 365 Days
moriyuya
5
1.5k
DRONEGEOGRAFÍA: INNOVACIÓN DIDÁCTICA Y FOTOGRAMETRÍA 3D PARA LA COHESIÓN TERRITORIAL Y LA CIUDADANÍA ACTIVA
juanmartin2026
0
40k
2026年度秋学期 統計学 第2回 統計資料の収集と読み方 (2026. 10. 6)
akiraasano
PRO
0
270
Digijulkaisut
matleenalaakso
1
10k
Réunion des directrices et directeurs des écoles de la circonscription de Jonzac - 31 août 2026
fmarot
0
160
中小規模私大の教学IRを支えるデータマネジメント ― データ基盤構築の取り組みと実務の現在地 ―
terazawa
0
230
GENERAL PHARMACOLOGY
pawan_pharm
0
210
Design Guidelines and Models - Lecture 5 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.7k
Human Perception and Cognition - Lecture 4 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.7k
武藤の処世術を書いてみた
mutomasa
0
140
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
750
Mobile First: as difficult as doing things right
swwweet
225
10k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Leo the Paperboy
mayatellez
10
2.4k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
530
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
The Art of Programming - Codeland 2020
erikaheidi
57
14k
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