Browse Source

Merge pull request #2564 from BagelOrb/slicing_mode

Adds a UI setting for the new slicing tolerance option in the engine.
ChrisTerBeke 7 years ago
parent
commit
3fcf20c714
1 changed files with 14 additions and 0 deletions
  1. 14 0
      resources/definitions/fdmprinter.def.json

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

@@ -643,6 +643,20 @@
                     "settable_per_mesh": false,
                     "settable_per_extruder": false
                 },
+                "slicing_tolerance":
+                {
+                    "label": "Slicing Tolerance",
+                    "description": "How to slice layers with diagonal surfaces. The areas of a layer can be generated based on where the middle of the layer intersects the surface (Middle). Alternatively each layer can have the areas which fall inside of the volume throughout the height of the layer (Exclusive) or a layer has the areas which fall inside anywhere within the layer (Inclusive). Exclusive retains the most details, Inclusive makes for the best fit and Middle takes the least time to process.",
+                    "type": "enum",
+                    "options":
+                    {
+                        "middle": "Middle",
+                        "exclusive": "Exclusive",
+                        "inclusive": "Inclusive"
+                    },
+                    "default_value": "middle",
+                    "settable_per_mesh": true
+                },
                 "line_width":
                 {
                     "label": "Line Width",