opencamlib icon indicating copy to clipboard operation
opencamlib copied to clipboard

test_example file and G02 code generation

Open 7-Green opened this issue 2 years ago • 2 comments

I try to run the C++ version of the test_example file, but the corresponding G02 code is not generated in the curve area. What is the problem?

7-Green avatar Jul 05 '23 08:07 7-Green

program running result: CNC.txt

7-Green avatar Jul 05 '23 08:07 7-Green

These algorithms do not create G02 codes, only "points" which we turn into lines / linear moves. You can change the sampling parameters to get more detailed curves, and potentially an external curve fitting algorithm to turn a bunch of linear moves into a G02 statement but that is out of the scope(?) of this project.

vespakoen avatar Jul 05 '23 13:07 vespakoen