hello a normal cad should allow drawing basic shapes ( 5 of them : points, lines, circles, elipses, beziers ), and formula driven ones ( less used, but still )

each one of the basic shapes is handled by its own code, and variations will occure, as one will have to create, for example, intersections

idea behind this thread is reducing variations, from the consideration that points lines circles and elipses, are nothing but restricted beziers:
... line = an analytical bezier
... ellipse = interpolated spline, within a given accuracy, that has to be corelated with cnc precision
*voila, basic shapes set just reduced from 5 to 1, and variations for intersections reduced from 15 to 1

how most machine operations are lines & circles, there can be used labels to identify that a bezier is a line, or a circle arch, in order to generate relevant g-code / kindly