GPX 0.4 (beta) - All requested features implemented and tested

141 views
Skip to first unread message

Wingcommander (whpthomas)

unread,
Apr 18, 2013, 11:20:52 AM4/18/13
to gpx-co...@googlegroups.com
All requested features have now been implemented and tested. This includes left and right filament scaling, temperature overrides and ditto printing. Slic3r post processing is also now supported natively - no need to thunk with a bash script.

The attached file is a binary executable for the Mac, if you want to install on a PC you will have to download and compile the sources from here: http://github.com/whpthomas/GPX


RUNNING

To run it as a post process in KISSlicer, just add the following to the Post Process field under the Printer->Firmware tab.

/path/gpx "<FILE>"

To run it as a post process in Slic3r, just add the following to the Post Processing Scripts field under the Printer Settings->Output options tab.

/path/gpx


CONFIGURING

These are the command line arguments

Usage: gpx [-ps] [-m <MACHINE>] [-c <CONFIG>] INPUT [OUTPUT]
Switches:
-p override build percentage
-s enable stdin and stdout support for command pipes
MACHINE is the predefined machine type
r1  = Replicator 1 - single extruder
r1d = Replicator 1 - dual extruder
r2  = Replicator 2 (default config)
r2x = Replicator 2X
CONFIG is the filename of a custom machine definition (ini)
INPUT is the name of the sliced gcode input filename
OUTPUT is the name of the x3g output filename

However, to support Slic3r post processing restrictions, if no command line arguments are given - aside from the input file name - gpx will look inside its application directory for gpx.ini which you can use to configure its conversion behaviour. The available options are quite self-explanatory.

;
;  gpx.ini 
;
; gcode to x3g conversion configuration file
;

; POST PROCESSING OPTIONS

[options]

; specify the machine definition using a built-in printer type
;    r1  = Replicator 1 single
;    r1d = Replicator 1 dual
;    r2  = Replicator 2 (default)
;    r2x = Replicator 2X

printer_type=r2

; print simultaniously with both nozzles 
; 1 = enabled
; 0 = disabled

ditto_printing=0

; override gcode for the build percentage
; this should be enabled for slic3r and kisslicer
; 1 = enabled
; 0 = disabled

build_percent=1

; RIGHT EXTRUDER

[a]

; override gcode for the right filament diameter
; 0 = disabled

actual_filament_diameter=0

; override gcode for the right nozzle temperature
; 0 = disabled

nozzle_temperature=0 

; override the gcode build plate temperature
; 0 = disabled

build_platform_temperature=0

; LEFT EXTRUDER

[b]

; override gcode for the right filament diameter
; 0 = disabled

actual_filament_diameter=0

; override gcode for the right nozzle temperature
; 0 = disabled

nozzle_temperature=0 

[machine]

; set this to the filament diameter setting used in the slicer

nominal_filament_diameter=1.75

gpx 0.4 (beta).zip
Reply all
Reply to author
Forward
0 new messages