Skip to content
Basic Course in Python for use with BIM
Branch: master
Clone or download
Hans Martin Eikerol
Latest commit 1409ea1 May 14, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Day 1 fixes for function names for notebook 05 May 13, 2019
Day 2
Model Added more files and scripts for lecture May 14, 2019
images Edited Readme May 8, 2019
LICENSE Updated readme to reflect course content May 14, 2019

Material for a basic course in python for use with BIM

It is a course over two days of 4 hours each, and students are expected to work in between.

Course lecturers: @SigveMartin and @hansmei

Day 1 - Python in jupyterhub with ifcopeshell

A special thanks to @aothms for enabling us with direct help and creating an awesome opensource community. Day one of the course will use several opensource components, and especially @ifcopeshell in jupytherhub setup. Everyone could setup their own jupytherhub by following @aothms guide here: IfcOpenShell/ifcopenshell-jupyterhub. Illustrated below.

jupyterhub IfcOpenShell pythonOCC screen-shot

The model that will be used in this course is the well know Grethes Hus, as illustrated below:

jupyterhub Grethes Hus screen-shot

Day 2 - Python on your own desktop

In day 2 we will cover basics on how to set up Python 3.7 on your own machine, and how to start coding using the simplest tools. Next up you will learn to write functions and reusable bits of code for real world applications.

We might cover the following cases:

  • Writing and modifying PDFs
  • Continued work with the IFC format: modifying and writing IFC files
  • Implementing your own Python script in Dynamo for Revit
  • Working with matplotlib to create nice graphs and present data

Learning goals for this session:

  • Writing your own functions
  • Getting familiar with using other peoples code (modules and libraries)
  • Using modules inside other applications (Dynamo for Revit)
  • How to fish: getting what you need when you need it
You can’t perform that action at this time.