Connection between linuxcnc and GUI

More
5 years 6 months ago #207327 by Bocnc
A good reason: I want to learn more about OpenGL ;) and as I think I will need a more complex but customized GUI in the future, this project is a nice start.

The 4x20 a bit too minimal. But nice example code to look at. What do you mean with you question the approach?
Was there a good option to use for a press brake?

Please Log in to join the conversation.

More
5 years 6 months ago #207339 by andypugh

Bocnc wrote: What do you mean with you question the approach?


I am currently implementing homing and jogging in a HAL component. So re-inventing the wheel in many ways, these (and general axis motion to set positions) are already-solved problems. I am thinking that finding a way to add press-brake motions by foot-pedal to a conventional config would maybe have been better.

Please Log in to join the conversation.

More
5 years 5 months ago #208847 by Bocnc
Hi Chris,

with your hints I could solve most of my questions. I have just one remaining. How to get the preview data of the interpreter of a ngc file?
I couldn't find the interface to plan and preview a file. Could you give me some hint?

David

Please Log in to join the conversation.

More
5 years 5 months ago #208850 by cmorley
if you look at lib/python/gremlin.py 's function load_preview()

This loads the program using a separate interpreter that is used for display only.
It gets pretty hazy from there and you need to follow the code.

Please Log in to join the conversation.

Time to create page: 0.049 seconds
Powered by Kunena Forum