Skip to content

Speed Adjust UI

jphannifan edited this page Sep 16, 2024 · 3 revisions

X1Plus Print Speed Adjustment UI

image

A. Current speed

B. Selected speed

C. Print time estimate (for the selected speed)

D. Interpolated/extrapolated parameters: acceleration magnitude (M204.2), feed rate (M220), and time remaining (M73.2)

E. Toggle step size of the dial (2 or 10%)

F. Apply the selected speed

G. Return to the OEM speed adjust UI

Background

X1Plus adds a custom UI element that provides greater control over print speed than the OEM UI offers. A dial with an adjustable step size allows users to apply any speed multiplier from 30 to 166%. Additionally, the UI calculates the estimated print time remaining for the selected speed, allowing users to see in real time how these adjustments affect uptime.

How to enable

By default, the OEM speed adjustment UI is displayed to all X1Plus users, and this customized UI can be enabled via two methods:

  1. Open the speed adjustment menu and press the ">" icon in the corner of the window.
image
  1. Using the X1Plus CLI, set the following setting:

x1plus settings set printerui.speedadjust true

X1Plus will remember this choice until you press the "<" icon on the X1Plus speed adjust UI or modify the setting.

Step size

The step size of the dial can be adjusted by toggling the 'Step size' button in the window or by modifying the following setting with the X1Plus settings CLI:

x1plus settings set printerui.speedadjust.stepSize 2

Gcode sequence and calculations

Print speed adjustment on X1, P1, and A1 Bambu printers is applied with a series of 4 different Gcode commmands:

M204.1 K1.0

Acceleration magnitude. K is a unitless multiplier of acceleration

M220 K1.0

Feed rate. K is a unitless multiplier of feed rate

M73.2 R1.0

Time remaining. The percentage speed is calculated from the inverse of R x 100.

M1002 set_gcode_claim_speed_level 5

Tells the UI which string to display ("Silent", "Normal", "Sport", or "Ludicrous"). It can be ommitted

Interpolation of M204.2 and M220 parameters

Below are the parameters for each of Bambu's speed profiles obtained from log data. X1Plus uses cubic spline interpolation and linear extrapolation to calculate acceleration magnitude and feed rate, which it then publishes to the printer when the 'Apply' button is pressed.

Speed (%) time_remaining accel. magnitude feed rate
Silent 50 2 0.3 0.7
Normal 100 1 1 1
Sport 124 0.8 1.4 1.4
Luda 166 0.6 1.6 2
image

Welcome to the X1Plus wiki!

Perhaps you would like to read:

Or perhaps you would just like to download the latest release?

Clone this wiki locally