Fixed documentation of printer profile API

Closes #1732
This commit is contained in:
Gina Häußge 2017-03-06 14:36:43 +01:00
parent d8f2630fd4
commit 01cffafe77

View file

@ -34,7 +34,8 @@ Retrieve all printer profiles
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"profiles": [
{
"id": "_default",
"name": "Default",
@ -118,6 +119,7 @@ Retrieve all printer profiles
}
},
]
}
.. _sec-api-printerprofiles-add:
@ -537,6 +539,41 @@ Profile
- 0..1
- ``float``
- The height of the print volume
* - ``volume.custom_box``
- 0..1
- ``boolean`` or ``object``
- If the printer has a custom bounding box where the print head can be safely moved to, exceeding the defined print
volume, that bounding box will be defined here. Otherwise (safe area == print volume) this value will be ``false``.
* - ``volume.custom_box.min_x``
- 0..1
- ``float``
- Minimum X coordinate defining the safe custom bounding box. Smaller value than the minimum X coordinate of the
print volume.
* - ``volume.custom_box.max_x``
- 0..1
- ``float``
- Maximum X coordinate defining the safe custom bounding box. Larger value than the maximum X coordinate of the
print volume.
* - ``volume.custom_box.min_y``
- 0..1
- ``float``
- Minimum Y coordinate defining the safe custom bounding box. Smaller value than the minimum Y coordinate of the
print volume.
* - ``volume.custom_box.max_y``
- 0..1
- ``float``
- Maximum Y coordinate defining the safe custom bounding box. Larger value than the maximum Y coordinate of the
print volume.
* - ``volume.custom_box.min_z``
- 0..1
- ``float``
- Minimum Z coordinate defining the safe custom bounding box. Smaller value than the minimum Z coordinate of the
print volume.
* - ``volume.custom_box.max_z``
- 0..1
- ``float``
- Maximum Z coordinate defining the safe custom bounding box. Larger value than the maximum Z coordinate of the
print volume.
* - ``heatedBed``
- 0..1
- ``boolean``