We have an application which calculates optimal packing of crates on a pallet and renders a packing example. See an example at http://www.hudora.de/code/palettenpacker/?palettenhoehe=1805&kartonmasse_x=320&kartonmasse_y=420&kartonmasse_z=360
The current source code is available at http://cybernetics.hudora.biz/dist/misc/palcalc-r2104.tar.gz
Currently rendering is done by generating an scene description for the ray-tracing package POV-Ray and calling the external ray-tracer. This is slow and results in many server-side dependencies.
Your task is to redo the rendering in Python without the need for external programs. The new rendering does not need to be ray-traced or have textures but has to to enough surface shading to make out the individual crates. You don’t have to implement text within the image.
Output should be PNG. There is a Bonus if you also provide SVG output.
You are free to use OpenSource Libraries. You are also free to re-use as much of palcalc as possible.