1
0
Fork 0

feat: Flat import of markdown repo

This is a flat (without history) import of (some of) the content
from our markdown module.

We've imported this without history because the repo contains our
blog posts and showcases posts content prior to porting them to strapi.

Since this contains many images, it would balloon the size of this repo
to import the full history.

Instead, please refer to the history of the (archived) markdown repo
at: https://github.com/freesewing/markdown
This commit is contained in:
Joost De Cock 2021-08-25 16:09:31 +02:00
parent 1671a896b5
commit b34a2ee2ed
6132 changed files with 244167 additions and 0 deletions

View file

@ -0,0 +1,39 @@
---
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:
![This screen tells you you are missing some required measurments](./required-measurements.png)
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" />

View file

@ -0,0 +1,44 @@
---
title: Adding measurements
order: 130
---
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/reuse-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:
![This screen tells you you are missing some required measurements](./required-measurements.png)
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" />

View file

@ -0,0 +1,39 @@
---
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:
![This screen tells you you are missing some required measurments](./required-measurements.png)
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" />

View file

@ -0,0 +1,39 @@
---
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.
Ce qui nous amène à cette question : quelles mesures ?
C'est vous, en tant que concepteur de patron, qui décidez de quelles mesures vont être requises pour ébaucher votre patron. For our bib, the only measurement we need is the baby's *head circumference*.
Alors ajoutons-le comme mesure nécessaire.
## Ajouter les mesures nécessaires
Ouvrez le fichier de configuration à l'adresse `config/index.js` et mettez à jour le tableau `measurements` avec le nom des mesures requises :
```js
measurements: ["head"],
```
<Tip>
Assurez-vous d'employer les noms de mesures existantes, plutôt que d'inventer les vôtres.
See our [best practices](/guides/best-practices/names#re-use-measurements) on this topic for details.
</Tip>
A présent tout le monde sait que votre patron a besoin de la mesure `head`.
Ce changement sera également repris par l'environnement de programmation, et vous verrez alors à l'écran :
![Cet écran vous indique qu'il manque des mesures requises](./required-measurements.png)
Etant donné qu'il n'y a qu'une seule mesure, rentrons simplement une valeur à la main. Par exemple, `38` pour 38 cm est une mesure de tour de tête réaliste pour un bébé.
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" />

View file

@ -0,0 +1,39 @@
---
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.
De vraag is dus: welke afmetingen?
Jij, als patroonontwerper, bepaalt welke afmetingen nodig zijn om jouw patroon te ontwerpen. For our bib, the only measurement we need is the baby's *head circumference*.
Dus voegen we die toe als vereiste afmeting.
## Vereiste afmetingen toevoegen
Open het config-bestand in `config/index.js` en update de `measurements`-reeks met de naam van de benodigde afmeting:
```js
measurements: ["head"],
```
<Tip>
Let erop dat je de namen van bestaande afmetingen gebruikt in plaats van er zelf nieuwe te verzinnen.
See our [best practices](/guides/best-practices/names#re-use-measurements) on this topic for details.
</Tip>
Nu weet iedereen dat je patroon de afmeting `head` gebruikt.
Ook de developmentomgeving pikt deze verandering op. Je krijgt dus het volgende scherm te zien:
![Dit scherm laat je weten dat er vereiste afmetingen ontbreken](./required-measurements.png)
Aangezien het maar om één afmeting gaat, kunnen we eenvoudig handmatig een waarde invoegen. Bijvoorbeeld `38`, want 38 centimeter is een realistische hoofdomtrek voor een 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" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB