new project requirement: circular interpolation
lincoln
Posts: 23
hello,
With my side work slowing down i have time for a new project. I want to build a cnc cutting table. Basically it is a simple x y table that uses an oxy/act torch to cut pieces out of steel plate.
For the controller I have boards form a past product that was based on the senix chip . I can move the torch in state lines, rectangles and polygons but i having trouble figuring out how to cut arcs and circles. (in cnc prog it would be a G02, G03)
I'm looking to the math behind circular interpolation. Doing web searches i have found how to use built in function of other motion controller but not the underlying algorithms.
clear as mud?
thank you for your time.
With my side work slowing down i have time for a new project. I want to build a cnc cutting table. Basically it is a simple x y table that uses an oxy/act torch to cut pieces out of steel plate.
For the controller I have boards form a past product that was based on the senix chip . I can move the torch in state lines, rectangles and polygons but i having trouble figuring out how to cut arcs and circles. (in cnc prog it would be a G02, G03)
I'm looking to the math behind circular interpolation. Doing web searches i have found how to use built in function of other motion controller but not the underlying algorithms.
clear as mud?
thank you for your time.
Comments
You want the Bresenham circle algorithm. Same guy who created the line algorithm, although according to Wikipedia, the circle algorithm is based on his work but he didn't do it. In any event, do a Google search with these terms:
Bresenham circle
You'll find a bunch of stuff. This is the same algorithm used by every graphics card and library on the planet, and it's designed to work in a pure integer environment.
Thanks,
PeterM