Set Ironing angle setting to be a relative degree offset from top surface infill direction (#10841)

* Change ironing angle setting to be an offset angle from the top surface angle rather offset from the layer 0 angle that changes on each layer.

* Change Ironing angle offset range from [-1,359] to [0,359].
-1 is redundant because it is the same behavior as 0 offset.

* Change ironing_angle new default value to 0.

* Update existing print profiles' hardcoded ironing_angles from -1 to 0 to reflect new default value.

* Add migration for old -1 ironing_angle settings. Remove logic for -1 ironing_angle.

* Add u8 prefix for degree symbol string

* Use solid_infill_direction instead of infill_direction for top surface infill direction. Use calculate_infill_rotation_angle to add offset to solid_infill_rotate_template if used.

* Update quality settings wiki for Ironing

* Set f->is_using_template_angle when making ironing filler objects

* Update quality_settings_ironing link from #angle to #angle-offset

---------

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
This commit is contained in:
Anson Liu
2025-10-19 18:01:53 -07:00
committed by GitHub
parent d786aec255
commit fcb640bee1
47 changed files with 76 additions and 83 deletions

View File

@@ -84,7 +84,7 @@
"internal_solid_infill_line_width": "3",
"internal_solid_infill_pattern": "monotonic",
"internal_solid_infill_speed": "100",
"ironing_angle": "-1",
"ironing_angle": "0",
"ironing_flow": "10%",
"ironing_pattern": "zig-zag",
"ironing_spacing": "0.1",