From d8738a2e5cc3ff1f0232a6ce8d68c979eb3c37ec Mon Sep 17 00:00:00 2001 From: Benjamin F Date: Thu, 29 Dec 2022 19:36:27 -0800 Subject: [PATCH] fix(docs): Update utils.stretchToScale() --- markdown/dev/reference/api/utils/stretchtoscale/en.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/markdown/dev/reference/api/utils/stretchtoscale/en.md b/markdown/dev/reference/api/utils/stretchtoscale/en.md index 5c87f0a0d9b..d5f58e8e2ef 100644 --- a/markdown/dev/reference/api/utils/stretchtoscale/en.md +++ b/markdown/dev/reference/api/utils/stretchtoscale/en.md @@ -15,9 +15,13 @@ float utils.stretchToScale(float stretch) The way people measure stretch intuitively is different from the way we handle stretch in code. -When people say _25% stretch_ they mean that 10 cm fabric gets stretched to 12.5 cm fabric. -In code and on our patterns, that means we need to scale things by 80%. +When people say fabric has _25% stretch_ they mean that 10 cm of fabric can +stretch to 12.5 cm. +In code that means we would need to scale non-stretch lengths by 80% +to get the correct lengths to use in patterns with 25% stretch fabric. +Pattern designers need a way to calculate the scaling factor to use for +their pattern part lengths, given a fabric stretch percentage. This function does that by returning: ```js