Comment 44 for bug 293940

Revision history for this message
Mads Boserup Lauritsen (madsbola) wrote :

Hi Chris and Alvin

The newest dxf_input_py is giving me troubles.

I have attached several files for these comments. Both the results in svg and the raw file in dxf.

I have given them the date of the dwf_input.py file which you uploaded.

When I open the attached dxf file with the extention of Alvin from the 1. of february I get a nice file with layers and lines coloured with the respective colour i chosed in my Cad-Software.

When I apply the dxf_input.py from Chris from the 21. february I get a black coloured drawing with some "funny" black hatches. The layers are not imported. The dxf file consist of polylines, lines, mtext, and a solid hatch in greyscale.

I have also attached the dxf-file I used for the test.

I am not aware of what is causing me the trouble, the program does not come up with any errors or so.

Any ideas?

-----
Regarding the automatic scale to an a4. I think it came in when Alvin started to post one of the first *.py files, on my request, anyways...
When I draw in Cad, it is in scale 1:1 . Then when I print it with a pdf-printer (pdfforge.org) I make the scaling for a "viewport" in lets say a A1 page. I have been using Illustrator a lot, and when you import dxf/dwg files there it ask you how you would like to scale the imported drawing.
Question:
Is this difficult to implement? As I earlier said to Alvin, I am not capable of scripting, but hope by testing your good work, I can contribute to the extention :-)

Sorry for the long post,

Best regards,

/Mads