conversion to GCode, GCode visualization
naive bezier curve converter into circle arc