Gmoccapy - A new screen for linuxcnc

More
15 Mar 2014 17:34 - 15 Mar 2014 17:39 #44840 by newbynobi
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
Attachments:
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.

More
15 Mar 2014 18:42 #44842 by mariusl
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.

Regards
Marius


www.bluearccnc.com

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

More
15 Mar 2014 18:56 #44843 by mariusl
Just tested it, bloody amazing man. Now we can do some stuff :whistle:

This screen just gets better and better.

Regards
Marius


www.bluearccnc.com

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

More
15 Mar 2014 19:05 #44844 by mariusl
Norbert
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.

More
15 Mar 2014 20:47 #44849 by newbynobi
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

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

More
15 Mar 2014 21:12 #44851 by mariusl
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?

Regards
Marius


www.bluearccnc.com

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

More
16 Mar 2014 19:09 #44877 by newbynobi
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

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

More
16 Mar 2014 20:06 #44879 by mariusl
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.

More
17 Mar 2014 01:08 #44885 by newbynobi
Just pusher 1.0.9,

it solves a "Ignore Limit" bug.

Norbert

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

More
17 Mar 2014 10:54 #44909 by jbunch
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

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

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