Gmoccapy - A new screen for linuxcnc

More
12 years 7 months ago #44813 by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Halo Marius,

I do use Aptana Studio 3, as I like it most of all the stuff I tried. It has code compltation as well as code checking.

And best, also a Debugger is included.
May be I can post later my settings, as the standard is not the best in my opinion.

I will also post a skeleton to beginn with if you want to add your own handlers.

Norbert

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

More
12 years 7 months ago #44814 by mariusl
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc
Hi Norbert
Yes that will be great. For the template and the settings please. I will get Aptana in the mean time.

Regards
Marius


www.bluearccnc.com

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

More
12 years 7 months ago #44818 by andypugh
Replied by andypugh on topic Gmoccapy - A new screen for linuxcnc

mariusl wrote: I just installed PyCharm IDE as it has code completion functionality.


I use Eclipse for C and Python (often both at the same time) when working on LinuxCNC.
(And, just to complicate matters, I work at a Mac, which also hosts the git repositories, which are remote-mounted by the target systems)

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

More
12 years 7 months ago #44822 by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Eclypse is a very powerfull IDE, but in my opinion to heavy to use it with pure python. And you have to install aditional parts to get python suport. Aptana is the small Eclypse with pydev (python support) on board.

I tested both and find Aptana to fit best my needs, but it is like most thinks in the world, there are several ways to reach your goal and each way has its own advantages.

Norbert

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

More
12 years 7 months ago - 12 years 7 months ago #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
Attachments:
Last edit: 12 years 7 months ago by newbynobi.
The following user(s) said Thank You: mariusl, balestrino

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

More
12 years 7 months ago #44842 by mariusl
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.

Regards
Marius


www.bluearccnc.com

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

Moderators: newbynobi, HansU
Time to create page: 0.803 seconds
Powered by Kunena Forum