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:
parent
1671a896b5
commit
b34a2ee2ed
6132 changed files with 244167 additions and 0 deletions
28
markdown/dev/reference/api/pattern/samplemeasurement/en.md
Normal file
28
markdown/dev/reference/api/pattern/samplemeasurement/en.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
title: sampleMeasurement
|
||||
---
|
||||
|
||||
```js
|
||||
Pattern pattern.sampleMeasurement(string measurement)
|
||||
```
|
||||
|
||||
Samples a measurement by drafting 10 variations of the pattern
|
||||
while adapting the measurement between 90% and 110% of its original value.
|
||||
|
||||
The goal of measurement sampling is to understand the impact of a given measurement on a pattern.
|
||||
|
||||
```js
|
||||
import freesewing from "@freesewing/core"
|
||||
import aaron from "@freesewing/aaron"
|
||||
import models from "@freesewing/models"
|
||||
|
||||
let pattern = new aaron({
|
||||
settings: {
|
||||
embed: true,
|
||||
measurements: models.manSize38
|
||||
},
|
||||
})
|
||||
|
||||
let svg = pattern.sampleMeasurement("chestCircumference").render()
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue