Gmoccapy - A new screen for linuxcnc
15 Mar 2014 17:34 - 15 Mar 2014 17:39 #44840
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Halo Marius and all the others interested in python glade and gmoccapy:
Here you can download Aptana Studio 3
Attached are my settings, with optimized Code Highlight and adapted style to be most PEP8 conform:
(you will have to uncompress before import)
How To Import Settings
And second attachment is the skeleton for custom panel with hide hal pin for Marius
Just copy the 4 files to sim/gmoccapy and start hiding_panel.ini for testing.
See the source code py file for a lot of comments and hints and the ini file for how to embed this.
Norbert
Here you can download Aptana Studio 3
Attached are my settings, with optimized Code Highlight and adapted style to be most PEP8 conform:
(you will have to uncompress before import)
How To Import Settings
And second attachment is the skeleton for custom panel with hide hal pin for Marius
Just copy the 4 files to sim/gmoccapy and start hiding_panel.ini for testing.
See the source code py file for a lot of comments and hints and the ini file for how to embed this.
Norbert
Last edit: 15 Mar 2014 17:39 by newbynobi.
The following user(s) said Thank You: mariusl, balestrino
Please Log in or Create an account to join the conversation.
15 Mar 2014 18:42 #44842
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc
Ha Norbert must be the nicest guy on this forum. Thanks a lot man, not only did you solve the problem but you also caused me to get committed to learn Python and GladeVCP.
I was getting frustrated by not being able to take full advantage of many of the LCNC features due to my lack of knowledge of Python.
I am sure a lot of other people will also benefit from your efforts here.
I was getting frustrated by not being able to take full advantage of many of the LCNC features due to my lack of knowledge of Python.
I am sure a lot of other people will also benefit from your efforts here.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
15 Mar 2014 18:56 #44843
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc
Just tested it, bloody amazing man. Now we can do some stuff
This screen just gets better and better.
This screen just gets better and better.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
15 Mar 2014 19:05 #44844
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc
Norbert
Do you use the workspace the same as your config directory?
Do you use the workspace the same as your config directory?
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
15 Mar 2014 20:47 #44849
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Hallo Marius,
no, please do not use the config dir as Aptana workspace dir. Use the default in your home instead, otherwise you will get a lot of files in your linuxcnc-dev directory witch are not needed and cause only problems in case of building a patch or pushing changes.
Norbert
no, please do not use the config dir as Aptana workspace dir. Use the default in your home instead, otherwise you will get a lot of files in your linuxcnc-dev directory witch are not needed and cause only problems in case of building a patch or pushing changes.
Norbert
Please Log in or Create an account to join the conversation.
15 Mar 2014 21:12 #44851
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc
Hi Norbert
Sorry for the twenty questions. Is there a way to run just this panel from the terminal or do we need the full Gmoccapy to load?
Sorry for the twenty questions. Is there a way to run just this panel from the terminal or do we need the full Gmoccapy to load?
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
16 Mar 2014 19:09 #44877
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Halo Marius,
yes and no is the answer.
Open a terminal and start gmoccapy
open an other terminal and after also gibing rip-environment enter
gladevcp hiding_panel.glade
or
gladevcp -u hiding_panel.py hiding_panel.glade
Norbert
yes and no is the answer.
Open a terminal and start gmoccapy
open an other terminal and after also gibing rip-environment enter
gladevcp hiding_panel.glade
or
gladevcp -u hiding_panel.py hiding_panel.glade
Norbert
Please Log in or Create an account to join the conversation.
16 Mar 2014 20:06 #44879
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc
Ahh Ok. I take it the panel that you are working on does not have to be loaded in Gmoccapy, only in the second terminal.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
17 Mar 2014 01:08 #44885
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Just pusher 1.0.9,
it solves a "Ignore Limit" bug.
Norbert
it solves a "Ignore Limit" bug.
Norbert
Please Log in or Create an account to join the conversation.
17 Mar 2014 10:54 #44909
by jbunch
Replied by jbunch on topic Gmoccapy - A new screen for linuxcnc
Hi Norbert,
I went to use Gmoccapy today to turn some parts and the spindle readout is not the same.
In Forward I get the spindle speed of 500 rpm and a spindle at speed light.
In reverse I now get a negitive spindle speed -500 rpm with no spindle at speed light.
I have a back tool lathe it spends most of it's time in reverse.
Is this a change you have made?
Is this the way it will be from now on?
I have changed nothing in my config files except the disply section and
changes to posthui.hal required for Gmoccapy.
Jim
I went to use Gmoccapy today to turn some parts and the spindle readout is not the same.
In Forward I get the spindle speed of 500 rpm and a spindle at speed light.
In reverse I now get a negitive spindle speed -500 rpm with no spindle at speed light.
I have a back tool lathe it spends most of it's time in reverse.
Is this a change you have made?
Is this the way it will be from now on?
I have changed nothing in my config files except the disply section and
changes to posthui.hal required for Gmoccapy.
Jim
Please Log in or Create an account to join the conversation.
Time to create page: 0.165 seconds