Here is why I think we need (or at least why I want) a more powerful control.
- code generated by CAD/CAM is incredibly bloated.
- code generated by CAD/CAM does not make use of the processing power of the machine.
- most machines have a lot of processing power.
- writing good software (including machining code) requires readability, type checking, clear program structure, an interpreter that can detect many kinds of errors,
- goto's should not be allowed
So I would like to be able to run programs on the machine in real time that do the calcs, and that handle lots of cases, and are genuinely reusable.
Seems like you have some fundamental misunderstandings. How much CNC experience do you actually have? How much CAD/CAM? How much software development using which languages?
I ask, because in general, people who post these kind of assertive claims have no idea how any of this really works.
I am also not a fan of gcode, but there are reasons why it hasn't been superceded by something better.
Gcode is a very simple language used to describe a path through Cartesian space. That's really ALL it does. EVERYTHING that comes after is done using the "processing power of the machine".
In the control, after the interpreter has parsed the gcode, the trajectory planner determines the motion sequence of the axis required to follow that path. It does so using it's preprogrammed data of the physical machines kinematics and dynamics.
These things do not lend themselves well to human readability or quick understanding under dynamic conditions, which is why they have not been successfully developed into a lower level programming language for CNC control, and why every parametric extension to gcode acts only on the gcode and not to any closer-to-the-metal functionality of the machine.
There have been some attempts at crossover over the years with varying degrees of success. STEPNC was one that disappeared. Delcam, prior to their acquisition by Autodesk, were developing a new type of post processor for powermill that learned some of the machines dynamics to tailor the toolpath for it when doing high speed machining.