1
0
Fork 0

chore(markdown): Changes to refer less to models

This commit is contained in:
joostdecock 2023-10-30 19:27:24 +01:00
parent 75eff4f5e4
commit e35bda36f7
16 changed files with 86 additions and 55 deletions

View file

@ -19,11 +19,11 @@ and continue to work as the measurements scale up or down.
##### Use the doll and giant tests
To check how well your pattern scales, you can
use the _doll_ and _giant_ tests by sampling the pattern for 3 models:
use the _doll_ and _giant_ tests by sampling the pattern for 3 measurements sets:
1. A model with measurements of an average person (the person)
2. A model with measurements 1/10th of an average person (the doll)
3. A model with measurements 3 times that of an average person (the giant)
1. A set of measurements from an average person (the person)
2. A set of measurements 1/10th of an average person (the doll)
3. A set of measurements 3 times that of an average person (the giant)
A well-designed pattern will scale a factor 10 down or 3 up and still hold its shape.
If your pattern makes assumptions about size, these tests will show that.

View file

@ -67,7 +67,7 @@ console.log(svg)
- We are using `@freesewing/aaron` as the design, but you could use any design
- You probably want to [use your own measurements](/reference/settings/measurements)
or you could use `@freesewing/models` to load measurements from [our sizing grid](https://freesewing.org/sizes/)
or you could use [our curated measurements sets](https://freesewing.org/curated-sets) to load measurements.
- We are using `@freesewing/plugin-theme` to theme our SVG, but you
could [pass in your own CSS](/reference/api/svg/style)
@ -82,7 +82,6 @@ Obviously you need Node.js, but you will also need the following packages:
- `@freesewing/plugin-bundle`: Set of common plugins
- `@freesewing/aaron` or any design you want to use
- Any design on which the design you choose is built. In this case, Aaron depends on `@freesewing/brian`
- `@freesewing/utils`
For the example above, your `package.json` **dependencies** section will look like this:
@ -91,9 +90,6 @@ For the example above, your `package.json` **dependencies** section will look li
"@freesewing/core": "latest"
"@freesewing/aaron": "latest",
"@freesewing/brian": "latest",
"@freesewing/models": "latest",
"@freesewing/plugin-bundle": "latest",
"@freesewing/plugin-theme": "latest",
"@freesewing/utils": "latest"
"@freesewing/plugin-theme": "latest"
}
```

View file

@ -17,7 +17,6 @@ Pattern pattern.addPart(object part)
```js
import { Aaron } from "@freesewing/aaron"
import { cisFemaleAdult34 } from "@freesewing/models"
const extra = {
name: 'aaron.extra',
@ -36,9 +35,14 @@ const extra = {
}
}
const pattern = new Aaron({
measurements: cisFemaleAdult34
}).addPart(extra)
// Load some public test measurements from the FreeSewing backend
const measurements = (
await (
await fetch("https://backend3.freesewing.org/curated-sets/1.json")
).json()
).measurements
const pattern = new Aaron({ measurements }).addPart(extra)
const svg = pattern.draft().render()
```

View file

@ -19,11 +19,15 @@ Pattern pattern.draft()
```js
import { Aaron } from "@freesewing/aaron"
import { cisFemaleAdult34 } from "@freesewing/models"
const pattern = new Aaron({
measurements: cisFemaleAdult34
})
// Load some public test measurements from the FreeSewing backend
const measurements = (
await (
await fetch("https://backend3.freesewing.org/curated-sets/1.json")
).json()
).measurements
const pattern = new Aaron({ measurements })
const svg = pattern.draft().render()
```

View file

@ -22,11 +22,6 @@ object pattern.getConfig()
```js
import { Aaron } from "@freesewing/aaron"
import { cisFemaleAdult34 } from "@freesewing/models"
const pattern = new Aaron({
measurements: cisFemaleAdult34
})
const config = pattern.getConfig()
const config = new Aaron().getConfig()
```

View file

@ -16,11 +16,15 @@ string pattern.render()
```js
import { Aaron } from "@freesewing/aaron"
import { cisFemaleAdult34 } from "@freesewing/models"
const pattern = new Aaron({
measurements: cisFemaleAdult34
})
// Load some public test measurements from the FreeSewing backend
const measurements = (
await (
await fetch("https://backend3.freesewing.org/curated-sets/1.json")
).json()
).measurements
const pattern = new Aaron({ measurements })
const svg = pattern.draft().render()
```

View file

@ -35,11 +35,17 @@ Pattern pattern.sample()
```js
import { Aaron } from "@freesewing/aaron"
import { cisFemaleAdult } from "@freesewing/models"
// Load some public test measurements from the FreeSewing backend
const measurements = (
await (
await fetch("https://backend3.freesewing.org/curated-sets/1.json")
).json()
).measurements
const pattern = new Aaron({
sample: {
models: cisFemaleAdult
models: measurements
}
})

View file

@ -25,11 +25,15 @@ Pattern pattern.sampleMeasurement(string measurement)
```js
import { Aaron } from "@freesewing/aaron"
import { cisFemaleAdult34 } from "@freesewing/models"
const pattern = new Aaron({
measurements: cisFemaleAdult34
})
// Load some public test measurements from the FreeSewing backend
const measurements = (
await (
await fetch("https://backend3.freesewing.org/curated-sets/1.json")
).json()
).measurements
const pattern = new Aaron({ measurements })
const svg = pattern.draft().sampleMeasurement('chest')
```

View file

@ -53,9 +53,15 @@ identifying your model in the models object.
```js
import { Aaron } from "@freesewing/aaron"
import { cisFemaleAdult } from "@freesewing/models"
const Aaron = new Aaron()
const svg = aaron.sampleModels(cisFemaleAdult, "34").render()
// Load some public test measurements from the FreeSewing backend
const measurements = (
await (
await fetch("https://backend3.freesewing.org/curated-sets/1.json")
).json()
).measurements
const svg = aaron.sampleModels(measurements, "34").render()
```

View file

@ -32,11 +32,15 @@ Pattern pattern.sampleOption(string option)
```js
import { Aaron } from "@freesewing/aaron"
import { cisFemaleAdult34 } from "@freesewing/models"
const pattern = new Aaron({
measurements: cisFemaleAdult34
})
// Load some public test measurements from the FreeSewing backend
const measurements = (
await (
await fetch("https://backend3.freesewing.org/curated-sets/1.json")
).json()
).measurements
const pattern = new Aaron({ measurements })
const svg = pattern.draft().sampleOption('backlineBend')
```

View file

@ -23,12 +23,16 @@ you plugin object.
```js
import { Aaron } from "@freesewing/aaron"
import { cisFemaleAdult34 } from "@freesewing/models"
import { pluginTheme } from "@freesewing/plugin-theme"
const pattern = new Aaron({
measurements: cisFemaleAdult34
}).use(pluginTheme)
// Load some public test measurements from the FreeSewing backend
const measurements = (
await (
await fetch("https://backend3.freesewing.org/curated-sets/1.json")
).json()
).measurements
const pattern = new Aaron({ measurements }).use(pluginTheme)
const svg = pattern.draft().render()
```

View file

@ -2,7 +2,7 @@
title: snapseries
---
Published as [@freesewing/models][1], this package provides series
Published as [@freesewing/snapseries][1], this package provides series
of common sizes for elastics and zippers and series of common intervals
to be used with snapped percentage options.

View file

@ -63,13 +63,16 @@ and the values are
```js
import { Aaron } from '@freesewing/aaron'
import { cisFemaleAdult34 } from "@freesewing/models"
import { pluginTiming } from '@freesewing/plugin-timing'
const pattern = new Aaron({
measurements: cisFemaleAdult34,
})
.use(pluginTiming)
// Load some public test measurements from the FreeSewing backend
const measurements = (
await (
await fetch("https://backend3.freesewing.org/curated-sets/1.json")
).json()
).measurements
const pattern = new Aaron({ measurements }).use(pluginTiming)
const svg = pattern.draft().render()

View file

@ -38,14 +38,14 @@ there to fit the shoulder.
The width of the sleevecap (and thus the width of the sleeve at the bottom of the armhole)
is equal to the distance between points 1 and 2. That distance depends on the measurements
of the model, the amount of ease, the cut of the garment and so on. For our sleevecap, all we
used, the amount of ease, the cut of the garment and so on. For our sleevecap, all we
need to know is that we start with a given width. And while that width can be influenced by
other factors, we can not influence it by any of the sleevecap options.
![Controlling the top of the sleevecap](sleevecaptop.svg)
The height of the sleevecap is equal to the distance between points 3 and 4. The exact height
is a trade-off between the measurments of the model, options, ease, sleevecap ease, and the fact
is a trade-off between the measurements used, options, ease, sleevecap ease, and the fact
that the sleeve ultimately has to fit the armhole. So the height may vary, and we don't control
the exact value. But there are two options that control the shape of our sleevecap:

View file

@ -38,14 +38,14 @@ there to fit the shoulder.
The width of the sleevecap (and thus the width of the sleeve at the bottom of the armhole)
is equal to the distance between points 1 and 2. That distance depends on the measurements
of the model, the amount of ease, the cut of the garment and so on. For our sleevecap, all we
used, the amount of ease, the cut of the garment and so on. For our sleevecap, all we
need to know is that we start with a given width. And while that width can be influenced by
other factors, we can not influence it by any of the sleevecap options.
![Controlling the top of the sleevecap](sleevecaptop.svg)
The height of the sleevecap is equal to the distance between points 3 and 4. The exact height
is a trade-off between the measurments of the model, options, ease, sleevecap ease, and the fact
is a trade-off between the measurements used, options, ease, sleevecap ease, and the fact
that the sleeve ultimately has to fit the armhole. So the height may vary, and we don't control
the exact value. But there are two options that control the shape of our sleevecap:

View file

@ -4,7 +4,8 @@ title: High bust
The **high bust** measurement is your chest circumference measured just under your arms, above the fullest part of your bust.
The point of the high bust measurement is to get an idea of the chest circumference without taking breasts into account. As such, this measurement is only relevant for models with breasts.
The point of the high bust measurement is to get an idea of the chest circumference without taking breasts into account.
As such, this measurement is most commonly used to fit people with breasts, but it's perfectly fine measurement for people without too.
To measure your high bust, wrap the tape measure around your chest just under your arms.
You might not be able to keep it horizontal (parallel to the floor), but that's ok.