1
0
Fork 0
freesewing/sites/dev/docs/reference/settings
Joost De Cock ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +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
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 chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +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,
  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
  },
])
```