Hi,
I would like to build a rather minimal GUI for an automated saw.
As I am quite comfortable with GTK and C/C++
For a automated saw i should only use the linuxcnc hal interface to connect hardware like motors, encoders etc.
To clearify, you then have a .hal file wich is loaded by a halcmd, without actually starting lcnc.
A opengl gremlin gcode preview screen is kind of useless and complex. Do you need gcode anyway for a saw?
I think you need a smart data input. Can be touch screen, or can be visualised by c++ opencascade cad wich is quite
easy to use in c++.
If you know c++ then it's easy to write some code for the saw. You can send calculated position's to the stepgen component
who takes care as a pid controller.
If you want to program in c++ with linuxcnc hal and make a nice saw preview in 3d. This is possible.
I don't know how much time you wanna spent to build the program?
There is also a new
qml
app to look at. This is a quite simple coding format. I don't use it myself. Qml is more for dummy's, but it is very responsive. Building a web browser is 5 minutes of work in Qml.
I agree with mr. Morley. Python is the easyest way to go. In the past i started also with python gtk2 for cnc gui's.
with your answers I was able to dig much deeper in the code and the internals of linuxcnc.
With all respect, you don't have to dig this deep. Just stay at the floorlevel for now. Then you are much more productive in
creating a solution.