include Python file en G-code
April 07, 2016 10:04AM
hey friend,


my question is simple to explain: Can I include python programm in my G-code programm?

if yes how I can do it please

smiling smileysmiling smileysmiling smileysmiling smiley
Re: include Python file en G-code
April 07, 2016 10:49AM
If you want the printer to interpret and run Python as well as G-code then you would need printer firmware that includes a python interpreter. The only thing I can think of that would do that would be a redeem setup:

[wiki.thing-printer.com]

What do you want to achieve?
Re: include Python file en G-code
April 07, 2016 10:54AM
I use grbl with G-code to control X and Y for CNC machine but for Z is pneumatic energy I control Z with quick python programm

my question is how I include my python programm in my G-code??
VDX
Re: include Python file en G-code
April 07, 2016 11:03AM
... you can define specific M-codes or any other code structure, if you'll modify the G-Code-Parser.

We did this to controll a piezo-pastedispenser with Printrun/Pronterface.

Or you add comment-lines, which can have any text or code ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org]
Call for the project "garbage-free seas" - [reprap.org]
Sorry, only registered users may post in this forum.

Click here to login