GCode2GCode can be used to convert Fused Filament Fabrication (FFF) GCode to Laser Powder Bed Fusion (LPBF) GCode and vice versa. It can be used to circumvent the original ORLAS Slicer and use a regular FFF slicer to generate G-codes for the machine.
Call the supplied executable with suitable options.
Availabe options can be accessed by calling:
.\GCode2GCode.exe -h
which lists all options.
In short: You need to specify the filename of the GCode to be read and the type of machine the code belongs to (FFF, LPBF) as well as the format the GCode should be output to.
.\GCode2GCode.exe -g CFFFP_benchy.gcode --fff --tolpbf -o "Program.xml"
short option | description |
---|---|
-g | GCode filename |
--fff | process GCode file in FFF compatibility mode (input) |
--lpbf | process GCode file in ORLAS LPBF compatibility mode (input) |
--akf | process GCode file in Arburg freeformer compatibility mode (input) |
--tofff | convert GCode to FFF GCode (REPRAP) |
--tolpbf | convert GCode to LPBF GCode (ORLAS) |
-h | produce help message |
-c arg | crop coordinates to bounding box "xmin xmax ymin ymax zmin zmax" |
-s arg | if specified GCode will be extracted starting from this string (has to be unique!) |
-j arg (=1) | object starts j paths from start |
-q arg (=;End) | string until which GCode will be extracted |
-o arg (=output.txt) | specify a filename for gcode file |
--mlwt arg | specify a minimum time length a path should consume (s=v*t) |
-t | keep travel moves of input GCode |
--clean | clean path from empty or degenerated points |
.\GCode2GCode.exe -g CFFFP_example.gcode --fff --tolpbf -o "Program.xml"
If you intend to use this work for your scientific publication please cite https://doi.org/10.3390/ma15031105