Gmoccapy - A new screen for linuxcnc

More
10 Dec 2013 16:28 #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 or Create an account to join the conversation.

More
10 Dec 2013 17:12 #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 or Create an account to join the conversation.

More
10 Dec 2013 19:14 #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 or Create an account to join the conversation.

More
11 Dec 2013 03:55 - 11 Dec 2013 04:00 #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


Attachments:
Last edit: 11 Dec 2013 04:00 by newbynobi.
The following user(s) said Thank You: Quadro

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

More
11 Dec 2013 05:06 #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 or Create an account to join the conversation.

More
11 Dec 2013 05:30 #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 or Create an account to join the conversation.

More
11 Dec 2013 05:46 #41485 by andypugh

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 or Create an account to join the conversation.

More
11 Dec 2013 05:50 #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.
**** 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 or Create an account to join the conversation.

More
11 Dec 2013 05:55 #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 or Create an account to join the conversation.

More
11 Dec 2013 06:31 #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 or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.161 seconds
Powered by Kunena Forum