Circular Interpolation for CNC or Graphics

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: 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
Package icon Int_Circle.zip22.31 KB
Package icon Auxiliary Files.zip192.85 KB