Menu

#449 Error when saving rounded polyline

2.0
open-fixed
nobody
None
4
2015-07-03
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

     
  • Rallaz

    Rallaz - 2015-07-03

    Fixed with commit f7871a96af9b15f8e32729002d4d00721f67d3c7

    Can round or bevel opened polylines

     
  • Rallaz

    Rallaz - 2015-07-03
    • status: pending-accepted --> open-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB