Connection between linuxcnc and GUI
28 Apr 2021 20:18 - 28 Apr 2021 20:20 #207327
by Bocnc
Replied by Bocnc on topic Connection between linuxcnc and GUI
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?
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?
Last edit: 28 Apr 2021 20:20 by Bocnc.
Please Log in or Create an account to join the conversation.
28 Apr 2021 22:47 #207339
by andypugh
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.
Replied by andypugh on topic Connection between linuxcnc and GUI
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 or Create an account to join the conversation.
14 May 2021 19:51 #208847
by Bocnc
Replied by Bocnc on topic Connection between linuxcnc and GUI
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
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 or Create an account to join the conversation.
14 May 2021 20:17 #208850
by cmorley
Replied by cmorley on topic Connection between linuxcnc and GUI
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.
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.
The following user(s) said Thank You: Bocnc
Please Log in or Create an account to join the conversation.
Time to create page: 0.101 seconds