diff options
author | Ghostkeeper <rubend@tutanota.com> | 2016-12-19 13:33:26 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2016-12-19 13:33:57 +0300 |
commit | 8fadc41ac8a93f5e3855ce803c80398ecb2c297d (patch) | |
tree | 001d2d524db93498df466274412867f0e447d00f /resources/definitions | |
parent | 9fe0ccac23922ef55e49911da4aa0097288a288f (diff) |
Fix prime tower position limits w.r.t. the origin of its placement
The origin of the prime tower's coordinates are on the front-right side of the prime tower. We should adjust the minimum and maximum values of the position of the prime tower to account for that, rather than having the limits be based on the centre of the prime tower.
Diffstat (limited to 'resources/definitions')
-rw-r--r-- | resources/definitions/fdmprinter.def.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index e81d3e7dd6..5dd7bc3a0d 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -3776,8 +3776,8 @@ "default_value": 200, "minimum_value_warning": "-1000", "maximum_value_warning": "1000", - "maximum_value": "machine_width - 0.5 * resolveOrValue('prime_tower_size')", - "minimum_value": "0.5 * resolveOrValue('prime_tower_size')", + "maximum_value": "machine_width", + "minimum_value": "resolveOrValue('prime_tower_size')", "settable_per_mesh": false, "settable_per_extruder": false }, @@ -3791,8 +3791,8 @@ "default_value": 200, "minimum_value_warning": "-1000", "maximum_value_warning": "1000", - "maximum_value": "machine_depth - 0.5 * resolveOrValue('prime_tower_size')", - "minimum_value": "0.5 * resolveOrValue('prime_tower_size')", + "maximum_value": "machine_depth - resolveOrValue('prime_tower_size')", + "minimum_value": "0", "settable_per_mesh": false, "settable_per_extruder": false }, |