Splines bug: DXF open - ID: 3393986
Posted by
Rallaz on
Sep 05, 2011; 4:34pm
URL: https://forum.librecad.org/Splines-bug-DXF-open-ID-3393986-tp4771144.html
This post is about this bug:
https://sourceforge.net/tracker/?func=detail&aid=3393986&group_id=342582&atid=1433844The attached file ACCEL1C11.dxf have 75 splines and only splines
The image splines2009-10.png is a screenshot of ACCEL1C11.dxf opened in ACAD (autoCAD) 2009 & 2010, is very similar to LibreCAD but not equal

The image splines2012.png is a screenshot of ACCEL1C11.dxf opened in ACAD 2012, I opened the file with CorelDraw (version 12 I think) and the result is the same as in ACAD 2012

The image splines2010-partial.png is a ACAD2010 zoom on the parts that differ with ACAD2010 & LibreCAD

The file ACCEL12to00.dxf is the original dxf opened with ACAD2012 & saved as dxf v2000
Seems that the 2012 version performs some checks on the splines and correct it, like:
if (startPoint == endPoint) spline.isClosed
else spline.isOpen