some python dxf stuff