chore(markdown): Changes to refer less to models
This commit is contained in:
parent
75eff4f5e4
commit
e35bda36f7
16 changed files with 86 additions and 55 deletions
|
@ -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()
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue