1
0
Fork 0
freesewing/sites/dev/docs/reference/settings
2025-05-24 09:07:30 +02:00
..
absoluteoptions chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
complete chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
embed chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
expand fix(dev/docs): Add expand setting 2025-05-24 09:07:30 +02:00
idprefix chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
layout chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
locale chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
margin chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
measurements chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
only chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
options chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
paperless chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
sa chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
sample chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
scale chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
stackprefix chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
units chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
readme.mdx fix(dev/docs): Add expand setting 2025-05-24 09:07:30 +02:00

---
title: Settings
---

FreeSewing is all about parametric design, and the settings are the parameters
we pass to a pattern when drafting it. Perhaps the most important of all
settings are the measurements, but there are other settings too.

## Signature

```js
Object settings = {
  Object absoluteOptions,
  Boolean complete=true,
  Boolean embed=false,
  Boolean expand=true,
  String idPrefix='fs-',
  Object|Boolean layout=true,
  String locale='en',
  Number margin=2,
  Object measurements,
  String|Array|Boolean only=false,
  Object options,
  Boolean paperless=false,
  Number|Boolean sa=false,
  Object sample,
  Number scale=1,
  String stackPrefix='',
  String units='metric',
}
```

## Properties

Below is a complete list of all supported properties in a settings object:

<ReadMore />

## Notes

You can pass a
[multiple set of settings](/reference/api/pattern#multisets-in-freesewing)
objects in an array to the pattern constructor:

```js
new pattern([
  {
    // settings
  },
  {
    // different settings
  },
])
```