nanoLogika / ACadSvg

C# library to convert AutoCAD drawings from DWG to SVG. AutoCAD files are read using ACadSharp.
GNU Lesser General Public License v3.0
9 stars 2 forks source link

Linear Dimension Line: Full Implementation #41

Closed mme1950 closed 9 months ago

mme1950 commented 10 months ago

Currently only linear dimension lines are converted correctly.

mme1950 commented 10 months ago

AutoCAD places arrows inside between the extension lines if there is enaugh space; otherwise, outside. But there are no data indicating whether the arrows are to be placed inside or outside. Thus this logic has explicitly implemented: If the space between the extension lines is less than 2.5 * arrow size the arrows have to be placed outside. The standard behaviour can be overruled. Both arrows can be flipped. This is indicated by the FlipArrow1and FlipArrow2 properties.