Cyrille,
Thank you for your reply.

I tried to make Visio 2000 read the exported DXF file, but couldn't.
So I explored DXF export filter, I happend to find the difference.
Now I tried qcad, it seems no problem to read very small value of 
thickness. In fact, the thickness is written as 0 in my DXF file
like as:

LINE
    : snip
 39
0
    : snip

Thanks,
-- 
Takeshi Hamasaki

In <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:

cyrille>> > does anyone know why thickness of line is multiplied 10 times in 
cyrille>> > plug-ins/dxf/dxf-export.c ?
cyrille>> > For instance, in function draw_line(), 
cyrille>> > 
cyrille>> >     fprintf(renderer->file, " 39\n%d\n", 
(int)(10*renderer->lcurrent.width));
cyrille>> >     /* Thickness */
cyrille>> > 
cyrille>> > In dxf-import.c, thickness is not modified, so I'm curious why
cyrille>> > dxf-export.c does this.
cyrille>> 
cyrille>> I *guess* this is a bug, though a very deliberate one.... It might have 
cyrille>> slipped through when I gave that code some exercise eons ago, if 
cyrille>> SolidWorks 2000's DXF export has the same bug. 
cyrille>> Which software are you using to read DXF?
    :
cyrille>> I see that the code comes from James H; I don't know what he tested
cyrille>> against, but I'd guess he too had an implementation that stores "10
cyrille>> times the thickness".
_______________________________________________
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia

Reply via email to