- Posts: 125
- Thank you received: 11
LinuxCNC Features - a kind of NGCGUI
- Nick
- Offline
- Premium Member
-
Less
More
13 years 5 months ago - 13 years 4 months ago #34715
by Nick
LinuxCNC Features - a kind of NGCGUI was created by Nick
Hi!
We have started to develop a kind of replacement for ngcgui.
What is done allready:
GUI for creating Features, system for saving/parsing the subroutines, creating Gcode.
There are some new features like Linear or Circular array.
We are planning to make able Refreshing Gcode in real time, so any changes in parameters will be seen at LinuxCNC preview in realtime.
Source codes are available at github.com/cnc-club/linuxcnc-features
Here's the link to original developping thread (in Russian) cnc-club.ru/forum/viewtopic.php?f=15&t=3...ilit=features#p69194
Now to the problems
We thought that it will be great if we would be able to make GladeVCP component from LinuxCNC Features. So we'll be able to pack it into any interface.
But we faced the problem - this tutorial does not work ( wiki.linuxcnc.org/cgi-bin/wiki.pl?GladeVCP_Custom_Widgets ). And gladevcp does not give much debugging information, except that creating from xml was failed.
Can anybody help us with that, please?
Any help will be appreciated.
PS sorry for my English.
We have started to develop a kind of replacement for ngcgui.
What is done allready:
GUI for creating Features, system for saving/parsing the subroutines, creating Gcode.
There are some new features like Linear or Circular array.
We are planning to make able Refreshing Gcode in real time, so any changes in parameters will be seen at LinuxCNC preview in realtime.
Source codes are available at github.com/cnc-club/linuxcnc-features
Here's the link to original developping thread (in Russian) cnc-club.ru/forum/viewtopic.php?f=15&t=3...ilit=features#p69194
Now to the problems
We thought that it will be great if we would be able to make GladeVCP component from LinuxCNC Features. So we'll be able to pack it into any interface.
But we faced the problem - this tutorial does not work ( wiki.linuxcnc.org/cgi-bin/wiki.pl?GladeVCP_Custom_Widgets ). And gladevcp does not give much debugging information, except that creating from xml was failed.
Can anybody help us with that, please?
Any help will be appreciated.
PS sorry for my English.
Last edit: 13 years 4 months ago by Nick.
The following user(s) said Thank You: RotarySMP, jo_key, aer73
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
13 years 5 months ago #34739
by cmorley
Replied by cmorley on topic LinuxCNC Features - possible replacement of NGCGUI
Well can you give any idea of the failure?
Sometimes the error message is posted when opening the glade interface from a terminal. It is easy to miss as it scrolls by.
Chris M
Sometimes the error message is posted when opening the glade interface from a terminal. It is easy to miss as it scrolls by.
Chris M
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
13 years 5 months ago #34740
by cmorley
Replied by cmorley on topic LinuxCNC Features - possible replacement of NGCGUI
I will also mention the the gladeVCP tutorial is based on an earlier version of what is incorporated into linuxcnc.
So a guaranteed working example is already on your computer.
In fact there are several gladeVCP widgets there. Look in <linuxcnc folder>/lib/python/gladevcp/
Chris M
So a guaranteed working example is already on your computer.
In fact there are several gladeVCP widgets there. Look in <linuxcnc folder>/lib/python/gladevcp/
Chris M
Please Log in or Create an account to join the conversation.
- Nick
- Offline
- Premium Member
-
Less
More
- Posts: 125
- Thank you received: 11
13 years 5 months ago - 13 years 5 months ago #34900
by Nick
Replied by Nick on topic LinuxCNC Features - possible replacement of NGCGUI
Sorry for the delay. Here are some symptoms:
If I run gladevcp features.glade, where features.glade - is glade interface from git - it starts up a new window with the widget.
If I try to run gladevcp features.ui where glade.ui is
I.e. just a window with one Fratures component, I get following error:
gladevcp features.ui
(gladevcp:8918): libglade-WARNING **: Expected <glade-interface>. Got <interface>.
(gladevcp:8918): libglade-WARNING **: did not finish in PARSER_FINISH state
**** GLADE VCP ERROR: With xml file: features.ui : could not create GladeXML object
If I run gladevcp features.glade, where features.glade - is glade interface from git - it starts up a new window with the widget.
If I try to run gladevcp features.ui where glade.ui is
Code:
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gladevcp 0.0 -->
<requires lib="gtk+" version="2.24"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<child>
<object class="Features" id="features">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
</child>
</object>
</interface>
gladevcp features.ui
(gladevcp:8918): libglade-WARNING **: Expected <glade-interface>. Got <interface>.
(gladevcp:8918): libglade-WARNING **: did not finish in PARSER_FINISH state
**** GLADE VCP ERROR: With xml file: features.ui : could not create GladeXML object
Last edit: 13 years 5 months ago by Nick.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
13 years 5 months ago #34951
by cmorley
Replied by cmorley on topic LinuxCNC Features - possible replacement of NGCGUI
Sorry I am not understanding the difference.
if you start the glade editor the widget will show?
If you make a gladevcp panel with the widget it will show?
If you change the ending to .ui it won't show?
Remember that you must have the scripts/rip/environment set up.
also to update the hal_python.xml I believe require make clean;make
Chris M
if you start the glade editor the widget will show?
If you make a gladevcp panel with the widget it will show?
If you change the ending to .ui it won't show?
Remember that you must have the scripts/rip/environment set up.
also to update the hal_python.xml I believe require make clean;make
Chris M
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
13 years 5 months ago #34954
by cmorley
Replied by cmorley on topic LinuxCNC Features - possible replacement of NGCGUI
also I seem to be missing icons in the subroutines folder - i get lots of errors.
Are you planning to put the subroutines folder somewhere - right now it has to be in the folder you start the glade editor from.
Chris M
Are you planning to put the subroutines folder somewhere - right now it has to be in the folder you start the glade editor from.
Chris M
Please Log in or Create an account to join the conversation.
Time to create page: 0.194 seconds