- Posts: 3410
- Thank you received: 994
Micron units in G-Code
14 years 1 month ago #24030
by BigJohnT
Replied by BigJohnT on topic Re:Micron units in G-Code
jpka wrote:
Look at the Simple G Code Generators on the Wiki and find the line that tests for the existence of the Axis gui.
IN_AXIS = os.environ.has_key("AXIS_PROGRESS_BAR")
and
if IN_AXIS:
self.quitButton = Button(self, text='Write to AXIS and Quit',\
command=self.WriteToAxis)
and
def WriteToAxis(self):
sys.stdout.write(self.g_code.get(0.0, END))
wiki.linuxcnc.org/uploads/arcbuddy.py
John
So i currently gathering all needed information, especially about how to (easy) integrate my program as a filter in Axis's 'open' menu and then how to auto-transfer generated .ngc file to it...
Look at the Simple G Code Generators on the Wiki and find the line that tests for the existence of the Axis gui.
IN_AXIS = os.environ.has_key("AXIS_PROGRESS_BAR")
and
if IN_AXIS:
self.quitButton = Button(self, text='Write to AXIS and Quit',\
command=self.WriteToAxis)
and
def WriteToAxis(self):
sys.stdout.write(self.g_code.get(0.0, END))
wiki.linuxcnc.org/uploads/arcbuddy.py
John
Please Log in or Create an account to join the conversation.
13 years 5 months ago #33527
by jpka
Replied by jpka on topic Re:Micron units in G-Code
I just done the real production tests of program, and it looks ready to use. I prepare tarball with C code and two testcase files. Program written in C with optional GTK support. Program conforms with KISS rule (i hope).
If the program can be useful, lets discuss it, but probably in new topic, current is quite old.
I will be happy to see actual results of program using.
For more info, please look at C source file.
If the program can be useful, lets discuss it, but probably in new topic, current is quite old.
I will be happy to see actual results of program using.
For more info, please look at C source file.
Please Log in or Create an account to join the conversation.
13 years 5 months ago - 13 years 5 months ago #33528
by jpka
Replied by jpka on topic Re:Micron units in G-Code
I just done the real production tests of program, and it looks ready to use. I prepare tarball with C code and two testcase files. Program written in C with optional GTK support. Program conforms with KISS rule (i hope).
If the program can be useful, lets discuss it, but probably in new topic, current is quite old.
I will be happy to see actual results of program using.
For more info, please look at C source file.
OOPS please delete the duplicate. Sorry
If the program can be useful, lets discuss it, but probably in new topic, current is quite old.
I will be happy to see actual results of program using.
For more info, please look at C source file.
OOPS please delete the duplicate. Sorry
Last edit: 13 years 5 months ago by jpka. Reason: removing accidental duplicate
Please Log in or Create an account to join the conversation.
13 years 5 months ago - 13 years 5 months ago #33529
by jpka
Replied by jpka on topic Re:Micron units in G-Code
The file lost, try to re-posting:
gerb2ngc.tar.bz2
(file again lost, i will send via email when somebody need it)
gerb2ngc.tar.bz2
(file again lost, i will send via email when somebody need it)
Last edit: 13 years 5 months ago by jpka. Reason: File again lost... multiple server 500 errors...
Please Log in or Create an account to join the conversation.
13 years 5 months ago #33537
by BigJohnT
Replied by BigJohnT on topic Re:Micron units in G-Code
bz2 is not an approved extension. I think .tar or .zip and a few others work. Check the using this forum for the complete list.
John
John
The following user(s) said Thank You: jpka
Please Log in or Create an account to join the conversation.
Time to create page: 0.294 seconds