1
0
Fork 0
freesewing/markdown/dev/reference/api/settings/units/en.md

18 lines
324 B
Markdown
Raw Normal View History

---
title: units
---
2021-12-28 21:07:45 +01:00
The `units` setting controls the units used on the pattern.
It can be either `metric` (the default) or `imperial`.
2021-12-28 21:07:45 +01:00
Note that this is only used to format the output.
Freesewing expects mm as input.
```js
2021-12-28 21:07:45 +01:00
import Brian from "@freesewing/brian";
2021-12-28 21:07:45 +01:00
const pattern = new Brian({
units: "imperial"
})
```