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 265 forks source link

About Ellipse Model #600

Open phong-hopee opened 1 month ago

phong-hopee commented 1 month ago

I know the ellipse is created by makerjs from many small circles and when I export it to a dxf file, it consists of many lines connected together. Is there any way for me to convert it into a single line like a circle? Thanks for reading. 111

danmarshall commented 1 month ago

Hello, looks like ellipse is supported in DXF - but in Maker.js there would need to be a process which analyzes the drawing to make sure a model is an ellipse and is "unbroken" and unmodified before outputting as DXF. It might be a non-trivial amount of code for this special case.