Tag: programming

Polygon | reading and writing gpc files

A user pointed me to a problem when reading and writing gpc files. GPC understands two kinds of files, with or without hole-flags. Polygon supports both formats, but this was not yet documented. When using the Polygon() constructor with a filename or the read() or write() methods you may specify an optional  second boolean argument….


ncDataReader2 | 2.2.1

A new minor release of ncDataReader2 is coming. It only fixes one important bug: Numerical  attributes (like scale_factor and add_offset) were not read correctly with 2.2.0. Source and binary packages will follow soon.


Making Windows work – free software essentials

Although working mostly with linux  I need to install or to use a MS Windows machine from time to time. Being spoiled by the large amount of software available for linux I really miss a lot of functionality on a “naked” windows computer. After the installation and update process of windows I usually install a…


Polygon | 2.0.3 & 3.0.3

Versions 2.0.3 and 3.0.3 of this python package have been released today. Both branches 2.0.x (for python 2.x, x>=5) and 3.0.3 (for python 3.x)  will be in sync in the future with identical features and an  almost identical API. For 2.0.3 only one new function (tileBSP()) was added. Have a look here for more information….


Reading Arexx TL-500 with Python on Linux – Part II

My first script was changed a little bit to get nicer output. It can now log the raw data received from the Arexx unit (in hexadecimal form) and uses separate log files for the sensors. Sensor numbers can be mapped to other names using a dictionary. I use two TL-3TSN, one TSN-50E (long range) and…


Reading data from the Arexx TL-500 on Linux

Some days ago I was looking for a temperature monitoring solution for some rooms and 19″-racks at the university. The Arexx TL-500 looked promising and I bought it. Unfortunately there are only Windows drivers available. But some people already analyzed the communication protocol and hacked a simple version of a linux driver: http://www.algorithm-forge.com/techblog/2010/01/linux-usb-driver-for-the-arexx-tl-500-part-ii/ There’s even…


processing | poor man’s evolution

This is an example from my generative design class of the digi-pro project. Note: these processing sketches are based on java, the execution in your browser may be restricted or even blocked completely. Please review the security settings of your browser and your java installation if you don’t see the sketches. You need to include…


processing | Koch-curve

This is another small demo from my generative design class of the digi-pro project. It draws a Koch curve using a recursive algorithm at variable depth. The horizontal mouse position is used for the depth value. By pressing the p-key you may toggle the drawing of small point markers. The c-key will export the points…