AXIS: How to set up python code generator in a tab?

More
6 years 6 months ago #164885 by cmorley
Without knowing your program it's had to say what's easiest.
gladevcp makes embedding easier and if your program is already GTK2 based that's an easier conversion too. With it's ability to do python extensions with a handler file you can do most anything you want.

If you program is GTK2 based you could patch it to do X window forwarding.

If axis-remote will also filter the program then that simplifies things.

You will have to decide what's easiest for you.

Chris

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

More
6 years 6 months ago #164887 by jmr
Currently it is split in two or three parts: bash script with Xdialog asks user for input, it is then executing python script which has no gui and it then executes another, FreeCAD (with no GUI) based script , so it is not at all limited to any GUI solution. I started to work on python only version with wx but that was for EMCO DC70 machine and I only done the job and material placement part of it, which sped things up enough. Pushing vars from Xdialog to bash to python was bad and ugly and should not be done again... Pyngcgui takes care of user input very nicely. Maybe I can hack it to run python script with the vars given instead of normal ngc script.
I will look at the gladevcp and pyngcgui sources as it already works on the machine.
A python postprocessor for pyngcgui output could do the job too.
Thanks for all the hints

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

Time to create page: 0.188 seconds
Powered by Kunena Forum