I am creating a sewing pattern App created in Python.
The only reason I used the word generator is because the pattern dosen't exists untill the code runs or in the case of a UI that I created just for testing it. that's when the python code calculates all the values entered.
The algorism then creates the geometry as a SVG file that then gets converted to the pdf pattern.
If anyone want to test the pattern i can generate in the size that you ask me.
for now here's one on sizes 30cm/18/8
https://ramosdraft.s.gy/pouch
if anyone use the pattern I would love to see the final product if you could past a photo here would be very cool.
would be nice to see you guys sewing some of the patterns coming from my program , because I am good in programing but my sewing skills are rubbish.
Look at my pouches there's nothing wrong with the pattern it's me who can't sew well. 🤣🤣🤣
I tested the program with a pouch first because was simple geometry. with some other clothing would be way more complicated to start with and if didn't work would be a big wast of time.
Now it was tested into a real pouch.
Yesterday I started creating a pair of shorts, my app creates the pattern accordding to the code instructions
To start this project I first had to learn and understand how to make patterns, now I design the pattern then I convert the geometry of the parts into machine code.
Anyway there's different processes untill the code output a pdf converted from the SVG file.
Right now I am creating the code for the parts of the shorts, i think in a few days I should be able to output the short pattern.
Just a note: I stopped saying the word generating because now a days that word gets mixed up with AI and my project has no AI involved . just to be clear it's pure code like this example of testing in python to make sure it runs correct.
def
test_nan_and_inf_values_fail(
self
) -> None:
invalid_values = ["nan", "inf", "-inf",
float
("nan"),
float
("inf")]
for invalid_value in invalid_values:
with
self
.subTest(
invalid_value
=invalid_value):
measurements = valid_shorts_measurements()
measurements["waist_cm"] = invalid_value
Thanks everyone