
This is a flat (without history) import of (some of) the content from our markdown module. We've imported this without history because the repo contains our blog posts and showcases posts content prior to porting them to strapi. Since this contains many images, it would balloon the size of this repo to import the full history. Instead, please refer to the history of the (archived) markdown repo at: https://github.com/freesewing/markdown
1.7 KiB
1.7 KiB
title | for | about |
---|---|---|
Add seam allowance and/or hem allowance | developers | Adding seam allowance or hem allowance is easy to do |
See this example in our source code
Adding seam allowance is something that has to happen in every pattern. We might also have a hem where we need to add more seam allowance, or hem allowance.
When doing this, it's best to split up your path so in those sections that share the same seam allowance.
In the example below we have two such paths:
paths.saBase
is the path that will require regular seam allowancepaths.hemBase
is the path that will require more seam allowance, or hem allowance
When creating them, we disable rendering, effectively hiding them. Then we string together our real path and our seam allowance based on them:
paths.saBase = new Path()
.move(points.bottomRight)
.line(points.tip)
.curve(points.tipCpBottom, points.tipCpTop, points.topLeft)
.line(points.bottomLeft)
.setRender(false)
paths.hemBase = new Path()
.move(points.bottomLeft)
.line(points.bottomRight)
.setRender(false)
paths.seam = paths.saBase.join(paths.hemBase)
.close()
.attr('class', 'fabric')
if (complete) {
if (sa) {
paths.sa = paths.saBase.offset(sa)
.join(paths.hemBase.offset(sa * 2))
.close()
.attr('class', 'fabric sa')
}
// ...
}
Use a multiple of sa
for your hem allowance
Resist the temptation to use an absolute value for any seam allowance, including at the hem.
Always use a multiple of the sa
value.