extruder: Calculate sane defaults for extrude only velocity and accel

Instead of requiring the user enter velocity and accel parameters for
extrude only moves, calculate sane defaults from the printer's maximum
velocity and accel.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2017-01-02 18:58:45 -05:00
parent b26922978a
commit c87c090264
8 changed files with 21 additions and 16 deletions

View File

@@ -44,8 +44,6 @@ enable_pin: ar25
step_distance: .004242
nozzle_diameter: 0.500
filament_diameter: 3.500
max_velocity: 200000
max_accel: 3000
heater_pin: ar4
thermistor_pin: analog1
thermistor_type: EPCOS 100K B57560G104F

View File

@@ -48,8 +48,6 @@ enable_pin: !ar24
step_distance: .0022
nozzle_diameter: 0.400
filament_diameter: 1.750
max_velocity: 200
max_accel: 3000
heater_pin: ar10
thermistor_pin: analog13
thermistor_type: ATC Semitec 104GT-2

View File

@@ -125,12 +125,16 @@ filament_diameter: 3.500
# may be. If an extrude only move requests a distance greater than
# this value it will cause an error to be returned. The default is
# 50mm.
max_velocity: 200000
#max_extrude_only_velocity:
# Maximum velocity (in mm/s) of the extruder motor for extrude only
# moves. This parameter must be provided.
max_accel: 3000
# moves. If this is not specified then it is calculated to match the
# limit an XY printing move with a max_extrude_cross_section
# extrusion would have.
#max_extrude_only_accel:
# Maximum acceleration (in mm/s^2) of the extruder motor for extrude
# only moves. This parameter must be provided.
# only moves. If this is not specified then it is calculated to
# match the limit an XY printing move with a
# max_extrude_cross_section extrusion would have.
#pressure_advance: 0.0
# The amount of raw filament to push into the extruder during
# extruder acceleration. An equal amount of filament is retracted

View File

@@ -50,8 +50,6 @@ enable_pin: !PA4
step_distance: .004242
nozzle_diameter: 0.350
filament_diameter: 1.750
max_velocity: 200000
max_accel: 3000
pressure_advance: 0.07
heater_pin: PH6
thermistor_pin: PF0