You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vitaliy Filippov 837de3498d Do not include homing and heating time in build progress 6 years ago
examples More work on 2.0 7 years ago
scripts More work on 2.0 7 years ago
Makefile GPX 2.0-alpha 7 years ago GPX 2.0-alpha 7 years ago
getopt.c Release Candidate 2 7 years ago
getopt.h GPX 2.0-alpha 7 years ago
gpx-main.c Fixed segfault when input file has not been found 6 years ago
gpx.c Do not include homing and heating time in build progress 6 years ago
gpx.h More work on 2.0 7 years ago
gpx.ini Buffer overflow detection 7 years ago

GPX was created by Dr. Henry Thomas (aka Wingcommander) in April 2013

GPX is a post processing utility for converting gcode output from 3D slicing software like Cura, KISSlicer, S3DCreator and Slic3r to x3g files for standalone 3D printing on Makerbot Cupcake, ThingOMatic, and Replicator 1/2/2x printers - with support for both stock and sailfish firmwares. My hope is that is little utility will open up Makerbot 3D printers to a range of new and exciting sources and utilities for 3D printing input.


gpx [-dgiprsvw] [-b B] [-c C] [-f F] [-m M] [-x X] [-y Y] [-z Z] IN [OUT]


-d	simulated ditto printing
-g	Makerbot/ReplicatorG GCODE flavor
-i	enable stdin and stdout support for command line pipes
-p	override build percentage
-r	Reprap GCODE flavor
-s	enable USB serial I/O and send x3G output to 3D printer
-v	verose mode
-w	rewrite 5d extrusion values

B is baudrate for serial I/O (default is 115200)

C is the filename of a custom machine definition (ini)

F is the actual filament diameter in the printer

M is the predefined machine type:

c3  = Cupcake Gen3 XYZ, Mk5/6 + Gen4 Extruder
c4  = Cupcake Gen4 XYZ, Mk5/6 + Gen4 Extruder
cp4 = Cupcake Pololu XYZ, Mk5/6 + Gen4 Extruder
cpp = Cupcake Pololu XYZ, Mk5/6 + Pololu Extruder
t6  = TOM Mk6 - single extruder
t7  = TOM Mk7 - single extruder
t7d = TOM Mk7 - dual extruder
r1  = Replicator 1 - single extruder
r1d = Replicator 1 - dual extruder
r2  = Replicator 2 (default)
r2h = Replicator 2 with HBP
r2x = Replicator 2X

X,Y & Z are the coordinate system offsets for the conversion:

X = the x axis offset
Y = the y axis offset
Z = the z axis offset

IN is the name of the sliced gcode input filename

OUT is the name of the x3g output filename or the serial I/O port


gpx -p -m r2 my-sliced-model.gcode
gpx -c custom-tom.ini example.gcode /volumes/things/example.x3g
gpx -x 3 -y -3 offset-model.gcode
gpx -m c4 -s sio-example.gcode /dev/tty.usbmodem