OpenBuilds / OpenBuilds-CAM

Online CNC CAM System
https://cam.openbuilds.com
GNU Affero General Public License v3.0
253 stars 617 forks source link

Strange shapes when converting DXF circles to GCode #86

Closed Ger-55 closed 4 months ago

Ger-55 commented 1 year ago

When importing a circle in DXF format in Openbuilds CAM circles flattens as shown in the figure. The DXF file is OK. Adding extra anchorpoints around the circle ( I use Adobe Illustrator ) does not help. Looking at the GCode I see that a circle is approximated by very small straight segments. This is a basic but not the best solution since GCode supports cubic splines so a circle/ellipse can be written e.g. as a four segments using four G4 statements. and 4 coordinate pairs.

circleTest.dxf.txt

capture_004_28022023_185249

capture_002_28022023_180840

capture_003_28022023_184957

petervanderwalt commented 4 months ago

Just give it clean files per https://docs.openbuilds.com/doku.php?id=docs:software:file-errors