Are you going to engrave one part at a time, or hold them
in some array fixture?

Either way, I would probably have the python script
add preamble and postamble to initialize everything,
and in the second case, add indexing logic to step
from part to part in the array.  G-code variables and
looping make this easy enough, or the python can
do it all and just generate G0 and G1 moves for the
entire array.

-- Ralph
________________________________________
From: andy pugh [[email protected]]
Sent: Wednesday, February 23, 2022 8:20 AM
To: Enhanced Machine Controller (EMC)
Subject: [Emc-users] F-Engrave and LinuxCNC scripting

CAUTION: This email originated from outside the Walla Walla University email 
system.


So,  have a spreadsheet of words to be engraved on several dozen
identical parts.

I am pretty sure that I can write a Python script to convert the words
to G-code using F-engrave in batch mode (I have done it from the CL,
so Python parsing CSV would just be a layer on top of that).

But what's the best way to get that G-code in to LinuxCNC and
executed? F-engrave can be used as an input filter, but I don't think
that is useful here.

I think I want to parse together a G-code program using output from
F-engrave, then push that to LinuxCNC (Touchy interface, to make it
more difficult :-)

Thoughts?

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-users mailing list
[email protected]
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=04%7C01%7Cralph.stirling%40wallawalla.edu%7C0d63af9344cd47f17e7008d9f6e89990%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C1%7C637812301154882081%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=u6Dbyq1byqGWsbFQ5RYbf7d9wGHx18leac19xj%2FRfrI%3D&reserved=0


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to