I am looking to learn to program a 3d printer using c++ or java. Anywhere you know that teaches or explains how 3d printer code works.
I am looking to learn to program a 3d printer using c++ or java. Anywhere you know that teaches or explains how 3d printer code works.
The Firmware that drives these 3D Printers (Marlin is the current version) is open to download and hack at yourself. He has shared this via GitHub: https://github.com/ErikZalm/Marlin. Beyond this, you could write your own wrapper for 3D printing drivers or as a host (compared to Printrun/Pronterface, Repetier Host, or OctoPrint) package. Driving the printer itself relies on Gcode, which is an intermediary step between a solid object file (OBJ, STL, etc) and the printed end product.
Kirk
What Kirk said in the simplest form is that if you want to go and contribute to an existing firmware such as Marlin then go ahead - the industry loves new ideas.
However, as Kirk said, G-Code is the way to go for programming the movement and extruder. It is not necessarily a compiled language, it is run-time code.