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
94
BIM, IFC & IfcOpenShell
aothms
0
200
IfcVoxNet 3D segmentation and classification of voxelized IFC building models with Deep Learning
aothms
0
120
IFC5 Technical prototypes
aothms
0
130
IfcOpenShell @ FOSDEM 2024
aothms
0
170
Computational Design Day 2024
aothms
0
83
IFC5: Adequate complexity maximum reliability
aothms
0
360
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
GENERAL PHARMACOLOGY
pawan_pharm
0
110
FA26 CLU MS Clinical Psychology New Student Orientation
jdbedics
0
170
25-26 CBT Library top items
cbtlibrary
0
300
AIがコードを書く時代に、何を教えるのか / What Should We Teach in the Age of AI-Generated Code?
ichiroc
1
570
Draft Lesson Plan on the History of Information and Communication (included Submarine Cables)
shuichikishida
0
100
1人 × AI、1か月でここまで作れる ー 数年前の外注換算3.8〜7.4億円・241〜379人月分の作業を、AI費用 約10万円・31日で
frievea
0
530
Adobe Express
matleenalaakso
2
8.4k
良書紹介08_ 頭のいい子がやっているすごいグラフの読み方
bunnchinn3
0
160
CLASSIFICATION OF CRUDE DRUGS
pawan_pharm
0
200
Introduction to M&A
bvr7352
0
220
DecisionesEjecutivasCrisis
mariooc
0
330
医療事務養成の専門学校でのAI教育 非エンジニアの学生にAIを1年間使ってもらって、感じたこと
naochim2026
0
120
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.6k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
500
Visualization
eitanlees
153
17k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Navigating Team Friction
lara
192
16k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Unsuck your backbone
ammeep
672
58k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
340
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Believing is Seeing
oripsolob
1
220
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
570
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