From e817d94a8310e37fd0a81b3bbbd15f9a46f97165 Mon Sep 17 00:00:00 2001 From: Matteo Spinelli Date: Thu, 2 Aug 2018 17:30:06 +0200 Subject: [PATCH 1/2] Add user editable snap distance This PR requires an update to CuraEngine as well (I'm posting the update right after) --- resources/definitions/fdmprinter.def.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index b767aac7b9..8b3e4e1f05 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -5625,6 +5625,19 @@ "settable_per_mesh": false, "settable_per_extruder": true }, + "snap_distance": + { + "label": "Snap Distance", + "description": "Snap distance between polygons in mm. Controls the polygons that may be filtered out when the model is sliced. Lower values lead to higher resolution mesh at the cost of slicing time. It is meant mostly for high resolution SLA printers and very tiny 3D models with a lot of details.", + "unit": "mm", + "type": "float", + "default_value": 1.0, + "minimum_value": "0.001", + "minimum_value_warning": "0.05", + "maximum_value_warning": "1.0", + "settable_per_mesh": true, + "settable_per_extruder": false + }, "meshfix_maximum_resolution": { "label": "Maximum Resolution", From 6c1d380602ed9ff0fc901716d2376ff3969fb55b Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Thu, 16 Aug 2018 13:45:27 +0200 Subject: [PATCH 2/2] Renamed snap_distance to minimum_polygon_circumference and changed the description a bit. CURA-5623 --- resources/definitions/fdmprinter.def.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 8b3e4e1f05..4ea5f8a600 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -5625,10 +5625,10 @@ "settable_per_mesh": false, "settable_per_extruder": true }, - "snap_distance": + "minimum_polygon_circumference": { - "label": "Snap Distance", - "description": "Snap distance between polygons in mm. Controls the polygons that may be filtered out when the model is sliced. Lower values lead to higher resolution mesh at the cost of slicing time. It is meant mostly for high resolution SLA printers and very tiny 3D models with a lot of details.", + "label": "Minimum polygon circumference", + "description": "Polygons in sliced layers that have a circumference smaller than this amount will be filtered out. Lower values lead to higher resolution mesh at the cost of slicing time. It is meant mostly for high resolution SLA printers and very tiny 3D models with a lot of details.", "unit": "mm", "type": "float", "default_value": 1.0,