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

18 lines
322 B
Markdown
Raw Normal View History

2022-02-19 08:04:25 +01:00
---
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`.
2022-02-19 08:04:25 +01:00
Note that this is only used to format the output.
2021-12-28 21:07:45 +01:00
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"
})
```