Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/CURA-12096_move_gradual_flow_plu…
Browse files Browse the repository at this point in the history
…gin_back_into_the_engine_core' into CURA-12096_move_gradual_flow_plugin_back_into_the_engine_core
  • Loading branch information
wawanbreton committed Aug 16, 2024
2 parents 5a3ced5 + f6da4d0 commit c495527
Show file tree
Hide file tree
Showing 231 changed files with 413 additions and 408 deletions.
19 changes: 12 additions & 7 deletions resources/definitions/fdmprinter.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@
"settable_per_extruder": false,
"settable_per_meshgroup": false
},
"reset_flow_duration": {
"reset_flow_duration":
{
"enabled": "gradual_flow_enabled",
"value": 2.0,
"label": "Reset flow duration",
Expand Down Expand Up @@ -3149,20 +3150,22 @@
"settable_per_mesh": false,
"settable_per_extruder": true
},
"gradual_flow_enabled": {
"gradual_flow_enabled":
{
"label": "Gradual flow enabled",
"description": "Enable gradual flow changes. When enabled, the flow is gradually increased/decreased to the target flow. This is useful for printers with a bowden tube where the flow is not immediately changed when the extruder motor starts/stops.",
"type": "bool",
"default_value": false,
"settable_per_mesh": false,
"settable_per_extruder": true
},
"max_flow_acceleration": {
"max_flow_acceleration":
{
"enabled": "gradual_flow_enabled",
"label": "Gradual flow max acceleration",
"description": "Maximum acceleration for gradual flow changes",
"type": "float",
"unit": "mm\u00b3\/s\u00b2",
"unit": "mm\u00b3/s\u00b2",
"default_value": 1,
"minimum_value_warning": 0.1,
"maximum_value_warning": 99999,
Expand All @@ -3171,21 +3174,23 @@
"settable_per_extruder": true,
"comments": "when enabled, each second the flow will at max be increased/decreased by this value"
},
"layer_0_max_flow_acceleration": {
"layer_0_max_flow_acceleration":
{
"enabled": "gradual_flow_enabled",
"value": "max_flow_acceleration",
"label": "Initial layer max flow acceleration",
"description": "Minimum speed for gradual flow changes for the first layer",
"type": "float",
"unit": "mm\u00b3\/s\u00b2",
"unit": "mm\u00b3/s\u00b2",
"default_value": 1,
"minimum_value_warning": 0.1,
"maximum_value_warning": 99999,
"minimum_value": 0.01,
"settable_per_mesh": false,
"settable_per_extruder": true
},
"gradual_flow_discretisation_step_size": {
"gradual_flow_discretisation_step_size":
{
"enabled": "gradual_flow_enabled",
"label": "Gradual flow discretisation step size",
"description": "Duration of each step in the gradual flow change",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 1
infill_pattern = ='zigzag' if infill_sparse_density > 80 else 'triangles'
infill_sparse_density = 20
jerk_print = 30
max_flow_acceleration = 1
speed_infill = =speed_print
speed_print = 35
speed_roofing = =speed_topbottom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 1
infill_pattern = ='zigzag' if infill_sparse_density > 80 else 'triangles'
infill_sparse_density = 20
jerk_print = 30
max_flow_acceleration = 1
speed_infill = =speed_print
speed_print = 35
speed_roofing = =speed_topbottom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 1
infill_pattern = ='zigzag' if infill_sparse_density > 80 else 'triangles'
infill_sparse_density = 20
jerk_print = 30
max_flow_acceleration = 1
speed_infill = =speed_print
speed_print = 35
speed_roofing = =speed_topbottom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type = intent
variant = AA 0.4

[values]
gradual_flow_enabled = False
acceleration_wall_0 = 2000
gradual_flow_enabled = False
gradual_infill_step_height = =4 * layer_height
gradual_infill_steps = 3
infill_sparse_density = 40
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type = intent
variant = AA 0.4

[values]
gradual_flow_enabled = False
acceleration_wall_0 = 2000
gradual_flow_enabled = False
gradual_infill_step_height = =4 * layer_height
gradual_infill_steps = 3
infill_sparse_density = 40
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 1
infill_pattern = ='zigzag' if infill_sparse_density > 80 else 'triangles'
infill_sparse_density = 20
jerk_print = 30
max_flow_acceleration = 1
speed_infill = =speed_print
speed_print = 35
speed_roofing = =speed_topbottom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 1
infill_pattern = ='zigzag' if infill_sparse_density > 80 else 'triangles'
infill_sparse_density = 20
jerk_print = 30
max_flow_acceleration = 1
speed_infill = =speed_print
speed_print = 35
speed_roofing = =speed_topbottom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 1
infill_pattern = ='zigzag' if infill_sparse_density > 80 else 'triangles'
infill_sparse_density = 20
jerk_print = 30
max_flow_acceleration = 1
speed_infill = =speed_print
speed_print = 35
speed_roofing = =speed_topbottom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type = intent
variant = AA 0.4

[values]
gradual_flow_enabled = False
acceleration_wall_0 = 2000
gradual_flow_enabled = False
gradual_infill_step_height = =4 * layer_height
gradual_infill_steps = 3
infill_sparse_density = 40
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type = intent
variant = AA 0.4

[values]
gradual_flow_enabled = False
acceleration_wall_0 = 2000
gradual_flow_enabled = False
gradual_infill_step_height = =4 * layer_height
gradual_infill_steps = 3
infill_sparse_density = 40
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 1
infill_pattern = ='zigzag' if infill_sparse_density > 80 else 'triangles'
infill_sparse_density = 20
jerk_print = 30
max_flow_acceleration = 1
speed_infill = =speed_print
speed_print = 35
speed_roofing = =speed_topbottom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 1
infill_pattern = ='zigzag' if infill_sparse_density > 80 else 'triangles'
infill_sparse_density = 20
jerk_print = 30
max_flow_acceleration = 1
speed_infill = =speed_print
speed_print = 35
speed_roofing = =speed_topbottom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 1
infill_pattern = ='zigzag' if infill_sparse_density > 80 else 'triangles'
infill_sparse_density = 20
jerk_print = 30
max_flow_acceleration = 1
speed_infill = =speed_print
speed_print = 35
speed_roofing = =speed_topbottom
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type = intent
variant = AA 0.4

[values]
gradual_flow_enabled = False
acceleration_wall_0 = 2000
gradual_flow_enabled = False
gradual_infill_step_height = =4 * layer_height
gradual_infill_steps = 3
infill_sparse_density = 40
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type = intent
variant = AA 0.4

[values]
gradual_flow_enabled = False
acceleration_wall_0 = 2000
gradual_flow_enabled = False
gradual_infill_step_height = =4 * layer_height
gradual_infill_steps = 3
infill_sparse_density = 40
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ type = intent
variant = AA 0.4

[values]
max_flow_acceleration = 0.5
acceleration_print = 2500
acceleration_wall_0 = 1000
inset_direction = inside_out
jerk_wall_0 = 20
max_flow_acceleration = 0.5
speed_print = 50
speed_roofing = =math.ceil(speed_wall*(35/50))
speed_wall_0 = =math.ceil(speed_wall*(20/50))
Expand Down
Loading

0 comments on commit c495527

Please sign in to comment.