LinuxCNC Features - a kind of NGCGUI

More
17 Feb 2014 07:34 #43907 by craig
I feel a bit foolish but I have your features running perfectly, thanks very much for your great work. These routines will help me a lot.

Please Log in or Create an account to join the conversation.

More
18 Feb 2014 13:20 #43935 by craig
Humm.... I had everything working until I grabbed the latest from buildbot and now Linuxcnc wont start.
I've attached a file called crash_report.txt

Thanks in advance
Attachments:
The following user(s) said Thank You: Nick

Please Log in or Create an account to join the conversation.

More
18 Feb 2014 19:17 #43944 by Nick
Probably it have overwritten gladevcp files.
Have you tried reinstalling features?

Please Log in or Create an account to join the conversation.

More
18 Feb 2014 21:52 #43948 by craig
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
The following user(s) said Thank You: Nick

Please Log in or Create an account to join the conversation.

More
24 Feb 2014 06:38 #44100 by the_muck
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?

Please Log in or Create an account to join the conversation.

More
24 Feb 2014 11:07 - 24 Feb 2014 11:28 #44102 by craig
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

File Attachment:

File Name: features.ui
File Size:1 KB


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
Attachments:
Last edit: 24 Feb 2014 11:28 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.

More
24 Feb 2014 21:20 #44126 by the_muck
aaa thanks...

ok i have do only the steps at the Wiki 1-5 :D ... 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

Please Log in or Create an account to join the conversation.

More
20 May 2014 15:24 - 20 May 2014 15:24 #47081 by Nick
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... :)
Last edit: 20 May 2014 15:24 by Nick.

Please Log in or Create an account to join the conversation.

More
28 May 2014 17:37 #47446 by mariusl
Hi Nick
Have you tested this with Gmoccapy or do you know if anyone has?

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

More
28 May 2014 18:01 #47447 by mariusl
I have no calculators widgets in my xml files. Am I missing something to install?

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.109 seconds
Powered by Kunena Forum