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
1人 × AI、1か月でここまで作れる ー 数年前の外注換算3.8〜7.4億円・241〜379人月分の作業を、AI費用 約10万円・31日で
frievea
0
580
Invest Early, Build Together
rashwhitman
0
750
CSS3 and Responsive Web Design - Lecture 5 - Web Technologies (1019888BNR)
signer
PRO
1
3.5k
【新規入学者様】ZEPメタバース校舎ガイド
ainischool
0
200
新入社員を「あの子」と呼ばない運動 -PBL その前に- / Stop Calling New Hires "Kids"
aokiplayer
2
930
Web Application Frameworks - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
吉岡研究室紹介(2026年度)
kentaroy47
0
360
Carbohydrates: Classification, Structure & Chemical Properties
pawan_pharm
0
330
HTML5 and the Open Web Platform - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
3
3.6k
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 3
hiola
0
6.7k
Science Tokyo University for International Research Excellence scheme_April 2026
sciencetokyo
PRO
0
520
生成AIとの付き合い方/ How to work with AI
kaityo256
PRO
3
890
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
370
Unsuck your backbone
ammeep
672
58k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
940
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
Amusing Abliteration
ianozsvald
1
350
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
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