← Back to team overview

kicad-developers team mailing list archive

DXF import only works in default Canvas.

 

Hi,

I am still experimenting with the DXF import feature and something I found is that the DXF import only seems to work in the default canvas.

If the others OpenGL or Cairo canvas is active, the DXF import does nothing, i.e. nothing gets imported in pcbnew.

I suspect this might be a bug. As I am not that familiar yet with the differences in these canvases from a code perspective, any ideas as to where this issue would be?

Then another issue with the DXF import but which is probably for more in the future is related to importing DXF polygons as areas instead of a group of lines.

With the default canvas, the import works (i.e. the pcbnew file is modified and contains a 'gr_poly' with the shape points) but does not show. Switching to the OpenGL canvas then reveals the shape. Ideas?

Cheers,

Marco


Follow ups