Skip to content

Print3r: Post Processors

Rene K. Mueller edited this page Jun 28, 2021 · 5 revisions

A post-processor is a third-party program which takes G-code and converts or alters it before it's saved, sent to a 3D printer or otherwise is used.

Define Post-Processor

First define a post-processing step within command-line or in a printer profile:

post_<name> = my_processor %i -o %o

whereas %i stands for input file, and %o for output file, as those are dynamically created, you just use the place-holders.

Example:

post_paxinkin = ikgcode pax.ikp.json %i -o %o

Using Post-Processors

You can use a defined post-processor by name on the command-line or in a printer profile:

post=<name>

and in case you want to apply multiple post-processing steps, add , between each step:

post=<name1>,<name2>

or

% print3r --printer=ashtar-k-2-pax print xyzHollowCalibrationCubeV2.stl --post=paxinkin