Measure fabric shrinkage
measure_fabric_shrinkageCalculates fabric shrinkage (or growth) from a swatch measured before and after washing and drying: length change along the selvedge, width change across the fabric, and the change in area. Use the same marked distances before and after, in one unit (cm or inches). Positive percentages are shrinkage, negative are growth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit of the four measurements (only used to label the answer). Default cm. | |
| width_after | Yes | The same marked width after washing and drying. | |
| length_after | Yes | The same marked length after washing and drying. | |
| width_before | Yes | Marked width before washing (across the fabric), greater than 0. | |
| length_before | Yes | Marked length before washing (along the selvedge), greater than 0. |