Gmoccapy - A new screen for linuxcnc

More
12 years 10 months ago #41460 by mariusl
Norbert
That is alarming. I thought that I had the latest handler from you. How did I miss and update? It is not included on master as I just did a pull. I was under the impression that the plasma stuff is still what you sent me.

I just want to fix the include paths in the INI and then I will report back

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 10 months ago #41466 by newbynobi
Marius,

no, I did not include the plasma stuff till now in master.

Please be a little bit pationed, I just made a short test on the latest master, and it seems to be easy to implement that stuff in gmoccapy standard, and then push it to master.

I will try to make some tests this evening and inform you.

Norbert

Please Log in to join the conversation.

More
12 years 10 months ago #41470 by mariusl
Thanks Norbert
Are you confirming then that I am missing some latest stuff? If so then I will wait until you are done. If not I will try to get it working by myself in the meantime.

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 10 months ago #41480 by newbynobi
gmoccapy 0.9.9.6 - introduced plasma screen layout

ver. 0.9.9.6
- made a new config folder to show gmoccapy as plasma screen
- included some minor changes to be able to place user glade panels
over the coolant and spindle frame, hiding the original widgets
so plasma screen can easy be realized
This will hide also the spindle speed label in gcode info frame.
- the tool info frame can also be hidden by a user glade file, because tool
info is not needed for plasma.
- corrected an error in handling python calls in / for user glade screens,
as example introduced plasma.glade plasma.hal and plasma.py demonstrating
all possible communications


Attachment not found

Please Log in to join the conversation.

More
12 years 10 months ago #41482 by mariusl
Wow looks great Norbert. I might want to talk to you about some of the labels or terms used. Not all of them are the usual plasma terms. It could be a last thing though once we get all the other stuff working.

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 10 months ago #41484 by mariusl
Norbert
It works great in sim. I will attempt to take it into a live config and let you know.

Please have a look at the Paramsaver component that we use in Axis to save the plasma / thc spinbox settings. Is there a way that we can save the settings we use in gmoccapy?

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 10 months ago #41485 by andypugh

mariusl wrote: Is there a way that we can save the settings we use in gmoccapy?


Pretty easy in GladeVCP, even I can do it.
linuxcnc.org/docs/html/gui/gladevcp.html...ariables_in_gladevcp

I notice that the g-code syntax highlighting is wrong, there is a better .lang file at www.cnc-club.ru

Please Log in to join the conversation.

More
12 years 10 months ago #41486 by mariusl
Norbert

I am not having much luck in the live config. I did a pull and compiled fresh. At this stage I am trying to load the screen without any hal files.
Code:
**** GSCREEN INFO: Preference file path: ~/.gmoccapy_preferences USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout /home/marius/dev/bluearc/bin/gscreen:1062: GtkWarning: Invalid icon size 48 self.widgets.window1.show() USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout toolfile: /home/marius/dev/bluearc/configs/bluearc_plasma/torches.tbl USRMOT: ERROR: command timeout WARNING:Config:Can't load Default loading default layout instead Xlib.protocol.request.QueryExtension /home/marius/dev/bluearc/bin/gladevcp:185: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated builder.add_from_file(xmlname) gladevcp: trouble looking for handlers in 'plasma': PlasmaClass instance has no attribute 'connect_signals' Traceback (most recent call last): File "/home/marius/dev/bluearc/bin/gladevcp", line 122, in load_handlers objlist = h(halcomp,builder,useropts) File "./plasma.py", line 67, in get_handlers return(PlasmaClass(halcomp,builder,useropts)) File "./plasma.py", line 55, in __init__ self.connect_signals() AttributeError: PlasmaClass instance has no attribute 'connect_signals' Xlib.protocol.request.QueryExtension USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout /home/marius/dev/bluearc/share/gscreen/skins/gmoccapy/gmoccapy_handler.py:689: Warning: value "0" of type `gint' is invalid or out of range for property `max-messages' of type `gint' self.notification.set_property('max_messages', self.widgets.adj_max_messages.get_value()) USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout timeout 100 **** GSCREEN INFO: postgui filename: gmoccapy_postgui.hal HAL: ERROR: pin 'hal_manualtoolchange.change' not found gmoccapy_postgui.hal:7: unlink failed Shutting down and cleaning up LinuxCNC... USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout USRMOT: ERROR: command timeout /home/marius/dev/bluearc/scripts/linuxcnc: line 396: 32566 Killed $EMCTASK -ini "$INIFILE" Cleanup done

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 10 months ago #41488 by mariusl

Pretty easy in GladeVCP, even I can do it.
linuxcnc.org/docs/html/gui/gladevcp.html...ariables_in_gladevcp


@Andy, don't be so modest old chap. I did remember looking at that at some stage. If Norbert don't include it I will attempt to do it but I think it should be part of the screen when you use variables that change with machine behaviour.

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 10 months ago #41489 by newbynobi
Oh !

My fault!

Please delete line 55 frommer plasma.py

self.connect_signals()

I forgot to delete that one, I will correct that tomorow.

Bet your parfon.

Norbert

Please Log in to join the conversation.

Time to create page: 0.105 seconds
Powered by Kunena Forum