- Posts: 125
- Thank you received: 11
LinuxCNC Features - a kind of NGCGUI
- Nick
- Offline
- Premium Member
-
Less
More
12 years 8 months ago #43944
by Nick
Replied by Nick on topic LinuxCNC Features - a kind of NGCGUI
Probably it have overwritten gladevcp files.
Have you tried reinstalling features?
Have you tried reinstalling features?
Please Log in or Create an account to join the conversation.
- craig
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 3
12 years 8 months ago #43948
by craig
Replied by craig on topic LinuxCNC Features - a kind of NGCGUI
Thanks again,
both files were overwritten so its just a matter of editing again
/usr/share/pyshared/gladevcp/hal_pythonplugin.py
/usr/share/glade3/catalogs/hal_python.xml
Craig
both files were overwritten so its just a matter of editing again
/usr/share/pyshared/gladevcp/hal_pythonplugin.py
/usr/share/glade3/catalogs/hal_python.xml
Craig
The following user(s) said Thank You: Nick
Please Log in or Create an account to join the conversation.
- the_muck
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
12 years 8 months ago #44100
by the_muck
Replied by the_muck on topic LinuxCNC Features - a kind of NGCGUI
Hallo,
i do all the steps in the readme file but when i run my config, nothing is shown. and i have not do step 6. when i do step 0 it runs.
I have a clean installation and have make the *.ini with the stepper wizzard.
github.com/cnc-club/linuxcnc-features
I have no "Add (find first calculator add after
):" so i try to follow this steps here
wiki.linuxcnc.org/cgi-bin/wiki.pl?GladeVCP_Custom_Widgets
LinuxCNC start without errors, must i do more? Edit my *.ini files ? Where i define lathe or mill?
i do all the steps in the readme file but when i run my config, nothing is shown. and i have not do step 6. when i do step 0 it runs.
I have a clean installation and have make the *.ini with the stepper wizzard.
github.com/cnc-club/linuxcnc-features
I have no "Add (find first calculator add after
LinuxCNC start without errors, must i do more? Edit my *.ini files ? Where i define lathe or mill?
Please Log in or Create an account to join the conversation.
- craig
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 3
12 years 8 months ago - 12 years 8 months ago #44102
by craig
Replied by craig on topic LinuxCNC Features - a kind of NGCGUI
I'll try to help you, I struggled with this as well but got it figured out and I love it.
Disclamer: this is how I did it, its probably the wrong way or the hard way or both so use the following at your own risk.
If someone would like to edit these instructions or make corrections please feel free to do so. This software is a great addition to Linuxcnc and I hope my instructions help make it easier for non-coders to install.
Thanks again Nick, I love Linuxcnc-features.
I'm not sure but I think your better off running the 2.6 buildbot version of Linuxcnc
- First start by going into the Linuxcnc configuration selector and chose ngcgui -- comprehensive example and let it copy all the files
- follow steps 1 to 4 as listed here github.com/cnc-club/linuxcnc-features
- when you get to step 4 make your /usr/share/pyshared/gladevcp/hal_pythonplugin.py file look like this (this is only a part of the file below to show where to insert)
from led import HAL_LED
from calculatorwidget import Calculator
from features import Features # insert this after the above line#
- in step 5 make your /usr/share/glade3/catalogs/hal_python.xml look like below (this is only a part of the file below to show where to insert)
<glade-widget-class name="Calculator" generic-name="calc" title="calculator">
<properties>
<property id="size" query="False" default="1" visible="False"/>
<property id="spacing" query="False" default="0" visible="False"/>
<property id="homogeneous" query="False" default="0" visible="False"/>
</properties>
</glade-widget-class>
<glade-widget-class name="Features" generic-name="features" title="features"> # insert this below the calculator above#
<properties>
<property id="size" query="False" default="1" visible="False"/>
<property id="spacing" query="False" default="0" visible="False"/>
<property id="homogeneous" query="False" default="0" visible="False"/>
</properties>[/color]
</glade-widget-class>
<!-- Actions -->
- step 5 second part, find the second calculator and make your file look like this. (this is only a part of the file below to show where to insert)
<glade-widget-class-ref name="ToolEdit"/>
<glade-widget-class-ref name="Calculator"/>
<glade-widget-class-ref name="Features"/>
<glade-widget-class-ref name="HAL_DRO"/>
- complete step 6 for your LOCALE
copy the features.ui file to your linuxcnc directory
add the line below to your linuxcnc ini file
GLADEVCP = -U --catalog=catalogs/mill.xml features.ui # this is where you indicate mill or lathe
like this
[DISPLAY]
PROGRAM_PREFIX = /home/craig/linuxcnc/nc_files
TKPKG = Ngcgui 1.0
TKPKG = Ngcguittt 1.0
# Ngcgui must precede Ngcguittt
GLADEVCP = -U --catalog=catalogs/mill.xml features.ui
It should work now, you cant run pncconf or stepconf (I dont think) with this setup or you'll over write the *.ini file. I saved a copy to a backup directory so when I upgrade I run pncconf or stepconf then copy from the saved template in my backup directory.
Hope this helps
Disclamer: this is how I did it, its probably the wrong way or the hard way or both so use the following at your own risk.
If someone would like to edit these instructions or make corrections please feel free to do so. This software is a great addition to Linuxcnc and I hope my instructions help make it easier for non-coders to install.
Thanks again Nick, I love Linuxcnc-features.
I'm not sure but I think your better off running the 2.6 buildbot version of Linuxcnc
- First start by going into the Linuxcnc configuration selector and chose ngcgui -- comprehensive example and let it copy all the files
- follow steps 1 to 4 as listed here github.com/cnc-club/linuxcnc-features
- when you get to step 4 make your /usr/share/pyshared/gladevcp/hal_pythonplugin.py file look like this (this is only a part of the file below to show where to insert)
from led import HAL_LED
from calculatorwidget import Calculator
from features import Features # insert this after the above line#
- in step 5 make your /usr/share/glade3/catalogs/hal_python.xml look like below (this is only a part of the file below to show where to insert)
<glade-widget-class name="Calculator" generic-name="calc" title="calculator">
<properties>
<property id="size" query="False" default="1" visible="False"/>
<property id="spacing" query="False" default="0" visible="False"/>
<property id="homogeneous" query="False" default="0" visible="False"/>
</properties>
</glade-widget-class>
<glade-widget-class name="Features" generic-name="features" title="features"> # insert this below the calculator above#
<properties>
<property id="size" query="False" default="1" visible="False"/>
<property id="spacing" query="False" default="0" visible="False"/>
<property id="homogeneous" query="False" default="0" visible="False"/>
</properties>[/color]
</glade-widget-class>
<!-- Actions -->
- step 5 second part, find the second calculator and make your file look like this. (this is only a part of the file below to show where to insert)
<glade-widget-class-ref name="ToolEdit"/>
<glade-widget-class-ref name="Calculator"/>
<glade-widget-class-ref name="Features"/>
<glade-widget-class-ref name="HAL_DRO"/>
- complete step 6 for your LOCALE
copy the features.ui file to your linuxcnc directory
add the line below to your linuxcnc ini file
GLADEVCP = -U --catalog=catalogs/mill.xml features.ui # this is where you indicate mill or lathe
like this
[DISPLAY]
PROGRAM_PREFIX = /home/craig/linuxcnc/nc_files
TKPKG = Ngcgui 1.0
TKPKG = Ngcguittt 1.0
# Ngcgui must precede Ngcguittt
GLADEVCP = -U --catalog=catalogs/mill.xml features.ui
It should work now, you cant run pncconf or stepconf (I dont think) with this setup or you'll over write the *.ini file. I saved a copy to a backup directory so when I upgrade I run pncconf or stepconf then copy from the saved template in my backup directory.
Hope this helps
Last edit: 12 years 8 months ago by craig. Reason: forgot some steps
The following user(s) said Thank You: Nick
Please Log in or Create an account to join the conversation.
- the_muck
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
12 years 8 months ago #44126
by the_muck
Replied by the_muck on topic LinuxCNC Features - a kind of NGCGUI
aaa thanks...
ok i have do only the steps at the Wiki 1-5
... than i copy your "features.ui" to my machine directory and add this in my *.ini file
GLADEVCP = -U --catalog=catalogs/lathe.xml features.ui
and it runs... now i have look at the functions i have some errors like incremental not found. But i have to define my machine speeds and cutting Parameters...
Thanks
ok i have do only the steps at the Wiki 1-5
... than i copy your "features.ui" to my machine directory and add this in my *.ini fileGLADEVCP = -U --catalog=catalogs/lathe.xml features.ui
and it runs... now i have look at the functions i have some errors like incremental not found. But i have to define my machine speeds and cutting Parameters...
Thanks
Please Log in or Create an account to join the conversation.
- Nick
- Offline
- Premium Member
-
Less
More
- Posts: 125
- Thank you received: 11
12 years 5 months ago - 12 years 5 months ago #47081
by Nick
Replied by Nick on topic LinuxCNC Features - a kind of NGCGUI
Another thing we did.
A simple parser to use external Gcode generator.
Mainly it's needed to create spiral penetration for arbitrary subroutines.
I've managed to implement spiral penetration for poly line closed paths on pure Gcode, but it's to shady
And I gave up with that for open paths - we need to reverse the path on pure gcode. I know it is possible, but it will blow up my brain.
So we've decided to create simple parser using ";py,..." construction to get Gcode from external utility. And we did it
(here's something on it, translated from Russian translate.google.ru/translate?sl=ru&tl=e...e&edit-text=&act=url )
So right now we are looking for CAM cli utility from which we might get Gcode...
I've found one www.vagrearg.org/content/gcmc
Probably there are much more of them, can you suggest us something?
PS sorry for my English... I hope you will be able to understand what I'we written...
A simple parser to use external Gcode generator.
Mainly it's needed to create spiral penetration for arbitrary subroutines.
I've managed to implement spiral penetration for poly line closed paths on pure Gcode, but it's to shady
And I gave up with that for open paths - we need to reverse the path on pure gcode. I know it is possible, but it will blow up my brain.
So we've decided to create simple parser using ";py,..." construction to get Gcode from external utility. And we did it
(here's something on it, translated from Russian translate.google.ru/translate?sl=ru&tl=e...e&edit-text=&act=url )
So right now we are looking for CAM cli utility from which we might get Gcode...
I've found one www.vagrearg.org/content/gcmc
Probably there are much more of them, can you suggest us something?
PS sorry for my English... I hope you will be able to understand what I'we written...
Last edit: 12 years 5 months ago by Nick.
Please Log in or Create an account to join the conversation.
Time to create page: 0.221 seconds