You are not logged in.

#1 2021-09-27 17:07:38

eric.meehan
Member
Registered: 2020-01-01
Posts: 52

G-Code Executer

Hello all!

I would like to use Arch as a controller for my 3D printer and CNC router; however my Arch installation does not have (nor do I want) a GUI.  I am finding a lot of packages for executing GCode, but never just that - most include some interactive features that I do not need.

Does anyone have a recommendation for GCode software?  I am using OpenSCAD to design objects, KiCAD to design PCB's, so I just need a CLI that can send the resulting GCode over USB to the printer.

Thanks!

Offline

#2 2021-09-27 18:53:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,501
Website

Re: G-Code Executer

I've not used G-Code, but with related protocols, you can generally just send it directly to the device:

cat /path/to/gcode.file > /dev/usbWHATEVER

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2021-09-27 19:26:47

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: G-Code Executer

I think linuxcnc should have textmode and/or cli interfaces. If you do not have to execute the code, but only upload it to your printers, maybe you can use curl / tty / minicom /... directly

Last edited by progandy (2021-09-27 19:36:37)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2021-09-28 00:53:37

frickelhans
Member
Registered: 2021-09-28
Posts: 7

Re: G-Code Executer

Maybe

pronsole

suits your needs. It is meant for 3D printers though. I have not yet used it myself because I usually work with GUIs.

Offline

#5 2021-09-28 11:12:10

eric.meehan
Member
Registered: 2020-01-01
Posts: 52

Re: G-Code Executer

Thanks for the suggestions everyone, Trilby's suggestion is similar to what I saw on [StackOverflow](https://3dprinting.stackexchange.com/qu … x-terminal) (though the baud rate needs to be set).  The printer just arrived so I am going to be setting it up and trying it out over the next few days.  I'll share any progress!

Offline

Board footer

Powered by FluxBB