diff --git a/markdown/dev/contributors/de.md b/markdown/dev/contributors/de.md deleted file mode 100644 index 9a8db97c084..00000000000 --- a/markdown/dev/contributors/de.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: Documentation for contributors ---- - -Are you interested in contributing to freesewing? That's awesome, and exactly why this thing is open source in the first place. - -## Code of conduct - -Freesewing strives to be an open and inclusive community. To keep the trolls at bay, we have a [code of conduct](/guides/code-of-conduct/). As a contributor, you are expected to uphold it. - -## Where to get help or report a problem - -- The [freesewing chat room on Gitter](https://gitter.im/freesewing/help) is the best place to ask questions, meet other freesewers, or just hang out and share a laugh. -- Chat not your thing? The [@freesewing_org](https://twitter.com/freesewing_org) Twitter account is the next best thing. -- Haben Sie einen Fehler festgestellt? Have a suggestion for an improvement? Please [file an issue on GitHub](https://github.com/freesewing/freesewing/issues/new). Dafür benötigen Sie einen GitHub-Account, diesen können Sie kostenlos erstellen. - -## Ways to contribute - -There's may ways to contribute to freesewing. Here are some of the more common ones, from easy to more involved: - -### Help spread the word - -Tell your friends about freesewing, or spread awareness on social media. If you have a blog, perhaps you can write about us, or review one of our patterns. - -It may seem simple, but it's probably how you heard about us in the first place. So pay it forward. - -### Improve our content - -On every page, there's a link at the bottom that allows you to submit improvements. You'll need a GitHub account for this, but they are free. - -Use that button. Don't be shy. If you see a typo, or something that needs clarification or more detail, please suggest your improvements. - - -### Help with translation - -Translation is one of the most important aspects to bring FreeSewing to all corners of the world. It's also something for which we are completely dependent on the community. - -Our [documentation for translators](/guides/translator/) will tell you all you need to know to get started. - -### Test, make, or showcase our patterns - -Are you a maker? Go ahead and make [our patterns](https://freesewing.org/patterns), share your experience, and provide us your feedback. - -We'd love to get pictures to [showcase](https://freesewing.org/showcase) on our website too. - -### Design patterns - -Desiging more FreeSewing patterns is a great way to help out. - -You can [take the tutorial](/tutorials/pattern-design/) and jump right in. Or, join [our chat room on Gitter](https://gitter.im/freesewing/development) to discuss ideas, or find designers or developers to team up with. - -### Contribute to our code - -Interested in submitting a pull request for our code? Awesome. All [our repositories](/reference/repos/) are available [on GitHub](https://github.com/freesewing). - -Our [chat room on Gitter](https://gitter.im/freesewing/development) is the best place to discuss ideas or ask questions. - -### Become a patron - -All our patterns, and all our code, is accessible to everyone, regardless of where they live or what they can afford. - -This is made possible by our Patrons; Loyal supporters who ensure a sustainable future for freesewing.org, our code, our patterns, and our community. - -You can [become a Patron for as little as 2€ per month](https://freesewing.org/patrons/join). It's a very tangible way to support the project. - - diff --git a/markdown/dev/contributors/es.md b/markdown/dev/contributors/es.md deleted file mode 100644 index 1c1c8ae7924..00000000000 --- a/markdown/dev/contributors/es.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: Documentation for contributors ---- - -Are you interested in contributing to freesewing? That's awesome, and exactly why this thing is open source in the first place. - -## Code of conduct - -Freesewing strives to be an open and inclusive community. To keep the trolls at bay, we have a [code of conduct](/guides/code-of-conduct/). As a contributor, you are expected to uphold it. - -## Where to get help or report a problem - -- The [freesewing chat room on Gitter](https://gitter.im/freesewing/help) is the best place to ask questions, meet other freesewers, or just hang out and share a laugh. -- Chat not your thing? The [@freesewing_org](https://twitter.com/freesewing_org) Twitter account is the next best thing. -- Did you spot a mistake? Have a suggestion for an improvement? Please [file an issue on GitHub](https://github.com/freesewing/freesewing/issues/new). You'll need a GitHub account, but they are free. - -## Ways to contribute - -There's may ways to contribute to freesewing. Here are some of the more common ones, from easy to more involved: - -### Help spread the word - -Tell your friends about freesewing, or spread awareness on social media. If you have a blog, perhaps you can write about us, or review one of our patterns. - -It may seem simple, but it's probably how you heard about us in the first place. So pay it forward. - -### Improve our content - -On every page, there's a link at the bottom that allows you to submit improvements. You'll need a GitHub account for this, but they are free. - -Use that button. Don't be shy. If you see a typo, or something that needs clarification or more detail, please suggest your improvements. - - -### Help with translation - -Translation is one of the most important aspects to bring FreeSewing to all corners of the world. It's also something for which we are completely dependent on the community. - -Our [documentation for translators](/guides/translator/) will tell you all you need to know to get started. - -### Test, make, or showcase our patterns - -Are you a maker? Go ahead and make [our patterns](https://freesewing.org/patterns), share your experience, and provide us your feedback. - -We'd love to get pictures to [showcase](https://freesewing.org/showcase) on our website too. - -### Design patterns - -Desiging more FreeSewing patterns is a great way to help out. - -You can [take the tutorial](/tutorials/pattern-design/) and jump right in. Or, join [our chat room on Gitter](https://gitter.im/freesewing/development) to discuss ideas, or find designers or developers to team up with. - -### Contribute to our code - -Interested in submitting a pull request for our code? Awesome. All [our repositories](/reference/repos/) are available [on GitHub](https://github.com/freesewing). - -Our [chat room on Gitter](https://gitter.im/freesewing/development) is the best place to discuss ideas or ask questions. - -### Become a patron - -All our patterns, and all our code, is accessible to everyone, regardless of where they live or what they can afford. - -This is made possible by our Patrons; Loyal supporters who ensure a sustainable future for freesewing.org, our code, our patterns, and our community. - -You can [become a Patron for as little as 2€ per month](https://freesewing.org/patrons/join). It's a very tangible way to support the project. - - diff --git a/markdown/dev/contributors/fr.md b/markdown/dev/contributors/fr.md deleted file mode 100644 index 68dc3355981..00000000000 --- a/markdown/dev/contributors/fr.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: Documentation for contributors ---- - -Are you interested in contributing to freesewing? That's awesome, and exactly why this thing is open source in the first place. - -## Code of conduct - -Freesewing strives to be an open and inclusive community. To keep the trolls at bay, we have a [code of conduct](/guides/code-of-conduct/). As a contributor, you are expected to uphold it. - -## Where to get help or report a problem - -- The [freesewing chat room on Gitter](https://gitter.im/freesewing/help) is the best place to ask questions, meet other freesewers, or just hang out and share a laugh. -- Chat not your thing? The [@freesewing_org](https://twitter.com/freesewing_org) Twitter account is the next best thing. -- Avez-vous trouvé une erreur ? Have a suggestion for an improvement? Please [file an issue on GitHub](https://github.com/freesewing/freesewing/issues/new). Vous aurez besoin d'un compte GitHub, mais ils sont gratuits. - -## Ways to contribute - -There's may ways to contribute to freesewing. Here are some of the more common ones, from easy to more involved: - -### Help spread the word - -Tell your friends about freesewing, or spread awareness on social media. If you have a blog, perhaps you can write about us, or review one of our patterns. - -It may seem simple, but it's probably how you heard about us in the first place. So pay it forward. - -### Improve our content - -On every page, there's a link at the bottom that allows you to submit improvements. You'll need a GitHub account for this, but they are free. - -Use that button. Don't be shy. If you see a typo, or something that needs clarification or more detail, please suggest your improvements. - - -### Help with translation - -Translation is one of the most important aspects to bring FreeSewing to all corners of the world. It's also something for which we are completely dependent on the community. - -Our [documentation for translators](/guides/translator/) will tell you all you need to know to get started. - -### Test, make, or showcase our patterns - -Are you a maker? Go ahead and make [our patterns](https://freesewing.org/patterns), share your experience, and provide us your feedback. - -We'd love to get pictures to [showcase](https://freesewing.org/showcase) on our website too. - -### Design patterns - -Desiging more FreeSewing patterns is a great way to help out. - -You can [take the tutorial](/tutorials/pattern-design/) and jump right in. Or, join [our chat room on Gitter](https://gitter.im/freesewing/development) to discuss ideas, or find designers or developers to team up with. - -### Contribute to our code - -Interested in submitting a pull request for our code? Awesome. All [our repositories](/reference/repos/) are available [on GitHub](https://github.com/freesewing). - -Our [chat room on Gitter](https://gitter.im/freesewing/development) is the best place to discuss ideas or ask questions. - -### Become a patron - -All our patterns, and all our code, is accessible to everyone, regardless of where they live or what they can afford. - -This is made possible by our Patrons; Loyal supporters who ensure a sustainable future for freesewing.org, our code, our patterns, and our community. - -You can [become a Patron for as little as 2€ per month](https://freesewing.org/patrons/join). It's a very tangible way to support the project. - - diff --git a/markdown/dev/contributors/nl.md b/markdown/dev/contributors/nl.md deleted file mode 100644 index a8ee2e0ecb6..00000000000 --- a/markdown/dev/contributors/nl.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: Documentation for contributors ---- - -Are you interested in contributing to freesewing? That's awesome, and exactly why this thing is open source in the first place. - -## Code of conduct - -Freesewing strives to be an open and inclusive community. To keep the trolls at bay, we have a [code of conduct](/guides/code-of-conduct/). As a contributor, you are expected to uphold it. - -## Where to get help or report a problem - -- The [freesewing chat room on Gitter](https://gitter.im/freesewing/help) is the best place to ask questions, meet other freesewers, or just hang out and share a laugh. -- Chat not your thing? The [@freesewing_org](https://twitter.com/freesewing_org) Twitter account is the next best thing. -- Foutje gevonden? Have a suggestion for an improvement? Please [file an issue on GitHub](https://github.com/freesewing/freesewing/issues/new). Je hebt een Github accout nodig, maar die zijn gratis. - -## Ways to contribute - -There's may ways to contribute to freesewing. Here are some of the more common ones, from easy to more involved: - -### Help spread the word - -Tell your friends about freesewing, or spread awareness on social media. If you have a blog, perhaps you can write about us, or review one of our patterns. - -It may seem simple, but it's probably how you heard about us in the first place. So pay it forward. - -### Improve our content - -On every page, there's a link at the bottom that allows you to submit improvements. You'll need a GitHub account for this, but they are free. - -Use that button. Don't be shy. If you see a typo, or something that needs clarification or more detail, please suggest your improvements. - - -### Help with translation - -Translation is one of the most important aspects to bring FreeSewing to all corners of the world. It's also something for which we are completely dependent on the community. - -Our [documentation for translators](/guides/translator/) will tell you all you need to know to get started. - -### Test, make, or showcase our patterns - -Are you a maker? Go ahead and make [our patterns](https://freesewing.org/patterns), share your experience, and provide us your feedback. - -We'd love to get pictures to [showcase](https://freesewing.org/showcase) on our website too. - -### Design patterns - -Desiging more FreeSewing patterns is a great way to help out. - -You can [take the tutorial](/tutorials/pattern-design/) and jump right in. Or, join [our chat room on Gitter](https://gitter.im/freesewing/development) to discuss ideas, or find designers or developers to team up with. - -### Contribute to our code - -Interested in submitting a pull request for our code? Awesome. All [our repositories](/reference/repos/) are available [on GitHub](https://github.com/freesewing). - -Our [chat room on Gitter](https://gitter.im/freesewing/development) is the best place to discuss ideas or ask questions. - -### Become a patron - -All our patterns, and all our code, is accessible to everyone, regardless of where they live or what they can afford. - -This is made possible by our Patrons; Loyal supporters who ensure a sustainable future for freesewing.org, our code, our patterns, and our community. - -You can [become a Patron for as little as 2€ per month](https://freesewing.org/patrons/join). It's a very tangible way to support the project. - - diff --git a/markdown/dev/howtos/code/de.md b/markdown/dev/howtos/code/de.md deleted file mode 100644 index 258cfdc7327..00000000000 --- a/markdown/dev/howtos/code/de.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Core library ---- - - diff --git a/markdown/dev/howtos/code/es.md b/markdown/dev/howtos/code/es.md deleted file mode 100644 index 258cfdc7327..00000000000 --- a/markdown/dev/howtos/code/es.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Core library ---- - - diff --git a/markdown/dev/howtos/code/fr.md b/markdown/dev/howtos/code/fr.md deleted file mode 100644 index 258cfdc7327..00000000000 --- a/markdown/dev/howtos/code/fr.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Core library ---- - - diff --git a/markdown/dev/howtos/code/nl.md b/markdown/dev/howtos/code/nl.md deleted file mode 100644 index 258cfdc7327..00000000000 --- a/markdown/dev/howtos/code/nl.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Core library ---- - - diff --git a/markdown/dev/howtos/de.md b/markdown/dev/howtos/de.md deleted file mode 100644 index f802d2d585b..00000000000 --- a/markdown/dev/howtos/de.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Howtos ---- - - diff --git a/markdown/dev/howtos/es.md b/markdown/dev/howtos/es.md deleted file mode 100644 index f802d2d585b..00000000000 --- a/markdown/dev/howtos/es.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Howtos ---- - - diff --git a/markdown/dev/howtos/fr.md b/markdown/dev/howtos/fr.md deleted file mode 100644 index f802d2d585b..00000000000 --- a/markdown/dev/howtos/fr.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Howtos ---- - - diff --git a/markdown/dev/howtos/nl.md b/markdown/dev/howtos/nl.md deleted file mode 100644 index f802d2d585b..00000000000 --- a/markdown/dev/howtos/nl.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Howtos ---- - - diff --git a/markdown/dev/reference/api/attributes/nl.md b/markdown/dev/reference/api/attributes/nl.md deleted file mode 100644 index a656820b57b..00000000000 --- a/markdown/dev/reference/api/attributes/nl.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -title: Attributes ---- - -Attributes is an object that holds attributes for a variety of other objects. - -Attributes are attached to [`Point`](/reference/api/point), [`Path`](/reference/api/path), and [`Snippet`](/reference/api/snippet) objects, as well as the internal [`Svg`](/reference/api/svg) object. - -All of these have an instantiated Attributes object in their `attributes` property. - -An Attributes object exposes the following methods: - -## add() - -```js -Attributes attributes.add(string key, string value) -``` - -Adds `value` to the attribute identified by `key`. - -Adding multiple values to the same key will result in them being joined together (with a space) when rendering. - -### Attributes.add() example - -```js -let { Path, paths } = part.shorthand(); - -// This will render as: class="classA classB" -paths.demo = new Path(); -paths.demo.attributes.add('class', 'classA'); -paths.demo.attributes.add('class', 'classB'); - -// This does the same thing: -paths.demo = new Path() - .attr('class', 'classA') - .attr('class', 'classB'); - -// This also has the same result: -paths.demo = new Path() - .attr('class', 'classA classB'); -``` - -## clone() - -```js -Attributes attributes.clone() -``` - -Returns a new Attributes object that is a deep copy of this one. - -## get() - -```js -string attributes.get(string key) -``` - -Will return the value of attribute stored under `key`, or `false` if it's not set. - -If key has multiple values, they will be joined together in a string, seperated by spaces. - -### Attributes.get() example - -```js -let { Path, paths } = part.shorthand(); - -paths.demo = new Path() - .attr('class', 'classA') - .attr('class', 'classB'); - -let class = paths.demo.attributes.get('class'); -// class now holds: "classA classB" -``` - - -## getAsArray() - -```js -array attributes.getAsArray(string key) -``` - -Will return an array with the value of attribute stored under `key`, or `false` if it's not set. - -### Attributes.getAsArray() example - -```js -let { Path, paths } = part.shorthand(); - -paths.demo = new Path() - .attr('class', 'classA') - .attr('class', 'classB'); - -let class = paths.demo.attributes.getAsArray('class'); -// class now holds: ["classA", "classB"] -``` - -## remove() - -```js -Attributes attributes.remove(string key) -``` - -Removes the attribute values under key and returns the Attributes object. - -### Attributes.remove() example - -```js -let { Path, paths } = part.shorthand(); - -paths.demo = new Path() - .attr('class', 'classA') - .attr('class', 'classB'); - -let class = paths.example.attributes - .remove() - .get('class'); -// class now holds: false -``` - -## set() - -```js -Attributes attributes.set(string key, string value) -``` - -Sets the attribute identified by `key` to value `value`. - - - -This will overwrite any value that's currently set on the attribute identified by `key`. - - - -### Attributes.set() example - -```js -let { Path, paths } = part.shorthand(); - -// This will render as: class="classB" -paths.demo = new Path(); -paths.demo.attributes.set('class', 'classA'); -paths.demo.attributes.set('class', 'classB'); - -// This does the same thing: -paths.demo = new Path() - .attr('class', 'classA', true) - .attr('class', 'classB', true); -``` diff --git a/markdown/dev/reference/api/de.md b/markdown/dev/reference/api/de.md deleted file mode 100644 index b5e56b4a82c..00000000000 --- a/markdown/dev/reference/api/de.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: API Reference -order: 500 ---- - -Freesewing exports a single object with the following properties: - - - `version`: A string containing the FreeSewing version number - -In addition, FreeSewing's default export exposes the following method: - - - `Design()`: A *super-constructor* to create new pattern designs. - -## Design() - -```js -function freesewing.Design(object config, object|array plugins) -``` - -Use this method to create a new pattern design. It takes the following arguments: - - - `config` : The pattern configuration - - `plugins` : Either a plugin object, or an array of plugin objects to load in your pattern - - - -This method will return a constructor method that should be called to -instantiate your pattern. - -See [creating a new pattern design](/concepts/new-design) for an example. - - - diff --git a/markdown/dev/reference/api/es.md b/markdown/dev/reference/api/es.md deleted file mode 100644 index b5e56b4a82c..00000000000 --- a/markdown/dev/reference/api/es.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: API Reference -order: 500 ---- - -Freesewing exports a single object with the following properties: - - - `version`: A string containing the FreeSewing version number - -In addition, FreeSewing's default export exposes the following method: - - - `Design()`: A *super-constructor* to create new pattern designs. - -## Design() - -```js -function freesewing.Design(object config, object|array plugins) -``` - -Use this method to create a new pattern design. It takes the following arguments: - - - `config` : The pattern configuration - - `plugins` : Either a plugin object, or an array of plugin objects to load in your pattern - - - -This method will return a constructor method that should be called to -instantiate your pattern. - -See [creating a new pattern design](/concepts/new-design) for an example. - - - diff --git a/markdown/dev/reference/api/fr.md b/markdown/dev/reference/api/fr.md deleted file mode 100644 index b5e56b4a82c..00000000000 --- a/markdown/dev/reference/api/fr.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: API Reference -order: 500 ---- - -Freesewing exports a single object with the following properties: - - - `version`: A string containing the FreeSewing version number - -In addition, FreeSewing's default export exposes the following method: - - - `Design()`: A *super-constructor* to create new pattern designs. - -## Design() - -```js -function freesewing.Design(object config, object|array plugins) -``` - -Use this method to create a new pattern design. It takes the following arguments: - - - `config` : The pattern configuration - - `plugins` : Either a plugin object, or an array of plugin objects to load in your pattern - - - -This method will return a constructor method that should be called to -instantiate your pattern. - -See [creating a new pattern design](/concepts/new-design) for an example. - - - diff --git a/markdown/dev/reference/api/nl.md b/markdown/dev/reference/api/nl.md deleted file mode 100644 index 3f0b72d7a3d..00000000000 --- a/markdown/dev/reference/api/nl.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: API Reference -order: 500 ---- - -Freesewing geeft een enkel object terug met de volgende eigenschappen: - - - `version`: Een string met het FreeSewing versie nummer - -En FreeSewing's standaard export geeft toegang tot de volgende methode: - - - `Design()`: A *super-constructor* to create new pattern designs. - -## Design() - -```js -function freesewing.Design(object config, object|array plugins) -``` - -Gebruik deze methode om een nieuw patroon ontwerp te maken. Het gebruikt de volgende argumenten: - - - `config` : De patroon configuratie - - `plugins` : Of een plugin object, of een array van plugin objecten die in jouw patroon geladen moeten worden. - - - -Deze methode geeft constructor methode die moet worden aangeroepen om uw patroon -te beginnen. - -See [creating a new pattern design](/concepts/new-design) for an example. - - - diff --git a/markdown/dev/reference/api/snippet/de.md b/markdown/dev/reference/api/snippet/de.md deleted file mode 100644 index ca8bf62dd6b..00000000000 --- a/markdown/dev/reference/api/snippet/de.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: Snippet ---- - -A snippet is a reuseable bit of markup for your pattern. They are added to the SVG `defs` section, and rendered with the SVG `use` tag. - -The snippet constructor takes two arguments: - - - `def` : The `xlink:href` id that links to the relevant entry in the SVG `defs` section - - `anchor` : A [`Point`](#point) on which to anchor the snippet - -```js -Snippet new Snippet(def, Point); -``` - -A Snippet object comes with the following properties: - - - `def` : The `xlink:href` id that links to the relevant entry in the SVG `defs` section - - `anchor` : A [`Point`](../point) on which to anchor the snippet - - `attributes` : An [`Attributes`](../attributes) instance holding the snippet's attributes - -In addition, a Snippet object exposes the following methods: - -## attr() - -```js -Snippet snippet.attr( - string name, - mixed value, - bool overwrite = false -) -``` - -This `Snippet.attr()` method calls [`Attributes.add()`](./attributes#add) under the hood, but returns the Snippet object. This allows you to chain different calls together. - -If the third parameter is set to `true` it will call [`Attributes.set()`](./attributes#set) instead, thereby overwriting the value of the attribute. - -### Snippet.attr() example - - - -```js -let { Point, points, Snippet, snippets } = part.shorthand(); - -points.anchor = new Point(50, 15); -snippets.demo = new Snippet("logo", points.anchor) - .attr("data-scale", 0.8) - .attr("data-rotate", 180); -``` - -## clone() - -```js -Snippet snippet.clone() -``` - -### Snippet.clone() example - -Returns a new Snippets object that is a deep copy of this one. - - - -```js -let { Point, points, Snippet, snippets } = part.shorthand(); - -points.anchor = new Point(35, 35); -snippets.demo = new Snippet("logo", points.anchor) - .attr("style", "color: #f006"); - -snippets.clone = snippets.demo - .clone() - .attr("data-scale", 0.5); -``` diff --git a/markdown/dev/reference/api/snippet/es.md b/markdown/dev/reference/api/snippet/es.md deleted file mode 100644 index ca8bf62dd6b..00000000000 --- a/markdown/dev/reference/api/snippet/es.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: Snippet ---- - -A snippet is a reuseable bit of markup for your pattern. They are added to the SVG `defs` section, and rendered with the SVG `use` tag. - -The snippet constructor takes two arguments: - - - `def` : The `xlink:href` id that links to the relevant entry in the SVG `defs` section - - `anchor` : A [`Point`](#point) on which to anchor the snippet - -```js -Snippet new Snippet(def, Point); -``` - -A Snippet object comes with the following properties: - - - `def` : The `xlink:href` id that links to the relevant entry in the SVG `defs` section - - `anchor` : A [`Point`](../point) on which to anchor the snippet - - `attributes` : An [`Attributes`](../attributes) instance holding the snippet's attributes - -In addition, a Snippet object exposes the following methods: - -## attr() - -```js -Snippet snippet.attr( - string name, - mixed value, - bool overwrite = false -) -``` - -This `Snippet.attr()` method calls [`Attributes.add()`](./attributes#add) under the hood, but returns the Snippet object. This allows you to chain different calls together. - -If the third parameter is set to `true` it will call [`Attributes.set()`](./attributes#set) instead, thereby overwriting the value of the attribute. - -### Snippet.attr() example - - - -```js -let { Point, points, Snippet, snippets } = part.shorthand(); - -points.anchor = new Point(50, 15); -snippets.demo = new Snippet("logo", points.anchor) - .attr("data-scale", 0.8) - .attr("data-rotate", 180); -``` - -## clone() - -```js -Snippet snippet.clone() -``` - -### Snippet.clone() example - -Returns a new Snippets object that is a deep copy of this one. - - - -```js -let { Point, points, Snippet, snippets } = part.shorthand(); - -points.anchor = new Point(35, 35); -snippets.demo = new Snippet("logo", points.anchor) - .attr("style", "color: #f006"); - -snippets.clone = snippets.demo - .clone() - .attr("data-scale", 0.5); -``` diff --git a/markdown/dev/reference/api/snippet/fr.md b/markdown/dev/reference/api/snippet/fr.md deleted file mode 100644 index ca8bf62dd6b..00000000000 --- a/markdown/dev/reference/api/snippet/fr.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: Snippet ---- - -A snippet is a reuseable bit of markup for your pattern. They are added to the SVG `defs` section, and rendered with the SVG `use` tag. - -The snippet constructor takes two arguments: - - - `def` : The `xlink:href` id that links to the relevant entry in the SVG `defs` section - - `anchor` : A [`Point`](#point) on which to anchor the snippet - -```js -Snippet new Snippet(def, Point); -``` - -A Snippet object comes with the following properties: - - - `def` : The `xlink:href` id that links to the relevant entry in the SVG `defs` section - - `anchor` : A [`Point`](../point) on which to anchor the snippet - - `attributes` : An [`Attributes`](../attributes) instance holding the snippet's attributes - -In addition, a Snippet object exposes the following methods: - -## attr() - -```js -Snippet snippet.attr( - string name, - mixed value, - bool overwrite = false -) -``` - -This `Snippet.attr()` method calls [`Attributes.add()`](./attributes#add) under the hood, but returns the Snippet object. This allows you to chain different calls together. - -If the third parameter is set to `true` it will call [`Attributes.set()`](./attributes#set) instead, thereby overwriting the value of the attribute. - -### Snippet.attr() example - - - -```js -let { Point, points, Snippet, snippets } = part.shorthand(); - -points.anchor = new Point(50, 15); -snippets.demo = new Snippet("logo", points.anchor) - .attr("data-scale", 0.8) - .attr("data-rotate", 180); -``` - -## clone() - -```js -Snippet snippet.clone() -``` - -### Snippet.clone() example - -Returns a new Snippets object that is a deep copy of this one. - - - -```js -let { Point, points, Snippet, snippets } = part.shorthand(); - -points.anchor = new Point(35, 35); -snippets.demo = new Snippet("logo", points.anchor) - .attr("style", "color: #f006"); - -snippets.clone = snippets.demo - .clone() - .attr("data-scale", 0.5); -``` diff --git a/markdown/dev/reference/api/snippet/nl.md b/markdown/dev/reference/api/snippet/nl.md deleted file mode 100644 index ca8bf62dd6b..00000000000 --- a/markdown/dev/reference/api/snippet/nl.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: Snippet ---- - -A snippet is a reuseable bit of markup for your pattern. They are added to the SVG `defs` section, and rendered with the SVG `use` tag. - -The snippet constructor takes two arguments: - - - `def` : The `xlink:href` id that links to the relevant entry in the SVG `defs` section - - `anchor` : A [`Point`](#point) on which to anchor the snippet - -```js -Snippet new Snippet(def, Point); -``` - -A Snippet object comes with the following properties: - - - `def` : The `xlink:href` id that links to the relevant entry in the SVG `defs` section - - `anchor` : A [`Point`](../point) on which to anchor the snippet - - `attributes` : An [`Attributes`](../attributes) instance holding the snippet's attributes - -In addition, a Snippet object exposes the following methods: - -## attr() - -```js -Snippet snippet.attr( - string name, - mixed value, - bool overwrite = false -) -``` - -This `Snippet.attr()` method calls [`Attributes.add()`](./attributes#add) under the hood, but returns the Snippet object. This allows you to chain different calls together. - -If the third parameter is set to `true` it will call [`Attributes.set()`](./attributes#set) instead, thereby overwriting the value of the attribute. - -### Snippet.attr() example - - - -```js -let { Point, points, Snippet, snippets } = part.shorthand(); - -points.anchor = new Point(50, 15); -snippets.demo = new Snippet("logo", points.anchor) - .attr("data-scale", 0.8) - .attr("data-rotate", 180); -``` - -## clone() - -```js -Snippet snippet.clone() -``` - -### Snippet.clone() example - -Returns a new Snippets object that is a deep copy of this one. - - - -```js -let { Point, points, Snippet, snippets } = part.shorthand(); - -points.anchor = new Point(35, 35); -snippets.demo = new Snippet("logo", points.anchor) - .attr("style", "color: #f006"); - -snippets.clone = snippets.demo - .clone() - .attr("data-scale", 0.5); -``` diff --git a/markdown/dev/reference/api/store/de.md b/markdown/dev/reference/api/store/de.md deleted file mode 100644 index 271717c8be8..00000000000 --- a/markdown/dev/reference/api/store/de.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: "Store" -components: true ---- - -## Description - -The **Store** object holds a simple key/value store with methods for storing and retrieving information. A single store per pattern is shared by all pattern parts. - -A store is typically used to share information between parts. For example the length of the neck opening in one part can be used to calculate the length for the collar in another part. - - - -###### The store is available as shorthand - -You can access the store instance from the [Part.shorthand](./part#shorthand) method; - -```js -let { store } = part.shorthand(); -``` - - - -## get() - -```js -mixed store.get(string key) -``` - -Returnes the value stored under `key`. - -## set() - -```js -void store.set(string key, mixed value) -``` - -Stores the value of `value` in the store under key `key`. - -## setIfUnset() - -```js -void store.setIfUnset(string key, mixed value) -``` - -Stores the value of `value` in the store under key `key`, but only if that key does not already hold a value. diff --git a/markdown/dev/reference/api/store/es.md b/markdown/dev/reference/api/store/es.md deleted file mode 100644 index 271717c8be8..00000000000 --- a/markdown/dev/reference/api/store/es.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: "Store" -components: true ---- - -## Description - -The **Store** object holds a simple key/value store with methods for storing and retrieving information. A single store per pattern is shared by all pattern parts. - -A store is typically used to share information between parts. For example the length of the neck opening in one part can be used to calculate the length for the collar in another part. - - - -###### The store is available as shorthand - -You can access the store instance from the [Part.shorthand](./part#shorthand) method; - -```js -let { store } = part.shorthand(); -``` - - - -## get() - -```js -mixed store.get(string key) -``` - -Returnes the value stored under `key`. - -## set() - -```js -void store.set(string key, mixed value) -``` - -Stores the value of `value` in the store under key `key`. - -## setIfUnset() - -```js -void store.setIfUnset(string key, mixed value) -``` - -Stores the value of `value` in the store under key `key`, but only if that key does not already hold a value. diff --git a/markdown/dev/reference/api/store/fr.md b/markdown/dev/reference/api/store/fr.md deleted file mode 100644 index 271717c8be8..00000000000 --- a/markdown/dev/reference/api/store/fr.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: "Store" -components: true ---- - -## Description - -The **Store** object holds a simple key/value store with methods for storing and retrieving information. A single store per pattern is shared by all pattern parts. - -A store is typically used to share information between parts. For example the length of the neck opening in one part can be used to calculate the length for the collar in another part. - - - -###### The store is available as shorthand - -You can access the store instance from the [Part.shorthand](./part#shorthand) method; - -```js -let { store } = part.shorthand(); -``` - - - -## get() - -```js -mixed store.get(string key) -``` - -Returnes the value stored under `key`. - -## set() - -```js -void store.set(string key, mixed value) -``` - -Stores the value of `value` in the store under key `key`. - -## setIfUnset() - -```js -void store.setIfUnset(string key, mixed value) -``` - -Stores the value of `value` in the store under key `key`, but only if that key does not already hold a value. diff --git a/markdown/dev/reference/api/store/nl.md b/markdown/dev/reference/api/store/nl.md deleted file mode 100644 index 848d7f13d44..00000000000 --- a/markdown/dev/reference/api/store/nl.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: "Store" -components: true ---- - -## Description - -The **Store** object holds a simple key/value store with methods for storing and retrieving information. A single store per pattern is shared by all pattern parts. - -Een `store` wordt meestal gebruikt om informatie tussen delen van een patroon beschikbaar te kunnen maken. Bij voorbeeld de lengte van de halsopening in een patroondeel kan worden gebruikt om de lengte van de kraag in een ander deel te kunnen berekenen. - - - -###### The store is available as shorthand - -You can access the store instance from the [Part.shorthand](./part#shorthand) method; - -```js -let { store } = part.shorthand(); -``` - - - -## get() - -```js -mixed store.get(string sleutel) -``` - -Geeft de waarde terug die onder `sleutel` opgeslagen is. - -## set() - -```js -void store.set(string sleutel, mixed waarde) -``` - -Slaat de waarde `waarde` op in de `store` onder de sleutel `sleutel`. - -## setIfUnset() - -```js -void store.setIfUnset(string sleutel, mixed waarde) -``` - -Slaat de waarde `waarde` op in de `store` onder de sleutel `sleutel`, maar alleen als die sleutel nog geen waarde heeft. diff --git a/markdown/dev/reference/backend/account/de.md b/markdown/dev/reference/backend/account/de.md deleted file mode 100644 index 4faf7e71540..00000000000 --- a/markdown/dev/reference/backend/account/de.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -title: Account ---- - -## Load account -``` -GET /account -``` -On success: The account data On failure: -``` -400 -``` - -## Update account -``` -PUT /account -{ - 'bio': 'The new bio', - 'avatar': 'data:image/png;base64,iVBORw0KGg...' - 'password': 'new password', - 'username': 'new username', - 'email': 'new.email@domain.com', - 'social': { - 'github': 'githubUsername', - 'twitter': 'twitterUsername', - 'isntagram': 'instagramUsername' - }, - 'settings': { - 'language': 'fr', - 'units': 'imperial', - }, - 'consent': { - 'profile': true, - 'model': false, - 'openData': false - }, -``` -On success: The (updated) account data On failure: -``` -400 -``` - - This will only update what you pass it - - This will only handle one top-level attribute per call - - A change of email won't take effect immediately but instead trigger an email for confirmation. The email will be sent to the new email address, with the current email address in CC. - -## Remove account -``` -DELETE /account -``` -On success: -``` -204 -``` -On failure: -``` -400 -``` - -Removes the account and all user's data. Will also trigger a goodbye email. - -## Confirm email change -``` -POST /account/change/email -{ - 'id': '98e132041ad3f369443f1d3d' -} -``` -On success: The account data On failure: -``` -400 -``` - -Changing your email address requires confirmation, and this endpoint is for that. - -## Export account -``` -GET /account/export -``` -On success: -``` -200 -{ - 'export': 'https://static.freesewing.org/tmp/msypflkyyw/export.zip' -} -``` -On failure: -``` -400 -``` - -Will export the user data and publish it for download. - -## Restrict account -``` -GET /account/restrict -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Will lock the user account, thereby restricting processing of their data. - diff --git a/markdown/dev/reference/backend/account/es.md b/markdown/dev/reference/backend/account/es.md deleted file mode 100644 index 4faf7e71540..00000000000 --- a/markdown/dev/reference/backend/account/es.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -title: Account ---- - -## Load account -``` -GET /account -``` -On success: The account data On failure: -``` -400 -``` - -## Update account -``` -PUT /account -{ - 'bio': 'The new bio', - 'avatar': 'data:image/png;base64,iVBORw0KGg...' - 'password': 'new password', - 'username': 'new username', - 'email': 'new.email@domain.com', - 'social': { - 'github': 'githubUsername', - 'twitter': 'twitterUsername', - 'isntagram': 'instagramUsername' - }, - 'settings': { - 'language': 'fr', - 'units': 'imperial', - }, - 'consent': { - 'profile': true, - 'model': false, - 'openData': false - }, -``` -On success: The (updated) account data On failure: -``` -400 -``` - - This will only update what you pass it - - This will only handle one top-level attribute per call - - A change of email won't take effect immediately but instead trigger an email for confirmation. The email will be sent to the new email address, with the current email address in CC. - -## Remove account -``` -DELETE /account -``` -On success: -``` -204 -``` -On failure: -``` -400 -``` - -Removes the account and all user's data. Will also trigger a goodbye email. - -## Confirm email change -``` -POST /account/change/email -{ - 'id': '98e132041ad3f369443f1d3d' -} -``` -On success: The account data On failure: -``` -400 -``` - -Changing your email address requires confirmation, and this endpoint is for that. - -## Export account -``` -GET /account/export -``` -On success: -``` -200 -{ - 'export': 'https://static.freesewing.org/tmp/msypflkyyw/export.zip' -} -``` -On failure: -``` -400 -``` - -Will export the user data and publish it for download. - -## Restrict account -``` -GET /account/restrict -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Will lock the user account, thereby restricting processing of their data. - diff --git a/markdown/dev/reference/backend/account/fr.md b/markdown/dev/reference/backend/account/fr.md deleted file mode 100644 index 4faf7e71540..00000000000 --- a/markdown/dev/reference/backend/account/fr.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -title: Account ---- - -## Load account -``` -GET /account -``` -On success: The account data On failure: -``` -400 -``` - -## Update account -``` -PUT /account -{ - 'bio': 'The new bio', - 'avatar': 'data:image/png;base64,iVBORw0KGg...' - 'password': 'new password', - 'username': 'new username', - 'email': 'new.email@domain.com', - 'social': { - 'github': 'githubUsername', - 'twitter': 'twitterUsername', - 'isntagram': 'instagramUsername' - }, - 'settings': { - 'language': 'fr', - 'units': 'imperial', - }, - 'consent': { - 'profile': true, - 'model': false, - 'openData': false - }, -``` -On success: The (updated) account data On failure: -``` -400 -``` - - This will only update what you pass it - - This will only handle one top-level attribute per call - - A change of email won't take effect immediately but instead trigger an email for confirmation. The email will be sent to the new email address, with the current email address in CC. - -## Remove account -``` -DELETE /account -``` -On success: -``` -204 -``` -On failure: -``` -400 -``` - -Removes the account and all user's data. Will also trigger a goodbye email. - -## Confirm email change -``` -POST /account/change/email -{ - 'id': '98e132041ad3f369443f1d3d' -} -``` -On success: The account data On failure: -``` -400 -``` - -Changing your email address requires confirmation, and this endpoint is for that. - -## Export account -``` -GET /account/export -``` -On success: -``` -200 -{ - 'export': 'https://static.freesewing.org/tmp/msypflkyyw/export.zip' -} -``` -On failure: -``` -400 -``` - -Will export the user data and publish it for download. - -## Restrict account -``` -GET /account/restrict -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Will lock the user account, thereby restricting processing of their data. - diff --git a/markdown/dev/reference/backend/account/nl.md b/markdown/dev/reference/backend/account/nl.md deleted file mode 100644 index 4faf7e71540..00000000000 --- a/markdown/dev/reference/backend/account/nl.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -title: Account ---- - -## Load account -``` -GET /account -``` -On success: The account data On failure: -``` -400 -``` - -## Update account -``` -PUT /account -{ - 'bio': 'The new bio', - 'avatar': 'data:image/png;base64,iVBORw0KGg...' - 'password': 'new password', - 'username': 'new username', - 'email': 'new.email@domain.com', - 'social': { - 'github': 'githubUsername', - 'twitter': 'twitterUsername', - 'isntagram': 'instagramUsername' - }, - 'settings': { - 'language': 'fr', - 'units': 'imperial', - }, - 'consent': { - 'profile': true, - 'model': false, - 'openData': false - }, -``` -On success: The (updated) account data On failure: -``` -400 -``` - - This will only update what you pass it - - This will only handle one top-level attribute per call - - A change of email won't take effect immediately but instead trigger an email for confirmation. The email will be sent to the new email address, with the current email address in CC. - -## Remove account -``` -DELETE /account -``` -On success: -``` -204 -``` -On failure: -``` -400 -``` - -Removes the account and all user's data. Will also trigger a goodbye email. - -## Confirm email change -``` -POST /account/change/email -{ - 'id': '98e132041ad3f369443f1d3d' -} -``` -On success: The account data On failure: -``` -400 -``` - -Changing your email address requires confirmation, and this endpoint is for that. - -## Export account -``` -GET /account/export -``` -On success: -``` -200 -{ - 'export': 'https://static.freesewing.org/tmp/msypflkyyw/export.zip' -} -``` -On failure: -``` -400 -``` - -Will export the user data and publish it for download. - -## Restrict account -``` -GET /account/restrict -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Will lock the user account, thereby restricting processing of their data. - diff --git a/markdown/dev/reference/backend/de.md b/markdown/dev/reference/backend/de.md deleted file mode 100644 index d6edd529548..00000000000 --- a/markdown/dev/reference/backend/de.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: Backend API ---- - - - -See also: [The backend documentation](/reference/repos/backend/) - - - -## API Cheat sheet -With authentication: - -| 🔐 | Method | Endpoint | Description | -| - | -------- | ----------------------- | ------------------------------------------------------------------------ | -| 🔐 | `POST` | `/models` | [Creates model](/reference/backend/models/#create-model) | -| 🔐 | `GET` | `/models/:handle` | [Read model](/reference/backend/models/#read-model) | -| 🔐 | `PUT` | `/models/:handle` | [Update model](/reference/backend/models/#update-model) | -| 🔐 | `DELETE` | `/models/:handle` | [Remove model](/reference/backend/models/#remove-model) | -| 🔐 | `POST` | `/recipes` | [Create recipe](/reference/backend/recipes/#create-recipe) | -| 🔐 | `GET` | `/recipes/:handle` | [Read recipe](/reference/backend/recipes/#read-recipe) | -| 🔐 | `PUT` | `/recipes/:handle` | [Updates recipe](/reference/backend/recipes/#update-recipe) | -| 🔐 | `DELETE` | `/recipes/:handle` | [Remove recipe](/reference/backend/recipes/#remove-recipe) | -| 🔐 | `GET` | `/account` | [Load account](/reference/backend/account/#load-account) | -| 🔐 | `PUT` | `/account` | [Update account](/reference/backend/account/#update-account) | -| 🔐 | `DELETE` | `/account` | [Remove account](/reference/backend/account/#remove-account) | -| 🔐 | `POST` | `/account/change/email` | [Confirm email change](/reference/backend/account/#confirm-email-change) | -| 🔐 | `GET` | `/account/export` | [Export account](/reference/backend/account/#export-account) | -| 🔐 | `GET` | `/account/restrict` | [Restric account](/reference/backend/account/#restrict-account) | -| 🔐 | `GET` | `/users/:username` | [Read user profile](/reference/backend/users/#read-user-profile) | -| 🔐 | `POST` | `/available/username` | [Is username available](/reference/backend/users/#is-username-available) | - -Without authentication: - -| 🔓 | Method | Endpoint | Description | -| - | ------ | -------------------------------- | ---------------------------------------------------------------------- | -| 🔓 | `POST` | `/signup` | [Request account](/reference/backend/signup/#request-account) | -| 🔓 | `POST` | `/account` | [Create account](/reference/backend/signup/#create-account) | -| 🔓 | `POST` | `/login` | [Log in](/reference/backend/login/#log-in) | -| 🔓 | `POST` | `/reset/password` | [Recover password](/reference/backend/login/#recover-password) | -| 🔓 | `POST` | `/confirm/login` | [Passwordless login](/reference/backend/login/#passwordless-login) | -| 🔓 | `POST` | `/oauth/init` | [Oauth initialisation](/reference/backend/oauth/#oauth-initialisation) | -| 🔓 | `GET` | `/oauth/callback/from/:provider` | [Oauth callback](/reference/backend/oauth/#oauth-callback) | -| 🔓 | `POST` | `/oauth/login` | [Oauth login](/reference/backend/oauth/#oauth-login) | -| 🔓 | `GET` | `/patrons` | [Patron list](/reference/backend/users/#patron-list) | - - - diff --git a/markdown/dev/reference/backend/es.md b/markdown/dev/reference/backend/es.md deleted file mode 100644 index d6edd529548..00000000000 --- a/markdown/dev/reference/backend/es.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: Backend API ---- - - - -See also: [The backend documentation](/reference/repos/backend/) - - - -## API Cheat sheet -With authentication: - -| 🔐 | Method | Endpoint | Description | -| - | -------- | ----------------------- | ------------------------------------------------------------------------ | -| 🔐 | `POST` | `/models` | [Creates model](/reference/backend/models/#create-model) | -| 🔐 | `GET` | `/models/:handle` | [Read model](/reference/backend/models/#read-model) | -| 🔐 | `PUT` | `/models/:handle` | [Update model](/reference/backend/models/#update-model) | -| 🔐 | `DELETE` | `/models/:handle` | [Remove model](/reference/backend/models/#remove-model) | -| 🔐 | `POST` | `/recipes` | [Create recipe](/reference/backend/recipes/#create-recipe) | -| 🔐 | `GET` | `/recipes/:handle` | [Read recipe](/reference/backend/recipes/#read-recipe) | -| 🔐 | `PUT` | `/recipes/:handle` | [Updates recipe](/reference/backend/recipes/#update-recipe) | -| 🔐 | `DELETE` | `/recipes/:handle` | [Remove recipe](/reference/backend/recipes/#remove-recipe) | -| 🔐 | `GET` | `/account` | [Load account](/reference/backend/account/#load-account) | -| 🔐 | `PUT` | `/account` | [Update account](/reference/backend/account/#update-account) | -| 🔐 | `DELETE` | `/account` | [Remove account](/reference/backend/account/#remove-account) | -| 🔐 | `POST` | `/account/change/email` | [Confirm email change](/reference/backend/account/#confirm-email-change) | -| 🔐 | `GET` | `/account/export` | [Export account](/reference/backend/account/#export-account) | -| 🔐 | `GET` | `/account/restrict` | [Restric account](/reference/backend/account/#restrict-account) | -| 🔐 | `GET` | `/users/:username` | [Read user profile](/reference/backend/users/#read-user-profile) | -| 🔐 | `POST` | `/available/username` | [Is username available](/reference/backend/users/#is-username-available) | - -Without authentication: - -| 🔓 | Method | Endpoint | Description | -| - | ------ | -------------------------------- | ---------------------------------------------------------------------- | -| 🔓 | `POST` | `/signup` | [Request account](/reference/backend/signup/#request-account) | -| 🔓 | `POST` | `/account` | [Create account](/reference/backend/signup/#create-account) | -| 🔓 | `POST` | `/login` | [Log in](/reference/backend/login/#log-in) | -| 🔓 | `POST` | `/reset/password` | [Recover password](/reference/backend/login/#recover-password) | -| 🔓 | `POST` | `/confirm/login` | [Passwordless login](/reference/backend/login/#passwordless-login) | -| 🔓 | `POST` | `/oauth/init` | [Oauth initialisation](/reference/backend/oauth/#oauth-initialisation) | -| 🔓 | `GET` | `/oauth/callback/from/:provider` | [Oauth callback](/reference/backend/oauth/#oauth-callback) | -| 🔓 | `POST` | `/oauth/login` | [Oauth login](/reference/backend/oauth/#oauth-login) | -| 🔓 | `GET` | `/patrons` | [Patron list](/reference/backend/users/#patron-list) | - - - diff --git a/markdown/dev/reference/backend/fr.md b/markdown/dev/reference/backend/fr.md deleted file mode 100644 index d6edd529548..00000000000 --- a/markdown/dev/reference/backend/fr.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: Backend API ---- - - - -See also: [The backend documentation](/reference/repos/backend/) - - - -## API Cheat sheet -With authentication: - -| 🔐 | Method | Endpoint | Description | -| - | -------- | ----------------------- | ------------------------------------------------------------------------ | -| 🔐 | `POST` | `/models` | [Creates model](/reference/backend/models/#create-model) | -| 🔐 | `GET` | `/models/:handle` | [Read model](/reference/backend/models/#read-model) | -| 🔐 | `PUT` | `/models/:handle` | [Update model](/reference/backend/models/#update-model) | -| 🔐 | `DELETE` | `/models/:handle` | [Remove model](/reference/backend/models/#remove-model) | -| 🔐 | `POST` | `/recipes` | [Create recipe](/reference/backend/recipes/#create-recipe) | -| 🔐 | `GET` | `/recipes/:handle` | [Read recipe](/reference/backend/recipes/#read-recipe) | -| 🔐 | `PUT` | `/recipes/:handle` | [Updates recipe](/reference/backend/recipes/#update-recipe) | -| 🔐 | `DELETE` | `/recipes/:handle` | [Remove recipe](/reference/backend/recipes/#remove-recipe) | -| 🔐 | `GET` | `/account` | [Load account](/reference/backend/account/#load-account) | -| 🔐 | `PUT` | `/account` | [Update account](/reference/backend/account/#update-account) | -| 🔐 | `DELETE` | `/account` | [Remove account](/reference/backend/account/#remove-account) | -| 🔐 | `POST` | `/account/change/email` | [Confirm email change](/reference/backend/account/#confirm-email-change) | -| 🔐 | `GET` | `/account/export` | [Export account](/reference/backend/account/#export-account) | -| 🔐 | `GET` | `/account/restrict` | [Restric account](/reference/backend/account/#restrict-account) | -| 🔐 | `GET` | `/users/:username` | [Read user profile](/reference/backend/users/#read-user-profile) | -| 🔐 | `POST` | `/available/username` | [Is username available](/reference/backend/users/#is-username-available) | - -Without authentication: - -| 🔓 | Method | Endpoint | Description | -| - | ------ | -------------------------------- | ---------------------------------------------------------------------- | -| 🔓 | `POST` | `/signup` | [Request account](/reference/backend/signup/#request-account) | -| 🔓 | `POST` | `/account` | [Create account](/reference/backend/signup/#create-account) | -| 🔓 | `POST` | `/login` | [Log in](/reference/backend/login/#log-in) | -| 🔓 | `POST` | `/reset/password` | [Recover password](/reference/backend/login/#recover-password) | -| 🔓 | `POST` | `/confirm/login` | [Passwordless login](/reference/backend/login/#passwordless-login) | -| 🔓 | `POST` | `/oauth/init` | [Oauth initialisation](/reference/backend/oauth/#oauth-initialisation) | -| 🔓 | `GET` | `/oauth/callback/from/:provider` | [Oauth callback](/reference/backend/oauth/#oauth-callback) | -| 🔓 | `POST` | `/oauth/login` | [Oauth login](/reference/backend/oauth/#oauth-login) | -| 🔓 | `GET` | `/patrons` | [Patron list](/reference/backend/users/#patron-list) | - - - diff --git a/markdown/dev/reference/backend/login/de.md b/markdown/dev/reference/backend/login/de.md deleted file mode 100644 index e89bd33a470..00000000000 --- a/markdown/dev/reference/backend/login/de.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: Log in ---- - -## Log in -``` -POST /login -{ - 'username': 'user-csfwg', - 'password': `test` -} -``` -On success: The account data On failure: -``` -400 -``` - - Returns the same as the create account endpoint - - Both username or email address can be uses as `username` - -## Reset password -``` -POST /reset/password -{ - 'username': 'test@freesewing.org' -} -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - - - Will send an email to the user with a link for a passwordless login. - -## Passwordless login -``` -POST /confirm/login -{ - 'id': '5d5132041ad3f369443f1d7b' -} -``` -On success: The account data On failure: -``` -400 -``` - - Returns the same as the create account endpoint - - ID is the one sent out in the confirmation email - -This will log the user in. - diff --git a/markdown/dev/reference/backend/login/es.md b/markdown/dev/reference/backend/login/es.md deleted file mode 100644 index e89bd33a470..00000000000 --- a/markdown/dev/reference/backend/login/es.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: Log in ---- - -## Log in -``` -POST /login -{ - 'username': 'user-csfwg', - 'password': `test` -} -``` -On success: The account data On failure: -``` -400 -``` - - Returns the same as the create account endpoint - - Both username or email address can be uses as `username` - -## Reset password -``` -POST /reset/password -{ - 'username': 'test@freesewing.org' -} -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - - - Will send an email to the user with a link for a passwordless login. - -## Passwordless login -``` -POST /confirm/login -{ - 'id': '5d5132041ad3f369443f1d7b' -} -``` -On success: The account data On failure: -``` -400 -``` - - Returns the same as the create account endpoint - - ID is the one sent out in the confirmation email - -This will log the user in. - diff --git a/markdown/dev/reference/backend/login/fr.md b/markdown/dev/reference/backend/login/fr.md deleted file mode 100644 index e89bd33a470..00000000000 --- a/markdown/dev/reference/backend/login/fr.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: Log in ---- - -## Log in -``` -POST /login -{ - 'username': 'user-csfwg', - 'password': `test` -} -``` -On success: The account data On failure: -``` -400 -``` - - Returns the same as the create account endpoint - - Both username or email address can be uses as `username` - -## Reset password -``` -POST /reset/password -{ - 'username': 'test@freesewing.org' -} -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - - - Will send an email to the user with a link for a passwordless login. - -## Passwordless login -``` -POST /confirm/login -{ - 'id': '5d5132041ad3f369443f1d7b' -} -``` -On success: The account data On failure: -``` -400 -``` - - Returns the same as the create account endpoint - - ID is the one sent out in the confirmation email - -This will log the user in. - diff --git a/markdown/dev/reference/backend/login/nl.md b/markdown/dev/reference/backend/login/nl.md deleted file mode 100644 index e89bd33a470..00000000000 --- a/markdown/dev/reference/backend/login/nl.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: Log in ---- - -## Log in -``` -POST /login -{ - 'username': 'user-csfwg', - 'password': `test` -} -``` -On success: The account data On failure: -``` -400 -``` - - Returns the same as the create account endpoint - - Both username or email address can be uses as `username` - -## Reset password -``` -POST /reset/password -{ - 'username': 'test@freesewing.org' -} -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - - - Will send an email to the user with a link for a passwordless login. - -## Passwordless login -``` -POST /confirm/login -{ - 'id': '5d5132041ad3f369443f1d7b' -} -``` -On success: The account data On failure: -``` -400 -``` - - Returns the same as the create account endpoint - - ID is the one sent out in the confirmation email - -This will log the user in. - diff --git a/markdown/dev/reference/backend/models/de.md b/markdown/dev/reference/backend/models/de.md deleted file mode 100644 index 9c3e6681981..00000000000 --- a/markdown/dev/reference/backend/models/de.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: Models ---- - -## Create model - -``` -POST /models -{ - 'name': 'The model name', - 'breasts': false, - 'units': 'imperial' -} -``` -On success: -``` -200 -{ - 'model': { - 'breasts': false, - 'units': 'imperial', - 'handle': 'dnkve', - 'user': 'ohium', - 'name': The model name', - 'createdAt': '2019-08-12T12:06:41.086Z', - 'updatedAt': '2019-08-12T12:06:41.086Z', - 'pictureUris': { - 'l': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 'm': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 's': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 'xs': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg' - } - } -} -``` -On failure: -``` -400 -``` - -Creates a model and returns its data. - -## Read model -``` -GET /models/:handle -``` -On success: The model data On failure: -``` -400 -``` - -Loads a model's data - -## Update model - -``` -PUT /models/:handle -{ - 'measurements': { - 'ankleCircumference': 234 - } -} -``` - -Updates the model and returns the (updated) model data. - -## Remove model - -``` -DELETE /models/:handle -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Removes the model - diff --git a/markdown/dev/reference/backend/models/es.md b/markdown/dev/reference/backend/models/es.md deleted file mode 100644 index 9c3e6681981..00000000000 --- a/markdown/dev/reference/backend/models/es.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: Models ---- - -## Create model - -``` -POST /models -{ - 'name': 'The model name', - 'breasts': false, - 'units': 'imperial' -} -``` -On success: -``` -200 -{ - 'model': { - 'breasts': false, - 'units': 'imperial', - 'handle': 'dnkve', - 'user': 'ohium', - 'name': The model name', - 'createdAt': '2019-08-12T12:06:41.086Z', - 'updatedAt': '2019-08-12T12:06:41.086Z', - 'pictureUris': { - 'l': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 'm': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 's': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 'xs': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg' - } - } -} -``` -On failure: -``` -400 -``` - -Creates a model and returns its data. - -## Read model -``` -GET /models/:handle -``` -On success: The model data On failure: -``` -400 -``` - -Loads a model's data - -## Update model - -``` -PUT /models/:handle -{ - 'measurements': { - 'ankleCircumference': 234 - } -} -``` - -Updates the model and returns the (updated) model data. - -## Remove model - -``` -DELETE /models/:handle -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Removes the model - diff --git a/markdown/dev/reference/backend/models/fr.md b/markdown/dev/reference/backend/models/fr.md deleted file mode 100644 index 9c3e6681981..00000000000 --- a/markdown/dev/reference/backend/models/fr.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: Models ---- - -## Create model - -``` -POST /models -{ - 'name': 'The model name', - 'breasts': false, - 'units': 'imperial' -} -``` -On success: -``` -200 -{ - 'model': { - 'breasts': false, - 'units': 'imperial', - 'handle': 'dnkve', - 'user': 'ohium', - 'name': The model name', - 'createdAt': '2019-08-12T12:06:41.086Z', - 'updatedAt': '2019-08-12T12:06:41.086Z', - 'pictureUris': { - 'l': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 'm': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 's': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 'xs': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg' - } - } -} -``` -On failure: -``` -400 -``` - -Creates a model and returns its data. - -## Read model -``` -GET /models/:handle -``` -On success: The model data On failure: -``` -400 -``` - -Loads a model's data - -## Update model - -``` -PUT /models/:handle -{ - 'measurements': { - 'ankleCircumference': 234 - } -} -``` - -Updates the model and returns the (updated) model data. - -## Remove model - -``` -DELETE /models/:handle -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Removes the model - diff --git a/markdown/dev/reference/backend/models/nl.md b/markdown/dev/reference/backend/models/nl.md deleted file mode 100644 index 9c3e6681981..00000000000 --- a/markdown/dev/reference/backend/models/nl.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: Models ---- - -## Create model - -``` -POST /models -{ - 'name': 'The model name', - 'breasts': false, - 'units': 'imperial' -} -``` -On success: -``` -200 -{ - 'model': { - 'breasts': false, - 'units': 'imperial', - 'handle': 'dnkve', - 'user': 'ohium', - 'name': The model name', - 'createdAt': '2019-08-12T12:06:41.086Z', - 'updatedAt': '2019-08-12T12:06:41.086Z', - 'pictureUris': { - 'l': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 'm': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 's': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg', - 'xs': 'https://static.she.freesewing.org/users/o/ohium/models/dnkve/dnkve.svg' - } - } -} -``` -On failure: -``` -400 -``` - -Creates a model and returns its data. - -## Read model -``` -GET /models/:handle -``` -On success: The model data On failure: -``` -400 -``` - -Loads a model's data - -## Update model - -``` -PUT /models/:handle -{ - 'measurements': { - 'ankleCircumference': 234 - } -} -``` - -Updates the model and returns the (updated) model data. - -## Remove model - -``` -DELETE /models/:handle -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Removes the model - diff --git a/markdown/dev/reference/backend/nl.md b/markdown/dev/reference/backend/nl.md deleted file mode 100644 index d6edd529548..00000000000 --- a/markdown/dev/reference/backend/nl.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: Backend API ---- - - - -See also: [The backend documentation](/reference/repos/backend/) - - - -## API Cheat sheet -With authentication: - -| 🔐 | Method | Endpoint | Description | -| - | -------- | ----------------------- | ------------------------------------------------------------------------ | -| 🔐 | `POST` | `/models` | [Creates model](/reference/backend/models/#create-model) | -| 🔐 | `GET` | `/models/:handle` | [Read model](/reference/backend/models/#read-model) | -| 🔐 | `PUT` | `/models/:handle` | [Update model](/reference/backend/models/#update-model) | -| 🔐 | `DELETE` | `/models/:handle` | [Remove model](/reference/backend/models/#remove-model) | -| 🔐 | `POST` | `/recipes` | [Create recipe](/reference/backend/recipes/#create-recipe) | -| 🔐 | `GET` | `/recipes/:handle` | [Read recipe](/reference/backend/recipes/#read-recipe) | -| 🔐 | `PUT` | `/recipes/:handle` | [Updates recipe](/reference/backend/recipes/#update-recipe) | -| 🔐 | `DELETE` | `/recipes/:handle` | [Remove recipe](/reference/backend/recipes/#remove-recipe) | -| 🔐 | `GET` | `/account` | [Load account](/reference/backend/account/#load-account) | -| 🔐 | `PUT` | `/account` | [Update account](/reference/backend/account/#update-account) | -| 🔐 | `DELETE` | `/account` | [Remove account](/reference/backend/account/#remove-account) | -| 🔐 | `POST` | `/account/change/email` | [Confirm email change](/reference/backend/account/#confirm-email-change) | -| 🔐 | `GET` | `/account/export` | [Export account](/reference/backend/account/#export-account) | -| 🔐 | `GET` | `/account/restrict` | [Restric account](/reference/backend/account/#restrict-account) | -| 🔐 | `GET` | `/users/:username` | [Read user profile](/reference/backend/users/#read-user-profile) | -| 🔐 | `POST` | `/available/username` | [Is username available](/reference/backend/users/#is-username-available) | - -Without authentication: - -| 🔓 | Method | Endpoint | Description | -| - | ------ | -------------------------------- | ---------------------------------------------------------------------- | -| 🔓 | `POST` | `/signup` | [Request account](/reference/backend/signup/#request-account) | -| 🔓 | `POST` | `/account` | [Create account](/reference/backend/signup/#create-account) | -| 🔓 | `POST` | `/login` | [Log in](/reference/backend/login/#log-in) | -| 🔓 | `POST` | `/reset/password` | [Recover password](/reference/backend/login/#recover-password) | -| 🔓 | `POST` | `/confirm/login` | [Passwordless login](/reference/backend/login/#passwordless-login) | -| 🔓 | `POST` | `/oauth/init` | [Oauth initialisation](/reference/backend/oauth/#oauth-initialisation) | -| 🔓 | `GET` | `/oauth/callback/from/:provider` | [Oauth callback](/reference/backend/oauth/#oauth-callback) | -| 🔓 | `POST` | `/oauth/login` | [Oauth login](/reference/backend/oauth/#oauth-login) | -| 🔓 | `GET` | `/patrons` | [Patron list](/reference/backend/users/#patron-list) | - - - diff --git a/markdown/dev/reference/backend/oauth/de.md b/markdown/dev/reference/backend/oauth/de.md deleted file mode 100644 index c318bc5a409..00000000000 --- a/markdown/dev/reference/backend/oauth/de.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Oauth ---- - -## Oauth initialisation -``` -POST /oauth/init -{ - 'provider': 'github', - 'language': 'fr' -} -``` -On success: -``` -200 -{ - 'state': '5d5132041ad3f369443f1d7b' -} -``` -On failure: -``` -400 -``` - - This triggers an Oauth flow - - `provider` should be one of `google` or `github` - - `language` should be one of the [configured language codes](https://github.com/freesewing/backend/blob/develop/src/config/index.js#L32) - - The frontend will use the state value to initialize an Oauth session. We'll check the state value when we receive the Oauth callback at the backend - -## Oauth callback -``` -GET /oauth/callback/from/:provider -``` -On success: Redirects to the frontend - -This is part of the Oauth flow. It fetches the user info from the Oauth provider. If it can't match it with a user, it will create a user account. In other words, this will handle both log in and sign up. - -The frontend redirect will contain a confirmation ID in the URL that we'll `POST` back in the next Oauth flow step. - -## Oauth login -``` -POST /oauth/login -{ - 'confirmation': '98e132041ad3f369443f1d3d' -} -``` -On success: The account data On failure: -``` -400 -``` - -This is the last step of the Oauth process. It logs a user in. - diff --git a/markdown/dev/reference/backend/oauth/es.md b/markdown/dev/reference/backend/oauth/es.md deleted file mode 100644 index c318bc5a409..00000000000 --- a/markdown/dev/reference/backend/oauth/es.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Oauth ---- - -## Oauth initialisation -``` -POST /oauth/init -{ - 'provider': 'github', - 'language': 'fr' -} -``` -On success: -``` -200 -{ - 'state': '5d5132041ad3f369443f1d7b' -} -``` -On failure: -``` -400 -``` - - This triggers an Oauth flow - - `provider` should be one of `google` or `github` - - `language` should be one of the [configured language codes](https://github.com/freesewing/backend/blob/develop/src/config/index.js#L32) - - The frontend will use the state value to initialize an Oauth session. We'll check the state value when we receive the Oauth callback at the backend - -## Oauth callback -``` -GET /oauth/callback/from/:provider -``` -On success: Redirects to the frontend - -This is part of the Oauth flow. It fetches the user info from the Oauth provider. If it can't match it with a user, it will create a user account. In other words, this will handle both log in and sign up. - -The frontend redirect will contain a confirmation ID in the URL that we'll `POST` back in the next Oauth flow step. - -## Oauth login -``` -POST /oauth/login -{ - 'confirmation': '98e132041ad3f369443f1d3d' -} -``` -On success: The account data On failure: -``` -400 -``` - -This is the last step of the Oauth process. It logs a user in. - diff --git a/markdown/dev/reference/backend/oauth/fr.md b/markdown/dev/reference/backend/oauth/fr.md deleted file mode 100644 index c318bc5a409..00000000000 --- a/markdown/dev/reference/backend/oauth/fr.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Oauth ---- - -## Oauth initialisation -``` -POST /oauth/init -{ - 'provider': 'github', - 'language': 'fr' -} -``` -On success: -``` -200 -{ - 'state': '5d5132041ad3f369443f1d7b' -} -``` -On failure: -``` -400 -``` - - This triggers an Oauth flow - - `provider` should be one of `google` or `github` - - `language` should be one of the [configured language codes](https://github.com/freesewing/backend/blob/develop/src/config/index.js#L32) - - The frontend will use the state value to initialize an Oauth session. We'll check the state value when we receive the Oauth callback at the backend - -## Oauth callback -``` -GET /oauth/callback/from/:provider -``` -On success: Redirects to the frontend - -This is part of the Oauth flow. It fetches the user info from the Oauth provider. If it can't match it with a user, it will create a user account. In other words, this will handle both log in and sign up. - -The frontend redirect will contain a confirmation ID in the URL that we'll `POST` back in the next Oauth flow step. - -## Oauth login -``` -POST /oauth/login -{ - 'confirmation': '98e132041ad3f369443f1d3d' -} -``` -On success: The account data On failure: -``` -400 -``` - -This is the last step of the Oauth process. It logs a user in. - diff --git a/markdown/dev/reference/backend/oauth/nl.md b/markdown/dev/reference/backend/oauth/nl.md deleted file mode 100644 index c318bc5a409..00000000000 --- a/markdown/dev/reference/backend/oauth/nl.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Oauth ---- - -## Oauth initialisation -``` -POST /oauth/init -{ - 'provider': 'github', - 'language': 'fr' -} -``` -On success: -``` -200 -{ - 'state': '5d5132041ad3f369443f1d7b' -} -``` -On failure: -``` -400 -``` - - This triggers an Oauth flow - - `provider` should be one of `google` or `github` - - `language` should be one of the [configured language codes](https://github.com/freesewing/backend/blob/develop/src/config/index.js#L32) - - The frontend will use the state value to initialize an Oauth session. We'll check the state value when we receive the Oauth callback at the backend - -## Oauth callback -``` -GET /oauth/callback/from/:provider -``` -On success: Redirects to the frontend - -This is part of the Oauth flow. It fetches the user info from the Oauth provider. If it can't match it with a user, it will create a user account. In other words, this will handle both log in and sign up. - -The frontend redirect will contain a confirmation ID in the URL that we'll `POST` back in the next Oauth flow step. - -## Oauth login -``` -POST /oauth/login -{ - 'confirmation': '98e132041ad3f369443f1d3d' -} -``` -On success: The account data On failure: -``` -400 -``` - -This is the last step of the Oauth process. It logs a user in. - diff --git a/markdown/dev/reference/backend/recipes/de.md b/markdown/dev/reference/backend/recipes/de.md deleted file mode 100644 index d5be6896d78..00000000000 --- a/markdown/dev/reference/backend/recipes/de.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: Recipes ---- - -## Create Recipe - -``` -POST /recipes -{ - 'name': 'The recipe name', - 'notes': 'Some notes', - 'recipe': { - 'settings': { - 'sa': 10, - 'complete': true, - 'paperless': false, - 'units': 'metric', - 'measurements': { - 'bicepsCircumference': 335, - 'centerBackNeckToWaist': 520, - 'chestCircumference': 1080, - '"naturalWaistToHip': 145, - 'neckCircumference': 420, - 'shoulderSlope': 55, - 'shoulderToShoulder': 465, - 'hipsCircumference': 990 - } - }, - 'pattern': 'aaron', - 'model': 'dvqye' - } -} -``` -On success: -``` -200 -{ - 'handle': 'abxda' -} -``` -On failure: -``` -400 -``` - -Creates a recipe and returns its data. - -## Read recipe -``` -GET /recipes/:handle -``` -On success: The recipe data On failure: -``` -400 -``` - -Loads a recipe's data - -## Update recipe - -``` -PUT /recipes/:handle -{ - 'notes': "5 stars, would make again" -} -``` - -Updates the recipe and returns the (updated) recipe data. - -## Remove recipe - -``` -DELETE /recipes/:handle -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Removes the recipe diff --git a/markdown/dev/reference/backend/recipes/es.md b/markdown/dev/reference/backend/recipes/es.md deleted file mode 100644 index d5be6896d78..00000000000 --- a/markdown/dev/reference/backend/recipes/es.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: Recipes ---- - -## Create Recipe - -``` -POST /recipes -{ - 'name': 'The recipe name', - 'notes': 'Some notes', - 'recipe': { - 'settings': { - 'sa': 10, - 'complete': true, - 'paperless': false, - 'units': 'metric', - 'measurements': { - 'bicepsCircumference': 335, - 'centerBackNeckToWaist': 520, - 'chestCircumference': 1080, - '"naturalWaistToHip': 145, - 'neckCircumference': 420, - 'shoulderSlope': 55, - 'shoulderToShoulder': 465, - 'hipsCircumference': 990 - } - }, - 'pattern': 'aaron', - 'model': 'dvqye' - } -} -``` -On success: -``` -200 -{ - 'handle': 'abxda' -} -``` -On failure: -``` -400 -``` - -Creates a recipe and returns its data. - -## Read recipe -``` -GET /recipes/:handle -``` -On success: The recipe data On failure: -``` -400 -``` - -Loads a recipe's data - -## Update recipe - -``` -PUT /recipes/:handle -{ - 'notes': "5 stars, would make again" -} -``` - -Updates the recipe and returns the (updated) recipe data. - -## Remove recipe - -``` -DELETE /recipes/:handle -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Removes the recipe diff --git a/markdown/dev/reference/backend/recipes/fr.md b/markdown/dev/reference/backend/recipes/fr.md deleted file mode 100644 index d5be6896d78..00000000000 --- a/markdown/dev/reference/backend/recipes/fr.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: Recipes ---- - -## Create Recipe - -``` -POST /recipes -{ - 'name': 'The recipe name', - 'notes': 'Some notes', - 'recipe': { - 'settings': { - 'sa': 10, - 'complete': true, - 'paperless': false, - 'units': 'metric', - 'measurements': { - 'bicepsCircumference': 335, - 'centerBackNeckToWaist': 520, - 'chestCircumference': 1080, - '"naturalWaistToHip': 145, - 'neckCircumference': 420, - 'shoulderSlope': 55, - 'shoulderToShoulder': 465, - 'hipsCircumference': 990 - } - }, - 'pattern': 'aaron', - 'model': 'dvqye' - } -} -``` -On success: -``` -200 -{ - 'handle': 'abxda' -} -``` -On failure: -``` -400 -``` - -Creates a recipe and returns its data. - -## Read recipe -``` -GET /recipes/:handle -``` -On success: The recipe data On failure: -``` -400 -``` - -Loads a recipe's data - -## Update recipe - -``` -PUT /recipes/:handle -{ - 'notes': "5 stars, would make again" -} -``` - -Updates the recipe and returns the (updated) recipe data. - -## Remove recipe - -``` -DELETE /recipes/:handle -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Removes the recipe diff --git a/markdown/dev/reference/backend/recipes/nl.md b/markdown/dev/reference/backend/recipes/nl.md deleted file mode 100644 index d5be6896d78..00000000000 --- a/markdown/dev/reference/backend/recipes/nl.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: Recipes ---- - -## Create Recipe - -``` -POST /recipes -{ - 'name': 'The recipe name', - 'notes': 'Some notes', - 'recipe': { - 'settings': { - 'sa': 10, - 'complete': true, - 'paperless': false, - 'units': 'metric', - 'measurements': { - 'bicepsCircumference': 335, - 'centerBackNeckToWaist': 520, - 'chestCircumference': 1080, - '"naturalWaistToHip': 145, - 'neckCircumference': 420, - 'shoulderSlope': 55, - 'shoulderToShoulder': 465, - 'hipsCircumference': 990 - } - }, - 'pattern': 'aaron', - 'model': 'dvqye' - } -} -``` -On success: -``` -200 -{ - 'handle': 'abxda' -} -``` -On failure: -``` -400 -``` - -Creates a recipe and returns its data. - -## Read recipe -``` -GET /recipes/:handle -``` -On success: The recipe data On failure: -``` -400 -``` - -Loads a recipe's data - -## Update recipe - -``` -PUT /recipes/:handle -{ - 'notes': "5 stars, would make again" -} -``` - -Updates the recipe and returns the (updated) recipe data. - -## Remove recipe - -``` -DELETE /recipes/:handle -``` -On success: -``` -200 -``` -On failure: -``` -400 -``` - -Removes the recipe diff --git a/markdown/dev/reference/backend/signup/de.md b/markdown/dev/reference/backend/signup/de.md deleted file mode 100644 index 521e7b1dabc..00000000000 --- a/markdown/dev/reference/backend/signup/de.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: Sign up ---- - -## Request account -``` -POST /signup -{ - email: 'test@freesewing.org', - password: 'test', - language: 'en' -} -``` -On success: -``` -200 -``` -On error: -``` -400 -``` - - - This is the first half in the user sign up flow. - - `language` should be one of the [configured language codes](https://github.com/freesewing/backend/blob/develop/src/config/index.js#L32) - - This will create (but not activate) a user account - - This will send out an email to the user to confirm their email address - -## Create account -``` -POST /account -{ - id: '5d5132041ad3f369443f1d7b' - consent: { - profile: true, - model: true, - openData: true - } -} -``` -On success: The account data: -``` -200 -{ - 'account': { - 'settings': { - 'language': 'en', - 'units': 'metric' - }, - 'consent': { - 'profile': true, - 'model': true, - 'openData': true, - }, - 'time': { - 'login': '2019-08-12T09:41:15.823Z' - }, - 'role': 'user', - 'patron': 0, - 'bio': '', - 'picture': 'csfwg.svg', - 'status': 'active', - 'handle': 'csfwg', - 'username': 'user-csfwg', - 'email': 'test@freesewing.org', - 'pictureUris': { - 'l': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 'm': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 's': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 'xs': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg' - } - }, - 'models': {}, - 'recipes': {}, - 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZDUxMzQzYjFhZDNmMzY5NDQzZjFkOTYiLCJoYW5kbGUiOiJjc2Z3ZyIsImF1ZCI6ImZyZWVzZXdpbmcub3JnIiwiaXNzIjoiZnJlZXNld2luZy5vcmciLCJpYXQiOjE1NjU2MDI4NzV9.-u4qgiH5sEcwhSBvQ9AOxjqsJO3-Phm9t7VbPaPS7vs' -} -``` -On failure: -``` -400 -``` - -This is the second half of the sign up flow. The email sent to the user in the first half of the sign up flow contains a link to the (frontend) confirmation page. This will get the confirmation ID from the URL and `POST` it to the backend, along with the user's choices regarding consent for processing their personal data. - -The `consent` object has the following properties: - - `bool profile` : Consent for the processing of profile data - - `bool model` : Consent for the processing of model data - - `bool openData` : Whether or not the user allows publishing of measurements as open data - -For more details on user consent, please consult [FreeSewing's privacy notice](https://en.freesewing.org/docs/about/privacy). - - - -Our frontend won't allow users to proceed without profile consent as -storing your data requires that consent. The backend enforces this too - - - diff --git a/markdown/dev/reference/backend/signup/es.md b/markdown/dev/reference/backend/signup/es.md deleted file mode 100644 index 521e7b1dabc..00000000000 --- a/markdown/dev/reference/backend/signup/es.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: Sign up ---- - -## Request account -``` -POST /signup -{ - email: 'test@freesewing.org', - password: 'test', - language: 'en' -} -``` -On success: -``` -200 -``` -On error: -``` -400 -``` - - - This is the first half in the user sign up flow. - - `language` should be one of the [configured language codes](https://github.com/freesewing/backend/blob/develop/src/config/index.js#L32) - - This will create (but not activate) a user account - - This will send out an email to the user to confirm their email address - -## Create account -``` -POST /account -{ - id: '5d5132041ad3f369443f1d7b' - consent: { - profile: true, - model: true, - openData: true - } -} -``` -On success: The account data: -``` -200 -{ - 'account': { - 'settings': { - 'language': 'en', - 'units': 'metric' - }, - 'consent': { - 'profile': true, - 'model': true, - 'openData': true, - }, - 'time': { - 'login': '2019-08-12T09:41:15.823Z' - }, - 'role': 'user', - 'patron': 0, - 'bio': '', - 'picture': 'csfwg.svg', - 'status': 'active', - 'handle': 'csfwg', - 'username': 'user-csfwg', - 'email': 'test@freesewing.org', - 'pictureUris': { - 'l': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 'm': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 's': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 'xs': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg' - } - }, - 'models': {}, - 'recipes': {}, - 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZDUxMzQzYjFhZDNmMzY5NDQzZjFkOTYiLCJoYW5kbGUiOiJjc2Z3ZyIsImF1ZCI6ImZyZWVzZXdpbmcub3JnIiwiaXNzIjoiZnJlZXNld2luZy5vcmciLCJpYXQiOjE1NjU2MDI4NzV9.-u4qgiH5sEcwhSBvQ9AOxjqsJO3-Phm9t7VbPaPS7vs' -} -``` -On failure: -``` -400 -``` - -This is the second half of the sign up flow. The email sent to the user in the first half of the sign up flow contains a link to the (frontend) confirmation page. This will get the confirmation ID from the URL and `POST` it to the backend, along with the user's choices regarding consent for processing their personal data. - -The `consent` object has the following properties: - - `bool profile` : Consent for the processing of profile data - - `bool model` : Consent for the processing of model data - - `bool openData` : Whether or not the user allows publishing of measurements as open data - -For more details on user consent, please consult [FreeSewing's privacy notice](https://en.freesewing.org/docs/about/privacy). - - - -Our frontend won't allow users to proceed without profile consent as -storing your data requires that consent. The backend enforces this too - - - diff --git a/markdown/dev/reference/backend/signup/fr.md b/markdown/dev/reference/backend/signup/fr.md deleted file mode 100644 index 521e7b1dabc..00000000000 --- a/markdown/dev/reference/backend/signup/fr.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: Sign up ---- - -## Request account -``` -POST /signup -{ - email: 'test@freesewing.org', - password: 'test', - language: 'en' -} -``` -On success: -``` -200 -``` -On error: -``` -400 -``` - - - This is the first half in the user sign up flow. - - `language` should be one of the [configured language codes](https://github.com/freesewing/backend/blob/develop/src/config/index.js#L32) - - This will create (but not activate) a user account - - This will send out an email to the user to confirm their email address - -## Create account -``` -POST /account -{ - id: '5d5132041ad3f369443f1d7b' - consent: { - profile: true, - model: true, - openData: true - } -} -``` -On success: The account data: -``` -200 -{ - 'account': { - 'settings': { - 'language': 'en', - 'units': 'metric' - }, - 'consent': { - 'profile': true, - 'model': true, - 'openData': true, - }, - 'time': { - 'login': '2019-08-12T09:41:15.823Z' - }, - 'role': 'user', - 'patron': 0, - 'bio': '', - 'picture': 'csfwg.svg', - 'status': 'active', - 'handle': 'csfwg', - 'username': 'user-csfwg', - 'email': 'test@freesewing.org', - 'pictureUris': { - 'l': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 'm': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 's': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 'xs': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg' - } - }, - 'models': {}, - 'recipes': {}, - 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZDUxMzQzYjFhZDNmMzY5NDQzZjFkOTYiLCJoYW5kbGUiOiJjc2Z3ZyIsImF1ZCI6ImZyZWVzZXdpbmcub3JnIiwiaXNzIjoiZnJlZXNld2luZy5vcmciLCJpYXQiOjE1NjU2MDI4NzV9.-u4qgiH5sEcwhSBvQ9AOxjqsJO3-Phm9t7VbPaPS7vs' -} -``` -On failure: -``` -400 -``` - -This is the second half of the sign up flow. The email sent to the user in the first half of the sign up flow contains a link to the (frontend) confirmation page. This will get the confirmation ID from the URL and `POST` it to the backend, along with the user's choices regarding consent for processing their personal data. - -The `consent` object has the following properties: - - `bool profile` : Consent for the processing of profile data - - `bool model` : Consent for the processing of model data - - `bool openData` : Whether or not the user allows publishing of measurements as open data - -For more details on user consent, please consult [FreeSewing's privacy notice](https://en.freesewing.org/docs/about/privacy). - - - -Our frontend won't allow users to proceed without profile consent as -storing your data requires that consent. The backend enforces this too - - - diff --git a/markdown/dev/reference/backend/signup/nl.md b/markdown/dev/reference/backend/signup/nl.md deleted file mode 100644 index 521e7b1dabc..00000000000 --- a/markdown/dev/reference/backend/signup/nl.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: Sign up ---- - -## Request account -``` -POST /signup -{ - email: 'test@freesewing.org', - password: 'test', - language: 'en' -} -``` -On success: -``` -200 -``` -On error: -``` -400 -``` - - - This is the first half in the user sign up flow. - - `language` should be one of the [configured language codes](https://github.com/freesewing/backend/blob/develop/src/config/index.js#L32) - - This will create (but not activate) a user account - - This will send out an email to the user to confirm their email address - -## Create account -``` -POST /account -{ - id: '5d5132041ad3f369443f1d7b' - consent: { - profile: true, - model: true, - openData: true - } -} -``` -On success: The account data: -``` -200 -{ - 'account': { - 'settings': { - 'language': 'en', - 'units': 'metric' - }, - 'consent': { - 'profile': true, - 'model': true, - 'openData': true, - }, - 'time': { - 'login': '2019-08-12T09:41:15.823Z' - }, - 'role': 'user', - 'patron': 0, - 'bio': '', - 'picture': 'csfwg.svg', - 'status': 'active', - 'handle': 'csfwg', - 'username': 'user-csfwg', - 'email': 'test@freesewing.org', - 'pictureUris': { - 'l': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 'm': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 's': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg', - 'xs': 'https://static.freesewing.org/users/c/csfwg/csfwg.svg' - } - }, - 'models': {}, - 'recipes': {}, - 'token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZDUxMzQzYjFhZDNmMzY5NDQzZjFkOTYiLCJoYW5kbGUiOiJjc2Z3ZyIsImF1ZCI6ImZyZWVzZXdpbmcub3JnIiwiaXNzIjoiZnJlZXNld2luZy5vcmciLCJpYXQiOjE1NjU2MDI4NzV9.-u4qgiH5sEcwhSBvQ9AOxjqsJO3-Phm9t7VbPaPS7vs' -} -``` -On failure: -``` -400 -``` - -This is the second half of the sign up flow. The email sent to the user in the first half of the sign up flow contains a link to the (frontend) confirmation page. This will get the confirmation ID from the URL and `POST` it to the backend, along with the user's choices regarding consent for processing their personal data. - -The `consent` object has the following properties: - - `bool profile` : Consent for the processing of profile data - - `bool model` : Consent for the processing of model data - - `bool openData` : Whether or not the user allows publishing of measurements as open data - -For more details on user consent, please consult [FreeSewing's privacy notice](https://en.freesewing.org/docs/about/privacy). - - - -Our frontend won't allow users to proceed without profile consent as -storing your data requires that consent. The backend enforces this too - - - diff --git a/markdown/dev/reference/backend/users/de.md b/markdown/dev/reference/backend/users/de.md deleted file mode 100644 index e59e492f9c1..00000000000 --- a/markdown/dev/reference/backend/users/de.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: Users ---- - -## Read user profile -``` -GET /users/:username -``` -On success: -``` -200 -{ - 'settings': { - 'language': 'en', - 'units': 'metric' - }, - 'patron': 0, - 'bio': '', - 'handle': 'rracx', - 'username': 'admin', - 'createdAt': '2019-08-12T07:40:32.435Z', - 'updatedAt': '2019-08-12T09:23:48.930Z', - 'pictureUris': { - 'l': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 'm': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 's': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 'xs': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg' - } -} -``` - -Load the profile data of a user. It expects one parameter in the URL of the `GET` request: - -| Variable | Description | -| ---------- | ----------------------------------------------------- | -| `username` | The username of the user to load the profile data for | - -## Is username availbable - -``` -POST /available/username -{ - username: 'username to check' -} -``` -Username available: -``` -200 -``` -Username not available: -``` -400 -``` - -## Patron list - -``` -GET /patrons -``` -On success: -``` -200 -{ - '2': [ - ], - '4': [], - '8': [ - { - 'handle': 'joost', - 'username': 'joost', - 'bio':"If something doesn't work around here, that's probably my fault", - 'social': { - 'twitter': 'j__st', - 'instagram': 'joostdecock', - 'github': 'joostdecock' - }, - 'pictureUris': { - 'l': 'https://static.freesewing.org/users/j/joost/joost.jpg', - 'm': 'https://static.freesewing.org/users/j/joost/m-joost.jpg', - 's': 'https://static.freesewing.org/users/j/joost/s-joost.jpg', - 'xs': 'https://static.freesewing.org/users/j/joost/xs-joost.jpg' - } - } - ] -} -``` - -- Retrieves the list of [FreeSewing patrons](https://freesewing.org/patrons). -- Returns an array per tier - diff --git a/markdown/dev/reference/backend/users/es.md b/markdown/dev/reference/backend/users/es.md deleted file mode 100644 index e59e492f9c1..00000000000 --- a/markdown/dev/reference/backend/users/es.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: Users ---- - -## Read user profile -``` -GET /users/:username -``` -On success: -``` -200 -{ - 'settings': { - 'language': 'en', - 'units': 'metric' - }, - 'patron': 0, - 'bio': '', - 'handle': 'rracx', - 'username': 'admin', - 'createdAt': '2019-08-12T07:40:32.435Z', - 'updatedAt': '2019-08-12T09:23:48.930Z', - 'pictureUris': { - 'l': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 'm': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 's': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 'xs': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg' - } -} -``` - -Load the profile data of a user. It expects one parameter in the URL of the `GET` request: - -| Variable | Description | -| ---------- | ----------------------------------------------------- | -| `username` | The username of the user to load the profile data for | - -## Is username availbable - -``` -POST /available/username -{ - username: 'username to check' -} -``` -Username available: -``` -200 -``` -Username not available: -``` -400 -``` - -## Patron list - -``` -GET /patrons -``` -On success: -``` -200 -{ - '2': [ - ], - '4': [], - '8': [ - { - 'handle': 'joost', - 'username': 'joost', - 'bio':"If something doesn't work around here, that's probably my fault", - 'social': { - 'twitter': 'j__st', - 'instagram': 'joostdecock', - 'github': 'joostdecock' - }, - 'pictureUris': { - 'l': 'https://static.freesewing.org/users/j/joost/joost.jpg', - 'm': 'https://static.freesewing.org/users/j/joost/m-joost.jpg', - 's': 'https://static.freesewing.org/users/j/joost/s-joost.jpg', - 'xs': 'https://static.freesewing.org/users/j/joost/xs-joost.jpg' - } - } - ] -} -``` - -- Retrieves the list of [FreeSewing patrons](https://freesewing.org/patrons). -- Returns an array per tier - diff --git a/markdown/dev/reference/backend/users/fr.md b/markdown/dev/reference/backend/users/fr.md deleted file mode 100644 index e59e492f9c1..00000000000 --- a/markdown/dev/reference/backend/users/fr.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: Users ---- - -## Read user profile -``` -GET /users/:username -``` -On success: -``` -200 -{ - 'settings': { - 'language': 'en', - 'units': 'metric' - }, - 'patron': 0, - 'bio': '', - 'handle': 'rracx', - 'username': 'admin', - 'createdAt': '2019-08-12T07:40:32.435Z', - 'updatedAt': '2019-08-12T09:23:48.930Z', - 'pictureUris': { - 'l': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 'm': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 's': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 'xs': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg' - } -} -``` - -Load the profile data of a user. It expects one parameter in the URL of the `GET` request: - -| Variable | Description | -| ---------- | ----------------------------------------------------- | -| `username` | The username of the user to load the profile data for | - -## Is username availbable - -``` -POST /available/username -{ - username: 'username to check' -} -``` -Username available: -``` -200 -``` -Username not available: -``` -400 -``` - -## Patron list - -``` -GET /patrons -``` -On success: -``` -200 -{ - '2': [ - ], - '4': [], - '8': [ - { - 'handle': 'joost', - 'username': 'joost', - 'bio':"If something doesn't work around here, that's probably my fault", - 'social': { - 'twitter': 'j__st', - 'instagram': 'joostdecock', - 'github': 'joostdecock' - }, - 'pictureUris': { - 'l': 'https://static.freesewing.org/users/j/joost/joost.jpg', - 'm': 'https://static.freesewing.org/users/j/joost/m-joost.jpg', - 's': 'https://static.freesewing.org/users/j/joost/s-joost.jpg', - 'xs': 'https://static.freesewing.org/users/j/joost/xs-joost.jpg' - } - } - ] -} -``` - -- Retrieves the list of [FreeSewing patrons](https://freesewing.org/patrons). -- Returns an array per tier - diff --git a/markdown/dev/reference/backend/users/nl.md b/markdown/dev/reference/backend/users/nl.md deleted file mode 100644 index e59e492f9c1..00000000000 --- a/markdown/dev/reference/backend/users/nl.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: Users ---- - -## Read user profile -``` -GET /users/:username -``` -On success: -``` -200 -{ - 'settings': { - 'language': 'en', - 'units': 'metric' - }, - 'patron': 0, - 'bio': '', - 'handle': 'rracx', - 'username': 'admin', - 'createdAt': '2019-08-12T07:40:32.435Z', - 'updatedAt': '2019-08-12T09:23:48.930Z', - 'pictureUris': { - 'l': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 'm': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 's': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg', - 'xs': 'https://static.she.freesewing.org/users/r/rracx/rracx.svg' - } -} -``` - -Load the profile data of a user. It expects one parameter in the URL of the `GET` request: - -| Variable | Description | -| ---------- | ----------------------------------------------------- | -| `username` | The username of the user to load the profile data for | - -## Is username availbable - -``` -POST /available/username -{ - username: 'username to check' -} -``` -Username available: -``` -200 -``` -Username not available: -``` -400 -``` - -## Patron list - -``` -GET /patrons -``` -On success: -``` -200 -{ - '2': [ - ], - '4': [], - '8': [ - { - 'handle': 'joost', - 'username': 'joost', - 'bio':"If something doesn't work around here, that's probably my fault", - 'social': { - 'twitter': 'j__st', - 'instagram': 'joostdecock', - 'github': 'joostdecock' - }, - 'pictureUris': { - 'l': 'https://static.freesewing.org/users/j/joost/joost.jpg', - 'm': 'https://static.freesewing.org/users/j/joost/m-joost.jpg', - 's': 'https://static.freesewing.org/users/j/joost/s-joost.jpg', - 'xs': 'https://static.freesewing.org/users/j/joost/xs-joost.jpg' - } - } - ] -} -``` - -- Retrieves the list of [FreeSewing patrons](https://freesewing.org/patrons). -- Returns an array per tier - diff --git a/markdown/dev/reference/hooks/de.md b/markdown/dev/reference/hooks/de.md deleted file mode 100644 index e689963b12b..00000000000 --- a/markdown/dev/reference/hooks/de.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Hooks API ---- - -A **hook** is a lifecycle event. - -You can register a method for a hook. When the hook is triggered, your method will be called. It will receive two parameters: - - - An object relevant to the hook (see the specific hook for details) - - Data passed when the hook was registered (optional) - - diff --git a/markdown/dev/reference/hooks/es.md b/markdown/dev/reference/hooks/es.md deleted file mode 100644 index e689963b12b..00000000000 --- a/markdown/dev/reference/hooks/es.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Hooks API ---- - -A **hook** is a lifecycle event. - -You can register a method for a hook. When the hook is triggered, your method will be called. It will receive two parameters: - - - An object relevant to the hook (see the specific hook for details) - - Data passed when the hook was registered (optional) - - diff --git a/markdown/dev/reference/hooks/fr.md b/markdown/dev/reference/hooks/fr.md deleted file mode 100644 index e689963b12b..00000000000 --- a/markdown/dev/reference/hooks/fr.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Hooks API ---- - -A **hook** is a lifecycle event. - -You can register a method for a hook. When the hook is triggered, your method will be called. It will receive two parameters: - - - An object relevant to the hook (see the specific hook for details) - - Data passed when the hook was registered (optional) - - diff --git a/markdown/dev/reference/hooks/inserttext/de.md b/markdown/dev/reference/hooks/inserttext/de.md deleted file mode 100644 index c38b774bdca..00000000000 --- a/markdown/dev/reference/hooks/inserttext/de.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: insertText ---- - -The `insertText` hook is called when text is about to be inserted during rendering. - -Methods attached to the `insertText` hook will receive 2 parameters: - - - `locale` : The language code of the language requested by the user (defaults to `en`) - - `text`: The text to be inserted - -Unlike most hooks that receive an object that you can make changes to, for this hook you need to return a string. - -This hook is typically used for translation, as is the case in [our i18n plugin](/reference/plugins/i18n/). - -## Understanding the insertText hook - -When we say that *this hook is called when text is about to be inserted*, that is a simplified view. In reality, this hook is called: - - - For every value set on data-text - - For the combined result of these values, joined together with spaces - -Let's use an example to clarify things: - -```js -points.example - .attr('data-text', "seamAllowance") - .attr('data-text', ": 1cm") -``` - -For the example point above, the `insertText` hook will end up being called 3 times: - - - First it will pass `seamAllowance` to the plugin - - Then it will pass `: 1cm` to the plugin - - Finally it will pass `seamAllowance : 1cm` to the plugin - -Having the `insertText` hook only run once with `Seam allowance: 1cm` would be problematic because the seam allowance may differ, or perhaps we're using imperial units, and so on. - -Instead, you can (and should) divide your text into chunks that need translating, and chunks that do not. - -This is also why we're not inserting **Seam allowance** but rather **seamAllowance**; It is merely a key to indicate what translation we want to replace this text with. - diff --git a/markdown/dev/reference/hooks/inserttext/es.md b/markdown/dev/reference/hooks/inserttext/es.md deleted file mode 100644 index c38b774bdca..00000000000 --- a/markdown/dev/reference/hooks/inserttext/es.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: insertText ---- - -The `insertText` hook is called when text is about to be inserted during rendering. - -Methods attached to the `insertText` hook will receive 2 parameters: - - - `locale` : The language code of the language requested by the user (defaults to `en`) - - `text`: The text to be inserted - -Unlike most hooks that receive an object that you can make changes to, for this hook you need to return a string. - -This hook is typically used for translation, as is the case in [our i18n plugin](/reference/plugins/i18n/). - -## Understanding the insertText hook - -When we say that *this hook is called when text is about to be inserted*, that is a simplified view. In reality, this hook is called: - - - For every value set on data-text - - For the combined result of these values, joined together with spaces - -Let's use an example to clarify things: - -```js -points.example - .attr('data-text', "seamAllowance") - .attr('data-text', ": 1cm") -``` - -For the example point above, the `insertText` hook will end up being called 3 times: - - - First it will pass `seamAllowance` to the plugin - - Then it will pass `: 1cm` to the plugin - - Finally it will pass `seamAllowance : 1cm` to the plugin - -Having the `insertText` hook only run once with `Seam allowance: 1cm` would be problematic because the seam allowance may differ, or perhaps we're using imperial units, and so on. - -Instead, you can (and should) divide your text into chunks that need translating, and chunks that do not. - -This is also why we're not inserting **Seam allowance** but rather **seamAllowance**; It is merely a key to indicate what translation we want to replace this text with. - diff --git a/markdown/dev/reference/hooks/inserttext/fr.md b/markdown/dev/reference/hooks/inserttext/fr.md deleted file mode 100644 index c38b774bdca..00000000000 --- a/markdown/dev/reference/hooks/inserttext/fr.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: insertText ---- - -The `insertText` hook is called when text is about to be inserted during rendering. - -Methods attached to the `insertText` hook will receive 2 parameters: - - - `locale` : The language code of the language requested by the user (defaults to `en`) - - `text`: The text to be inserted - -Unlike most hooks that receive an object that you can make changes to, for this hook you need to return a string. - -This hook is typically used for translation, as is the case in [our i18n plugin](/reference/plugins/i18n/). - -## Understanding the insertText hook - -When we say that *this hook is called when text is about to be inserted*, that is a simplified view. In reality, this hook is called: - - - For every value set on data-text - - For the combined result of these values, joined together with spaces - -Let's use an example to clarify things: - -```js -points.example - .attr('data-text', "seamAllowance") - .attr('data-text', ": 1cm") -``` - -For the example point above, the `insertText` hook will end up being called 3 times: - - - First it will pass `seamAllowance` to the plugin - - Then it will pass `: 1cm` to the plugin - - Finally it will pass `seamAllowance : 1cm` to the plugin - -Having the `insertText` hook only run once with `Seam allowance: 1cm` would be problematic because the seam allowance may differ, or perhaps we're using imperial units, and so on. - -Instead, you can (and should) divide your text into chunks that need translating, and chunks that do not. - -This is also why we're not inserting **Seam allowance** but rather **seamAllowance**; It is merely a key to indicate what translation we want to replace this text with. - diff --git a/markdown/dev/reference/hooks/inserttext/nl.md b/markdown/dev/reference/hooks/inserttext/nl.md deleted file mode 100644 index c38b774bdca..00000000000 --- a/markdown/dev/reference/hooks/inserttext/nl.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: insertText ---- - -The `insertText` hook is called when text is about to be inserted during rendering. - -Methods attached to the `insertText` hook will receive 2 parameters: - - - `locale` : The language code of the language requested by the user (defaults to `en`) - - `text`: The text to be inserted - -Unlike most hooks that receive an object that you can make changes to, for this hook you need to return a string. - -This hook is typically used for translation, as is the case in [our i18n plugin](/reference/plugins/i18n/). - -## Understanding the insertText hook - -When we say that *this hook is called when text is about to be inserted*, that is a simplified view. In reality, this hook is called: - - - For every value set on data-text - - For the combined result of these values, joined together with spaces - -Let's use an example to clarify things: - -```js -points.example - .attr('data-text', "seamAllowance") - .attr('data-text', ": 1cm") -``` - -For the example point above, the `insertText` hook will end up being called 3 times: - - - First it will pass `seamAllowance` to the plugin - - Then it will pass `: 1cm` to the plugin - - Finally it will pass `seamAllowance : 1cm` to the plugin - -Having the `insertText` hook only run once with `Seam allowance: 1cm` would be problematic because the seam allowance may differ, or perhaps we're using imperial units, and so on. - -Instead, you can (and should) divide your text into chunks that need translating, and chunks that do not. - -This is also why we're not inserting **Seam allowance** but rather **seamAllowance**; It is merely a key to indicate what translation we want to replace this text with. - diff --git a/markdown/dev/reference/hooks/nl.md b/markdown/dev/reference/hooks/nl.md deleted file mode 100644 index e689963b12b..00000000000 --- a/markdown/dev/reference/hooks/nl.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Hooks API ---- - -A **hook** is a lifecycle event. - -You can register a method for a hook. When the hook is triggered, your method will be called. It will receive two parameters: - - - An object relevant to the hook (see the specific hook for details) - - Data passed when the hook was registered (optional) - - diff --git a/markdown/dev/reference/hooks/postdraft/de.md b/markdown/dev/reference/hooks/postdraft/de.md deleted file mode 100644 index 28ff5eedf02..00000000000 --- a/markdown/dev/reference/hooks/postdraft/de.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: postDraft ---- - -The `postDraft` hook runs just after your pattern is drafted. - -Your plugin will receive the Pattern object. - - - -The `postDraft` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/postdraft/es.md b/markdown/dev/reference/hooks/postdraft/es.md deleted file mode 100644 index 28ff5eedf02..00000000000 --- a/markdown/dev/reference/hooks/postdraft/es.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: postDraft ---- - -The `postDraft` hook runs just after your pattern is drafted. - -Your plugin will receive the Pattern object. - - - -The `postDraft` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/postdraft/fr.md b/markdown/dev/reference/hooks/postdraft/fr.md deleted file mode 100644 index 28ff5eedf02..00000000000 --- a/markdown/dev/reference/hooks/postdraft/fr.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: postDraft ---- - -The `postDraft` hook runs just after your pattern is drafted. - -Your plugin will receive the Pattern object. - - - -The `postDraft` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/postdraft/nl.md b/markdown/dev/reference/hooks/postdraft/nl.md deleted file mode 100644 index 28ff5eedf02..00000000000 --- a/markdown/dev/reference/hooks/postdraft/nl.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: postDraft ---- - -The `postDraft` hook runs just after your pattern is drafted. - -Your plugin will receive the Pattern object. - - - -The `postDraft` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/postrender/de.md b/markdown/dev/reference/hooks/postrender/de.md deleted file mode 100644 index 2d8ed03708f..00000000000 --- a/markdown/dev/reference/hooks/postrender/de.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: postRender ---- - -The `postRender` hook is triggered after the SVG is rendered. - -Like the `preRender` hook, it receives [the SVG object](/api/svg) as its first parameter. - - - -The `postRender` hooks is rarely used. - - - - - diff --git a/markdown/dev/reference/hooks/postrender/es.md b/markdown/dev/reference/hooks/postrender/es.md deleted file mode 100644 index 2d8ed03708f..00000000000 --- a/markdown/dev/reference/hooks/postrender/es.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: postRender ---- - -The `postRender` hook is triggered after the SVG is rendered. - -Like the `preRender` hook, it receives [the SVG object](/api/svg) as its first parameter. - - - -The `postRender` hooks is rarely used. - - - - - diff --git a/markdown/dev/reference/hooks/postrender/fr.md b/markdown/dev/reference/hooks/postrender/fr.md deleted file mode 100644 index 2d8ed03708f..00000000000 --- a/markdown/dev/reference/hooks/postrender/fr.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: postRender ---- - -The `postRender` hook is triggered after the SVG is rendered. - -Like the `preRender` hook, it receives [the SVG object](/api/svg) as its first parameter. - - - -The `postRender` hooks is rarely used. - - - - - diff --git a/markdown/dev/reference/hooks/postrender/nl.md b/markdown/dev/reference/hooks/postrender/nl.md deleted file mode 100644 index 2d8ed03708f..00000000000 --- a/markdown/dev/reference/hooks/postrender/nl.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: postRender ---- - -The `postRender` hook is triggered after the SVG is rendered. - -Like the `preRender` hook, it receives [the SVG object](/api/svg) as its first parameter. - - - -The `postRender` hooks is rarely used. - - - - - diff --git a/markdown/dev/reference/hooks/postsample/de.md b/markdown/dev/reference/hooks/postsample/de.md deleted file mode 100644 index aef3c970a93..00000000000 --- a/markdown/dev/reference/hooks/postsample/de.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: postSample ---- - -The `postSample` hook runs just after your pattern is sampled. Your plugin will receive the Pattern object. - -It is triggered just before the end of either: - - - the [Pattern.sampleOption()](/reference/api/pattern/#sampleoption) method - - the [Pattern.sampleMeasurement()](/reference/api/pattern/#samplemeasurement) method - - the [Pattern.sampleModels()](/reference/api/pattern/#samplemodels) method - - - -The `postSample` hook is rarely used. - - - - - diff --git a/markdown/dev/reference/hooks/postsample/es.md b/markdown/dev/reference/hooks/postsample/es.md deleted file mode 100644 index aef3c970a93..00000000000 --- a/markdown/dev/reference/hooks/postsample/es.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: postSample ---- - -The `postSample` hook runs just after your pattern is sampled. Your plugin will receive the Pattern object. - -It is triggered just before the end of either: - - - the [Pattern.sampleOption()](/reference/api/pattern/#sampleoption) method - - the [Pattern.sampleMeasurement()](/reference/api/pattern/#samplemeasurement) method - - the [Pattern.sampleModels()](/reference/api/pattern/#samplemodels) method - - - -The `postSample` hook is rarely used. - - - - - diff --git a/markdown/dev/reference/hooks/postsample/fr.md b/markdown/dev/reference/hooks/postsample/fr.md deleted file mode 100644 index aef3c970a93..00000000000 --- a/markdown/dev/reference/hooks/postsample/fr.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: postSample ---- - -The `postSample` hook runs just after your pattern is sampled. Your plugin will receive the Pattern object. - -It is triggered just before the end of either: - - - the [Pattern.sampleOption()](/reference/api/pattern/#sampleoption) method - - the [Pattern.sampleMeasurement()](/reference/api/pattern/#samplemeasurement) method - - the [Pattern.sampleModels()](/reference/api/pattern/#samplemodels) method - - - -The `postSample` hook is rarely used. - - - - - diff --git a/markdown/dev/reference/hooks/postsample/nl.md b/markdown/dev/reference/hooks/postsample/nl.md deleted file mode 100644 index aef3c970a93..00000000000 --- a/markdown/dev/reference/hooks/postsample/nl.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: postSample ---- - -The `postSample` hook runs just after your pattern is sampled. Your plugin will receive the Pattern object. - -It is triggered just before the end of either: - - - the [Pattern.sampleOption()](/reference/api/pattern/#sampleoption) method - - the [Pattern.sampleMeasurement()](/reference/api/pattern/#samplemeasurement) method - - the [Pattern.sampleModels()](/reference/api/pattern/#samplemodels) method - - - -The `postSample` hook is rarely used. - - - - - diff --git a/markdown/dev/reference/hooks/predraft/de.md b/markdown/dev/reference/hooks/predraft/de.md deleted file mode 100644 index 41f74f88de1..00000000000 --- a/markdown/dev/reference/hooks/predraft/de.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: preDraft ---- - -The `preDraft` hook runs just before your pattern is drafted. - -Your plugin will receive the Pattern object. - - - -The `preDraft` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/predraft/es.md b/markdown/dev/reference/hooks/predraft/es.md deleted file mode 100644 index 41f74f88de1..00000000000 --- a/markdown/dev/reference/hooks/predraft/es.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: preDraft ---- - -The `preDraft` hook runs just before your pattern is drafted. - -Your plugin will receive the Pattern object. - - - -The `preDraft` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/predraft/fr.md b/markdown/dev/reference/hooks/predraft/fr.md deleted file mode 100644 index 41f74f88de1..00000000000 --- a/markdown/dev/reference/hooks/predraft/fr.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: preDraft ---- - -The `preDraft` hook runs just before your pattern is drafted. - -Your plugin will receive the Pattern object. - - - -The `preDraft` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/predraft/nl.md b/markdown/dev/reference/hooks/predraft/nl.md deleted file mode 100644 index 41f74f88de1..00000000000 --- a/markdown/dev/reference/hooks/predraft/nl.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: preDraft ---- - -The `preDraft` hook runs just before your pattern is drafted. - -Your plugin will receive the Pattern object. - - - -The `preDraft` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/prerender/de.md b/markdown/dev/reference/hooks/prerender/de.md deleted file mode 100644 index 656ed8b9dad..00000000000 --- a/markdown/dev/reference/hooks/prerender/de.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: preRender ---- - -The `preRender` hook is triggered just before your pattern is rendered to SVG. - -Your hook method will receive [the SVG object](/api/svg) as its first parameter. - -It is typically used to change the result of the render, for example by adding CSS to the SVG output. diff --git a/markdown/dev/reference/hooks/prerender/es.md b/markdown/dev/reference/hooks/prerender/es.md deleted file mode 100644 index 656ed8b9dad..00000000000 --- a/markdown/dev/reference/hooks/prerender/es.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: preRender ---- - -The `preRender` hook is triggered just before your pattern is rendered to SVG. - -Your hook method will receive [the SVG object](/api/svg) as its first parameter. - -It is typically used to change the result of the render, for example by adding CSS to the SVG output. diff --git a/markdown/dev/reference/hooks/prerender/fr.md b/markdown/dev/reference/hooks/prerender/fr.md deleted file mode 100644 index 656ed8b9dad..00000000000 --- a/markdown/dev/reference/hooks/prerender/fr.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: preRender ---- - -The `preRender` hook is triggered just before your pattern is rendered to SVG. - -Your hook method will receive [the SVG object](/api/svg) as its first parameter. - -It is typically used to change the result of the render, for example by adding CSS to the SVG output. diff --git a/markdown/dev/reference/hooks/prerender/nl.md b/markdown/dev/reference/hooks/prerender/nl.md deleted file mode 100644 index 656ed8b9dad..00000000000 --- a/markdown/dev/reference/hooks/prerender/nl.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: preRender ---- - -The `preRender` hook is triggered just before your pattern is rendered to SVG. - -Your hook method will receive [the SVG object](/api/svg) as its first parameter. - -It is typically used to change the result of the render, for example by adding CSS to the SVG output. diff --git a/markdown/dev/reference/hooks/presample/de.md b/markdown/dev/reference/hooks/presample/de.md deleted file mode 100644 index 8b116520be9..00000000000 --- a/markdown/dev/reference/hooks/presample/de.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: preSample ---- - -The `preSample` hook runs just before your pattern is sampled. - -It is triggered at the very start of either: - - - the [Pattern.sampleOption()](/reference/api/pattern/#sampleoption) method - - the [Pattern.sampleMeasurement()](/reference/api/pattern/#samplemeasurement) method - - the [Pattern.sampleModels()](/reference/api/pattern/#samplemodels) method - -Your plugin will receive the Pattern object. - - - -The `preSample` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/presample/es.md b/markdown/dev/reference/hooks/presample/es.md deleted file mode 100644 index 8b116520be9..00000000000 --- a/markdown/dev/reference/hooks/presample/es.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: preSample ---- - -The `preSample` hook runs just before your pattern is sampled. - -It is triggered at the very start of either: - - - the [Pattern.sampleOption()](/reference/api/pattern/#sampleoption) method - - the [Pattern.sampleMeasurement()](/reference/api/pattern/#samplemeasurement) method - - the [Pattern.sampleModels()](/reference/api/pattern/#samplemodels) method - -Your plugin will receive the Pattern object. - - - -The `preSample` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/presample/fr.md b/markdown/dev/reference/hooks/presample/fr.md deleted file mode 100644 index 8b116520be9..00000000000 --- a/markdown/dev/reference/hooks/presample/fr.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: preSample ---- - -The `preSample` hook runs just before your pattern is sampled. - -It is triggered at the very start of either: - - - the [Pattern.sampleOption()](/reference/api/pattern/#sampleoption) method - - the [Pattern.sampleMeasurement()](/reference/api/pattern/#samplemeasurement) method - - the [Pattern.sampleModels()](/reference/api/pattern/#samplemodels) method - -Your plugin will receive the Pattern object. - - - -The `preSample` hook is rarely used. - - - diff --git a/markdown/dev/reference/hooks/presample/nl.md b/markdown/dev/reference/hooks/presample/nl.md deleted file mode 100644 index 8b116520be9..00000000000 --- a/markdown/dev/reference/hooks/presample/nl.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: preSample ---- - -The `preSample` hook runs just before your pattern is sampled. - -It is triggered at the very start of either: - - - the [Pattern.sampleOption()](/reference/api/pattern/#sampleoption) method - - the [Pattern.sampleMeasurement()](/reference/api/pattern/#samplemeasurement) method - - the [Pattern.sampleModels()](/reference/api/pattern/#samplemodels) method - -Your plugin will receive the Pattern object. - - - -The `preSample` hook is rarely used. - - - diff --git a/markdown/dev/reference/macros/cutonfold/de.md b/markdown/dev/reference/macros/cutonfold/de.md deleted file mode 100644 index b465465c12c..00000000000 --- a/markdown/dev/reference/macros/cutonfold/de.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: cutonfold ---- - -Adds a *cut on fold* indicator to your pattern. - -| Property | Default | Type | Description | -| ----------- | ------- | ----------------------------- | ------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the *cut on fold* indicator | -| `to` | | [Point](/reference/api/point) | The endpoint of the *cut on fold* indicator | -| `margin` | 5 | [Point](/reference/api/point) | The distance in % to keep from the start/end edge | -| `offset` | 50 | Number | The distance in mm to offset from the line from start to end | -| `grainline` | `false` | Boolean | Whether this cutonfold indicator is also the grainline | - - - -The `cutonfold` macro is provided by the [cutonfold plugin](/reference/plugins/cutonfold). - - - - - diff --git a/markdown/dev/reference/macros/cutonfold/es.md b/markdown/dev/reference/macros/cutonfold/es.md deleted file mode 100644 index b465465c12c..00000000000 --- a/markdown/dev/reference/macros/cutonfold/es.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: cutonfold ---- - -Adds a *cut on fold* indicator to your pattern. - -| Property | Default | Type | Description | -| ----------- | ------- | ----------------------------- | ------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the *cut on fold* indicator | -| `to` | | [Point](/reference/api/point) | The endpoint of the *cut on fold* indicator | -| `margin` | 5 | [Point](/reference/api/point) | The distance in % to keep from the start/end edge | -| `offset` | 50 | Number | The distance in mm to offset from the line from start to end | -| `grainline` | `false` | Boolean | Whether this cutonfold indicator is also the grainline | - - - -The `cutonfold` macro is provided by the [cutonfold plugin](/reference/plugins/cutonfold). - - - - - diff --git a/markdown/dev/reference/macros/cutonfold/fr.md b/markdown/dev/reference/macros/cutonfold/fr.md deleted file mode 100644 index 3abbd0e0d9e..00000000000 --- a/markdown/dev/reference/macros/cutonfold/fr.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: cutonfold ---- - -Adds a *cut on fold* indicator to your pattern. - -| Propriété | Défaut | Type | Description | -| ----------- | ------- | ----------------------------- | --------------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the *cut on fold* indicator | -| `to` | | [Point](/reference/api/point) | The endpoint of the *cut on fold* indicator | -| `margin` | 5 | [Point](/reference/api/point) | La distance en % à garder à partir du bord de départ/fin | -| `offset` | 50 | Nombre | La distance en mm de décalage par rapport à la ligne du début à la fin | -| `grainline` | `false` | Booléen | Si cet indicateur de découpage correspond également à la ligne de droit-fil | - - - -The `cutonfold` macro is provided by the [cutonfold plugin](/reference/plugins/cutonfold). - - - - - diff --git a/markdown/dev/reference/macros/cutonfold/nl.md b/markdown/dev/reference/macros/cutonfold/nl.md deleted file mode 100644 index b465465c12c..00000000000 --- a/markdown/dev/reference/macros/cutonfold/nl.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: cutonfold ---- - -Adds a *cut on fold* indicator to your pattern. - -| Property | Default | Type | Description | -| ----------- | ------- | ----------------------------- | ------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the *cut on fold* indicator | -| `to` | | [Point](/reference/api/point) | The endpoint of the *cut on fold* indicator | -| `margin` | 5 | [Point](/reference/api/point) | The distance in % to keep from the start/end edge | -| `offset` | 50 | Number | The distance in mm to offset from the line from start to end | -| `grainline` | `false` | Boolean | Whether this cutonfold indicator is also the grainline | - - - -The `cutonfold` macro is provided by the [cutonfold plugin](/reference/plugins/cutonfold). - - - - - diff --git a/markdown/dev/reference/macros/de.md b/markdown/dev/reference/macros/de.md deleted file mode 100644 index f0ad3a28a59..00000000000 --- a/markdown/dev/reference/macros/de.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Macros ---- - -All macros take a single object as their configuration. - - - -For more info on a specific macro and examples, follow the link to the plugin that provides the macro. - - - - - diff --git a/markdown/dev/reference/macros/es.md b/markdown/dev/reference/macros/es.md deleted file mode 100644 index f0ad3a28a59..00000000000 --- a/markdown/dev/reference/macros/es.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Macros ---- - -All macros take a single object as their configuration. - - - -For more info on a specific macro and examples, follow the link to the plugin that provides the macro. - - - - - diff --git a/markdown/dev/reference/macros/flip/de.md b/markdown/dev/reference/macros/flip/de.md deleted file mode 100644 index c8b0d1d6826..00000000000 --- a/markdown/dev/reference/macros/flip/de.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: flip ---- - -The `flip` macro flips (mirrors) an entire part vertically around the Y-axis. It takes no arguments. - -Under the hood, this macro will: - - - Go through all Points in your Part, and multiply their X-coordinate by -1 - - Go through all the Paths in your Part, and for each drawing operation will multiply the X-coordinare by -1 - - Go through all the Snippets in your Part and multiply the X-coordinate of the anchor point by -1 - - - -The `flip` macro is provided by the [flip plugin](/reference/plugins/flip). - - - - - diff --git a/markdown/dev/reference/macros/flip/es.md b/markdown/dev/reference/macros/flip/es.md deleted file mode 100644 index c8b0d1d6826..00000000000 --- a/markdown/dev/reference/macros/flip/es.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: flip ---- - -The `flip` macro flips (mirrors) an entire part vertically around the Y-axis. It takes no arguments. - -Under the hood, this macro will: - - - Go through all Points in your Part, and multiply their X-coordinate by -1 - - Go through all the Paths in your Part, and for each drawing operation will multiply the X-coordinare by -1 - - Go through all the Snippets in your Part and multiply the X-coordinate of the anchor point by -1 - - - -The `flip` macro is provided by the [flip plugin](/reference/plugins/flip). - - - - - diff --git a/markdown/dev/reference/macros/flip/fr.md b/markdown/dev/reference/macros/flip/fr.md deleted file mode 100644 index c8b0d1d6826..00000000000 --- a/markdown/dev/reference/macros/flip/fr.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: flip ---- - -The `flip` macro flips (mirrors) an entire part vertically around the Y-axis. It takes no arguments. - -Under the hood, this macro will: - - - Go through all Points in your Part, and multiply their X-coordinate by -1 - - Go through all the Paths in your Part, and for each drawing operation will multiply the X-coordinare by -1 - - Go through all the Snippets in your Part and multiply the X-coordinate of the anchor point by -1 - - - -The `flip` macro is provided by the [flip plugin](/reference/plugins/flip). - - - - - diff --git a/markdown/dev/reference/macros/flip/nl.md b/markdown/dev/reference/macros/flip/nl.md deleted file mode 100644 index c8b0d1d6826..00000000000 --- a/markdown/dev/reference/macros/flip/nl.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: flip ---- - -The `flip` macro flips (mirrors) an entire part vertically around the Y-axis. It takes no arguments. - -Under the hood, this macro will: - - - Go through all Points in your Part, and multiply their X-coordinate by -1 - - Go through all the Paths in your Part, and for each drawing operation will multiply the X-coordinare by -1 - - Go through all the Snippets in your Part and multiply the X-coordinate of the anchor point by -1 - - - -The `flip` macro is provided by the [flip plugin](/reference/plugins/flip). - - - - - diff --git a/markdown/dev/reference/macros/fr.md b/markdown/dev/reference/macros/fr.md deleted file mode 100644 index 57c2e2498bf..00000000000 --- a/markdown/dev/reference/macros/fr.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Macros ---- - -All macros take a single object as their configuration. - - - -Pour plus d'informations sur une macro spécifique et des exemples, suivez le lien vers le plugin qui fournit la macro. - - - - - diff --git a/markdown/dev/reference/macros/grainline/de.md b/markdown/dev/reference/macros/grainline/de.md deleted file mode 100644 index 613e0fd4cba..00000000000 --- a/markdown/dev/reference/macros/grainline/de.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: grainline ---- - -Adds a *grainline* indicator to your pattern. - -| Property | Default | Type | Description | -| -------- | ------- | ----------------------------- | ------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the *grainline* indicator | -| `to` | | [Point](/reference/api/point) | The endpoint of the *grainline* indicator | - - - -The `grainline` macro is provided by the [grainline plugin](/reference/plugins/grainline). - - - - - diff --git a/markdown/dev/reference/macros/grainline/es.md b/markdown/dev/reference/macros/grainline/es.md deleted file mode 100644 index 613e0fd4cba..00000000000 --- a/markdown/dev/reference/macros/grainline/es.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: grainline ---- - -Adds a *grainline* indicator to your pattern. - -| Property | Default | Type | Description | -| -------- | ------- | ----------------------------- | ------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the *grainline* indicator | -| `to` | | [Point](/reference/api/point) | The endpoint of the *grainline* indicator | - - - -The `grainline` macro is provided by the [grainline plugin](/reference/plugins/grainline). - - - - - diff --git a/markdown/dev/reference/macros/grainline/fr.md b/markdown/dev/reference/macros/grainline/fr.md deleted file mode 100644 index 7a93859a8a1..00000000000 --- a/markdown/dev/reference/macros/grainline/fr.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: grainline ---- - -Adds a *grainline* indicator to your pattern. - -| Propriété | Défaut | Type | Description | -| --------- | ------ | ----------------------------- | ------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the *grainline* indicator | -| `to` | | [Point](/reference/api/point) | The endpoint of the *grainline* indicator | - - - -The `grainline` macro is provided by the [grainline plugin](/reference/plugins/grainline). - - - - - diff --git a/markdown/dev/reference/macros/grainline/nl.md b/markdown/dev/reference/macros/grainline/nl.md deleted file mode 100644 index 613e0fd4cba..00000000000 --- a/markdown/dev/reference/macros/grainline/nl.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: grainline ---- - -Adds a *grainline* indicator to your pattern. - -| Property | Default | Type | Description | -| -------- | ------- | ----------------------------- | ------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the *grainline* indicator | -| `to` | | [Point](/reference/api/point) | The endpoint of the *grainline* indicator | - - - -The `grainline` macro is provided by the [grainline plugin](/reference/plugins/grainline). - - - - - diff --git a/markdown/dev/reference/macros/hd/de.md b/markdown/dev/reference/macros/hd/de.md deleted file mode 100644 index 90541507d59..00000000000 --- a/markdown/dev/reference/macros/hd/de.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: hd ---- - -Adds a *horizontal dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | ------------------- | ----------------------------- | ---------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `y` | | Number | The Y-value at which to draw the dimension | -| `text` | Horizontal distance | Number | The text to go on the dimension if not the from-to horizontal distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `hd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/hd/es.md b/markdown/dev/reference/macros/hd/es.md deleted file mode 100644 index 90541507d59..00000000000 --- a/markdown/dev/reference/macros/hd/es.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: hd ---- - -Adds a *horizontal dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | ------------------- | ----------------------------- | ---------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `y` | | Number | The Y-value at which to draw the dimension | -| `text` | Horizontal distance | Number | The text to go on the dimension if not the from-to horizontal distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `hd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/hd/fr.md b/markdown/dev/reference/macros/hd/fr.md deleted file mode 100644 index 4430f5b18f6..00000000000 --- a/markdown/dev/reference/macros/hd/fr.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: hd ---- - -Adds a *horizontal dimension* to your pattern. - -| Propriété | Défaut | Type | Description | -| --------------- | -------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | Le point de départ de la dimension | -| `to` | | [Point](/reference/api/point) | Le point final de la dimension | -| `y` | | Nombre | La valeur en Y où dessiner la dimension | -| `text` | Distance horizontale | Nombre | Le texte à indiquer sur une dimension s'il ne s'agit pas de la de la distance horizontale from-to | -| `noStartMarker` | `false` | Booléen | Ne pas dessiner un marqueur de début | -| `noEndMarker` | `false` | Booléen | Ne pas dessiner un marqueur de fin | - - - -The `hd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/hd/nl.md b/markdown/dev/reference/macros/hd/nl.md deleted file mode 100644 index 90541507d59..00000000000 --- a/markdown/dev/reference/macros/hd/nl.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: hd ---- - -Adds a *horizontal dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | ------------------- | ----------------------------- | ---------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `y` | | Number | The Y-value at which to draw the dimension | -| `text` | Horizontal distance | Number | The text to go on the dimension if not the from-to horizontal distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `hd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/ld/de.md b/markdown/dev/reference/macros/ld/de.md deleted file mode 100644 index a49ce64d998..00000000000 --- a/markdown/dev/reference/macros/ld/de.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | --------------- | ----------------------------- | ------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `d` | 0 | Number | The offset at which to draw the dimension | -| `text` | Linear distance | Number | The text to go on the dimension if not the from-to linear distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/ld/es.md b/markdown/dev/reference/macros/ld/es.md deleted file mode 100644 index a49ce64d998..00000000000 --- a/markdown/dev/reference/macros/ld/es.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | --------------- | ----------------------------- | ------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `d` | 0 | Number | The offset at which to draw the dimension | -| `text` | Linear distance | Number | The text to go on the dimension if not the from-to linear distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/ld/fr.md b/markdown/dev/reference/macros/ld/fr.md deleted file mode 100644 index 9fa2495aa04..00000000000 --- a/markdown/dev/reference/macros/ld/fr.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Propriété | Défaut | Type | Description | -| --------------- | ----------------- | ----------------------------- | ------------------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | Le point de départ de la dimension | -| `to` | | [Point](/reference/api/point) | Le point final de la dimension | -| `d` | 0 | Nombre | Le décalage avec lequel dessiner la dimension | -| `text` | Distance linéaire | Nombre | Le texte à accoler à la dimension si ce n'est pas la distance linéaire from-to | -| `noStartMarker` | `false` | Booléen | Ne pas dessiner un marqueur de début | -| `noEndMarker` | `false` | Booléen | Ne pas dessiner un marqueur de fin | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/ld/nl.md b/markdown/dev/reference/macros/ld/nl.md deleted file mode 100644 index a49ce64d998..00000000000 --- a/markdown/dev/reference/macros/ld/nl.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | --------------- | ----------------------------- | ------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `d` | 0 | Number | The offset at which to draw the dimension | -| `text` | Linear distance | Number | The text to go on the dimension if not the from-to linear distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/miniscale/de.md b/markdown/dev/reference/macros/miniscale/de.md deleted file mode 100644 index 951677ccc62..00000000000 --- a/markdown/dev/reference/macros/miniscale/de.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: scalebox ---- - -Adds a *scale box* to your pattern. - -| Property | Default | Type | Description | -| -------- | ------------------------ | ----------------------------- | -------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on | -| `lead` | FreeSewing | String | The lead text above the title | -| `title` | *pattern name + version* | String | The title text | -| `text` | (\*) | String | The text below the title | -| `rotate` | 0 | Number | Rotation in degrees | - -(\*) `freesewingIsMadeByJoostDeCockAndContributors \n withTheFinancialSupportOfOurPatrons` - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/miniscale/es.md b/markdown/dev/reference/macros/miniscale/es.md deleted file mode 100644 index 951677ccc62..00000000000 --- a/markdown/dev/reference/macros/miniscale/es.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: scalebox ---- - -Adds a *scale box* to your pattern. - -| Property | Default | Type | Description | -| -------- | ------------------------ | ----------------------------- | -------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on | -| `lead` | FreeSewing | String | The lead text above the title | -| `title` | *pattern name + version* | String | The title text | -| `text` | (\*) | String | The text below the title | -| `rotate` | 0 | Number | Rotation in degrees | - -(\*) `freesewingIsMadeByJoostDeCockAndContributors \n withTheFinancialSupportOfOurPatrons` - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/miniscale/fr.md b/markdown/dev/reference/macros/miniscale/fr.md deleted file mode 100644 index 3fa8841fd33..00000000000 --- a/markdown/dev/reference/macros/miniscale/fr.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: scalebox ---- - -Adds a *scale box* to your pattern. - -| Propriété | Défaut | Type | Description | -| --------- | -------------------------- | ----------------------------- | -------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on | -| `lead` | FreeSewing | Chaîne de caractères | Le texte au dessus du titre | -| `title` | *nom du patron et version* | Chaîne de caractères | Le texte du titre | -| `text` | (\*) | Chaîne de caractères | Le texte en dessous du titre | -| `rotate` | 0 | Nombre | Rotation en degrés | - -(\*) `freesewingEstCrééParJoostDeCockEtContributeurs \n avecLeSoutienFinancierDeNosMécènes` - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/miniscale/nl.md b/markdown/dev/reference/macros/miniscale/nl.md deleted file mode 100644 index 951677ccc62..00000000000 --- a/markdown/dev/reference/macros/miniscale/nl.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: scalebox ---- - -Adds a *scale box* to your pattern. - -| Property | Default | Type | Description | -| -------- | ------------------------ | ----------------------------- | -------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on | -| `lead` | FreeSewing | String | The lead text above the title | -| `title` | *pattern name + version* | String | The title text | -| `text` | (\*) | String | The text below the title | -| `rotate` | 0 | Number | Rotation in degrees | - -(\*) `freesewingIsMadeByJoostDeCockAndContributors \n withTheFinancialSupportOfOurPatrons` - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/nl.md b/markdown/dev/reference/macros/nl.md deleted file mode 100644 index f0ad3a28a59..00000000000 --- a/markdown/dev/reference/macros/nl.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Macros ---- - -All macros take a single object as their configuration. - - - -For more info on a specific macro and examples, follow the link to the plugin that provides the macro. - - - - - diff --git a/markdown/dev/reference/macros/pd/de.md b/markdown/dev/reference/macros/pd/de.md deleted file mode 100644 index 73b1b362c0c..00000000000 --- a/markdown/dev/reference/macros/pd/de.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: pd ---- - -Adds a *path dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | ----------- | --------------------------- | ------------------------------------------------------------- | -| `path` | | [Path](/reference/api/path) | The path to draw the dimension along | -| `offset` | 0 | Number | The offset at which to draw the dimension | -| `text` | Path length | Number | The text to go on the dimension if not the length of the path | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `pd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/pd/es.md b/markdown/dev/reference/macros/pd/es.md deleted file mode 100644 index 73b1b362c0c..00000000000 --- a/markdown/dev/reference/macros/pd/es.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: pd ---- - -Adds a *path dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | ----------- | --------------------------- | ------------------------------------------------------------- | -| `path` | | [Path](/reference/api/path) | The path to draw the dimension along | -| `offset` | 0 | Number | The offset at which to draw the dimension | -| `text` | Path length | Number | The text to go on the dimension if not the length of the path | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `pd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/pd/fr.md b/markdown/dev/reference/macros/pd/fr.md deleted file mode 100644 index 91f43be6d55..00000000000 --- a/markdown/dev/reference/macros/pd/fr.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: pd ---- - -Adds a *path dimension* to your pattern. - -| Propriété | Défaut | Type | Description | -| --------------- | ------------------ | ----------------------------- | ------------------------------------------------------------------ | -| `path` | | [Chemin](/reference/api/path) | Le chemin le long duquel dessiner la dimension | -| `offset` | 0 | Nombre | Le décalage avec lequel dessiner la dimension | -| `text` | Longueur du chemin | Nombre | Le texte à accoler au chemin si ce n'est pas la longueur du chemin | -| `noStartMarker` | `false` | Booléen | Ne pas dessiner un marqueur de début | -| `noEndMarker` | `false` | Booléen | Ne pas dessiner un marqueur de fin | - - - -The `pd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/pd/nl.md b/markdown/dev/reference/macros/pd/nl.md deleted file mode 100644 index 73b1b362c0c..00000000000 --- a/markdown/dev/reference/macros/pd/nl.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: pd ---- - -Adds a *path dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | ----------- | --------------------------- | ------------------------------------------------------------- | -| `path` | | [Path](/reference/api/path) | The path to draw the dimension along | -| `offset` | 0 | Number | The offset at which to draw the dimension | -| `text` | Path length | Number | The text to go on the dimension if not the length of the path | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `pd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/rmad/de.md b/markdown/dev/reference/macros/rmad/de.md deleted file mode 100644 index a49ce64d998..00000000000 --- a/markdown/dev/reference/macros/rmad/de.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | --------------- | ----------------------------- | ------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `d` | 0 | Number | The offset at which to draw the dimension | -| `text` | Linear distance | Number | The text to go on the dimension if not the from-to linear distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/rmad/es.md b/markdown/dev/reference/macros/rmad/es.md deleted file mode 100644 index a49ce64d998..00000000000 --- a/markdown/dev/reference/macros/rmad/es.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | --------------- | ----------------------------- | ------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `d` | 0 | Number | The offset at which to draw the dimension | -| `text` | Linear distance | Number | The text to go on the dimension if not the from-to linear distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/rmad/fr.md b/markdown/dev/reference/macros/rmad/fr.md deleted file mode 100644 index 9fa2495aa04..00000000000 --- a/markdown/dev/reference/macros/rmad/fr.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Propriété | Défaut | Type | Description | -| --------------- | ----------------- | ----------------------------- | ------------------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | Le point de départ de la dimension | -| `to` | | [Point](/reference/api/point) | Le point final de la dimension | -| `d` | 0 | Nombre | Le décalage avec lequel dessiner la dimension | -| `text` | Distance linéaire | Nombre | Le texte à accoler à la dimension si ce n'est pas la distance linéaire from-to | -| `noStartMarker` | `false` | Booléen | Ne pas dessiner un marqueur de début | -| `noEndMarker` | `false` | Booléen | Ne pas dessiner un marqueur de fin | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/rmad/nl.md b/markdown/dev/reference/macros/rmad/nl.md deleted file mode 100644 index a49ce64d998..00000000000 --- a/markdown/dev/reference/macros/rmad/nl.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | --------------- | ----------------------------- | ------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `d` | 0 | Number | The offset at which to draw the dimension | -| `text` | Linear distance | Number | The text to go on the dimension if not the from-to linear distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/rmd/de.md b/markdown/dev/reference/macros/rmd/de.md deleted file mode 100644 index a49ce64d998..00000000000 --- a/markdown/dev/reference/macros/rmd/de.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | --------------- | ----------------------------- | ------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `d` | 0 | Number | The offset at which to draw the dimension | -| `text` | Linear distance | Number | The text to go on the dimension if not the from-to linear distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/rmd/es.md b/markdown/dev/reference/macros/rmd/es.md deleted file mode 100644 index a49ce64d998..00000000000 --- a/markdown/dev/reference/macros/rmd/es.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | --------------- | ----------------------------- | ------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `d` | 0 | Number | The offset at which to draw the dimension | -| `text` | Linear distance | Number | The text to go on the dimension if not the from-to linear distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/rmd/fr.md b/markdown/dev/reference/macros/rmd/fr.md deleted file mode 100644 index 9fa2495aa04..00000000000 --- a/markdown/dev/reference/macros/rmd/fr.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Propriété | Défaut | Type | Description | -| --------------- | ----------------- | ----------------------------- | ------------------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | Le point de départ de la dimension | -| `to` | | [Point](/reference/api/point) | Le point final de la dimension | -| `d` | 0 | Nombre | Le décalage avec lequel dessiner la dimension | -| `text` | Distance linéaire | Nombre | Le texte à accoler à la dimension si ce n'est pas la distance linéaire from-to | -| `noStartMarker` | `false` | Booléen | Ne pas dessiner un marqueur de début | -| `noEndMarker` | `false` | Booléen | Ne pas dessiner un marqueur de fin | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/rmd/nl.md b/markdown/dev/reference/macros/rmd/nl.md deleted file mode 100644 index a49ce64d998..00000000000 --- a/markdown/dev/reference/macros/rmd/nl.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ld ---- - -Adds a *linear dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | --------------- | ----------------------------- | ------------------------------------------------------------------ | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `d` | 0 | Number | The offset at which to draw the dimension | -| `text` | Linear distance | Number | The text to go on the dimension if not the from-to linear distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `ld` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - diff --git a/markdown/dev/reference/macros/round/de.md b/markdown/dev/reference/macros/round/de.md deleted file mode 100644 index e408f134f8b..00000000000 --- a/markdown/dev/reference/macros/round/de.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: round ---- - -Rounds a corner. Note that this is only intended for 90 degree corners. - -| Property | Default | Type | Description | -| -------- | ------- | ----------------------------- | -------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint towards the corner to round | -| `to` | | [Point](/reference/api/point) | The endpoint away from the corner to round | -| `via` | | [Point](/reference/api/point) | The corner to round | -| `radius` | Maximum | Number | The radius in mm in not the maximum | -| `prefix` | | String | A prefix to give to the points and paths created by this macro | -| `render` | `false` | Boolean | Whether to render the path created by this macro | -| `class` | | String | Class(es) to assign to the path created by this macro | - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/round/es.md b/markdown/dev/reference/macros/round/es.md deleted file mode 100644 index e408f134f8b..00000000000 --- a/markdown/dev/reference/macros/round/es.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: round ---- - -Rounds a corner. Note that this is only intended for 90 degree corners. - -| Property | Default | Type | Description | -| -------- | ------- | ----------------------------- | -------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint towards the corner to round | -| `to` | | [Point](/reference/api/point) | The endpoint away from the corner to round | -| `via` | | [Point](/reference/api/point) | The corner to round | -| `radius` | Maximum | Number | The radius in mm in not the maximum | -| `prefix` | | String | A prefix to give to the points and paths created by this macro | -| `render` | `false` | Boolean | Whether to render the path created by this macro | -| `class` | | String | Class(es) to assign to the path created by this macro | - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/round/fr.md b/markdown/dev/reference/macros/round/fr.md deleted file mode 100644 index 7b23b05c2f5..00000000000 --- a/markdown/dev/reference/macros/round/fr.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: round ---- - -Arrondit un coin. Notez que cela ne s'adresse qu'aux coins à 90 degrés. - -| Propriété | Défaut | Type | Description | -| --------- | ------- | ----------------------------- | ------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | Le point de départ de l'arrondi | -| `to` | | [Point](/reference/api/point) | Le point final de l'arrondi | -| `via` | | [Point](/reference/api/point) | Le coin à arrondir | -| `radius` | Maximum | Nombre | Le rayon en mm si c'est pas le maximum | -| `prefix` | | Chaîne de caractères | Un préfixe à donner aux points et aux chemins créés par cette macro | -| `render` | `false` | Booléen | Afficher le chemin créé par cette macro | -| `class` | | Chaîne de caractères | Classe(s) à assigner au chemin créé par cette macro | - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/round/nl.md b/markdown/dev/reference/macros/round/nl.md deleted file mode 100644 index e408f134f8b..00000000000 --- a/markdown/dev/reference/macros/round/nl.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: round ---- - -Rounds a corner. Note that this is only intended for 90 degree corners. - -| Property | Default | Type | Description | -| -------- | ------- | ----------------------------- | -------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint towards the corner to round | -| `to` | | [Point](/reference/api/point) | The endpoint away from the corner to round | -| `via` | | [Point](/reference/api/point) | The corner to round | -| `radius` | Maximum | Number | The radius in mm in not the maximum | -| `prefix` | | String | A prefix to give to the points and paths created by this macro | -| `render` | `false` | Boolean | Whether to render the path created by this macro | -| `class` | | String | Class(es) to assign to the path created by this macro | - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/scalebox/de.md b/markdown/dev/reference/macros/scalebox/de.md deleted file mode 100644 index 951677ccc62..00000000000 --- a/markdown/dev/reference/macros/scalebox/de.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: scalebox ---- - -Adds a *scale box* to your pattern. - -| Property | Default | Type | Description | -| -------- | ------------------------ | ----------------------------- | -------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on | -| `lead` | FreeSewing | String | The lead text above the title | -| `title` | *pattern name + version* | String | The title text | -| `text` | (\*) | String | The text below the title | -| `rotate` | 0 | Number | Rotation in degrees | - -(\*) `freesewingIsMadeByJoostDeCockAndContributors \n withTheFinancialSupportOfOurPatrons` - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/scalebox/es.md b/markdown/dev/reference/macros/scalebox/es.md deleted file mode 100644 index 951677ccc62..00000000000 --- a/markdown/dev/reference/macros/scalebox/es.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: scalebox ---- - -Adds a *scale box* to your pattern. - -| Property | Default | Type | Description | -| -------- | ------------------------ | ----------------------------- | -------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on | -| `lead` | FreeSewing | String | The lead text above the title | -| `title` | *pattern name + version* | String | The title text | -| `text` | (\*) | String | The text below the title | -| `rotate` | 0 | Number | Rotation in degrees | - -(\*) `freesewingIsMadeByJoostDeCockAndContributors \n withTheFinancialSupportOfOurPatrons` - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/scalebox/fr.md b/markdown/dev/reference/macros/scalebox/fr.md deleted file mode 100644 index 3fa8841fd33..00000000000 --- a/markdown/dev/reference/macros/scalebox/fr.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: scalebox ---- - -Adds a *scale box* to your pattern. - -| Propriété | Défaut | Type | Description | -| --------- | -------------------------- | ----------------------------- | -------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on | -| `lead` | FreeSewing | Chaîne de caractères | Le texte au dessus du titre | -| `title` | *nom du patron et version* | Chaîne de caractères | Le texte du titre | -| `text` | (\*) | Chaîne de caractères | Le texte en dessous du titre | -| `rotate` | 0 | Nombre | Rotation en degrés | - -(\*) `freesewingEstCrééParJoostDeCockEtContributeurs \n avecLeSoutienFinancierDeNosMécènes` - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/scalebox/nl.md b/markdown/dev/reference/macros/scalebox/nl.md deleted file mode 100644 index 951677ccc62..00000000000 --- a/markdown/dev/reference/macros/scalebox/nl.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: scalebox ---- - -Adds a *scale box* to your pattern. - -| Property | Default | Type | Description | -| -------- | ------------------------ | ----------------------------- | -------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on | -| `lead` | FreeSewing | String | The lead text above the title | -| `title` | *pattern name + version* | String | The title text | -| `text` | (\*) | String | The text below the title | -| `rotate` | 0 | Number | Rotation in degrees | - -(\*) `freesewingIsMadeByJoostDeCockAndContributors \n withTheFinancialSupportOfOurPatrons` - - - -The `round` macro is provided by the [round plugin](/reference/plugins/round). - - - - - diff --git a/markdown/dev/reference/macros/sprinkle/de.md b/markdown/dev/reference/macros/sprinkle/de.md deleted file mode 100644 index e1c8762b0a1..00000000000 --- a/markdown/dev/reference/macros/sprinkle/de.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: sprinkle ---- - -Bulk-adds snippets to your pattern. - -| Property | Default | Type | Description | -| --------- | ------- | ---------------- | --------------------------------------------------------- | -| `snippet` | | String | Name of the snippet to sprinkle | -| `on` | `[]` | Array of strings | An array with *the names* of points to add the snippet on | - - - -The `sprinkle` macro is provided by the [sprinkle plugin](/reference/plugins/sprinkle). - - - - - diff --git a/markdown/dev/reference/macros/sprinkle/es.md b/markdown/dev/reference/macros/sprinkle/es.md deleted file mode 100644 index e1c8762b0a1..00000000000 --- a/markdown/dev/reference/macros/sprinkle/es.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: sprinkle ---- - -Bulk-adds snippets to your pattern. - -| Property | Default | Type | Description | -| --------- | ------- | ---------------- | --------------------------------------------------------- | -| `snippet` | | String | Name of the snippet to sprinkle | -| `on` | `[]` | Array of strings | An array with *the names* of points to add the snippet on | - - - -The `sprinkle` macro is provided by the [sprinkle plugin](/reference/plugins/sprinkle). - - - - - diff --git a/markdown/dev/reference/macros/sprinkle/fr.md b/markdown/dev/reference/macros/sprinkle/fr.md deleted file mode 100644 index d7907f761ab..00000000000 --- a/markdown/dev/reference/macros/sprinkle/fr.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: sprinkle ---- - -Ajoute en brut des snippets à votre patron. - -| Propriété | Défaut | Type | Description | -| --------- | ------ | ------------------------------- | --------------------------------------------------------- | -| `snippet` | | Chaîne de caractères | Nom du snippet à ajouter | -| `on` | `[]` | Tableau de chaîne de caractères | An array with *the names* of points to add the snippet on | - - - -The `sprinkle` macro is provided by the [sprinkle plugin](/reference/plugins/sprinkle). - - - - - diff --git a/markdown/dev/reference/macros/sprinkle/nl.md b/markdown/dev/reference/macros/sprinkle/nl.md deleted file mode 100644 index e1c8762b0a1..00000000000 --- a/markdown/dev/reference/macros/sprinkle/nl.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: sprinkle ---- - -Bulk-adds snippets to your pattern. - -| Property | Default | Type | Description | -| --------- | ------- | ---------------- | --------------------------------------------------------- | -| `snippet` | | String | Name of the snippet to sprinkle | -| `on` | `[]` | Array of strings | An array with *the names* of points to add the snippet on | - - - -The `sprinkle` macro is provided by the [sprinkle plugin](/reference/plugins/sprinkle). - - - - - diff --git a/markdown/dev/reference/macros/title/de.md b/markdown/dev/reference/macros/title/de.md deleted file mode 100644 index 19d45e16aba..00000000000 --- a/markdown/dev/reference/macros/title/de.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: title ---- - -Bulk-adds snippets to your pattern. - -| Property | Default | Type | Description | -| ---------- |:-------:| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point at which to insert the title | -| `nr` | | String | The number of the pattern part | -| `title` | | String | The name of the pattern part. If title is not set or is an empty string, this won't be rendered, and the version will go beneath the nr. | -| `prefix` | | String | A prefix to add to the created points. This allow for more than 1 title per part, as long as you give them a different prefix. | -| `append` | `false` | Boolean | Set this to `true` to append the `nr` to any text already set in Point `at`'s attributes, rather than overwrite it | -| `rotation` | 0 | Number | An optional rotation in degrees | -| `scale` | 1 | Number | An optional scaling factor | - - - -The `title` macro is provided by the [title plugin](/reference/plugins/title). - - - - - diff --git a/markdown/dev/reference/macros/title/es.md b/markdown/dev/reference/macros/title/es.md deleted file mode 100644 index 19d45e16aba..00000000000 --- a/markdown/dev/reference/macros/title/es.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: title ---- - -Bulk-adds snippets to your pattern. - -| Property | Default | Type | Description | -| ---------- |:-------:| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point at which to insert the title | -| `nr` | | String | The number of the pattern part | -| `title` | | String | The name of the pattern part. If title is not set or is an empty string, this won't be rendered, and the version will go beneath the nr. | -| `prefix` | | String | A prefix to add to the created points. This allow for more than 1 title per part, as long as you give them a different prefix. | -| `append` | `false` | Boolean | Set this to `true` to append the `nr` to any text already set in Point `at`'s attributes, rather than overwrite it | -| `rotation` | 0 | Number | An optional rotation in degrees | -| `scale` | 1 | Number | An optional scaling factor | - - - -The `title` macro is provided by the [title plugin](/reference/plugins/title). - - - - - diff --git a/markdown/dev/reference/macros/title/fr.md b/markdown/dev/reference/macros/title/fr.md deleted file mode 100644 index 9756fb969a3..00000000000 --- a/markdown/dev/reference/macros/title/fr.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: title ---- - -Ajoute en brut des snippets à votre patron. - -| Propriété | Défaut | Type | Description | -| ---------- |:-------:| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `at` | | [Point](/reference/api/point) | Le point où insérer le titre | -| `nr` | | Chaîne de caractères | Le nombre de parties de patron | -| `title` | | Chaîne de caractères | Le nom de la partie de patron. Si le titre n'est pas paramétré ou bien une chaîne de caractères vide, cela ne sera pas affiché, et la version apparaîtra en dessous de nr. | -| `prefix` | | Chaîne de caractères | Un préfixe à ajouter aux points créés. Cela autorise plus d'un titre par partie, du moment que vous leur donnez un préfixe différent. | -| `append` | `false` | Booléen | Réglez ça sur `true` pour ajouter `nr` à n'importe quel texte déjà indiqué dans l'attribut `at` de Point, plutôt que de l'écraser | -| `rotation` | 0 | Nombre | Une rotation optionnelle en degrés | -| `scale` | 1 | Nombre | Un facteur optionnel de mise à l'échelle | - - - -The `title` macro is provided by the [title plugin](/reference/plugins/title). - - - - - diff --git a/markdown/dev/reference/macros/title/nl.md b/markdown/dev/reference/macros/title/nl.md deleted file mode 100644 index 19d45e16aba..00000000000 --- a/markdown/dev/reference/macros/title/nl.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: title ---- - -Bulk-adds snippets to your pattern. - -| Property | Default | Type | Description | -| ---------- |:-------:| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `at` | | [Point](/reference/api/point) | The point at which to insert the title | -| `nr` | | String | The number of the pattern part | -| `title` | | String | The name of the pattern part. If title is not set or is an empty string, this won't be rendered, and the version will go beneath the nr. | -| `prefix` | | String | A prefix to add to the created points. This allow for more than 1 title per part, as long as you give them a different prefix. | -| `append` | `false` | Boolean | Set this to `true` to append the `nr` to any text already set in Point `at`'s attributes, rather than overwrite it | -| `rotation` | 0 | Number | An optional rotation in degrees | -| `scale` | 1 | Number | An optional scaling factor | - - - -The `title` macro is provided by the [title plugin](/reference/plugins/title). - - - - - diff --git a/markdown/dev/reference/macros/vd/de.md b/markdown/dev/reference/macros/vd/de.md deleted file mode 100644 index 4bbf2e72a7c..00000000000 --- a/markdown/dev/reference/macros/vd/de.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: vd ---- - -Adds a *vertical dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | ----------------- | ----------------------------- | -------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `x` | | Number | The X-value at which to draw the dimension | -| `text` | Vertical distance | Number | The text to go on the dimension if not the from-to vertical distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `vd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - - - diff --git a/markdown/dev/reference/macros/vd/es.md b/markdown/dev/reference/macros/vd/es.md deleted file mode 100644 index 4bbf2e72a7c..00000000000 --- a/markdown/dev/reference/macros/vd/es.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: vd ---- - -Adds a *vertical dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | ----------------- | ----------------------------- | -------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `x` | | Number | The X-value at which to draw the dimension | -| `text` | Vertical distance | Number | The text to go on the dimension if not the from-to vertical distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `vd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - - - diff --git a/markdown/dev/reference/macros/vd/fr.md b/markdown/dev/reference/macros/vd/fr.md deleted file mode 100644 index 11692a42d36..00000000000 --- a/markdown/dev/reference/macros/vd/fr.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: vd ---- - -Adds a *vertical dimension* to your pattern. - -| Propriété | Défaut | Type | Description | -| --------------- | ------------------ | ----------------------------- | ----------------------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | Le point de départ de la dimension | -| `to` | | [Point](/reference/api/point) | Le point final de la dimension | -| `x` | | Nombre | La valeur en X à laquelle dessiner la dimension | -| `text` | Distance verticale | Nombre | Le texte correspondant à la dimension si ce n'est pas la distance verticale from-to | -| `noStartMarker` | `false` | Booléen | Ne pas dessiner un marqueur de début | -| `noEndMarker` | `false` | Booléen | Ne pas dessiner un marqueur de fin | - - - -The `vd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - - - diff --git a/markdown/dev/reference/macros/vd/nl.md b/markdown/dev/reference/macros/vd/nl.md deleted file mode 100644 index 4bbf2e72a7c..00000000000 --- a/markdown/dev/reference/macros/vd/nl.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: vd ---- - -Adds a *vertical dimension* to your pattern. - -| Property | Default | Type | Description | -| --------------- | ----------------- | ----------------------------- | -------------------------------------------------------------------- | -| `from` | | [Point](/reference/api/point) | The startpoint of the dimension | -| `to` | | [Point](/reference/api/point) | The endpoint of the dimension | -| `x` | | Number | The X-value at which to draw the dimension | -| `text` | Vertical distance | Number | The text to go on the dimension if not the from-to vertical distance | -| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | -| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | - - - -The `vd` macro is provided by the [dimension plugin](/reference/plugins/dimension). - - - - - - - diff --git a/markdown/dev/reference/packages/aaron/de.md b/markdown/dev/reference/packages/aaron/de.md deleted file mode 100644 index 12772c74202..00000000000 --- a/markdown/dev/reference/packages/aaron/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/aaron" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/aaron/es.md b/markdown/dev/reference/packages/aaron/es.md deleted file mode 100644 index 12772c74202..00000000000 --- a/markdown/dev/reference/packages/aaron/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/aaron" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/aaron/fr.md b/markdown/dev/reference/packages/aaron/fr.md deleted file mode 100644 index 12772c74202..00000000000 --- a/markdown/dev/reference/packages/aaron/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/aaron" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/aaron/nl.md b/markdown/dev/reference/packages/aaron/nl.md deleted file mode 100644 index 12772c74202..00000000000 --- a/markdown/dev/reference/packages/aaron/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/aaron" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/benjamin/de.md b/markdown/dev/reference/packages/benjamin/de.md deleted file mode 100644 index 9ed40cde2a9..00000000000 --- a/markdown/dev/reference/packages/benjamin/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/benjamin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/benjamin/es.md b/markdown/dev/reference/packages/benjamin/es.md deleted file mode 100644 index 9ed40cde2a9..00000000000 --- a/markdown/dev/reference/packages/benjamin/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/benjamin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/benjamin/fr.md b/markdown/dev/reference/packages/benjamin/fr.md deleted file mode 100644 index 9ed40cde2a9..00000000000 --- a/markdown/dev/reference/packages/benjamin/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/benjamin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/benjamin/nl.md b/markdown/dev/reference/packages/benjamin/nl.md deleted file mode 100644 index 9ed40cde2a9..00000000000 --- a/markdown/dev/reference/packages/benjamin/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/benjamin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/bent/de.md b/markdown/dev/reference/packages/bent/de.md deleted file mode 100644 index 36328a3c964..00000000000 --- a/markdown/dev/reference/packages/bent/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/bent" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/bent/es.md b/markdown/dev/reference/packages/bent/es.md deleted file mode 100644 index 36328a3c964..00000000000 --- a/markdown/dev/reference/packages/bent/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/bent" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/bent/fr.md b/markdown/dev/reference/packages/bent/fr.md deleted file mode 100644 index 36328a3c964..00000000000 --- a/markdown/dev/reference/packages/bent/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/bent" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/bent/nl.md b/markdown/dev/reference/packages/bent/nl.md deleted file mode 100644 index 36328a3c964..00000000000 --- a/markdown/dev/reference/packages/bent/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/bent" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/breanna/de.md b/markdown/dev/reference/packages/breanna/de.md deleted file mode 100644 index 7e21e015665..00000000000 --- a/markdown/dev/reference/packages/breanna/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/breanna" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/breanna/es.md b/markdown/dev/reference/packages/breanna/es.md deleted file mode 100644 index 7e21e015665..00000000000 --- a/markdown/dev/reference/packages/breanna/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/breanna" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/breanna/fr.md b/markdown/dev/reference/packages/breanna/fr.md deleted file mode 100644 index 7e21e015665..00000000000 --- a/markdown/dev/reference/packages/breanna/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/breanna" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/breanna/nl.md b/markdown/dev/reference/packages/breanna/nl.md deleted file mode 100644 index 7e21e015665..00000000000 --- a/markdown/dev/reference/packages/breanna/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/breanna" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/brian/de.md b/markdown/dev/reference/packages/brian/de.md deleted file mode 100644 index 5cf8be3194c..00000000000 --- a/markdown/dev/reference/packages/brian/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/brian" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/brian/es.md b/markdown/dev/reference/packages/brian/es.md deleted file mode 100644 index 5cf8be3194c..00000000000 --- a/markdown/dev/reference/packages/brian/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/brian" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/brian/fr.md b/markdown/dev/reference/packages/brian/fr.md deleted file mode 100644 index 5cf8be3194c..00000000000 --- a/markdown/dev/reference/packages/brian/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/brian" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/brian/nl.md b/markdown/dev/reference/packages/brian/nl.md deleted file mode 100644 index 5cf8be3194c..00000000000 --- a/markdown/dev/reference/packages/brian/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/brian" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/bruce/de.md b/markdown/dev/reference/packages/bruce/de.md deleted file mode 100644 index 3dfc1411281..00000000000 --- a/markdown/dev/reference/packages/bruce/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/bruce" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/bruce/es.md b/markdown/dev/reference/packages/bruce/es.md deleted file mode 100644 index 3dfc1411281..00000000000 --- a/markdown/dev/reference/packages/bruce/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/bruce" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/bruce/fr.md b/markdown/dev/reference/packages/bruce/fr.md deleted file mode 100644 index 3dfc1411281..00000000000 --- a/markdown/dev/reference/packages/bruce/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/bruce" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/bruce/nl.md b/markdown/dev/reference/packages/bruce/nl.md deleted file mode 100644 index 3dfc1411281..00000000000 --- a/markdown/dev/reference/packages/bruce/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/bruce" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/carlita/de.md b/markdown/dev/reference/packages/carlita/de.md deleted file mode 100644 index f31e192b4df..00000000000 --- a/markdown/dev/reference/packages/carlita/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/carlita" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/carlita/es.md b/markdown/dev/reference/packages/carlita/es.md deleted file mode 100644 index f31e192b4df..00000000000 --- a/markdown/dev/reference/packages/carlita/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/carlita" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/carlita/fr.md b/markdown/dev/reference/packages/carlita/fr.md deleted file mode 100644 index f31e192b4df..00000000000 --- a/markdown/dev/reference/packages/carlita/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/carlita" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/carlita/nl.md b/markdown/dev/reference/packages/carlita/nl.md deleted file mode 100644 index f31e192b4df..00000000000 --- a/markdown/dev/reference/packages/carlita/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/carlita" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/carlton/de.md b/markdown/dev/reference/packages/carlton/de.md deleted file mode 100644 index 43027b39598..00000000000 --- a/markdown/dev/reference/packages/carlton/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/carlton" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/carlton/es.md b/markdown/dev/reference/packages/carlton/es.md deleted file mode 100644 index 43027b39598..00000000000 --- a/markdown/dev/reference/packages/carlton/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/carlton" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/carlton/fr.md b/markdown/dev/reference/packages/carlton/fr.md deleted file mode 100644 index 43027b39598..00000000000 --- a/markdown/dev/reference/packages/carlton/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/carlton" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/carlton/nl.md b/markdown/dev/reference/packages/carlton/nl.md deleted file mode 100644 index 43027b39598..00000000000 --- a/markdown/dev/reference/packages/carlton/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/carlton" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/cathrin/de.md b/markdown/dev/reference/packages/cathrin/de.md deleted file mode 100644 index 465be0b758e..00000000000 --- a/markdown/dev/reference/packages/cathrin/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/cathrin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/cathrin/es.md b/markdown/dev/reference/packages/cathrin/es.md deleted file mode 100644 index 465be0b758e..00000000000 --- a/markdown/dev/reference/packages/cathrin/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/cathrin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/cathrin/fr.md b/markdown/dev/reference/packages/cathrin/fr.md deleted file mode 100644 index 465be0b758e..00000000000 --- a/markdown/dev/reference/packages/cathrin/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/cathrin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/cathrin/nl.md b/markdown/dev/reference/packages/cathrin/nl.md deleted file mode 100644 index 465be0b758e..00000000000 --- a/markdown/dev/reference/packages/cathrin/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/cathrin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/components/blockquote/de.md b/markdown/dev/reference/packages/components/blockquote/de.md deleted file mode 100644 index d485220f111..00000000000 --- a/markdown/dev/reference/packages/components/blockquote/de.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: Blockquote ---- - -The `Blockquote` component is a base blockquote that can be styled in a number of different ways via the `type` prop which can be set to: - - - note - - warning - - tip - - fixme - -It is typically used in our MDX content where we make the `Note`, `Warning`, `Tip` and `Fixme` components available in the global scope. They all use the `Blockquote` component under the hood. - -## Examples - -### Type: note This is a note - -```mdx - This is a note -``` - -```jsx -
This is a note
-``` - - -### Type: tip This is a tip - -```mdx - This is a tip -``` - -```jsx -
This is a tip
-``` - - -### Type: warning This is a warning - -```mdx - This is a warning -``` - -```jsx -
This is a warning
-``` - -### Type: fixme This needs attention - -```mdx - This needs attention -``` - -```jsx -
This needs attention
-``` - -## Props - -| Name | Type | Default | Description | -| ------:| -------- |:------- |:--------------------------------------------------------------------------------------- | -| *type* | `string` | `note` | Determines the style of the `Blockquote`. One of `note`', `tip`, `warning`, or `fixme`. | - - - -This component will render the `children` between its opening and closing tags. - - - diff --git a/markdown/dev/reference/packages/components/blockquote/es.md b/markdown/dev/reference/packages/components/blockquote/es.md deleted file mode 100644 index d485220f111..00000000000 --- a/markdown/dev/reference/packages/components/blockquote/es.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: Blockquote ---- - -The `Blockquote` component is a base blockquote that can be styled in a number of different ways via the `type` prop which can be set to: - - - note - - warning - - tip - - fixme - -It is typically used in our MDX content where we make the `Note`, `Warning`, `Tip` and `Fixme` components available in the global scope. They all use the `Blockquote` component under the hood. - -## Examples - -### Type: note This is a note - -```mdx - This is a note -``` - -```jsx -
This is a note
-``` - - -### Type: tip This is a tip - -```mdx - This is a tip -``` - -```jsx -
This is a tip
-``` - - -### Type: warning This is a warning - -```mdx - This is a warning -``` - -```jsx -
This is a warning
-``` - -### Type: fixme This needs attention - -```mdx - This needs attention -``` - -```jsx -
This needs attention
-``` - -## Props - -| Name | Type | Default | Description | -| ------:| -------- |:------- |:--------------------------------------------------------------------------------------- | -| *type* | `string` | `note` | Determines the style of the `Blockquote`. One of `note`', `tip`, `warning`, or `fixme`. | - - - -This component will render the `children` between its opening and closing tags. - - - diff --git a/markdown/dev/reference/packages/components/blockquote/fr.md b/markdown/dev/reference/packages/components/blockquote/fr.md deleted file mode 100644 index 5417b5e56d4..00000000000 --- a/markdown/dev/reference/packages/components/blockquote/fr.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: Blockquote ---- - -The `Blockquote` component is a base blockquote that can be styled in a number of different ways via the `type` prop which can be set to: - - - note - - warning - - tip - - fixme - -It is typically used in our MDX content where we make the `Note`, `Warning`, `Tip` and `Fixme` components available in the global scope. They all use the `Blockquote` component under the hood. - -## Examples - -### Type: note This is a note - -```mdx - This is a note -``` - -```jsx -
This is a note
-``` - - -### Type: tip This is a tip - -```mdx - This is a tip -``` - -```jsx -
This is a tip
-``` - - -### Type: warning This is a warning - -```mdx - This is a warning -``` - -```jsx -
This is a warning
-``` - -### Type: fixme This needs attention - -```mdx - This needs attention -``` - -```jsx -
This needs attention
-``` - -## Props - -| Name | Type | Défaut | Description | -| ------:| -------- |:------ |:--------------------------------------------------------------------------------------- | -| *type* | `string` | `note` | Determines the style of the `Blockquote`. One of `note`', `tip`, `warning`, or `fixme`. | - - - -This component will render the `children` between its opening and closing tags. - - - diff --git a/markdown/dev/reference/packages/components/blockquote/nl.md b/markdown/dev/reference/packages/components/blockquote/nl.md deleted file mode 100644 index d485220f111..00000000000 --- a/markdown/dev/reference/packages/components/blockquote/nl.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: Blockquote ---- - -The `Blockquote` component is a base blockquote that can be styled in a number of different ways via the `type` prop which can be set to: - - - note - - warning - - tip - - fixme - -It is typically used in our MDX content where we make the `Note`, `Warning`, `Tip` and `Fixme` components available in the global scope. They all use the `Blockquote` component under the hood. - -## Examples - -### Type: note This is a note - -```mdx - This is a note -``` - -```jsx -
This is a note
-``` - - -### Type: tip This is a tip - -```mdx - This is a tip -``` - -```jsx -
This is a tip
-``` - - -### Type: warning This is a warning - -```mdx - This is a warning -``` - -```jsx -
This is a warning
-``` - -### Type: fixme This needs attention - -```mdx - This needs attention -``` - -```jsx -
This needs attention
-``` - -## Props - -| Name | Type | Default | Description | -| ------:| -------- |:------- |:--------------------------------------------------------------------------------------- | -| *type* | `string` | `note` | Determines the style of the `Blockquote`. One of `note`', `tip`, `warning`, or `fixme`. | - - - -This component will render the `children` between its opening and closing tags. - - - diff --git a/markdown/dev/reference/packages/components/de.md b/markdown/dev/reference/packages/components/de.md deleted file mode 100644 index a213a8f1dc8..00000000000 --- a/markdown/dev/reference/packages/components/de.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "@freesewing/components" ---- - -This is a collection for React components for FreeSewing's websites. - - - -FIXME: Documentation is missing - - - diff --git a/markdown/dev/reference/packages/components/draftconfgurator/de.md b/markdown/dev/reference/packages/components/draftconfgurator/de.md deleted file mode 100644 index 493e63e710c..00000000000 --- a/markdown/dev/reference/packages/components/draftconfgurator/de.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: DraftConfigurator ---- - -The `DraftConfigurator` provides the user interface for configuring a draft. It is a rather complex component, that is used both for the freesewing.org website as for our development environment. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - - diff --git a/markdown/dev/reference/packages/components/draftconfgurator/es.md b/markdown/dev/reference/packages/components/draftconfgurator/es.md deleted file mode 100644 index 493e63e710c..00000000000 --- a/markdown/dev/reference/packages/components/draftconfgurator/es.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: DraftConfigurator ---- - -The `DraftConfigurator` provides the user interface for configuring a draft. It is a rather complex component, that is used both for the freesewing.org website as for our development environment. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - - diff --git a/markdown/dev/reference/packages/components/draftconfgurator/fr.md b/markdown/dev/reference/packages/components/draftconfgurator/fr.md deleted file mode 100644 index 55370f78774..00000000000 --- a/markdown/dev/reference/packages/components/draftconfgurator/fr.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: DraftConfigurator ---- - -The `DraftConfigurator` provides the user interface for configuring a draft. It is a rather complex component, that is used both for the freesewing.org website as for our development environment. Add more documentation for this component - -## Exemple - -![Screenshot of the component](example.png) - - diff --git a/markdown/dev/reference/packages/components/draftconfgurator/nl.md b/markdown/dev/reference/packages/components/draftconfgurator/nl.md deleted file mode 100644 index 493e63e710c..00000000000 --- a/markdown/dev/reference/packages/components/draftconfgurator/nl.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: DraftConfigurator ---- - -The `DraftConfigurator` provides the user interface for configuring a draft. It is a rather complex component, that is used both for the freesewing.org website as for our development environment. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - - diff --git a/markdown/dev/reference/packages/components/emblem/de.md b/markdown/dev/reference/packages/components/emblem/de.md deleted file mode 100644 index f7b03cb2211..00000000000 --- a/markdown/dev/reference/packages/components/emblem/de.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Emblem ---- - -The `Emblem` component renders the freesewing word in the top-left of our navigation bar. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/emblem/es.md b/markdown/dev/reference/packages/components/emblem/es.md deleted file mode 100644 index f7b03cb2211..00000000000 --- a/markdown/dev/reference/packages/components/emblem/es.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Emblem ---- - -The `Emblem` component renders the freesewing word in the top-left of our navigation bar. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/emblem/fr.md b/markdown/dev/reference/packages/components/emblem/fr.md deleted file mode 100644 index 4dddc82c268..00000000000 --- a/markdown/dev/reference/packages/components/emblem/fr.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Emblem ---- - -The `Emblem` component renders the freesewing word in the top-left of our navigation bar. Add more documentation for this component - -## Exemple - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/emblem/nl.md b/markdown/dev/reference/packages/components/emblem/nl.md deleted file mode 100644 index f7b03cb2211..00000000000 --- a/markdown/dev/reference/packages/components/emblem/nl.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Emblem ---- - -The `Emblem` component renders the freesewing word in the top-left of our navigation bar. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/es.md b/markdown/dev/reference/packages/components/es.md deleted file mode 100644 index a213a8f1dc8..00000000000 --- a/markdown/dev/reference/packages/components/es.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "@freesewing/components" ---- - -This is a collection for React components for FreeSewing's websites. - - - -FIXME: Documentation is missing - - - diff --git a/markdown/dev/reference/packages/components/example/de.md b/markdown/dev/reference/packages/components/example/de.md deleted file mode 100644 index 24668e38a55..00000000000 --- a/markdown/dev/reference/packages/components/example/de.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Example ---- - -The `Example` component renders the [examples](/reference/packages/examples/) pattern. It is used throughout our developer documentation. Add more documentation for this component - -## Example - - - diff --git a/markdown/dev/reference/packages/components/example/es.md b/markdown/dev/reference/packages/components/example/es.md deleted file mode 100644 index 24668e38a55..00000000000 --- a/markdown/dev/reference/packages/components/example/es.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Example ---- - -The `Example` component renders the [examples](/reference/packages/examples/) pattern. It is used throughout our developer documentation. Add more documentation for this component - -## Example - - - diff --git a/markdown/dev/reference/packages/components/example/fr.md b/markdown/dev/reference/packages/components/example/fr.md deleted file mode 100644 index 5df87fc9093..00000000000 --- a/markdown/dev/reference/packages/components/example/fr.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Exemple ---- - -The `Example` component renders the [examples](/reference/packages/examples/) pattern. It is used throughout our developer documentation. Add more documentation for this component - -## Exemple - - - diff --git a/markdown/dev/reference/packages/components/example/nl.md b/markdown/dev/reference/packages/components/example/nl.md deleted file mode 100644 index 24668e38a55..00000000000 --- a/markdown/dev/reference/packages/components/example/nl.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Example ---- - -The `Example` component renders the [examples](/reference/packages/examples/) pattern. It is used throughout our developer documentation. Add more documentation for this component - -## Example - - - diff --git a/markdown/dev/reference/packages/components/footer/de.md b/markdown/dev/reference/packages/components/footer/de.md deleted file mode 100644 index a598c06b1ce..00000000000 --- a/markdown/dev/reference/packages/components/footer/de.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Footer ---- - -The `Footer` component is the shared footer we use on our websites. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/footer/es.md b/markdown/dev/reference/packages/components/footer/es.md deleted file mode 100644 index a598c06b1ce..00000000000 --- a/markdown/dev/reference/packages/components/footer/es.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Footer ---- - -The `Footer` component is the shared footer we use on our websites. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/footer/fr.md b/markdown/dev/reference/packages/components/footer/fr.md deleted file mode 100644 index f732fedeebb..00000000000 --- a/markdown/dev/reference/packages/components/footer/fr.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Footer ---- - -The `Footer` component is the shared footer we use on our websites. Add more documentation for this component - -## Exemple - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/footer/nl.md b/markdown/dev/reference/packages/components/footer/nl.md deleted file mode 100644 index a598c06b1ce..00000000000 --- a/markdown/dev/reference/packages/components/footer/nl.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Footer ---- - -The `Footer` component is the shared footer we use on our websites. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/fr.md b/markdown/dev/reference/packages/components/fr.md deleted file mode 100644 index a213a8f1dc8..00000000000 --- a/markdown/dev/reference/packages/components/fr.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "@freesewing/components" ---- - -This is a collection for React components for FreeSewing's websites. - - - -FIXME: Documentation is missing - - - diff --git a/markdown/dev/reference/packages/components/icon/de.md b/markdown/dev/reference/packages/components/icon/de.md deleted file mode 100644 index 966d6eeb31c..00000000000 --- a/markdown/dev/reference/packages/components/icon/de.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: Icon ---- - -The `Icon` component renders a couple of icons that we use, but are not available in the standard [material icon set](https://material.io/resources/icons/). Add more documentation for this component - -## Example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Name - - Icon -
- gitter - - -
- github - - -
- twitter - - -
- instagram - - -
- google - - -
- facebook - - -
- note - - -
- tip - - -
- warning - - -
- diff --git a/markdown/dev/reference/packages/components/icon/es.md b/markdown/dev/reference/packages/components/icon/es.md deleted file mode 100644 index 966d6eeb31c..00000000000 --- a/markdown/dev/reference/packages/components/icon/es.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: Icon ---- - -The `Icon` component renders a couple of icons that we use, but are not available in the standard [material icon set](https://material.io/resources/icons/). Add more documentation for this component - -## Example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Name - - Icon -
- gitter - - -
- github - - -
- twitter - - -
- instagram - - -
- google - - -
- facebook - - -
- note - - -
- tip - - -
- warning - - -
- diff --git a/markdown/dev/reference/packages/components/icon/fr.md b/markdown/dev/reference/packages/components/icon/fr.md deleted file mode 100644 index 5977d862f60..00000000000 --- a/markdown/dev/reference/packages/components/icon/fr.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: Icon ---- - -The `Icon` component renders a couple of icons that we use, but are not available in the standard [material icon set](https://material.io/resources/icons/). Add more documentation for this component - -## Exemple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Name - - Icon -
- gitter - - -
- github - - -
- twitter - - -
- instagram - - -
- google - - -
- facebook - - -
- note - - -
- tip - - -
- warning - - -
- diff --git a/markdown/dev/reference/packages/components/icon/nl.md b/markdown/dev/reference/packages/components/icon/nl.md deleted file mode 100644 index 966d6eeb31c..00000000000 --- a/markdown/dev/reference/packages/components/icon/nl.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: Icon ---- - -The `Icon` component renders a couple of icons that we use, but are not available in the standard [material icon set](https://material.io/resources/icons/). Add more documentation for this component - -## Example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Name - - Icon -
- gitter - - -
- github - - -
- twitter - - -
- instagram - - -
- google - - -
- facebook - - -
- note - - -
- tip - - -
- warning - - -
- diff --git a/markdown/dev/reference/packages/components/linedrawing/de.md b/markdown/dev/reference/packages/components/linedrawing/de.md deleted file mode 100644 index 56d0aedf20a..00000000000 --- a/markdown/dev/reference/packages/components/linedrawing/de.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Linedrawing ---- - -The `Linedrawing` component renders linedrawings for the FreeSewing patterns. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/linedrawing/es.md b/markdown/dev/reference/packages/components/linedrawing/es.md deleted file mode 100644 index 56d0aedf20a..00000000000 --- a/markdown/dev/reference/packages/components/linedrawing/es.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Linedrawing ---- - -The `Linedrawing` component renders linedrawings for the FreeSewing patterns. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/linedrawing/fr.md b/markdown/dev/reference/packages/components/linedrawing/fr.md deleted file mode 100644 index 338e484286a..00000000000 --- a/markdown/dev/reference/packages/components/linedrawing/fr.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Linedrawing ---- - -The `Linedrawing` component renders linedrawings for the FreeSewing patterns. Add more documentation for this component - -## Exemple - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/linedrawing/nl.md b/markdown/dev/reference/packages/components/linedrawing/nl.md deleted file mode 100644 index 56d0aedf20a..00000000000 --- a/markdown/dev/reference/packages/components/linedrawing/nl.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Linedrawing ---- - -The `Linedrawing` component renders linedrawings for the FreeSewing patterns. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/logo/de.md b/markdown/dev/reference/packages/components/logo/de.md deleted file mode 100644 index 81ba947d20d..00000000000 --- a/markdown/dev/reference/packages/components/logo/de.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Logo ---- - -The `Logo` component renders the FreeSewing logo. Add more documentation for this component - -## Example - -![Example of the logo](https://freesewing.org/logo.svg) - diff --git a/markdown/dev/reference/packages/components/logo/es.md b/markdown/dev/reference/packages/components/logo/es.md deleted file mode 100644 index 81ba947d20d..00000000000 --- a/markdown/dev/reference/packages/components/logo/es.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Logo ---- - -The `Logo` component renders the FreeSewing logo. Add more documentation for this component - -## Example - -![Example of the logo](https://freesewing.org/logo.svg) - diff --git a/markdown/dev/reference/packages/components/logo/fr.md b/markdown/dev/reference/packages/components/logo/fr.md deleted file mode 100644 index 709dc67ccdf..00000000000 --- a/markdown/dev/reference/packages/components/logo/fr.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Logo ---- - -The `Logo` component renders the FreeSewing logo. Add more documentation for this component - -## Exemple - -![Example of the logo](https://freesewing.org/logo.svg) - diff --git a/markdown/dev/reference/packages/components/logo/nl.md b/markdown/dev/reference/packages/components/logo/nl.md deleted file mode 100644 index 81ba947d20d..00000000000 --- a/markdown/dev/reference/packages/components/logo/nl.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Logo ---- - -The `Logo` component renders the FreeSewing logo. Add more documentation for this component - -## Example - -![Example of the logo](https://freesewing.org/logo.svg) - diff --git a/markdown/dev/reference/packages/components/navbar/de.md b/markdown/dev/reference/packages/components/navbar/de.md deleted file mode 100644 index bd9b003805a..00000000000 --- a/markdown/dev/reference/packages/components/navbar/de.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Navbar ---- - -The `Navbar` component is the shared navigation bar we use at the top of our websites. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/navbar/es.md b/markdown/dev/reference/packages/components/navbar/es.md deleted file mode 100644 index bd9b003805a..00000000000 --- a/markdown/dev/reference/packages/components/navbar/es.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Navbar ---- - -The `Navbar` component is the shared navigation bar we use at the top of our websites. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/navbar/fr.md b/markdown/dev/reference/packages/components/navbar/fr.md deleted file mode 100644 index 006fe72aa79..00000000000 --- a/markdown/dev/reference/packages/components/navbar/fr.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Navbar ---- - -The `Navbar` component is the shared navigation bar we use at the top of our websites. Add more documentation for this component - -## Exemple - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/navbar/nl.md b/markdown/dev/reference/packages/components/navbar/nl.md deleted file mode 100644 index bd9b003805a..00000000000 --- a/markdown/dev/reference/packages/components/navbar/nl.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Navbar ---- - -The `Navbar` component is the shared navigation bar we use at the top of our websites. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - diff --git a/markdown/dev/reference/packages/components/nl.md b/markdown/dev/reference/packages/components/nl.md deleted file mode 100644 index a213a8f1dc8..00000000000 --- a/markdown/dev/reference/packages/components/nl.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "@freesewing/components" ---- - -This is a collection for React components for FreeSewing's websites. - - - -FIXME: Documentation is missing - - - diff --git a/markdown/dev/reference/packages/components/render/de.md b/markdown/dev/reference/packages/components/render/de.md deleted file mode 100644 index 18e3be2ca2c..00000000000 --- a/markdown/dev/reference/packages/components/render/de.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: Render ---- - -The `Render` component is componet that renders a FreeSewing pattern. It's an alternative to rendering patterns as SVG, allowing for more interactive use of our patterns in your frontend. - - - -This component used to be named `Draft` but was renamed to `Render` to better -capture what the component does. - -The name `Draft` is deprecated and will be removed in a future release. - - - -## Example - -![Screenshot of the component](example.png) - -## Props - -| Name | Type | Default | Description | -| --------------:|:----------:|:-------:|:----------------------------------------------- | -| *design* | `bool` | `false` | Whether or not to enable design mode | -| *style* | `object` | `{}` | Optional extra CSS for the SVG | -| *focus* | `string` | | The element to be in focus in design mode | -| *raiseEvent* | `function` | | A method to pass events to the parent component | -| *width* (*) | `number` | | The SVG width | -| *height* (*) | `number` | | The SVG height | -| *settings* (*) | `object` | | The [draft settings](/reference/settings/) | -| *parts* (*) | `object` | | An object holding the drafted parts | - - - -###### (*) Use `pattern.getRenderProps()` to get these props - -The `width`, `height`, `settings`, and `parts` props are provided by the -[getRenderProps()](/reference/api/pattern/#getrenderprops) method of -the [Pattern](/reference/api/pattern/) object. - -They are typically uses as in the example below: - -```js - -``` - - - diff --git a/markdown/dev/reference/packages/components/render/es.md b/markdown/dev/reference/packages/components/render/es.md deleted file mode 100644 index 18e3be2ca2c..00000000000 --- a/markdown/dev/reference/packages/components/render/es.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: Render ---- - -The `Render` component is componet that renders a FreeSewing pattern. It's an alternative to rendering patterns as SVG, allowing for more interactive use of our patterns in your frontend. - - - -This component used to be named `Draft` but was renamed to `Render` to better -capture what the component does. - -The name `Draft` is deprecated and will be removed in a future release. - - - -## Example - -![Screenshot of the component](example.png) - -## Props - -| Name | Type | Default | Description | -| --------------:|:----------:|:-------:|:----------------------------------------------- | -| *design* | `bool` | `false` | Whether or not to enable design mode | -| *style* | `object` | `{}` | Optional extra CSS for the SVG | -| *focus* | `string` | | The element to be in focus in design mode | -| *raiseEvent* | `function` | | A method to pass events to the parent component | -| *width* (*) | `number` | | The SVG width | -| *height* (*) | `number` | | The SVG height | -| *settings* (*) | `object` | | The [draft settings](/reference/settings/) | -| *parts* (*) | `object` | | An object holding the drafted parts | - - - -###### (*) Use `pattern.getRenderProps()` to get these props - -The `width`, `height`, `settings`, and `parts` props are provided by the -[getRenderProps()](/reference/api/pattern/#getrenderprops) method of -the [Pattern](/reference/api/pattern/) object. - -They are typically uses as in the example below: - -```js - -``` - - - diff --git a/markdown/dev/reference/packages/components/render/fr.md b/markdown/dev/reference/packages/components/render/fr.md deleted file mode 100644 index 615491fa2a5..00000000000 --- a/markdown/dev/reference/packages/components/render/fr.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: Render ---- - -The `Render` component is componet that renders a FreeSewing pattern. It's an alternative to rendering patterns as SVG, allowing for more interactive use of our patterns in your frontend. - - - -This component used to be named `Draft` but was renamed to `Render` to better -capture what the component does. - -The name `Draft` is deprecated and will be removed in a future release. - - - -## Exemple - -![Screenshot of the component](example.png) - -## Props - -| Name | Type | Défaut | Description | -| --------------:|:----------:|:-------:|:----------------------------------------------- | -| *design* | `bool` | `false` | Whether or not to enable design mode | -| *style* | `object` | `{}` | Optional extra CSS for the SVG | -| *focus* | `string` | | The element to be in focus in design mode | -| *raiseEvent* | `function` | | A method to pass events to the parent component | -| *width* (*) | `number` | | The SVG width | -| *height* (*) | `number` | | The SVG height | -| *settings* (*) | `object` | | The [draft settings](/reference/settings/) | -| *parts* (*) | `object` | | An object holding the drafted parts | - - - -###### (*) Use `pattern.getRenderProps()` to get these props - -The `width`, `height`, `settings`, and `parts` props are provided by the -[getRenderProps()](/reference/api/pattern/#getrenderprops) method of -the [Pattern](/reference/api/pattern/) object. - -They are typically uses as in the example below: - -```js - -``` - - - diff --git a/markdown/dev/reference/packages/components/render/nl.md b/markdown/dev/reference/packages/components/render/nl.md deleted file mode 100644 index 18e3be2ca2c..00000000000 --- a/markdown/dev/reference/packages/components/render/nl.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: Render ---- - -The `Render` component is componet that renders a FreeSewing pattern. It's an alternative to rendering patterns as SVG, allowing for more interactive use of our patterns in your frontend. - - - -This component used to be named `Draft` but was renamed to `Render` to better -capture what the component does. - -The name `Draft` is deprecated and will be removed in a future release. - - - -## Example - -![Screenshot of the component](example.png) - -## Props - -| Name | Type | Default | Description | -| --------------:|:----------:|:-------:|:----------------------------------------------- | -| *design* | `bool` | `false` | Whether or not to enable design mode | -| *style* | `object` | `{}` | Optional extra CSS for the SVG | -| *focus* | `string` | | The element to be in focus in design mode | -| *raiseEvent* | `function` | | A method to pass events to the parent component | -| *width* (*) | `number` | | The SVG width | -| *height* (*) | `number` | | The SVG height | -| *settings* (*) | `object` | | The [draft settings](/reference/settings/) | -| *parts* (*) | `object` | | An object holding the drafted parts | - - - -###### (*) Use `pattern.getRenderProps()` to get these props - -The `width`, `height`, `settings`, and `parts` props are provided by the -[getRenderProps()](/reference/api/pattern/#getrenderprops) method of -the [Pattern](/reference/api/pattern/) object. - -They are typically uses as in the example below: - -```js - -``` - - - diff --git a/markdown/dev/reference/packages/components/robot/de.md b/markdown/dev/reference/packages/components/robot/de.md deleted file mode 100644 index 1ffb12e37fa..00000000000 --- a/markdown/dev/reference/packages/components/robot/de.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Robot ---- - -The `Robot` component renders the FreeSewing robot. It takes a `pose` prop that should be one of the following: - - - fail, - - ohno, - - shrug, - - shrug2, - - yay - -Rendering a different pose for each. Add more documentation for this component - -## Example - - diff --git a/markdown/dev/reference/packages/components/robot/es.md b/markdown/dev/reference/packages/components/robot/es.md deleted file mode 100644 index 1ffb12e37fa..00000000000 --- a/markdown/dev/reference/packages/components/robot/es.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Robot ---- - -The `Robot` component renders the FreeSewing robot. It takes a `pose` prop that should be one of the following: - - - fail, - - ohno, - - shrug, - - shrug2, - - yay - -Rendering a different pose for each. Add more documentation for this component - -## Example - - diff --git a/markdown/dev/reference/packages/components/robot/fr.md b/markdown/dev/reference/packages/components/robot/fr.md deleted file mode 100644 index 4b934ed4bdb..00000000000 --- a/markdown/dev/reference/packages/components/robot/fr.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Robot ---- - -The `Robot` component renders the FreeSewing robot. It takes a `pose` prop that should be one of the following: - - - fail, - - ohno, - - shrug, - - shrug2, - - yay - -Rendering a different pose for each. Add more documentation for this component - -## Exemple - - diff --git a/markdown/dev/reference/packages/components/robot/nl.md b/markdown/dev/reference/packages/components/robot/nl.md deleted file mode 100644 index 1ffb12e37fa..00000000000 --- a/markdown/dev/reference/packages/components/robot/nl.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Robot ---- - -The `Robot` component renders the FreeSewing robot. It takes a `pose` prop that should be one of the following: - - - fail, - - ohno, - - shrug, - - shrug2, - - yay - -Rendering a different pose for each. Add more documentation for this component - -## Example - - diff --git a/markdown/dev/reference/packages/components/sampleconfigurator/de.md b/markdown/dev/reference/packages/components/sampleconfigurator/de.md deleted file mode 100644 index 2765bbb249b..00000000000 --- a/markdown/dev/reference/packages/components/sampleconfigurator/de.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: SampleConfigurator ---- - -The `SampleConfigurator` provides the user interface for configuring sampling of a pattern. It is used in our development environment. Add more documentation for this component - -## Example Add screenshot - - diff --git a/markdown/dev/reference/packages/components/sampleconfigurator/es.md b/markdown/dev/reference/packages/components/sampleconfigurator/es.md deleted file mode 100644 index 2765bbb249b..00000000000 --- a/markdown/dev/reference/packages/components/sampleconfigurator/es.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: SampleConfigurator ---- - -The `SampleConfigurator` provides the user interface for configuring sampling of a pattern. It is used in our development environment. Add more documentation for this component - -## Example Add screenshot - - diff --git a/markdown/dev/reference/packages/components/sampleconfigurator/fr.md b/markdown/dev/reference/packages/components/sampleconfigurator/fr.md deleted file mode 100644 index 1fb13ef7439..00000000000 --- a/markdown/dev/reference/packages/components/sampleconfigurator/fr.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: SampleConfigurator ---- - -The `SampleConfigurator` provides the user interface for configuring sampling of a pattern. It is used in our development environment. Add more documentation for this component - -## Exemple Add screenshot - - diff --git a/markdown/dev/reference/packages/components/sampleconfigurator/nl.md b/markdown/dev/reference/packages/components/sampleconfigurator/nl.md deleted file mode 100644 index 2765bbb249b..00000000000 --- a/markdown/dev/reference/packages/components/sampleconfigurator/nl.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: SampleConfigurator ---- - -The `SampleConfigurator` provides the user interface for configuring sampling of a pattern. It is used in our development environment. Add more documentation for this component - -## Example Add screenshot - - diff --git a/markdown/dev/reference/packages/components/spinner/de.md b/markdown/dev/reference/packages/components/spinner/de.md deleted file mode 100644 index afd9cab1121..00000000000 --- a/markdown/dev/reference/packages/components/spinner/de.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Spinner ---- - -The `Spinner` component renders a loading indicator with the FreeSewing logo. - -It is a pure SVG implementation, using SMIL for animation. Add more documentation for this component - -## Example - -![Example of the spinner](example.svg) - diff --git a/markdown/dev/reference/packages/components/spinner/es.md b/markdown/dev/reference/packages/components/spinner/es.md deleted file mode 100644 index afd9cab1121..00000000000 --- a/markdown/dev/reference/packages/components/spinner/es.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Spinner ---- - -The `Spinner` component renders a loading indicator with the FreeSewing logo. - -It is a pure SVG implementation, using SMIL for animation. Add more documentation for this component - -## Example - -![Example of the spinner](example.svg) - diff --git a/markdown/dev/reference/packages/components/spinner/fr.md b/markdown/dev/reference/packages/components/spinner/fr.md deleted file mode 100644 index d7ac8386698..00000000000 --- a/markdown/dev/reference/packages/components/spinner/fr.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Spinner ---- - -The `Spinner` component renders a loading indicator with the FreeSewing logo. - -It is a pure SVG implementation, using SMIL for animation. Add more documentation for this component - -## Exemple - -![Example of the spinner](example.svg) - diff --git a/markdown/dev/reference/packages/components/spinner/nl.md b/markdown/dev/reference/packages/components/spinner/nl.md deleted file mode 100644 index afd9cab1121..00000000000 --- a/markdown/dev/reference/packages/components/spinner/nl.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Spinner ---- - -The `Spinner` component renders a loading indicator with the FreeSewing logo. - -It is a pure SVG implementation, using SMIL for animation. Add more documentation for this component - -## Example - -![Example of the spinner](example.svg) - diff --git a/markdown/dev/reference/packages/components/withgist/de.md b/markdown/dev/reference/packages/components/withgist/de.md deleted file mode 100644 index c24f46a6bf7..00000000000 --- a/markdown/dev/reference/packages/components/withgist/de.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithGist ---- - -The `WithGist` component is a higher order component that adds management of a `gist` to your component. A gist is almost the same as a recipe, that is, it stores all the data required to draft your pattern. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withgist/es.md b/markdown/dev/reference/packages/components/withgist/es.md deleted file mode 100644 index c24f46a6bf7..00000000000 --- a/markdown/dev/reference/packages/components/withgist/es.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithGist ---- - -The `WithGist` component is a higher order component that adds management of a `gist` to your component. A gist is almost the same as a recipe, that is, it stores all the data required to draft your pattern. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withgist/fr.md b/markdown/dev/reference/packages/components/withgist/fr.md deleted file mode 100644 index c24f46a6bf7..00000000000 --- a/markdown/dev/reference/packages/components/withgist/fr.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithGist ---- - -The `WithGist` component is a higher order component that adds management of a `gist` to your component. A gist is almost the same as a recipe, that is, it stores all the data required to draft your pattern. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withgist/nl.md b/markdown/dev/reference/packages/components/withgist/nl.md deleted file mode 100644 index c24f46a6bf7..00000000000 --- a/markdown/dev/reference/packages/components/withgist/nl.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithGist ---- - -The `WithGist` component is a higher order component that adds management of a `gist` to your component. A gist is almost the same as a recipe, that is, it stores all the data required to draft your pattern. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withlanguage/de.md b/markdown/dev/reference/packages/components/withlanguage/de.md deleted file mode 100644 index a1d0f3d51b1..00000000000 --- a/markdown/dev/reference/packages/components/withlanguage/de.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithLanguage ---- - -The `WithLanguage` component is a higher order component that is used to inject the [react-intl](https://github.com/formatjs/react-intl) context into your component. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withlanguage/es.md b/markdown/dev/reference/packages/components/withlanguage/es.md deleted file mode 100644 index a1d0f3d51b1..00000000000 --- a/markdown/dev/reference/packages/components/withlanguage/es.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithLanguage ---- - -The `WithLanguage` component is a higher order component that is used to inject the [react-intl](https://github.com/formatjs/react-intl) context into your component. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withlanguage/fr.md b/markdown/dev/reference/packages/components/withlanguage/fr.md deleted file mode 100644 index a1d0f3d51b1..00000000000 --- a/markdown/dev/reference/packages/components/withlanguage/fr.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithLanguage ---- - -The `WithLanguage` component is a higher order component that is used to inject the [react-intl](https://github.com/formatjs/react-intl) context into your component. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withlanguage/nl.md b/markdown/dev/reference/packages/components/withlanguage/nl.md deleted file mode 100644 index a1d0f3d51b1..00000000000 --- a/markdown/dev/reference/packages/components/withlanguage/nl.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithLanguage ---- - -The `WithLanguage` component is a higher order component that is used to inject the [react-intl](https://github.com/formatjs/react-intl) context into your component. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withstorage/de.md b/markdown/dev/reference/packages/components/withstorage/de.md deleted file mode 100644 index c5d09437dd7..00000000000 --- a/markdown/dev/reference/packages/components/withstorage/de.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithStorage ---- - -The `WithStorage` component is a higher order component that adds saving to and reading from (the browser's) local storage to your component. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withstorage/es.md b/markdown/dev/reference/packages/components/withstorage/es.md deleted file mode 100644 index c5d09437dd7..00000000000 --- a/markdown/dev/reference/packages/components/withstorage/es.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithStorage ---- - -The `WithStorage` component is a higher order component that adds saving to and reading from (the browser's) local storage to your component. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withstorage/fr.md b/markdown/dev/reference/packages/components/withstorage/fr.md deleted file mode 100644 index c5d09437dd7..00000000000 --- a/markdown/dev/reference/packages/components/withstorage/fr.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithStorage ---- - -The `WithStorage` component is a higher order component that adds saving to and reading from (the browser's) local storage to your component. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/withstorage/nl.md b/markdown/dev/reference/packages/components/withstorage/nl.md deleted file mode 100644 index c5d09437dd7..00000000000 --- a/markdown/dev/reference/packages/components/withstorage/nl.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: WithStorage ---- - -The `WithStorage` component is a higher order component that adds saving to and reading from (the browser's) local storage to your component. - -This component is used under the hood in both the freesewing.org website as our development environment. - diff --git a/markdown/dev/reference/packages/components/workbench/de.md b/markdown/dev/reference/packages/components/workbench/de.md deleted file mode 100644 index a0d7dd94641..00000000000 --- a/markdown/dev/reference/packages/components/workbench/de.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Workbench ---- - -The `Workbench` component provides the FreeSewing development environment. It is a rather complex component, that is used as the entrypoint component for our development environment. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - - diff --git a/markdown/dev/reference/packages/components/workbench/es.md b/markdown/dev/reference/packages/components/workbench/es.md deleted file mode 100644 index a0d7dd94641..00000000000 --- a/markdown/dev/reference/packages/components/workbench/es.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Workbench ---- - -The `Workbench` component provides the FreeSewing development environment. It is a rather complex component, that is used as the entrypoint component for our development environment. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - - diff --git a/markdown/dev/reference/packages/components/workbench/fr.md b/markdown/dev/reference/packages/components/workbench/fr.md deleted file mode 100644 index b6b9b05f683..00000000000 --- a/markdown/dev/reference/packages/components/workbench/fr.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Workbench ---- - -The `Workbench` component provides the FreeSewing development environment. It is a rather complex component, that is used as the entrypoint component for our development environment. Add more documentation for this component - -## Exemple - -![Screenshot of the component](example.png) - - diff --git a/markdown/dev/reference/packages/components/workbench/nl.md b/markdown/dev/reference/packages/components/workbench/nl.md deleted file mode 100644 index a0d7dd94641..00000000000 --- a/markdown/dev/reference/packages/components/workbench/nl.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Workbench ---- - -The `Workbench` component provides the FreeSewing development environment. It is a rather complex component, that is used as the entrypoint component for our development environment. Add more documentation for this component - -## Example - -![Screenshot of the component](example.png) - - diff --git a/markdown/dev/reference/packages/core/de.md b/markdown/dev/reference/packages/core/de.md deleted file mode 100644 index c997378a730..00000000000 --- a/markdown/dev/reference/packages/core/de.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: "@freesewing/core" ---- - -

- - @freesewing/core on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:core - - - Unit tests core - -

- -This is the main FreeSewing library. - - diff --git a/markdown/dev/reference/packages/core/es.md b/markdown/dev/reference/packages/core/es.md deleted file mode 100644 index c997378a730..00000000000 --- a/markdown/dev/reference/packages/core/es.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: "@freesewing/core" ---- - -

- - @freesewing/core on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:core - - - Unit tests core - -

- -This is the main FreeSewing library. - - diff --git a/markdown/dev/reference/packages/core/fr.md b/markdown/dev/reference/packages/core/fr.md deleted file mode 100644 index c997378a730..00000000000 --- a/markdown/dev/reference/packages/core/fr.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: "@freesewing/core" ---- - -

- - @freesewing/core on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:core - - - Unit tests core - -

- -This is the main FreeSewing library. - - diff --git a/markdown/dev/reference/packages/core/nl.md b/markdown/dev/reference/packages/core/nl.md deleted file mode 100644 index c997378a730..00000000000 --- a/markdown/dev/reference/packages/core/nl.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: "@freesewing/core" ---- - -

- - @freesewing/core on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:core - - - Unit tests core - -

- -This is the main FreeSewing library. - - diff --git a/markdown/dev/reference/packages/create-freesewing-pattern/de.md b/markdown/dev/reference/packages/create-freesewing-pattern/de.md deleted file mode 100644 index 0dfd1832384..00000000000 --- a/markdown/dev/reference/packages/create-freesewing-pattern/de.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "create-freesewing-pattern" ---- - -

- - create-freesewing-pattern on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:create-freesewing-pattern - -

-This is an npm initializer package to jump-start your FreeSewing pattern designs with: - -```js -npm init freesewing-pattern -``` - -This package is what's loaded when you enter that command. - diff --git a/markdown/dev/reference/packages/create-freesewing-pattern/es.md b/markdown/dev/reference/packages/create-freesewing-pattern/es.md deleted file mode 100644 index 0dfd1832384..00000000000 --- a/markdown/dev/reference/packages/create-freesewing-pattern/es.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "create-freesewing-pattern" ---- - -

- - create-freesewing-pattern on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:create-freesewing-pattern - -

-This is an npm initializer package to jump-start your FreeSewing pattern designs with: - -```js -npm init freesewing-pattern -``` - -This package is what's loaded when you enter that command. - diff --git a/markdown/dev/reference/packages/create-freesewing-pattern/fr.md b/markdown/dev/reference/packages/create-freesewing-pattern/fr.md deleted file mode 100644 index 0dfd1832384..00000000000 --- a/markdown/dev/reference/packages/create-freesewing-pattern/fr.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "create-freesewing-pattern" ---- - -

- - create-freesewing-pattern on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:create-freesewing-pattern - -

-This is an npm initializer package to jump-start your FreeSewing pattern designs with: - -```js -npm init freesewing-pattern -``` - -This package is what's loaded when you enter that command. - diff --git a/markdown/dev/reference/packages/create-freesewing-pattern/nl.md b/markdown/dev/reference/packages/create-freesewing-pattern/nl.md deleted file mode 100644 index 0dfd1832384..00000000000 --- a/markdown/dev/reference/packages/create-freesewing-pattern/nl.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "create-freesewing-pattern" ---- - -

- - create-freesewing-pattern on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:create-freesewing-pattern - -

-This is an npm initializer package to jump-start your FreeSewing pattern designs with: - -```js -npm init freesewing-pattern -``` - -This package is what's loaded when you enter that command. - diff --git a/markdown/dev/reference/packages/css-theme/de.md b/markdown/dev/reference/packages/css-theme/de.md deleted file mode 100644 index 6b6139555f7..00000000000 --- a/markdown/dev/reference/packages/css-theme/de.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: "@freesewing/css-theme" ---- - -

- - @freesewing/css-theme on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:core - -

- -This is the CSS that's used on FreeSewing's websites. diff --git a/markdown/dev/reference/packages/css-theme/es.md b/markdown/dev/reference/packages/css-theme/es.md deleted file mode 100644 index 6b6139555f7..00000000000 --- a/markdown/dev/reference/packages/css-theme/es.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: "@freesewing/css-theme" ---- - -

- - @freesewing/css-theme on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:core - -

- -This is the CSS that's used on FreeSewing's websites. diff --git a/markdown/dev/reference/packages/css-theme/fr.md b/markdown/dev/reference/packages/css-theme/fr.md deleted file mode 100644 index 6b6139555f7..00000000000 --- a/markdown/dev/reference/packages/css-theme/fr.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: "@freesewing/css-theme" ---- - -

- - @freesewing/css-theme on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:core - -

- -This is the CSS that's used on FreeSewing's websites. diff --git a/markdown/dev/reference/packages/css-theme/nl.md b/markdown/dev/reference/packages/css-theme/nl.md deleted file mode 100644 index 6b6139555f7..00000000000 --- a/markdown/dev/reference/packages/css-theme/nl.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: "@freesewing/css-theme" ---- - -

- - @freesewing/css-theme on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:core - -

- -This is the CSS that's used on FreeSewing's websites. diff --git a/markdown/dev/reference/packages/de.md b/markdown/dev/reference/packages/de.md deleted file mode 100644 index 46dc14fd7f3..00000000000 --- a/markdown/dev/reference/packages/de.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Packages ---- - -FreeSewing publishes the following JavaScript packages on [NPM](https://www.npmjs.com/): - - - -Click on any of them to find out more about that package. diff --git a/markdown/dev/reference/packages/es.md b/markdown/dev/reference/packages/es.md deleted file mode 100644 index 46dc14fd7f3..00000000000 --- a/markdown/dev/reference/packages/es.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Packages ---- - -FreeSewing publishes the following JavaScript packages on [NPM](https://www.npmjs.com/): - - - -Click on any of them to find out more about that package. diff --git a/markdown/dev/reference/packages/examples/de.md b/markdown/dev/reference/packages/examples/de.md deleted file mode 100644 index efbbc6376c9..00000000000 --- a/markdown/dev/reference/packages/examples/de.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "@freesewing/examples" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - - -This pattern holds examples used throughout the documentation. -Examples like this one: - - diff --git a/markdown/dev/reference/packages/examples/es.md b/markdown/dev/reference/packages/examples/es.md deleted file mode 100644 index efbbc6376c9..00000000000 --- a/markdown/dev/reference/packages/examples/es.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "@freesewing/examples" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - - -This pattern holds examples used throughout the documentation. -Examples like this one: - - diff --git a/markdown/dev/reference/packages/examples/fr.md b/markdown/dev/reference/packages/examples/fr.md deleted file mode 100644 index efbbc6376c9..00000000000 --- a/markdown/dev/reference/packages/examples/fr.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "@freesewing/examples" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - - -This pattern holds examples used throughout the documentation. -Examples like this one: - - diff --git a/markdown/dev/reference/packages/examples/nl.md b/markdown/dev/reference/packages/examples/nl.md deleted file mode 100644 index efbbc6376c9..00000000000 --- a/markdown/dev/reference/packages/examples/nl.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "@freesewing/examples" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - - -This pattern holds examples used throughout the documentation. -Examples like this one: - - diff --git a/markdown/dev/reference/packages/florent/de.md b/markdown/dev/reference/packages/florent/de.md deleted file mode 100644 index fa2eb301cb6..00000000000 --- a/markdown/dev/reference/packages/florent/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/florent" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/florent/es.md b/markdown/dev/reference/packages/florent/es.md deleted file mode 100644 index fa2eb301cb6..00000000000 --- a/markdown/dev/reference/packages/florent/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/florent" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/florent/fr.md b/markdown/dev/reference/packages/florent/fr.md deleted file mode 100644 index fa2eb301cb6..00000000000 --- a/markdown/dev/reference/packages/florent/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/florent" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/florent/nl.md b/markdown/dev/reference/packages/florent/nl.md deleted file mode 100644 index fa2eb301cb6..00000000000 --- a/markdown/dev/reference/packages/florent/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/florent" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/fr.md b/markdown/dev/reference/packages/fr.md deleted file mode 100644 index 46dc14fd7f3..00000000000 --- a/markdown/dev/reference/packages/fr.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Packages ---- - -FreeSewing publishes the following JavaScript packages on [NPM](https://www.npmjs.com/): - - - -Click on any of them to find out more about that package. diff --git a/markdown/dev/reference/packages/fu/de.md b/markdown/dev/reference/packages/fu/de.md deleted file mode 100644 index 01970142c0c..00000000000 --- a/markdown/dev/reference/packages/fu/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/fu" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/fu/es.md b/markdown/dev/reference/packages/fu/es.md deleted file mode 100644 index 01970142c0c..00000000000 --- a/markdown/dev/reference/packages/fu/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/fu" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/fu/fr.md b/markdown/dev/reference/packages/fu/fr.md deleted file mode 100644 index 01970142c0c..00000000000 --- a/markdown/dev/reference/packages/fu/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/fu" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/fu/nl.md b/markdown/dev/reference/packages/fu/nl.md deleted file mode 100644 index 01970142c0c..00000000000 --- a/markdown/dev/reference/packages/fu/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/fu" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/gatsby-remark-jargon/de.md b/markdown/dev/reference/packages/gatsby-remark-jargon/de.md deleted file mode 100644 index c27bf57365d..00000000000 --- a/markdown/dev/reference/packages/gatsby-remark-jargon/de.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: "gatsby-remark-jargon" ---- - -

- - gatsby-remark-jargon on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:gatsby-remark-jargon - -

- -This is a [Gatsby](https://gatsbyjs.org/) plugin that wraps our [remark-jargon](/reference/packages/remark-jargon/) plugin for [Remark](https://github.com/remarkjs/remark). - - - - - -The [README](https://github.com/freesewing/freesewing/blob/develop/packages/gatsby-remark-jargon/README.md) contains detailed information on the use and purpose of this package. - - - diff --git a/markdown/dev/reference/packages/gatsby-remark-jargon/es.md b/markdown/dev/reference/packages/gatsby-remark-jargon/es.md deleted file mode 100644 index c27bf57365d..00000000000 --- a/markdown/dev/reference/packages/gatsby-remark-jargon/es.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: "gatsby-remark-jargon" ---- - -

- - gatsby-remark-jargon on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:gatsby-remark-jargon - -

- -This is a [Gatsby](https://gatsbyjs.org/) plugin that wraps our [remark-jargon](/reference/packages/remark-jargon/) plugin for [Remark](https://github.com/remarkjs/remark). - - - - - -The [README](https://github.com/freesewing/freesewing/blob/develop/packages/gatsby-remark-jargon/README.md) contains detailed information on the use and purpose of this package. - - - diff --git a/markdown/dev/reference/packages/gatsby-remark-jargon/fr.md b/markdown/dev/reference/packages/gatsby-remark-jargon/fr.md deleted file mode 100644 index c27bf57365d..00000000000 --- a/markdown/dev/reference/packages/gatsby-remark-jargon/fr.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: "gatsby-remark-jargon" ---- - -

- - gatsby-remark-jargon on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:gatsby-remark-jargon - -

- -This is a [Gatsby](https://gatsbyjs.org/) plugin that wraps our [remark-jargon](/reference/packages/remark-jargon/) plugin for [Remark](https://github.com/remarkjs/remark). - - - - - -The [README](https://github.com/freesewing/freesewing/blob/develop/packages/gatsby-remark-jargon/README.md) contains detailed information on the use and purpose of this package. - - - diff --git a/markdown/dev/reference/packages/gatsby-remark-jargon/nl.md b/markdown/dev/reference/packages/gatsby-remark-jargon/nl.md deleted file mode 100644 index c27bf57365d..00000000000 --- a/markdown/dev/reference/packages/gatsby-remark-jargon/nl.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: "gatsby-remark-jargon" ---- - -

- - gatsby-remark-jargon on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:gatsby-remark-jargon - -

- -This is a [Gatsby](https://gatsbyjs.org/) plugin that wraps our [remark-jargon](/reference/packages/remark-jargon/) plugin for [Remark](https://github.com/remarkjs/remark). - - - - - -The [README](https://github.com/freesewing/freesewing/blob/develop/packages/gatsby-remark-jargon/README.md) contains detailed information on the use and purpose of this package. - - - diff --git a/markdown/dev/reference/packages/holmes/de.md b/markdown/dev/reference/packages/holmes/de.md deleted file mode 100644 index 4d1d9d58110..00000000000 --- a/markdown/dev/reference/packages/holmes/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/holmes" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/holmes/es.md b/markdown/dev/reference/packages/holmes/es.md deleted file mode 100644 index 4d1d9d58110..00000000000 --- a/markdown/dev/reference/packages/holmes/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/holmes" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/holmes/fr.md b/markdown/dev/reference/packages/holmes/fr.md deleted file mode 100644 index 4d1d9d58110..00000000000 --- a/markdown/dev/reference/packages/holmes/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/holmes" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/holmes/nl.md b/markdown/dev/reference/packages/holmes/nl.md deleted file mode 100644 index 4d1d9d58110..00000000000 --- a/markdown/dev/reference/packages/holmes/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/holmes" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/huey/de.md b/markdown/dev/reference/packages/huey/de.md deleted file mode 100644 index e34f8616e9e..00000000000 --- a/markdown/dev/reference/packages/huey/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/huey" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/huey/es.md b/markdown/dev/reference/packages/huey/es.md deleted file mode 100644 index e34f8616e9e..00000000000 --- a/markdown/dev/reference/packages/huey/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/huey" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/huey/fr.md b/markdown/dev/reference/packages/huey/fr.md deleted file mode 100644 index e34f8616e9e..00000000000 --- a/markdown/dev/reference/packages/huey/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/huey" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/huey/nl.md b/markdown/dev/reference/packages/huey/nl.md deleted file mode 100644 index e34f8616e9e..00000000000 --- a/markdown/dev/reference/packages/huey/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/huey" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/hugo/de.md b/markdown/dev/reference/packages/hugo/de.md deleted file mode 100644 index 52c4a7fc076..00000000000 --- a/markdown/dev/reference/packages/hugo/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/hugo" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/hugo/es.md b/markdown/dev/reference/packages/hugo/es.md deleted file mode 100644 index 52c4a7fc076..00000000000 --- a/markdown/dev/reference/packages/hugo/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/hugo" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/hugo/fr.md b/markdown/dev/reference/packages/hugo/fr.md deleted file mode 100644 index 52c4a7fc076..00000000000 --- a/markdown/dev/reference/packages/hugo/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/hugo" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/hugo/nl.md b/markdown/dev/reference/packages/hugo/nl.md deleted file mode 100644 index 52c4a7fc076..00000000000 --- a/markdown/dev/reference/packages/hugo/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/hugo" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/i18n/de.md b/markdown/dev/reference/packages/i18n/de.md deleted file mode 100644 index a6dcb221374..00000000000 --- a/markdown/dev/reference/packages/i18n/de.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: "@freesewing/i18n" ---- - -

- - @freesewing/i18n on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:i18n - -

- -These are the string translations for FreeSewing's websites and patterns. - - - diff --git a/markdown/dev/reference/packages/i18n/es.md b/markdown/dev/reference/packages/i18n/es.md deleted file mode 100644 index a6dcb221374..00000000000 --- a/markdown/dev/reference/packages/i18n/es.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: "@freesewing/i18n" ---- - -

- - @freesewing/i18n on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:i18n - -

- -These are the string translations for FreeSewing's websites and patterns. - - - diff --git a/markdown/dev/reference/packages/i18n/fr.md b/markdown/dev/reference/packages/i18n/fr.md deleted file mode 100644 index a6dcb221374..00000000000 --- a/markdown/dev/reference/packages/i18n/fr.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: "@freesewing/i18n" ---- - -

- - @freesewing/i18n on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:i18n - -

- -These are the string translations for FreeSewing's websites and patterns. - - - diff --git a/markdown/dev/reference/packages/i18n/nl.md b/markdown/dev/reference/packages/i18n/nl.md deleted file mode 100644 index a6dcb221374..00000000000 --- a/markdown/dev/reference/packages/i18n/nl.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: "@freesewing/i18n" ---- - -

- - @freesewing/i18n on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:i18n - -

- -These are the string translations for FreeSewing's websites and patterns. - - - diff --git a/markdown/dev/reference/packages/jaeger/de.md b/markdown/dev/reference/packages/jaeger/de.md deleted file mode 100644 index 151cabb4921..00000000000 --- a/markdown/dev/reference/packages/jaeger/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/jaeger" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/jaeger/es.md b/markdown/dev/reference/packages/jaeger/es.md deleted file mode 100644 index 151cabb4921..00000000000 --- a/markdown/dev/reference/packages/jaeger/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/jaeger" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/jaeger/fr.md b/markdown/dev/reference/packages/jaeger/fr.md deleted file mode 100644 index 151cabb4921..00000000000 --- a/markdown/dev/reference/packages/jaeger/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/jaeger" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/jaeger/nl.md b/markdown/dev/reference/packages/jaeger/nl.md deleted file mode 100644 index 151cabb4921..00000000000 --- a/markdown/dev/reference/packages/jaeger/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/jaeger" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/models/de.md b/markdown/dev/reference/packages/models/de.md deleted file mode 100644 index 3a68eacd4d6..00000000000 --- a/markdown/dev/reference/packages/models/de.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: "@freesewing/models" ---- - -

- - @freesewing/models on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:models - -

- -This package provides a set of standard-sized measurements to test your patterns with. - - - diff --git a/markdown/dev/reference/packages/models/es.md b/markdown/dev/reference/packages/models/es.md deleted file mode 100644 index 3a68eacd4d6..00000000000 --- a/markdown/dev/reference/packages/models/es.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: "@freesewing/models" ---- - -

- - @freesewing/models on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:models - -

- -This package provides a set of standard-sized measurements to test your patterns with. - - - diff --git a/markdown/dev/reference/packages/models/fr.md b/markdown/dev/reference/packages/models/fr.md deleted file mode 100644 index 3a68eacd4d6..00000000000 --- a/markdown/dev/reference/packages/models/fr.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: "@freesewing/models" ---- - -

- - @freesewing/models on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:models - -

- -This package provides a set of standard-sized measurements to test your patterns with. - - - diff --git a/markdown/dev/reference/packages/models/nl.md b/markdown/dev/reference/packages/models/nl.md deleted file mode 100644 index 3a68eacd4d6..00000000000 --- a/markdown/dev/reference/packages/models/nl.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: "@freesewing/models" ---- - -

- - @freesewing/models on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:models - -

- -This package provides a set of standard-sized measurements to test your patterns with. - - - diff --git a/markdown/dev/reference/packages/mui-theme/de.md b/markdown/dev/reference/packages/mui-theme/de.md deleted file mode 100644 index 5d261f975a8..00000000000 --- a/markdown/dev/reference/packages/mui-theme/de.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "@freesewing/mui-theme" ---- - -

- - @freesewing/mui-theme on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:mui-theme - -

- -This is the [Material-ui](https://material-ui.com/) theme that's used on FreeSewing's websites. - - - diff --git a/markdown/dev/reference/packages/mui-theme/es.md b/markdown/dev/reference/packages/mui-theme/es.md deleted file mode 100644 index 5d261f975a8..00000000000 --- a/markdown/dev/reference/packages/mui-theme/es.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "@freesewing/mui-theme" ---- - -

- - @freesewing/mui-theme on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:mui-theme - -

- -This is the [Material-ui](https://material-ui.com/) theme that's used on FreeSewing's websites. - - - diff --git a/markdown/dev/reference/packages/mui-theme/fr.md b/markdown/dev/reference/packages/mui-theme/fr.md deleted file mode 100644 index 5d261f975a8..00000000000 --- a/markdown/dev/reference/packages/mui-theme/fr.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "@freesewing/mui-theme" ---- - -

- - @freesewing/mui-theme on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:mui-theme - -

- -This is the [Material-ui](https://material-ui.com/) theme that's used on FreeSewing's websites. - - - diff --git a/markdown/dev/reference/packages/mui-theme/nl.md b/markdown/dev/reference/packages/mui-theme/nl.md deleted file mode 100644 index 5d261f975a8..00000000000 --- a/markdown/dev/reference/packages/mui-theme/nl.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "@freesewing/mui-theme" ---- - -

- - @freesewing/mui-theme on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:mui-theme - -

- -This is the [Material-ui](https://material-ui.com/) theme that's used on FreeSewing's websites. - - - diff --git a/markdown/dev/reference/packages/nl.md b/markdown/dev/reference/packages/nl.md deleted file mode 100644 index 46dc14fd7f3..00000000000 --- a/markdown/dev/reference/packages/nl.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Packages ---- - -FreeSewing publishes the following JavaScript packages on [NPM](https://www.npmjs.com/): - - - -Click on any of them to find out more about that package. diff --git a/markdown/dev/reference/packages/pattern-info/de.md b/markdown/dev/reference/packages/pattern-info/de.md deleted file mode 100644 index 646373e33db..00000000000 --- a/markdown/dev/reference/packages/pattern-info/de.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "@freesewing/pattern-info" ---- - -

- - @freesewing/pattern-info on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:pattern-info - -

- -This package provides information about FreeSewing patterns. - - - diff --git a/markdown/dev/reference/packages/pattern-info/es.md b/markdown/dev/reference/packages/pattern-info/es.md deleted file mode 100644 index 646373e33db..00000000000 --- a/markdown/dev/reference/packages/pattern-info/es.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "@freesewing/pattern-info" ---- - -

- - @freesewing/pattern-info on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:pattern-info - -

- -This package provides information about FreeSewing patterns. - - - diff --git a/markdown/dev/reference/packages/pattern-info/fr.md b/markdown/dev/reference/packages/pattern-info/fr.md deleted file mode 100644 index 646373e33db..00000000000 --- a/markdown/dev/reference/packages/pattern-info/fr.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "@freesewing/pattern-info" ---- - -

- - @freesewing/pattern-info on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:pattern-info - -

- -This package provides information about FreeSewing patterns. - - - diff --git a/markdown/dev/reference/packages/pattern-info/nl.md b/markdown/dev/reference/packages/pattern-info/nl.md deleted file mode 100644 index 646373e33db..00000000000 --- a/markdown/dev/reference/packages/pattern-info/nl.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: "@freesewing/pattern-info" ---- - -

- - @freesewing/pattern-info on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:pattern-info - -

- -This package provides information about FreeSewing patterns. - - - diff --git a/markdown/dev/reference/packages/penelope/de.md b/markdown/dev/reference/packages/penelope/de.md deleted file mode 100644 index fb4e4abe79d..00000000000 --- a/markdown/dev/reference/packages/penelope/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/penelope" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/penelope/es.md b/markdown/dev/reference/packages/penelope/es.md deleted file mode 100644 index fb4e4abe79d..00000000000 --- a/markdown/dev/reference/packages/penelope/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/penelope" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/penelope/fr.md b/markdown/dev/reference/packages/penelope/fr.md deleted file mode 100644 index fb4e4abe79d..00000000000 --- a/markdown/dev/reference/packages/penelope/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/penelope" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/penelope/nl.md b/markdown/dev/reference/packages/penelope/nl.md deleted file mode 100644 index fb4e4abe79d..00000000000 --- a/markdown/dev/reference/packages/penelope/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/penelope" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/plugin-bundle/de.md b/markdown/dev/reference/packages/plugin-bundle/de.md deleted file mode 100644 index c2d81e9c846..00000000000 --- a/markdown/dev/reference/packages/plugin-bundle/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-bundle" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-bundle/es.md b/markdown/dev/reference/packages/plugin-bundle/es.md deleted file mode 100644 index c2d81e9c846..00000000000 --- a/markdown/dev/reference/packages/plugin-bundle/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-bundle" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-bundle/fr.md b/markdown/dev/reference/packages/plugin-bundle/fr.md deleted file mode 100644 index c2d81e9c846..00000000000 --- a/markdown/dev/reference/packages/plugin-bundle/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-bundle" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-bundle/nl.md b/markdown/dev/reference/packages/plugin-bundle/nl.md deleted file mode 100644 index c2d81e9c846..00000000000 --- a/markdown/dev/reference/packages/plugin-bundle/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-bundle" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-bust/de.md b/markdown/dev/reference/packages/plugin-bust/de.md deleted file mode 100644 index 9c7e189c002..00000000000 --- a/markdown/dev/reference/packages/plugin-bust/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-bust" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-bust/es.md b/markdown/dev/reference/packages/plugin-bust/es.md deleted file mode 100644 index 9c7e189c002..00000000000 --- a/markdown/dev/reference/packages/plugin-bust/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-bust" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-bust/fr.md b/markdown/dev/reference/packages/plugin-bust/fr.md deleted file mode 100644 index 9c7e189c002..00000000000 --- a/markdown/dev/reference/packages/plugin-bust/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-bust" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-bust/nl.md b/markdown/dev/reference/packages/plugin-bust/nl.md deleted file mode 100644 index 9c7e189c002..00000000000 --- a/markdown/dev/reference/packages/plugin-bust/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-bust" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-buttons/de.md b/markdown/dev/reference/packages/plugin-buttons/de.md deleted file mode 100644 index 7524520e8f4..00000000000 --- a/markdown/dev/reference/packages/plugin-buttons/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-buttons" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-buttons/es.md b/markdown/dev/reference/packages/plugin-buttons/es.md deleted file mode 100644 index 7524520e8f4..00000000000 --- a/markdown/dev/reference/packages/plugin-buttons/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-buttons" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-buttons/fr.md b/markdown/dev/reference/packages/plugin-buttons/fr.md deleted file mode 100644 index 7524520e8f4..00000000000 --- a/markdown/dev/reference/packages/plugin-buttons/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-buttons" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-buttons/nl.md b/markdown/dev/reference/packages/plugin-buttons/nl.md deleted file mode 100644 index 7524520e8f4..00000000000 --- a/markdown/dev/reference/packages/plugin-buttons/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-buttons" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-cutonfold/de.md b/markdown/dev/reference/packages/plugin-cutonfold/de.md deleted file mode 100644 index 03bfc34770d..00000000000 --- a/markdown/dev/reference/packages/plugin-cutonfold/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-cutonfold" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-cutonfold/es.md b/markdown/dev/reference/packages/plugin-cutonfold/es.md deleted file mode 100644 index 03bfc34770d..00000000000 --- a/markdown/dev/reference/packages/plugin-cutonfold/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-cutonfold" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-cutonfold/fr.md b/markdown/dev/reference/packages/plugin-cutonfold/fr.md deleted file mode 100644 index 03bfc34770d..00000000000 --- a/markdown/dev/reference/packages/plugin-cutonfold/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-cutonfold" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-cutonfold/nl.md b/markdown/dev/reference/packages/plugin-cutonfold/nl.md deleted file mode 100644 index 03bfc34770d..00000000000 --- a/markdown/dev/reference/packages/plugin-cutonfold/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-cutonfold" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-dimension/de.md b/markdown/dev/reference/packages/plugin-dimension/de.md deleted file mode 100644 index 03743ff2ac7..00000000000 --- a/markdown/dev/reference/packages/plugin-dimension/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-dimension" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-dimension/es.md b/markdown/dev/reference/packages/plugin-dimension/es.md deleted file mode 100644 index 03743ff2ac7..00000000000 --- a/markdown/dev/reference/packages/plugin-dimension/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-dimension" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-dimension/fr.md b/markdown/dev/reference/packages/plugin-dimension/fr.md deleted file mode 100644 index 03743ff2ac7..00000000000 --- a/markdown/dev/reference/packages/plugin-dimension/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-dimension" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-dimension/nl.md b/markdown/dev/reference/packages/plugin-dimension/nl.md deleted file mode 100644 index 03743ff2ac7..00000000000 --- a/markdown/dev/reference/packages/plugin-dimension/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-dimension" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-flip/de.md b/markdown/dev/reference/packages/plugin-flip/de.md deleted file mode 100644 index 05b0f2169a6..00000000000 --- a/markdown/dev/reference/packages/plugin-flip/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-flip" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-flip/es.md b/markdown/dev/reference/packages/plugin-flip/es.md deleted file mode 100644 index 05b0f2169a6..00000000000 --- a/markdown/dev/reference/packages/plugin-flip/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-flip" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-flip/fr.md b/markdown/dev/reference/packages/plugin-flip/fr.md deleted file mode 100644 index 05b0f2169a6..00000000000 --- a/markdown/dev/reference/packages/plugin-flip/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-flip" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-flip/nl.md b/markdown/dev/reference/packages/plugin-flip/nl.md deleted file mode 100644 index 05b0f2169a6..00000000000 --- a/markdown/dev/reference/packages/plugin-flip/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-flip" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-gore/de.md b/markdown/dev/reference/packages/plugin-gore/de.md deleted file mode 100644 index 40ad854e508..00000000000 --- a/markdown/dev/reference/packages/plugin-gore/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-gore" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-gore/es.md b/markdown/dev/reference/packages/plugin-gore/es.md deleted file mode 100644 index 40ad854e508..00000000000 --- a/markdown/dev/reference/packages/plugin-gore/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-gore" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-gore/fr.md b/markdown/dev/reference/packages/plugin-gore/fr.md deleted file mode 100644 index 40ad854e508..00000000000 --- a/markdown/dev/reference/packages/plugin-gore/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-gore" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-gore/nl.md b/markdown/dev/reference/packages/plugin-gore/nl.md deleted file mode 100644 index 40ad854e508..00000000000 --- a/markdown/dev/reference/packages/plugin-gore/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-gore" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-grainline/de.md b/markdown/dev/reference/packages/plugin-grainline/de.md deleted file mode 100644 index d8ddfd06824..00000000000 --- a/markdown/dev/reference/packages/plugin-grainline/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-grainline" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-grainline/es.md b/markdown/dev/reference/packages/plugin-grainline/es.md deleted file mode 100644 index d8ddfd06824..00000000000 --- a/markdown/dev/reference/packages/plugin-grainline/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-grainline" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-grainline/fr.md b/markdown/dev/reference/packages/plugin-grainline/fr.md deleted file mode 100644 index d8ddfd06824..00000000000 --- a/markdown/dev/reference/packages/plugin-grainline/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-grainline" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-grainline/nl.md b/markdown/dev/reference/packages/plugin-grainline/nl.md deleted file mode 100644 index d8ddfd06824..00000000000 --- a/markdown/dev/reference/packages/plugin-grainline/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-grainline" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-i18n/de.md b/markdown/dev/reference/packages/plugin-i18n/de.md deleted file mode 100644 index f1e81e7c70f..00000000000 --- a/markdown/dev/reference/packages/plugin-i18n/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-i18n" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-i18n/es.md b/markdown/dev/reference/packages/plugin-i18n/es.md deleted file mode 100644 index f1e81e7c70f..00000000000 --- a/markdown/dev/reference/packages/plugin-i18n/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-i18n" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-i18n/fr.md b/markdown/dev/reference/packages/plugin-i18n/fr.md deleted file mode 100644 index f1e81e7c70f..00000000000 --- a/markdown/dev/reference/packages/plugin-i18n/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-i18n" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-i18n/nl.md b/markdown/dev/reference/packages/plugin-i18n/nl.md deleted file mode 100644 index f1e81e7c70f..00000000000 --- a/markdown/dev/reference/packages/plugin-i18n/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-i18n" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-logo/de.md b/markdown/dev/reference/packages/plugin-logo/de.md deleted file mode 100644 index 9d78efbf7e3..00000000000 --- a/markdown/dev/reference/packages/plugin-logo/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-logo" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-logo/es.md b/markdown/dev/reference/packages/plugin-logo/es.md deleted file mode 100644 index 9d78efbf7e3..00000000000 --- a/markdown/dev/reference/packages/plugin-logo/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-logo" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-logo/fr.md b/markdown/dev/reference/packages/plugin-logo/fr.md deleted file mode 100644 index 9d78efbf7e3..00000000000 --- a/markdown/dev/reference/packages/plugin-logo/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-logo" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-logo/nl.md b/markdown/dev/reference/packages/plugin-logo/nl.md deleted file mode 100644 index 9d78efbf7e3..00000000000 --- a/markdown/dev/reference/packages/plugin-logo/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-logo" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-round/de.md b/markdown/dev/reference/packages/plugin-round/de.md deleted file mode 100644 index 56d1013444a..00000000000 --- a/markdown/dev/reference/packages/plugin-round/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-round" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-round/es.md b/markdown/dev/reference/packages/plugin-round/es.md deleted file mode 100644 index 56d1013444a..00000000000 --- a/markdown/dev/reference/packages/plugin-round/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-round" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-round/fr.md b/markdown/dev/reference/packages/plugin-round/fr.md deleted file mode 100644 index 56d1013444a..00000000000 --- a/markdown/dev/reference/packages/plugin-round/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-round" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-round/nl.md b/markdown/dev/reference/packages/plugin-round/nl.md deleted file mode 100644 index 56d1013444a..00000000000 --- a/markdown/dev/reference/packages/plugin-round/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-round" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-scalebox/de.md b/markdown/dev/reference/packages/plugin-scalebox/de.md deleted file mode 100644 index a04f99bbfb1..00000000000 --- a/markdown/dev/reference/packages/plugin-scalebox/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-scalebox" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-scalebox/es.md b/markdown/dev/reference/packages/plugin-scalebox/es.md deleted file mode 100644 index a04f99bbfb1..00000000000 --- a/markdown/dev/reference/packages/plugin-scalebox/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-scalebox" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-scalebox/fr.md b/markdown/dev/reference/packages/plugin-scalebox/fr.md deleted file mode 100644 index a04f99bbfb1..00000000000 --- a/markdown/dev/reference/packages/plugin-scalebox/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-scalebox" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-scalebox/nl.md b/markdown/dev/reference/packages/plugin-scalebox/nl.md deleted file mode 100644 index a04f99bbfb1..00000000000 --- a/markdown/dev/reference/packages/plugin-scalebox/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-scalebox" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-sprinkle/de.md b/markdown/dev/reference/packages/plugin-sprinkle/de.md deleted file mode 100644 index 6c11f08c4d9..00000000000 --- a/markdown/dev/reference/packages/plugin-sprinkle/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-sprinkle" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-sprinkle/es.md b/markdown/dev/reference/packages/plugin-sprinkle/es.md deleted file mode 100644 index 6c11f08c4d9..00000000000 --- a/markdown/dev/reference/packages/plugin-sprinkle/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-sprinkle" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-sprinkle/fr.md b/markdown/dev/reference/packages/plugin-sprinkle/fr.md deleted file mode 100644 index 6c11f08c4d9..00000000000 --- a/markdown/dev/reference/packages/plugin-sprinkle/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-sprinkle" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-sprinkle/nl.md b/markdown/dev/reference/packages/plugin-sprinkle/nl.md deleted file mode 100644 index 6c11f08c4d9..00000000000 --- a/markdown/dev/reference/packages/plugin-sprinkle/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-sprinkle" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-svgattr/de.md b/markdown/dev/reference/packages/plugin-svgattr/de.md deleted file mode 100644 index 3b1c89c9eca..00000000000 --- a/markdown/dev/reference/packages/plugin-svgattr/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-svgattr" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-svgattr/es.md b/markdown/dev/reference/packages/plugin-svgattr/es.md deleted file mode 100644 index 3b1c89c9eca..00000000000 --- a/markdown/dev/reference/packages/plugin-svgattr/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-svgattr" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-svgattr/fr.md b/markdown/dev/reference/packages/plugin-svgattr/fr.md deleted file mode 100644 index 3b1c89c9eca..00000000000 --- a/markdown/dev/reference/packages/plugin-svgattr/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-svgattr" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-svgattr/nl.md b/markdown/dev/reference/packages/plugin-svgattr/nl.md deleted file mode 100644 index 3b1c89c9eca..00000000000 --- a/markdown/dev/reference/packages/plugin-svgattr/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-svgattr" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-theme/de.md b/markdown/dev/reference/packages/plugin-theme/de.md deleted file mode 100644 index 34571d0e163..00000000000 --- a/markdown/dev/reference/packages/plugin-theme/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-theme" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-theme/es.md b/markdown/dev/reference/packages/plugin-theme/es.md deleted file mode 100644 index 34571d0e163..00000000000 --- a/markdown/dev/reference/packages/plugin-theme/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-theme" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-theme/fr.md b/markdown/dev/reference/packages/plugin-theme/fr.md deleted file mode 100644 index 34571d0e163..00000000000 --- a/markdown/dev/reference/packages/plugin-theme/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-theme" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-theme/nl.md b/markdown/dev/reference/packages/plugin-theme/nl.md deleted file mode 100644 index 34571d0e163..00000000000 --- a/markdown/dev/reference/packages/plugin-theme/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-theme" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-title/de.md b/markdown/dev/reference/packages/plugin-title/de.md deleted file mode 100644 index c1e84e9e71c..00000000000 --- a/markdown/dev/reference/packages/plugin-title/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-title" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-title/es.md b/markdown/dev/reference/packages/plugin-title/es.md deleted file mode 100644 index c1e84e9e71c..00000000000 --- a/markdown/dev/reference/packages/plugin-title/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-title" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-title/fr.md b/markdown/dev/reference/packages/plugin-title/fr.md deleted file mode 100644 index c1e84e9e71c..00000000000 --- a/markdown/dev/reference/packages/plugin-title/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-title" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/plugin-title/nl.md b/markdown/dev/reference/packages/plugin-title/nl.md deleted file mode 100644 index c1e84e9e71c..00000000000 --- a/markdown/dev/reference/packages/plugin-title/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/plugin-title" ---- - -import PluginPage from "../../../../../src/components/plugin-page"; - - diff --git a/markdown/dev/reference/packages/prettier-config/de.md b/markdown/dev/reference/packages/prettier-config/de.md deleted file mode 100644 index b657c3ad2ba..00000000000 --- a/markdown/dev/reference/packages/prettier-config/de.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: "@freesewing/prettier-config" ---- - -

- - @freesewing/prettier-config on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:prettier-config - -

- -This is FreeSewing's [Prettier](https://prettier.io/) configuration, to be shared across projects. - - diff --git a/markdown/dev/reference/packages/prettier-config/es.md b/markdown/dev/reference/packages/prettier-config/es.md deleted file mode 100644 index b657c3ad2ba..00000000000 --- a/markdown/dev/reference/packages/prettier-config/es.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: "@freesewing/prettier-config" ---- - -

- - @freesewing/prettier-config on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:prettier-config - -

- -This is FreeSewing's [Prettier](https://prettier.io/) configuration, to be shared across projects. - - diff --git a/markdown/dev/reference/packages/prettier-config/fr.md b/markdown/dev/reference/packages/prettier-config/fr.md deleted file mode 100644 index b657c3ad2ba..00000000000 --- a/markdown/dev/reference/packages/prettier-config/fr.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: "@freesewing/prettier-config" ---- - -

- - @freesewing/prettier-config on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:prettier-config - -

- -This is FreeSewing's [Prettier](https://prettier.io/) configuration, to be shared across projects. - - diff --git a/markdown/dev/reference/packages/prettier-config/nl.md b/markdown/dev/reference/packages/prettier-config/nl.md deleted file mode 100644 index b657c3ad2ba..00000000000 --- a/markdown/dev/reference/packages/prettier-config/nl.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: "@freesewing/prettier-config" ---- - -

- - @freesewing/prettier-config on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:prettier-config - -

- -This is FreeSewing's [Prettier](https://prettier.io/) configuration, to be shared across projects. - - diff --git a/markdown/dev/reference/packages/remark-jargon/de.md b/markdown/dev/reference/packages/remark-jargon/de.md deleted file mode 100644 index 1932470e705..00000000000 --- a/markdown/dev/reference/packages/remark-jargon/de.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "remark-jargon" ---- - -This is a [Remark](https://github.com/remarkjs/remark) plugin for jargon terms. - - - - - -The [README](https://github.com/freesewing/freesewing/blob/develop/packages/remark-jargon/README.md) contains detailed information on the use and purpose of this package. - - - diff --git a/markdown/dev/reference/packages/remark-jargon/es.md b/markdown/dev/reference/packages/remark-jargon/es.md deleted file mode 100644 index 1932470e705..00000000000 --- a/markdown/dev/reference/packages/remark-jargon/es.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "remark-jargon" ---- - -This is a [Remark](https://github.com/remarkjs/remark) plugin for jargon terms. - - - - - -The [README](https://github.com/freesewing/freesewing/blob/develop/packages/remark-jargon/README.md) contains detailed information on the use and purpose of this package. - - - diff --git a/markdown/dev/reference/packages/remark-jargon/fr.md b/markdown/dev/reference/packages/remark-jargon/fr.md deleted file mode 100644 index 1932470e705..00000000000 --- a/markdown/dev/reference/packages/remark-jargon/fr.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "remark-jargon" ---- - -This is a [Remark](https://github.com/remarkjs/remark) plugin for jargon terms. - - - - - -The [README](https://github.com/freesewing/freesewing/blob/develop/packages/remark-jargon/README.md) contains detailed information on the use and purpose of this package. - - - diff --git a/markdown/dev/reference/packages/remark-jargon/nl.md b/markdown/dev/reference/packages/remark-jargon/nl.md deleted file mode 100644 index 1932470e705..00000000000 --- a/markdown/dev/reference/packages/remark-jargon/nl.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "remark-jargon" ---- - -This is a [Remark](https://github.com/remarkjs/remark) plugin for jargon terms. - - - - - -The [README](https://github.com/freesewing/freesewing/blob/develop/packages/remark-jargon/README.md) contains detailed information on the use and purpose of this package. - - - diff --git a/markdown/dev/reference/packages/rendertest/de.md b/markdown/dev/reference/packages/rendertest/de.md deleted file mode 100644 index e6eb67c58f5..00000000000 --- a/markdown/dev/reference/packages/rendertest/de.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "@freesewing/rendertest" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - - -This pattern is used to test (y)our FreeSewing renderer/themes with. -Below is sample output for this pattern: - - - diff --git a/markdown/dev/reference/packages/rendertest/es.md b/markdown/dev/reference/packages/rendertest/es.md deleted file mode 100644 index e6eb67c58f5..00000000000 --- a/markdown/dev/reference/packages/rendertest/es.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "@freesewing/rendertest" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - - -This pattern is used to test (y)our FreeSewing renderer/themes with. -Below is sample output for this pattern: - - - diff --git a/markdown/dev/reference/packages/rendertest/fr.md b/markdown/dev/reference/packages/rendertest/fr.md deleted file mode 100644 index e6eb67c58f5..00000000000 --- a/markdown/dev/reference/packages/rendertest/fr.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "@freesewing/rendertest" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - - -This pattern is used to test (y)our FreeSewing renderer/themes with. -Below is sample output for this pattern: - - - diff --git a/markdown/dev/reference/packages/rendertest/nl.md b/markdown/dev/reference/packages/rendertest/nl.md deleted file mode 100644 index e6eb67c58f5..00000000000 --- a/markdown/dev/reference/packages/rendertest/nl.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "@freesewing/rendertest" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - - -This pattern is used to test (y)our FreeSewing renderer/themes with. -Below is sample output for this pattern: - - - diff --git a/markdown/dev/reference/packages/sandy/de.md b/markdown/dev/reference/packages/sandy/de.md deleted file mode 100644 index ae7b1535367..00000000000 --- a/markdown/dev/reference/packages/sandy/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/sandy" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/sandy/es.md b/markdown/dev/reference/packages/sandy/es.md deleted file mode 100644 index ae7b1535367..00000000000 --- a/markdown/dev/reference/packages/sandy/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/sandy" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/sandy/fr.md b/markdown/dev/reference/packages/sandy/fr.md deleted file mode 100644 index ae7b1535367..00000000000 --- a/markdown/dev/reference/packages/sandy/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/sandy" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/sandy/nl.md b/markdown/dev/reference/packages/sandy/nl.md deleted file mode 100644 index ae7b1535367..00000000000 --- a/markdown/dev/reference/packages/sandy/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/sandy" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/shin/de.md b/markdown/dev/reference/packages/shin/de.md deleted file mode 100644 index d402164183a..00000000000 --- a/markdown/dev/reference/packages/shin/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/shin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/shin/es.md b/markdown/dev/reference/packages/shin/es.md deleted file mode 100644 index d402164183a..00000000000 --- a/markdown/dev/reference/packages/shin/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/shin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/shin/fr.md b/markdown/dev/reference/packages/shin/fr.md deleted file mode 100644 index d402164183a..00000000000 --- a/markdown/dev/reference/packages/shin/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/shin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/shin/nl.md b/markdown/dev/reference/packages/shin/nl.md deleted file mode 100644 index d402164183a..00000000000 --- a/markdown/dev/reference/packages/shin/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/shin" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/simon/de.md b/markdown/dev/reference/packages/simon/de.md deleted file mode 100644 index 943be185d67..00000000000 --- a/markdown/dev/reference/packages/simon/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/simon" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/simon/es.md b/markdown/dev/reference/packages/simon/es.md deleted file mode 100644 index 943be185d67..00000000000 --- a/markdown/dev/reference/packages/simon/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/simon" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/simon/fr.md b/markdown/dev/reference/packages/simon/fr.md deleted file mode 100644 index 943be185d67..00000000000 --- a/markdown/dev/reference/packages/simon/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/simon" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/simon/nl.md b/markdown/dev/reference/packages/simon/nl.md deleted file mode 100644 index 943be185d67..00000000000 --- a/markdown/dev/reference/packages/simon/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/simon" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/simone/de.md b/markdown/dev/reference/packages/simone/de.md deleted file mode 100644 index 77b99addd4b..00000000000 --- a/markdown/dev/reference/packages/simone/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/simone" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/simone/es.md b/markdown/dev/reference/packages/simone/es.md deleted file mode 100644 index 77b99addd4b..00000000000 --- a/markdown/dev/reference/packages/simone/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/simone" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/simone/fr.md b/markdown/dev/reference/packages/simone/fr.md deleted file mode 100644 index 77b99addd4b..00000000000 --- a/markdown/dev/reference/packages/simone/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/simone" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/simone/nl.md b/markdown/dev/reference/packages/simone/nl.md deleted file mode 100644 index 77b99addd4b..00000000000 --- a/markdown/dev/reference/packages/simone/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/simone" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/sven/de.md b/markdown/dev/reference/packages/sven/de.md deleted file mode 100644 index 13955740198..00000000000 --- a/markdown/dev/reference/packages/sven/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/sven" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/sven/es.md b/markdown/dev/reference/packages/sven/es.md deleted file mode 100644 index 13955740198..00000000000 --- a/markdown/dev/reference/packages/sven/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/sven" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/sven/fr.md b/markdown/dev/reference/packages/sven/fr.md deleted file mode 100644 index 13955740198..00000000000 --- a/markdown/dev/reference/packages/sven/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/sven" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/sven/nl.md b/markdown/dev/reference/packages/sven/nl.md deleted file mode 100644 index 13955740198..00000000000 --- a/markdown/dev/reference/packages/sven/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/sven" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/tamiko/de.md b/markdown/dev/reference/packages/tamiko/de.md deleted file mode 100644 index 984f186f790..00000000000 --- a/markdown/dev/reference/packages/tamiko/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/tamiko" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/tamiko/es.md b/markdown/dev/reference/packages/tamiko/es.md deleted file mode 100644 index 984f186f790..00000000000 --- a/markdown/dev/reference/packages/tamiko/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/tamiko" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/tamiko/fr.md b/markdown/dev/reference/packages/tamiko/fr.md deleted file mode 100644 index 984f186f790..00000000000 --- a/markdown/dev/reference/packages/tamiko/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/tamiko" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/tamiko/nl.md b/markdown/dev/reference/packages/tamiko/nl.md deleted file mode 100644 index 984f186f790..00000000000 --- a/markdown/dev/reference/packages/tamiko/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/tamiko" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/theo/de.md b/markdown/dev/reference/packages/theo/de.md deleted file mode 100644 index d779564f756..00000000000 --- a/markdown/dev/reference/packages/theo/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/theo" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/theo/es.md b/markdown/dev/reference/packages/theo/es.md deleted file mode 100644 index d779564f756..00000000000 --- a/markdown/dev/reference/packages/theo/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/theo" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/theo/fr.md b/markdown/dev/reference/packages/theo/fr.md deleted file mode 100644 index d779564f756..00000000000 --- a/markdown/dev/reference/packages/theo/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/theo" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/theo/nl.md b/markdown/dev/reference/packages/theo/nl.md deleted file mode 100644 index d779564f756..00000000000 --- a/markdown/dev/reference/packages/theo/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/theo" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/trayvon/de.md b/markdown/dev/reference/packages/trayvon/de.md deleted file mode 100644 index 3875a60d689..00000000000 --- a/markdown/dev/reference/packages/trayvon/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/trayvon" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/trayvon/es.md b/markdown/dev/reference/packages/trayvon/es.md deleted file mode 100644 index 3875a60d689..00000000000 --- a/markdown/dev/reference/packages/trayvon/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/trayvon" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/trayvon/fr.md b/markdown/dev/reference/packages/trayvon/fr.md deleted file mode 100644 index 3875a60d689..00000000000 --- a/markdown/dev/reference/packages/trayvon/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/trayvon" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/trayvon/nl.md b/markdown/dev/reference/packages/trayvon/nl.md deleted file mode 100644 index 3875a60d689..00000000000 --- a/markdown/dev/reference/packages/trayvon/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/trayvon" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/tutorial/de.md b/markdown/dev/reference/packages/tutorial/de.md deleted file mode 100644 index a1df384fce6..00000000000 --- a/markdown/dev/reference/packages/tutorial/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/tutorial" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/tutorial/es.md b/markdown/dev/reference/packages/tutorial/es.md deleted file mode 100644 index a1df384fce6..00000000000 --- a/markdown/dev/reference/packages/tutorial/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/tutorial" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/tutorial/fr.md b/markdown/dev/reference/packages/tutorial/fr.md deleted file mode 100644 index a1df384fce6..00000000000 --- a/markdown/dev/reference/packages/tutorial/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/tutorial" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/tutorial/nl.md b/markdown/dev/reference/packages/tutorial/nl.md deleted file mode 100644 index a1df384fce6..00000000000 --- a/markdown/dev/reference/packages/tutorial/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/tutorial" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/utils/de.md b/markdown/dev/reference/packages/utils/de.md deleted file mode 100644 index a3bd9e34e46..00000000000 --- a/markdown/dev/reference/packages/utils/de.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: "@freesewing/utils" ---- - -

- - @freesewing/utils on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:utils - -

- -A collection of utilities shared between different FreeSewing projects. - - diff --git a/markdown/dev/reference/packages/utils/es.md b/markdown/dev/reference/packages/utils/es.md deleted file mode 100644 index a3bd9e34e46..00000000000 --- a/markdown/dev/reference/packages/utils/es.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: "@freesewing/utils" ---- - -

- - @freesewing/utils on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:utils - -

- -A collection of utilities shared between different FreeSewing projects. - - diff --git a/markdown/dev/reference/packages/utils/fr.md b/markdown/dev/reference/packages/utils/fr.md deleted file mode 100644 index a3bd9e34e46..00000000000 --- a/markdown/dev/reference/packages/utils/fr.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: "@freesewing/utils" ---- - -

- - @freesewing/utils on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:utils - -

- -A collection of utilities shared between different FreeSewing projects. - - diff --git a/markdown/dev/reference/packages/utils/nl.md b/markdown/dev/reference/packages/utils/nl.md deleted file mode 100644 index a3bd9e34e46..00000000000 --- a/markdown/dev/reference/packages/utils/nl.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: "@freesewing/utils" ---- - -

- - @freesewing/utils on NPM - - - License: MIT - - - Code quality on DeepScan - - - Open issues tagged pkg:utils - -

- -A collection of utilities shared between different FreeSewing projects. - - diff --git a/markdown/dev/reference/packages/wahid/de.md b/markdown/dev/reference/packages/wahid/de.md deleted file mode 100644 index b2c69359f02..00000000000 --- a/markdown/dev/reference/packages/wahid/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/wahid" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/wahid/es.md b/markdown/dev/reference/packages/wahid/es.md deleted file mode 100644 index b2c69359f02..00000000000 --- a/markdown/dev/reference/packages/wahid/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/wahid" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/wahid/fr.md b/markdown/dev/reference/packages/wahid/fr.md deleted file mode 100644 index b2c69359f02..00000000000 --- a/markdown/dev/reference/packages/wahid/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/wahid" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/wahid/nl.md b/markdown/dev/reference/packages/wahid/nl.md deleted file mode 100644 index b2c69359f02..00000000000 --- a/markdown/dev/reference/packages/wahid/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/wahid" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/waralee/de.md b/markdown/dev/reference/packages/waralee/de.md deleted file mode 100644 index 233a36e005d..00000000000 --- a/markdown/dev/reference/packages/waralee/de.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/waralee" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/waralee/es.md b/markdown/dev/reference/packages/waralee/es.md deleted file mode 100644 index 233a36e005d..00000000000 --- a/markdown/dev/reference/packages/waralee/es.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/waralee" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/waralee/fr.md b/markdown/dev/reference/packages/waralee/fr.md deleted file mode 100644 index 233a36e005d..00000000000 --- a/markdown/dev/reference/packages/waralee/fr.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/waralee" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/packages/waralee/nl.md b/markdown/dev/reference/packages/waralee/nl.md deleted file mode 100644 index 233a36e005d..00000000000 --- a/markdown/dev/reference/packages/waralee/nl.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "@freesewing/waralee" ---- - -import PatternPage from "../../../../../src/components/pattern-page"; - - diff --git a/markdown/dev/reference/plugins/bundle/de.md b/markdown/dev/reference/plugins/bundle/de.md deleted file mode 100644 index cf481159ef9..00000000000 --- a/markdown/dev/reference/plugins/bundle/de.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: bundle ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-bundle.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-bundle)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-bundle](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-bundle.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bundle) - - -The bundle plugin bundles the most common FreeSewing build-time plugins: - - 1. [plugin-cutonfold](/reference/plugins/cutonfold) : Add cut-on-fold indicators to your patterns - 2. [plugin-dimension](/reference/plugins/dimension) : Add dimensions to your (paperless) patterns - 3. [plugin-grainline](/reference/plugins/grainline) : Add grainline indicators to your patterns - 4. [plugin-logo](/reference/plugins/logo) : Add a scalebox to your patterns - 5. [plugin-scalebox](/reference/plugins/scalebox) : Add pretty titles to your pattern parts - 6. [plugin-title](/reference/plugins/title) : Add pretty titles to your pattern parts - 7. [plugin-round](/reference/plugins/round) : Rounds corners - 8. [plugin-sprinkle](/reference/plugins/sprinkle) : Add multiple snippets to your pattern - -Almost all patterns use these plugins, so it made sense to bundle them. - -## Installation - -```bash -npm install @freesewing/plugin-bundle -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import plugins from "@freesewing/plugin-bundle"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, plugins); -``` - diff --git a/markdown/dev/reference/plugins/bundle/es.md b/markdown/dev/reference/plugins/bundle/es.md deleted file mode 100644 index cf481159ef9..00000000000 --- a/markdown/dev/reference/plugins/bundle/es.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: bundle ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-bundle.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-bundle)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-bundle](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-bundle.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bundle) - - -The bundle plugin bundles the most common FreeSewing build-time plugins: - - 1. [plugin-cutonfold](/reference/plugins/cutonfold) : Add cut-on-fold indicators to your patterns - 2. [plugin-dimension](/reference/plugins/dimension) : Add dimensions to your (paperless) patterns - 3. [plugin-grainline](/reference/plugins/grainline) : Add grainline indicators to your patterns - 4. [plugin-logo](/reference/plugins/logo) : Add a scalebox to your patterns - 5. [plugin-scalebox](/reference/plugins/scalebox) : Add pretty titles to your pattern parts - 6. [plugin-title](/reference/plugins/title) : Add pretty titles to your pattern parts - 7. [plugin-round](/reference/plugins/round) : Rounds corners - 8. [plugin-sprinkle](/reference/plugins/sprinkle) : Add multiple snippets to your pattern - -Almost all patterns use these plugins, so it made sense to bundle them. - -## Installation - -```bash -npm install @freesewing/plugin-bundle -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import plugins from "@freesewing/plugin-bundle"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, plugins); -``` - diff --git a/markdown/dev/reference/plugins/bundle/fr.md b/markdown/dev/reference/plugins/bundle/fr.md deleted file mode 100644 index cf481159ef9..00000000000 --- a/markdown/dev/reference/plugins/bundle/fr.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: bundle ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-bundle.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-bundle)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-bundle](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-bundle.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bundle) - - -The bundle plugin bundles the most common FreeSewing build-time plugins: - - 1. [plugin-cutonfold](/reference/plugins/cutonfold) : Add cut-on-fold indicators to your patterns - 2. [plugin-dimension](/reference/plugins/dimension) : Add dimensions to your (paperless) patterns - 3. [plugin-grainline](/reference/plugins/grainline) : Add grainline indicators to your patterns - 4. [plugin-logo](/reference/plugins/logo) : Add a scalebox to your patterns - 5. [plugin-scalebox](/reference/plugins/scalebox) : Add pretty titles to your pattern parts - 6. [plugin-title](/reference/plugins/title) : Add pretty titles to your pattern parts - 7. [plugin-round](/reference/plugins/round) : Rounds corners - 8. [plugin-sprinkle](/reference/plugins/sprinkle) : Add multiple snippets to your pattern - -Almost all patterns use these plugins, so it made sense to bundle them. - -## Installation - -```bash -npm install @freesewing/plugin-bundle -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import plugins from "@freesewing/plugin-bundle"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, plugins); -``` - diff --git a/markdown/dev/reference/plugins/bundle/nl.md b/markdown/dev/reference/plugins/bundle/nl.md deleted file mode 100644 index cf481159ef9..00000000000 --- a/markdown/dev/reference/plugins/bundle/nl.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: bundle ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-bundle.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-bundle)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-bundle](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-bundle.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bundle) - - -The bundle plugin bundles the most common FreeSewing build-time plugins: - - 1. [plugin-cutonfold](/reference/plugins/cutonfold) : Add cut-on-fold indicators to your patterns - 2. [plugin-dimension](/reference/plugins/dimension) : Add dimensions to your (paperless) patterns - 3. [plugin-grainline](/reference/plugins/grainline) : Add grainline indicators to your patterns - 4. [plugin-logo](/reference/plugins/logo) : Add a scalebox to your patterns - 5. [plugin-scalebox](/reference/plugins/scalebox) : Add pretty titles to your pattern parts - 6. [plugin-title](/reference/plugins/title) : Add pretty titles to your pattern parts - 7. [plugin-round](/reference/plugins/round) : Rounds corners - 8. [plugin-sprinkle](/reference/plugins/sprinkle) : Add multiple snippets to your pattern - -Almost all patterns use these plugins, so it made sense to bundle them. - -## Installation - -```bash -npm install @freesewing/plugin-bundle -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import plugins from "@freesewing/plugin-bundle"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, plugins); -``` - diff --git a/markdown/dev/reference/plugins/bust/de.md b/markdown/dev/reference/plugins/bust/de.md deleted file mode 100644 index 2dd84532f6b..00000000000 --- a/markdown/dev/reference/plugins/bust/de.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: bust ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-bust.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-bust)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-bust](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-bust.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bust) - -The [@freesewing/plugin-bust](/reference/packages/plugin-bust) packages provides a plugin to help you adapt menswear patterns for breasts. - -If you are designing a womenswear pattern, you won't need this plugin. But if you're adapting a menswear pattern for breasts, this plugin can help you. - -Almost all menswear patterns use the chest circumference to draft the garment. - -As a person with breasts, using your (full) chest circumference will give you bad fit. Instead, it's better to use your high bust measurement as chest circumference, and then create extra room for the breasts. - -This is the same technique that's used in a full-bust adjustment to fit a womenswear pattern for a person with above-average sized breasts. - -This plugin helps you by: - - - Storing the chest circumference in `measurements.bust` - - Changing `measurments.chestCircumference` to the value of `measurements.highBust` - -This way you can extend a menswear pattern and have it drafted with the high bust measurement as chest measurment, after which you can create room for the breasts. - -It's used by our [Carlita](/reference/packages/carlita) pattern, which extends the menswear [Carlton](/reference/packages/carlton) pattern. - - - -To learn more about extending a pattern, see [Pattern inheritance](/howtos/core/inheritance/) - - - -## Installation - -```bash -npm install @freesewing/plugin-bust -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import bust from "@freesewing/plugin-bust"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, bust); -``` - - diff --git a/markdown/dev/reference/plugins/bust/es.md b/markdown/dev/reference/plugins/bust/es.md deleted file mode 100644 index 2dd84532f6b..00000000000 --- a/markdown/dev/reference/plugins/bust/es.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: bust ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-bust.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-bust)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-bust](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-bust.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bust) - -The [@freesewing/plugin-bust](/reference/packages/plugin-bust) packages provides a plugin to help you adapt menswear patterns for breasts. - -If you are designing a womenswear pattern, you won't need this plugin. But if you're adapting a menswear pattern for breasts, this plugin can help you. - -Almost all menswear patterns use the chest circumference to draft the garment. - -As a person with breasts, using your (full) chest circumference will give you bad fit. Instead, it's better to use your high bust measurement as chest circumference, and then create extra room for the breasts. - -This is the same technique that's used in a full-bust adjustment to fit a womenswear pattern for a person with above-average sized breasts. - -This plugin helps you by: - - - Storing the chest circumference in `measurements.bust` - - Changing `measurments.chestCircumference` to the value of `measurements.highBust` - -This way you can extend a menswear pattern and have it drafted with the high bust measurement as chest measurment, after which you can create room for the breasts. - -It's used by our [Carlita](/reference/packages/carlita) pattern, which extends the menswear [Carlton](/reference/packages/carlton) pattern. - - - -To learn more about extending a pattern, see [Pattern inheritance](/howtos/core/inheritance/) - - - -## Installation - -```bash -npm install @freesewing/plugin-bust -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import bust from "@freesewing/plugin-bust"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, bust); -``` - - diff --git a/markdown/dev/reference/plugins/bust/fr.md b/markdown/dev/reference/plugins/bust/fr.md deleted file mode 100644 index 2dd84532f6b..00000000000 --- a/markdown/dev/reference/plugins/bust/fr.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: bust ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-bust.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-bust)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-bust](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-bust.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bust) - -The [@freesewing/plugin-bust](/reference/packages/plugin-bust) packages provides a plugin to help you adapt menswear patterns for breasts. - -If you are designing a womenswear pattern, you won't need this plugin. But if you're adapting a menswear pattern for breasts, this plugin can help you. - -Almost all menswear patterns use the chest circumference to draft the garment. - -As a person with breasts, using your (full) chest circumference will give you bad fit. Instead, it's better to use your high bust measurement as chest circumference, and then create extra room for the breasts. - -This is the same technique that's used in a full-bust adjustment to fit a womenswear pattern for a person with above-average sized breasts. - -This plugin helps you by: - - - Storing the chest circumference in `measurements.bust` - - Changing `measurments.chestCircumference` to the value of `measurements.highBust` - -This way you can extend a menswear pattern and have it drafted with the high bust measurement as chest measurment, after which you can create room for the breasts. - -It's used by our [Carlita](/reference/packages/carlita) pattern, which extends the menswear [Carlton](/reference/packages/carlton) pattern. - - - -To learn more about extending a pattern, see [Pattern inheritance](/howtos/core/inheritance/) - - - -## Installation - -```bash -npm install @freesewing/plugin-bust -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import bust from "@freesewing/plugin-bust"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, bust); -``` - - diff --git a/markdown/dev/reference/plugins/bust/nl.md b/markdown/dev/reference/plugins/bust/nl.md deleted file mode 100644 index 2dd84532f6b..00000000000 --- a/markdown/dev/reference/plugins/bust/nl.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: bust ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-bust.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-bust)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-bust](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-bust.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bust) - -The [@freesewing/plugin-bust](/reference/packages/plugin-bust) packages provides a plugin to help you adapt menswear patterns for breasts. - -If you are designing a womenswear pattern, you won't need this plugin. But if you're adapting a menswear pattern for breasts, this plugin can help you. - -Almost all menswear patterns use the chest circumference to draft the garment. - -As a person with breasts, using your (full) chest circumference will give you bad fit. Instead, it's better to use your high bust measurement as chest circumference, and then create extra room for the breasts. - -This is the same technique that's used in a full-bust adjustment to fit a womenswear pattern for a person with above-average sized breasts. - -This plugin helps you by: - - - Storing the chest circumference in `measurements.bust` - - Changing `measurments.chestCircumference` to the value of `measurements.highBust` - -This way you can extend a menswear pattern and have it drafted with the high bust measurement as chest measurment, after which you can create room for the breasts. - -It's used by our [Carlita](/reference/packages/carlita) pattern, which extends the menswear [Carlton](/reference/packages/carlton) pattern. - - - -To learn more about extending a pattern, see [Pattern inheritance](/howtos/core/inheritance/) - - - -## Installation - -```bash -npm install @freesewing/plugin-bust -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import bust from "@freesewing/plugin-bust"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, bust); -``` - - diff --git a/markdown/dev/reference/plugins/buttons/de.md b/markdown/dev/reference/plugins/buttons/de.md deleted file mode 100644 index 27714f307e3..00000000000 --- a/markdown/dev/reference/plugins/buttons/de.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: buttons ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-buttons.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-buttons)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-buttons](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-buttons.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-buttons) - -The **buttons** plugin provides `button` and `buttonhold` [snippets](/reference/snippets/): - - - -```js -let { Point, snippets, Snippet } = part.shorthand(); - -snippets.button = new Snippet('button', new Point(40, 10)); -snippets.buttonhole = new Snippet('buttonhole', new Point(80, 10)); -``` - - - -The buttons plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-buttons -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import buttons from "@freesewing/plugin-buttons"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, buttons); -``` - diff --git a/markdown/dev/reference/plugins/buttons/es.md b/markdown/dev/reference/plugins/buttons/es.md deleted file mode 100644 index 27714f307e3..00000000000 --- a/markdown/dev/reference/plugins/buttons/es.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: buttons ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-buttons.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-buttons)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-buttons](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-buttons.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-buttons) - -The **buttons** plugin provides `button` and `buttonhold` [snippets](/reference/snippets/): - - - -```js -let { Point, snippets, Snippet } = part.shorthand(); - -snippets.button = new Snippet('button', new Point(40, 10)); -snippets.buttonhole = new Snippet('buttonhole', new Point(80, 10)); -``` - - - -The buttons plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-buttons -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import buttons from "@freesewing/plugin-buttons"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, buttons); -``` - diff --git a/markdown/dev/reference/plugins/buttons/fr.md b/markdown/dev/reference/plugins/buttons/fr.md deleted file mode 100644 index 27714f307e3..00000000000 --- a/markdown/dev/reference/plugins/buttons/fr.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: buttons ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-buttons.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-buttons)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-buttons](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-buttons.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-buttons) - -The **buttons** plugin provides `button` and `buttonhold` [snippets](/reference/snippets/): - - - -```js -let { Point, snippets, Snippet } = part.shorthand(); - -snippets.button = new Snippet('button', new Point(40, 10)); -snippets.buttonhole = new Snippet('buttonhole', new Point(80, 10)); -``` - - - -The buttons plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-buttons -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import buttons from "@freesewing/plugin-buttons"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, buttons); -``` - diff --git a/markdown/dev/reference/plugins/buttons/nl.md b/markdown/dev/reference/plugins/buttons/nl.md deleted file mode 100644 index 71e7423a57f..00000000000 --- a/markdown/dev/reference/plugins/buttons/nl.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: knopen ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-buttons.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-buttons)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-buttons](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-buttons.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-buttons) - -The **buttons** plugin provides `button` and `buttonhold` [snippets](/reference/snippets/): - - - -```js -let { Point, snippets, Snippet } = part.shorthand(); - -snippets.button = new Snippet('button', new Point(40, 10)); -snippets.buttonhole = new Snippet('buttonhole', new Point(80, 10)); -``` - - - -The buttons plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-buttons -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import buttons from "@freesewing/plugin-buttons"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, buttons); -``` - diff --git a/markdown/dev/reference/plugins/cutonfold/de.md b/markdown/dev/reference/plugins/cutonfold/de.md deleted file mode 100644 index 02deac5966a..00000000000 --- a/markdown/dev/reference/plugins/cutonfold/de.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: cutonfold ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-cutonfold.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-cutonfold)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-cutonfold](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-cutonfold.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-cutonfold) - -The **cutonfold** plugin provides [the cutonfold macro](/reference/macros/cutonfold/): - - - -```js -let { Point, points, Path, paths, macro } = part.shorthand(); - -points.topLeft = new Point(0, 0); -points.topRight = new Point(150, 0); -points.bottomRight = new Point(150, 50); -points.bottomLeft = new Point(0, 50); - -paths.box = new Path() - .move(points.topLeft) - .line(points.topRight) - .line(points.bottomRight) - .line(points.bottomLeft) - .close(); - -macro("cutonfold", { - from: points.topRight, - to: points.topLeft, - grainline: true -}); -``` - - - -###### It's safe to use a corner of your pattern part for this - -Since this is typically used on corners, the generated cut-on-fold indicator -will not go all the way to the `to` and `from` points. - - - - - -The cutonfold plugin is part of our [plugin-bundle](/reference/plugins/bundle/) - - - -## Installation - -```bash -npm install @freesewing/plugin-cutonfold -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import cutonfold from "@freesewing/plugin-cutonfold"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, cutonfold); -``` - -Now you can use [the cutonfold macro](/reference/macros/cutonfold/) in your parts. diff --git a/markdown/dev/reference/plugins/cutonfold/es.md b/markdown/dev/reference/plugins/cutonfold/es.md deleted file mode 100644 index 02deac5966a..00000000000 --- a/markdown/dev/reference/plugins/cutonfold/es.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: cutonfold ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-cutonfold.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-cutonfold)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-cutonfold](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-cutonfold.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-cutonfold) - -The **cutonfold** plugin provides [the cutonfold macro](/reference/macros/cutonfold/): - - - -```js -let { Point, points, Path, paths, macro } = part.shorthand(); - -points.topLeft = new Point(0, 0); -points.topRight = new Point(150, 0); -points.bottomRight = new Point(150, 50); -points.bottomLeft = new Point(0, 50); - -paths.box = new Path() - .move(points.topLeft) - .line(points.topRight) - .line(points.bottomRight) - .line(points.bottomLeft) - .close(); - -macro("cutonfold", { - from: points.topRight, - to: points.topLeft, - grainline: true -}); -``` - - - -###### It's safe to use a corner of your pattern part for this - -Since this is typically used on corners, the generated cut-on-fold indicator -will not go all the way to the `to` and `from` points. - - - - - -The cutonfold plugin is part of our [plugin-bundle](/reference/plugins/bundle/) - - - -## Installation - -```bash -npm install @freesewing/plugin-cutonfold -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import cutonfold from "@freesewing/plugin-cutonfold"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, cutonfold); -``` - -Now you can use [the cutonfold macro](/reference/macros/cutonfold/) in your parts. diff --git a/markdown/dev/reference/plugins/cutonfold/fr.md b/markdown/dev/reference/plugins/cutonfold/fr.md deleted file mode 100644 index 02deac5966a..00000000000 --- a/markdown/dev/reference/plugins/cutonfold/fr.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: cutonfold ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-cutonfold.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-cutonfold)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-cutonfold](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-cutonfold.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-cutonfold) - -The **cutonfold** plugin provides [the cutonfold macro](/reference/macros/cutonfold/): - - - -```js -let { Point, points, Path, paths, macro } = part.shorthand(); - -points.topLeft = new Point(0, 0); -points.topRight = new Point(150, 0); -points.bottomRight = new Point(150, 50); -points.bottomLeft = new Point(0, 50); - -paths.box = new Path() - .move(points.topLeft) - .line(points.topRight) - .line(points.bottomRight) - .line(points.bottomLeft) - .close(); - -macro("cutonfold", { - from: points.topRight, - to: points.topLeft, - grainline: true -}); -``` - - - -###### It's safe to use a corner of your pattern part for this - -Since this is typically used on corners, the generated cut-on-fold indicator -will not go all the way to the `to` and `from` points. - - - - - -The cutonfold plugin is part of our [plugin-bundle](/reference/plugins/bundle/) - - - -## Installation - -```bash -npm install @freesewing/plugin-cutonfold -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import cutonfold from "@freesewing/plugin-cutonfold"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, cutonfold); -``` - -Now you can use [the cutonfold macro](/reference/macros/cutonfold/) in your parts. diff --git a/markdown/dev/reference/plugins/cutonfold/nl.md b/markdown/dev/reference/plugins/cutonfold/nl.md deleted file mode 100644 index 02deac5966a..00000000000 --- a/markdown/dev/reference/plugins/cutonfold/nl.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: cutonfold ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-cutonfold.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-cutonfold)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-cutonfold](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-cutonfold.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-cutonfold) - -The **cutonfold** plugin provides [the cutonfold macro](/reference/macros/cutonfold/): - - - -```js -let { Point, points, Path, paths, macro } = part.shorthand(); - -points.topLeft = new Point(0, 0); -points.topRight = new Point(150, 0); -points.bottomRight = new Point(150, 50); -points.bottomLeft = new Point(0, 50); - -paths.box = new Path() - .move(points.topLeft) - .line(points.topRight) - .line(points.bottomRight) - .line(points.bottomLeft) - .close(); - -macro("cutonfold", { - from: points.topRight, - to: points.topLeft, - grainline: true -}); -``` - - - -###### It's safe to use a corner of your pattern part for this - -Since this is typically used on corners, the generated cut-on-fold indicator -will not go all the way to the `to` and `from` points. - - - - - -The cutonfold plugin is part of our [plugin-bundle](/reference/plugins/bundle/) - - - -## Installation - -```bash -npm install @freesewing/plugin-cutonfold -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import cutonfold from "@freesewing/plugin-cutonfold"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, cutonfold); -``` - -Now you can use [the cutonfold macro](/reference/macros/cutonfold/) in your parts. diff --git a/markdown/dev/reference/plugins/de.md b/markdown/dev/reference/plugins/de.md deleted file mode 100644 index 1bf7f18eabe..00000000000 --- a/markdown/dev/reference/plugins/de.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Plugins ---- - - diff --git a/markdown/dev/reference/plugins/dimension/de.md b/markdown/dev/reference/plugins/dimension/de.md deleted file mode 100644 index 15a168d7229..00000000000 --- a/markdown/dev/reference/plugins/dimension/de.md +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: dimension ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-dimension.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-dimension)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-dimension](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-dimension.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-dimension) - -The **dimension** plugin provides the following [macros](/plugins#macros): - - - [hd](#hd) : Adds a horizontal dimension - - [vd](#vd) : Adds a vertical dimension - - [ld](#ld) : Adds a linear dimension - - [pd](#pd) : Adds a dimension along a path - - - -```js -let { Point, points, Path, paths, macro } = part.shorthand(); - -points.A = new Point(0, 0); -points.B = new Point(0, 100); -points.C = new Point(50, 100); -points.D = new Point(100, 50); -points.DCp1 = new Point(100, 0); - -paths.box = new Path() - .move(points.A) - .line(points.B) - .line(points.C) - .line(points.D) - .curve(points.DCp1, points.A, points.A) - .close(); - -macro("vd", { - from: points.A, - to: points.B, - x: points.A.x - 15 -}); - -macro("hd", { - from: points.B, - to: points.C, - y: points.B.y + 15 -}); - -macro("ld", { - from: points.C, - to: points.D, - d: -15 -}); - -macro("ld", { - from: points.C, - to: points.D, - d: -30, - text: "Custom text" -}); - -macro("pd", { - path: new Path().move(points.A).curve(points.A, points.DCp1, points.D), - d: -15 -}); -``` - - - -The dimension plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-dimension -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import dimension from "@freesewing/plugin-dimension"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, dimension); -``` - -Now you can use the following macros in your parts: - - - [hd](/reference/macros/hd/) - - [vd](/reference/macros/vd/) - - [ld](/reference/macros/ld/) - - [pd](/reference/macros/pd/) diff --git a/markdown/dev/reference/plugins/dimension/es.md b/markdown/dev/reference/plugins/dimension/es.md deleted file mode 100644 index 15a168d7229..00000000000 --- a/markdown/dev/reference/plugins/dimension/es.md +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: dimension ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-dimension.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-dimension)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-dimension](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-dimension.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-dimension) - -The **dimension** plugin provides the following [macros](/plugins#macros): - - - [hd](#hd) : Adds a horizontal dimension - - [vd](#vd) : Adds a vertical dimension - - [ld](#ld) : Adds a linear dimension - - [pd](#pd) : Adds a dimension along a path - - - -```js -let { Point, points, Path, paths, macro } = part.shorthand(); - -points.A = new Point(0, 0); -points.B = new Point(0, 100); -points.C = new Point(50, 100); -points.D = new Point(100, 50); -points.DCp1 = new Point(100, 0); - -paths.box = new Path() - .move(points.A) - .line(points.B) - .line(points.C) - .line(points.D) - .curve(points.DCp1, points.A, points.A) - .close(); - -macro("vd", { - from: points.A, - to: points.B, - x: points.A.x - 15 -}); - -macro("hd", { - from: points.B, - to: points.C, - y: points.B.y + 15 -}); - -macro("ld", { - from: points.C, - to: points.D, - d: -15 -}); - -macro("ld", { - from: points.C, - to: points.D, - d: -30, - text: "Custom text" -}); - -macro("pd", { - path: new Path().move(points.A).curve(points.A, points.DCp1, points.D), - d: -15 -}); -``` - - - -The dimension plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-dimension -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import dimension from "@freesewing/plugin-dimension"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, dimension); -``` - -Now you can use the following macros in your parts: - - - [hd](/reference/macros/hd/) - - [vd](/reference/macros/vd/) - - [ld](/reference/macros/ld/) - - [pd](/reference/macros/pd/) diff --git a/markdown/dev/reference/plugins/dimension/fr.md b/markdown/dev/reference/plugins/dimension/fr.md deleted file mode 100644 index 15a168d7229..00000000000 --- a/markdown/dev/reference/plugins/dimension/fr.md +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: dimension ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-dimension.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-dimension)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-dimension](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-dimension.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-dimension) - -The **dimension** plugin provides the following [macros](/plugins#macros): - - - [hd](#hd) : Adds a horizontal dimension - - [vd](#vd) : Adds a vertical dimension - - [ld](#ld) : Adds a linear dimension - - [pd](#pd) : Adds a dimension along a path - - - -```js -let { Point, points, Path, paths, macro } = part.shorthand(); - -points.A = new Point(0, 0); -points.B = new Point(0, 100); -points.C = new Point(50, 100); -points.D = new Point(100, 50); -points.DCp1 = new Point(100, 0); - -paths.box = new Path() - .move(points.A) - .line(points.B) - .line(points.C) - .line(points.D) - .curve(points.DCp1, points.A, points.A) - .close(); - -macro("vd", { - from: points.A, - to: points.B, - x: points.A.x - 15 -}); - -macro("hd", { - from: points.B, - to: points.C, - y: points.B.y + 15 -}); - -macro("ld", { - from: points.C, - to: points.D, - d: -15 -}); - -macro("ld", { - from: points.C, - to: points.D, - d: -30, - text: "Custom text" -}); - -macro("pd", { - path: new Path().move(points.A).curve(points.A, points.DCp1, points.D), - d: -15 -}); -``` - - - -The dimension plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-dimension -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import dimension from "@freesewing/plugin-dimension"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, dimension); -``` - -Now you can use the following macros in your parts: - - - [hd](/reference/macros/hd/) - - [vd](/reference/macros/vd/) - - [ld](/reference/macros/ld/) - - [pd](/reference/macros/pd/) diff --git a/markdown/dev/reference/plugins/dimension/nl.md b/markdown/dev/reference/plugins/dimension/nl.md deleted file mode 100644 index 15a168d7229..00000000000 --- a/markdown/dev/reference/plugins/dimension/nl.md +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: dimension ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-dimension.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-dimension)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-dimension](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-dimension.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-dimension) - -The **dimension** plugin provides the following [macros](/plugins#macros): - - - [hd](#hd) : Adds a horizontal dimension - - [vd](#vd) : Adds a vertical dimension - - [ld](#ld) : Adds a linear dimension - - [pd](#pd) : Adds a dimension along a path - - - -```js -let { Point, points, Path, paths, macro } = part.shorthand(); - -points.A = new Point(0, 0); -points.B = new Point(0, 100); -points.C = new Point(50, 100); -points.D = new Point(100, 50); -points.DCp1 = new Point(100, 0); - -paths.box = new Path() - .move(points.A) - .line(points.B) - .line(points.C) - .line(points.D) - .curve(points.DCp1, points.A, points.A) - .close(); - -macro("vd", { - from: points.A, - to: points.B, - x: points.A.x - 15 -}); - -macro("hd", { - from: points.B, - to: points.C, - y: points.B.y + 15 -}); - -macro("ld", { - from: points.C, - to: points.D, - d: -15 -}); - -macro("ld", { - from: points.C, - to: points.D, - d: -30, - text: "Custom text" -}); - -macro("pd", { - path: new Path().move(points.A).curve(points.A, points.DCp1, points.D), - d: -15 -}); -``` - - - -The dimension plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-dimension -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import dimension from "@freesewing/plugin-dimension"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, dimension); -``` - -Now you can use the following macros in your parts: - - - [hd](/reference/macros/hd/) - - [vd](/reference/macros/vd/) - - [ld](/reference/macros/ld/) - - [pd](/reference/macros/pd/) diff --git a/markdown/dev/reference/plugins/es.md b/markdown/dev/reference/plugins/es.md deleted file mode 100644 index 1bf7f18eabe..00000000000 --- a/markdown/dev/reference/plugins/es.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Plugins ---- - - diff --git a/markdown/dev/reference/plugins/flip/de.md b/markdown/dev/reference/plugins/flip/de.md deleted file mode 100644 index e7b2173a8ac..00000000000 --- a/markdown/dev/reference/plugins/flip/de.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: flip ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-flip.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-flip)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-flip](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-flip.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-flip) - -The **flip** plugin provides [the flip macro](/refernce/macros/flip/) which flips (mirrors) an entire part vertically around the Y-axis. - -```js -let { macro } = part.shorthand(); - -macro("flip"); -``` - -## Installation - -```bash -npm install @freesewing/plugin-flip -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import flip from "@freesewing/plugin-flip"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, flip); -``` - -Now you can use [the flip macro](/reference/macros/flip) in your parts. diff --git a/markdown/dev/reference/plugins/flip/es.md b/markdown/dev/reference/plugins/flip/es.md deleted file mode 100644 index e7b2173a8ac..00000000000 --- a/markdown/dev/reference/plugins/flip/es.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: flip ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-flip.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-flip)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-flip](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-flip.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-flip) - -The **flip** plugin provides [the flip macro](/refernce/macros/flip/) which flips (mirrors) an entire part vertically around the Y-axis. - -```js -let { macro } = part.shorthand(); - -macro("flip"); -``` - -## Installation - -```bash -npm install @freesewing/plugin-flip -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import flip from "@freesewing/plugin-flip"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, flip); -``` - -Now you can use [the flip macro](/reference/macros/flip) in your parts. diff --git a/markdown/dev/reference/plugins/flip/fr.md b/markdown/dev/reference/plugins/flip/fr.md deleted file mode 100644 index e7b2173a8ac..00000000000 --- a/markdown/dev/reference/plugins/flip/fr.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: flip ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-flip.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-flip)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-flip](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-flip.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-flip) - -The **flip** plugin provides [the flip macro](/refernce/macros/flip/) which flips (mirrors) an entire part vertically around the Y-axis. - -```js -let { macro } = part.shorthand(); - -macro("flip"); -``` - -## Installation - -```bash -npm install @freesewing/plugin-flip -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import flip from "@freesewing/plugin-flip"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, flip); -``` - -Now you can use [the flip macro](/reference/macros/flip) in your parts. diff --git a/markdown/dev/reference/plugins/flip/nl.md b/markdown/dev/reference/plugins/flip/nl.md deleted file mode 100644 index e7b2173a8ac..00000000000 --- a/markdown/dev/reference/plugins/flip/nl.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: flip ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-flip.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-flip)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-flip](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-flip.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-flip) - -The **flip** plugin provides [the flip macro](/refernce/macros/flip/) which flips (mirrors) an entire part vertically around the Y-axis. - -```js -let { macro } = part.shorthand(); - -macro("flip"); -``` - -## Installation - -```bash -npm install @freesewing/plugin-flip -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import flip from "@freesewing/plugin-flip"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, flip); -``` - -Now you can use [the flip macro](/reference/macros/flip) in your parts. diff --git a/markdown/dev/reference/plugins/fr.md b/markdown/dev/reference/plugins/fr.md deleted file mode 100644 index 1bf7f18eabe..00000000000 --- a/markdown/dev/reference/plugins/fr.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Plugins ---- - - diff --git a/markdown/dev/reference/plugins/grainline/de.md b/markdown/dev/reference/plugins/grainline/de.md deleted file mode 100644 index d0939b28ab8..00000000000 --- a/markdown/dev/reference/plugins/grainline/de.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: grainline ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-grainline.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-grainline)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-grainline](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-grainline.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-grainline) - -The **grainline** plugin provides [the grainline macro](/reference/macros/grainline/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.grainlineFrom = new Point(10, 10); -points.grainlineTo = new Point(100, 10); - -macro("grainline", { - from: points.grainlineFrom, - to: points.grainlineTo -}); -``` - - - -The grainline plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-grainline -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import grainline from "@freesewing/plugin-grainline"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, grainline); -``` - -Now you can use [the grainline macro](/reference/macros/grainline) in your parts. diff --git a/markdown/dev/reference/plugins/grainline/es.md b/markdown/dev/reference/plugins/grainline/es.md deleted file mode 100644 index d0939b28ab8..00000000000 --- a/markdown/dev/reference/plugins/grainline/es.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: grainline ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-grainline.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-grainline)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-grainline](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-grainline.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-grainline) - -The **grainline** plugin provides [the grainline macro](/reference/macros/grainline/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.grainlineFrom = new Point(10, 10); -points.grainlineTo = new Point(100, 10); - -macro("grainline", { - from: points.grainlineFrom, - to: points.grainlineTo -}); -``` - - - -The grainline plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-grainline -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import grainline from "@freesewing/plugin-grainline"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, grainline); -``` - -Now you can use [the grainline macro](/reference/macros/grainline) in your parts. diff --git a/markdown/dev/reference/plugins/grainline/fr.md b/markdown/dev/reference/plugins/grainline/fr.md deleted file mode 100644 index d0939b28ab8..00000000000 --- a/markdown/dev/reference/plugins/grainline/fr.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: grainline ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-grainline.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-grainline)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-grainline](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-grainline.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-grainline) - -The **grainline** plugin provides [the grainline macro](/reference/macros/grainline/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.grainlineFrom = new Point(10, 10); -points.grainlineTo = new Point(100, 10); - -macro("grainline", { - from: points.grainlineFrom, - to: points.grainlineTo -}); -``` - - - -The grainline plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-grainline -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import grainline from "@freesewing/plugin-grainline"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, grainline); -``` - -Now you can use [the grainline macro](/reference/macros/grainline) in your parts. diff --git a/markdown/dev/reference/plugins/grainline/nl.md b/markdown/dev/reference/plugins/grainline/nl.md deleted file mode 100644 index d0939b28ab8..00000000000 --- a/markdown/dev/reference/plugins/grainline/nl.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: grainline ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-grainline.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-grainline)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-grainline](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-grainline.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-grainline) - -The **grainline** plugin provides [the grainline macro](/reference/macros/grainline/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.grainlineFrom = new Point(10, 10); -points.grainlineTo = new Point(100, 10); - -macro("grainline", { - from: points.grainlineFrom, - to: points.grainlineTo -}); -``` - - - -The grainline plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-grainline -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import grainline from "@freesewing/plugin-grainline"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, grainline); -``` - -Now you can use [the grainline macro](/reference/macros/grainline) in your parts. diff --git a/markdown/dev/reference/plugins/i18n/de.md b/markdown/dev/reference/plugins/i18n/de.md deleted file mode 100644 index 096682d73af..00000000000 --- a/markdown/dev/reference/plugins/i18n/de.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: i18n ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-pink.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-i18n.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-i18n)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-i18n](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-i18n.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-i18n) - -The **i18n** plugin provides translation for your pattern: - - - -It uses the [`insertText`](/plugins#inserttext) hook to do so. - - - -This plugin provides the mechanism for translation, but does not come with translations itself. -For this, you can use our [i18n package](/reference/packages/i18n). - - - -## Installation - -```bash -npm install @freesewing/plugin-i18n -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import i18n from "@freesewing/plugin-i18n"; -import translations from "@freesewing/i18n"; - -const myAaron = new Aaron() - .use(i18nPlugin, { strings: translations }); -``` - -You should also pass a second argument which holds your translations. It should be structured as such: - -```js -{ - strings: - en: { - example: "Example" - }, - nl: { - example: "Voorbeeld" - }, - // More languages can follow - } -} -``` - - diff --git a/markdown/dev/reference/plugins/i18n/es.md b/markdown/dev/reference/plugins/i18n/es.md deleted file mode 100644 index 096682d73af..00000000000 --- a/markdown/dev/reference/plugins/i18n/es.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: i18n ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-pink.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-i18n.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-i18n)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-i18n](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-i18n.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-i18n) - -The **i18n** plugin provides translation for your pattern: - - - -It uses the [`insertText`](/plugins#inserttext) hook to do so. - - - -This plugin provides the mechanism for translation, but does not come with translations itself. -For this, you can use our [i18n package](/reference/packages/i18n). - - - -## Installation - -```bash -npm install @freesewing/plugin-i18n -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import i18n from "@freesewing/plugin-i18n"; -import translations from "@freesewing/i18n"; - -const myAaron = new Aaron() - .use(i18nPlugin, { strings: translations }); -``` - -You should also pass a second argument which holds your translations. It should be structured as such: - -```js -{ - strings: - en: { - example: "Example" - }, - nl: { - example: "Voorbeeld" - }, - // More languages can follow - } -} -``` - - diff --git a/markdown/dev/reference/plugins/i18n/fr.md b/markdown/dev/reference/plugins/i18n/fr.md deleted file mode 100644 index 096682d73af..00000000000 --- a/markdown/dev/reference/plugins/i18n/fr.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: i18n ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-pink.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-i18n.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-i18n)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-i18n](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-i18n.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-i18n) - -The **i18n** plugin provides translation for your pattern: - - - -It uses the [`insertText`](/plugins#inserttext) hook to do so. - - - -This plugin provides the mechanism for translation, but does not come with translations itself. -For this, you can use our [i18n package](/reference/packages/i18n). - - - -## Installation - -```bash -npm install @freesewing/plugin-i18n -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import i18n from "@freesewing/plugin-i18n"; -import translations from "@freesewing/i18n"; - -const myAaron = new Aaron() - .use(i18nPlugin, { strings: translations }); -``` - -You should also pass a second argument which holds your translations. It should be structured as such: - -```js -{ - strings: - en: { - example: "Example" - }, - nl: { - example: "Voorbeeld" - }, - // More languages can follow - } -} -``` - - diff --git a/markdown/dev/reference/plugins/i18n/nl.md b/markdown/dev/reference/plugins/i18n/nl.md deleted file mode 100644 index 096682d73af..00000000000 --- a/markdown/dev/reference/plugins/i18n/nl.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: i18n ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-pink.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-i18n.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-i18n)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-i18n](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-i18n.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-i18n) - -The **i18n** plugin provides translation for your pattern: - - - -It uses the [`insertText`](/plugins#inserttext) hook to do so. - - - -This plugin provides the mechanism for translation, but does not come with translations itself. -For this, you can use our [i18n package](/reference/packages/i18n). - - - -## Installation - -```bash -npm install @freesewing/plugin-i18n -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import i18n from "@freesewing/plugin-i18n"; -import translations from "@freesewing/i18n"; - -const myAaron = new Aaron() - .use(i18nPlugin, { strings: translations }); -``` - -You should also pass a second argument which holds your translations. It should be structured as such: - -```js -{ - strings: - en: { - example: "Example" - }, - nl: { - example: "Voorbeeld" - }, - // More languages can follow - } -} -``` - - diff --git a/markdown/dev/reference/plugins/logo/de.md b/markdown/dev/reference/plugins/logo/de.md deleted file mode 100644 index 04cdf984ad2..00000000000 --- a/markdown/dev/reference/plugins/logo/de.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: logo ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-logo.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-logo)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-logo](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-logo.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-logo) - -The **logo** plugin provides [the logo snippet](/reference/snippets/): - - - -```js -let { Point, snippets, Snippet } = part.shorthand(); - -snippets.logo = new Snippet("logo", new Point(50, 30)); -``` - - - -The logo plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-logo -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import logo from "@freesewing/plugin-logo"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, logo); -``` - diff --git a/markdown/dev/reference/plugins/logo/es.md b/markdown/dev/reference/plugins/logo/es.md deleted file mode 100644 index 04cdf984ad2..00000000000 --- a/markdown/dev/reference/plugins/logo/es.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: logo ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-logo.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-logo)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-logo](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-logo.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-logo) - -The **logo** plugin provides [the logo snippet](/reference/snippets/): - - - -```js -let { Point, snippets, Snippet } = part.shorthand(); - -snippets.logo = new Snippet("logo", new Point(50, 30)); -``` - - - -The logo plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-logo -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import logo from "@freesewing/plugin-logo"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, logo); -``` - diff --git a/markdown/dev/reference/plugins/logo/fr.md b/markdown/dev/reference/plugins/logo/fr.md deleted file mode 100644 index 04cdf984ad2..00000000000 --- a/markdown/dev/reference/plugins/logo/fr.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: logo ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-logo.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-logo)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-logo](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-logo.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-logo) - -The **logo** plugin provides [the logo snippet](/reference/snippets/): - - - -```js -let { Point, snippets, Snippet } = part.shorthand(); - -snippets.logo = new Snippet("logo", new Point(50, 30)); -``` - - - -The logo plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-logo -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import logo from "@freesewing/plugin-logo"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, logo); -``` - diff --git a/markdown/dev/reference/plugins/logo/nl.md b/markdown/dev/reference/plugins/logo/nl.md deleted file mode 100644 index 04cdf984ad2..00000000000 --- a/markdown/dev/reference/plugins/logo/nl.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: logo ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-logo.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-logo)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-logo](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-logo.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-logo) - -The **logo** plugin provides [the logo snippet](/reference/snippets/): - - - -```js -let { Point, snippets, Snippet } = part.shorthand(); - -snippets.logo = new Snippet("logo", new Point(50, 30)); -``` - - - -The logo plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-logo -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import logo from "@freesewing/plugin-logo"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, logo); -``` - diff --git a/markdown/dev/reference/plugins/nl.md b/markdown/dev/reference/plugins/nl.md deleted file mode 100644 index 1bf7f18eabe..00000000000 --- a/markdown/dev/reference/plugins/nl.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Plugins ---- - - diff --git a/markdown/dev/reference/plugins/round/de.md b/markdown/dev/reference/plugins/round/de.md deleted file mode 100644 index 2e5d2a01af3..00000000000 --- a/markdown/dev/reference/plugins/round/de.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: round ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-round.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-round)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-round](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-round.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-round) - -The **round** plugin provides [the round macro](/reference/macros/round/): - - - -```js -points.topLeft = new Point(0, 0); -points.bottomLeft = new Point(0, 30); -points.topRight = new Point(100, 0); -points.bottomRight = new Point(100, 30); - -paths.demo = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .close() - .attr("class", "note dashed"); - -macro("round", { - from: points.topLeft, - to: points.bottomRight, - via: points.bottomLeft, - radius: 10, - prefix: 'bl', - render: true -}); -macro("round", { - from: points.bottomRight, - to: points.topLeft, - via: points.topRight, - radius: 20, - prefix: 'tr', - render: true -}); -``` - - - -The round plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-round -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import round from "@freesewing/plugin-round"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, round); -``` - -Now you can use [the round macro](/reference/macros/round/): in your parts. - - - -The round macro is intended for rounding 90° angles - - - - - diff --git a/markdown/dev/reference/plugins/round/es.md b/markdown/dev/reference/plugins/round/es.md deleted file mode 100644 index 2e5d2a01af3..00000000000 --- a/markdown/dev/reference/plugins/round/es.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: round ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-round.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-round)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-round](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-round.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-round) - -The **round** plugin provides [the round macro](/reference/macros/round/): - - - -```js -points.topLeft = new Point(0, 0); -points.bottomLeft = new Point(0, 30); -points.topRight = new Point(100, 0); -points.bottomRight = new Point(100, 30); - -paths.demo = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .close() - .attr("class", "note dashed"); - -macro("round", { - from: points.topLeft, - to: points.bottomRight, - via: points.bottomLeft, - radius: 10, - prefix: 'bl', - render: true -}); -macro("round", { - from: points.bottomRight, - to: points.topLeft, - via: points.topRight, - radius: 20, - prefix: 'tr', - render: true -}); -``` - - - -The round plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-round -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import round from "@freesewing/plugin-round"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, round); -``` - -Now you can use [the round macro](/reference/macros/round/): in your parts. - - - -The round macro is intended for rounding 90° angles - - - - - diff --git a/markdown/dev/reference/plugins/round/fr.md b/markdown/dev/reference/plugins/round/fr.md deleted file mode 100644 index 2e5d2a01af3..00000000000 --- a/markdown/dev/reference/plugins/round/fr.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: round ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-round.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-round)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-round](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-round.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-round) - -The **round** plugin provides [the round macro](/reference/macros/round/): - - - -```js -points.topLeft = new Point(0, 0); -points.bottomLeft = new Point(0, 30); -points.topRight = new Point(100, 0); -points.bottomRight = new Point(100, 30); - -paths.demo = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .close() - .attr("class", "note dashed"); - -macro("round", { - from: points.topLeft, - to: points.bottomRight, - via: points.bottomLeft, - radius: 10, - prefix: 'bl', - render: true -}); -macro("round", { - from: points.bottomRight, - to: points.topLeft, - via: points.topRight, - radius: 20, - prefix: 'tr', - render: true -}); -``` - - - -The round plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-round -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import round from "@freesewing/plugin-round"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, round); -``` - -Now you can use [the round macro](/reference/macros/round/): in your parts. - - - -The round macro is intended for rounding 90° angles - - - - - diff --git a/markdown/dev/reference/plugins/round/nl.md b/markdown/dev/reference/plugins/round/nl.md deleted file mode 100644 index 2e5d2a01af3..00000000000 --- a/markdown/dev/reference/plugins/round/nl.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: round ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-round.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-round)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-round](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-round.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-round) - -The **round** plugin provides [the round macro](/reference/macros/round/): - - - -```js -points.topLeft = new Point(0, 0); -points.bottomLeft = new Point(0, 30); -points.topRight = new Point(100, 0); -points.bottomRight = new Point(100, 30); - -paths.demo = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .close() - .attr("class", "note dashed"); - -macro("round", { - from: points.topLeft, - to: points.bottomRight, - via: points.bottomLeft, - radius: 10, - prefix: 'bl', - render: true -}); -macro("round", { - from: points.bottomRight, - to: points.topLeft, - via: points.topRight, - radius: 20, - prefix: 'tr', - render: true -}); -``` - - - -The round plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-round -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import round from "@freesewing/plugin-round"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, round); -``` - -Now you can use [the round macro](/reference/macros/round/): in your parts. - - - -The round macro is intended for rounding 90° angles - - - - - diff --git a/markdown/dev/reference/plugins/scalebox/de.md b/markdown/dev/reference/plugins/scalebox/de.md deleted file mode 100644 index beb68184ec9..00000000000 --- a/markdown/dev/reference/plugins/scalebox/de.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: scalebox ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-scalebox.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-scalebox)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-scalebox](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-scalebox.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-scalebox) - -The **scalebox** plugin provides [the scalebox macro](/reference/macros/scalebox/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.anchor = new Point(0, 0); - -macro("scalebox", { - at: points.anchor -}); -``` - - - -###### Purpose of a scale box - -A scalebox allows people to verify the pattern is printed at the correct scale - - - - - -The scalebox plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-scalebox -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import scalebox from "@freesewing/plugin-scalebox"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, scalebox); -``` - -Now you can use [the scalebox macro](/reference/macros/scalebox/) the macro in your parts. diff --git a/markdown/dev/reference/plugins/scalebox/es.md b/markdown/dev/reference/plugins/scalebox/es.md deleted file mode 100644 index beb68184ec9..00000000000 --- a/markdown/dev/reference/plugins/scalebox/es.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: scalebox ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-scalebox.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-scalebox)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-scalebox](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-scalebox.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-scalebox) - -The **scalebox** plugin provides [the scalebox macro](/reference/macros/scalebox/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.anchor = new Point(0, 0); - -macro("scalebox", { - at: points.anchor -}); -``` - - - -###### Purpose of a scale box - -A scalebox allows people to verify the pattern is printed at the correct scale - - - - - -The scalebox plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-scalebox -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import scalebox from "@freesewing/plugin-scalebox"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, scalebox); -``` - -Now you can use [the scalebox macro](/reference/macros/scalebox/) the macro in your parts. diff --git a/markdown/dev/reference/plugins/scalebox/fr.md b/markdown/dev/reference/plugins/scalebox/fr.md deleted file mode 100644 index beb68184ec9..00000000000 --- a/markdown/dev/reference/plugins/scalebox/fr.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: scalebox ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-scalebox.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-scalebox)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-scalebox](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-scalebox.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-scalebox) - -The **scalebox** plugin provides [the scalebox macro](/reference/macros/scalebox/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.anchor = new Point(0, 0); - -macro("scalebox", { - at: points.anchor -}); -``` - - - -###### Purpose of a scale box - -A scalebox allows people to verify the pattern is printed at the correct scale - - - - - -The scalebox plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-scalebox -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import scalebox from "@freesewing/plugin-scalebox"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, scalebox); -``` - -Now you can use [the scalebox macro](/reference/macros/scalebox/) the macro in your parts. diff --git a/markdown/dev/reference/plugins/scalebox/nl.md b/markdown/dev/reference/plugins/scalebox/nl.md deleted file mode 100644 index beb68184ec9..00000000000 --- a/markdown/dev/reference/plugins/scalebox/nl.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: scalebox ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-scalebox.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-scalebox)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-scalebox](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-scalebox.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-scalebox) - -The **scalebox** plugin provides [the scalebox macro](/reference/macros/scalebox/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.anchor = new Point(0, 0); - -macro("scalebox", { - at: points.anchor -}); -``` - - - -###### Purpose of a scale box - -A scalebox allows people to verify the pattern is printed at the correct scale - - - - - -The scalebox plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-scalebox -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import scalebox from "@freesewing/plugin-scalebox"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, scalebox); -``` - -Now you can use [the scalebox macro](/reference/macros/scalebox/) the macro in your parts. diff --git a/markdown/dev/reference/plugins/sprinkle/de.md b/markdown/dev/reference/plugins/sprinkle/de.md deleted file mode 100644 index 31a0a9756cb..00000000000 --- a/markdown/dev/reference/plugins/sprinkle/de.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: sprinkle ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-sprinkle.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-sprinkle)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-sprinkle](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-sprinkle.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-sprinkle) - -The **sprinkle** plugin provides [the sprinkle macro](/reference/macros/sprinkle/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.a = new Point(10, 10); -points.b = new Point(20, 15); -points.c = new Point(30, 10); -points.d = new Point(40, 15); -points.e = new Point(50, 10); -points.f = new Point(60, 15); -points.g = new Point(70, 10); -points.h = new Point(80, 15); -points.i = new Point(90, 10); - -macro("sprinkle", { - snippet: "button", - on: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'] -}); -``` - - - -The sprinkle plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-sprinkle -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import sprinkle from "@freesewing/plugin-sprinkle"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, sprinkle); -``` - -Now you can use [the sprinkle macro](/reference/macros/sprinkle/) in your parts. diff --git a/markdown/dev/reference/plugins/sprinkle/es.md b/markdown/dev/reference/plugins/sprinkle/es.md deleted file mode 100644 index 31a0a9756cb..00000000000 --- a/markdown/dev/reference/plugins/sprinkle/es.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: sprinkle ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-sprinkle.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-sprinkle)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-sprinkle](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-sprinkle.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-sprinkle) - -The **sprinkle** plugin provides [the sprinkle macro](/reference/macros/sprinkle/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.a = new Point(10, 10); -points.b = new Point(20, 15); -points.c = new Point(30, 10); -points.d = new Point(40, 15); -points.e = new Point(50, 10); -points.f = new Point(60, 15); -points.g = new Point(70, 10); -points.h = new Point(80, 15); -points.i = new Point(90, 10); - -macro("sprinkle", { - snippet: "button", - on: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'] -}); -``` - - - -The sprinkle plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-sprinkle -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import sprinkle from "@freesewing/plugin-sprinkle"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, sprinkle); -``` - -Now you can use [the sprinkle macro](/reference/macros/sprinkle/) in your parts. diff --git a/markdown/dev/reference/plugins/sprinkle/fr.md b/markdown/dev/reference/plugins/sprinkle/fr.md deleted file mode 100644 index 31a0a9756cb..00000000000 --- a/markdown/dev/reference/plugins/sprinkle/fr.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: sprinkle ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-sprinkle.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-sprinkle)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-sprinkle](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-sprinkle.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-sprinkle) - -The **sprinkle** plugin provides [the sprinkle macro](/reference/macros/sprinkle/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.a = new Point(10, 10); -points.b = new Point(20, 15); -points.c = new Point(30, 10); -points.d = new Point(40, 15); -points.e = new Point(50, 10); -points.f = new Point(60, 15); -points.g = new Point(70, 10); -points.h = new Point(80, 15); -points.i = new Point(90, 10); - -macro("sprinkle", { - snippet: "button", - on: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'] -}); -``` - - - -The sprinkle plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-sprinkle -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import sprinkle from "@freesewing/plugin-sprinkle"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, sprinkle); -``` - -Now you can use [the sprinkle macro](/reference/macros/sprinkle/) in your parts. diff --git a/markdown/dev/reference/plugins/sprinkle/nl.md b/markdown/dev/reference/plugins/sprinkle/nl.md deleted file mode 100644 index 31a0a9756cb..00000000000 --- a/markdown/dev/reference/plugins/sprinkle/nl.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: sprinkle ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-sprinkle.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-sprinkle)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-sprinkle](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-sprinkle.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-sprinkle) - -The **sprinkle** plugin provides [the sprinkle macro](/reference/macros/sprinkle/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.a = new Point(10, 10); -points.b = new Point(20, 15); -points.c = new Point(30, 10); -points.d = new Point(40, 15); -points.e = new Point(50, 10); -points.f = new Point(60, 15); -points.g = new Point(70, 10); -points.h = new Point(80, 15); -points.i = new Point(90, 10); - -macro("sprinkle", { - snippet: "button", - on: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'] -}); -``` - - - -The sprinkle plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-sprinkle -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import sprinkle from "@freesewing/plugin-sprinkle"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, sprinkle); -``` - -Now you can use [the sprinkle macro](/reference/macros/sprinkle/) in your parts. diff --git a/markdown/dev/reference/plugins/svgattr/de.md b/markdown/dev/reference/plugins/svgattr/de.md deleted file mode 100644 index 62f90eff04d..00000000000 --- a/markdown/dev/reference/plugins/svgattr/de.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: svgattr ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-lime.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-svgattr.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-svgattr)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-svgattr](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-svgattr.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-svgattr) - -The **svgattr** plugin takes an object of key-value pairs and adds them to the SVG tag on render. - -It uses the [`preRender`](/plugins#preRender) hook to do so. - -## Installation - -```bash -npm install @freesewing/plugin-svgattr -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import i18n from "@freesewing/plugin-i18n"; -import translations from "@freesewing/i18n"; - -const myAaron = new Aaron() - .use(i18nPlugin, { class: "freesewing draft" }); -``` - -You should pass a second argument which holds key-value pairs of the attributes you want to add to the SVG tag. - - diff --git a/markdown/dev/reference/plugins/svgattr/es.md b/markdown/dev/reference/plugins/svgattr/es.md deleted file mode 100644 index 62f90eff04d..00000000000 --- a/markdown/dev/reference/plugins/svgattr/es.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: svgattr ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-lime.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-svgattr.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-svgattr)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-svgattr](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-svgattr.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-svgattr) - -The **svgattr** plugin takes an object of key-value pairs and adds them to the SVG tag on render. - -It uses the [`preRender`](/plugins#preRender) hook to do so. - -## Installation - -```bash -npm install @freesewing/plugin-svgattr -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import i18n from "@freesewing/plugin-i18n"; -import translations from "@freesewing/i18n"; - -const myAaron = new Aaron() - .use(i18nPlugin, { class: "freesewing draft" }); -``` - -You should pass a second argument which holds key-value pairs of the attributes you want to add to the SVG tag. - - diff --git a/markdown/dev/reference/plugins/svgattr/fr.md b/markdown/dev/reference/plugins/svgattr/fr.md deleted file mode 100644 index 62f90eff04d..00000000000 --- a/markdown/dev/reference/plugins/svgattr/fr.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: svgattr ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-lime.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-svgattr.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-svgattr)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-svgattr](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-svgattr.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-svgattr) - -The **svgattr** plugin takes an object of key-value pairs and adds them to the SVG tag on render. - -It uses the [`preRender`](/plugins#preRender) hook to do so. - -## Installation - -```bash -npm install @freesewing/plugin-svgattr -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import i18n from "@freesewing/plugin-i18n"; -import translations from "@freesewing/i18n"; - -const myAaron = new Aaron() - .use(i18nPlugin, { class: "freesewing draft" }); -``` - -You should pass a second argument which holds key-value pairs of the attributes you want to add to the SVG tag. - - diff --git a/markdown/dev/reference/plugins/svgattr/nl.md b/markdown/dev/reference/plugins/svgattr/nl.md deleted file mode 100644 index 62f90eff04d..00000000000 --- a/markdown/dev/reference/plugins/svgattr/nl.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: svgattr ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-lime.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-svgattr.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-svgattr)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-svgattr](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-svgattr.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-svgattr) - -The **svgattr** plugin takes an object of key-value pairs and adds them to the SVG tag on render. - -It uses the [`preRender`](/plugins#preRender) hook to do so. - -## Installation - -```bash -npm install @freesewing/plugin-svgattr -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import i18n from "@freesewing/plugin-i18n"; -import translations from "@freesewing/i18n"; - -const myAaron = new Aaron() - .use(i18nPlugin, { class: "freesewing draft" }); -``` - -You should pass a second argument which holds key-value pairs of the attributes you want to add to the SVG tag. - - diff --git a/markdown/dev/reference/plugins/theme/de.md b/markdown/dev/reference/plugins/theme/de.md deleted file mode 100644 index 7637229473d..00000000000 --- a/markdown/dev/reference/plugins/theme/de.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: theme ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-lime.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-theme.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-theme)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-theme](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-theme.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-theme) - -The **theme** plugin provides CSS styling for SVG output: - - - -It uses the [`preRender`](/plugins#prerender) hook to do so. - - - -This plugin only applies to rendered SVG output. If you use our React component to display -patterns, you should style our component or use our [css-theme](/reference/packages/css-theme) package. - - - -## Installation - -```bash -npm install @freesewing/plugin-theme -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import theme from "@freesewing/plugin-theme"; - -const myAaron = new Aaron() - .use(theme); -``` - diff --git a/markdown/dev/reference/plugins/theme/es.md b/markdown/dev/reference/plugins/theme/es.md deleted file mode 100644 index 7637229473d..00000000000 --- a/markdown/dev/reference/plugins/theme/es.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: theme ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-lime.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-theme.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-theme)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-theme](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-theme.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-theme) - -The **theme** plugin provides CSS styling for SVG output: - - - -It uses the [`preRender`](/plugins#prerender) hook to do so. - - - -This plugin only applies to rendered SVG output. If you use our React component to display -patterns, you should style our component or use our [css-theme](/reference/packages/css-theme) package. - - - -## Installation - -```bash -npm install @freesewing/plugin-theme -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import theme from "@freesewing/plugin-theme"; - -const myAaron = new Aaron() - .use(theme); -``` - diff --git a/markdown/dev/reference/plugins/theme/fr.md b/markdown/dev/reference/plugins/theme/fr.md deleted file mode 100644 index 7637229473d..00000000000 --- a/markdown/dev/reference/plugins/theme/fr.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: theme ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-lime.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-theme.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-theme)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-theme](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-theme.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-theme) - -The **theme** plugin provides CSS styling for SVG output: - - - -It uses the [`preRender`](/plugins#prerender) hook to do so. - - - -This plugin only applies to rendered SVG output. If you use our React component to display -patterns, you should style our component or use our [css-theme](/reference/packages/css-theme) package. - - - -## Installation - -```bash -npm install @freesewing/plugin-theme -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import theme from "@freesewing/plugin-theme"; - -const myAaron = new Aaron() - .use(theme); -``` - diff --git a/markdown/dev/reference/plugins/theme/nl.md b/markdown/dev/reference/plugins/theme/nl.md deleted file mode 100644 index 7637229473d..00000000000 --- a/markdown/dev/reference/plugins/theme/nl.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: theme ---- - -[![Run-time plugin](https://img.shields.io/badge/Type-run--time-lime.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-theme.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-theme)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-theme](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-theme.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-theme) - -The **theme** plugin provides CSS styling for SVG output: - - - -It uses the [`preRender`](/plugins#prerender) hook to do so. - - - -This plugin only applies to rendered SVG output. If you use our React component to display -patterns, you should style our component or use our [css-theme](/reference/packages/css-theme) package. - - - -## Installation - -```bash -npm install @freesewing/plugin-theme -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import Aaron from "@freesewing/aaron"; -import theme from "@freesewing/plugin-theme"; - -const myAaron = new Aaron() - .use(theme); -``` - diff --git a/markdown/dev/reference/plugins/title/de.md b/markdown/dev/reference/plugins/title/de.md deleted file mode 100644 index 99dab178afb..00000000000 --- a/markdown/dev/reference/plugins/title/de.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: title ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-title.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-title)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-title](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-title.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-title) - -The **title** plugin provides [the title macro](/reference/macros/title/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.title = new Point(90, 45); - -macro("title", { - at: points.title, - nr: 4, - title: "sleeve" -}); -``` - - - -The title plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-title -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import title from "@freesewing/plugin-title"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, title); -``` - -Now you can use [the title macro](/reference/macros/title/) in your parts. - diff --git a/markdown/dev/reference/plugins/title/es.md b/markdown/dev/reference/plugins/title/es.md deleted file mode 100644 index 99dab178afb..00000000000 --- a/markdown/dev/reference/plugins/title/es.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: title ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-title.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-title)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-title](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-title.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-title) - -The **title** plugin provides [the title macro](/reference/macros/title/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.title = new Point(90, 45); - -macro("title", { - at: points.title, - nr: 4, - title: "sleeve" -}); -``` - - - -The title plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-title -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import title from "@freesewing/plugin-title"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, title); -``` - -Now you can use [the title macro](/reference/macros/title/) in your parts. - diff --git a/markdown/dev/reference/plugins/title/fr.md b/markdown/dev/reference/plugins/title/fr.md deleted file mode 100644 index 99dab178afb..00000000000 --- a/markdown/dev/reference/plugins/title/fr.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: title ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-title.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-title)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-title](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-title.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-title) - -The **title** plugin provides [the title macro](/reference/macros/title/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.title = new Point(90, 45); - -macro("title", { - at: points.title, - nr: 4, - title: "sleeve" -}); -``` - - - -The title plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-title -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import title from "@freesewing/plugin-title"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, title); -``` - -Now you can use [the title macro](/reference/macros/title/) in your parts. - diff --git a/markdown/dev/reference/plugins/title/nl.md b/markdown/dev/reference/plugins/title/nl.md deleted file mode 100644 index 99dab178afb..00000000000 --- a/markdown/dev/reference/plugins/title/nl.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: title ---- - -[![Build-time plugin](https://img.shields.io/badge/Type-build--time-purple.svg)](/plugins)   [![License: MIT](https://img.shields.io/npm/l/@freesewing/plugin-title.svg?label=License)](https://www.npmjs.com/package/@freesewing/plugin-title)   [![Code quality on DeepScan](https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)   [![Open issues tagged pkg:plugin-title](https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-title.svg?label=Issues)](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-title) - -The **title** plugin provides [the title macro](/reference/macros/title/): - - - -```js -let { Point, points, macro } = part.shorthand(); - -points.title = new Point(90, 45); - -macro("title", { - at: points.title, - nr: 4, - title: "sleeve" -}); -``` - - - -The title plugin is part of our [plugin-bundle](/reference/plugins/bundle) - - - -## Installation - -```bash -npm install @freesewing/plugin-title -``` - -## Usage - -Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them by passing them to the [`freesewing.Design`](/reference/api#design) constructor: - -```js -import freesewing from "@freesewing/core"; -import title from "@freesewing/plugin-title"; -import config from "../config"; - -const Pattern = new freesewing.Design(config, title); -``` - -Now you can use [the title macro](/reference/macros/title/) in your parts. - diff --git a/markdown/dev/reference/repos/backend/de.md b/markdown/dev/reference/repos/backend/de.md deleted file mode 100644 index 7071811b421..00000000000 --- a/markdown/dev/reference/repos/backend/de.md +++ /dev/null @@ -1,176 +0,0 @@ ---- -title: backend ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -See also: [The backend API reference](/reference/backend) - - - - - -Our backend is a REST API built with [Express](https://expressjs.com/), using [MongoDB](https://www.mongodb.com/) as our database. - -This backend handles the storage and retrieval of user data. Including: - - - User profiles - - Models - - Recipes - -This backend does not include any code related to our patterns. It is only required if you want to use your own instance of [freesewing.org](https://github.com/freesewing/backend). - -## Erste Schritte - -To start this backend, you'll need: - - - A MongoDB database - - Configure environment variables (see [configuration](#configuration) below) - -There's a few different ways you can get started: - -### Using our docker image and your own database - -If you just want the backend and provide your own mongo instance, you can run [our docker image](https://hub.docker.com/r/freesewing/backend) directly from the internet: - -``` -docker run --env-file .env --name fs_backend -d -p 3000:3000 freesewing/backend -``` - -Your backend will now be available at http://localhost:3000 - -### Using docker-compose - -You can use [docker-compose](https://docs.docker.com/compose/) to spin up both the backend API and a MongoDB instance. Clone the repository, and run `docker-compose up`: - -``` -git clone git@github.com:freesewing/backend.git -cd backend -docker-compose up -``` - -Your backend will now be available at http://localhost:3000 - -### Run from source - -To run the backend from source, you'll need to clone this repository and intall dependencies. - -``` -git clone git@github.com:freesewing/backend -cd backend -npm install -npm install --global backpack-core -``` - - - -We are installing [backpack-core](https://www.npmjs.com/package/backpack-core) globally for ease-of-use - - - -While developing, you can run: - -``` -npm run develop -``` - -And backpack will compile the backend, and spin it up. It will also watch for changes and re-compile every time. Handy! - -If you want to run this in production, you should build the code: - -``` -npm run build -``` - -Then use something like [PM2](http://pm2.keymetrics.io/) to run it and keep it running. - -## Configuration - -This backend can be configured with environment variables. We provide an `example.env` file that you can edit and rename to `.env`. This way they will be picked up automatically. - -The available variables are listed below, as we as in our [example.env](https://github.com/freesewing/backend/blob/develop/example.env) file. - - -| Variable | Description | -| ------------------------- | -------------------------------------------------- | -| `FS_BACKEND` | URL on which the backend is hosted | -| `FS_STATIC` | URL on which the static content is hosted | -| `FS_STORAGE` | Location on disk where to store files | -| `FS_MONGO_URI` | URL for the Mongo database | -| `FS_ENC_KEY` | Secret used for encryption of data at rest | -| `FS_SMTP_HOST` | SMTP server through which to send outgoing emails | -| `FS_SMTP_PORT` | Port to use to connect to the SMTP server | -| `FS_SMTP_USER` | SMTP relay username | -| `FS_SMTP_PASS` | SMTP relay password | -| `FS_GITHUB_CLIENT_ID` | Github client ID for Oauth signup/login via GitHub | -| `FS_GITHUB_CLIENT_SECRET` | Github client ID for Oauth signup/login via GitHub | -| `FS_GOOGLE_CLIENT_ID` | Google client ID for Oauth signup/login via Google | -| `FS_GOOGLE_CLIENT_SECRET` | Google client ID for Oauth signup/login via Google | - -## Authentication - -This API uses [JWT](https://jwt.io/) for authentication. Authenticated calls to this API should include a `Authorization` header as such: - -``` -Authorization: Bearer -``` - -The `token` is returned from the `/login`, `/oauth/login`, and `/confirm/login` endpoints. - -## CLI - -Our backend encrypts data at rest using the [mongoose-encryption](https://www.npmjs.com/package/mongoose-encryption) plugin. That's a good thing, but can complicate life a bit when you'd like to go and in make some changes to the data without going through the application code. If you use some sort of administration tools for MongoDB and write data to the DB, that data won't be encrypted. And thus reading that data back will fail (since we expect encrypted data). - -Because of this, this backend comes with a couple of command-line tools to do basic database tasks: - -| Command | Description | -| ----------------------------- | ------------------------------------- | -| `npm run clear:users` | Remove all users | -| `npm run clear:models` | Remove all models | -| `npm run clear:recipes` | Remove all recipes | -| `npm run clear:confirmations` | Remove all confirmations | -| `npm run clear:all` | Empty the entire database | -| `npm run clear:reboot` | Empty database, then load sample data | - -> **Tip**: You can use `npm run cli` to see the available options - -## Tests - -There's two ways to run tests: - - - `npm run test` will run tests that don't depend on emails - -![npm run test](https://github.com/freesewing/backend/blob/develop/test.svg) - - - `npm run testall` will runn all tests, including the ones that depend on email - -![npm run testall](https://github.com/freesewing/backend/blob/develop/testall.svg) - -To run the email tests, spin up a mailhog container with Docker: - -``` -sudo docker run -p 8025:8025 -p 1025:1025 mailhog/mailhog -``` - -Then, configure your backend as such: - -`FS_SMTP_HOST` : `localhost` (this makes sure emails go to mailhog) `FS_SMTP_PORT` : `1025` (the mailhog port) - -This allows complete end-to-end testing of signup flow and other things the depend on email sent to the user. - - -## Links - -- 💻 Maker site: [freesewing.org](https://freesewing.org) -- 👩‍💻 Developer site: [freesewing.dev](https://freesewing.dev) -- 💬 Chat/Support: [Gitter](https://gitter.im/freesewing/help) -- 🐦 Twitter: [@freesewing_org](https://twitter.com/freesewing_org) -- 📷 Instagram: [@freesewing_org](https://instagram.com/freesewing_org) - -## License - -Copyright (c) 2019 Joost De Cock - Available under the MIT license. - -See the LICENSE file for more details. diff --git a/markdown/dev/reference/repos/backend/es.md b/markdown/dev/reference/repos/backend/es.md deleted file mode 100644 index 155e9f4db3a..00000000000 --- a/markdown/dev/reference/repos/backend/es.md +++ /dev/null @@ -1,176 +0,0 @@ ---- -title: backend ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -See also: [The backend API reference](/reference/backend) - - - - - -Our backend is a REST API built with [Express](https://expressjs.com/), using [MongoDB](https://www.mongodb.com/) as our database. - -This backend handles the storage and retrieval of user data. Including: - - - User profiles - - Models - - Recipes - -This backend does not include any code related to our patterns. It is only required if you want to use your own instance of [freesewing.org](https://github.com/freesewing/backend). - -## Getting started - -To start this backend, you'll need: - - - A MongoDB database - - Configure environment variables (see [configuration](#configuration) below) - -There's a few different ways you can get started: - -### Using our docker image and your own database - -If you just want the backend and provide your own mongo instance, you can run [our docker image](https://hub.docker.com/r/freesewing/backend) directly from the internet: - -``` -docker run --env-file .env --name fs_backend -d -p 3000:3000 freesewing/backend -``` - -Your backend will now be available at http://localhost:3000 - -### Using docker-compose - -You can use [docker-compose](https://docs.docker.com/compose/) to spin up both the backend API and a MongoDB instance. Clone the repository, and run `docker-compose up`: - -``` -git clone git@github.com:freesewing/backend.git -cd backend -docker-compose up -``` - -Your backend will now be available at http://localhost:3000 - -### Run from source - -To run the backend from source, you'll need to clone this repository and intall dependencies. - -``` -git clone git@github.com:freesewing/backend -cd backend -npm install -npm install --global backpack-core -``` - - - -We are installing [backpack-core](https://www.npmjs.com/package/backpack-core) globally for ease-of-use - - - -While developing, you can run: - -``` -npm run develop -``` - -And backpack will compile the backend, and spin it up. It will also watch for changes and re-compile every time. Handy! - -If you want to run this in production, you should build the code: - -``` -npm run build -``` - -Then use something like [PM2](http://pm2.keymetrics.io/) to run it and keep it running. - -## Configuration - -This backend can be configured with environment variables. We provide an `example.env` file that you can edit and rename to `.env`. This way they will be picked up automatically. - -The available variables are listed below, as we as in our [example.env](https://github.com/freesewing/backend/blob/develop/example.env) file. - - -| Variable | Description | -| ------------------------- | -------------------------------------------------- | -| `FS_BACKEND` | URL on which the backend is hosted | -| `FS_STATIC` | URL on which the static content is hosted | -| `FS_STORAGE` | Location on disk where to store files | -| `FS_MONGO_URI` | URL for the Mongo database | -| `FS_ENC_KEY` | Secret used for encryption of data at rest | -| `FS_SMTP_HOST` | SMTP server through which to send outgoing emails | -| `FS_SMTP_PORT` | Port to use to connect to the SMTP server | -| `FS_SMTP_USER` | SMTP relay username | -| `FS_SMTP_PASS` | SMTP relay password | -| `FS_GITHUB_CLIENT_ID` | Github client ID for Oauth signup/login via GitHub | -| `FS_GITHUB_CLIENT_SECRET` | Github client ID for Oauth signup/login via GitHub | -| `FS_GOOGLE_CLIENT_ID` | Google client ID for Oauth signup/login via Google | -| `FS_GOOGLE_CLIENT_SECRET` | Google client ID for Oauth signup/login via Google | - -## Authentication - -This API uses [JWT](https://jwt.io/) for authentication. Authenticated calls to this API should include a `Authorization` header as such: - -``` -Authorization: Bearer -``` - -The `token` is returned from the `/login`, `/oauth/login`, and `/confirm/login` endpoints. - -## CLI - -Our backend encrypts data at rest using the [mongoose-encryption](https://www.npmjs.com/package/mongoose-encryption) plugin. That's a good thing, but can complicate life a bit when you'd like to go and in make some changes to the data without going through the application code. If you use some sort of administration tools for MongoDB and write data to the DB, that data won't be encrypted. And thus reading that data back will fail (since we expect encrypted data). - -Because of this, this backend comes with a couple of command-line tools to do basic database tasks: - -| Command | Description | -| ----------------------------- | ------------------------------------- | -| `npm run clear:users` | Remove all users | -| `npm run clear:models` | Remove all models | -| `npm run clear:recipes` | Remove all recipes | -| `npm run clear:confirmations` | Remove all confirmations | -| `npm run clear:all` | Empty the entire database | -| `npm run clear:reboot` | Empty database, then load sample data | - -> **Tip**: You can use `npm run cli` to see the available options - -## Tests - -There's two ways to run tests: - - - `npm run test` will run tests that don't depend on emails - -![npm run test](https://github.com/freesewing/backend/blob/develop/test.svg) - - - `npm run testall` will runn all tests, including the ones that depend on email - -![npm run testall](https://github.com/freesewing/backend/blob/develop/testall.svg) - -To run the email tests, spin up a mailhog container with Docker: - -``` -sudo docker run -p 8025:8025 -p 1025:1025 mailhog/mailhog -``` - -Then, configure your backend as such: - -`FS_SMTP_HOST` : `localhost` (this makes sure emails go to mailhog) `FS_SMTP_PORT` : `1025` (the mailhog port) - -This allows complete end-to-end testing of signup flow and other things the depend on email sent to the user. - - -## Links - -- 💻 Maker site: [freesewing.org](https://freesewing.org) -- 👩‍💻 Developer site: [freesewing.dev](https://freesewing.dev) -- 💬 Chat/Support: [Gitter](https://gitter.im/freesewing/help) -- 🐦 Twitter: [@freesewing_org](https://twitter.com/freesewing_org) -- 📷 Instagram: [@freesewing_org](https://instagram.com/freesewing_org) - -## License - -Copyright (c) 2019 Joost De Cock - Available under the MIT license. - -See the LICENSE file for more details. diff --git a/markdown/dev/reference/repos/backend/fr.md b/markdown/dev/reference/repos/backend/fr.md deleted file mode 100644 index 155e9f4db3a..00000000000 --- a/markdown/dev/reference/repos/backend/fr.md +++ /dev/null @@ -1,176 +0,0 @@ ---- -title: backend ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -See also: [The backend API reference](/reference/backend) - - - - - -Our backend is a REST API built with [Express](https://expressjs.com/), using [MongoDB](https://www.mongodb.com/) as our database. - -This backend handles the storage and retrieval of user data. Including: - - - User profiles - - Models - - Recipes - -This backend does not include any code related to our patterns. It is only required if you want to use your own instance of [freesewing.org](https://github.com/freesewing/backend). - -## Getting started - -To start this backend, you'll need: - - - A MongoDB database - - Configure environment variables (see [configuration](#configuration) below) - -There's a few different ways you can get started: - -### Using our docker image and your own database - -If you just want the backend and provide your own mongo instance, you can run [our docker image](https://hub.docker.com/r/freesewing/backend) directly from the internet: - -``` -docker run --env-file .env --name fs_backend -d -p 3000:3000 freesewing/backend -``` - -Your backend will now be available at http://localhost:3000 - -### Using docker-compose - -You can use [docker-compose](https://docs.docker.com/compose/) to spin up both the backend API and a MongoDB instance. Clone the repository, and run `docker-compose up`: - -``` -git clone git@github.com:freesewing/backend.git -cd backend -docker-compose up -``` - -Your backend will now be available at http://localhost:3000 - -### Run from source - -To run the backend from source, you'll need to clone this repository and intall dependencies. - -``` -git clone git@github.com:freesewing/backend -cd backend -npm install -npm install --global backpack-core -``` - - - -We are installing [backpack-core](https://www.npmjs.com/package/backpack-core) globally for ease-of-use - - - -While developing, you can run: - -``` -npm run develop -``` - -And backpack will compile the backend, and spin it up. It will also watch for changes and re-compile every time. Handy! - -If you want to run this in production, you should build the code: - -``` -npm run build -``` - -Then use something like [PM2](http://pm2.keymetrics.io/) to run it and keep it running. - -## Configuration - -This backend can be configured with environment variables. We provide an `example.env` file that you can edit and rename to `.env`. This way they will be picked up automatically. - -The available variables are listed below, as we as in our [example.env](https://github.com/freesewing/backend/blob/develop/example.env) file. - - -| Variable | Description | -| ------------------------- | -------------------------------------------------- | -| `FS_BACKEND` | URL on which the backend is hosted | -| `FS_STATIC` | URL on which the static content is hosted | -| `FS_STORAGE` | Location on disk where to store files | -| `FS_MONGO_URI` | URL for the Mongo database | -| `FS_ENC_KEY` | Secret used for encryption of data at rest | -| `FS_SMTP_HOST` | SMTP server through which to send outgoing emails | -| `FS_SMTP_PORT` | Port to use to connect to the SMTP server | -| `FS_SMTP_USER` | SMTP relay username | -| `FS_SMTP_PASS` | SMTP relay password | -| `FS_GITHUB_CLIENT_ID` | Github client ID for Oauth signup/login via GitHub | -| `FS_GITHUB_CLIENT_SECRET` | Github client ID for Oauth signup/login via GitHub | -| `FS_GOOGLE_CLIENT_ID` | Google client ID for Oauth signup/login via Google | -| `FS_GOOGLE_CLIENT_SECRET` | Google client ID for Oauth signup/login via Google | - -## Authentication - -This API uses [JWT](https://jwt.io/) for authentication. Authenticated calls to this API should include a `Authorization` header as such: - -``` -Authorization: Bearer -``` - -The `token` is returned from the `/login`, `/oauth/login`, and `/confirm/login` endpoints. - -## CLI - -Our backend encrypts data at rest using the [mongoose-encryption](https://www.npmjs.com/package/mongoose-encryption) plugin. That's a good thing, but can complicate life a bit when you'd like to go and in make some changes to the data without going through the application code. If you use some sort of administration tools for MongoDB and write data to the DB, that data won't be encrypted. And thus reading that data back will fail (since we expect encrypted data). - -Because of this, this backend comes with a couple of command-line tools to do basic database tasks: - -| Command | Description | -| ----------------------------- | ------------------------------------- | -| `npm run clear:users` | Remove all users | -| `npm run clear:models` | Remove all models | -| `npm run clear:recipes` | Remove all recipes | -| `npm run clear:confirmations` | Remove all confirmations | -| `npm run clear:all` | Empty the entire database | -| `npm run clear:reboot` | Empty database, then load sample data | - -> **Tip**: You can use `npm run cli` to see the available options - -## Tests - -There's two ways to run tests: - - - `npm run test` will run tests that don't depend on emails - -![npm run test](https://github.com/freesewing/backend/blob/develop/test.svg) - - - `npm run testall` will runn all tests, including the ones that depend on email - -![npm run testall](https://github.com/freesewing/backend/blob/develop/testall.svg) - -To run the email tests, spin up a mailhog container with Docker: - -``` -sudo docker run -p 8025:8025 -p 1025:1025 mailhog/mailhog -``` - -Then, configure your backend as such: - -`FS_SMTP_HOST` : `localhost` (this makes sure emails go to mailhog) `FS_SMTP_PORT` : `1025` (the mailhog port) - -This allows complete end-to-end testing of signup flow and other things the depend on email sent to the user. - - -## Links - -- 💻 Maker site: [freesewing.org](https://freesewing.org) -- 👩‍💻 Developer site: [freesewing.dev](https://freesewing.dev) -- 💬 Chat/Support: [Gitter](https://gitter.im/freesewing/help) -- 🐦 Twitter: [@freesewing_org](https://twitter.com/freesewing_org) -- 📷 Instagram: [@freesewing_org](https://instagram.com/freesewing_org) - -## License - -Copyright (c) 2019 Joost De Cock - Available under the MIT license. - -See the LICENSE file for more details. diff --git a/markdown/dev/reference/repos/backend/nl.md b/markdown/dev/reference/repos/backend/nl.md deleted file mode 100644 index 155e9f4db3a..00000000000 --- a/markdown/dev/reference/repos/backend/nl.md +++ /dev/null @@ -1,176 +0,0 @@ ---- -title: backend ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -See also: [The backend API reference](/reference/backend) - - - - - -Our backend is a REST API built with [Express](https://expressjs.com/), using [MongoDB](https://www.mongodb.com/) as our database. - -This backend handles the storage and retrieval of user data. Including: - - - User profiles - - Models - - Recipes - -This backend does not include any code related to our patterns. It is only required if you want to use your own instance of [freesewing.org](https://github.com/freesewing/backend). - -## Getting started - -To start this backend, you'll need: - - - A MongoDB database - - Configure environment variables (see [configuration](#configuration) below) - -There's a few different ways you can get started: - -### Using our docker image and your own database - -If you just want the backend and provide your own mongo instance, you can run [our docker image](https://hub.docker.com/r/freesewing/backend) directly from the internet: - -``` -docker run --env-file .env --name fs_backend -d -p 3000:3000 freesewing/backend -``` - -Your backend will now be available at http://localhost:3000 - -### Using docker-compose - -You can use [docker-compose](https://docs.docker.com/compose/) to spin up both the backend API and a MongoDB instance. Clone the repository, and run `docker-compose up`: - -``` -git clone git@github.com:freesewing/backend.git -cd backend -docker-compose up -``` - -Your backend will now be available at http://localhost:3000 - -### Run from source - -To run the backend from source, you'll need to clone this repository and intall dependencies. - -``` -git clone git@github.com:freesewing/backend -cd backend -npm install -npm install --global backpack-core -``` - - - -We are installing [backpack-core](https://www.npmjs.com/package/backpack-core) globally for ease-of-use - - - -While developing, you can run: - -``` -npm run develop -``` - -And backpack will compile the backend, and spin it up. It will also watch for changes and re-compile every time. Handy! - -If you want to run this in production, you should build the code: - -``` -npm run build -``` - -Then use something like [PM2](http://pm2.keymetrics.io/) to run it and keep it running. - -## Configuration - -This backend can be configured with environment variables. We provide an `example.env` file that you can edit and rename to `.env`. This way they will be picked up automatically. - -The available variables are listed below, as we as in our [example.env](https://github.com/freesewing/backend/blob/develop/example.env) file. - - -| Variable | Description | -| ------------------------- | -------------------------------------------------- | -| `FS_BACKEND` | URL on which the backend is hosted | -| `FS_STATIC` | URL on which the static content is hosted | -| `FS_STORAGE` | Location on disk where to store files | -| `FS_MONGO_URI` | URL for the Mongo database | -| `FS_ENC_KEY` | Secret used for encryption of data at rest | -| `FS_SMTP_HOST` | SMTP server through which to send outgoing emails | -| `FS_SMTP_PORT` | Port to use to connect to the SMTP server | -| `FS_SMTP_USER` | SMTP relay username | -| `FS_SMTP_PASS` | SMTP relay password | -| `FS_GITHUB_CLIENT_ID` | Github client ID for Oauth signup/login via GitHub | -| `FS_GITHUB_CLIENT_SECRET` | Github client ID for Oauth signup/login via GitHub | -| `FS_GOOGLE_CLIENT_ID` | Google client ID for Oauth signup/login via Google | -| `FS_GOOGLE_CLIENT_SECRET` | Google client ID for Oauth signup/login via Google | - -## Authentication - -This API uses [JWT](https://jwt.io/) for authentication. Authenticated calls to this API should include a `Authorization` header as such: - -``` -Authorization: Bearer -``` - -The `token` is returned from the `/login`, `/oauth/login`, and `/confirm/login` endpoints. - -## CLI - -Our backend encrypts data at rest using the [mongoose-encryption](https://www.npmjs.com/package/mongoose-encryption) plugin. That's a good thing, but can complicate life a bit when you'd like to go and in make some changes to the data without going through the application code. If you use some sort of administration tools for MongoDB and write data to the DB, that data won't be encrypted. And thus reading that data back will fail (since we expect encrypted data). - -Because of this, this backend comes with a couple of command-line tools to do basic database tasks: - -| Command | Description | -| ----------------------------- | ------------------------------------- | -| `npm run clear:users` | Remove all users | -| `npm run clear:models` | Remove all models | -| `npm run clear:recipes` | Remove all recipes | -| `npm run clear:confirmations` | Remove all confirmations | -| `npm run clear:all` | Empty the entire database | -| `npm run clear:reboot` | Empty database, then load sample data | - -> **Tip**: You can use `npm run cli` to see the available options - -## Tests - -There's two ways to run tests: - - - `npm run test` will run tests that don't depend on emails - -![npm run test](https://github.com/freesewing/backend/blob/develop/test.svg) - - - `npm run testall` will runn all tests, including the ones that depend on email - -![npm run testall](https://github.com/freesewing/backend/blob/develop/testall.svg) - -To run the email tests, spin up a mailhog container with Docker: - -``` -sudo docker run -p 8025:8025 -p 1025:1025 mailhog/mailhog -``` - -Then, configure your backend as such: - -`FS_SMTP_HOST` : `localhost` (this makes sure emails go to mailhog) `FS_SMTP_PORT` : `1025` (the mailhog port) - -This allows complete end-to-end testing of signup flow and other things the depend on email sent to the user. - - -## Links - -- 💻 Maker site: [freesewing.org](https://freesewing.org) -- 👩‍💻 Developer site: [freesewing.dev](https://freesewing.dev) -- 💬 Chat/Support: [Gitter](https://gitter.im/freesewing/help) -- 🐦 Twitter: [@freesewing_org](https://twitter.com/freesewing_org) -- 📷 Instagram: [@freesewing_org](https://instagram.com/freesewing_org) - -## License - -Copyright (c) 2019 Joost De Cock - Available under the MIT license. - -See the LICENSE file for more details. diff --git a/markdown/dev/reference/repos/de.md b/markdown/dev/reference/repos/de.md deleted file mode 100644 index d1f0653722f..00000000000 --- a/markdown/dev/reference/repos/de.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Repositories ---- - - diff --git a/markdown/dev/reference/repos/dev/de.md b/markdown/dev/reference/repos/dev/de.md deleted file mode 100644 index 90dfcb0e946..00000000000 --- a/markdown/dev/reference/repos/dev/de.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: freesewing.dev ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is the source code for [FreeSewing.dev](https://freesewing.dev), our developer documentation site, and the site you are browsing right now. - -It's a [JAMStack](https://jamstack.org/) site powered by [Gatsby](https://www.gatsbyjs.org/) and hosted by [Netlify](https://www.netlify.com/). - diff --git a/markdown/dev/reference/repos/dev/es.md b/markdown/dev/reference/repos/dev/es.md deleted file mode 100644 index 90dfcb0e946..00000000000 --- a/markdown/dev/reference/repos/dev/es.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: freesewing.dev ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is the source code for [FreeSewing.dev](https://freesewing.dev), our developer documentation site, and the site you are browsing right now. - -It's a [JAMStack](https://jamstack.org/) site powered by [Gatsby](https://www.gatsbyjs.org/) and hosted by [Netlify](https://www.netlify.com/). - diff --git a/markdown/dev/reference/repos/dev/fr.md b/markdown/dev/reference/repos/dev/fr.md deleted file mode 100644 index 90dfcb0e946..00000000000 --- a/markdown/dev/reference/repos/dev/fr.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: freesewing.dev ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is the source code for [FreeSewing.dev](https://freesewing.dev), our developer documentation site, and the site you are browsing right now. - -It's a [JAMStack](https://jamstack.org/) site powered by [Gatsby](https://www.gatsbyjs.org/) and hosted by [Netlify](https://www.netlify.com/). - diff --git a/markdown/dev/reference/repos/dev/nl.md b/markdown/dev/reference/repos/dev/nl.md deleted file mode 100644 index 90dfcb0e946..00000000000 --- a/markdown/dev/reference/repos/dev/nl.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: freesewing.dev ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is the source code for [FreeSewing.dev](https://freesewing.dev), our developer documentation site, and the site you are browsing right now. - -It's a [JAMStack](https://jamstack.org/) site powered by [Gatsby](https://www.gatsbyjs.org/) and hosted by [Netlify](https://www.netlify.com/). - diff --git a/markdown/dev/reference/repos/es.md b/markdown/dev/reference/repos/es.md deleted file mode 100644 index d1f0653722f..00000000000 --- a/markdown/dev/reference/repos/es.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Repositories ---- - - diff --git a/markdown/dev/reference/repos/fr.md b/markdown/dev/reference/repos/fr.md deleted file mode 100644 index d1f0653722f..00000000000 --- a/markdown/dev/reference/repos/fr.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Repositories ---- - - diff --git a/markdown/dev/reference/repos/freesewing/de.md b/markdown/dev/reference/repos/freesewing/de.md deleted file mode 100644 index a1b8b54cf79..00000000000 --- a/markdown/dev/reference/repos/freesewing/de.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: freesewing ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a [monorepo](https://en.wikipedia.org/wiki/Monorepo) holding all our [NPM packages](/reference/packages/). We use [Lerna](https://lerna.js.org/) and [Yarn workspaces](https://yarnpkg.com/en/docs/workspaces) to manage the repo. - - diff --git a/markdown/dev/reference/repos/freesewing/es.md b/markdown/dev/reference/repos/freesewing/es.md deleted file mode 100644 index a1b8b54cf79..00000000000 --- a/markdown/dev/reference/repos/freesewing/es.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: freesewing ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a [monorepo](https://en.wikipedia.org/wiki/Monorepo) holding all our [NPM packages](/reference/packages/). We use [Lerna](https://lerna.js.org/) and [Yarn workspaces](https://yarnpkg.com/en/docs/workspaces) to manage the repo. - - diff --git a/markdown/dev/reference/repos/freesewing/fr.md b/markdown/dev/reference/repos/freesewing/fr.md deleted file mode 100644 index a1b8b54cf79..00000000000 --- a/markdown/dev/reference/repos/freesewing/fr.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: freesewing ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a [monorepo](https://en.wikipedia.org/wiki/Monorepo) holding all our [NPM packages](/reference/packages/). We use [Lerna](https://lerna.js.org/) and [Yarn workspaces](https://yarnpkg.com/en/docs/workspaces) to manage the repo. - - diff --git a/markdown/dev/reference/repos/freesewing/nl.md b/markdown/dev/reference/repos/freesewing/nl.md deleted file mode 100644 index a1b8b54cf79..00000000000 --- a/markdown/dev/reference/repos/freesewing/nl.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: freesewing ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a [monorepo](https://en.wikipedia.org/wiki/Monorepo) holding all our [NPM packages](/reference/packages/). We use [Lerna](https://lerna.js.org/) and [Yarn workspaces](https://yarnpkg.com/en/docs/workspaces) to manage the repo. - - diff --git a/markdown/dev/reference/repos/markdown/de.md b/markdown/dev/reference/repos/markdown/de.md deleted file mode 100644 index 86e26621f49..00000000000 --- a/markdown/dev/reference/repos/markdown/de.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: markdown ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This holds all our MarkDown content: documentation, blog posts, and showcases. - -This keeps content changes out of our code workflow. It also allows editors to work on MarkDown without having to worry about breaking any code. - -The MarkDown content in this repository is used both on freesewing.org and freesewing.dev. diff --git a/markdown/dev/reference/repos/markdown/es.md b/markdown/dev/reference/repos/markdown/es.md deleted file mode 100644 index 86e26621f49..00000000000 --- a/markdown/dev/reference/repos/markdown/es.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: markdown ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This holds all our MarkDown content: documentation, blog posts, and showcases. - -This keeps content changes out of our code workflow. It also allows editors to work on MarkDown without having to worry about breaking any code. - -The MarkDown content in this repository is used both on freesewing.org and freesewing.dev. diff --git a/markdown/dev/reference/repos/markdown/fr.md b/markdown/dev/reference/repos/markdown/fr.md deleted file mode 100644 index 86e26621f49..00000000000 --- a/markdown/dev/reference/repos/markdown/fr.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: markdown ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This holds all our MarkDown content: documentation, blog posts, and showcases. - -This keeps content changes out of our code workflow. It also allows editors to work on MarkDown without having to worry about breaking any code. - -The MarkDown content in this repository is used both on freesewing.org and freesewing.dev. diff --git a/markdown/dev/reference/repos/markdown/nl.md b/markdown/dev/reference/repos/markdown/nl.md deleted file mode 100644 index 86e26621f49..00000000000 --- a/markdown/dev/reference/repos/markdown/nl.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: markdown ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This holds all our MarkDown content: documentation, blog posts, and showcases. - -This keeps content changes out of our code workflow. It also allows editors to work on MarkDown without having to worry about breaking any code. - -The MarkDown content in this repository is used both on freesewing.org and freesewing.dev. diff --git a/markdown/dev/reference/repos/nl.md b/markdown/dev/reference/repos/nl.md deleted file mode 100644 index d1f0653722f..00000000000 --- a/markdown/dev/reference/repos/nl.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Repositories ---- - - diff --git a/markdown/dev/reference/repos/org/de.md b/markdown/dev/reference/repos/org/de.md deleted file mode 100644 index f4cfe6583cd..00000000000 --- a/markdown/dev/reference/repos/org/de.md +++ /dev/null @@ -1,103 +0,0 @@ ---- -title: freesewing.org ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -Dies ist der Quellcode für [FreeSewing.org](https://freesewing.org), unsere Hauptseite. - -It's a [JAMStack](https://jamstack.org/) site powered by [Gatsby](https://www.gatsbyjs.org/) and hosted by [Netlify](https://www.netlify.com/). - -Der Inhalt (Dokumentation, Blogeinträge usw.) wird in [unseres markdown-Repositories](/repos/markdown) und als Submodul in diesem Repository gespeichert. - -## Erste Schritte - -Um Ihre eigene Kopie unserer Website auszuführen, befolgen Sie diese folgenden Schritten: - -```bash -git clone --recurse-submodules git@github.com:freesewing/freesewing.org.git -cd freesewing -npm install -export GATSBY_LANGUAGE=en -npm run develop -``` - - - -We're using the `--recurse-submodules` option to fetch the [markdown](/repos/markdown) submodule in one go. -However, this is only available in newer versions of git. - -If after cloning the `markdown` directory is empty, -please check [these alternatives](https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules). - - - - - -We're setting the GATSBY_LANGUAGE environment variable here because it's required. -For more details, see **Environment variables** below. - - - -Gatsby will build your site and make it avaialable on http://localhost:8000. - - - -There's also very useful GraphQL playground on http://localhost:8000/\_\_\_graphql - - - -## Dependencies - -### Backend - -Without a backend, certain aspects of the website won't work. The backend needs to be configured in the `GATSBY_BACKEND` environment variable. - -To facilitate development, our backend is available as a Docker image that you can spin up. See [the backend repo](/repos/backend) for more info. - -### Tiler (svg2pdf) - -Without an svg2pdf backend (aka the tiler), the website won't be able to generate PDFs for patterns. The svg2pdf backend needs to be configured in the `GATSBY_TILER` environment variable. - -You can spin up your own version of [our svg2pdf repository](/repos/tile). FreeSewing contributors can also simply point to https://tiler.freesewing.org. - -### Oauth - -The website allows signing up/logging in via your Github or Google account. - -We use Oauth for this, which has a few dependencies: - - - You need to create/configure an app with Github and Google for Oauth - - You need to configure the various environment variables (see below) - -If you don't setup/configure Oauth, everything will work, except Oath (duh). - -### Algolia - -Algolia handles the search on the website. - - - -This feature is not yet implemented. - - - -## Environment variables - -The following variables configure different aspects of our website. Only `GATSBY_LANGUAGE` is required to get the site up and running. - -| Var | Purpose | Example | -| --------------------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `GATSBY_LANGUAGE` | Determines the language of the site | `en` | -| `GATSBY_FRONTEND` | URL under which the website is served | `http://localhost:8000/` | -| `GATSBY_BACKEND` | The location of the data backend | `http://localhost:3000/` | -| `GATSBY_TILER` | The location of the tiler backend | `http://localhost:4000/` | -| `GATSBY_GITHUB_CLIENT_ID` | The Github client ID used for Oauth | `13734754d4aa03f5c70e` | -| `GATSBY_GOOGLE_CLIENT_ID` | The Google client ID used for Oauth | `730107872143-l1gfa3e0eerads4clqu458pblgpnu54h.apps.googleusercontent.com` | -| `GATSBY_ALGOLIA_API_ID` | The Algolia client ID for search (under construction) | `MA0Y5A2PF0` | -| `GATSBY_ALGOLIA_SEARCH_KEY` | The Algolia *read only* key for search (under construction) | `9209470ad243eee797156aa2874d886c` | -| `GATSBY_ALGOLIA_UPDATE_KEY` | The *write* key to update the Algolia search index at build time (under construction) | `ba780a3afe2118062ee08ea4fb54c097` | - - diff --git a/markdown/dev/reference/repos/org/es.md b/markdown/dev/reference/repos/org/es.md deleted file mode 100644 index 1b7e24e35a9..00000000000 --- a/markdown/dev/reference/repos/org/es.md +++ /dev/null @@ -1,103 +0,0 @@ ---- -title: freesewing.org ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is the source code for [FreeSewing.org](https://freesewing.org), our main website. - -It's a [JAMStack](https://jamstack.org/) site powered by [Gatsby](https://www.gatsbyjs.org/) and hosted by [Netlify](https://www.netlify.com/). - -The content (documentation, blog posts, and so on) is kept in [our markdown repository](/repos/markdown) and included in this repository as a submodule. - -## Getting started - -To run your own copy of our website, follow these steps: - -```bash -git clone --recurse-submodules git@github.com:freesewing/freesewing.org.git -cd freesewing -npm install -export GATSBY_LANGUAGE=en -npm run develop -``` - - - -We're using the `--recurse-submodules` option to fetch the [markdown](/repos/markdown) submodule in one go. -However, this is only available in newer versions of git. - -If after cloning the `markdown` directory is empty, -please check [these alternatives](https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules). - - - - - -We're setting the GATSBY_LANGUAGE environment variable here because it's required. -For more details, see **Environment variables** below. - - - -Gatsby will build your site and make it avaialable on http://localhost:8000. - - - -There's also very useful GraphQL playground on http://localhost:8000/\_\_\_graphql - - - -## Dependencies - -### Backend - -Without a backend, certain aspects of the website won't work. The backend needs to be configured in the `GATSBY_BACKEND` environment variable. - -To facilitate development, our backend is available as a Docker image that you can spin up. See [the backend repo](/repos/backend) for more info. - -### Tiler (svg2pdf) - -Without an svg2pdf backend (aka the tiler), the website won't be able to generate PDFs for patterns. The svg2pdf backend needs to be configured in the `GATSBY_TILER` environment variable. - -You can spin up your own version of [our svg2pdf repository](/repos/tile). FreeSewing contributors can also simply point to https://tiler.freesewing.org. - -### Oauth - -The website allows signing up/logging in via your Github or Google account. - -We use Oauth for this, which has a few dependencies: - - - You need to create/configure an app with Github and Google for Oauth - - You need to configure the various environment variables (see below) - -If you don't setup/configure Oauth, everything will work, except Oath (duh). - -### Algolia - -Algolia handles the search on the website. - - - -This feature is not yet implemented. - - - -## Environment variables - -The following variables configure different aspects of our website. Only `GATSBY_LANGUAGE` is required to get the site up and running. - -| Var | Purpose | Example | -| --------------------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `GATSBY_LANGUAGE` | Determines the language of the site | `en` | -| `GATSBY_FRONTEND` | URL under which the website is served | `http://localhost:8000/` | -| `GATSBY_BACKEND` | The location of the data backend | `http://localhost:3000/` | -| `GATSBY_TILER` | The location of the tiler backend | `http://localhost:4000/` | -| `GATSBY_GITHUB_CLIENT_ID` | The Github client ID used for Oauth | `13734754d4aa03f5c70e` | -| `GATSBY_GOOGLE_CLIENT_ID` | The Google client ID used for Oauth | `730107872143-l1gfa3e0eerads4clqu458pblgpnu54h.apps.googleusercontent.com` | -| `GATSBY_ALGOLIA_API_ID` | The Algolia client ID for search (under construction) | `MA0Y5A2PF0` | -| `GATSBY_ALGOLIA_SEARCH_KEY` | The Algolia *read only* key for search (under construction) | `9209470ad243eee797156aa2874d886c` | -| `GATSBY_ALGOLIA_UPDATE_KEY` | The *write* key to update the Algolia search index at build time (under construction) | `ba780a3afe2118062ee08ea4fb54c097` | - - diff --git a/markdown/dev/reference/repos/org/fr.md b/markdown/dev/reference/repos/org/fr.md deleted file mode 100644 index 5f1271aa0ed..00000000000 --- a/markdown/dev/reference/repos/org/fr.md +++ /dev/null @@ -1,103 +0,0 @@ ---- -title: freesewing.org ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is the source code for [FreeSewing.org](https://freesewing.org), our main website. - -It's a [JAMStack](https://jamstack.org/) site powered by [Gatsby](https://www.gatsbyjs.org/) and hosted by [Netlify](https://www.netlify.com/). - -The content (documentation, blog posts, and so on) is kept in [our markdown repository](/repos/markdown) and included in this repository as a submodule. - -## Getting started - -To run your own copy of our website, follow these steps: - -```bash -git clone --recurse-submodules git@github.com:freesewing/freesewing.org.git -cd freesewing -npm install -export GATSBY_LANGUAGE=en -npm run develop -``` - - - -We're using the `--recurse-submodules` option to fetch the [markdown](/repos/markdown) submodule in one go. -However, this is only available in newer versions of git. - -If after cloning the `markdown` directory is empty, -please check [these alternatives](https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules). - - - - - -We're setting the GATSBY_LANGUAGE environment variable here because it's required. -For more details, see **Environment variables** below. - - - -Gatsby will build your site and make it avaialable on http://localhost:8000. - - - -There's also very useful GraphQL playground on http://localhost:8000/\_\_\_graphql - - - -## Dépendances - -### Backend - -Without a backend, certain aspects of the website won't work. The backend needs to be configured in the `GATSBY_BACKEND` environment variable. - -To facilitate development, our backend is available as a Docker image that you can spin up. See [the backend repo](/repos/backend) for more info. - -### Tiler (svg2pdf) - -Without an svg2pdf backend (aka the tiler), the website won't be able to generate PDFs for patterns. The svg2pdf backend needs to be configured in the `GATSBY_TILER` environment variable. - -You can spin up your own version of [our svg2pdf repository](/repos/tile). FreeSewing contributors can also simply point to https://tiler.freesewing.org. - -### Oauth - -The website allows signing up/logging in via your Github or Google account. - -We use Oauth for this, which has a few dependencies: - - - You need to create/configure an app with Github and Google for Oauth - - You need to configure the various environment variables (see below) - -If you don't setup/configure Oauth, everything will work, except Oath (duh). - -### Algolia - -Algolia handles the search on the website. - - - -This feature is not yet implemented. - - - -## Environment variables - -The following variables configure different aspects of our website. Only `GATSBY_LANGUAGE` is required to get the site up and running. - -| Var | Purpose | Exemple | -| --------------------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `GATSBY_LANGUAGE` | Determines the language of the site | `en` | -| `GATSBY_FRONTEND` | URL under which the website is served | `http://localhost:8000/` | -| `GATSBY_BACKEND` | The location of the data backend | `http://localhost:3000/` | -| `GATSBY_TILER` | The location of the tiler backend | `http://localhost:4000/` | -| `GATSBY_GITHUB_CLIENT_ID` | The Github client ID used for Oauth | `13734754d4aa03f5c70e` | -| `GATSBY_GOOGLE_CLIENT_ID` | The Google client ID used for Oauth | `730107872143-l1gfa3e0eerads4clqu458pblgpnu54h.apps.googleusercontent.com` | -| `GATSBY_ALGOLIA_API_ID` | The Algolia client ID for search (under construction) | `MA0Y5A2PF0` | -| `GATSBY_ALGOLIA_SEARCH_KEY` | The Algolia *read only* key for search (under construction) | `9209470ad243eee797156aa2874d886c` | -| `GATSBY_ALGOLIA_UPDATE_KEY` | The *write* key to update the Algolia search index at build time (under construction) | `ba780a3afe2118062ee08ea4fb54c097` | - - diff --git a/markdown/dev/reference/repos/org/nl.md b/markdown/dev/reference/repos/org/nl.md deleted file mode 100644 index 1b7e24e35a9..00000000000 --- a/markdown/dev/reference/repos/org/nl.md +++ /dev/null @@ -1,103 +0,0 @@ ---- -title: freesewing.org ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is the source code for [FreeSewing.org](https://freesewing.org), our main website. - -It's a [JAMStack](https://jamstack.org/) site powered by [Gatsby](https://www.gatsbyjs.org/) and hosted by [Netlify](https://www.netlify.com/). - -The content (documentation, blog posts, and so on) is kept in [our markdown repository](/repos/markdown) and included in this repository as a submodule. - -## Getting started - -To run your own copy of our website, follow these steps: - -```bash -git clone --recurse-submodules git@github.com:freesewing/freesewing.org.git -cd freesewing -npm install -export GATSBY_LANGUAGE=en -npm run develop -``` - - - -We're using the `--recurse-submodules` option to fetch the [markdown](/repos/markdown) submodule in one go. -However, this is only available in newer versions of git. - -If after cloning the `markdown` directory is empty, -please check [these alternatives](https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules). - - - - - -We're setting the GATSBY_LANGUAGE environment variable here because it's required. -For more details, see **Environment variables** below. - - - -Gatsby will build your site and make it avaialable on http://localhost:8000. - - - -There's also very useful GraphQL playground on http://localhost:8000/\_\_\_graphql - - - -## Dependencies - -### Backend - -Without a backend, certain aspects of the website won't work. The backend needs to be configured in the `GATSBY_BACKEND` environment variable. - -To facilitate development, our backend is available as a Docker image that you can spin up. See [the backend repo](/repos/backend) for more info. - -### Tiler (svg2pdf) - -Without an svg2pdf backend (aka the tiler), the website won't be able to generate PDFs for patterns. The svg2pdf backend needs to be configured in the `GATSBY_TILER` environment variable. - -You can spin up your own version of [our svg2pdf repository](/repos/tile). FreeSewing contributors can also simply point to https://tiler.freesewing.org. - -### Oauth - -The website allows signing up/logging in via your Github or Google account. - -We use Oauth for this, which has a few dependencies: - - - You need to create/configure an app with Github and Google for Oauth - - You need to configure the various environment variables (see below) - -If you don't setup/configure Oauth, everything will work, except Oath (duh). - -### Algolia - -Algolia handles the search on the website. - - - -This feature is not yet implemented. - - - -## Environment variables - -The following variables configure different aspects of our website. Only `GATSBY_LANGUAGE` is required to get the site up and running. - -| Var | Purpose | Example | -| --------------------------- | ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `GATSBY_LANGUAGE` | Determines the language of the site | `en` | -| `GATSBY_FRONTEND` | URL under which the website is served | `http://localhost:8000/` | -| `GATSBY_BACKEND` | The location of the data backend | `http://localhost:3000/` | -| `GATSBY_TILER` | The location of the tiler backend | `http://localhost:4000/` | -| `GATSBY_GITHUB_CLIENT_ID` | The Github client ID used for Oauth | `13734754d4aa03f5c70e` | -| `GATSBY_GOOGLE_CLIENT_ID` | The Google client ID used for Oauth | `730107872143-l1gfa3e0eerads4clqu458pblgpnu54h.apps.googleusercontent.com` | -| `GATSBY_ALGOLIA_API_ID` | The Algolia client ID for search (under construction) | `MA0Y5A2PF0` | -| `GATSBY_ALGOLIA_SEARCH_KEY` | The Algolia *read only* key for search (under construction) | `9209470ad243eee797156aa2874d886c` | -| `GATSBY_ALGOLIA_UPDATE_KEY` | The *write* key to update the Algolia search index at build time (under construction) | `ba780a3afe2118062ee08ea4fb54c097` | - - diff --git a/markdown/dev/reference/repos/svgtopdf/de.md b/markdown/dev/reference/repos/svgtopdf/de.md deleted file mode 100644 index d6c24299d50..00000000000 --- a/markdown/dev/reference/repos/svgtopdf/de.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: svgtopdf ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a [Node.js](https://nodejs.org/) app using [Express](https://expressjs.com/) that turns SVGs into (tiled) PDFs. - -We've decided to implement this as a stand-alone app rather than integrate it into [our backend](/reference/repos/backend/) because while our backend is highly specific to our own website, this is a feature that others might want to re-use. - diff --git a/markdown/dev/reference/repos/svgtopdf/es.md b/markdown/dev/reference/repos/svgtopdf/es.md deleted file mode 100644 index d6c24299d50..00000000000 --- a/markdown/dev/reference/repos/svgtopdf/es.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: svgtopdf ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a [Node.js](https://nodejs.org/) app using [Express](https://expressjs.com/) that turns SVGs into (tiled) PDFs. - -We've decided to implement this as a stand-alone app rather than integrate it into [our backend](/reference/repos/backend/) because while our backend is highly specific to our own website, this is a feature that others might want to re-use. - diff --git a/markdown/dev/reference/repos/svgtopdf/fr.md b/markdown/dev/reference/repos/svgtopdf/fr.md deleted file mode 100644 index d6c24299d50..00000000000 --- a/markdown/dev/reference/repos/svgtopdf/fr.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: svgtopdf ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a [Node.js](https://nodejs.org/) app using [Express](https://expressjs.com/) that turns SVGs into (tiled) PDFs. - -We've decided to implement this as a stand-alone app rather than integrate it into [our backend](/reference/repos/backend/) because while our backend is highly specific to our own website, this is a feature that others might want to re-use. - diff --git a/markdown/dev/reference/repos/svgtopdf/nl.md b/markdown/dev/reference/repos/svgtopdf/nl.md deleted file mode 100644 index d6c24299d50..00000000000 --- a/markdown/dev/reference/repos/svgtopdf/nl.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: svgtopdf ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a [Node.js](https://nodejs.org/) app using [Express](https://expressjs.com/) that turns SVGs into (tiled) PDFs. - -We've decided to implement this as a stand-alone app rather than integrate it into [our backend](/reference/repos/backend/) because while our backend is highly specific to our own website, this is a feature that others might want to re-use. - diff --git a/markdown/dev/reference/repos/tile/de.md b/markdown/dev/reference/repos/tile/de.md deleted file mode 100644 index 2c0099e2319..00000000000 --- a/markdown/dev/reference/repos/tile/de.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: tile ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a PostScript tiler, a command line utility written in C. - -It is used to go from SVG to tiled PDF by converting to PostScript first, then tiling it, and then converting the PostScript to PDF. diff --git a/markdown/dev/reference/repos/tile/es.md b/markdown/dev/reference/repos/tile/es.md deleted file mode 100644 index 2c0099e2319..00000000000 --- a/markdown/dev/reference/repos/tile/es.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: tile ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a PostScript tiler, a command line utility written in C. - -It is used to go from SVG to tiled PDF by converting to PostScript first, then tiling it, and then converting the PostScript to PDF. diff --git a/markdown/dev/reference/repos/tile/fr.md b/markdown/dev/reference/repos/tile/fr.md deleted file mode 100644 index 2c0099e2319..00000000000 --- a/markdown/dev/reference/repos/tile/fr.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: tile ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a PostScript tiler, a command line utility written in C. - -It is used to go from SVG to tiled PDF by converting to PostScript first, then tiling it, and then converting the PostScript to PDF. diff --git a/markdown/dev/reference/repos/tile/nl.md b/markdown/dev/reference/repos/tile/nl.md deleted file mode 100644 index 2c0099e2319..00000000000 --- a/markdown/dev/reference/repos/tile/nl.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: tile ---- - -import RepoPage from "../../../../../src/components/repo-page"; - - - -This is a PostScript tiler, a command line utility written in C. - -It is used to go from SVG to tiled PDF by converting to PostScript first, then tiling it, and then converting the PostScript to PDF. diff --git a/markdown/dev/translators/crowdin/freesewing/de.md b/markdown/dev/translators/crowdin/freesewing/de.md deleted file mode 100644 index deba8e6c8d3..00000000000 --- a/markdown/dev/translators/crowdin/freesewing/de.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: Translating strings ---- - -Crowdin makes translations of strings very easy. If you provide the translation, Crowdin will make sure your changes make it back into our repository, where they will be picked up and merged by one of the development people. - -Here's what you need to know to get started: - - - Crowdin link: https://crowdin.com/project/freesewing - - Request an invite: https://gitter.im/freesewing/translation - -## Syntax - -Most strings are just text, but sometimes you'll find a little markup sprinkled in. - -### HTML formatting - -When you encounter HTML tags, simply translate around them. For example: - -```markup -No, never. -``` - -looks like this in Spanish: - -```markup -No, nunca. -``` - -### Placeholders - -When you encounter a `{key}` between curly braces, leave it as-is. These will be filled in later with the correct value. For example: - -```markup -{field} saved -``` - -looks like this in Spanish - - -```yaml -{field} guardado -``` diff --git a/markdown/dev/translators/crowdin/freesewing/es.md b/markdown/dev/translators/crowdin/freesewing/es.md deleted file mode 100644 index deba8e6c8d3..00000000000 --- a/markdown/dev/translators/crowdin/freesewing/es.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: Translating strings ---- - -Crowdin makes translations of strings very easy. If you provide the translation, Crowdin will make sure your changes make it back into our repository, where they will be picked up and merged by one of the development people. - -Here's what you need to know to get started: - - - Crowdin link: https://crowdin.com/project/freesewing - - Request an invite: https://gitter.im/freesewing/translation - -## Syntax - -Most strings are just text, but sometimes you'll find a little markup sprinkled in. - -### HTML formatting - -When you encounter HTML tags, simply translate around them. For example: - -```markup -No, never. -``` - -looks like this in Spanish: - -```markup -No, nunca. -``` - -### Placeholders - -When you encounter a `{key}` between curly braces, leave it as-is. These will be filled in later with the correct value. For example: - -```markup -{field} saved -``` - -looks like this in Spanish - - -```yaml -{field} guardado -``` diff --git a/markdown/dev/translators/crowdin/freesewing/fr.md b/markdown/dev/translators/crowdin/freesewing/fr.md deleted file mode 100644 index dafc89c24fe..00000000000 --- a/markdown/dev/translators/crowdin/freesewing/fr.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: Translating strings ---- - -Crowdin makes translations of strings very easy. If you provide the translation, Crowdin will make sure your changes make it back into our repository, where they will be picked up and merged by one of the development people. - -Here's what you need to know to get started: - - - Crowdin link: https://crowdin.com/project/freesewing - - Request an invite: https://gitter.im/freesewing/translation - -## Syntax - -Most strings are just text, but sometimes you'll find a little markup sprinkled in. - -### HTML formatting - -When you encounter HTML tags, simply translate around them. Par exemple : - -```markup -No, never. -``` - -looks like this in Spanish: - -```markup -No, nunca. -``` - -### Placeholders - -When you encounter a `{key}` between curly braces, leave it as-is. These will be filled in later with the correct value. Par exemple : - -```markup -{field} saved -``` - -looks like this in Spanish - - -```yaml -{field} guardado -``` diff --git a/markdown/dev/translators/crowdin/freesewing/nl.md b/markdown/dev/translators/crowdin/freesewing/nl.md deleted file mode 100644 index 1b011a69539..00000000000 --- a/markdown/dev/translators/crowdin/freesewing/nl.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: Translating strings ---- - -Crowdin makes translations of strings very easy. If you provide the translation, Crowdin will make sure your changes make it back into our repository, where they will be picked up and merged by one of the development people. - -Hier is wat je moet weten om aan de slag te gaan: - - - Crowdin link: https://crowdin.com/project/freesewing - - Request an invite: https://gitter.im/freesewing/translation - -## Syntax - -Most strings are just text, but sometimes you'll find a little markup sprinkled in. - -### HTML formatting - -When you encounter HTML tags, simply translate around them. For example: - -```markup -No, never. -``` - -looks like this in Spanish: - -```markup -No, nunca. -``` - -### Placeholders - -When you encounter a `{key}` between curly braces, leave it as-is. These will be filled in later with the correct value. For example: - -```markup -{field} saved -``` - -looks like this in Spanish - - -```yaml -{field} guardado -``` diff --git a/markdown/dev/translators/crowdin/markdown/de.md b/markdown/dev/translators/crowdin/markdown/de.md deleted file mode 100644 index e16871b8ce2..00000000000 --- a/markdown/dev/translators/crowdin/markdown/de.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: Translating content ---- - -Crowdin makes translations of strings very easy. If you provide the translation, Crowdin will make sure your changes make it back into our repository, where they will be picked up and merged by one of the development people. - -Here's what you need to know to get started: - - - Crowdin link: https://crowdin.com/project/fs-markdown - - Request an invite: https://gitter.im/freesewing/help - - - -When translating content, please give priority to the content of freesewing.org, -before tackling developer documentation for freesewing.dev. -In other words, do the `org` folder first. - - - -## Content as strings - -Translating content used to be very different from translating strings, because you had to translate entire pages in one go, adapt links and so on. - -Today, they are much the same as Crowdin breaks down all content (blog posts, documentation, and so on) into individual sentences. This may seem weird at first, but it actually has a number of benefits: - - - You never have to tackle an enourmous page of documentation. Whenever you have a few minutes to spare, you can just jump in, and translate a few sentences. This makes it much simpler to collaborate with others. - - When (part) of the original (English) content is changed, Crowdin will detect that and let you know exactly what sentences need to be updated. - - It's easier to keep track of how much has been done/remains to be done - - Content is more consistent across languages - -## Syntax - -Content will contain MarkDown syntax. MarkDown is a straight-forward way to format text to turn it into HTML. You’ll be familiar with it in no time. - -The [official MarkDown documentation](https://daringfireball.net/projects/markdown/syntax) is a bit dry, but there's plenty of MarkDown guides out there. - -If you have any questions, [we're here to help](https://gitter.im/freesewing/translation). diff --git a/markdown/dev/translators/crowdin/markdown/es.md b/markdown/dev/translators/crowdin/markdown/es.md deleted file mode 100644 index e16871b8ce2..00000000000 --- a/markdown/dev/translators/crowdin/markdown/es.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: Translating content ---- - -Crowdin makes translations of strings very easy. If you provide the translation, Crowdin will make sure your changes make it back into our repository, where they will be picked up and merged by one of the development people. - -Here's what you need to know to get started: - - - Crowdin link: https://crowdin.com/project/fs-markdown - - Request an invite: https://gitter.im/freesewing/help - - - -When translating content, please give priority to the content of freesewing.org, -before tackling developer documentation for freesewing.dev. -In other words, do the `org` folder first. - - - -## Content as strings - -Translating content used to be very different from translating strings, because you had to translate entire pages in one go, adapt links and so on. - -Today, they are much the same as Crowdin breaks down all content (blog posts, documentation, and so on) into individual sentences. This may seem weird at first, but it actually has a number of benefits: - - - You never have to tackle an enourmous page of documentation. Whenever you have a few minutes to spare, you can just jump in, and translate a few sentences. This makes it much simpler to collaborate with others. - - When (part) of the original (English) content is changed, Crowdin will detect that and let you know exactly what sentences need to be updated. - - It's easier to keep track of how much has been done/remains to be done - - Content is more consistent across languages - -## Syntax - -Content will contain MarkDown syntax. MarkDown is a straight-forward way to format text to turn it into HTML. You’ll be familiar with it in no time. - -The [official MarkDown documentation](https://daringfireball.net/projects/markdown/syntax) is a bit dry, but there's plenty of MarkDown guides out there. - -If you have any questions, [we're here to help](https://gitter.im/freesewing/translation). diff --git a/markdown/dev/translators/crowdin/markdown/fr.md b/markdown/dev/translators/crowdin/markdown/fr.md deleted file mode 100644 index e16871b8ce2..00000000000 --- a/markdown/dev/translators/crowdin/markdown/fr.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: Translating content ---- - -Crowdin makes translations of strings very easy. If you provide the translation, Crowdin will make sure your changes make it back into our repository, where they will be picked up and merged by one of the development people. - -Here's what you need to know to get started: - - - Crowdin link: https://crowdin.com/project/fs-markdown - - Request an invite: https://gitter.im/freesewing/help - - - -When translating content, please give priority to the content of freesewing.org, -before tackling developer documentation for freesewing.dev. -In other words, do the `org` folder first. - - - -## Content as strings - -Translating content used to be very different from translating strings, because you had to translate entire pages in one go, adapt links and so on. - -Today, they are much the same as Crowdin breaks down all content (blog posts, documentation, and so on) into individual sentences. This may seem weird at first, but it actually has a number of benefits: - - - You never have to tackle an enourmous page of documentation. Whenever you have a few minutes to spare, you can just jump in, and translate a few sentences. This makes it much simpler to collaborate with others. - - When (part) of the original (English) content is changed, Crowdin will detect that and let you know exactly what sentences need to be updated. - - It's easier to keep track of how much has been done/remains to be done - - Content is more consistent across languages - -## Syntax - -Content will contain MarkDown syntax. MarkDown is a straight-forward way to format text to turn it into HTML. You’ll be familiar with it in no time. - -The [official MarkDown documentation](https://daringfireball.net/projects/markdown/syntax) is a bit dry, but there's plenty of MarkDown guides out there. - -If you have any questions, [we're here to help](https://gitter.im/freesewing/translation). diff --git a/markdown/dev/translators/crowdin/markdown/nl.md b/markdown/dev/translators/crowdin/markdown/nl.md deleted file mode 100644 index d3be9323b66..00000000000 --- a/markdown/dev/translators/crowdin/markdown/nl.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: Materiaal vertalen ---- - -Crowdin makes translations of strings very easy. If you provide the translation, Crowdin will make sure your changes make it back into our repository, where they will be picked up and merged by one of the development people. - -Hier is wat je moet weten om aan de slag te gaan: - - - Crowdin link: https://crowdin.com/project/fs-markdown - - Request an invite: https://gitter.im/freesewing/help - - - -Als je gaat vertalen, geef dan voorang aan de inhoud van freesewing.org, voordat je aan de ontwikkel inhoud van freesewing.dev gaat denken. -In other words, do the `org` folder first. - - - -## Inhoud als tekst - -Translating content used to be very different from translating strings, because you had to translate entire pages in one go, adapt links and so on. - -Tegenwoordig worden ze vrijwel hetzelfde behandeld, want Crowdin breek alle inhoud (blog posts, documentatie, enzovoort) op in individuele zinnen. Dit lijkt vreemd in het begin, maar het heeft een aantal voordelen: - - - Je hoeft nooit een grote heoveelheid tekst in een keer te vertalen. Als je wat tijd hebt kun je gewoon een paar zinnen vertalen. Dit maakt het een stuk makkelijker om met anderen samen te werken. - - When (part) of the original (English) content is changed, Crowdin will detect that and let you know exactly what sentences need to be updated. - - It's easier to keep track of how much has been done/remains to be done - - Content is more consistent across languages - -## Syntax - -Content will contain MarkDown syntax. MarkDown is a straight-forward way to format text to turn it into HTML. You’ll be familiar with it in no time. - -The [official MarkDown documentation](https://daringfireball.net/projects/markdown/syntax) is a bit dry, but there's plenty of MarkDown guides out there. - -If you have any questions, [we're here to help](https://gitter.im/freesewing/translation). diff --git a/markdown/dev/tutorials/nl.md b/markdown/dev/tutorials/nl.md deleted file mode 100644 index 792eb1cfaea..00000000000 --- a/markdown/dev/tutorials/nl.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: Tutorials ---- - - - diff --git a/markdown/dev/tutorials/pattern-design/adding-measurements/de.md b/markdown/dev/tutorials/pattern-design/adding-measurements/de.md deleted file mode 100644 index ffbea2cc98a..00000000000 --- a/markdown/dev/tutorials/pattern-design/adding-measurements/de.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: 130|Adding measurements ---- - -FreeSewing is all about *made-to-measure* sewing patterns; We are going to draft our pattern according to the measurements provided to us. - -Which begs the question, which measurements? - -It is you, as the pattern designer, who decides which measurements are required to draft your pattern. For our bib, the only measurement we need is the baby's *head circumference*. - -So let's add it as a required measurement. - -## Add required measurements - -Open the config file at `config/index.js` and update the `measurements` array with the name of our required measurement: - -```js -measurements: ["head"], -``` - - - -Make sure to re-use the names of existing measurements, rather than invent your own. - -See our [best practices](/guides/best-practices/names#re-use-measurements) on this topic for details. - - - -Now everybody knows your pattern requires the `head` measurement. - -This change will also get picked up by the development environment, and you'll now see this screen: - -![This screen tells you you are missing some required measurments](./required-measurements.png) - -Since it's just one measurements, let's simply enter a value by hand. For example `38` as 38cm is a realistic head circumference measurement for a baby. - -Enter `38` in the box, and click on **Draft your pattern** in the top navigation bar to get back to your draft which for now still looks like this: - - diff --git a/markdown/dev/tutorials/pattern-design/adding-measurements/es.md b/markdown/dev/tutorials/pattern-design/adding-measurements/es.md deleted file mode 100644 index ffbea2cc98a..00000000000 --- a/markdown/dev/tutorials/pattern-design/adding-measurements/es.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: 130|Adding measurements ---- - -FreeSewing is all about *made-to-measure* sewing patterns; We are going to draft our pattern according to the measurements provided to us. - -Which begs the question, which measurements? - -It is you, as the pattern designer, who decides which measurements are required to draft your pattern. For our bib, the only measurement we need is the baby's *head circumference*. - -So let's add it as a required measurement. - -## Add required measurements - -Open the config file at `config/index.js` and update the `measurements` array with the name of our required measurement: - -```js -measurements: ["head"], -``` - - - -Make sure to re-use the names of existing measurements, rather than invent your own. - -See our [best practices](/guides/best-practices/names#re-use-measurements) on this topic for details. - - - -Now everybody knows your pattern requires the `head` measurement. - -This change will also get picked up by the development environment, and you'll now see this screen: - -![This screen tells you you are missing some required measurments](./required-measurements.png) - -Since it's just one measurements, let's simply enter a value by hand. For example `38` as 38cm is a realistic head circumference measurement for a baby. - -Enter `38` in the box, and click on **Draft your pattern** in the top navigation bar to get back to your draft which for now still looks like this: - - diff --git a/markdown/dev/tutorials/pattern-design/adding-measurements/fr.md b/markdown/dev/tutorials/pattern-design/adding-measurements/fr.md deleted file mode 100644 index 57e27088a6f..00000000000 --- a/markdown/dev/tutorials/pattern-design/adding-measurements/fr.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: 130|Adding measurements ---- - -FreeSewing is all about *made-to-measure* sewing patterns; We are going to draft our pattern according to the measurements provided to us. - -Ce qui nous amène à cette question : quelles mesures ? - -C'est vous, en tant que concepteur de patron, qui décidez de quelles mesures vont être requises pour ébaucher votre patron. For our bib, the only measurement we need is the baby's *head circumference*. - -Alors ajoutons-le comme mesure nécessaire. - -## Ajouter les mesures nécessaires - -Ouvrez le fichier de configuration à l'adresse `config/index.js` et mettez à jour le tableau `measurements` avec le nom des mesures requises : - -```js -measurements: ["head"], -``` - - - -Assurez-vous d'employer les noms de mesures existantes, plutôt que d'inventer les vôtres. - -See our [best practices](/guides/best-practices/names#re-use-measurements) on this topic for details. - - - -A présent tout le monde sait que votre patron a besoin de la mesure `head`. - -Ce changement sera également repris par l'environnement de programmation, et vous verrez alors à l'écran : - -![Cet écran vous indique qu'il manque des mesures requises](./required-measurements.png) - -Etant donné qu'il n'y a qu'une seule mesure, rentrons simplement une valeur à la main. Par exemple, `38` pour 38 cm est une mesure de tour de tête réaliste pour un bébé. - -Enter `38` in the box, and click on **Draft your pattern** in the top navigation bar to get back to your draft which for now still looks like this: - - diff --git a/markdown/dev/tutorials/pattern-design/adding-measurements/nl.md b/markdown/dev/tutorials/pattern-design/adding-measurements/nl.md deleted file mode 100644 index e9f21473909..00000000000 --- a/markdown/dev/tutorials/pattern-design/adding-measurements/nl.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: 130|Adding measurements ---- - -FreeSewing is all about *made-to-measure* sewing patterns; We are going to draft our pattern according to the measurements provided to us. - -De vraag is dus: welke afmetingen? - -Jij, als patroonontwerper, bepaalt welke afmetingen nodig zijn om jouw patroon te ontwerpen. For our bib, the only measurement we need is the baby's *head circumference*. - -Dus voegen we die toe als vereiste afmeting. - -## Vereiste afmetingen toevoegen - -Open het config-bestand in `config/index.js` en update de `measurements`-reeks met de naam van de benodigde afmeting: - -```js -measurements: ["head"], -``` - - - -Let erop dat je de namen van bestaande afmetingen gebruikt in plaats van er zelf nieuwe te verzinnen. - -See our [best practices](/guides/best-practices/names#re-use-measurements) on this topic for details. - - - -Nu weet iedereen dat je patroon de afmeting `head` gebruikt. - -Ook de developmentomgeving pikt deze verandering op. Je krijgt dus het volgende scherm te zien: - -![Dit scherm laat je weten dat er vereiste afmetingen ontbreken](./required-measurements.png) - -Aangezien het maar om één afmeting gaat, kunnen we eenvoudig handmatig een waarde invoegen. Bijvoorbeeld `38`, want 38 centimeter is een realistische hoofdomtrek voor een baby. - -Enter `38` in the box, and click on **Draft your pattern** in the top navigation bar to get back to your draft which for now still looks like this: - - diff --git a/markdown/dev/tutorials/pattern-design/adding-options/de.md b/markdown/dev/tutorials/pattern-design/adding-options/de.md deleted file mode 100644 index 8ded4c2a6ad..00000000000 --- a/markdown/dev/tutorials/pattern-design/adding-options/de.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: 140|Adding options ---- - -You know what your bib should look like, and you have the *head* measurement to work with. But there's still a number of choices you have to make: - - - How large should the neck opening be? - - How wide should the bib be? - - How long should the bib be? - -You can make all of these choices for the user and set them in stone, so to speak. - -But since you're designing a pattern in code, it's trivial to make your pattern flexible and let the user decide. All you have to do is add options to your pattern. - -## Add the neckRatio option - -The first option we're going to add controls the ratio between the neck opening and the head circumference. Let's call it `neckRatio`. - -Open the config file at `config/index.js` and add this to the options: - -```js - options: { - // Remove this size option - //size: { pct: 50, min: 10, max: 100 } - // And add the neckRatio options - neckRatio: { pct: 80, min: 70, max: 90 }, - } -``` - -Can you guess what it means? - - - We've added a option of type percentage - - Its minimum value is 70% - - Its maximum value is 90% - - Its default value is 80% - - - -There are different types of options, but percentages are the most common ones. -They are all documentation [in the API docs](/reference/api/config/#options). - - - -Let's do something similar for the width and length of our bib: - -```js -options: { - neckRatio: { pct: 80, min: 70, max: 90 }, - widthRatio: { pct: 45, min: 35, max: 55 }, - lengthRatio: { pct: 50, min: 40, max: 65 }, -} -``` - - - You've added `widthRatio` and `lengthRatio` options - - You've given all options sensible defauls - - You've given all options sensible maximum and minimum boundaries - - - -Later, you'll test-drive your pattern to see how it behaves when you adapt the options -between their minimum and maximum values. At that time, you can still tweak these values. - - - -Before you close the `config/index.js` file, make sure to update the `optionGroups` entry as follows: - -```js -optionGroups: { - fit: ["neckRatio", "widthRatio", "lengthRatio"] -}, -``` - - - -The `optionGroups` entry does not do anything for your pattern as such. -Instead it signals to the frontend that this is how options should be grouped together and presented to the user. - - - -Because you have removed the `box` option, the pattern no longer draws a box. So let's start drawing your bib instead. diff --git a/markdown/dev/tutorials/pattern-design/adding-options/es.md b/markdown/dev/tutorials/pattern-design/adding-options/es.md deleted file mode 100644 index 8ded4c2a6ad..00000000000 --- a/markdown/dev/tutorials/pattern-design/adding-options/es.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: 140|Adding options ---- - -You know what your bib should look like, and you have the *head* measurement to work with. But there's still a number of choices you have to make: - - - How large should the neck opening be? - - How wide should the bib be? - - How long should the bib be? - -You can make all of these choices for the user and set them in stone, so to speak. - -But since you're designing a pattern in code, it's trivial to make your pattern flexible and let the user decide. All you have to do is add options to your pattern. - -## Add the neckRatio option - -The first option we're going to add controls the ratio between the neck opening and the head circumference. Let's call it `neckRatio`. - -Open the config file at `config/index.js` and add this to the options: - -```js - options: { - // Remove this size option - //size: { pct: 50, min: 10, max: 100 } - // And add the neckRatio options - neckRatio: { pct: 80, min: 70, max: 90 }, - } -``` - -Can you guess what it means? - - - We've added a option of type percentage - - Its minimum value is 70% - - Its maximum value is 90% - - Its default value is 80% - - - -There are different types of options, but percentages are the most common ones. -They are all documentation [in the API docs](/reference/api/config/#options). - - - -Let's do something similar for the width and length of our bib: - -```js -options: { - neckRatio: { pct: 80, min: 70, max: 90 }, - widthRatio: { pct: 45, min: 35, max: 55 }, - lengthRatio: { pct: 50, min: 40, max: 65 }, -} -``` - - - You've added `widthRatio` and `lengthRatio` options - - You've given all options sensible defauls - - You've given all options sensible maximum and minimum boundaries - - - -Later, you'll test-drive your pattern to see how it behaves when you adapt the options -between their minimum and maximum values. At that time, you can still tweak these values. - - - -Before you close the `config/index.js` file, make sure to update the `optionGroups` entry as follows: - -```js -optionGroups: { - fit: ["neckRatio", "widthRatio", "lengthRatio"] -}, -``` - - - -The `optionGroups` entry does not do anything for your pattern as such. -Instead it signals to the frontend that this is how options should be grouped together and presented to the user. - - - -Because you have removed the `box` option, the pattern no longer draws a box. So let's start drawing your bib instead. diff --git a/markdown/dev/tutorials/pattern-design/adding-options/fr.md b/markdown/dev/tutorials/pattern-design/adding-options/fr.md deleted file mode 100644 index 2e0b0dd513a..00000000000 --- a/markdown/dev/tutorials/pattern-design/adding-options/fr.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: 140|Adding options ---- - -You know what your bib should look like, and you have the *head* measurement to work with. Mais il y a encore un certain nombre de choix que vous allez devoir faire : - - - Quelle devrait être la largeur de l'encolure ? - - Quelle sera la largeur du bavoir ? - - Quelle longueur devra-t-il avoir ? - -Vous pourriez faire ces choix à la place de l'utilisateur et les graver dans la pierre, pour ainsi dire. - -Mais étant donné que vous concevez un patron sous forme de code, il est trivial de rendre votre patron flexible et de laisser le choix à l'utilisateur. Tout ce que vous avez à faire est d'ajouter des options à votre patron. - -## Ajouter l'option neckRatio - -La première option que nous allons ajouter contrôle le ratio entre l'encolure et le tour de tête. Appelons-la `neckRatio`. - -Ouvrez le fichier de configuration à cette adresse `config/index.js` et ajoutez ceci aux options : - -```js - options: { - // Supprimez cette option de taille (size) - //size: { pct: 50, min: 10, max: 100 } - // Et ajoutez l'option neckRatio - neckRatio: { pct: 80, min: 70, max: 90 }, - } -``` - -Pouvez-vous devinez ce que cela signifie ? - - - Nous avons ajouté une option de type pourcentage - - Sa valeur minimale est de 70% - - Sa valeur maximale est de 90% - - Sa valeur par défaut est de 80% - - - -Il y a différents types d'options, mais les pourcentages sont les plus communes. -They are all documentation [in the API docs](/reference/api/config/#options). - - - -Faisons quelque chose de similaire pour la largeur (width en anglais) et la longueur (length en anglais) de notre bavoir : - -```js -options: { - neckRatio: { pct: 80, min: 70, max: 90 }, - widthRatio: { pct: 45, min: 35, max: 55 }, - lengthRatio: { pct: 50, min: 40, max: 65 }, -} -``` - - - Vous avez ajouté les options `widthRatio` et `lengthRatio` - - Vous avez donné toutes les valeurs par défaut sensibles des options - - Vous avez donné toutes les valeurs sensibles pour les minima et les maxima des options - - - -Plus tard, vous testerez votre patron pour voir comment il se comporte lorsque vous modifierez les options entre leurs valeurs minimales et maximales. A cet instant, vous pouvez encore ajuster ces valeurs. - - - -Avant de fermer le fichier `config/index.js`, assurez-vous de mettre à jour l'entrée `optionGroups` comme suit : - -```js -optionGroups: { - fit: ["neckRatio", "widthRatio", "lengthRatio"] -}, -``` - - - -The `optionGroups` entry does not do anything for your pattern as such. -Elle signale au frontend que c'est ainsi que les options devraient être rassemblées et présentées à l'utilisateur. - - - -Etant donnée que vous avez supprimé l'option `box`, le patron ne dessine plus une boîte. Alors commençons à dessiner votre bavoir à la place. diff --git a/markdown/dev/tutorials/pattern-design/adding-options/nl.md b/markdown/dev/tutorials/pattern-design/adding-options/nl.md deleted file mode 100644 index e795e0e551e..00000000000 --- a/markdown/dev/tutorials/pattern-design/adding-options/nl.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: 140|Adding options ---- - -You know what your bib should look like, and you have the *head* measurement to work with. Maar je moet nog een aantal keuzes maken: - - - Hoe groot moet de halsopening zijn? - - Hoe breed moet het slabbetje zijn? - - Hoe lang moet het slabbetje zijn? - -Je kan al deze keuzes maken voor de gebruiker. Ze zijn dan 'in steen gebeiteld', om het zo maar te noemen. - -Maar aangezien je een patroon aan het ontwerpen bent in code, is het een kleine moeite om je patroon flexibel te maken en de gebruiker te laten beslissen. Al wat je hoeft te doen, is opties toevoegen aan je patroon. - -## De optie neckRatio toevoegen - -De eerste optie die we gaan toevoegen bepaalt de verhouding tussen de halsopening en de hoofdomtrek. Laten we het `neckRatio` noemen. - -Open het config-bestand in `config/index.js` en voeg dit toe bij de opties: - -```js - options: { - // Verwijder deze maatoptie - //size: { pct: 50, min: 10, max: 100 } - // En voeg de opties neckRatio toe - neckRatio: { pct: 80, min: 70, max: 90 }, - } -``` - -De betekenis hiervan kan je wel raden: - - - We hebben type-percentage als optie toegevoegd - - De minimumwaarde is 70 % - - De maximumwaarde is 90 % - - De standaardwaarde is 80 % - - - -Er zijn verschillende types van opties, maar percentages zijn de meest voorkomende. -They are all documentation [in the API docs](/reference/api/config/#options). - - - -Laten we iets vergelijkbaars doen voor de breedte en lengte van het slabbetje: - -```js -options: { - neckRatio: { pct: 80, min: 70, max: 90 }, - widthRatio: { pct: 45, min: 35, max: 55 }, - lengthRatio: { pct: 50, min: 40, max: 65 }, -} -``` - - - Je hebt nu de opties `widthRatio` en `lengthRatio` toegevoegd - - Je hebt voor alle opties realistische standaardwaardes ingesteld - - Je hebt voor alle opties realistische maximum- en minimumgrenzen ingesteld - - - -Op een later moment ga je het patroon testen om te zien hoe het zich gedraagt wanneer je de opties aanpast tussen de minimum- en maximumwaardes. Op dat moment kan je de waarden nog altijd aanpassen. - - - -Let erop voordat je het `config/index.js`-bestand sluit, dat je de `optionGroups`-entry als volgt updatet: - -```js -optionGroups: { - fit: ["neckRatio", "widthRatio", "lengthRatio"] -}, -``` - - - -The `optionGroups` entry does not do anything for your pattern as such. -Het geeft enkel aan de frontend aan dat opties op deze manier bij elkaar moeten worden gezet en aan de gebruiker worden getoond. - - - -Omdat je de `box`-optie hebt verwijderd, tekent het patroon nu geen kader meer. Laten we dus beginnen met je slabbetje te tekenen. diff --git a/markdown/dev/tutorials/pattern-design/avoiding-overlap/de.md b/markdown/dev/tutorials/pattern-design/avoiding-overlap/de.md deleted file mode 100644 index 903bf968104..00000000000 --- a/markdown/dev/tutorials/pattern-design/avoiding-overlap/de.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: Avoiding overlap -order: 220 ---- - -While you've only drawn the end of one strap, it's pretty obvious they overlap. Which is a big no-no in sewing patterns, so you're going to have to address that. - -Specifically, we're going to rotate our strap out of the way until it no longer overlaps. The rest of your bib should stay as it is, so let's start by making a list of points we need to rotate: - -```js -let rotateThese = [ - "edgeTopLeftCp", - "edgeTop", - "tipRight", - "tipRightTop", - "tipRightTopStart", - "tipRightTopCp1", - "tipRightTopCp2", - "tipRightTopEnd", - "tipRightBottomStart", - "tipRightBottomCp1", - "tipRightBottomCp2", - "tipRightBottomEnd", - "tipRightBottom", - "top", - "topCp2" -]; -``` - -Now you can rotate them. How far? Until the strap no longer overlaps: - -```js -while (points.tipRightBottomStart.x > -1) { - for (let p of rotateThese) points[p] = points[p].rotate(1, points.edgeLeft); -} -``` - -We're rotating all the points in the `rotateThese` array around the `edgeLeft` points. We're using increments of 1 degree until the `tipRightBottomStart` point is 1mm passed the center of our bib. - -While we're add it, let's add a point where the closure's snap should go: - -```js -points.snapLeft = points.top.shiftFractionTowards(points.edgeTop, 0.5); -``` - - - -Now let's mirror this on the other side, and replace our `neck` and `rect` paths with a new path. - diff --git a/markdown/dev/tutorials/pattern-design/avoiding-overlap/es.md b/markdown/dev/tutorials/pattern-design/avoiding-overlap/es.md deleted file mode 100644 index 903bf968104..00000000000 --- a/markdown/dev/tutorials/pattern-design/avoiding-overlap/es.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: Avoiding overlap -order: 220 ---- - -While you've only drawn the end of one strap, it's pretty obvious they overlap. Which is a big no-no in sewing patterns, so you're going to have to address that. - -Specifically, we're going to rotate our strap out of the way until it no longer overlaps. The rest of your bib should stay as it is, so let's start by making a list of points we need to rotate: - -```js -let rotateThese = [ - "edgeTopLeftCp", - "edgeTop", - "tipRight", - "tipRightTop", - "tipRightTopStart", - "tipRightTopCp1", - "tipRightTopCp2", - "tipRightTopEnd", - "tipRightBottomStart", - "tipRightBottomCp1", - "tipRightBottomCp2", - "tipRightBottomEnd", - "tipRightBottom", - "top", - "topCp2" -]; -``` - -Now you can rotate them. How far? Until the strap no longer overlaps: - -```js -while (points.tipRightBottomStart.x > -1) { - for (let p of rotateThese) points[p] = points[p].rotate(1, points.edgeLeft); -} -``` - -We're rotating all the points in the `rotateThese` array around the `edgeLeft` points. We're using increments of 1 degree until the `tipRightBottomStart` point is 1mm passed the center of our bib. - -While we're add it, let's add a point where the closure's snap should go: - -```js -points.snapLeft = points.top.shiftFractionTowards(points.edgeTop, 0.5); -``` - - - -Now let's mirror this on the other side, and replace our `neck` and `rect` paths with a new path. - diff --git a/markdown/dev/tutorials/pattern-design/avoiding-overlap/fr.md b/markdown/dev/tutorials/pattern-design/avoiding-overlap/fr.md deleted file mode 100644 index 74036c9accb..00000000000 --- a/markdown/dev/tutorials/pattern-design/avoiding-overlap/fr.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: Eviter le chevauchement -order: 220 ---- - -Tandis que vous avez seulement dessiné l'extrémité d'une attache, il est assez évident que les attaches se chevauchent. Ce qui est absolument inadmissible pour un patron de couture, alors il va falloir résoudre ce problème. - -Spécifiquement, nous allons faire tourner (rotate) notre attache de façon à ce qu'elle ne se superpose plus sur la deuxième. Le reste du bavoir devrait rester tel quel, alors commençons par lister les points qui doivent subir une rotation : - -```js -let rotateThese = [ - "edgeTopLeftCp", - "edgeTop", - "tipRight", - "tipRightTop", - "tipRightTopStart", - "tipRightTopCp1", - "tipRightTopCp2", - "tipRightTopEnd", - "tipRightBottomStart", - "tipRightBottomCp1", - "tipRightBottomCp2", - "tipRightBottomEnd", - "tipRightBottom", - "top", - "topCp2" -]; -``` - -A présent vous pouvez les faire tourner. Jusqu'où ? Jusqu'à ce que les attaches ne se chevauchent plus : - -```js -while (points.tipRightBottomStart.x > -1) { - for (let p of rotateThese) points[p] = points[p].rotate(1, points.edgeLeft); -} -``` - -Nous allons faire tourner tous les points du tableau `rotateThese` autour des points `edgeLeft` (bord gauche). Nous utilisons des incréments de 1 degré jusqu'à ce que le point `tipRightBottomStart` dépasse d'1 mm du centre du bavoir. - -Dans le même temps, ajoutons un point où le bouton pression devrait se trouver : - -```js -points.snapLeft = points.top.shiftFractionTowards(points.edgeTop, 0.5); -``` - - - -Maintenant, effectuons l'image miroir de l'autre côté, et remplaçons nos chemins `neck` et `rect` par un nouveau chemin. - diff --git a/markdown/dev/tutorials/pattern-design/avoiding-overlap/nl.md b/markdown/dev/tutorials/pattern-design/avoiding-overlap/nl.md deleted file mode 100644 index df9cfd93578..00000000000 --- a/markdown/dev/tutorials/pattern-design/avoiding-overlap/nl.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: Overlap vermijden -order: 220 ---- - -Je hebt nu enkel nog maar het uiteinde van één bandje getekend, maar het is al heel duidelijk dat ze overlappen. Dat is een grote no-no in naaipatronen, dus daar moeten we iets aan doen. - -We gaan het bandje uit de weg draaien zodat het niet meer overlapt. De rest van het slabbetje moet blijven zoals het is, dus laten we om te beginnen een lijst maken van punten die moeten draaien: - -```js -let rotateThese = [ - "edgeTopLeftCp", - "edgeTop", - "tipRight", - "tipRightTop", - "tipRightTopStart", - "tipRightTopCp1", - "tipRightTopCp2", - "tipRightTopEnd", - "tipRightBottomStart", - "tipRightBottomCp1", - "tipRightBottomCp2", - "tipRightBottomEnd", - "tipRightBottom", - "top", - "topCp2" -]; -``` - -Nu kan je ze roteren. Hoe ver? Tot het bandje niet meer overlapt: - -```js -while (points.tipRightBottomStart.x > -1) { - for (let p of rotateThese) points[p] = points[p].rotate(1, points.edgeLeft); -} -``` - -We roteren alle punten in de `rotateThese`-reeks rond de punten van `edgeLeft`. We werken met stappen van 1 graad totdat het punt `tipRightBottomStart` 1 millimeter voorbij het midden van het slabbetje ligt. - -En nu we toch bezig zijn, kunnen we meteen een punt toevoegen waar de drukknop voor de sluiting terecht moet komen: - -```js -points.snapLeft = points.top.shiftFractionTowards(points.edgeTop, 0.5); -``` - - - -Dat gaan we spiegelen aan de andere kant en de paden voor `neck` en `rect` vervangen door een nieuw pad. - diff --git a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/de.md b/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/de.md deleted file mode 100644 index 6cf74b324a3..00000000000 --- a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/de.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: 180|Completing the neck opening ---- - -As the neck opening is symmetrical, there's no need to re-calculate the points on the other side. You can just flip them over, so to speak. And that's exactly what you'll do: - -First create some new points: - -```js -points.rightCp2 = points.rightCp1.flipY(); -points.bottomCp1 = points.bottomCp2.flipX(); - -points.left = points.right.flipX(); -points.leftCp1 = points.rightCp2.flipX(); -points.leftCp2 = points.rightCp1.flipX(); - -points.top = points.bottom.flipY(); -points.topCp1 = points.bottomCp2.flipY(); -points.topCp2 = points.bottomCp1.flipY(); -``` - - - -We're using the `Point.flipX()` and `Point.flipY()` methods here. -Perhaps you can figure out what they do? If not, check [the API documentation](/reference/api/point/). - - - -Then, update your path: - -```js -paths.neck = new Path() - .move(points.top) - .curve(points.topCp2, points.leftCp1, points.left) - .curve(points.leftCp2, points.bottomCp1, points.bottom) - .curve(points.bottomCp2, points.rightCp1, points.right) - .curve(points.rightCp2, points.topCp1, points.top) - .close(); -``` - - - diff --git a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/es.md b/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/es.md deleted file mode 100644 index 6cf74b324a3..00000000000 --- a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/es.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: 180|Completing the neck opening ---- - -As the neck opening is symmetrical, there's no need to re-calculate the points on the other side. You can just flip them over, so to speak. And that's exactly what you'll do: - -First create some new points: - -```js -points.rightCp2 = points.rightCp1.flipY(); -points.bottomCp1 = points.bottomCp2.flipX(); - -points.left = points.right.flipX(); -points.leftCp1 = points.rightCp2.flipX(); -points.leftCp2 = points.rightCp1.flipX(); - -points.top = points.bottom.flipY(); -points.topCp1 = points.bottomCp2.flipY(); -points.topCp2 = points.bottomCp1.flipY(); -``` - - - -We're using the `Point.flipX()` and `Point.flipY()` methods here. -Perhaps you can figure out what they do? If not, check [the API documentation](/reference/api/point/). - - - -Then, update your path: - -```js -paths.neck = new Path() - .move(points.top) - .curve(points.topCp2, points.leftCp1, points.left) - .curve(points.leftCp2, points.bottomCp1, points.bottom) - .curve(points.bottomCp2, points.rightCp1, points.right) - .curve(points.rightCp2, points.topCp1, points.top) - .close(); -``` - - - diff --git a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/fr.md b/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/fr.md deleted file mode 100644 index 949b3f82029..00000000000 --- a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/fr.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: 180|Completing the neck opening ---- - -Comme l'encolure est symétrique, il n'est pas nécessaire de recalculer les points de l'autre côté. Vous pouvez tout simplement les retourner, pour ainsi dire. Et c'est exactement ce que vous allez faire : - -D'abord, créez quelques nouveaux points : - -```js -points.rightCp2 = points.rightCp1.flipY(); -points.bottomCp1 = points.bottomCp2.flipX(); - -points.left = points.right.flipX(); -points.leftCp1 = points.rightCp2.flipX(); -points.leftCp2 = points.rightCp1.flipX(); - -points.top = points.bottom.flipY(); -points.topCp1 = points.bottomCp2.flipY(); -points.topCp2 = points.bottomCp1.flipY(); -``` - - - -We're using the `Point.flipX()` and `Point.flipY()` methods here. -Peut-être pouvez-vous deviner à quoi elles servent ? If not, check [the API documentation](/reference/api/point/). - - - -Puis, mettez à jour votre chemin : - -```js -paths.neck = new Path() - .move(points.top) - .curve(points.topCp2, points.leftCp1, points.left) - .curve(points.leftCp2, points.bottomCp1, points.bottom) - .curve(points.bottomCp2, points.rightCp1, points.right) - .curve(points.rightCp2, points.topCp1, points.top) - .close(); -``` - - - diff --git a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/nl.md b/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/nl.md deleted file mode 100644 index 6e4dfea9391..00000000000 --- a/markdown/dev/tutorials/pattern-design/completing-the-neck-opening/nl.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: 180|Completing the neck opening ---- - -Aangezien de halsopening symmetrisch is, hoeven we de punten aan de andere kant niet opnieuw te berekenen. Je kan ze gewoon omdraaien. Dat is dus precies wat we gaan doen: - -Eerst creëer je een aantal nieuwe punten: - -```js -points.rightCp2 = points.rightCp1.flipY(); -points.bottomCp1 = points.bottomCp2.flipX(); - -points.left = points.right.flipX(); -points.leftCp1 = points.rightCp2.flipX(); -points.leftCp2 = points.rightCp1.flipX(); - -points.top = points.bottom.flipY(); -points.topCp1 = points.bottomCp2.flipY(); -points.topCp2 = points.bottomCp1.flipY(); -``` - - - -We're using the `Point.flipX()` and `Point.flipY()` methods here. -Je kan misschien wel raden wat ze doen. If not, check [the API documentation](/reference/api/point/). - - - -Vervolgens update je het pad: - -```js -paths.neck = new Path() - .move(points.top) - .curve(points.topCp2, points.leftCp1, points.left) - .curve(points.leftCp2, points.bottomCp1, points.bottom) - .curve(points.bottomCp2, points.rightCp1, points.right) - .curve(points.rightCp2, points.topCp1, points.top) - .close(); -``` - - - diff --git a/markdown/dev/tutorials/pattern-design/completing-your-pattern/de.md b/markdown/dev/tutorials/pattern-design/completing-your-pattern/de.md deleted file mode 100644 index cf59f4d1c4d..00000000000 --- a/markdown/dev/tutorials/pattern-design/completing-your-pattern/de.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -title: Completing your pattern -order: 260 ---- - -When we started out, we said a good part boilerplate looks like this: - -```js -export default function(part) { - let { Point, points, Path, paths } = part.shorthand(); - // Design pattern here - - // Complete? - if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } - } - return part; -} -``` - -So far, we've kept to the *// Design pattern here* area, but now we're going to work on the area under *// Complete?* - - - -###### The point of (non) complete patterns - -Users can set the `complete` setting to `false`. When that's the case, you -should draft a base outline of the pattern, rather than a fully detailed pattern.i - -This has different uses, such as generating patterns to be cut out with a laser cutter. - - - -The `complete` setting is `true` by default, but the user can change it. To access the setting, we merely have to tell `part.shorthand()` that we'd like to access it. - -While we're at it, also add `snippets` and `Snippet`, like this: - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet -} = part.shorthand(); -``` - -## Adding snippets - -Snippets are little re-useable things to embellish your pattern with. Things like buttons or buttonholes, a logo, or snaps: - -```js -// Complete? -if (complete) { - snippets.snapMale = new Snippet("snap-male", points.snapLeft); - snippets.snapFemale = new Snippet("snap-female", points.snapRight) - .attr("opacity", 0.5); - - if (sa) { - } - // Paperless? - if (paperless) { - } -} -``` - -We've added a `snap-male` and `snap-female` snippet to the points we had foreseen for that. - -Because the female snippet is at the back of the fabric, we've made it semi-transparent by setting the `opacity` attribute to `0.5`. Yes, you can do that. - - - -Any attributes you set will be added to the SVG output. - - - -Since we're adding snippets, let's throw a logo on there to: - -```js -points.logo = new Point(0, 0); -snippets.logo = new Snippet("logo", points.logo); -``` - -## Seam allowance - -Just like users can choose whether they want a complete pattern or not, they can choose whether they want to include seam allowance on the pattern or not. - -This is why we have this condition: - -```js -if (sa) { -} -``` - -Our bib does not use seam allowance. Instead we'll finish it with bias tape. So you can simply remove that condition. - -However, for future refefence, `sa` is a variable that you can get from `part.shorthand()` just like `complete`. But instead of `true` or `false` it will hold the amount if seam allowance in mm. - -Note that you can still do `if (sa)` because zero is *falsy*. - -We won't be adding seam allowance, but we will be doing something that is essentially the same. Rather than draw an outline outside our bib to indicate the seam allowance, we'll draw one within our bib to mark the bias tape: - -```js -paths.bias = paths.seam - .offset(-5) - .attr("class", "various dashed") - .attr("data-text", "finishWithBiasTape") - .attr("data-text-class", "center fill-various"); -``` - -The `path.offset()` method makes it trivial to add seam allowance, since it will contruct a path parallel at the distance you pass it. 9 times out of 10, you'll be using it as `path.offset(sa)`. - -Note that we're also using the attributes again, to change the look of the line, and add text to it, as explained in [Adding text](/concepts/adding-text). - -## Scalebox and title - -Two more macros and we're done. - -The `title` macro adds a title to our part. It's not that big a deal here since we only have one part in our pattern. But patterns typically have many different parts, some of them which might look rather similar. That's why you should number your parts and give them a name. - -The `title` macro can help you with that: - -```js -points.title = points.bottom.shift(-90, 45); -macro("title", { - at: points.title, - nr: 1, - title: "bib" -}); -``` - -The `scalebox` macro prints a box of an exact size. It is used by people who print the pattern to make sure their print is correctly scaled. - -```js -points.scalebox = points.title.shift(-90, 55); -macro("scalebox", { at: points.scalebox }); -``` - -And with that, our pattern is now *complete*: - - - -We're not done yet though. There's one more thing the user can ask for: a *paperless* pattern. - diff --git a/markdown/dev/tutorials/pattern-design/completing-your-pattern/es.md b/markdown/dev/tutorials/pattern-design/completing-your-pattern/es.md deleted file mode 100644 index cf59f4d1c4d..00000000000 --- a/markdown/dev/tutorials/pattern-design/completing-your-pattern/es.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -title: Completing your pattern -order: 260 ---- - -When we started out, we said a good part boilerplate looks like this: - -```js -export default function(part) { - let { Point, points, Path, paths } = part.shorthand(); - // Design pattern here - - // Complete? - if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } - } - return part; -} -``` - -So far, we've kept to the *// Design pattern here* area, but now we're going to work on the area under *// Complete?* - - - -###### The point of (non) complete patterns - -Users can set the `complete` setting to `false`. When that's the case, you -should draft a base outline of the pattern, rather than a fully detailed pattern.i - -This has different uses, such as generating patterns to be cut out with a laser cutter. - - - -The `complete` setting is `true` by default, but the user can change it. To access the setting, we merely have to tell `part.shorthand()` that we'd like to access it. - -While we're at it, also add `snippets` and `Snippet`, like this: - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet -} = part.shorthand(); -``` - -## Adding snippets - -Snippets are little re-useable things to embellish your pattern with. Things like buttons or buttonholes, a logo, or snaps: - -```js -// Complete? -if (complete) { - snippets.snapMale = new Snippet("snap-male", points.snapLeft); - snippets.snapFemale = new Snippet("snap-female", points.snapRight) - .attr("opacity", 0.5); - - if (sa) { - } - // Paperless? - if (paperless) { - } -} -``` - -We've added a `snap-male` and `snap-female` snippet to the points we had foreseen for that. - -Because the female snippet is at the back of the fabric, we've made it semi-transparent by setting the `opacity` attribute to `0.5`. Yes, you can do that. - - - -Any attributes you set will be added to the SVG output. - - - -Since we're adding snippets, let's throw a logo on there to: - -```js -points.logo = new Point(0, 0); -snippets.logo = new Snippet("logo", points.logo); -``` - -## Seam allowance - -Just like users can choose whether they want a complete pattern or not, they can choose whether they want to include seam allowance on the pattern or not. - -This is why we have this condition: - -```js -if (sa) { -} -``` - -Our bib does not use seam allowance. Instead we'll finish it with bias tape. So you can simply remove that condition. - -However, for future refefence, `sa` is a variable that you can get from `part.shorthand()` just like `complete`. But instead of `true` or `false` it will hold the amount if seam allowance in mm. - -Note that you can still do `if (sa)` because zero is *falsy*. - -We won't be adding seam allowance, but we will be doing something that is essentially the same. Rather than draw an outline outside our bib to indicate the seam allowance, we'll draw one within our bib to mark the bias tape: - -```js -paths.bias = paths.seam - .offset(-5) - .attr("class", "various dashed") - .attr("data-text", "finishWithBiasTape") - .attr("data-text-class", "center fill-various"); -``` - -The `path.offset()` method makes it trivial to add seam allowance, since it will contruct a path parallel at the distance you pass it. 9 times out of 10, you'll be using it as `path.offset(sa)`. - -Note that we're also using the attributes again, to change the look of the line, and add text to it, as explained in [Adding text](/concepts/adding-text). - -## Scalebox and title - -Two more macros and we're done. - -The `title` macro adds a title to our part. It's not that big a deal here since we only have one part in our pattern. But patterns typically have many different parts, some of them which might look rather similar. That's why you should number your parts and give them a name. - -The `title` macro can help you with that: - -```js -points.title = points.bottom.shift(-90, 45); -macro("title", { - at: points.title, - nr: 1, - title: "bib" -}); -``` - -The `scalebox` macro prints a box of an exact size. It is used by people who print the pattern to make sure their print is correctly scaled. - -```js -points.scalebox = points.title.shift(-90, 55); -macro("scalebox", { at: points.scalebox }); -``` - -And with that, our pattern is now *complete*: - - - -We're not done yet though. There's one more thing the user can ask for: a *paperless* pattern. - diff --git a/markdown/dev/tutorials/pattern-design/completing-your-pattern/fr.md b/markdown/dev/tutorials/pattern-design/completing-your-pattern/fr.md deleted file mode 100644 index f839c5cd205..00000000000 --- a/markdown/dev/tutorials/pattern-design/completing-your-pattern/fr.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -title: Compléter votre patron -order: 260 ---- - -Lorsque nous avons commencé, nous avons dit qu'une bonne partie standard ressemblait à cela : - -```js -export default function(part) { - let { Point, points, Path, paths } = part.shorthand(); - // Design pattern here - - // Complete? - if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } - } - return part; -} -``` - -So far, we've kept to the *// Design pattern here* area, but now we're going to work on the area under *// Complete?* - - - -###### The point of (non) complete patterns - -Users can set the `complete` setting to `false`. When that's the case, you -should draft a base outline of the pattern, rather than a fully detailed pattern.i - -This has different uses, such as generating patterns to be cut out with a laser cutter. - - - -Le réglage `complete` est sur `true` par défaut, mais l'utilisateur peut le modifier. Pour accéder à ce paramètre, nous avons juste à dire à `part.shorthand()` que nous aimerions y avoir accès. - -Tant que nous y sommes, ajoutons également `snippets` et `Snippet`, comme ceci : - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet -} = part.shorthand(); -``` - -## Adding snippets - -Les snippets sont de petites choses réutilisables pour embellir notre patron. Des choses comme les boutons et les boutonnières, un logo, ou des boutons pression : - -```js -// Complete? -if (complete) { - snippets.snapMale = new Snippet("snap-male", points.snapLeft); - snippets.snapFemale = new Snippet("snap-female", points.snapRight) - .attr("opacity", 0.5); - - if (sa) { - } - // Paperless? - if (paperless) { - } -} -``` - -Nous avons ajouté des snippets `snap-male` (pression mâle) et `snap-female` (pression femelle) aux points que nous avons envisagés pour cela. - -Etant donné que la pression femelle est sur l'envers du tissu, nous l'avons rendue semi-transparente en réglant l'attribut `opacity` (opacité) à `0.5`. Oui, vous pouvez faire ça. - - - -Tous les attributs que vous réglez seront ajoutés à la sortie SVG. - - - -Puisque nous ajoutons des snippets, mettons-y également un logo : - -```js -points.logo = new Point(0, 0); -snippets.logo = new Snippet("logo", points.logo); -``` - -## Seam allowance - -De la même façon que les utilisateurs peuvent choisir s'ils désirent un patron complet ou non, ils peuvent choisir d'inclure ou non des marges de couture sur le patron. - -Voici pourquoi nous avons cette condition : - -```js -if (sa) { -} -``` - -Notre bavoir n'utilise pas de marge de couture. Nous allons employer du biais pour la finition. Alors vous pouvez simplement supprimer cette condition. - -Toutefois, pour de futures références, `sa` (pour seam allowance) est la variable que vous pouvez obtenir de `part.shorthand()` tout comme `complete`. Mais au lieu des valeurs `true` ou `false`, elle contiendra la quantité de marge de couture en mm. - -Note that you can still do `if (sa)` because zero is *falsy*. - -Nous n'ajouterons pas de marge de couture, mais nous allons faire quelque chose qui s'en rapproche dans l'absolu. Plutôt que de dessiner un contour hors de notre bavoir pour indiquer la marge de couture, nous allons en dessiner un au sein de notre bavoir pour signifier le ruban de biais : - -```js -paths.bias = paths.seam - .offset(-5) - .attr("class", "various dashed") - .attr("data-text", "finishWithBiasTape") - .attr("data-text-class", "center fill-various"); -``` - -La méthode `path.offset()` rend la tâche d'ajouter une marge de couture triviale, étant donné qu'elle construit un chemin parallèle à la distance que vous désirez. 9 fois sur 10, vous l'utiliserez en tant que `path.offset(sa)`. - -Notez que nous employons de nouveau les attributs, pour modifier l'aspect de la ligne, et pour ajouter du texte dessus, comme expliqué dans [Ajouter du texte](fr/concepts/adding-text). - -## Echelle et titre - -Deux macros en plus et nous aurons terminé. - -La macro `title` ajoute un titre à notre partie. Ce n'est pas indispensable ici puisque nous n'avons qu'une seule partie. Mais les patrons ont en général différentes parties, quelques unes d'entre elles peuvent se ressembler. C'est pourquoi vous devriez numéroter vos parties et leur donner un nom. - -La macro `title` est là pour vous aider : - -```js -points.title = points.bottom.shift(-90, 45); -macro("title", { - at: points.title, - nr: 1, - title: "bib" -}); -``` - -La macro `scalebox` imprime un carré de dimensions exactes. Elle est utilisée par les personnes qui impriment leur patron afin qu'elles puissent vérifier que leur impression est à la bonne échelle. - -```js -points.scalebox = points.title.shift(-90, 55); -macro("scalebox", { at: points.scalebox }); -``` - -And with that, our pattern is now *complete*: - - - -Nous n'avons pas tout à fait terminé cependant. There's one more thing the user can ask for: a *paperless* pattern. - diff --git a/markdown/dev/tutorials/pattern-design/completing-your-pattern/nl.md b/markdown/dev/tutorials/pattern-design/completing-your-pattern/nl.md deleted file mode 100644 index 81d4603debd..00000000000 --- a/markdown/dev/tutorials/pattern-design/completing-your-pattern/nl.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -title: Je patroon vervolledigen -order: 260 ---- - -Helemaal in het begin hebben we gezegd dat een goede boilerplate voor onderdelen er zo uitziet: - -```js -export default function(part) { - let { Point, points, Path, paths } = part.shorthand(); - // Ontwerp je patroon hier - - // Complete? - if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } - } - return part; -} -``` - -So far, we've kept to the *// Design pattern here* area, but now we're going to work on the area under *// Complete?* - - - -###### The point of (non) complete patterns - -Users can set the `complete` setting to `false`. When that's the case, you -should draft a base outline of the pattern, rather than a fully detailed pattern.i - -This has different uses, such as generating patterns to be cut out with a laser cutter. - - - -De instelling `complete` staat standaard op `true`, maar de gebruiker kan dat veranderen. Je krijgt toegang tot deze instelling via `part.shorthand()`. - -Als we toch bezig zijn, kunnen we ook `snippets` en `Snippet` toevoegen: - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet -} = part.shorthand(); -``` - -## Snippets toevoegen - -Snippets zijn kleine, herbruikbare dingen die je aan je patroon toevoegt, zoals knopen en knoopsgaten, een logo of een markering voor drukknopen: - -```js -// Complete? -if (complete) { - snippets.snapMale = new Snippet("snap-male", points.snapLeft); - snippets.snapFemale = new Snippet("snap-female", points.snapRight) - .attr("opacity", 0.5); - - if (sa) { - } - // Paperless? - if (paperless) { - } -} -``` - -Je hebt nu een snippet toegevoegd voor beide delen van een drukknoop, `snap-male` en `snap-female`, op de punten die we daarvoor voorzien hadden. - -Omdat het 'vrouwtje' van de drukknoop aan de achterkant van de stof zit, maak je het halftransparant door de eigenschap `opacity` in te stellen op `0.5`. Jep, dat kan. - - - -Alle eigenschappen die je instelt, worden toegevoegd aan de SVG-output. - - - -Nu we toch snippets aan het maken zijn, kunnen we ook een logo toevoegen: - -```js -points.logo = new Point(0, 0); -snippets.logo = new Snippet("logo", points.logo); -``` - -## Naadtoeslag - -Net zoals ze de keuze hebben tussen een compleet patroon of een vereenvoudigd, kunnen gebruikers ook kiezen of ze naadwaarde willen toevoegen aan het patroon of niet. - -Daarvoor dient deze voorwaarde: - -```js -if (sa) { -} -``` - -Ons slabbetje heeft geen naadwaarde omdat we het afwerken met biaislint. Je kan de voorwaarde in dit geval dus gewoon weglaten. - -Maar voor een volgende keer, wanneer je wél de optie van naadwaarde nodig hebt: `sa` (kort voor 'seam allowance' of naadwaarde) is een variabele die je instelt in `part.shorthand()`, net zoals `complete`. In plaats van `true` of `false` voeg je hier de naadwaarde toe in millimeter. - -Note that you can still do `if (sa)` because zero is *falsy*. - -We voegen hier dus geen naadwaarde toe, maar we doen iets dat op hetzelfde neerkomt. In plaats van een extra lijn toe te voegen aan de buitenkant van het slabbetje om de naadwaarde aan te geven, tekenen we een lijn aan de binnenkant om de rand van het biaislint aan te geven: - -```js -paths.bias = paths.seam - .offset(-5) - .attr("class", "various dashed") - .attr("data-text", "finishWithBiasTape") - .attr("data-text-class", "center fill-various"); -``` - -De `path.offset()`-methode maakt het onnodig om naadwaarde toe te voegen, aangezien het een parallel pad toevoegt op de afstand die je instelt. Negen van de tien keer ga je dat gebruiken als `path.offset(sa)`. - -Merk op dat we hier opnieuw eigenschappen (attributen) gebruiken om het uitzicht van de lijn te veranderen en er tekst aan toe te voegen. Dat staat verder uitgelegd in [Tekst toevoegen](/concepts/adding-text). - -## Schaalkader en titel - -Nog twee macro's en we zijn klaar. - -De `title`-macro voegt een titel toe aan elk onderdeel. In dit geval doet dat er weinig toe, want het patroon bestaat uit maar één deel. Maar de meeste patronen bestaan uit veel verschillende onderdelen die soms erg op elkaar lijken. Dan is het handig om al je patroondelen een nummer en een naam te geven. - -Dat is precies wat de `title`-macro doet: - -```js -points.title = points.bottom.shift(-90, 45); -macro("title", { - at: points.title, - nr: 1, - title: "bib" -}); -``` - -De `scalebox`-matro print een schaalkader af van een exacte grootte. Dat is nuttig voor mensen die het patroon afdrukken om zeker te zijn dat het patroon op de juiste schaal geprint is. - -```js -points.scalebox = points.title.shift(-90, 55); -macro("scalebox", { at: points.scalebox }); -``` - -And with that, our pattern is now *complete*: - - - -We zijn nog niet helemaal klaar. There's one more thing the user can ask for: a *paperless* pattern. - diff --git a/markdown/dev/tutorials/pattern-design/conclusion/de.md b/markdown/dev/tutorials/pattern-design/conclusion/de.md deleted file mode 100644 index 01d650213ea..00000000000 --- a/markdown/dev/tutorials/pattern-design/conclusion/de.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: 280|Conclusion ---- - -Congratulations, you have created your first pattern. And while it's arguably rather simple, you have learned a bunch of things along the way. Let's list some of the things you've learned: - - - You have learned how to [setup your development environment](/tutorials/pattern-design/create-freesewing-pattern) with `npm init freesewing-pattern` - - You learned how to [add parts](/tutorials/pattern-design/your-first-part), [measurements](/tutorials/pattern-design/adding-measurements), and [options](/tutorials/pattern-design/adding-options) to your pattern's configuration file - - You learned what [a good boilerplate is to start with a new part](/tutorials/pattern-design/part-structure) - - You've learned [how to add points and draw paths](/tutorials/pattern-design/constructing-the-neck-opening) - - You learned how you can make changes in a loop to [adapt the neckopening](/tutorials/pattern-design/fitting-the-neck-opening) or [rotate the straps](/tutorials/pattern-design/avoiding-overlap) until they were just right - - You learned about [macros and how to use them](/tutorials/pattern-design/creating-the-closure) - - You learned different methods to manipulate [points](/reference/api/point/) and [paths](/reference/api/path/) - - You learned about using [attributes](/reference/api/attributes/) to influence the appearance of points and paths - - Your learned about what it means to draft [a complete pattern](/tutorials/pattern-design/completing-your-pattern) - - Your learned about [snippets and how to add them](/tutorials/pattern-design/completing-your-pattern#adding-snippets) - - You learned [how to offset a path](/tutorials/pattern-design/completing-your-pattern#seam-allowance) to create seam allowance, or in our case, mark the bias tape line - - You learned how to create a [paperless pattern](/tutorials/pattern-design/paperless-bib) by adding dimensions - -## More reading material - - - If you haven't done so already, read through [the high-level overview of FreeSewing](/guides/overview/) - - Bookmark [the FreeSewing API docs](/reference/api/), they are your reference every time you're not entirely certain how something works - - Have a look at [our best practices](/guides/best-practices/) that will help you make the best possible patterns - -## What to do next - -Now that you have learned how to create a pattern, why don't you make one? - -Think about what it is you would like to create, and just do it. If you get stuck at any moment, or need some help or advice, you can [join our chat room](https://gitter.im/freesewing/design) and we'll help you out. - - - -###### Tell us how we can improve this tutorial - -You could do as a real favor by letting us know what you loved or hated about this tutorial. - -Where there areas that were not clear? Did we dwell too long on one topic, or rushed through another one too quickly? -You feedback helps us improve things, so don't be shy and [tell us what you think](https://gitter.im/freesewing/development) - - - diff --git a/markdown/dev/tutorials/pattern-design/conclusion/es.md b/markdown/dev/tutorials/pattern-design/conclusion/es.md deleted file mode 100644 index 01d650213ea..00000000000 --- a/markdown/dev/tutorials/pattern-design/conclusion/es.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: 280|Conclusion ---- - -Congratulations, you have created your first pattern. And while it's arguably rather simple, you have learned a bunch of things along the way. Let's list some of the things you've learned: - - - You have learned how to [setup your development environment](/tutorials/pattern-design/create-freesewing-pattern) with `npm init freesewing-pattern` - - You learned how to [add parts](/tutorials/pattern-design/your-first-part), [measurements](/tutorials/pattern-design/adding-measurements), and [options](/tutorials/pattern-design/adding-options) to your pattern's configuration file - - You learned what [a good boilerplate is to start with a new part](/tutorials/pattern-design/part-structure) - - You've learned [how to add points and draw paths](/tutorials/pattern-design/constructing-the-neck-opening) - - You learned how you can make changes in a loop to [adapt the neckopening](/tutorials/pattern-design/fitting-the-neck-opening) or [rotate the straps](/tutorials/pattern-design/avoiding-overlap) until they were just right - - You learned about [macros and how to use them](/tutorials/pattern-design/creating-the-closure) - - You learned different methods to manipulate [points](/reference/api/point/) and [paths](/reference/api/path/) - - You learned about using [attributes](/reference/api/attributes/) to influence the appearance of points and paths - - Your learned about what it means to draft [a complete pattern](/tutorials/pattern-design/completing-your-pattern) - - Your learned about [snippets and how to add them](/tutorials/pattern-design/completing-your-pattern#adding-snippets) - - You learned [how to offset a path](/tutorials/pattern-design/completing-your-pattern#seam-allowance) to create seam allowance, or in our case, mark the bias tape line - - You learned how to create a [paperless pattern](/tutorials/pattern-design/paperless-bib) by adding dimensions - -## More reading material - - - If you haven't done so already, read through [the high-level overview of FreeSewing](/guides/overview/) - - Bookmark [the FreeSewing API docs](/reference/api/), they are your reference every time you're not entirely certain how something works - - Have a look at [our best practices](/guides/best-practices/) that will help you make the best possible patterns - -## What to do next - -Now that you have learned how to create a pattern, why don't you make one? - -Think about what it is you would like to create, and just do it. If you get stuck at any moment, or need some help or advice, you can [join our chat room](https://gitter.im/freesewing/design) and we'll help you out. - - - -###### Tell us how we can improve this tutorial - -You could do as a real favor by letting us know what you loved or hated about this tutorial. - -Where there areas that were not clear? Did we dwell too long on one topic, or rushed through another one too quickly? -You feedback helps us improve things, so don't be shy and [tell us what you think](https://gitter.im/freesewing/development) - - - diff --git a/markdown/dev/tutorials/pattern-design/conclusion/fr.md b/markdown/dev/tutorials/pattern-design/conclusion/fr.md deleted file mode 100644 index 48cc324b739..00000000000 --- a/markdown/dev/tutorials/pattern-design/conclusion/fr.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: 280|Conclusion ---- - -Félicitations, vous avez créé votre premier patron. Et tandis que c'est discutablement assez simple, vous avez appris un tas de choses en cours de route. Listons toutes ces choses que vous avez apprises : - - - You have learned how to [setup your development environment](/tutorials/pattern-design/create-freesewing-pattern) with `npm init freesewing-pattern` - - You learned how to [add parts](/tutorials/pattern-design/your-first-part), [measurements](/tutorials/pattern-design/adding-measurements), and [options](/tutorials/pattern-design/adding-options) to your pattern's configuration file - - You learned what [a good boilerplate is to start with a new part](/tutorials/pattern-design/part-structure) - - You've learned [how to add points and draw paths](/tutorials/pattern-design/constructing-the-neck-opening) - - You learned how you can make changes in a loop to [adapt the neckopening](/tutorials/pattern-design/fitting-the-neck-opening) or [rotate the straps](/tutorials/pattern-design/avoiding-overlap) until they were just right - - You learned about [macros and how to use them](/tutorials/pattern-design/creating-the-closure) - - You learned different methods to manipulate [points](/reference/api/point/) and [paths](/reference/api/path/) - - You learned about using [attributes](/reference/api/attributes/) to influence the appearance of points and paths - - Your learned about what it means to draft [a complete pattern](/tutorials/pattern-design/completing-your-pattern) - - Your learned about [snippets and how to add them](/tutorials/pattern-design/completing-your-pattern#adding-snippets) - - You learned [how to offset a path](/tutorials/pattern-design/completing-your-pattern#seam-allowance) to create seam allowance, or in our case, mark the bias tape line - - You learned how to create a [paperless pattern](/tutorials/pattern-design/paperless-bib) by adding dimensions - -## Un peu plus de lecture - - - If you haven't done so already, read through [the high-level overview of FreeSewing](/guides/overview/) - - Bookmark [the FreeSewing API docs](/reference/api/), they are your reference every time you're not entirely certain how something works - - Have a look at [our best practices](/guides/best-practices/) that will help you make the best possible patterns - -## Pour la suite - -Maintenant que vous avez appris comment réaliser un patron, pourquoi ne pas vous lancer dans un nouveau ? - -Réfléchissez à ce que vous aimeriez créer, et réalisez-le tout simplement. If you get stuck at any moment, or need some help or advice, you can [join our chat room](https://gitter.im/freesewing/design) and we'll help you out. - - - -###### Tell us how we can improve this tutorial - -You could do as a real favor by letting us know what you loved or hated about this tutorial. - -Y avait-il des parties pas très claires ? Est-ce que nous nous sommes trop attardés sur un sujet, ou au contraire sommes-nous passés trop vite sur un autre sujet ? -You feedback helps us improve things, so don't be shy and [tell us what you think](https://gitter.im/freesewing/development) - - - diff --git a/markdown/dev/tutorials/pattern-design/conclusion/nl.md b/markdown/dev/tutorials/pattern-design/conclusion/nl.md deleted file mode 100644 index b4d375f32ee..00000000000 --- a/markdown/dev/tutorials/pattern-design/conclusion/nl.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: 280|Conclusion ---- - -Proficiat, je hebt je eerste patroon gemaakt. En oké, het is een redelijk eenvoudig patroon, maar je hebt er wel veel bij geleerd. Even opsommen: - - - You have learned how to [setup your development environment](/tutorials/pattern-design/create-freesewing-pattern) with `npm init freesewing-pattern` - - You learned how to [add parts](/tutorials/pattern-design/your-first-part), [measurements](/tutorials/pattern-design/adding-measurements), and [options](/tutorials/pattern-design/adding-options) to your pattern's configuration file - - You learned what [a good boilerplate is to start with a new part](/tutorials/pattern-design/part-structure) - - You've learned [how to add points and draw paths](/tutorials/pattern-design/constructing-the-neck-opening) - - You learned how you can make changes in a loop to [adapt the neckopening](/tutorials/pattern-design/fitting-the-neck-opening) or [rotate the straps](/tutorials/pattern-design/avoiding-overlap) until they were just right - - You learned about [macros and how to use them](/tutorials/pattern-design/creating-the-closure) - - You learned different methods to manipulate [points](/reference/api/point/) and [paths](/reference/api/path/) - - You learned about using [attributes](/reference/api/attributes/) to influence the appearance of points and paths - - Your learned about what it means to draft [a complete pattern](/tutorials/pattern-design/completing-your-pattern) - - Your learned about [snippets and how to add them](/tutorials/pattern-design/completing-your-pattern#adding-snippets) - - You learned [how to offset a path](/tutorials/pattern-design/completing-your-pattern#seam-allowance) to create seam allowance, or in our case, mark the bias tape line - - You learned how to create a [paperless pattern](/tutorials/pattern-design/paperless-bib) by adding dimensions - -## Meer leesmateriaal - - - If you haven't done so already, read through [the high-level overview of FreeSewing](/guides/overview/) - - Bookmark [the FreeSewing API docs](/reference/api/), they are your reference every time you're not entirely certain how something works - - Have a look at [our best practices](/guides/best-practices/) that will help you make the best possible patterns - -## En wat nu? - -Je hebt nu geleerd hoe je een patroon ontwerpt. Tijd om je kennis in praktijk om te zetten! - -Bedenk wat je graag zou willen maken, en begin er gewoon aan. If you get stuck at any moment, or need some help or advice, you can [join our chat room](https://gitter.im/freesewing/design) and we'll help you out. - - - -###### Tell us how we can improve this tutorial - -You could do as a real favor by letting us know what you loved or hated about this tutorial. - -Was er iets onduidelijk? Deden we te lang over één onderwerp of zijn we te snel over iets anders heengegaan? -You feedback helps us improve things, so don't be shy and [tell us what you think](https://gitter.im/freesewing/development) - - - diff --git a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/de.md b/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/de.md deleted file mode 100644 index 8fc5d1c116b..00000000000 --- a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/de.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: 160|Constructing the neck opening ---- - -Your goal is to construct a slightly oval neck opening that has a circumference that is the `head` measurements multiplied by the `neckRatio` option. - -That might involve some trial and error. But since the neck opening will be symetric both horizontal and vertical, you only need to construct one quadrant. - -We'll be adding some points to our pattern to do just that. But we want to have access to our measurements and options to do so. For this, you first update the shorthand call to indicate you also want access to `measurements` and `options`: - - -```js -let { - Point, - points, - Path, - paths, - measurements, - options -} = part.shorthand(); -``` - -Great. Now let's get to work: - -```js -// Design pattern here -points.right = new Point(measurements.head / 10, 0); -points.bottom = new Point(0, measurements.head / 12); - -points.rightCp1 = points.right - .shift(90, points.bottom.dy(points.right)/2); -points.bottomCp2 = points.bottom - .shift(0, points.bottom.dx(points.right)/2); - -paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom) -``` - -You've added some points to your part, and drawn your first path. Let's look at each line in detail: - -```js -points.right = new Point(measurements.head / 10, 0); -``` - - - We're adding a point named `right` to `points` which holds our part's points - - We're using the Point constructor, which takes two arguments: The points X and Y values - - The X value is `measurements.head / 10` - - The Y value is `0` - -The `bottom` part is very similar, so let's skip to the next line: - -```js -points.rightCp1 = points.right - .shift(90, points.bottom.dy(points.right)/2); -``` - - - We're adding a point named `rightCp1`, which will become the *control point* of the right part - - Instead of using the Point constructor, we're calling the `Point.shift()` method on an existing point - - It takes two arguments: The angle to shift towards, and the distance - - You can see that we're shifting 90 degrees (that means up) but the distance uses another method - - The `Point.dy()` method returns the delta along the Y axis between the point you call it on and the point you pass it - - We shift half of the Y-delta - -The next point is very similar again, except that this time we're shifting to the right (0 degrees) for half of the X-delta between points `bottom` and `right`. - - - -Points come with a bunch of these methods. -You can find them all in [the Point API docs](/referene/api/point/). - - - -The next line introduces you to something new: Paths: - -```js -paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom) -``` - - - We're adding a path named `neck` to `paths` which holds our part's paths - - We're using the Path constructor, which takes no arguments - - We're following up with a `Path.move()` call that takes one Point as argument - - Then, there's a `Path.curve()` call that takes 3 points as arguments - -If you've read through [the high-level overview of FreeSewing](/guides/overview/) you will have learned that paths always start with a `move()` operation. In this case, we moved to our `right` points. - -From there, we drew a Bezier curve to our `bottom` point by using `rightCp1` and `bottomCp2` as control points. - -When all is said and done, we now have a quarter of our neck opening: - - - -The only problem is, we have no guarantee whatsoever that this opening is the correct size. - -Rather than hope it is the correct size, you'll make sure it is next. - diff --git a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/es.md b/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/es.md deleted file mode 100644 index 8fc5d1c116b..00000000000 --- a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/es.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: 160|Constructing the neck opening ---- - -Your goal is to construct a slightly oval neck opening that has a circumference that is the `head` measurements multiplied by the `neckRatio` option. - -That might involve some trial and error. But since the neck opening will be symetric both horizontal and vertical, you only need to construct one quadrant. - -We'll be adding some points to our pattern to do just that. But we want to have access to our measurements and options to do so. For this, you first update the shorthand call to indicate you also want access to `measurements` and `options`: - - -```js -let { - Point, - points, - Path, - paths, - measurements, - options -} = part.shorthand(); -``` - -Great. Now let's get to work: - -```js -// Design pattern here -points.right = new Point(measurements.head / 10, 0); -points.bottom = new Point(0, measurements.head / 12); - -points.rightCp1 = points.right - .shift(90, points.bottom.dy(points.right)/2); -points.bottomCp2 = points.bottom - .shift(0, points.bottom.dx(points.right)/2); - -paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom) -``` - -You've added some points to your part, and drawn your first path. Let's look at each line in detail: - -```js -points.right = new Point(measurements.head / 10, 0); -``` - - - We're adding a point named `right` to `points` which holds our part's points - - We're using the Point constructor, which takes two arguments: The points X and Y values - - The X value is `measurements.head / 10` - - The Y value is `0` - -The `bottom` part is very similar, so let's skip to the next line: - -```js -points.rightCp1 = points.right - .shift(90, points.bottom.dy(points.right)/2); -``` - - - We're adding a point named `rightCp1`, which will become the *control point* of the right part - - Instead of using the Point constructor, we're calling the `Point.shift()` method on an existing point - - It takes two arguments: The angle to shift towards, and the distance - - You can see that we're shifting 90 degrees (that means up) but the distance uses another method - - The `Point.dy()` method returns the delta along the Y axis between the point you call it on and the point you pass it - - We shift half of the Y-delta - -The next point is very similar again, except that this time we're shifting to the right (0 degrees) for half of the X-delta between points `bottom` and `right`. - - - -Points come with a bunch of these methods. -You can find them all in [the Point API docs](/referene/api/point/). - - - -The next line introduces you to something new: Paths: - -```js -paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom) -``` - - - We're adding a path named `neck` to `paths` which holds our part's paths - - We're using the Path constructor, which takes no arguments - - We're following up with a `Path.move()` call that takes one Point as argument - - Then, there's a `Path.curve()` call that takes 3 points as arguments - -If you've read through [the high-level overview of FreeSewing](/guides/overview/) you will have learned that paths always start with a `move()` operation. In this case, we moved to our `right` points. - -From there, we drew a Bezier curve to our `bottom` point by using `rightCp1` and `bottomCp2` as control points. - -When all is said and done, we now have a quarter of our neck opening: - - - -The only problem is, we have no guarantee whatsoever that this opening is the correct size. - -Rather than hope it is the correct size, you'll make sure it is next. - diff --git a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/fr.md b/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/fr.md deleted file mode 100644 index 070c435696f..00000000000 --- a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/fr.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: 160|Constructing the neck opening ---- - -Votre but est de construire une encolure légèrement ovale qui a une circonférence égale à la mesure `head` multipliée par l'option `neckRatio`. - -Cela va peut-être impliquer un peu d'essai-erreur. Mais étant donné que l'encolure sera symétrique à la fois horizontalement et verticalement, vous aurez juste besoin de construire un quart de celle-ci. - -Nous allons ajouter quelques points à notre patron pour cela. Mais nous voulons avoir accès à toutes nos mesures et options pour ce faire. Pour cela, vous allez d'abord mettre à jour l'appel aux raccourcis pour indiquer que vous voulez également avoir accès à `measurements` et `options`: - - -```js -let { - Point, - points, - Path, - paths, - measurements, - options -} = part.shorthand(); -``` - -Merveilleux. Maintenant, mettons-nous au travail : - -```js -// Design pattern here (concevoir le patron ici) -points.right = new Point(measurements.head / 10, 0); -points.bottom = new Point(0, measurements.head / 12); - -points.rightCp1 = points.right - .shift(90, points.bottom.dy(points.right)/2); -points.bottomCp2 = points.bottom - .shift(0, points.bottom.dx(points.right)/2); - -paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom) -``` - -Vous avez ajouté quelques points à votre partie, et dessiné votre premier chemin. Examinons chaque ligne en détail : - -```js -points.right = new Point(measurements.head / 10, 0); -``` - - - Nous ajoutons un point nommé `right` à `points`, qui contient les points de notre partie - - Nous utilisons le constructeur Point, qui prend deux arguments : les valeurs X et Y du point - - La valeur X est `measurements.head / 10` - - La valeur Y est `0` - -Le point `bottom` est très similaire, alors passons directement à la ligne suivante : - -```js -points.rightCp1 = points.right - .shift(90, points.bottom.dy(points.right)/2); -``` - - - We're adding a point named `rightCp1`, which will become the *control point* of the right part - - Au lieu d'utiliser le constructeur Point, nous faisons appel à la méthode `Point.shift()` sur un point existant - - Elle prend deux arguments : l'angle de décalage et la distance - - Vous pouvez voir que nous décalons à 90 degrés (ce qui signifie vers le haut) mais la distance emploie une autre méthode - - La méthode `Point.dy()` retourne la différence selon l'axe Y entre le point appelé et le point source - - Nous nous décalons de la moitié de la différence en Y - -Le point suivant est très similaire de nouveau, excepté que cette fois nous nous décalons vers la droite (0 degré) de la moitié de la distance en X entre les points `bottom` et `right`. - - - -Points vient avec une ribambelle de ces méthodes. -You can find them all in [the Point API docs](/referene/api/point/). - - - -La ligne suivante vous introduit une notion nouvelle, les chemins (Paths) : - -```js -paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom) -``` - - - Nous ajoutons un chemin nommé `neck` à `paths` qui contient les chemins de notre partie - - Nous utilisons le constructeur de chemin Path, qui ne prend aucun argument - - Nous poursuivons avec l'appel à `Path.move()` qui prend un Point comme argument - - Puis, il y a un appel à `Path.curve()` qui prend 3 points comme arguments - -If you've read through [the high-level overview of FreeSewing](/guides/overview/) you will have learned that paths always start with a `move()` operation. Dans ce cas, nous avons bougé depuis notre point `right`. - -A partir de là, nous avons dessiné une courbe de Bézier vers notre point `bottom` en utilisant `rightCp1` et `bottomCp2` comme points de contrôle. - -Lorsque tout est dit et fait, nous avons maintenant un quart de notre encolure : - - - -Le seul problème étant que nous n'avons aucune garantie que cette ouverture soit de taille correcte. - -Plutôt que d'espérer qu'elle le soit, vous allez vérifier qu'elle l'est réellement dans la prochaine étape. - diff --git a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/nl.md b/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/nl.md deleted file mode 100644 index 144c2e7acc0..00000000000 --- a/markdown/dev/tutorials/pattern-design/constructing-the-neck-opening/nl.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: 160|Constructing the neck opening ---- - -Wat je nodig hebt, is een licht ovale halsopening met een doorsnee die overeenkomt met de hoofdomtrek `head`, vermenigvuldigd met de optie `neckRatio`. - -Het zou kunnen dat je dit een paar keer moet proberen voordat het goed zit. Maar aangezien de halsopening zowel horizontaal als verticaal symmetrisch is, moet je maar één kwadrant opbouwen. - -Om dat te doen, voegen we een paar punten toe aan het patroon. Eerst moeten we toegang krijgen tot de afmetingen en opties. Daarvoor moet je eerst de shorthand call updaten om aan te geven dat je toegang wil tot `measurements` en `options`: - - -```js -let { - Point, - points, - Path, - paths, - measurements, - options -} = part.shorthand(); -``` - -Top. Nu kunnen we beginnen: - -```js -// Design pattern here -points.right = new Point(measurements.head / 10, 0); -points.bottom = new Point(0, measurements.head / 12); - -points.rightCp1 = points.right - .shift(90, points.bottom.dy(points.right)/2); -points.bottomCp2 = points.bottom - .shift(0, points.bottom.dx(points.right)/2); - -paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom) -``` - -Je hebt een aantal punten toegevoegd aan je patroondeel en je eerste pad getekend. Even kijken naar elke lijn in detail: - -```js -points.right = new Point(measurements.head / 10, 0); -``` - - - We voegen een punt met de naam `right` toe aan `points`, waar alle punten van het patroondeel opgeslagen zitten - - We gebruiken de Point constructor, die twee argumenten nodig heeft: de waarden voor punten X en Y - - De waarde voor X is `measurements.head / 10` - - De waarde voor Y is `0` - -Het deel voor `bottom` is bijna identiek, dus laten we verdergaan met de volgende regel: - -```js -points.rightCp1 = points.right - .shift(90, points.bottom.dy(points.right)/2); -``` - - - We're adding a point named `rightCp1`, which will become the *control point* of the right part - - In plaats van de Point constructor te gebruiken, passen we de `Point.shift()`-methode toe op een bestaand punt - - De Point constructor vereist twee argumenten: de hoek waarin je het punt verschuift, en de afstand - - Zoals je ziet, verschuiven we het punt 90 graden, naar boven dus, maar voor de afstand hebben we een andere methode nodig - - De `Point.dy()`-methode plaatst de delta terug de Y-as tussen het punt waarop je het afroept, en het punt waarheen je het beweegt - - We verschuiven de helft van de Y-delta - -Het volgende punt is weer heel gelijkaardig, behalve dat we het deze keer naar rechts verschuiven (0 graden) voor de helft van de X-delta tussen de punten `bottom` en `right`. - - - -Er bestaan een hele hoop van dit soort methodes voor punten. -You can find them all in [the Point API docs](/referene/api/point/). - - - -De volgende regel komt met 'paden' op de proppen. Die zijn nieuw: - -```js -paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom) -``` - - - We voegen een pad toe met de naam `neck` aan `paths`, waar alle paden van ons patroondeel opgeslagen zitten - - We gebruiken de Path constructor, die geen argumenten nodig heeft - - Dat volgen we op met een `Path.move()`-call die één punt als argument gebruikt - - En dan is er een `Path.curve()`-call die drie punten als argumenten gebruikt - -If you've read through [the high-level overview of FreeSewing](/guides/overview/) you will have learned that paths always start with a `move()` operation. In dit geval hebben we onze `right`-punten verplaatst. - -Van daar hebben we een Béziercurve getekend naar het `bottom`-punt door `rightCp1` en `bottomCp2` als controlepunten te gebruiken. - -Als dat allemaal gebeurd is, hebben we nu een kwart van de halsopening: - - - -Eén probleem: we hebben geen enkele garantie dat deze opening de juiste afmeting heeft. - -We gaan niet gewoon hopen dat hij de juiste grootte heeft. In de volgende stap zorgen we ervoor dat de afmeting klopt. - diff --git a/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/de.md b/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/de.md deleted file mode 100644 index 11f804094d7..00000000000 --- a/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/de.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: 100|Setting up the development environment ---- - -Open a terminal and enter the following command: - -```bash -npm init freesewing-pattern -``` - -This will load a few dependencies, and then ask you the following questions: - - - **Language**: Use the arrow keys to select the language of your choice - - **Pattern name**: Enter `tutorial` - - **description**: Enter `The FreeSewing tutorial` - - **Pattern type**: Use the arrow key to select `Pattern` - - **Department**: Use the arrow keys to select `Accessories` - - **Author**: Enter your GitHub username - - **GitHub repository**: This will be prefilled for you, so just hit Enter - - **Package manager**: Use the arrow to choose. Pick `NPM` if you're not sure. - -After you've answered these questions, the default template will be copied, after which all dependencies will be installed. - - - -This will take a few minutes because we're loading some software for your development environment. - - - -When it's ready, you'll need to run two commands in parallel. In the current terminal, enter the directory that was just created for our `tutorial` pattern and start rollup in watch mode: - -```bash -cd tutorial -npm run start -``` - -Or if you chose to use Yarn as package manager: - -```bash -cd tutorial -yarn start -``` - -Now open a second terminal, and navigate to the `example` subfolder and run the same command there: - -```bash: -cd tutorial/example -npm run start -``` - -Or if you chose to use Yarn as package manager: - -```bash -cd tutorial/example -yarn start -``` - -If all goes well, your browser will open and show the following landing page: - -![The FreeSewing development environment](./cfp.png) - - - -###### Using Windows? - -We have tested this on Linux and MacOS, but not on Windows since I (joost) don't have -a Windows machine I can test this on. - -If you run into any issues, join [our chatroom](https://gitter.im/freesewing/development) and -we'll figure it out together. - - - diff --git a/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/es.md b/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/es.md deleted file mode 100644 index 11f804094d7..00000000000 --- a/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/es.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: 100|Setting up the development environment ---- - -Open a terminal and enter the following command: - -```bash -npm init freesewing-pattern -``` - -This will load a few dependencies, and then ask you the following questions: - - - **Language**: Use the arrow keys to select the language of your choice - - **Pattern name**: Enter `tutorial` - - **description**: Enter `The FreeSewing tutorial` - - **Pattern type**: Use the arrow key to select `Pattern` - - **Department**: Use the arrow keys to select `Accessories` - - **Author**: Enter your GitHub username - - **GitHub repository**: This will be prefilled for you, so just hit Enter - - **Package manager**: Use the arrow to choose. Pick `NPM` if you're not sure. - -After you've answered these questions, the default template will be copied, after which all dependencies will be installed. - - - -This will take a few minutes because we're loading some software for your development environment. - - - -When it's ready, you'll need to run two commands in parallel. In the current terminal, enter the directory that was just created for our `tutorial` pattern and start rollup in watch mode: - -```bash -cd tutorial -npm run start -``` - -Or if you chose to use Yarn as package manager: - -```bash -cd tutorial -yarn start -``` - -Now open a second terminal, and navigate to the `example` subfolder and run the same command there: - -```bash: -cd tutorial/example -npm run start -``` - -Or if you chose to use Yarn as package manager: - -```bash -cd tutorial/example -yarn start -``` - -If all goes well, your browser will open and show the following landing page: - -![The FreeSewing development environment](./cfp.png) - - - -###### Using Windows? - -We have tested this on Linux and MacOS, but not on Windows since I (joost) don't have -a Windows machine I can test this on. - -If you run into any issues, join [our chatroom](https://gitter.im/freesewing/development) and -we'll figure it out together. - - - diff --git a/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/fr.md b/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/fr.md deleted file mode 100644 index 3ee33791e5d..00000000000 --- a/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/fr.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: 100|Setting up the development environment ---- - -Ouvrez un terminal et entrez la commande suivante : - -```bash -npm init freesewing-pattern -``` - -Cela va charger quelques dépendances, puis vous demander les questions suivantes : - - - **Language**: Use the arrow keys to select the language of your choice - - **Pattern name**: Enter `tutorial` - - **description**: Enter `The FreeSewing tutorial` - - **Pattern type**: Use the arrow key to select `Pattern` - - **Department**: Use the arrow keys to select `Accessories` - - **Author**: Enter your GitHub username - - **GitHub repository**: This will be prefilled for you, so just hit Enter - - **Package manager**: Use the arrow to choose. En cas de doute, prenez `NPM`. - -Après avoir répondu à toutes ces questions, le modèle par défaut sera copié, après quoi toutes les dépendances seront installées. - - - -Cela prendra quelques minutes car nous chargeons des logiciels pour votre environnement de développement. - - - -Lorsque c'est prêt, vous devrez exécuter deux commandes en parallèle. Dans le terminal courant, entrez le répertoire qui vient d'être créé pour notre patron `tutorial` et démarrez rollup en mode veille : - -```bash -cd tutorial -npm run start -``` - -Ou si vous choisissez d'utiliser Yarn en tant que gestionnaire de package : - -```bash -cd tutorial -yarn start -``` - -Maintenant, ouvrez un second terminal, et naviguez jusqu'au sous-dossier `example` et exécutez la même commande là : - -```bash: -cd tutorial/example -npm run start -``` - -Ou si vous choisissez d'utiliser Yarn en tant que gestionnaire de package : - -```bash -cd tutorial/example -yarn start -``` - -Si tout se passe bien, votre navigateur s'ouvrira et vous montrera la page suivante : - -![L'environnement de développement FreeSewing](./cfp.png) - - - -###### Using Windows? - -Nous avons testé ceci sur Linux et MacOS, mais pas sur Windows étant donné que je (Joost) ne possède pas une machine Windows sur laquelle je pourrais le tester. - -If you run into any issues, join [our chatroom](https://gitter.im/freesewing/development) and -we'll figure it out together. - - - diff --git a/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/nl.md b/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/nl.md deleted file mode 100644 index 8d8e41753dd..00000000000 --- a/markdown/dev/tutorials/pattern-design/create-freesewing-pattern/nl.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: 100|Setting up the development environment ---- - -Open een terminal en voer de volgende opdracht in: - -```bash -npm init freesewing-pattern -``` - -Deze opdracht laadt een aantal dependencies en stelt je dan de volgende vragen: - - - **Language**: Use the arrow keys to select the language of your choice - - **Pattern name**: Enter `tutorial` - - **description**: Enter `The FreeSewing tutorial` - - **Pattern type**: Use the arrow key to select `Pattern` - - **Department**: Use the arrow keys to select `Accessories` - - **Author**: Enter your GitHub username - - **GitHub repository**: This will be prefilled for you, so just hit Enter - - **Package manager**: Use the arrow to choose. Kies `NPM` als je het niet zeker weet. - -Nadat je deze vragen beantwoord hebt, wordt er een standaardtemplate gekopieerd. Daarna worden alle dependencies geïnstalleerd. - - - -Dit duurt een paar minuten aangezien we software voor je development-omgeving aan het laden zijn. - - - -Als het klaar is, moet je twee opdrachten parallel invoeren. In de huidige terminal geef je de directory in die we net gemaakt hebben voor het `tutorial`-patroon en begin rollup in de volgmodus: - -```bash -cd tutorial -npm run start -``` - -Of als je Yarn gekozen hebt als package manager: - -```bash -cd tutorial -yarn start -``` - -Open nu een tweede terminal en navigeer naar de subfolder `example`. Voer daar dezelfde opdracht in: - -```bash: -cd tutorial/example -npm run start -``` - -Of als je Yarn gekozen hebt als package manager: - -```bash -cd tutorial/example -yarn start -``` - -Als alles goed gaat, gaat je browser nu open met de volgende landingspagina: - -![De development-omgeving van FreeSewing](./cfp.png) - - - -###### Using Windows? - -We hebben dit getest op Linux en MacOS, maar nog niet op Windows. - -If you run into any issues, join [our chatroom](https://gitter.im/freesewing/development) and -we'll figure it out together. - - - diff --git a/markdown/dev/tutorials/pattern-design/creating-the-closure/de.md b/markdown/dev/tutorials/pattern-design/creating-the-closure/de.md deleted file mode 100644 index 2fa278623ba..00000000000 --- a/markdown/dev/tutorials/pattern-design/creating-the-closure/de.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: 210|Creating the closure ---- - -Things are starting to look good, but we can't fit the bib over the baby's head like this. So we must create a closure. We'll let the straps overlap at the end, and put in a snap. - -To round the straps, we'll use something new: **a macro**. - -Macros are little helpers that automate things that would otherwise get rather tedious. There are macros to add titles to your pattern, or grainline indicators, a scalebox, and there's a macro to round corners. The `round` macro. - -Before we can use it, we have to update our `part.shorthand()` call to indicate that we'd also like to make use of macros. Simple add `macro` at the end: - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro -} = part.shorthand(); -``` - -We need a half circle here, but the `round` macro works on 90° angles, so you'll use it twice. - -As such, let's add some points to guide the macro, and then put it to work: - -```js -let strap = points.edgeTop.dy(points.top); - -points.tipRight = points.edgeTop.translate(strap / 2, strap / 2); -points.tipRightTop = new Point(points.tipRight.x, points.edgeTop.y); -points.tipRightBottom = new Point(points.tipRight.x, points.top.y); - -macro("round", { - from: points.edgeTop, - to: points.tipRight, - via: points.tipRightTop, - prefix: "tipRightTop", - render: true -}); -macro("round", { - from: points.tipRight, - to: points.top, - via: points.tipRightBottom, - prefix: "tipRightBottom", - render: true -}); -``` - Add link to macro/extend docs - - - -Like our neck opening, we've only drawn half since we can simply copy the points to the other side. - -However, doing so would make both straps overlap. Which doesn't work for a pattern as it would make it impossible to cut it out of a single piece of fabric. So let's deal with the overlap next. - - - diff --git a/markdown/dev/tutorials/pattern-design/creating-the-closure/es.md b/markdown/dev/tutorials/pattern-design/creating-the-closure/es.md deleted file mode 100644 index 2fa278623ba..00000000000 --- a/markdown/dev/tutorials/pattern-design/creating-the-closure/es.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: 210|Creating the closure ---- - -Things are starting to look good, but we can't fit the bib over the baby's head like this. So we must create a closure. We'll let the straps overlap at the end, and put in a snap. - -To round the straps, we'll use something new: **a macro**. - -Macros are little helpers that automate things that would otherwise get rather tedious. There are macros to add titles to your pattern, or grainline indicators, a scalebox, and there's a macro to round corners. The `round` macro. - -Before we can use it, we have to update our `part.shorthand()` call to indicate that we'd also like to make use of macros. Simple add `macro` at the end: - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro -} = part.shorthand(); -``` - -We need a half circle here, but the `round` macro works on 90° angles, so you'll use it twice. - -As such, let's add some points to guide the macro, and then put it to work: - -```js -let strap = points.edgeTop.dy(points.top); - -points.tipRight = points.edgeTop.translate(strap / 2, strap / 2); -points.tipRightTop = new Point(points.tipRight.x, points.edgeTop.y); -points.tipRightBottom = new Point(points.tipRight.x, points.top.y); - -macro("round", { - from: points.edgeTop, - to: points.tipRight, - via: points.tipRightTop, - prefix: "tipRightTop", - render: true -}); -macro("round", { - from: points.tipRight, - to: points.top, - via: points.tipRightBottom, - prefix: "tipRightBottom", - render: true -}); -``` - Add link to macro/extend docs - - - -Like our neck opening, we've only drawn half since we can simply copy the points to the other side. - -However, doing so would make both straps overlap. Which doesn't work for a pattern as it would make it impossible to cut it out of a single piece of fabric. So let's deal with the overlap next. - - - diff --git a/markdown/dev/tutorials/pattern-design/creating-the-closure/fr.md b/markdown/dev/tutorials/pattern-design/creating-the-closure/fr.md deleted file mode 100644 index 38cb1147fbb..00000000000 --- a/markdown/dev/tutorials/pattern-design/creating-the-closure/fr.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: 210|Creating the closure ---- - -Les choses commencent à prendre forme, mais nous ne pouvons pas passer le bavoir sur la tête du bébé comme ça. Alors nous devons créer un système de fermeture. Nous allons faire chevaucher les attaches à leurs extrémités, et y mettre un bouton pression. - -To round the straps, we'll use something new: **a macro**. - -Les macros sont de petites assistantes qui automatisent les tâches qui autrement seraient un peu fastidieuses. Il existe des macros pour ajouter des titres à votre patron, ou des indicateurs de droit-fil, une échelle, et il y a une macro pour arrondir les coins. La macro `round`. - -Avant de pouvoir l'utiliser, nous devons mettre à jour notre appel à `part.shorthand()` pour indiquer que nous aimerions également utiliser des macros. Ajoutez simplement `macro` à la fin : - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro -} = part.shorthand(); -``` - -Nous avons besoin d'un demi cercle ici, mais la macro `round` fonctionne sur des angles à 90°, alors nous allons l'utiliser deux fois. - -Ainsi, ajoutons donc quelques points pour guider la macro, puis la laisser faire son travail : - -```js -let strap = points.edgeTop.dy(points.top); - -points.tipRight = points.edgeTop.translate(strap / 2, strap / 2); -points.tipRightTop = new Point(points.tipRight.x, points.edgeTop.y); -points.tipRightBottom = new Point(points.tipRight.x, points.top.y); - -macro("round", { - from: points.edgeTop, - to: points.tipRight, - via: points.tipRightTop, - prefix: "tipRightTop", - render: true -}); -macro("round", { - from: points.tipRight, - to: points.top, - via: points.tipRightBottom, - prefix: "tipRightBottom", - render: true -}); -``` - Add link to macro/extend docs - - - -Comme pour l'encolure, nous avons seulement dessiné la moitié étant donné que nous pouvons copier les points pour l'autre côté. - -Toutefois, le faire engendrerait un chevauchement des attaches. Ce qui ne fonctionne pas pour un patron puisque cela rendrait impossible de le couper à partir d'une simple pièce de tissu. Alors occupons-nous ensuite du chevauchement. - - - diff --git a/markdown/dev/tutorials/pattern-design/creating-the-closure/nl.md b/markdown/dev/tutorials/pattern-design/creating-the-closure/nl.md deleted file mode 100644 index b3bb65d25fa..00000000000 --- a/markdown/dev/tutorials/pattern-design/creating-the-closure/nl.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: 210|Creating the closure ---- - -Het begint er goed uit te zien, maar op deze manier krijgen we het slabbetje niet over baby's hoofdje. We hebben een sluiting nodig. We gaan de bandjes aan het uiteinde laten overlappen en er een drukknoop op zetten. - -To round the straps, we'll use something new: **a macro**. - -Macro's zijn kleine helpers die dingen automatiseren die anders heel snel heel saai zouden worden. Er zijn macro's om titels toe te voegen aan je patroon, of aanwijzingen van de stofrichting, een schaalkader, ... en er is dus ook een macro om hoeken af te ronden: de `round`-macro. - -Voordat we die kunnen gebruiken, moeten we onze `part.shorthand()`-call updaten om aan te geven dat we ook graag macro's willen gebruiken. Voeg gewoon `macro` toe op het einde: - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro -} = part.shorthand(); -``` - -We hebben hier een halve cirkel nodig. De `round`-macro werkt met hoeken van 90 graden, dus je gebruikt hem hier twee keer. - -We voegen een paar punten toe om de macro te begeleiden, en dan zetten we hem aan het werk: - -```js -let strap = points.edgeTop.dy(points.top); - -points.tipRight = points.edgeTop.translate(strap / 2, strap / 2); -points.tipRightTop = new Point(points.tipRight.x, points.edgeTop.y); -points.tipRightBottom = new Point(points.tipRight.x, points.top.y); - -macro("round", { - from: points.edgeTop, - to: points.tipRight, - via: points.tipRightTop, - prefix: "tipRightTop", - render: true -}); -macro("round", { - from: points.tipRight, - to: points.top, - via: points.tipRightBottom, - prefix: "tipRightBottom", - render: true -}); -``` - Add link to macro/extend docs - - - -Net zoals bij de halsopening hebben we hier maar de helft getekend. We kunnen de punten gewoon kopiëren naar de andere kant. - -Probleem: als we dat doen, overlappen de bandjes. En dat werkt niet voor een naaipatroon, want dan krijg je het niet uit één stuk stof geknipt. Dus moeten we de overlapping oplossen. - - - diff --git a/markdown/dev/tutorials/pattern-design/de.md b/markdown/dev/tutorials/pattern-design/de.md deleted file mode 100644 index 35e43b78c7c..00000000000 --- a/markdown/dev/tutorials/pattern-design/de.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Pattern design tutorial ---- - -Welcome to the FreeSewing tutorial, where you'll learn how to create a made-to-measure sewing pattern, start to finish. - -You will be designing a pattern for a baby bib. It's a very simple pattern, but that's the point. Your focus today is on learning FreeSewing and how to translate your designs into code. - -At the end of this tutorial, you will have created this pattern: - - - -Before we can get started, let's make sure you have the required software installed on your computer: - -## Prerequisites - -FreeSewing is a JavaScript library that runs on [Node.js](https://nodejs.org/). - -If you don't have Node.js on your system, follow the link above and install it on your system. - -When you're done, you can test whether it works by running: - -```bash -node -v -``` - -If you get the node version number, you're all set. diff --git a/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/de.md b/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/de.md deleted file mode 100644 index 57d8ffda387..00000000000 --- a/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/de.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: Drawing the bib outline -order: 190 ---- - -With our neck opening in place, let's draw basic outline of our bib: - -```js -let width = measurements.head * options.widthRatio; -let length = measurements.head * options.lengthRatio; - -points.topLeft = new Point( - width / -2, - points.top.y - (width / 2 - points.right.x) -); -points.topRight = points.topLeft.shift(0, width); -points.bottomLeft = points.topLeft.shift(-90, length); -points.bottomRight = points.topRight.shift(-90, length); - -paths.rect = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .line(points.topLeft) - .close(); -``` - -Firs thing we did was create the `width` and `length` variables to save ourselves some typing: - -```js -let width = measurements.head * options.widthRatio; -let length = measurements.head * options.lengthRatio; -``` - -Both the length and width of your bib are a factor of the head circumference. This way, your bib size will adapt to the size of the baby, and the user can tweak the length and width by playing with the options you added to the pattern. - -Once we have our variables, we're adding some new points, and a second path called `rect`. - -```js -points.topLeft = new Point( - width / -2, - points.top.y - (width / 2 - points.right.x) -); -points.topRight = points.topLeft.shift(0, width); -points.bottomLeft = points.topLeft.shift(-90, length); -points.bottomRight = points.topRight.shift(-90, length); - -paths.rect = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .line(points.topLeft) - .close(); -``` - -We're calculating the `topLeft` point so that the top edge of our bib and the sides are equidistant from the neck neck opening. - -You didn't have to do that. But it looks nicely balanced this way: - - - diff --git a/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/es.md b/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/es.md deleted file mode 100644 index 57d8ffda387..00000000000 --- a/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/es.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: Drawing the bib outline -order: 190 ---- - -With our neck opening in place, let's draw basic outline of our bib: - -```js -let width = measurements.head * options.widthRatio; -let length = measurements.head * options.lengthRatio; - -points.topLeft = new Point( - width / -2, - points.top.y - (width / 2 - points.right.x) -); -points.topRight = points.topLeft.shift(0, width); -points.bottomLeft = points.topLeft.shift(-90, length); -points.bottomRight = points.topRight.shift(-90, length); - -paths.rect = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .line(points.topLeft) - .close(); -``` - -Firs thing we did was create the `width` and `length` variables to save ourselves some typing: - -```js -let width = measurements.head * options.widthRatio; -let length = measurements.head * options.lengthRatio; -``` - -Both the length and width of your bib are a factor of the head circumference. This way, your bib size will adapt to the size of the baby, and the user can tweak the length and width by playing with the options you added to the pattern. - -Once we have our variables, we're adding some new points, and a second path called `rect`. - -```js -points.topLeft = new Point( - width / -2, - points.top.y - (width / 2 - points.right.x) -); -points.topRight = points.topLeft.shift(0, width); -points.bottomLeft = points.topLeft.shift(-90, length); -points.bottomRight = points.topRight.shift(-90, length); - -paths.rect = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .line(points.topLeft) - .close(); -``` - -We're calculating the `topLeft` point so that the top edge of our bib and the sides are equidistant from the neck neck opening. - -You didn't have to do that. But it looks nicely balanced this way: - - - diff --git a/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/fr.md b/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/fr.md deleted file mode 100644 index 073c375435e..00000000000 --- a/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/fr.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: Dessiner le contour du bavoir -order: 190 ---- - -Avec notre encolure en place, attaquons-nous au contour du bavoir : - -```js -let width = measurements.head * options.widthRatio; -let length = measurements.head * options.lengthRatio; - -points.topLeft = new Point( - width / -2, - points.top.y - (width / 2 - points.right.x) -); -points.topRight = points.topLeft.shift(0, width); -points.bottomLeft = points.topLeft.shift(-90, length); -points.bottomRight = points.topRight.shift(-90, length); - -paths.rect = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .line(points.topLeft) - .close(); -``` - -La première chose que nous avons faite est de créer les variables `width` (largeur) et `length` (longueur) afin de nous épargner un peu de dactylographie : - -```js -let width = measurements.head * options.widthRatio; -let length = measurements.head * options.lengthRatio; -``` - -La longueur et la largeur de votre bavoir sont tous les deux des facteurs du tour de tête (head circumference). De cette façon, la taille du bavoir s'adaptera à celle du bébé, et l'utilisateur pourra ajuster la longueur et la largeur en jouant avec les options que vous aurez ajouté au patron. - -Une fois nos variables prêtes, nous ajoutons quelques nouveaux points, et un deuxième chemin nommé `rect`. - -```js -points.topLeft = new Point( - width / -2, - points.top.y - (width / 2 - points.right.x) -); -points.topRight = points.topLeft.shift(0, width); -points.bottomLeft = points.topLeft.shift(-90, length); -points.bottomRight = points.topRight.shift(-90, length); - -paths.rect = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .line(points.topLeft) - .close(); -``` - -Nous calculons le point `topLeft` (hautGauche) de façon à ce que le bord haut du bavoir et les côtés soient équidistants de l'encolure. - -Vous n'étiez pas obligés de le faire. Mais cela paraît plus équilibré de cette façon : - - - diff --git a/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/nl.md b/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/nl.md deleted file mode 100644 index 73d42e3d417..00000000000 --- a/markdown/dev/tutorials/pattern-design/drawing-the-bib-outline/nl.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: De omtrek van het slabbetje schetsen -order: 190 ---- - -Nu we een halsopening gemaakt hebben, is het tijd om de omtrek van het slabbetje te schetsen: - -```js -let width = measurements.head * options.widthRatio; -let length = measurements.head * options.lengthRatio; - -points.topLeft = new Point( - width / -2, - points.top.y - (width / 2 - points.right.x) -); -points.topRight = points.topLeft.shift(0, width); -points.bottomLeft = points.topLeft.shift(-90, length); -points.bottomRight = points.topRight.shift(-90, length); - -paths.rect = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .line(points.topLeft) - .close(); -``` - -Eerst hebben we de variabelen voor breedte (`width`) en lengte (`length`) aangemaakt om onszelf wat typwerk te besparen: - -```js -let width = measurements.head * options.widthRatio; -let length = measurements.head * options.lengthRatio; -``` - -Zowel de lengte als de breedte van het slabbetje zijn een factor van de hoofdomtrek. Op die manier past het formaat van het slabbetje zich automatisch aan. Grotere baby? Groter slabbetje. De gebruiker kan de lengte en breedte aanpassen door te spelen met de opties die je aan het patroon hebt toegevoegd. - -Zodra we onze variabelen hebben ingesteld, voegen we een paar nieuwe punten toe en een tweede pad met de naam `rect`. - -```js -points.topLeft = new Point( - width / -2, - points.top.y - (width / 2 - points.right.x) -); -points.topRight = points.topLeft.shift(0, width); -points.bottomLeft = points.topLeft.shift(-90, length); -points.bottomRight = points.topRight.shift(-90, length); - -paths.rect = new Path() - .move(points.topLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.topRight) - .line(points.topLeft) - .close(); -``` - -We berekenen het punt `topLeft` zodat de bovenkant van het slabbetje en de zijkanten op dezelfde afstand liggen van de halsopening. - -Dat was niet echt nodig. Maar het ziet er wel mooi evenwichtig uit: - - - diff --git a/markdown/dev/tutorials/pattern-design/drawing-the-straps/de.md b/markdown/dev/tutorials/pattern-design/drawing-the-straps/de.md deleted file mode 100644 index c6815dd5ac0..00000000000 --- a/markdown/dev/tutorials/pattern-design/drawing-the-straps/de.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: Drawing the straps -order: 230 ---- - -All we have to do know is flip a bunch of points on the other side, and create one single path that follows our bib outline. - -First, let's create the points: - -```js -points.edgeTopRightCp = points.edgeTopLeftCp.flipX(); -points.topCp1 = points.topCp2.flipX(); -points.tipLeftTopStart = points.tipRightTopStart.flipX(); -points.tipLeftTopCp1 = points.tipRightTopCp1.flipX(); -points.tipLeftTopCp2 = points.tipRightTopCp2.flipX(); -points.tipLeftTopEnd = points.tipRightTopEnd.flipX(); -points.tipLeftBottomStart = points.tipRightBottomStart.flipX(); -points.tipLeftBottomCp1 = points.tipRightBottomCp1.flipX(); -points.tipLeftBottomCp2 = points.tipRightBottomCp2.flipX(); -points.tipLeftBottomEnd = points.tipRightBottomEnd.flipX(); -points.snapRight = points.snapLeft.flipX(); -``` - -Now, remove the `neck` and `rect` paths that we created earlier, and replace them with this new path: - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) - .curve( - points.edgeRightCp, - points.edgeTopRightCp, - points.tipLeftTopStart - ) - .curve( - points.tipLeftTopCp1, - points.tipLeftTopCp2, - points.tipLeftTopEnd - ) - .curve( - points.tipLeftBottomCp1, - points.tipLeftBottomCp2, - points.tipLeftBottomEnd - ) - .curve( - points.topCp1, - points.rightCp2, - points.right - ) - .curve( - points.rightCp1, - points.bottomCp2, - points.bottom - ) - .curve( - points.bottomCp1, - points.leftCp2, - points.left - ) - .curve( - points.leftCp1, - points.topCp2, - points.tipRightBottomEnd - ) - .curve( - points.tipRightBottomCp2, - points.tipRightBottomCp1, - points.tipRightBottomStart - ) - .curve( - points.tipRightTopCp2, - points.tipRightTopCp1, - points.tipRightTopStart - ) - .curve( - points.edgeTopLeftCp, - points.edgeLeftCp, - points.edgeLeft - ) - .close() - .attr("class", "fabric"); -``` - -With that out of the way, our bib now looks like this: - - - - - -We used the `part.attr()` method to style our path? But because the `fabric` class is drawn in black, -it doesn't look much different. We'll use some other classes later that will make its effect more clear. - - - -It's looking pretty good. But those sharp corners at the bottom don't exactly say *baby* do they? Let's fix that. - diff --git a/markdown/dev/tutorials/pattern-design/drawing-the-straps/es.md b/markdown/dev/tutorials/pattern-design/drawing-the-straps/es.md deleted file mode 100644 index c6815dd5ac0..00000000000 --- a/markdown/dev/tutorials/pattern-design/drawing-the-straps/es.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: Drawing the straps -order: 230 ---- - -All we have to do know is flip a bunch of points on the other side, and create one single path that follows our bib outline. - -First, let's create the points: - -```js -points.edgeTopRightCp = points.edgeTopLeftCp.flipX(); -points.topCp1 = points.topCp2.flipX(); -points.tipLeftTopStart = points.tipRightTopStart.flipX(); -points.tipLeftTopCp1 = points.tipRightTopCp1.flipX(); -points.tipLeftTopCp2 = points.tipRightTopCp2.flipX(); -points.tipLeftTopEnd = points.tipRightTopEnd.flipX(); -points.tipLeftBottomStart = points.tipRightBottomStart.flipX(); -points.tipLeftBottomCp1 = points.tipRightBottomCp1.flipX(); -points.tipLeftBottomCp2 = points.tipRightBottomCp2.flipX(); -points.tipLeftBottomEnd = points.tipRightBottomEnd.flipX(); -points.snapRight = points.snapLeft.flipX(); -``` - -Now, remove the `neck` and `rect` paths that we created earlier, and replace them with this new path: - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) - .curve( - points.edgeRightCp, - points.edgeTopRightCp, - points.tipLeftTopStart - ) - .curve( - points.tipLeftTopCp1, - points.tipLeftTopCp2, - points.tipLeftTopEnd - ) - .curve( - points.tipLeftBottomCp1, - points.tipLeftBottomCp2, - points.tipLeftBottomEnd - ) - .curve( - points.topCp1, - points.rightCp2, - points.right - ) - .curve( - points.rightCp1, - points.bottomCp2, - points.bottom - ) - .curve( - points.bottomCp1, - points.leftCp2, - points.left - ) - .curve( - points.leftCp1, - points.topCp2, - points.tipRightBottomEnd - ) - .curve( - points.tipRightBottomCp2, - points.tipRightBottomCp1, - points.tipRightBottomStart - ) - .curve( - points.tipRightTopCp2, - points.tipRightTopCp1, - points.tipRightTopStart - ) - .curve( - points.edgeTopLeftCp, - points.edgeLeftCp, - points.edgeLeft - ) - .close() - .attr("class", "fabric"); -``` - -With that out of the way, our bib now looks like this: - - - - - -We used the `part.attr()` method to style our path? But because the `fabric` class is drawn in black, -it doesn't look much different. We'll use some other classes later that will make its effect more clear. - - - -It's looking pretty good. But those sharp corners at the bottom don't exactly say *baby* do they? Let's fix that. - diff --git a/markdown/dev/tutorials/pattern-design/drawing-the-straps/fr.md b/markdown/dev/tutorials/pattern-design/drawing-the-straps/fr.md deleted file mode 100644 index f17914a3e18..00000000000 --- a/markdown/dev/tutorials/pattern-design/drawing-the-straps/fr.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: Dessiner les attaches -order: 230 ---- - -Tout ce que nous devons faire maintenant est de retourner un ensemble de points de l'autre côté, et créer un unique chemin qui suit le contour de notre bavoir. - -Tout d'abord, il faut créer les points : - -```js -points.edgeTopRightCp = points.edgeTopLeftCp.flipX(); -points.topCp1 = points.topCp2.flipX(); -points.tipLeftTopStart = points.tipRightTopStart.flipX(); -points.tipLeftTopCp1 = points.tipRightTopCp1.flipX(); -points.tipLeftTopCp2 = points.tipRightTopCp2.flipX(); -points.tipLeftTopEnd = points.tipRightTopEnd.flipX(); -points.tipLeftBottomStart = points.tipRightBottomStart.flipX(); -points.tipLeftBottomCp1 = points.tipRightBottomCp1.flipX(); -points.tipLeftBottomCp2 = points.tipRightBottomCp2.flipX(); -points.tipLeftBottomEnd = points.tipRightBottomEnd.flipX(); -points.snapRight = points.snapLeft.flipX(); -``` - -Maintenant, supprimez les chemins `neck` et `rect` que nous avons créés plus tôt, et remplaçez-les avec ce nouveau chemin : - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) - .curve( - points.edgeRightCp, - points.edgeTopRightCp, - points.tipLeftTopStart - ) - .curve( - points.tipLeftTopCp1, - points.tipLeftTopCp2, - points.tipLeftTopEnd - ) - .curve( - points.tipLeftBottomCp1, - points.tipLeftBottomCp2, - points.tipLeftBottomEnd - ) - .curve( - points.topCp1, - points.rightCp2, - points.right - ) - .curve( - points.rightCp1, - points.bottomCp2, - points.bottom - ) - .curve( - points.bottomCp1, - points.leftCp2, - points.left - ) - .curve( - points.leftCp1, - points.topCp2, - points.tipRightBottomEnd - ) - .curve( - points.tipRightBottomCp2, - points.tipRightBottomCp1, - points.tipRightBottomStart - ) - .curve( - points.tipRightTopCp2, - points.tipRightTopCp1, - points.tipRightTopStart - ) - .curve( - points.edgeTopLeftCp, - points.edgeLeftCp, - points.edgeLeft - ) - .close() - .attr("class", "fabric"); -``` - -Avec ceci, notre bavoir ressemble à présent à cela : - - - - - -We used the `part.attr()` method to style our path? But because the `fabric` class is drawn in black, -it doesn't look much different. Nous allons utiliser d'autres classes plus tard qui rendront son effet plus apparent. - - - -Cela a un assez bel aspect. But those sharp corners at the bottom don't exactly say *baby* do they? Réglons donc ça. - diff --git a/markdown/dev/tutorials/pattern-design/drawing-the-straps/nl.md b/markdown/dev/tutorials/pattern-design/drawing-the-straps/nl.md deleted file mode 100644 index b79a8910209..00000000000 --- a/markdown/dev/tutorials/pattern-design/drawing-the-straps/nl.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: De bandjes tekenen -order: 230 ---- - -Al wat we nu nog moeten doen, is een hoop punten spiegelen aan de andere kant en één pad maken dat de omtrek van het slabbetje volgt. - -Eerst maken we de punten: - -```js -points.edgeTopRightCp = points.edgeTopLeftCp.flipX(); -points.topCp1 = points.topCp2.flipX(); -points.tipLeftTopStart = points.tipRightTopStart.flipX(); -points.tipLeftTopCp1 = points.tipRightTopCp1.flipX(); -points.tipLeftTopCp2 = points.tipRightTopCp2.flipX(); -points.tipLeftTopEnd = points.tipRightTopEnd.flipX(); -points.tipLeftBottomStart = points.tipRightBottomStart.flipX(); -points.tipLeftBottomCp1 = points.tipRightBottomCp1.flipX(); -points.tipLeftBottomCp2 = points.tipRightBottomCp2.flipX(); -points.tipLeftBottomEnd = points.tipRightBottomEnd.flipX(); -points.snapRight = points.snapLeft.flipX(); -``` - -Nu verwijder je de paden `neck` en `rect` die we eerder gemaakt hebben, en vervang je ze door dit nieuwe pad: - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) - .curve( - points.edgeRightCp, - points.edgeTopRightCp, - points.tipLeftTopStart - ) - .curve( - points.tipLeftTopCp1, - points.tipLeftTopCp2, - points.tipLeftTopEnd - ) - .curve( - points.tipLeftBottomCp1, - points.tipLeftBottomCp2, - points.tipLeftBottomEnd - ) - .curve( - points.topCp1, - points.rightCp2, - points.right - ) - .curve( - points.rightCp1, - points.bottomCp2, - points.bottom - ) - .curve( - points.bottomCp1, - points.leftCp2, - points.left - ) - .curve( - points.leftCp1, - points.topCp2, - points.tipRightBottomEnd - ) - .curve( - points.tipRightBottomCp2, - points.tipRightBottomCp1, - points.tipRightBottomStart - ) - .curve( - points.tipRightTopCp2, - points.tipRightTopCp1, - points.tipRightTopStart - ) - .curve( - points.edgeTopLeftCp, - points.edgeLeftCp, - points.edgeLeft - ) - .close() - .attr("class", "fabric"); -``` - -Nu we dat uit de weg hebben, ziet het slabbetje er zo uit: - - - - - -We used the `part.attr()` method to style our path? But because the `fabric` class is drawn in black, -it doesn't look much different. Later gaan we een paar andere klasses gebruiken die het effect duidelijker maken. - - - -Het ziet er best goed uit. But those sharp corners at the bottom don't exactly say *baby* do they? Daar gaan we iets aan doen. - diff --git a/markdown/dev/tutorials/pattern-design/es.md b/markdown/dev/tutorials/pattern-design/es.md deleted file mode 100644 index 35e43b78c7c..00000000000 --- a/markdown/dev/tutorials/pattern-design/es.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Pattern design tutorial ---- - -Welcome to the FreeSewing tutorial, where you'll learn how to create a made-to-measure sewing pattern, start to finish. - -You will be designing a pattern for a baby bib. It's a very simple pattern, but that's the point. Your focus today is on learning FreeSewing and how to translate your designs into code. - -At the end of this tutorial, you will have created this pattern: - - - -Before we can get started, let's make sure you have the required software installed on your computer: - -## Prerequisites - -FreeSewing is a JavaScript library that runs on [Node.js](https://nodejs.org/). - -If you don't have Node.js on your system, follow the link above and install it on your system. - -When you're done, you can test whether it works by running: - -```bash -node -v -``` - -If you get the node version number, you're all set. diff --git a/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/de.md b/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/de.md deleted file mode 100644 index 3214ba808be..00000000000 --- a/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/de.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: Fitting the neck opening -order: 170 ---- - -Here's how we'll make sure the neck opening is *just right*: - -```js -let tweak = 1; -let target = (measurements.headCircumference * options.neckRatio) /4; -let delta; -do { - points.right = new Point(tweak * measurements.headCircumference / 10, 0); - points.bottom = new Point(0, tweak * measurements.headCircumference / 12); - - points.rightCp1 = points.right.shift(90, points.bottom.dy(points.right)/2); - points.bottomCp2 = points.bottom.shift(0, points.bottom.dx(points.right)/2); - - paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom); - - delta = paths.neck.length() - target; - if (delta > 0) tweak = tweak * 0.99; - else tweak = tweak * 1.02; -} while (Math.abs(delta) > 1); -``` - -We've added a few new variables: - - - `tweak`: A *tweak factor* that we'll use to increase or decrease the neck opening by making it more or less than 1 - - `target`: How long our (quarter) neck opening should be - - `delta`: How far we're off. Positive numbers mean it's too long, negative means too short - -Now that we know what `target` is, we construct our path as we did before. But this time around, we multiply our point coordinates with our `tweak` variable (1 at the start). - -Then, we compare our `target` to the result of `paths.neck.length()` which — you guessed it — returns the length of our neck path. - -If the delta is positive, our path is too long and we reduce the tweak factor. If the delta is negative, our path is too short and we increase the tweak factor. - -We keep on doing this until `Math.abs(delta)` is less than 1. Meaning that we are withing 1mm or our target value. - - - -Now that we're happy with the length of our quarter neck opening, let's construct the entire neck opening. - diff --git a/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/es.md b/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/es.md deleted file mode 100644 index 3214ba808be..00000000000 --- a/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/es.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: Fitting the neck opening -order: 170 ---- - -Here's how we'll make sure the neck opening is *just right*: - -```js -let tweak = 1; -let target = (measurements.headCircumference * options.neckRatio) /4; -let delta; -do { - points.right = new Point(tweak * measurements.headCircumference / 10, 0); - points.bottom = new Point(0, tweak * measurements.headCircumference / 12); - - points.rightCp1 = points.right.shift(90, points.bottom.dy(points.right)/2); - points.bottomCp2 = points.bottom.shift(0, points.bottom.dx(points.right)/2); - - paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom); - - delta = paths.neck.length() - target; - if (delta > 0) tweak = tweak * 0.99; - else tweak = tweak * 1.02; -} while (Math.abs(delta) > 1); -``` - -We've added a few new variables: - - - `tweak`: A *tweak factor* that we'll use to increase or decrease the neck opening by making it more or less than 1 - - `target`: How long our (quarter) neck opening should be - - `delta`: How far we're off. Positive numbers mean it's too long, negative means too short - -Now that we know what `target` is, we construct our path as we did before. But this time around, we multiply our point coordinates with our `tweak` variable (1 at the start). - -Then, we compare our `target` to the result of `paths.neck.length()` which — you guessed it — returns the length of our neck path. - -If the delta is positive, our path is too long and we reduce the tweak factor. If the delta is negative, our path is too short and we increase the tweak factor. - -We keep on doing this until `Math.abs(delta)` is less than 1. Meaning that we are withing 1mm or our target value. - - - -Now that we're happy with the length of our quarter neck opening, let's construct the entire neck opening. - diff --git a/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/fr.md b/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/fr.md deleted file mode 100644 index 1defad1c2b3..00000000000 --- a/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/fr.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: Ajuster l'encolure -order: 170 ---- - -Here's how we'll make sure the neck opening is *just right*: - -```js -let tweak = 1; -let target = (measurements.headCircumference * options.neckRatio) /4; -let delta; -do { - points.right = new Point(tweak * measurements.headCircumference / 10, 0); - points.bottom = new Point(0, tweak * measurements.headCircumference / 12); - - points.rightCp1 = points.right.shift(90, points.bottom.dy(points.right)/2); - points.bottomCp2 = points.bottom.shift(0, points.bottom.dx(points.right)/2); - - paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom); - - delta = paths.neck.length() - target; - if (delta > 0) tweak = tweak * 0.99; - else tweak = tweak * 1.02; -} while (Math.abs(delta) > 1); -``` - -Nous avons ajouté quelques nouvelles variables : - - - `tweak`: A *tweak factor* that we'll use to increase or decrease the neck opening by making it more or less than 1 - - `target` : la longueur prévue de l'encolure (de son quart) - - `delta` : à quel point nous dévions de notre idéal. Les nombres positifs signifient qu'elle est trop longue, les nombres négatifs qu'elle est trop courte - -Maintenant que nous savons ce qu'est la `cible` (target), nous construisons notre chemin comme nous l'avons fait précédemment. Mais cette fois, nous multiplions les coordonnées de notre point avec notre variable `d'ajustement` (tweak) (1 au départ). - -Puis, nous comparons notre `cible` au résultat de `paths.neck.length()` qui - vous l'avez deviné — retourne la longueur du chemin de l'encolure. - -If the delta is positive, our path is too long and we reduce the tweak factor. If the delta is negative, our path is too short and we increase the tweak factor. - -Nous continuons de faire ceci jusqu'à ce que `Math.abs(delta)` devienne inférieur à 1. Cela signifie que nous sommes à 1 mm près de notre valeur cible. - - - -Maintenant nous sommes satisfaits de la longueur du quart de notre encolure, construisons à présent l'encolure complète. - diff --git a/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/nl.md b/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/nl.md deleted file mode 100644 index bd8fe70b189..00000000000 --- a/markdown/dev/tutorials/pattern-design/fitting-the-neck-opening/nl.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: De halsopening aanpassen -order: 170 ---- - -Here's how we'll make sure the neck opening is *just right*: - -```js -let tweak = 1; -let target = (measurements.headCircumference * options.neckRatio) /4; -let delta; -do { - points.right = new Point(tweak * measurements.headCircumference / 10, 0); - points.bottom = new Point(0, tweak * measurements.headCircumference / 12); - - points.rightCp1 = points.right.shift(90, points.bottom.dy(points.right)/2); - points.bottomCp2 = points.bottom.shift(0, points.bottom.dx(points.right)/2); - - paths.neck = new Path() - .move(points.right) - .curve(points.rightCp1, points.bottomCp2, points.bottom); - - delta = paths.neck.length() - target; - if (delta > 0) tweak = tweak * 0.99; - else tweak = tweak * 1.02; -} while (Math.abs(delta) > 1); -``` - -We hebben een paar nieuwe variabelen toegevoegd: - - - `tweak`: A *tweak factor* that we'll use to increase or decrease the neck opening by making it more or less than 1 - - `target`: Hoe lang onze (kwart) halsopening moet zijn - - `delta`: Hoever we ernaast zitten. Een positief getal geeft aan dat de halsopening te lang is, een negatief dat hij te kort is - -Nu we weten wat `target` is, kunnen we ons pad opbouwen zoals we eerder al gedaan hebben. Deze keer vermenigvuldigen we onze puntcoördinaten met de `tweak`-variabele (1 om te beginnen). - -Dan vergelijken we onze `target` met het resultaat van `paths.neck.length()` en dat levert ons — je raadt het al — de lengte van het pad voor de hals op. - -If the delta is positive, our path is too long and we reduce the tweak factor. If the delta is negative, our path is too short and we increase the tweak factor. - -Dat blijven we doen tot `Math.abs(delta)` kleiner is dan 1. Dat betekent dat we op minder dan 1 millimeter van onze doelwaarde zitten. - - - -Nu we tevreden zijn met de lengte van onze (kwart) halsopening, kunnen we de volledige halsopening opbouwen. - diff --git a/markdown/dev/tutorials/pattern-design/fr.md b/markdown/dev/tutorials/pattern-design/fr.md deleted file mode 100644 index 3d966dad07f..00000000000 --- a/markdown/dev/tutorials/pattern-design/fr.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Pattern design tutorial ---- - -Bienvenue dans le tutoriel FreeSewing, où vous allez apprendre à créer un patron de couture sur mesure, du début à la fin. - -Vous allez concevoir un patron de bavoir pour bébé. C'est un patron très simple, mais c'est le but. Vous allez vous focaliser aujourd'hui sur l'apprentissage de FreeSewing et sur comment traduire vos conceptions en code. - -A la fin de ce tutoriel, vous aurez créé ce patron : - - - -Avant de démarrer, assurons-nous que vous possédez les logiciels requis installés sur votre ordinateur : - -## Prérequis - -FreeSewing est une librairie JavaScript qui s'exécute sur [Node.js](https://nodejs.org/). - -If you don't have Node.js on your system, follow the link above and install it on your system. - -Lorsque vous avez terminé, vous pouvez tester si elle fonctionne bien en exécutant : - -```bash -node -v -``` - -Si vous obtenez le numéro de version de node, tout est bon. diff --git a/markdown/dev/tutorials/pattern-design/nl.md b/markdown/dev/tutorials/pattern-design/nl.md deleted file mode 100644 index 35e43b78c7c..00000000000 --- a/markdown/dev/tutorials/pattern-design/nl.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Pattern design tutorial ---- - -Welcome to the FreeSewing tutorial, where you'll learn how to create a made-to-measure sewing pattern, start to finish. - -You will be designing a pattern for a baby bib. It's a very simple pattern, but that's the point. Your focus today is on learning FreeSewing and how to translate your designs into code. - -At the end of this tutorial, you will have created this pattern: - - - -Before we can get started, let's make sure you have the required software installed on your computer: - -## Prerequisites - -FreeSewing is a JavaScript library that runs on [Node.js](https://nodejs.org/). - -If you don't have Node.js on your system, follow the link above and install it on your system. - -When you're done, you can test whether it works by running: - -```bash -node -v -``` - -If you get the node version number, you're all set. diff --git a/markdown/dev/tutorials/pattern-design/paperless-bib/de.md b/markdown/dev/tutorials/pattern-design/paperless-bib/de.md deleted file mode 100644 index b63152de5c1..00000000000 --- a/markdown/dev/tutorials/pattern-design/paperless-bib/de.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: 270|Making your pattern paperless ---- - -Users can request paperless patterns by setting the `paperless` setting to `true`. - -We can get that value of the setting from the `part.shorthand()` method. It will be the last shorthand we need: - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet, - paperless -} = part.shorthand(); -``` - -The idea behind *paperless patterns* is that users don't need to print your pattern in order to use it. Instead, we include dimensions on the pattern that allows them to transfer the pattern directly onto fabric, or onto an intermediate medium such as tracing paper. - -In addition, FreeSewing will automatically render a grid for each pattern part with metric or imperial marcations, depending on the units requested by the user. - -While the grid gets added automatically, the dimensions you have to add yourself. Thankfully, there's macros that can help you with that, specifically: - - - The `hd` macro adds a horizontal dimension - - The `vd` macro adds a vertical dimension - - The `ld` macro adds a linear dimension - - The `pd` macro adds a path dimension that follows a given path Add links to macro docs - -Let's look at the code: - -```js -if (paperless) { - // Add dimensions - macro("hd", { - from: points.bottomLeftStart, - to: points.bottomRightEnd, - y: points.bottomLeft.y + 15 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.bottom, - x: points.bottomRight.x + 15 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.right, - x: points.bottomRight.x + 30 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.tipLeftTopStart, - x: points.bottomRight.x + 45 - }); - macro("hd", { - from: points.left, - to: points.right, - y: points.left.y + 25 - }); - macro("ld", { - from: points.tipLeftBottomEnd, - to: points.tipLeftTopStart, - d: 15 - }); -} -``` - -There's a lot going on, but it's mostly repetition. Let's look at the end result, and discuss: - - - -We used the `hd` macro to add two horizontal dimensions: - - - One at the bottom for the width of our bib - - One for the width of the neck opening - -The `hd` macro takes a `from` and `to` point as well as a `y` value that says at what Y-value to draw the dimension. - -We've also added three `vd` macros for the vertical dimensions on the right. - -They also takes a `from` and `to` point, but expect a `x` parameter to indicate at what X-value the dimension should be drawn. - -Finally, we added a `ld` macro for the linear dimension at the top that marks the width of our strap. While most dimensions are horizontal or vertical, sometimes you want a straight line from the `from` to the `to` points like in this case. - -The `ld` macro takes a `d` argument (short for delta) that indicates how far the dimension should be offset from the line from the `from` to the `to` point, if at all. - -Making your pattern paperless is the icing on the cake. Time to wrap up, go over what we've learned, and give some pointers on where to go from here. - diff --git a/markdown/dev/tutorials/pattern-design/paperless-bib/es.md b/markdown/dev/tutorials/pattern-design/paperless-bib/es.md deleted file mode 100644 index b63152de5c1..00000000000 --- a/markdown/dev/tutorials/pattern-design/paperless-bib/es.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: 270|Making your pattern paperless ---- - -Users can request paperless patterns by setting the `paperless` setting to `true`. - -We can get that value of the setting from the `part.shorthand()` method. It will be the last shorthand we need: - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet, - paperless -} = part.shorthand(); -``` - -The idea behind *paperless patterns* is that users don't need to print your pattern in order to use it. Instead, we include dimensions on the pattern that allows them to transfer the pattern directly onto fabric, or onto an intermediate medium such as tracing paper. - -In addition, FreeSewing will automatically render a grid for each pattern part with metric or imperial marcations, depending on the units requested by the user. - -While the grid gets added automatically, the dimensions you have to add yourself. Thankfully, there's macros that can help you with that, specifically: - - - The `hd` macro adds a horizontal dimension - - The `vd` macro adds a vertical dimension - - The `ld` macro adds a linear dimension - - The `pd` macro adds a path dimension that follows a given path Add links to macro docs - -Let's look at the code: - -```js -if (paperless) { - // Add dimensions - macro("hd", { - from: points.bottomLeftStart, - to: points.bottomRightEnd, - y: points.bottomLeft.y + 15 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.bottom, - x: points.bottomRight.x + 15 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.right, - x: points.bottomRight.x + 30 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.tipLeftTopStart, - x: points.bottomRight.x + 45 - }); - macro("hd", { - from: points.left, - to: points.right, - y: points.left.y + 25 - }); - macro("ld", { - from: points.tipLeftBottomEnd, - to: points.tipLeftTopStart, - d: 15 - }); -} -``` - -There's a lot going on, but it's mostly repetition. Let's look at the end result, and discuss: - - - -We used the `hd` macro to add two horizontal dimensions: - - - One at the bottom for the width of our bib - - One for the width of the neck opening - -The `hd` macro takes a `from` and `to` point as well as a `y` value that says at what Y-value to draw the dimension. - -We've also added three `vd` macros for the vertical dimensions on the right. - -They also takes a `from` and `to` point, but expect a `x` parameter to indicate at what X-value the dimension should be drawn. - -Finally, we added a `ld` macro for the linear dimension at the top that marks the width of our strap. While most dimensions are horizontal or vertical, sometimes you want a straight line from the `from` to the `to` points like in this case. - -The `ld` macro takes a `d` argument (short for delta) that indicates how far the dimension should be offset from the line from the `from` to the `to` point, if at all. - -Making your pattern paperless is the icing on the cake. Time to wrap up, go over what we've learned, and give some pointers on where to go from here. - diff --git a/markdown/dev/tutorials/pattern-design/paperless-bib/fr.md b/markdown/dev/tutorials/pattern-design/paperless-bib/fr.md deleted file mode 100644 index 17476131f5d..00000000000 --- a/markdown/dev/tutorials/pattern-design/paperless-bib/fr.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: 270|Making your pattern paperless ---- - -Les utilisateurs peuvent demander des patrons sans papier en réglant le paramètre `paperless` sur `true`. - -Nous pouvons obtenir cette valeur du paramètre à partir de la méthode `part.shorthand()`. Cela sera le dernier raccourci dont nous aurons besoin : - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet, - paperless -} = part.shorthand(); -``` - -The idea behind *paperless patterns* is that users don't need to print your pattern in order to use it. Au lieu de cela, nous incluons les dimensions sur le patron qui leur permettent de transférer la patron directement sur le tissu, ou sur un medium intermédiaire comme du papier carbone. - -De plus, FreeSewing va automatiquement délivrer une grille pour chaque partie de patron avec des marques métriques ou impériales, selon les unités choisies par l'utilisateur. - -Tandis que la grille est ajoutée automatiquement, vous aurez à ajouter les dimensions vous-mêmes. Heureusement, il existe des macros pour vous aider dans cette tâche, spécifiquement : - - - La macro `hd` qui ajoute une mesure horizontale - - La macro `vd` qui ajoute une mesure verticale - - La macro `ld` qui ajoute une mesure linéaire - - La macro `pd` qui ajoute une mesure de chemin suivant ce même chemin Add links to macro docs - -Jetons un coup d'oeil à ce code : - -```js -if (paperless) { - // Add dimensions - macro("hd", { - from: points.bottomLeftStart, - to: points.bottomRightEnd, - y: points.bottomLeft.y + 15 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.bottom, - x: points.bottomRight.x + 15 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.right, - x: points.bottomRight.x + 30 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.tipLeftTopStart, - x: points.bottomRight.x + 45 - }); - macro("hd", { - from: points.left, - to: points.right, - y: points.left.y + 25 - }); - macro("ld", { - from: points.tipLeftBottomEnd, - to: points.tipLeftTopStart, - d: 15 - }); -} -``` - -Beaucoup de choses se passent, mais elles sont répétitives. Voyons un peu le résultat final, et discutons-en : - - - -Nous avons utilisé la macro `hd` pour ajouter deux mesures horizontales : - - - Une en bas pour la largeur de notre bavoir - - Une pour la largeur de l'encolure - -La macro `hd` prend un point d'origine `from` et un point d'arrivée `to` et également une valeur `y` qui dit à quelle valeur en Y marquer cette mesure. - -Nous avons également ajouté trois macros `vd` pour les mesures verticales sur la droite. - -Elle prennent aussi un point de départ `from` et un point d'arrivée `to`, mais attendent un paramètre `x` pour leur indiquer à quelle valeur de X la mesure doit être marquée. - -Finalement, nous avons ajouté une macro `ld` pour la mesure linéaire du haut qui marque la largeur de notre attache. Bien que la plupart des mesures soient horizontale ou verticale, parfois vous voudrez une ligne droite entre les points `from` et `to` comme dans ce cas. - -La macro `ld` prend un argument `d` (pour delta) qui indique jusqu'où la mesure doit être décalée de la ligne partant du point `from` au point `to`, si besoin. - -Rendre votre patron sans papier est la cerise sur le gâteau. Il est temps de faire un bilan, de voir tout ce que nous avons appris, et de donner quelques indications sur la direction à suivre à partir de là. - diff --git a/markdown/dev/tutorials/pattern-design/paperless-bib/nl.md b/markdown/dev/tutorials/pattern-design/paperless-bib/nl.md deleted file mode 100644 index 5ba608b93de..00000000000 --- a/markdown/dev/tutorials/pattern-design/paperless-bib/nl.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: 270|Making your pattern paperless ---- - -Gebruikers kunnen papierloze patronen opvragen door `paperless` in te stellen als `true`. - -Die waarde kan je uit de `part.shorthand()`-methode halen. Dit is de laatste shorthand die we nodig hebben: - -```js -let { - Point, - points, - Path, - paths, - measurements, - options, - macro, - complete, - snippets, - Snippet, - paperless -} = part.shorthand(); -``` - -The idea behind *paperless patterns* is that users don't need to print your pattern in order to use it. In plaats daarvan voegen we afmetingen toe op het patroon waarmee ze het patroon rechtstreeks op de stof kunnen aanduiden, of op een drager zoals patroonpapier. - -Daar bovenop maakt FreeSewing automatisch een grid voor elk patroon met metrieke of imperiale aanduidingen, afhankelijk van de eenheid die de gebruiker heeft ingesteld. - -Het grid wordt automatisch toegevoegd, maar de afmetingen moet je zelf toevoegen. Gelukkig zijn er macro's die je daarmee kunnen helpen, namelijk: - - - De `hd`-macro voegt een horizontale afmeting toe - - De `vd`-macro voegt een verticale afmeting toe - - De `ld`-macro voegt een lineaire afmeting toe - - De `pd`-macro voegt een padafmeting toe die een specifiek pad volgt Add links to macro docs - -Zo ziet dat eruit in de code: - -```js -if (paperless) { - // Add dimensions - macro("hd", { - from: points.bottomLeftStart, - to: points.bottomRightEnd, - y: points.bottomLeft.y + 15 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.bottom, - x: points.bottomRight.x + 15 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.right, - x: points.bottomRight.x + 30 - }); - macro("vd", { - from: points.bottomRightStart, - to: points.tipLeftTopStart, - x: points.bottomRight.x + 45 - }); - macro("hd", { - from: points.left, - to: points.right, - y: points.left.y + 25 - }); - macro("ld", { - from: points.tipLeftBottomEnd, - to: points.tipLeftTopStart, - d: 15 - }); -} -``` - -Dat is een hele lap code, maar vooral veel herhaling. Eens kijken naar het eindresultaat: - - - -We hebben de `hd`-macro gebruikt om twee horizontale afmetingen toe te voegen: - - - Eentje onderaan voor de breedte van het slabbetje - - Eentje voor de breedte van de halsopening - -De `hd`-macro gebruikt een punt voor `from` en `to` en een `y`-waarde die aangeeft op welke Y-waarde de afmeting getekend moet worden. - -We hebben drie `vd`-macro's toegevoegd voor de verticale afmetingen aan de rechterkant. - -Die gebruiken ook een punt voor `from` en `to`, maar hebben een `x`-parameter nodig om aan te geven op welke X-waarde de afmeting getekend moet worden. - -Als laatste hebben we een `ld`-macro toegevoegd voor de lineaire afmeting bovenaan die de breedte van het bandje aangeeft. De meeste afmetingen zijn horizontaal of verticaal, maar soms heb je een rechte lijn nodig van de punten `from` naar `to` zoals in dit geval. - -De `ld`-macro gebruikt een `d`-argument (kort voor 'delta') dat aangeeft op welke afstand de afmeting verwijderd moet staan van de lijn van `from` naar `to`, als er al afstand tussen moet zitten. - -Je patroon papierloos maken is de kers op de taart. Tijd om af te ronden, te overlopen wat we geleerd hebben, en je wat aanwijzingen mee te geven voor de volgende stappen. - diff --git a/markdown/dev/tutorials/pattern-design/part-structure/de.md b/markdown/dev/tutorials/pattern-design/part-structure/de.md deleted file mode 100644 index 24bf047f30c..00000000000 --- a/markdown/dev/tutorials/pattern-design/part-structure/de.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: 150|Structure of a part ---- - -Let's get rid of the example box first. Open `src/bib.js` and make sure it looks like this: - -```js -export default function(part) { - let { Point, points, Path, paths } = part.shorthand(); - // Design pattern here - - // Complete? - if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } - } - return part; -} -``` - -This is an empty skeleton for a pattern part. Anytime you want to create a new part, this is a good starting point. - -Let's quickly go over the different sections. Even if there's not much going on yet, it's always good to understand what's going on. - -## The draft method - -```js -export default function(part) { - - // ... - - return part; -} - -``` - -This is the boilerplate of our `draftBib` method. It takes the part as an argument, and returns it. - - - -If you're new to JavaScript, and don't intuitively *get this*, stick with it. It will become second nature soon enough. - - - -## Using shorthand - -```js -let { - Point, - points, - Path, - paths, -} = part.shorthand(); -``` - -This is FreeSewing's **shorthand** method. It returns an object with a bunch of handy helpers and you use JavaScript's *object destructuring* to only get what you need. - -The example above makes the following variables available: - - - `Point`: The Point constructor - - `points`: A reference to the part's points - - `Path`: The Path constructor - - `paths`: A reference to the part's paths - - - -This will all become clear, but if you're curious, the API docs have all the details -on [the Part.shorthand() method](/reference/api/part/#shorthand) - - - -## Part boilerplate - -```js -// Complete? -if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } -} -``` - -This is some more boilerplate that makes sure we respect the `complete`, `sa`, and `paperless` settings. - -For now, you don't need to worry about this. Let's just start designing our bib. diff --git a/markdown/dev/tutorials/pattern-design/part-structure/es.md b/markdown/dev/tutorials/pattern-design/part-structure/es.md deleted file mode 100644 index 24bf047f30c..00000000000 --- a/markdown/dev/tutorials/pattern-design/part-structure/es.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: 150|Structure of a part ---- - -Let's get rid of the example box first. Open `src/bib.js` and make sure it looks like this: - -```js -export default function(part) { - let { Point, points, Path, paths } = part.shorthand(); - // Design pattern here - - // Complete? - if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } - } - return part; -} -``` - -This is an empty skeleton for a pattern part. Anytime you want to create a new part, this is a good starting point. - -Let's quickly go over the different sections. Even if there's not much going on yet, it's always good to understand what's going on. - -## The draft method - -```js -export default function(part) { - - // ... - - return part; -} - -``` - -This is the boilerplate of our `draftBib` method. It takes the part as an argument, and returns it. - - - -If you're new to JavaScript, and don't intuitively *get this*, stick with it. It will become second nature soon enough. - - - -## Using shorthand - -```js -let { - Point, - points, - Path, - paths, -} = part.shorthand(); -``` - -This is FreeSewing's **shorthand** method. It returns an object with a bunch of handy helpers and you use JavaScript's *object destructuring* to only get what you need. - -The example above makes the following variables available: - - - `Point`: The Point constructor - - `points`: A reference to the part's points - - `Path`: The Path constructor - - `paths`: A reference to the part's paths - - - -This will all become clear, but if you're curious, the API docs have all the details -on [the Part.shorthand() method](/reference/api/part/#shorthand) - - - -## Part boilerplate - -```js -// Complete? -if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } -} -``` - -This is some more boilerplate that makes sure we respect the `complete`, `sa`, and `paperless` settings. - -For now, you don't need to worry about this. Let's just start designing our bib. diff --git a/markdown/dev/tutorials/pattern-design/part-structure/fr.md b/markdown/dev/tutorials/pattern-design/part-structure/fr.md deleted file mode 100644 index 3fd510e5423..00000000000 --- a/markdown/dev/tutorials/pattern-design/part-structure/fr.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: 150|Structure of a part ---- - -Débarassons-nous tout d'abord de la boîte exemple. Ouvrez le fichier `src/bib.js` et assurez-vous qu'il ressemble à ceci : - -```js -export default function(part) { - let { Point, points, Path, paths } = part.shorthand(); - // Design pattern here - - // Complete? - if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } - } - return part; -} -``` - -C'est un squelette vide pour une partie de patron. A chaque fois que vous voudrez créer une nouvelle partie, ces quelques lignes constitueront un bon point de départ. - -Parcourons rapidement les différentes sections. Même s'il ne se passe pas encore grand chose, il est toujours bénéfique de comprendre ce qu'il se passe. - -## La méthode d'ébauche (draft) - -```js -export default function(part) { - - // ... - - return part; -} - -``` - -Ceci est un standard de notre méthode `draftBib`. Elle prend comme argument la partie, et la retourne. - - - -If you're new to JavaScript, and don't intuitively *get this*, stick with it. Cela va bientôt devenir une seconde nature. - - - -## Using shorthand - -```js -let { - Point, - points, - Path, - paths, -} = part.shorthand(); -``` - -This is FreeSewing's **shorthand** method. It returns an object with a bunch of handy helpers and you use JavaScript's *object destructuring* to only get what you need. - -L'exemple ci-dessus rend les variables suivantes disponibles : - - - `Point` : Le constructeur de point (Point) - - `points`: Une référence aux points de la partie - - `Path` : La constructeur de chemin (Path) - - `paths` : Une référence aux chemins de la partie - - - -This will all become clear, but if you're curious, the API docs have all the details -on [the Part.shorthand() method](/reference/api/part/#shorthand) - - - -## Partie standard - -```js -// Complete? -if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } -} -``` - -Voici quelques standards supplémentaires pour nous assurer que nous respectons les paramètres `complete`, `sa`, et `paperless`. - -Pour le moment, vous n'avez pas à vous inquiéter à propos de cela. Focalisons-nous sur le démarrage du bavoir. diff --git a/markdown/dev/tutorials/pattern-design/part-structure/nl.md b/markdown/dev/tutorials/pattern-design/part-structure/nl.md deleted file mode 100644 index 3838a7f7bba..00000000000 --- a/markdown/dev/tutorials/pattern-design/part-structure/nl.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: 150|Structure of a part ---- - -Laten we eerst het voorbeeldvak weghalen. Open `scr/bib.js` en controleer of het er als volgt uitziet: - -```js -export default function(part) { - let { Point, points, Path, paths } = part.shorthand(); - // Ontwerp je patroon hier - - // Complete? - if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } - } - return part; -} -``` - -Dit is een leeg 'geraamte' voor een patroondeel. Telkens wanneer je een nieuw onderdeel wil aanmaken, is dit een goed vertrekpunt. - -Laten we snel de verschillende secties overlopen. Er is nu nog niet veel te zien, maar het is altijd goed om te begrijpen hoe het in elkaar zit. - -## De tekenmethode - -```js -export default function(part) { - - // ... - - return part; -} - -``` - -Dit is de boilerplate van de `draftBib`-methode. Het gebruikt het onderdeel als argument en geeft het terug. - - - -If you're new to JavaScript, and don't intuitively *get this*, stick with it. Het wordt al snel een tweede natuur. - - - -## Using shorthand - -```js -let { - Point, - points, - Path, - paths, -} = part.shorthand(); -``` - -This is FreeSewing's **shorthand** method. It returns an object with a bunch of handy helpers and you use JavaScript's *object destructuring* to only get what you need. - -Het voorbeeld hierboven maakt de volgende variabelen beschikbaar: - - - `Point`: de Point constructor, die punten creëert - - `points`: een verwijzing naar de punten van het onderdeel - - `Path`: de Path constructor, die paden creëert - - `paths`: een verwijzing naar de paden van het onderdeel - - - -This will all become clear, but if you're curious, the API docs have all the details -on [the Part.shorthand() method](/reference/api/part/#shorthand) - - - -## Boilerplate voor patroondelen - -```js -// Complete? -if (complete) { - if (sa) { - } - // Paperless? - if (paperless) { - } -} -``` - -Dit is nog wat meer boilerplatecode die ervoor zorgt dat we de instellingen `complete`, `sa` en `paperless` respecteren. - -Je hoeft hier voorlopig niet te diep over na te denken. We beginnen gewoon met ons slabbetje te ontwerpen. diff --git a/markdown/dev/tutorials/pattern-design/rounding-the-corners/de.md b/markdown/dev/tutorials/pattern-design/rounding-the-corners/de.md deleted file mode 100644 index 8122e4aa08b..00000000000 --- a/markdown/dev/tutorials/pattern-design/rounding-the-corners/de.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Rounding the corners -order: 240 ---- - -We already know how to round corners, let the `round` macro do it: - - -```js -macro("round", { - from: points.topLeft, - to: points.bottomRight, - via: points.bottomLeft, - radius: points.bottomRight.x / 4, - prefix: "bottomLeft" -}); -macro("round", { - from: points.bottomLeft, - to: points.topRight, - via: points.bottomRight, - radius: points.bottomRight.x / 4, - prefix: "bottomRight" -}); -``` - -But there's still something to be learned here. If you look at our earlier use of the `round` macro, you'll notice that we used this line: - -```js - render: true, -``` - -This instructs the `round` macro create a path that draws the rounded corner. Whereas by default, it merely constructs the points required to round the corner. - -Typically, your rounded corner will be part of a larger path and so you don't want the macro to draw it. That's why the `round` macro's `render` property defaults to `false`. - -We've left it out here, and you should also remove it from your earlier use of the `round` macro. We merely set `render` to `true` at that time so you could see what the macro was doing. - -With our corners rounded, we should update our path. Fortunately, we merely have to update the start of it. Replace this: - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) -``` - -With this: - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeftStart) - .curve(points.bottomLeftCp1, points.bottomLeftCp2, points.bottomLeftEnd) - .line(points.bottomRightStart) - .curve(points.bottomRightCp1, points.bottomRightCp2, points.bottomRightEnd) - .line(points.edgeRight) -``` - -and keep the rest of the path as it was. - -The shape our bib is now completed: - - - - - diff --git a/markdown/dev/tutorials/pattern-design/rounding-the-corners/es.md b/markdown/dev/tutorials/pattern-design/rounding-the-corners/es.md deleted file mode 100644 index 8122e4aa08b..00000000000 --- a/markdown/dev/tutorials/pattern-design/rounding-the-corners/es.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Rounding the corners -order: 240 ---- - -We already know how to round corners, let the `round` macro do it: - - -```js -macro("round", { - from: points.topLeft, - to: points.bottomRight, - via: points.bottomLeft, - radius: points.bottomRight.x / 4, - prefix: "bottomLeft" -}); -macro("round", { - from: points.bottomLeft, - to: points.topRight, - via: points.bottomRight, - radius: points.bottomRight.x / 4, - prefix: "bottomRight" -}); -``` - -But there's still something to be learned here. If you look at our earlier use of the `round` macro, you'll notice that we used this line: - -```js - render: true, -``` - -This instructs the `round` macro create a path that draws the rounded corner. Whereas by default, it merely constructs the points required to round the corner. - -Typically, your rounded corner will be part of a larger path and so you don't want the macro to draw it. That's why the `round` macro's `render` property defaults to `false`. - -We've left it out here, and you should also remove it from your earlier use of the `round` macro. We merely set `render` to `true` at that time so you could see what the macro was doing. - -With our corners rounded, we should update our path. Fortunately, we merely have to update the start of it. Replace this: - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) -``` - -With this: - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeftStart) - .curve(points.bottomLeftCp1, points.bottomLeftCp2, points.bottomLeftEnd) - .line(points.bottomRightStart) - .curve(points.bottomRightCp1, points.bottomRightCp2, points.bottomRightEnd) - .line(points.edgeRight) -``` - -and keep the rest of the path as it was. - -The shape our bib is now completed: - - - - - diff --git a/markdown/dev/tutorials/pattern-design/rounding-the-corners/fr.md b/markdown/dev/tutorials/pattern-design/rounding-the-corners/fr.md deleted file mode 100644 index 02bc70e042d..00000000000 --- a/markdown/dev/tutorials/pattern-design/rounding-the-corners/fr.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Arrondir les coins -order: 240 ---- - -Nous savons déjà comment arrondir des coins, laissons la macro `round` s'en charger : - - -```js -macro("round", { - from: points.topLeft, - to: points.bottomRight, - via: points.bottomLeft, - radius: points.bottomRight.x / 4, - prefix: "bottomLeft" -}); -macro("round", { - from: points.bottomLeft, - to: points.topRight, - via: points.bottomRight, - radius: points.bottomRight.x / 4, - prefix: "bottomRight" -}); -``` - -Mais il y a encore quelque chose à apprendre ici. Si vous regardez comment nous avons employer la macro `round` précédemment, vous vous rendrez compte que nous avons utilisé cette ligne : - -```js - render: true, -``` - -Cela instruit la macro `round` de créer un chemin qui dessine un coin arrondi. Alors que par défaut, elle ne fait que dessiner les points requis pour arrondir le coin. - -Typiquement, votre coin arrondi fera partie d'un chemin plus large et vous ne voulez pas que la macro le dessine. C'est pourquoi la propriété `render` (rendu) de la macro `round` a sa valeur par défaut définie sur `false`. - -Nous l'avons laissée là, et vous devriez aussi la retirer pour votre emploi précédent de la macro `round`. Nous avons réglé `render` sur `true` à ce moment pour que vous puissiez voir ce que la macro faisait. - -Avec nos coins arrondis, nous devrions mettre à jour notre chemin. Fort heureusement, nous avons juste à mettre à jour le début de ce dernier. Remplacez ceci : - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) -``` - -Par ça : - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeftStart) - .curve(points.bottomLeftCp1, points.bottomLeftCp2, points.bottomLeftEnd) - .line(points.bottomRightStart) - .curve(points.bottomRightCp1, points.bottomRightCp2, points.bottomRightEnd) - .line(points.edgeRight) -``` - -et gardez le reste du chemin tel qu'il était. - -La forme de notre bavoir est maintenant finie : - - - - - diff --git a/markdown/dev/tutorials/pattern-design/rounding-the-corners/nl.md b/markdown/dev/tutorials/pattern-design/rounding-the-corners/nl.md deleted file mode 100644 index 6688ee60eb7..00000000000 --- a/markdown/dev/tutorials/pattern-design/rounding-the-corners/nl.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: De hoeken afronden -order: 240 ---- - -We weten al hoe je hoeken afrondt; daar dient de `round`-macro voor: - - -```js -macro("round", { - from: points.topLeft, - to: points.bottomRight, - via: points.bottomLeft, - radius: points.bottomRight.x / 4, - prefix: "bottomLeft" -}); -macro("round", { - from: points.bottomLeft, - to: points.topRight, - via: points.bottomRight, - radius: points.bottomRight.x / 4, - prefix: "bottomRight" -}); -``` - -Maar hier kunnen we nog iets bijleren. Als je kijkt naar hoe we de `round`-macro hiervoor toegepast hebben, zie je dat we deze regel gebruikt hebben: - -```js - render: true, -``` - -Dit geeft de `round`-macro de opdracht om een pad te creëren dat de afgeronde hoek tekent. Standaard doet de macro niet meer dan de punten te creëren die nodig zijn om de hoek af te ronden. - -Meestal zal je afgeronde hoek deel uitmaken van een groter pad. Dan wil je niet dat de macro het ook nog eens tekent. Daarom staat de `render`-eigenschap van de `round`-macro standaard ingesteld als `false`. - -Hier hebben we de `render`-eigenschap weggelaten, en dat zou je ook moeten doen in je vorige gebruik van de `round`-macro. We hebben hem toen alleen ingesteld als `true` om je te tonen wat de macro precies doet. - -Nu onze hoeken afgerond zijn, moeten we ons pad updaten. Gelukkig hoeven we alleen maar het begin te updaten. Vervang dit: - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) -``` - -Door dit: - -```js -paths.seam = new Path() - .move(points.edgeLeft) - .line(points.bottomLeftStart) - .curve(points.bottomLeftCp1, points.bottomLeftCp2, points.bottomLeftEnd) - .line(points.bottomRightStart) - .curve(points.bottomRightCp1, points.bottomRightCp2, points.bottomRightEnd) - .line(points.edgeRight) -``` - -en behoud de rest van het pad zoals het was. - -De vorm van het slabbetje is nu afgewerkt: - - - - - diff --git a/markdown/dev/tutorials/pattern-design/shaping-the-straps/de.md b/markdown/dev/tutorials/pattern-design/shaping-the-straps/de.md deleted file mode 100644 index c264ca76493..00000000000 --- a/markdown/dev/tutorials/pattern-design/shaping-the-straps/de.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: 200|Shaping the straps ---- - -Our straps should follow the neck opening, which isn't that hard to do. We just need to keep the control points of our curves at similar proportions. Which means, halfway between the start of the curve, and the corner of our rectangle. - - - -For this, you'll be using a new method: `Point.shiftFractionTowards()`. We've already -used `Point.shift()` and there's also `Point.shiftTowards()` and `Point.shiftOutwards()`. -As always, [the API docs](/reference/api/point/) have all the details. - - - -```js -points.edgeLeft = new Point(points.topLeft.x, points.left.y); -points.edgeRight = new Point(points.topRight.x, points.right.y); -points.edgeTop = new Point(0, points.topLeft.y); - -points.edgeLeftCp = points.edgeLeft.shiftFractionTowards(points.topLeft, 0.5); -points.edgeRightCp = points.edgeLeftCp.flipX(); -points.edgeTopLeftCp = points.edgeTop.shiftFractionTowards( - points.topLeft, - 0.5 -); -points.edgeTopRightCp = points.edgeTopLeftCp.flipX(); -``` - -Now, adapt our `rect` path so it's no longer a rectangle: - -```js -paths.rect = new Path() - .move(points.edgeTop) - .curve(points.edgeTopLeftCp, points.edgeLeftCp, points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) - .curve(points.edgeRightCp, points.edgeTopRightCp, points.edgeTop) - .close(); -``` - -All of a sudden, things are starting to look like a bib: - - - diff --git a/markdown/dev/tutorials/pattern-design/shaping-the-straps/es.md b/markdown/dev/tutorials/pattern-design/shaping-the-straps/es.md deleted file mode 100644 index c264ca76493..00000000000 --- a/markdown/dev/tutorials/pattern-design/shaping-the-straps/es.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: 200|Shaping the straps ---- - -Our straps should follow the neck opening, which isn't that hard to do. We just need to keep the control points of our curves at similar proportions. Which means, halfway between the start of the curve, and the corner of our rectangle. - - - -For this, you'll be using a new method: `Point.shiftFractionTowards()`. We've already -used `Point.shift()` and there's also `Point.shiftTowards()` and `Point.shiftOutwards()`. -As always, [the API docs](/reference/api/point/) have all the details. - - - -```js -points.edgeLeft = new Point(points.topLeft.x, points.left.y); -points.edgeRight = new Point(points.topRight.x, points.right.y); -points.edgeTop = new Point(0, points.topLeft.y); - -points.edgeLeftCp = points.edgeLeft.shiftFractionTowards(points.topLeft, 0.5); -points.edgeRightCp = points.edgeLeftCp.flipX(); -points.edgeTopLeftCp = points.edgeTop.shiftFractionTowards( - points.topLeft, - 0.5 -); -points.edgeTopRightCp = points.edgeTopLeftCp.flipX(); -``` - -Now, adapt our `rect` path so it's no longer a rectangle: - -```js -paths.rect = new Path() - .move(points.edgeTop) - .curve(points.edgeTopLeftCp, points.edgeLeftCp, points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) - .curve(points.edgeRightCp, points.edgeTopRightCp, points.edgeTop) - .close(); -``` - -All of a sudden, things are starting to look like a bib: - - - diff --git a/markdown/dev/tutorials/pattern-design/shaping-the-straps/fr.md b/markdown/dev/tutorials/pattern-design/shaping-the-straps/fr.md deleted file mode 100644 index 24b6f436a23..00000000000 --- a/markdown/dev/tutorials/pattern-design/shaping-the-straps/fr.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: 200|Shaping the straps ---- - -Nos attaches devraient suivre l'encolure, ce qui n'est pas difficile à faire. Il nous faut juste nous assurer que les points de contrôle de nos courbes aient des proportions similaires. Ce qui signifie, à la moitié entre le début de la courbe et le coin de notre rectangle. - - - -For this, you'll be using a new method: `Point.shiftFractionTowards()`. We've already -used `Point.shift()` and there's also `Point.shiftTowards()` and `Point.shiftOutwards()`. -As always, [the API docs](/reference/api/point/) have all the details. - - - -```js -points.edgeLeft = new Point(points.topLeft.x, points.left.y); -points.edgeRight = new Point(points.topRight.x, points.right.y); -points.edgeTop = new Point(0, points.topLeft.y); - -points.edgeLeftCp = points.edgeLeft.shiftFractionTowards(points.topLeft, 0.5); -points.edgeRightCp = points.edgeLeftCp.flipX(); -points.edgeTopLeftCp = points.edgeTop.shiftFractionTowards( - points.topLeft, - 0.5 -); -points.edgeTopRightCp = points.edgeTopLeftCp.flipX(); -``` - -Maintenant, adaptons notre chemin `rect` de façon à ce qu'il ne soit plus un rectangle : - -```js -paths.rect = new Path() - .move(points.edgeTop) - .curve(points.edgeTopLeftCp, points.edgeLeftCp, points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) - .curve(points.edgeRightCp, points.edgeTopRightCp, points.edgeTop) - .close(); -``` - -Tout à coup, les choses commencent à prendre la forme d'un bavoir : - - - diff --git a/markdown/dev/tutorials/pattern-design/shaping-the-straps/nl.md b/markdown/dev/tutorials/pattern-design/shaping-the-straps/nl.md deleted file mode 100644 index f9ceb5b7c22..00000000000 --- a/markdown/dev/tutorials/pattern-design/shaping-the-straps/nl.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: 200|Shaping the straps ---- - -De bandjes van het slabbetje moeten de halsopening volgen. Dat is niet zo moeilijk. We moeten alleen maar de controlepunten van de curves op vergelijkbare proporties behouden. Dus halverwege het begin van de curve, en aan de hoek van onze rechthoek. - - - -For this, you'll be using a new method: `Point.shiftFractionTowards()`. We've already -used `Point.shift()` and there's also `Point.shiftTowards()` and `Point.shiftOutwards()`. -As always, [the API docs](/reference/api/point/) have all the details. - - - -```js -points.edgeLeft = new Point(points.topLeft.x, points.left.y); -points.edgeRight = new Point(points.topRight.x, points.right.y); -points.edgeTop = new Point(0, points.topLeft.y); - -points.edgeLeftCp = points.edgeLeft.shiftFractionTowards(points.topLeft, 0.5); -points.edgeRightCp = points.edgeLeftCp.flipX(); -points.edgeTopLeftCp = points.edgeTop.shiftFractionTowards( - points.topLeft, - 0.5 -); -points.edgeTopRightCp = points.edgeTopLeftCp.flipX(); -``` - -Pas nu het `rect`-pad aan zodat het geen rechthoek meer is: - -```js -paths.rect = new Path() - .move(points.edgeTop) - .curve(points.edgeTopLeftCp, points.edgeLeftCp, points.edgeLeft) - .line(points.bottomLeft) - .line(points.bottomRight) - .line(points.edgeRight) - .curve(points.edgeRightCp, points.edgeTopRightCp, points.edgeTop) - .close(); -``` - -Plots begint het er echt als een slabbetje uit te zien: - - - diff --git a/markdown/dev/tutorials/pattern-design/testing-your-pattern/de.md b/markdown/dev/tutorials/pattern-design/testing-your-pattern/de.md deleted file mode 100644 index 1ea8f1783db..00000000000 --- a/markdown/dev/tutorials/pattern-design/testing-your-pattern/de.md +++ /dev/null @@ -1,195 +0,0 @@ ---- -title: 250|Testing your pattern ---- - -With the basic outline of your pattern ready, now would be a good time -to test it to see how well it adapts to different measurements, -and the range of options we provided. - - - -###### No more grading - -FreeSewing patterns are *made-to-measure*, which means that you don't need to -grade your pattern to provide a range of sizes. You should sample your pattern -for different measurements and options to see how well it adapts. - - - -If testing your pattern sounds like a lot of work, you're in luck. FreeSewing can do it -for you. Click the **Test your pattern** button in the top navigation bar of your -development environment, and you'll see a number of choices at the right: - - - Test pattern options - - Test measurements - - Test models - -The [API docs on sampling](/reference/api/pattern/#sample) have all the details on how this works, but -for now we'll just look at the end result of each of these. - -## Testing pattern options - -We used percentage options, which can vary between their minimum and maximum value. -For these tests, FreeSewing will divide that range into 10 steps and draft your pattern for each step. - -Click on any of the options we've added to our pattern, and your bib will be drawn with that option sampled. - -### lengthRatio - -The `lengthRatio` option controls the length of our bib. Testing it confirms that it only influences the length: - - - -### neckRatio - -The `neckRatio` option will determine the size of the neck opening. -For a the same `head` measurement, varying this option should result in bibs with increasingly larger -neck opening. - -Testing it confirms this. We can also see that as the neck opening gets smaller, we will rotate the straps -further out of the way to avoid overlap: - - - -### widthRatio - -The `widthRatio` option will determine the width of our bib. -For a the same `head` measurement, varying this option should result in increasingly wider bibs. - -If we test it, we can see that it works as intended. But there's one thing that perhaps requires your attention. -Making the bib wider shortens the length from the bottom of the neck opening to the bottom of the bib. -Thereby making the bib shortern when its worn. - -Even if the *total length* of the bib stays the same, the *useable length* shortens when the bib is made wider. -Users will not expect this, so it's something that we should fix in our pattern. - - - -Adjusting the pattern to make the `widthRatio` not influence the *useable length* of the bib is not -covered in this tutorial. It is left *as an exercise to the reader*. - - - - - -## Testing measurements - -Testing a measurement will vary that measurement 10% up or down while leaving everything else the same. -This gives you the option to determine how any given measurement is influencing the pattern. - -For our bib, we only use one measurement, so it influences the entire pattern: - - - -## Testing models - -Whereas testing a measurement will only vary one individual measurement, testing models will -draft your pattern for different sets of measurments, which we refer to as *models*. - -On the surface, the result below is the same as our measurement test. But that is because our bib -only uses one measurement. So testing that one measurement ends up being the same as testing a complete -set of measurements. - -But most patterns use multiple measurements, and you'll find this test gives you insight into how your -pattern will adapt to differently sizes bodies. - - - -## The antman test - -A special case of model testing is the so-called *antman test*. -It drafts your pattern with a set of *typical* measurements , and then drafts it again -with measurements that are 1/10th of those *typical* measurements. - -It is named after [the cartoon character](https://en.wikipedia.org/wiki/Ant-Man_(film)) who can shrink, -yet somehow his suit still fits. - -The purpose of the antman test is to bring out areas in your pattern where you made assumptions -that will not properly scale. -Many drafting books will tell you to *add 3cm there* or *measure 2 inch to the right*. Those instructions -don't scale, and you should avoid them. - -The best patterns will pass the antman test with 2 exact pattern. One will simply be 1/10th the scale of the other. - - - -When you're happy with how your pattern passes these tests, it's time to complete it. diff --git a/markdown/dev/tutorials/pattern-design/testing-your-pattern/es.md b/markdown/dev/tutorials/pattern-design/testing-your-pattern/es.md deleted file mode 100644 index 1ea8f1783db..00000000000 --- a/markdown/dev/tutorials/pattern-design/testing-your-pattern/es.md +++ /dev/null @@ -1,195 +0,0 @@ ---- -title: 250|Testing your pattern ---- - -With the basic outline of your pattern ready, now would be a good time -to test it to see how well it adapts to different measurements, -and the range of options we provided. - - - -###### No more grading - -FreeSewing patterns are *made-to-measure*, which means that you don't need to -grade your pattern to provide a range of sizes. You should sample your pattern -for different measurements and options to see how well it adapts. - - - -If testing your pattern sounds like a lot of work, you're in luck. FreeSewing can do it -for you. Click the **Test your pattern** button in the top navigation bar of your -development environment, and you'll see a number of choices at the right: - - - Test pattern options - - Test measurements - - Test models - -The [API docs on sampling](/reference/api/pattern/#sample) have all the details on how this works, but -for now we'll just look at the end result of each of these. - -## Testing pattern options - -We used percentage options, which can vary between their minimum and maximum value. -For these tests, FreeSewing will divide that range into 10 steps and draft your pattern for each step. - -Click on any of the options we've added to our pattern, and your bib will be drawn with that option sampled. - -### lengthRatio - -The `lengthRatio` option controls the length of our bib. Testing it confirms that it only influences the length: - - - -### neckRatio - -The `neckRatio` option will determine the size of the neck opening. -For a the same `head` measurement, varying this option should result in bibs with increasingly larger -neck opening. - -Testing it confirms this. We can also see that as the neck opening gets smaller, we will rotate the straps -further out of the way to avoid overlap: - - - -### widthRatio - -The `widthRatio` option will determine the width of our bib. -For a the same `head` measurement, varying this option should result in increasingly wider bibs. - -If we test it, we can see that it works as intended. But there's one thing that perhaps requires your attention. -Making the bib wider shortens the length from the bottom of the neck opening to the bottom of the bib. -Thereby making the bib shortern when its worn. - -Even if the *total length* of the bib stays the same, the *useable length* shortens when the bib is made wider. -Users will not expect this, so it's something that we should fix in our pattern. - - - -Adjusting the pattern to make the `widthRatio` not influence the *useable length* of the bib is not -covered in this tutorial. It is left *as an exercise to the reader*. - - - - - -## Testing measurements - -Testing a measurement will vary that measurement 10% up or down while leaving everything else the same. -This gives you the option to determine how any given measurement is influencing the pattern. - -For our bib, we only use one measurement, so it influences the entire pattern: - - - -## Testing models - -Whereas testing a measurement will only vary one individual measurement, testing models will -draft your pattern for different sets of measurments, which we refer to as *models*. - -On the surface, the result below is the same as our measurement test. But that is because our bib -only uses one measurement. So testing that one measurement ends up being the same as testing a complete -set of measurements. - -But most patterns use multiple measurements, and you'll find this test gives you insight into how your -pattern will adapt to differently sizes bodies. - - - -## The antman test - -A special case of model testing is the so-called *antman test*. -It drafts your pattern with a set of *typical* measurements , and then drafts it again -with measurements that are 1/10th of those *typical* measurements. - -It is named after [the cartoon character](https://en.wikipedia.org/wiki/Ant-Man_(film)) who can shrink, -yet somehow his suit still fits. - -The purpose of the antman test is to bring out areas in your pattern where you made assumptions -that will not properly scale. -Many drafting books will tell you to *add 3cm there* or *measure 2 inch to the right*. Those instructions -don't scale, and you should avoid them. - -The best patterns will pass the antman test with 2 exact pattern. One will simply be 1/10th the scale of the other. - - - -When you're happy with how your pattern passes these tests, it's time to complete it. diff --git a/markdown/dev/tutorials/pattern-design/testing-your-pattern/fr.md b/markdown/dev/tutorials/pattern-design/testing-your-pattern/fr.md deleted file mode 100644 index 421ef2f348a..00000000000 --- a/markdown/dev/tutorials/pattern-design/testing-your-pattern/fr.md +++ /dev/null @@ -1,92 +0,0 @@ ---- -title: 250|Testing your pattern ---- - -Avec le contour de base de votre patron prêt, il est maintenant temps de le tester pour voir à quel point il s'adapte bien à différentes mesures, et à l'étendue des options que nous avons fournie. - - - -###### No more grading - -FreeSewing patterns are *made-to-measure*, which means that you don't need to -grade your pattern to provide a range of sizes. Vous pouvez échantillonner votre patron -pour différentes mesures et options pour voir s'il s'adapte correctement. - - - -Si le fait de tester votre patron vous semble une masse de travail conséquente, c'est votre jour de chance. FreeSewing peut le faire pour vous. Click the **Test your pattern** button in the top navigation bar of your development environment, and you'll see a number of choices at the right: - - - Tester les options du patron - - Tester les mesures - - Tester les modèles - -The [API docs on sampling](/reference/api/pattern/#sample) have all the details on how this works, but for now we'll just look at the end result of each of these. - -## Tester les options du patron - -Nous avons utilisé des options pourcentages, qui peuvent varier entre leurs valeurs minimales et maximales. Pour ces tests, FreeSewing va diviser cette étendue en 10 étapes et ébaucher votre patron pour chacune d'entre elle. - -Cliquez sur n'importe quelle option que nous avons ajoutée au patron, et votre bavoir sera dessiné avec une échantillonnage de cet option. - -### lengthRatio - -L'option `lengthRatio` contrôle la longueur de notre bavoir. La tester confirme qu'elle n'influence que la longueur : - - - -### neckRatio - -L'option `neckRatio` va déterminer la taille de l'encolure. Pour une même mesure de `head` (tour de tête), varier cette option devrait faire augmenter la largeur de l'encolure. - -La tester confirme cela. Nous pouvons également voir que l'encolure devient plus étroite, les attaches seront tournées plus loin pour éviter qu'elles se chevauchent : - - - -### widthRatio - -L'option `widthRatio` détermine la largeur de notre bavoir. Pour une même mesure de `head` (tour de tête), varier cette option devrait donner des bavoirs de plus en plus larges. - -Si nous testons cela, nous pouvons voir que cela fonctionne comme prévu. Mais il y a une chose qui requiert peut-être votre attention. Élargir le bavoir réduit la longueur depuis le bas de l'encolure jusqu'au bas du bavoir. Ce qui rend le bavoir plus court lorsqu'il est porté. - -Even if the *total length* of the bib stays the same, the *useable length* shortens when the bib is made wider. Les utilisateurs ne s'attendent pas à cela, alors c'est une chose que nous devrions corriger dans notre patron. - - - -Adjusting the pattern to make the `widthRatio` not influence the *useable length* of the bib is not -covered in this tutorial. It is left *as an exercise to the reader*. - - - - - -## Tester les mesures - -Tester une mesure va faire varier cette mesure de 10% de plus ou de moins tout en laissant à l'identique tout le reste. Cela vous donne l'option de déterminer comment n'importe quelle mesure donnée influence le patron. - -Pour notre bavoir, nous employons uniquement une mesure, alors elle influence le patron en entier : - - - -## Tester les modèles - -Whereas testing a measurement will only vary one individual measurement, testing models will draft your pattern for different sets of measurments, which we refer to as *models*. - -Sur la surface, le résultat ci-dessous est le même que pour notre test de mesure. Mais c'est parce que notre bavoir n'utilise qu'une seule mesure. Alors tester cette unique mesure revient au même que tester un set de mesures complet. - -Mais la plupart des patrons utilise plusieurs mesures, et ce test vous donnera un aperçu de la façon dont votre patron s'adapte à différentes morphologies. - - - -## Le test de l'homme fourmi - -A special case of model testing is the so-called *antman test*. It drafts your pattern with a set of *typical* measurements , and then drafts it again with measurements that are 1/10th of those *typical* measurements. - -Ce test est nommé d'apèrs [le personnage de bande dessinée](https://en.wikipedia.org/wiki/Ant-Man_(film)) qui peut rapetisser, et pourtant ses habits lui vont toujours. - -Le but du test de l'homme fourmi est de mettre en évidence les zones de votre patron où vous avez fait des hypothèses qui ne se mettent pas bien à l'échelle. Many drafting books will tell you to *add 3cm there* or *measure 2 inch to the right*. Ces instructions ne s'adapte pas à l'échelle, et vous devriez les éviter. - -Les meilleurs patrons passeront le test de l'homme fourmi avec 2 patrons identiques. L'un sera simplement le dixième de l'autre en termes d'échelle. - - - -Lorsque vous êtes satisfait de la façon dont votre patron passe les tests, il est temps de le compléter. diff --git a/markdown/dev/tutorials/pattern-design/testing-your-pattern/nl.md b/markdown/dev/tutorials/pattern-design/testing-your-pattern/nl.md deleted file mode 100644 index 1cdd2cc499f..00000000000 --- a/markdown/dev/tutorials/pattern-design/testing-your-pattern/nl.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: 250|Testing your pattern ---- - -Nu de basisschets van je patroon klaar is, is dit een goed moment om te testen of het zich vlot aanpast aan andere afmetingen en de reeks opties die we hebben voorzien. - - - -###### No more grading - -FreeSewing patterns are *made-to-measure*, which means that you don't need to -grade your pattern to provide a range of sizes. Het is belangrijk dat je het patroon test met verschillende afmetingen en opties om te zien hoe goed het zich aanpast. - - - -Als het klinkt als een hoop werk om je patroon te testen, dan heb je geluk. FreeSewing kan het voor jou doen. Click the **Test your pattern** button in the top navigation bar of your development environment, and you'll see a number of choices at the right: - - - Test patroonopties - - Test afmetingen - - Test modellen - -The [API docs on sampling](/reference/api/pattern/#sample) have all the details on how this works, but for now we'll just look at the end result of each of these. - -## Patroonopties testen - -We hebben gewerkt met percentage-opties die kunnen variëren tussen een minimum- en een maximumwaarde. Voor deze tests zal FreeSewing het bereik verdelen in 10 stappen en je patroon schetsen voor elk van deze stappen. - -Click on any of the options we've added to our pattern, and your bib will be drawn with that option sampled. - -### lengthRatio - -The `lengthRatio` option controls the length of our bib. Testing it confirms that it only influences the length: - - - -### neckRatio - -The `neckRatio` option will determine the size of the neck opening. For a the same `head` measurement, varying this option should result in bibs with increasingly larger neck opening. - -Testing it confirms this. We can also see that as the neck opening gets smaller, we will rotate the straps further out of the way to avoid overlap: - - - -### widthRatio - -The `widthRatio` option will determine the width of our bib. For a the same `head` measurement, varying this option should result in increasingly wider bibs. - -If we test it, we can see that it works as intended. But there's one thing that perhaps requires your attention. Making the bib wider shortens the length from the bottom of the neck opening to the bottom of the bib. Thereby making the bib shortern when its worn. - -Even if the *total length* of the bib stays the same, the *useable length* shortens when the bib is made wider. Users will not expect this, so it's something that we should fix in our pattern. - - - -Adjusting the pattern to make the `widthRatio` not influence the *useable length* of the bib is not -covered in this tutorial. It is left *as an exercise to the reader*. - - - - - -## Testing measurements - -Testing a measurement will vary that measurement 10% up or down while leaving everything else the same. This gives you the option to determine how any given measurement is influencing the pattern. - -For our bib, we only use one measurement, so it influences the entire pattern: - - - -## Testing models - -Whereas testing a measurement will only vary one individual measurement, testing models will draft your pattern for different sets of measurments, which we refer to as *models*. - -On the surface, the result below is the same as our measurement test. But that is because our bib only uses one measurement. So testing that one measurement ends up being the same as testing a complete set of measurements. - -But most patterns use multiple measurements, and you'll find this test gives you insight into how your pattern will adapt to differently sizes bodies. - - - -## The antman test - -A special case of model testing is the so-called *antman test*. It drafts your pattern with a set of *typical* measurements , and then drafts it again with measurements that are 1/10th of those *typical* measurements. - -It is named after [the cartoon character](https://en.wikipedia.org/wiki/Ant-Man_(film)) who can shrink, yet somehow his suit still fits. - -The purpose of the antman test is to bring out areas in your pattern where you made assumptions that will not properly scale. Many drafting books will tell you to *add 3cm there* or *measure 2 inch to the right*. Those instructions don't scale, and you should avoid them. - -The best patterns will pass the antman test with 2 exact pattern. One will simply be 1/10th the scale of the other. - - - -When you're happy with how your pattern passes these tests, it's time to complete it. diff --git a/markdown/dev/tutorials/pattern-design/your-first-part/de.md b/markdown/dev/tutorials/pattern-design/your-first-part/de.md deleted file mode 100644 index e508c9226b2..00000000000 --- a/markdown/dev/tutorials/pattern-design/your-first-part/de.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: Your first part -order: 120 ---- - -Much like garments themselves, patterns are made up of *parts*. - -Most patterns will have multiple parts. A sleeve, a back part, the collar, and so on. Our patterns is very simply, and only has one part: the bib. - -The pattern that's been created for us also just has one part to get you started. It's called **box** and it draws a box. If you click on the **Draft your pattern** button in your browser, you'll get to see it: - -![The default pattern with its box part](./step1.png) - -Since we only need one part, we'll rename this *box* part, and call it *bib*. - -## Rename the box part to bib - -First, update the configuration file in `config/index.js`. Update the **parts** array with `bib`, rather than `box`: - -```js -parts: ["bib"], -``` - -When that's done, rename the `src/box.js` file into `src/bib.js`. - -Then, in the `src/index.js` file, change the import accordingly: - -```js -// Change this line -//import draftBox from "./box"; - -// Into this -import draftBib from "./bib"; -``` - -Finally, still in the `src/index.js` file, update the draftmethod: - -```js -// Change this line -//Pattern.prototype.draftBox = draftBox; - -// Into this -Pattern.prototype.draftBib = draftBib; -``` - - - -###### Always use draftPartname - -FreeSewing will expect for each part to find a method named Draft*Partname*. - -If you have a part named `sleeve` you should have a method called `draftSleeve()` that drafts that part. - -In our case, we have a part named `bib` so we're using `draftBib()` as the method that drafts it. - - - -Congratulations, your pattern now has a `bib` part, rather than a `box` part. It still looks the same though: - - - -This `bib` part is where we'll do some real work. But first, we have some more configuration to do. diff --git a/markdown/dev/tutorials/pattern-design/your-first-part/es.md b/markdown/dev/tutorials/pattern-design/your-first-part/es.md deleted file mode 100644 index e508c9226b2..00000000000 --- a/markdown/dev/tutorials/pattern-design/your-first-part/es.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: Your first part -order: 120 ---- - -Much like garments themselves, patterns are made up of *parts*. - -Most patterns will have multiple parts. A sleeve, a back part, the collar, and so on. Our patterns is very simply, and only has one part: the bib. - -The pattern that's been created for us also just has one part to get you started. It's called **box** and it draws a box. If you click on the **Draft your pattern** button in your browser, you'll get to see it: - -![The default pattern with its box part](./step1.png) - -Since we only need one part, we'll rename this *box* part, and call it *bib*. - -## Rename the box part to bib - -First, update the configuration file in `config/index.js`. Update the **parts** array with `bib`, rather than `box`: - -```js -parts: ["bib"], -``` - -When that's done, rename the `src/box.js` file into `src/bib.js`. - -Then, in the `src/index.js` file, change the import accordingly: - -```js -// Change this line -//import draftBox from "./box"; - -// Into this -import draftBib from "./bib"; -``` - -Finally, still in the `src/index.js` file, update the draftmethod: - -```js -// Change this line -//Pattern.prototype.draftBox = draftBox; - -// Into this -Pattern.prototype.draftBib = draftBib; -``` - - - -###### Always use draftPartname - -FreeSewing will expect for each part to find a method named Draft*Partname*. - -If you have a part named `sleeve` you should have a method called `draftSleeve()` that drafts that part. - -In our case, we have a part named `bib` so we're using `draftBib()` as the method that drafts it. - - - -Congratulations, your pattern now has a `bib` part, rather than a `box` part. It still looks the same though: - - - -This `bib` part is where we'll do some real work. But first, we have some more configuration to do. diff --git a/markdown/dev/tutorials/pattern-design/your-first-part/fr.md b/markdown/dev/tutorials/pattern-design/your-first-part/fr.md deleted file mode 100644 index 237c9ea0f6a..00000000000 --- a/markdown/dev/tutorials/pattern-design/your-first-part/fr.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: Votre première partie -order: 120 ---- - -Much like garments themselves, patterns are made up of *parts*. - -La plupart des patrons auront plusieurs parties. Une manche, une partie arrière, le col, etc. Notre patron est des plus simples, et ne comporte qu'une seule partie : le bavoir. - -Le patron qui vient d'être créé pour nous a aussi une unique partie pour vous faire démarrer. It's called **box** and it draws a box. If you click on the **Draft your pattern** button in your browser, you'll get to see it: - -![Le patron par défaut avec sa partie box](./step1.png) - -Since we only need one part, we'll rename this *box* part, and call it *bib*. - -## Renommez la partie box en bib - -Tout d'abord, mettez à jour le fichier de configuration dans `config/index.js`. Update the **parts** array with `bib`, rather than `box`: - -```js -parts: ["bib"], -``` - -Lorsque c'est fait, remplacez le nom du fichier `src/box.js` par `src/bib.js`. - -Puis, dans le fichier `src/index.js`, changez l'import de façon correspondante : - -```js -// Changez cette ligne -//import draftBox from "./box"; - -// en -import draftBib from "./bib"; -``` - -Enfin, toujours dans le fichier `src/index.js`, mettez à jour la méthode d'ébauche : - -```js -// Change cette ligne -//Pattern.prototype.draftBox = draftBox; - -// en -Pattern.prototype.draftBib = draftBib; -``` - - - -###### Always use draftPartname - -FreeSewing will expect for each part to find a method named Draft*Partname*. - -If you have a part named `sleeve` you should have a method called `draftSleeve()` that drafts that part. - -In our case, we have a part named `bib` so we're using `draftBib()` as the method that drafts it. - - - -Félicitations, votre modèle a maintenant une partie `bib`, au lieu d'une partie `box`. Elle a toujours la même tête cependant : - - - -Cette partie `bib` est là où nous allons effectuer un travail plus sérieux. Mais tout d'abord, nous avons encore un peu de configuration à faire. diff --git a/markdown/dev/tutorials/pattern-design/your-first-part/nl.md b/markdown/dev/tutorials/pattern-design/your-first-part/nl.md deleted file mode 100644 index e508c9226b2..00000000000 --- a/markdown/dev/tutorials/pattern-design/your-first-part/nl.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: Your first part -order: 120 ---- - -Much like garments themselves, patterns are made up of *parts*. - -Most patterns will have multiple parts. A sleeve, a back part, the collar, and so on. Our patterns is very simply, and only has one part: the bib. - -The pattern that's been created for us also just has one part to get you started. It's called **box** and it draws a box. If you click on the **Draft your pattern** button in your browser, you'll get to see it: - -![The default pattern with its box part](./step1.png) - -Since we only need one part, we'll rename this *box* part, and call it *bib*. - -## Rename the box part to bib - -First, update the configuration file in `config/index.js`. Update the **parts** array with `bib`, rather than `box`: - -```js -parts: ["bib"], -``` - -When that's done, rename the `src/box.js` file into `src/bib.js`. - -Then, in the `src/index.js` file, change the import accordingly: - -```js -// Change this line -//import draftBox from "./box"; - -// Into this -import draftBib from "./bib"; -``` - -Finally, still in the `src/index.js` file, update the draftmethod: - -```js -// Change this line -//Pattern.prototype.draftBox = draftBox; - -// Into this -Pattern.prototype.draftBib = draftBib; -``` - - - -###### Always use draftPartname - -FreeSewing will expect for each part to find a method named Draft*Partname*. - -If you have a part named `sleeve` you should have a method called `draftSleeve()` that drafts that part. - -In our case, we have a part named `bib` so we're using `draftBib()` as the method that drafts it. - - - -Congratulations, your pattern now has a `bib` part, rather than a `box` part. It still looks the same though: - - - -This `bib` part is where we'll do some real work. But first, we have some more configuration to do. diff --git a/markdown/dev/ui/homepage/row-1/1/de.md b/markdown/dev/ui/homepage/row-1/1/de.md deleted file mode 100644 index 399e3874c15..00000000000 --- a/markdown/dev/ui/homepage/row-1/1/de.md +++ /dev/null @@ -1,13 +0,0 @@ - -## Get started in seconds - -Setup your development environment with this one-liner: - -
-
-    npm init freesewing-pattern
-  
-
- -You can try it out right now, or learn more about what to expect. - diff --git a/markdown/dev/ui/homepage/row-1/1/es.md b/markdown/dev/ui/homepage/row-1/1/es.md deleted file mode 100644 index 399e3874c15..00000000000 --- a/markdown/dev/ui/homepage/row-1/1/es.md +++ /dev/null @@ -1,13 +0,0 @@ - -## Get started in seconds - -Setup your development environment with this one-liner: - -
-
-    npm init freesewing-pattern
-  
-
- -You can try it out right now, or learn more about what to expect. - diff --git a/markdown/dev/ui/homepage/row-1/1/fr.md b/markdown/dev/ui/homepage/row-1/1/fr.md deleted file mode 100644 index 399e3874c15..00000000000 --- a/markdown/dev/ui/homepage/row-1/1/fr.md +++ /dev/null @@ -1,13 +0,0 @@ - -## Get started in seconds - -Setup your development environment with this one-liner: - -
-
-    npm init freesewing-pattern
-  
-
- -You can try it out right now, or learn more about what to expect. - diff --git a/markdown/dev/ui/homepage/row-1/1/nl.md b/markdown/dev/ui/homepage/row-1/1/nl.md deleted file mode 100644 index 399e3874c15..00000000000 --- a/markdown/dev/ui/homepage/row-1/1/nl.md +++ /dev/null @@ -1,13 +0,0 @@ - -## Get started in seconds - -Setup your development environment with this one-liner: - -
-
-    npm init freesewing-pattern
-  
-
- -You can try it out right now, or learn more about what to expect. - diff --git a/markdown/dev/ui/homepage/row-1/2/de.md b/markdown/dev/ui/homepage/row-1/2/de.md deleted file mode 100644 index 6489e37e491..00000000000 --- a/markdown/dev/ui/homepage/row-1/2/de.md +++ /dev/null @@ -1,6 +0,0 @@ - -## FreeSewing tutorial - -Follow our step-by-step tutorial to familiarize yourself with the FreeSewing API. - -You'll learn everything you need to start designing your own made-to-measure sewing patterns. diff --git a/markdown/dev/ui/homepage/row-1/2/es.md b/markdown/dev/ui/homepage/row-1/2/es.md deleted file mode 100644 index 6489e37e491..00000000000 --- a/markdown/dev/ui/homepage/row-1/2/es.md +++ /dev/null @@ -1,6 +0,0 @@ - -## FreeSewing tutorial - -Follow our step-by-step tutorial to familiarize yourself with the FreeSewing API. - -You'll learn everything you need to start designing your own made-to-measure sewing patterns. diff --git a/markdown/dev/ui/homepage/row-1/2/fr.md b/markdown/dev/ui/homepage/row-1/2/fr.md deleted file mode 100644 index 6489e37e491..00000000000 --- a/markdown/dev/ui/homepage/row-1/2/fr.md +++ /dev/null @@ -1,6 +0,0 @@ - -## FreeSewing tutorial - -Follow our step-by-step tutorial to familiarize yourself with the FreeSewing API. - -You'll learn everything you need to start designing your own made-to-measure sewing patterns. diff --git a/markdown/dev/ui/homepage/row-1/2/nl.md b/markdown/dev/ui/homepage/row-1/2/nl.md deleted file mode 100644 index 6489e37e491..00000000000 --- a/markdown/dev/ui/homepage/row-1/2/nl.md +++ /dev/null @@ -1,6 +0,0 @@ - -## FreeSewing tutorial - -Follow our step-by-step tutorial to familiarize yourself with the FreeSewing API. - -You'll learn everything you need to start designing your own made-to-measure sewing patterns. diff --git a/markdown/dev/ui/homepage/row-1/3/de.md b/markdown/dev/ui/homepage/row-1/3/de.md deleted file mode 100644 index de99659a576..00000000000 --- a/markdown/dev/ui/homepage/row-1/3/de.md +++ /dev/null @@ -1,5 +0,0 @@ - -## API Reference - -Detailed documentation for FreeSewing's API, including examples. - diff --git a/markdown/dev/ui/homepage/row-1/3/es.md b/markdown/dev/ui/homepage/row-1/3/es.md deleted file mode 100644 index de99659a576..00000000000 --- a/markdown/dev/ui/homepage/row-1/3/es.md +++ /dev/null @@ -1,5 +0,0 @@ - -## API Reference - -Detailed documentation for FreeSewing's API, including examples. - diff --git a/markdown/dev/ui/homepage/row-1/3/fr.md b/markdown/dev/ui/homepage/row-1/3/fr.md deleted file mode 100644 index de99659a576..00000000000 --- a/markdown/dev/ui/homepage/row-1/3/fr.md +++ /dev/null @@ -1,5 +0,0 @@ - -## API Reference - -Detailed documentation for FreeSewing's API, including examples. - diff --git a/markdown/dev/ui/homepage/row-1/3/nl.md b/markdown/dev/ui/homepage/row-1/3/nl.md deleted file mode 100644 index de99659a576..00000000000 --- a/markdown/dev/ui/homepage/row-1/3/nl.md +++ /dev/null @@ -1,5 +0,0 @@ - -## API Reference - -Detailed documentation for FreeSewing's API, including examples. - diff --git a/markdown/dev/ui/homepage/row-2/1/de.md b/markdown/dev/ui/homepage/row-2/1/de.md deleted file mode 100644 index c825375525a..00000000000 --- a/markdown/dev/ui/homepage/row-2/1/de.md +++ /dev/null @@ -1,5 +0,0 @@ - -## FreeSewing on GitHub - -All our source code is hosted [on GitHub](https://github.com/freesewing/). Pull requests welcome! - diff --git a/markdown/dev/ui/homepage/row-2/1/es.md b/markdown/dev/ui/homepage/row-2/1/es.md deleted file mode 100644 index c825375525a..00000000000 --- a/markdown/dev/ui/homepage/row-2/1/es.md +++ /dev/null @@ -1,5 +0,0 @@ - -## FreeSewing on GitHub - -All our source code is hosted [on GitHub](https://github.com/freesewing/). Pull requests welcome! - diff --git a/markdown/dev/ui/homepage/row-2/1/fr.md b/markdown/dev/ui/homepage/row-2/1/fr.md deleted file mode 100644 index c825375525a..00000000000 --- a/markdown/dev/ui/homepage/row-2/1/fr.md +++ /dev/null @@ -1,5 +0,0 @@ - -## FreeSewing on GitHub - -All our source code is hosted [on GitHub](https://github.com/freesewing/). Pull requests welcome! - diff --git a/markdown/dev/ui/homepage/row-2/1/nl.md b/markdown/dev/ui/homepage/row-2/1/nl.md deleted file mode 100644 index c825375525a..00000000000 --- a/markdown/dev/ui/homepage/row-2/1/nl.md +++ /dev/null @@ -1,5 +0,0 @@ - -## FreeSewing on GitHub - -All our source code is hosted [on GitHub](https://github.com/freesewing/). Pull requests welcome! - diff --git a/markdown/dev/ui/homepage/row-2/2/de.md b/markdown/dev/ui/homepage/row-2/2/de.md deleted file mode 100644 index f1a2609f295..00000000000 --- a/markdown/dev/ui/homepage/row-2/2/de.md +++ /dev/null @@ -1,4 +0,0 @@ - -## FreeSewing on NPM - -We maintain more than 60 packages on NPM, The Node.js package registry. diff --git a/markdown/dev/ui/homepage/row-2/2/es.md b/markdown/dev/ui/homepage/row-2/2/es.md deleted file mode 100644 index f1a2609f295..00000000000 --- a/markdown/dev/ui/homepage/row-2/2/es.md +++ /dev/null @@ -1,4 +0,0 @@ - -## FreeSewing on NPM - -We maintain more than 60 packages on NPM, The Node.js package registry. diff --git a/markdown/dev/ui/homepage/row-2/2/fr.md b/markdown/dev/ui/homepage/row-2/2/fr.md deleted file mode 100644 index f1a2609f295..00000000000 --- a/markdown/dev/ui/homepage/row-2/2/fr.md +++ /dev/null @@ -1,4 +0,0 @@ - -## FreeSewing on NPM - -We maintain more than 60 packages on NPM, The Node.js package registry. diff --git a/markdown/dev/ui/homepage/row-2/2/nl.md b/markdown/dev/ui/homepage/row-2/2/nl.md deleted file mode 100644 index f1a2609f295..00000000000 --- a/markdown/dev/ui/homepage/row-2/2/nl.md +++ /dev/null @@ -1,4 +0,0 @@ - -## FreeSewing on NPM - -We maintain more than 60 packages on NPM, The Node.js package registry. diff --git a/markdown/dev/ui/homepage/row-2/3/de.md b/markdown/dev/ui/homepage/row-2/3/de.md deleted file mode 100644 index 0af024e2970..00000000000 --- a/markdown/dev/ui/homepage/row-2/3/de.md +++ /dev/null @@ -1,4 +0,0 @@ - -## Questions? - -The FreeSewing community is ready to help out when you get stuck or have questions. diff --git a/markdown/dev/ui/homepage/row-2/3/es.md b/markdown/dev/ui/homepage/row-2/3/es.md deleted file mode 100644 index 0af024e2970..00000000000 --- a/markdown/dev/ui/homepage/row-2/3/es.md +++ /dev/null @@ -1,4 +0,0 @@ - -## Questions? - -The FreeSewing community is ready to help out when you get stuck or have questions. diff --git a/markdown/dev/ui/homepage/row-2/3/fr.md b/markdown/dev/ui/homepage/row-2/3/fr.md deleted file mode 100644 index 0af024e2970..00000000000 --- a/markdown/dev/ui/homepage/row-2/3/fr.md +++ /dev/null @@ -1,4 +0,0 @@ - -## Questions? - -The FreeSewing community is ready to help out when you get stuck or have questions. diff --git a/markdown/dev/ui/homepage/row-2/3/nl.md b/markdown/dev/ui/homepage/row-2/3/nl.md deleted file mode 100644 index 0af024e2970..00000000000 --- a/markdown/dev/ui/homepage/row-2/3/nl.md +++ /dev/null @@ -1,4 +0,0 @@ - -## Questions? - -The FreeSewing community is ready to help out when you get stuck or have questions.