Changes between Initial Version and Version 1 of Ticket #5705


Ignore:
Timestamp:
Oct 21, 2014, 4:29:46 AM (7 years ago)
Author:
ju420xt5z
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5705 – Description

    initial v1  
    44ogr2ogr -f "DXF" sampleb_output.dxf sampleb_input.dxf
    55
    6 The result I obtain is wrong (attached file "sampleb_output.dxf"). Basically, one the ellipses in the output has a wrong angle and its X coordinates are wrong.
     6The result I obtain is wrong (attached file "sampleb_output.dxf"). Basically, one of the ellipses in the output has a wrong angle and its X coordinates are wrong.
    77
    8 Doing some investigation inside the input DXF, I saw that the ellipse that converts correctly has a Z extrusion axis value (group code 230) of 1.0, whereas the ellipse that was not converted correctly has a Z extrusion axis value of -1.0. I have done a test when I changed reverse its Z extrusion axis (to 1.0) and added Pi/2 to the start and end angles (41 and 42) in attached file "sampleb_input-mod.dxf". Then the conversion of the previously incorrect ellipse is done correctly (attached file "sampleb_output-mod.dxf").
     8Doing some investigation inside the input DXF, I saw that the ellipse that converts correctly has a Z extrusion axis value (group code 230) of 1.0, whereas the ellipse that was not converted correctly has a Z extrusion axis value of -1.0. I have done a test when I reversed its Z extrusion axis (from -1.0 to 1.0) and switched+reversed the start and end angles (group codes 41 and 42) in attached file "sampleb_input-mod.dxf". Then the conversion of the previously incorrect ellipse is done correctly (attached file "sampleb_output-mod.dxf").