im building a small wankel rotary project for my ME course

im trying to code up the best way to mill out the housing shape....

i was planning on just following X and Y co-ord but it will leave a jumpy jagged edge i think ?

maybe there is a pocket code i can use that allow be to input my parameters and follow the shape to its constraints?

below is the excel spreadsheet for the codes....360 x and 360 y points.....