1
0
Fork 0
freesewing/markdown/dev/tutorials/pattern-design/adding-measurements/nl.md
Joost De Cock b34a2ee2ed 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
2021-08-25 16:09:31 +02:00

1.5 KiB

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:

measurements: ["head"],

Let erop dat je de namen van bestaande afmetingen gebruikt in plaats van er zelf nieuwe te verzinnen.

See our best practices on this topic for details.

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

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: