- Posts: 14
- Thank you received: 0
Micron units in G-Code
So i have time now to complete this work and turn it into filter. It is not a problem to make it handle command line arguments. But i not see a clear way to integrate it into LinuxCNC. Can anybody suggest me easy way to do it? Documentation can be helpful; while working example of filter is best way. I can rewrite my source code from C to anything what is more welcome by community (please suggest language, if so). Thank you! :side:
Please Log in to join the conversation.
Hi Friends!
So i have time now to complete this work and turn it into filter. It is not a problem to make it handle command line arguments. But i not see a clear way to integrate it into LinuxCNC. Can anybody suggest me easy way to do it? Documentation can be helpful; while working example of filter is best way. I can rewrite my source code from C to anything what is more welcome by community (please suggest language, if so). Thank you! :side:
There is a good example here:
thread.gmane.org/gmane.linux.distributio...er/28010/focus=28021
I think it is using a simple sed script, but it could be anything.
Please Log in to join the conversation.
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 to join the conversation.
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 to join the conversation.
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
Please Log in to join the conversation.
gerb2ngc.tar.bz2
(file again lost, i will send via email when somebody need it)
Please Log in to join the conversation.
John
Please Log in to join the conversation.
