2021-10-17 18:26:00 +02:00
|
|
|
---
|
|
|
|
title: optionalMeasurements
|
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-02-19 08:04:25 +01:00
|
|
|
The `optionalMeasurements` key in the pattern configuration file allows
|
2022-04-10 15:45:33 +02:00
|
|
|
you to configure measurements that are optional to draft the pattern.
|
2022-02-05 17:44:23 +01:00
|
|
|
|
|
|
|
## Structure
|
|
|
|
|
|
|
|
An array of strings where the strings are the names of the optional
|
|
|
|
measurements.
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
2021-08-25 16:09:31 +02:00
|
|
|
```js
|
|
|
|
optionalMeasurements: [
|
|
|
|
'highBust'
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
<Note>
|
|
|
|
|
|
|
|
###### Why would you want optional measurements?
|
|
|
|
|
2022-02-19 08:04:25 +01:00
|
|
|
This is often used in combination with [the bust plugin](/reference/plugins/bust/) to
|
|
|
|
allow a pattern to be drafted to the `highBust` measurement rather than the
|
2021-08-25 16:09:31 +02:00
|
|
|
`chest` measurement, thereby providing better fit for people with breasts.
|
|
|
|
|
|
|
|
</Note>
|