1
0
Fork 0

Merge pull request #4089 from BenJamesBen/optionalMeasurements-docs-update

fix(docs): Move optional measurements info from Part config to Part draft
This commit is contained in:
Joost De Cock 2023-10-14 16:47:27 +02:00 committed by GitHub
commit 304b1f8ea0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 12 deletions

View file

@ -37,13 +37,3 @@ const part = {
draft: ({ part }) => part
}
```
<Tip>
Although they are specified via the part configuration `optionalMeasurements`
property, optional measurements are accessed via the 'measurements'
settings property.
(There is no `optionalMeasurements` settings property.)`
</Tip>

View file

@ -45,3 +45,11 @@ access the following properties:
| `Bezier` | The [bezier-js](https://pomax.github.io/bezierjs/) library's `Bezier` named export |
|| **_Return value_** |
| `part` | Your draft method **must** return this |
<Tip>
Please note that there is no `optionalMeasurements` property.
Instead, optional measurements are accessed via the 'measurements'
property.
</Tip>