You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a macro defined with any decimal/float parameter defaults fluidd doesn't detect those default values correctly. It just leaves those input fields empty (= it displays the parameter name in the input fields [which also is confusing at first, you could think it passes the parameter name itself as a value until you click into the input field]).
Reproduction Steps:
Define any macro with parameters with decimal number defaults.
In my case: [gcode_macro PA_TOWER_SETUP] gcode: {% set S = params.S|default(0.2)|float %} ; start {% set F = params.F|default(0.02)|float %} ; factor {% set B = params.B|default(0)|float %} ; band SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500 TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START={S} FACTOR={F} BAND={B}
Actual Results:
In fluidd the inputs for S and F, which have decimal defaults, are left empty, the B input is correctly populated with 0.
Screenshot(s):
The text was updated successfully, but these errors were encountered:
fluidd version: v1.16.2-0fa3c9b
If you have a macro defined with any decimal/float parameter defaults fluidd doesn't detect those default values correctly. It just leaves those input fields empty (= it displays the parameter name in the input fields [which also is confusing at first, you could think it passes the parameter name itself as a value until you click into the input field]).
Reproduction Steps:
Define any macro with parameters with decimal number defaults.
In my case:
[gcode_macro PA_TOWER_SETUP]
gcode:
{% set S = params.S|default(0.2)|float %} ; start
{% set F = params.F|default(0.02)|float %} ; factor
{% set B = params.B|default(0)|float %} ; band
SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START={S} FACTOR={F} BAND={B}
Actual Results:
In fluidd the inputs for S and F, which have decimal defaults, are left empty, the B input is correctly populated with 0.
Screenshot(s):
The text was updated successfully, but these errors were encountered: