Menu

#520 DXF files open with wrong line thickness

Next release
open
nobody
None
5
2020-10-10
2015-05-11
efa
No

LibreCAD 2.0.7 on Win64
Opening a .dxf file, the thickness of lines are wrong.
Opening the same file with Autodesk DWG TrueView 2014,
I got the right tickness. See attached images and .dxf file.

Discussion

  • efa

    efa - 2015-05-11

    example file

     
  • efa

    efa - 2015-05-11

    as opened by LibreOffice

     
  • efa

    efa - 2015-05-11

    as opened by TrueView

     
  • efa

    efa - 2015-05-11

    Note: after opening with LibreOffice (sorry LibreCAD) and re-save the file, the thickness is lost also with TrueView, I suppose the file become damaged.

     

    Last edit: efa 2020-10-10
  • LordOfBikes

    LordOfBikes - 2015-05-11

    First, you should disable Draft mode in LibreCAD and check the results again. You find the button in the view toolbar (see attachment) or in the View menu.

    I can't say, if LibreOffice damage the DXF file, but TrueView should not, as it doesn't support writing in DXF format.

     
  • Rallaz

    Rallaz - 2015-05-11

    The attached dxf file have line width "byDefault" and are opened ok in LibreCAD

    "the thickness of lines" missing in LC are "polyline width" a feature not supported in LC.

    The diference between "entity width" and "polyline width" are:
    "entity width": property of entity in mm (specialy for plot)
    "polyline width": property of each start/end segment

    See the attached screenshot

     
  • efa

    efa - 2015-05-11

    I tryed to disable Draft, the result is the same.

     
  • efa

    efa - 2015-05-11

    Is there any plan to add such "polyline width" support in LC ?

     
  • efa

    efa - 2015-05-11

    what I mean with "I suppose the file become damaged", is that as LC do not honor the (poly)line width, re-saving the file, it remove the property, and so then, also with TrueView the drawing open damaged.

    This can be moved to another related bug, as while LC do not show/modify the poliLine width, it can keep the property untouched. What do you think?

     

    Last edit: efa 2015-05-12
  • efa

    efa - 2015-05-12

    Does the library 'libdxfrw' support the property "polyline width"?

     
  • Rallaz

    Rallaz - 2015-11-17

    efa, sorry for taking so long to answer but did not see the your post.

    Yes, 'libdxfrw' have support for "polyline width" in all version except for the very old R12 version

     
  • efa

    efa - 2015-11-18

    seems to me that it is very urgent to fix the file corruption bug in LC, I opened
    https://sourceforge.net/p/librecad/bugs/543/
    for this.

    Then honoring the width in LC it is very nice to me, as about all DXF I use have this property. If 'libdxfrw' has support for them, should be a rendering only trouble.
    I opened an RFE for this:
    https://sourceforge.net/p/librecad/feature-requests/178/

     
  • efa

    efa - 2020-10-10

    any news?

     

Log in to post a comment.