Creating a FreeCAD 3D view inside Jupyter Notebooks - GSoC 2020

Accidentally while creating a lamp I ended up learning FreeCAD. FreeCAD is an amazing open source CAD program. It still amazes me that people created this for free in their spare time. The software is still in it’s alpha version and is far from perfect as you can tell by the current release version number 0.19 and the heated discussions around how soon a 1.0 release could be reached. Still it’s very usable and once you get the gist of it you can create powerful and complex designs. FreeCADs approach to CAD is a parametric design. That means that you specify shapes with parameters. E.g. you base the 3D shape on a 2D drawing. The geometric figures of the 2D drawing - circles, recatangles, lines - are all constrained with parameters. Then you create a 3D shape out of your 2D sketch, for example by extruding it. And every step is based on certain parameters that can reference previous parameters. It’s basically visual programming. Is FreeCAD NP-complete? Probably, but that’s a topic for another time. Anyways. The parametric approach allows you to easily modify your design at any time just by tuning these parameters. For example with my lamp design the number of aluminium bars is a parameter I can simply tweak at any point in time. All the relevant details depending on this number will be automatically recomputed by FreeCAD. This gives great flexibility and allows for fast customization.

Google Summer of Code (GSoC) is a program run by Google that gives stipends to students who over a period of three months implement an open source project with a mentor organization. Among the organizations are well known ones like Arduino, Ruby or Wikimedia. But there are also more niche organizations that are not so widely known. The great part about GSoC is that students apply for specific projects, so you yourself determine how exciting the thing you work on is if you get accepted. This and the work from home aspects are definitely something a lot of internships can’t offer. For me it started with seeing the potential of first designing a parametric lamp and then creating a custom web page where you could change the parameters to your liking and see a live 3D rendering of the changed lamp. Then you just download the 3D files and 3D-print the lamp. I was heavily inspired by the card1o cover generator created with OpenSCAD. After some research I realized that something comparable to rendering OpenSCAD in the web browser does not exist for FreeCAD yet. I already knew about GSoC and to my suprise FreeCAD was one of the open source organizations taking part in GSoC 2020.

The result from printing the cover generator customized card1o badge cover. It's such a cool experience to customize something so effortlessly and to then have it in your hands. Unlike designing everything you don't have to think a about it too much, but you still feel more connected to the end product since it has a personal touch. That's the experience I wanted to create for my lamp design.

...mehr lesen

HPI Startup Bootcamp

This year and last year I was lucky to be part of the HPI Startup Bootcamp. To my suprise my team won the first time I took part (link or it didn’t happen) and last year at least got a spontaneous made up prize because the jury liked the idea so much (can I has link plz). But enough humble or not so humble brags. I wanted to condense what I have learned there into a text hopefully giving you guidance on whether to attend and what to expect at such an event aside from late Roman, decadent catering. The learnings are a combination of the practical bootcamp experiences as well as the accompanying lecture called IT-Entrepreneurship.

...mehr lesen

Travel tips – learn from my mistakes

I love travelling, every now and then I have the privilege to be able to travel abroad for a longer period. In my case that usually has been about a month. And things go horribly wrong. On the one hand it means I learn something on the other hand it means things like burning 700 Euros for no other reason than being utterly stupid. Therefore I compiled this compact post about how to do things right from the beginning.

Do you even prepare bro?

Preparing a trip is something I’d rather avoid doing, it’s just not any fun. I once was asked by a guy on the street if he could crash my couch. As it turned out he was travelling without anything. No money, no plan, not even a backpack. He was basically homeless, just with a drive to explore the world, which made all the difference. All he had was his T-shirt, pants, shoes and most importantly: His willingness to leave his comfort zone.

...mehr lesen

Digital RGB LED guide

I need LEDs, a lot of LEDs. About 13.000 for a lighting project. That should be about 1400$ worth of LED. Therefore here is the result of the research I did to prevent wasting a huge load of cash I do not have anyways.

...mehr lesen

Automating LaTeX compilation in Gitlab-CI

The problem

You are pushing LateX documents into a repository with all of your friends. Your friends compile the PDF files locally and sometimes push garbage into the repo. Also you want to email your assignments to your tutors. But you are already annoyed by writing commit messages. Opening your email client and dragging and dropping that PDF, for you it’s pain in it’s purest form. This makes you very sad. You ask yourself: What could I do about it?

...mehr lesen

Sonne und Sozialismus auf Kuba

Ein Touristen-VISA für einen Kubaaufenthalt zu bekommen ist nicht schwer, der Tourismus ist eine feste Devisenquelle für die kleine Karibische Insel mit seiner so wilden Vergangenheit. Spanische Kolonie, Revolution und Kubakrise lautet die Kurzzusammenfassung. Und nun ist Kuba eines der wenigen Länder, welches sich noch der Coca-Cola-Marktwirtschaft verweigert. Es sei der Vollständigkeit halber angemerkt, dass es dennoch ein leichtes ist, auf Kuba käuflich eine Cola zu erwerben.

Die Republik Kuba wartet mit tropisch-feuchtheißem Meeresklima auf und die Hauptinsel ist 1200 Kilometer lang und zwischen 30 und 190 Kilometer breit. Insgesamt leben dort 11,2 Millionen Kubaner. Zusammen erwirtschaften sie ein BIP von 85 Milliarden USD (2015), wobei das Durchschnittseinkommen bei 29 USD liegt. Auf Kuba waren einige Werbetafeln zu sehen, welche für Demokratie und die anstehenden Wahlen warben. Das auswärtige Amt bemerkt hierzu jedoch lakonisch in den Länderinformationen:

Regierungspartei:

ausschließlich zugelassen: Kommunistische Partei Kubas

Opposition:

neben der Kommunistischen Partei sind keine anderen Parteien zugelassen

...mehr lesen

subscribe via RSS

powered by ❤️ and jekyll