Polygon | problems with nested and overlapping structures

Polygon is not able to handle nested and overlapping contours correctly. This is because the underlying structures and  functions of GPC have only a flat list of contours (solids and holes) without any hierarchy. A hole is not bound to a single solid but is valid for the whole Polygon. If your Polygon object contains…


The Project Hosting Odyssey

I moved the hosting of my software projects again: from GitHub to bitbucket. My GitHub repositories will be available in the near future, but I will use bitbucket for development (until further notice 😉 ). I must confess that I always used the free offers and never spent any money on project hosting. So I…


Polygon | new version 2.0.6 and 3.0.6

I just released the new version of my packages for polygon handling with Python 2 and Python 3. There are only small changes, the most important ones are: moved development and downloads from GitHub to bitbucket after GitHub closed the download area, renamed the packages from Polygon to Polygon2 and Polygon3 to avoid confusion, especially…


GitHub downloads closed

My favourite development hoster GitHub has closed the download area for packages. Older uploads will be available for a while, but no new uploads are accepted. This was a bad decision, project hosting without a download area is not really attractive anymore! I will check the different options to host packages for my projects. In…


DyMat | HDF5 export and other Modelica/Python projects

After the request of a user I added a very simple HDF5 export to my DyMat package. The code is already in the github repository and will be part of the next release. If you are interested in the handling of Modelica simulations with Python you should also have a look at these packages: ModelicaRes…


SunnyWebBox | version 0.3 with UDP and Python 3

I’ve updated the code for my python package to communicate with a Sunny WebBox. The two most important changes of version 0.3 are: support for UDP stream communication support for python 3.x The communication protocols are documented very poorly. I had to use trial-and-error a lot and collect information from different sources to get this…


Polygon | Douglas-Peucker and Future Development

The Polygon3 branch now includes an implementation of the Douglas-Peucker algorithm for line simplification by reducing the number of points. It is already included in the repository and will be part of the next release. Now that python 3.3 is out I decided to focus much more on python-3. This has some impact on my…


Reading Buttons of a LCD Keypad with Arduino

The LCD Keypad shield from dfrobot is a nice way to get a display and some buttons for an Arduino board. Unfortunately the reading of  button presses does not reliably work with the standard software (LCDKeypad). The alternative keygrabber library seems to be incomplete and did not work for me. The dfrobot forum lists some…