- Posts: 457
- Thank you received: 124
LinuxCNC Features - a kind of NGCGUI
- FernV
- Offline
- Platinum Member
-
So far I have not found the way to make gmoccapy load a file
I did not have good results with gmoccapy. I postponed the task for a latter date. For now I want to make Features the best it can be and it works well with axis
I have never heard of a features_gmoccapy.glade file before. If I can put my hand on something that works, I will include it.
Please test with axis and comment
Regards
Fern
Please Log in or Create an account to join the conversation.
- mariusl
- Offline
- Platinum Member
-
Just for completeness here is the error and the glade file.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
- FernV
- Offline
- Platinum Member
-
- Posts: 457
- Thank you received: 124
I will look at it and include it for sure when I have it working well
Regards
Fern
Please Log in or Create an account to join the conversation.
- mariusl
- Offline
- Platinum Member
-
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
- tome
- Offline
- Premium Member
-
- Posts: 116
- Thank you received: 11
FernV wrote: Hi,
You can now download and test a new advanced version of Linuxcnc-features at
fernv.github.io/linuxcnc-features
Cool, looking at it now...
When I start it (standalone) I get an error that says:
G-Code error in features.ngc
Near line 62 of /home/tom/linuxcnc/features/FernV-linuxcnc-features-ba61fd6/scripts/features.ngc: Bad character 'y' used
Is this because it comes up in mill mode (using a y axis) and I am running a lathe? Anyway if I click ok the window comes up as it should...
-Tom
PS:
This error comes up in the terminal where I start Axis:
emc/task/emctask.cc 389: interp_error: Unable to open file <./scripts/features.ngc>
Unable to open file <./scripts/features.ngc>
can't open ./scripts/features.ngc
And this error comes up in the terminal where I start features.py:
tom@EMCO-120P:~/linuxcnc-features/FernV-linuxcnc-features-ba61fd6$ ./features.py
./features.py:2897: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 2 char 42: Element 'markup' was closed, but the currently open element is 'D0'
return window.run()
PPS:
No matter what I do in Features I get an error in Axis that says:
Unable to open file <./scripts/features.ngc>
can't open ./scripts/features.ngc
PPPS:
If I select Lathe thread i get a G-Code error in features.ngc dialog that says:
Near line 54 of
/home/tom/linuxcnc-features/FernV.../scripts/features.ngc:
Spindle not turning in G76
Please Log in or Create an account to join the conversation.
- FernV
- Offline
- Platinum Member
-
- Posts: 457
- Thank you received: 124
tome wrote: Cool, looking at it now...
When I start it (standalone) I get an error that says:
G-Code error in features.ngc
Near line 62 of /home/tom/linuxcnc/features/FernV-linuxcnc-features-ba61fd6/scripts/features.ngc: Bad character 'y' used
When this happen, in LinuxCNC open File menu and select Edit file. In the editor (maybe gedit it depends on your configuration) look at the specified line to understand what is wrong
tome wrote: This error comes up in the terminal where I start Axis:
emc/task/emctask.cc 389: interp_error: Unable to open file <./scripts/features.ngc>
Unable to open file <./scripts/features.ngc>
can't open ./scripts/features.ngc
I thought this was solved. Check your lathe.ini file to see where PROGRAM_PREFIX points. It can be a relative path to this file or absolute. Also you may try opening features before LinuxCNC.
tome wrote: And this error comes up in the terminal where I start features.py:
tom@EMCO-120P:~/linuxcnc-features/FernV-linuxcnc-features-ba61fd6$ ./features.py
./features.py:2897: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 2 char 42: Element 'markup' was closed, but the currently open element is 'D0'
return window.run()
It looks like a markup text somewhere is not right, something like <b><i>Display text</b></i> instead of <b><i>Display text</i></b>
tome wrote: PPPS:
If I select Lathe thread i get a G-Code error in features.ngc dialog that says:
Near line 54 of
/home/tom/linuxcnc-features/FernV.../scripts/features.ngc:
Spindle not turning in G76
I did not review lathe routines that I did not write like this one but I found some code was missing. I corrected that and pushed to git but it does not show although git on my computer says files are up to date. The file is ini/lathe/thread-adv.ini but if you want to correct it here how to do it simply :
1- in features do Add -> Threading -> Thread
2- in the table view select and right click on Lathe thread ??? or use Utilities Menu and select "Edit current feature" (it will open the file in your editor)
3- go at the end and replace everything after
[PARAM_FEED]
name = Feed
type = string
icon = icons/tool-feed.png
tool_tip = Feed
value = #<_global_feed>
with
[PARAM_SPINDLE]
name = Spindle Speed
type = int
icon = spindle.png
tool_tip = Spindle speed
value = 400
[CALL]
content =
#<p> = [#param_p]
#<k> = [#param_k]
G0 X#<_global_rappid>
G0 X[#param_x0]
G0 Z[#param_z0]
S#param_spindle M3
G76 P[#param_p] Z[#param_z] I[#param_i] J[#param_j] R[#param_r] K[#param_k] Q[#param_q] H[#param_h] E[#param_e] L[#param_l]
4- save the file
5- in features delete Lathe thread ???
6- reload it with Add -> Threading -> Thread
7- set params to have threads that are OK
Regards
Fern
Please Log in or Create an account to join the conversation.