#449 Error when saving rounded polyline

2.0
pending-accepted
nobody
None
4
2014-01-24
2014-01-21
Mike
No

I drew a closed polyline rectangle and SavedAs r1.dxf I then modified the rectangle to add round corners using the 'Modify/Round' tool. It created rounding on all the corners apparently ok so I saved this as r2.dxf
When I then reloaded r2.dxf a large arc appeared on the bottom edge.
I have attached both dxf files and a word doc with a screen shot of what I get when I load r2.dxf (just in case you don't get what I get)
I am using v2.0.2 on WinXP

I have only attached r2.dxf as I can't see how to attach more than one file. If you need the others please ask.

1 Attachments

Discussion

  • Dongxu Li
    Dongxu Li
    2014-01-24

    • status: open --> pending-accepted
     
  • Dongxu Li
    Dongxu Li
    2014-01-24

    Steps to reproduce:

    1, Main menu: Draw -> polyine -> polyline
    2, draw 3 straight lines by typing in coordinates from command line widget:
    0, 0
    100,0
    0, 100
    0,0
    3, Main menu: Modify -> Round
    4, select the first line [ (0,0) (100,0) ] , and the third line [ (0,100) (0,0) ] to round
    5, save the dxf
    6, open the dxf with LibreCAD

    expected to see the rounded polyline after step 4.
    Actual results, a big arc in place of the first line and the rounding arc.

     
  • Rallaz
    Rallaz
    2014-01-24

    This bug is produced by "Modify -> Round" command because are permited to round the start/end vertex of a opened polyline.

    To draw a closed polyline:
    First point: 0,0
    next point: 100,0
    next point: 0,100
    next point: (click in "close" button or type "close" in command line)

    To draw a opened polyline:
    First point: 0,0
    next point: 100,0
    next point: 0,100
    next point: 0,0

    Yes, visually are no diferences, but internally diferences are:
    Closed: 3 vertex & closed flag set
    opened: 4 vertex & closed flag unset