An OpenSCAD Kernel for Jupyter

I was missing a Jupyter Kernel for OpenSCAD. There are already different existing projects that try to bring the OpenSCAD functionality to Jupyter: ViewSCAD is providing a Python API over OpenSCAD SCAD4 is providing an API for JVM based Languages But you can’t use the OpenSCAD language itself in the Jupyter cells. So I decided to take up the challenge and spend a couple of days on this topic. The initial idea was to use Read more…

Displaying 3D STL Files in Jupyterlab

The STL (Standard Triangle Language) is the industry standard file type for 3D Printing. Jupyter and it’s successor Jupyterlab offer quite a big range of built in renderers that allow you to display different file formats. Unfortunately this is not true for 3D file formats. To close this gap, I decided to implement a simple Mime Renderer for Jupyterlab using the powerfull functionality of Three.js. Though other file formats might work as well, I was setting the focus on STL Read more…

Modules in Scad4J

I tried to build some complex models with Scad4J and realised that the generated code  is getting quite unreadable. So it would be useful if we could use modules to structure our models. Here is an example how we can use the Scad4J library to build a first DRAFT of a simple RC airplane. We demonstrate how to use modules.

Parametrized Cork Pals in Scad4J

Cork Pals are toys that utilize 3D printing and recycling. Use a wine cork to connect two 3D printed pieces and there you have it. In my experience not all corks were always fitting: one cork side might be too big or too small – so I decided to make it customizable. All my designs can be found on Thingiverse. In this Gist I demonstrate how to load my OpenScad models from Github with the Read more…

Hinges in Scad4J

I am about to design a model RC plane. In order to attach the control surfaces to the body I am planning to use some hinges. Fortunately there is a ‘Parametric Hinge’ written by ‘Rohin Gosling’ that can be used in OpenSCAD. In this Blog I will check out how we can use this in Scad4J. Here is a quick Gist that demonstrates how we can use this library in Scad4J.

Solid Modelling for 3D Printing for the JVM in Jupyterlab

I bought myself a 3D printer and I thought it would be cool to program the models in Jupyter. I am currently doing quite some development in Scala so a JVM based solution running in Jupyter would be my preferred option. Most of the people use some GUI driven CAD or Graphics Modelling Tools like Blender to develop 3D models. There are only a few lean, easy to learn options that focus on specifying the Read more…

Is Trump good for the Economy ? – The Evolution of Company Profits and R&D

Donald Trump is the best, smartest, most beautiful, richest, youngest … President that was ever elected in the US. He is also the best that could happen to the profites of the companies which are located in the US. But is this actually true ? We use the values from the Edgar database to analyse the profits of the filing US companies over time. The result can be found in the following Gist

Identity Management and Authentication for Java Webservices and Javascript GUIs

I am currently working on a new project which uses Vue.js on the frontend and JAX-RS Webservices implemented in Java in the backend. Both, the frontend and the backend will be deployed with Docker. The solution will need to manage customers, users and provide authentication to protect the web application and web services. It does not make any sense to build my own solution for this so I decided to base my architecture on some Read more…

Docker and Treafik – A Comprehensive Tutorial

In Docker you expose functionality by specifying a port mapping and then you can address the application on the physical host with the mapped port. I am using Docker quite some time now and this was getting a little bit too tedious because each mapped port needs to be unique and then you need to remember the port numbers to be able to start your application. So I wanted to simpler way by using speaking Read more…