Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benninkcorien/raglan-sweater-knitting-pattern-custom
A python script that generates a raglan sweater based on your measurements and gauge
https://github.com/benninkcorien/raglan-sweater-knitting-pattern-custom
Last synced: about 2 months ago
JSON representation
A python script that generates a raglan sweater based on your measurements and gauge
- Host: GitHub
- URL: https://github.com/benninkcorien/raglan-sweater-knitting-pattern-custom
- Owner: benninkcorien
- License: mit
- Created: 2023-08-07T13:35:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-07T14:43:48.000Z (over 1 year ago)
- Last Synced: 2023-08-07T16:10:01.853Z (over 1 year ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Customizable Knitting Pattern Generator for a Raglan Sweater
A python script that generates a raglan sweater based on your measurements and gauge
(this script is intentionally a bit of a mess, so it's easy to change things.)## Enter measurements
- stitch_gauge = stitches for 10 cm
- row_gauge = rows for 10 cm
- 10cmknitishowmuchyarn how much yarn in cm did you use for 1 row of 10cm wide (unravel and measure)
- chestcircumf = chest circumference in cm
- sleevelength = sleeve length in cm
- cuff = cuff circumference in cm
- upperarm = upper arm circumference in cm
- crewneck = neck circumference in cm plus extra (you make it narrower at the end.. 47 default seems to work)
- bodylength = armpit to hem length in cm
- raglanlength = neck to armpit length in cm
- metersperballofyarn = How many meters of yarn in 1 ballEnter your measurements in cm here:
measurements = {
"stitch_gauge": 12.5,
"row_gauge": 16.0,
"10cmknitishowmuchyarn": 42.0,
"metersperballofyarn": 70.0,
"chestcircumf": 95.0,
"sleevelength": 52.0,
"cuff": 21.0,
"upperarm": 32.0,
"crewneck": 47.0,
"bodylength": 52.0,
"raglanlength": 16.5,
"waist": 82.0,
"chesttowaist": 24.0,
"hip": 96.0,
}
Or comment that out and use the inputs## How much yarn is needed
Knit 10 cm, unravel and measure in cm how much yarn you used to do that. This is used to calculate the total needed.
(Tested for accuracy with 1 sweater. This script returns slightly more than used.)## Keep track of rows
The pattern also contains _ _ _ placeholders so you can keep track of how many rows you've knit.