microsoft / maker.js

📐⚙ 2D vector line drawing and shape modeling for CNC and laser cutters.
http://maker.js.org
Apache License 2.0
1.76k stars 269 forks source link

Path showing endless false whether as per points it is closed path #603

Closed Gautam2010 closed 1 month ago

Gautam2010 commented 1 month ago

Path is endless as per attached image. image

while converting modeland chainit is showing endless=false

M721 209.62a99.596 99.596 0 0 0 12.013-18.008c7.611-14.863 11.422-29.726 11.422-44.6 0-30.807-10.793-54.558-32.365-71.242-21.576-16.679-53.757-25.018-96.535-25.018H455.637 V55.1 c5.8 4.354 10.334 11.416 13.596 21.212 3.267 9.78 4.898 23.208 4.898 40.245v243.645 c0 17.048-1.636 30.375-4.898 39.97-3.262 9.617-7.795 16.78-13.596 21.492v4.344 h191.434 c44.24 0 77.957-9.965 101.17-29.916 23.196-19.935 34.803-48.948 34.803-87.013 0-26.464-7.706-49.218-23.118-68.261-10.007-12.361-23.017-22.748-38.92-31.209

danmarshall commented 1 month ago

In the svgPathEditor, I converted the last point to absolute:

image

So you can see the first and last point are not exactly the same by a small degree.