Adjust a pattern to my gauge
adjust_for_gaugeCompare your swatch gauge with a pattern gauge to decide whether to change needles, predict finished size, and recalculate pattern counts so the size stays right.
Instructions
Compares the user's swatch with a pattern's gauge: whether to change needles, how big the piece comes out if they follow the pattern as written, and pattern numbers (cast-on, stitch counts, rows) recalculated for their gauge so the size stays right. Give the pattern gauge, or a pattern_id to read it from Ravelry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | No | Numbers from the pattern to recalculate for the user. | |
| my_gauge | Yes | The user's swatch, measured after blocking if possible. | |
| pattern_id | No | Reads the gauge from Ravelry. | |
| measurements | No | Finished measurements from the pattern, to see what the user would get. | |
| pattern_gauge | No | The gauge printed in the pattern. | |
| stitch_multiple | No | Stitch repeat, e.g. "multiple of 4 + 2", so new counts still fit it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| pattern | Yes | ||
| verdict | Yes | ||
| needle_advice | Yes | ||
| yours_per_10cm | Yes | ||
| adjusted_counts | Yes | ||
| as_written_scale | Yes | Width factor if the pattern is followed unchanged: 1.1 = 10% bigger. | |
| pattern_per_10cm | Yes | ||
| row_difference_percent | Yes | ||
| measurements_as_written | Yes | ||
| stitch_difference_percent | Yes |