Welcome to OpenPattern’s documentation: a python library for sewing geeks !

Note

This project is under active development. For an introduction in French introduction see the doc on Github in the fdoc folder.

What is it ?

OpenPattern is a python library consisting of a set of classes designed to draft 1:1 scale bespoke sewing patterns and save them as pdf (or matplotlib compatible) files for printing or further processing. Printing can be performed at fullscale on a tracer but OpenPattern can also cut the pattern in as many pieces as needed in order to print them on a home printer.

OpenPattern can be used to draft patterns from scratch but also includes a set of predefined patterns from basics (or “bases” in French) such as bodices to more elaborate patterns such as shirts.

The patterns are drafted following instructions from three main stylists: Jacqueline Chiappetta, Theresa Gilewska, and Antonnio Donnano.

Sizes are stored in a sqlite3 database. By default they include a series of standard (French and Italian) sizes for Women, Men, Girls and Boys given by these authors.

Why ?

I developped OpenPattern to draft bespoke patterns for my family. I wanted a programmable, reusable, and scalable way of doing things as I rapidly get fed up with trying to precisely position points and curves on a figure using classical GUI base drawing softwares.

In the end the results look like This

#############################
# Draw a Bespoke Culotte
# (Jupe culotte in French)
# for Sophie
# style from Donnano
#############################
import OpenPattern as OP
import matplotlib.pyplot as plt

p = OP.Culotte(
    pname="sophie",
    style="Donnanno",
    ease=1,
    figPATH="../samplePatterns/",
    frmt="svg",
)
p.draw(save=True, fname="culotte")
plt.show()
_images/Donnanno_culotte_sophie_FullSize.svg

If you like the result then give it a try :=)

Content

Indices and tables