-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spline closed attribute error #190
Comments
Spline Closed PropertySure enough debugging the file you attached shows all splines as having the The file has 809 Question: I'd like this library to accurately represent the file as read from disk, so I'm going to leave the public static bool IsSplineClosed(this DxfSpline spline)
{
return spline.IsClosed || (spline.ControlPoints.First().Point == spline.ControlPoints.Last().Point);
} Text Location WrongCan you give me an example of a |
Sorry, actually I'm not sure, because when I read this dxf with this library, I read the closed property is wrong, but when I save it as a new dxf with autocad, and read it again with this library, the closed property is normal, and so is the text in this dxf. |
I think it's still an interesting case where the flags don't report that the spline is closed, but it reality it is. I've added an extension method |
When I read the dxf, dxfspline's closed property is wrong, autocad view is closed, but read false, also, the location of the dxftext is wrong.
error.zip
The text was updated successfully, but these errors were encountered: