-
Notifications
You must be signed in to change notification settings - Fork 4
Home
THIS DOCUMENTATION IS PRELIMINARY FOR AN UNPUBLISHED VERSION OF PRINT3R - WORK IN PROGRESS
% print3r [<options>] <command> <file1> ...
Commands:
print
slice
render
% print3r print cube.scad
% print3r print cube.stl
% print3r print cube.gcode
% print3r --output=cube.gcode slice cube.scad
% print3r --output=cube.gcode slice cube.stl
% print3r --output=test.png render cube.scad
% print3r --output=test.png render cube.stl
% print3r --output=test.png render cube.gcode
For each printer you define a profile settings/<slicer>/<name>
which you reference with --printer=<name>
when calling print3r
.
The most common settings are:
-
machine_width
: build width (X) [mm] -
machine_depth
: build depth (Y) [mm] -
machine_height
: build height (Z) [mm] -
nozzle_diameter
: diameter of nozzle [mm] -
filament_diameter
: diameter of the filament/material [mm]
Filament profiles and other group settings are called a 'macro', or a list of settings, which reside in
settings/<macro>
or settings/<slicer>/<macro>
and can be reference in command-line as @<macro>
like
% print3r @filament/prusament @medium @hollow @thin print models/cube.scad
whereas
-
@filament/prusament
is a macro which defines layer 0 and general print temperatures, perhaps even print speed -
@medium
defines the layer height (or general "print quality") -
@hollow
sets infill to 0 -
@thin
sets wall/perimeters to 1
-
coarse
: rough/coarse quality (layer height = 80% nozzle diameter) -
medium
: average quality (layer height = 50% nozzle diameter) -
fine
: fine quality (layer height = 25% nozzle diameter) -
hollow
: infill 0% -
thin
: single wall/perimeter
Place macros for filament specifics into settings/filament/<profile>
, for example.
Place macros to settings/<macro>
general settings and settings/<slicer>/<macro>
for slicer specific settings.
Follow slicers are supported via --slicer=<slicer>
:
-
slic3r
: Slic3r -
slic3r-pe
: Slic3r Prusa Edition -
cura-legacy
: CuraEngine 15.04 with old profiles -
cura
: CuraEngine 3.x or later
settings/<slicer>/base.ini
contains the base settings for a particular slicer.
== Print3r: Gcode Console (gconsole) - use CTRL-C or 'exit' or 'quit' to exit
for valid Gcode see https://reprap.org/wiki/G-code
conf: device /dev/ttyUSB0, connected
>
- any valid Gcode line
- in
gconsole/commands
reside a few gcode script which simplify handling:-
home
,homex
,homey
,homez
,hx
,hy
,hz
: homing all or individual axis -
left <n>
,right <n>
move left or right (X-axis) relatively -
up <n>
,down <n>
move up or down (Z-axis) relatively -
forward <n>
,back <n>
move forward or back (Y-axis) relatively -
x <n>
,y <n>
,z <n>
move each axis absolutely -
nozzle <temp>
set nozzle temperature -
bed <temp>
set bed temperature -
off
turn everything off (motors, nozzle, bed)
-
> homex
send <G28 X>
-----
X:0.00 Y:0.00 Z:5.00 E:0.00 Count X:0 Y:0 Z:16000
ok
.
> right 10
send <G91>
-----
X:0.00 Y:0.00 Z:5.00 E:0.00 Count X:0 Y:0 Z:16000
ok
.
send <G1 X10>
-----
ok
.
> _