Circular Interpolation for CNC or Graphics

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: DDS , created: 2013-04-04 | updated: 2013-04-04

 

This code generates a circular interpolation motion profile as intended for a home-brew CNC machine. (CNC Codes G02 & G03)
 
I use Bresenham's algorithm calculates X & Y steps to accurately approximate a circular path.
 
The code will calculate arcs starting and ending in any quadrant.
I have not implemented a controlling feed rate so it is just a starting point.
 
Original File Upload
AttachmentSize
Package icon Int_Circle.zip22.31 KB
Package icon Auxiliary Files.zip192.85 KB