inkcut / inkcut

An application for controlling 2D plotters, cutters, engravers, and CNC machines.
https://codelv.com/projects/inkcut/
GNU General Public License v3.0
313 stars 70 forks source link

Request: svg to hpgl #244

Open MrKyr opened 4 years ago

MrKyr commented 4 years ago

I was wondering if someone could point me in the right direction for a standalone script or inkcut cli command for svg to hpgl convertor. Thanks in advance

enyachoke commented 4 years ago

@MrKyr I thin if you select the generic inkscut driver and output to file you can get hpgl

MrKyr commented 4 years ago

@MrKyr I thin if you select the generic inkscut driver and output to file you can get hpgl

yes I am aware of that.

My request is for a command line tool to take two arguments, input file (.svg) and output (.hpgl) based in inkcut's hpgl code. I don't want to interact with the gui. All i want is a command line tool so I can call it from a custom script, like svg2hpgl input.svg output.hpgl or inkcut input.svg output.hpgl

mgmax commented 2 months ago

Inkscape itself can also export to HPGL, without using InkCut: inkscape /tmp/a.svg -o /tmp/a.hpgl