2022-02-19 08:04:25 +01:00
|
|
|
---
|
2021-10-17 18:26:00 +02:00
|
|
|
title: options
|
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-02-19 08:04:25 +01:00
|
|
|
The `options` setting allows you to specify values for the pattern-specific
|
2022-02-05 17:44:23 +01:00
|
|
|
options that have been implemented by the pattern designer.
|
2021-12-28 21:07:45 +01:00
|
|
|
|
2022-10-02 17:41:04 +02:00
|
|
|
## Signature
|
2022-02-05 17:44:23 +01:00
|
|
|
|
2022-10-02 17:41:04 +02:00
|
|
|
```js
|
|
|
|
const settings = {
|
|
|
|
Object options={}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Example
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
```js
|
2022-10-02 17:41:04 +02:00
|
|
|
import { Aaron } from "@freesewing/aaron"
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-10-02 17:41:04 +02:00
|
|
|
const pattern = new Aaron({
|
2021-08-25 16:09:31 +02:00
|
|
|
options: {
|
2022-10-02 17:41:04 +02:00
|
|
|
chestEase: 0.065,
|
|
|
|
necklineDrop: 0.17,
|
2021-08-25 16:09:31 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
```
|
|
|
|
|
2022-10-02 17:41:04 +02:00
|
|
|
## Notes
|
|
|
|
|
|
|
|
Unlike measurements, options come with defaults.
|
|
|
|
|
|
|
|
The available options are listed in the part configuration.
|
|
|
|
Refer to the [the options section in the part configuration][1] for
|
|
|
|
all details about using options in FreeSewing.
|
|
|
|
|
|
|
|
[1]: /reference/api/part/config/options
|
|
|
|
|