Browse Source

Merge pull request #16444 from Ultimaker/CURA-10811-improve-smooth

Add fluid motion related settings
Saumya Jain 1 year ago
parent
commit
ba7004ff66
2 changed files with 46 additions and 0 deletions
  1. 42 0
      resources/definitions/fdmprinter.def.json
  2. 4 0
      resources/setting_visibility/expert.cfg

+ 42 - 0
resources/definitions/fdmprinter.def.json

@@ -6803,6 +6803,48 @@
                     "minimum_value_warning": "500",
                     "maximum_value_warning": "100000",
                     "settable_per_mesh": true
+                },
+                "meshfix_fluid_motion_enabled":
+                {
+                    "label": "Enable Fluid Motion",
+                    "description": "When enabled tool paths are corrected for printers with smooth motion planners. Small movements that deviate from the general tool path direction are smoothed to improve fluid motions.",
+                    "type": "bool",
+                    "default_value": true
+                },
+                "meshfix_fluid_motion_shift_distance":
+                {
+                    "label": "Fluid Motion Shift Distance",
+                    "description": "Distance points are shifted to smooth the path",
+                    "enabled": "meshfix_fluid_motion_enabled",
+                    "type": "float",
+                    "unit": "mm",
+                    "default_value": 0.1,
+                    "minimum_value": "0.01",
+                    "maximum_value": "1"
+                },
+                "meshfix_fluid_motion_small_distance":
+                {
+                    "label": "Fluid Motion Small Distance",
+                    "description": "Distance points are shifted to smooth the path",
+                    "enabled": "meshfix_fluid_motion_enabled",
+                    "unit": "mm",
+                    "type": "float",
+                    "default_value": 0.01,
+                    "minimum_value": "0.01",
+                    "maximum_value": "0.1"
+                },
+                "meshfix_fluid_motion_angle":
+                {
+                    "label": "Fluid Motion Angle",
+                    "description": "If a toolpath-segment deviates more than this angle from the general motion it is smoothed.",
+                    "enabled": "meshfix_fluid_motion_enabled",
+                    "type": "float",
+                    "unit": "\u00b0",
+                    "default_value": 15,
+                    "maximum_value": "90",
+                    "minimum_value": "0",
+                    "minimum_value_warning": "1",
+                    "maximum_value_warning": "35"
                 }
             }
         },

+ 4 - 0
resources/setting_visibility/expert.cfg

@@ -365,6 +365,10 @@ multiple_mesh_overlap
 carve_multiple_volumes
 alternate_carve_order
 remove_empty_first_layers
+meshfix_fluid_motion_enabled
+meshfix_fluid_motion_shift_distance
+meshfix_fluid_motion_small_distance
+meshfix_fluid_motion_angle
 
 [blackmagic]
 print_sequence