2021-10-17 18:26:00 +02:00
|
|
|
---
|
|
|
|
title: measurements
|
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-02-05 19:02:36 +01:00
|
|
|
The `measurements` key in the pattern configuration file allows you to configure
|
2022-02-05 17:44:23 +01:00
|
|
|
the measurments that are required to draft the pattern.
|
|
|
|
|
|
|
|
## Structure
|
|
|
|
|
|
|
|
An array of strings where the strings are the names of the measurements
|
2022-02-19 08:04:25 +01:00
|
|
|
required to draft this pattern.
|
2022-02-05 17:44:23 +01:00
|
|
|
|
|
|
|
## Example
|
|
|
|
|
2021-08-25 16:09:31 +02:00
|
|
|
```js
|
|
|
|
measurements: [
|
|
|
|
"bicepsCircumference",
|
|
|
|
"centerBackNeckToWaist"
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
<Note>
|
|
|
|
|
|
|
|
###### Don't just make up names
|
|
|
|
|
2022-02-19 08:04:25 +01:00
|
|
|
See [freesewing models](https://freesewing.dev/reference/packages/models)
|
2021-08-25 16:09:31 +02:00
|
|
|
for a list of measurement names already used in freesewing patterns.
|
|
|
|
It is a [best practice](/guides/best-practices/reuse-measurements/) to stick to these names.
|
|
|
|
|
|
|
|
</Note>
|
2022-02-05 17:44:23 +01:00
|
|
|
|
|
|
|
<Related>
|
|
|
|
|
|
|
|
This configuration is for **required measurements** only.
|
2022-02-19 08:04:25 +01:00
|
|
|
There is a also a way to configure [optional
|
2022-02-05 17:44:23 +01:00
|
|
|
measurements](/reference/api/config/optionalmeasurements)
|
|
|
|
|
|
|
|
</Related>
|