| >G-code is the most hilariously bad language Let's do a web site programming analogy(weak but relatable), because JS is now a mature programming language with advanced interpreters. This was not the case back when JS was used to make text dance and a few other useful ad-hoc solutions. -Early web days with just html is like plain g-code spit out from cam systems. -Early javascript is like macro options available on industrial cnc[1][2][3]. -Mid years javascript is where cnc macro program is heading, isolated shops doing some awesome things but no industry wide adoption of a coherent system. -Late years javascript is where cnc macro programming needs to be if we want proper revision control and all the other benefits that normal programmers have afforded themselves. Which brings us to real digital twins(monozygotic, not the fraternal state of the art), a single source of truth digital file should manifest as both a real world part on the shop floor and a virtual object in the top floor to be used by all the departments. To close the analogy, like nodejs affords developing on the backend and the frontend with the same language. [1] http://parts.haascnc.com/haasparts/en/USD/Performance-Upgrad... [2] https://www.fanucamerica.com/fanuc-america-product-support/f... [3] https://www.cncci.com/resources/tips/w%20custom%20macro.htm |