Following the very helpful Tutorial #1 with my test image, I ran into
a few differences:
In my qcad(2.0.5), explode seemed to only reduce the polylines down to
lwpolylines, where I think scribbles and the tutorial intended to use
just simple lines.
It looked like for lwpolylines, import_dxf.py had code to collect up
the (x,y) coordinates into the intermediate list called segments. Not
only did my test image have lwpolylines, it had polylines that were
only 1 vertex long, and was failing at segments because the single
pair was not of type list.
So the patch supports that case by looking at the vertex count given
by dxf code 90. Then the polyline gets rendered as a series of
go_to_point's. (Not in the patch)If the go_to_point's(which moves with
pen up) is changed to draw_to_point, then that was just enough to get
my test image to print.
Hope that is helpful, or maybe it was all just folly.