mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-08 14:34:06 -06:00
docs: add exclude_object documentation
Also include sample macros to add M486 compatibility. Signed-off-by: Franklyn Tackitt <git@frank.af> Co-authored-by: Troy Jacobson <troy.d.jacobson@gmail.com>
This commit is contained in:
parent
89c59b035e
commit
638cd4d781
7 changed files with 257 additions and 0 deletions
|
@ -69,6 +69,44 @@ The following information is available in the
|
|||
forward direction minus the total number of steps taken in the
|
||||
reverse direction since the micro-controller was last restarted.
|
||||
|
||||
## exclude_object
|
||||
|
||||
The following information is available in the
|
||||
[exclude_object](Exclude_Object.md) object:
|
||||
|
||||
- `objects`: An array of the known objects as provided by the
|
||||
`EXCLUDE_OBJECT_DEFINE` command. This is the same information provided by
|
||||
the `EXCLUDE_OBJECT VERBOSE=1` command. The `center` and `polygon` fields will
|
||||
only be present if provided in the original `EXCLUDE_OBJECT_DEFINE`
|
||||
|
||||
Here is a JSON sample:
|
||||
```
|
||||
[
|
||||
{
|
||||
"polygon": [
|
||||
[ 156.25, 146.2511675 ],
|
||||
[ 156.25, 153.7488325 ],
|
||||
[ 163.75, 153.7488325 ],
|
||||
[ 163.75, 146.2511675 ]
|
||||
],
|
||||
"name": "CYLINDER_2_STL_ID_2_COPY_0",
|
||||
"center": [ 160, 150 ]
|
||||
},
|
||||
{
|
||||
"polygon": [
|
||||
[ 146.25, 146.2511675 ],
|
||||
[ 146.25, 153.7488325 ],
|
||||
[ 153.75, 153.7488325 ],
|
||||
[ 153.75, 146.2511675 ]
|
||||
],
|
||||
"name": "CYLINDER_2_STL_ID_1_COPY_0",
|
||||
"center": [ 150, 150 ]
|
||||
}
|
||||
]
|
||||
```
|
||||
- `excluded_objects`: An array of strings listing the names of excluded objects.
|
||||
- `current_object`: The name of the object currently being printed.
|
||||
|
||||
## fan
|
||||
|
||||
The following information is available in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue