40 lines
1.5 KiB
Markdown
40 lines
1.5 KiB
Markdown
![]() |
---
|
||
|
title: 130|Adding measurements
|
||
|
---
|
||
|
|
||
|
FreeSewing is all about *made-to-measure* sewing patterns; We are going to draft our pattern according to the measurements provided to us.
|
||
|
|
||
|
Which begs the question, which measurements?
|
||
|
|
||
|
It is you, as the pattern designer, who decides which measurements are required to draft your pattern. For our bib, the only measurement we need is the baby's *head circumference*.
|
||
|
|
||
|
So let's add it as a required measurement.
|
||
|
|
||
|
## Add required measurements
|
||
|
|
||
|
Open the config file at `config/index.js` and update the `measurements` array with the name of our required measurement:
|
||
|
|
||
|
```js
|
||
|
measurements: ["head"],
|
||
|
```
|
||
|
|
||
|
<Tip>
|
||
|
|
||
|
Make sure to re-use the names of existing measurements, rather than invent your own.
|
||
|
|
||
|
See our [best practices](/guides/best-practices/names#re-use-measurements) on this topic for details.
|
||
|
|
||
|
</Tip>
|
||
|
|
||
|
Now everybody knows your pattern requires the `head` measurement.
|
||
|
|
||
|
This change will also get picked up by the development environment, and you'll now see this screen:
|
||
|
|
||
|

|
||
|
|
||
|
Since it's just one measurements, let's simply enter a value by hand. For example `38` as 38cm is a realistic head circumference measurement for a baby.
|
||
|
|
||
|
Enter `38` in the box, and click on **Draft your pattern** in the top navigation bar to get back to your draft which for now still looks like this:
|
||
|
|
||
|
<Example pattern="tutorial" part="step1" caption="Nothing has changed, yet" />
|