Draft patterns from measurements, not guesswork.

OpenSloper is free, open-source software for drafting sewing patterns: garments and accessories, in fabric, leather, foam board and other materials. Every point is placed by a formula, so change a measurement and every line, curve and piece redraws to fit.

Free and open source: no price, no subscription, no account. Licensed under GPLv3, for Linux, macOS and Windows.

Back_chest_line Back_waist_line Front_chest_line Front_waist_line Centre_back Back_shoulder Back_neck Back_armhole_top Back_armhole_bottom Back_side Back_waist_centre Line_DB1_PB Line_PB_DB2 Back_waist_side Centre_front Front_shoulder Front_neck Front_armhole_top Front_armhole_bottom Front_side Front_waist_centre Line_DF1_BP Line_BP_DF2 Front_waist_side Back, cut 1 on fold Front, cut 1 on fold A B C UB WB D NB SB E XB DB DB1 DB2 PB F FN FC I G UF WF H NF SF XF DF DF1 DF2 BP Ease the back shoulder by 1 cm Bust point
The bodice block from the tutorial, back and front, drawn by OpenSloper from its formulas and a size table.

Built the way pattern makers work

Draft a block, derive styles from it, and keep everything tied back to the measurements, from the first line to the printed pieces.

Formulas, not fixed sizes

Points, lines and curves are placed by formulas that read your measurements and variables, such as a quarter of the waist plus ease.

Draw freely, snap to relationships

Draw on the canvas the way you would in a drawing program. Each snap records how a point was placed, so it keeps its place when measurements change.

Click inside to make a piece

No tracing outlines point by point. Pieces get seam allowances, notches, grainlines, materials and cut counts.

Seams that check themselves

Pair the edges that sew together and their lengths are checked as the pattern changes. Problems are listed in plain words.

Made for more than fabric

Designed from the start for leather, foam board, card and other materials as well as fabric. Clothing, bags, wallets, hats and belts, with circles, arcs, rounded corners and output for cutting machines.

True-scale printing

Tiled PDFs with a test square and matching marks, Greek and Cyrillic text, printer calibration, large-format and projector output, and SVG or DXF-AAMA export.

Size tables and test sizes

Grade a pattern across a whole size table and switch sizes in a click. Test size nudges every measurement up or down to see how the draft grows before you trust it.

Curve paths and offset edges

Smooth armholes, necklines and crotch curves through several points, and edges that follow others at a distance for facings, linings and topstitching.

Copies that follow

Rotate, mirror and move copies of points and edges for dart moves and slash-and-spread. The copies follow their sources when the pattern changes.

Repeats for buttons and pleats

Evenly spaced rows of points for buttons, buttonholes, pleats, tucks and belt loops. The count is a formula too, so the row grows with the pattern.

Notes that do the sums

Put sewing instructions and callouts on the pattern, in the font you choose, bold or italic, embedded when you print to PDF. Notes can hold live values, such as the finished waist, worked out again whenever the pattern changes.

Pieces laid out for printing

Arrange every piece on the pages before you print: drag, turn and flip them, or let Pack pieces fit them onto as few pages as it can. Mirrored copies stay flipped, and warnings flag pieces that overlap or run off the page.

How much material

Give a material its roll width, or the size of a sheet of leather or board, and every piece is checked to fit it. Publish works out how much of each material the layout needs, cut folded or single layer, and can print it in the information block.

See it sewn

The Garment tab shows your pieces as sewn while you draft: darts closed, pieces cut on the fold opened out, and each piece shaded in its material. Export it as SVG or PNG.

Hide, isolate and stack pieces

Pieces drafted over each other stay workable: hide a piece, isolate one to dim everything it doesn't use, or bring it to the front. Every piece still prints.

Lock finished work

Lock a block or piece so it can't be moved, edited or deleted by accident. It can still be selected and built on, and its formulas still follow the measurements.

Four tools, one set of files

Each app does one job. They share plain JSON files, so a pattern made in one opens in the others.

Measure

opensloper-measurements

Record one person's measurements or a whole size table, with a catalogue and body figure. Imports and exports Valentina and Seamly2D files.

Design

opensloper-design

Draft blocks and styles on one canvas, then make the pieces, seams and markings, and see them sewn in the Garment tab. Ask Claude for changes from the side panel.

Publish

opensloper-publish

Lay out pieces from one or more patterns on pages or a roll, see how much material they take, then print at true size or export.

Command line

opensloper-cli

Check and export patterns, manage measurements, and serve the Automation API to scripts, or to Claude as an MCP server.

File formats are documented, with JSON Schemas generated from the code, so you can read and write patterns from your own tools. See File formats.

Learn by drafting

The tutorials build real blocks one step at a time. These drawings come straight from the example files, drawn by opensloper-cli.

  1. Waist_line Hip_line Centre_back Centre_front Hem A B C D E F

    The frame from hip and length

  2. Waist_line Hip_line Centre_back Centre_front Hem Back_hip Front_hip Side_seam A B C D E F G J L M

    The curved side seam

  3. Waist_line Hip_line Centre_back Centre_front Hem Back_hip Front_hip Side_seam Line_C_J Line_J_F Line_P_O Line_O_Q Line_V_R Line_R_W Back_waist_centre Back_waist_side Front_waist_side Front_waist_centre A B C D E F G J L M N P Q O S V W R

    Waist darts

  4. Waist_line Hip_line Centre_back Centre_front Hem Back_hip Front_hip Side_seam Line_C_J Line_J_F Line_P_O Line_O_Q Line_V_R Line_R_W Back_waist_centre Back_waist_side Front_waist_side Front_waist_centre Back, cut 2 mirrored Front, cut 1 on fold A B C D E F G J L M N P Q O S V W R

    Front and back pieces

Tutorials

Example patterns

  • Circle skirtArcs from the waist, a piece cut on the fold, and a buttoned waistband.
  • Tote bagA lined tote sized by variables, with boxed corners, a pocket and straps.
  • Bodice with curve pathsArmholes drafted as single curves, with seams checked for length.

Script a pattern, or ask Claude

opensloper-cli serve works through the same steps as the design window, so names, formulas and undo follow the same rules. A script can draft a family of patterns or test one, and Claude can draft, check and fix a pattern, looking at the draft as a picture to see what it made.

  1. Scripts

    JSON-RPC from any language that reads and writes lines of JSON, or opensloper.py, a Python client with a method for each call.

  2. MCP

    serve is also an MCP server, so Claude Code and Claude Desktop can use every method as a tool.

  3. In the window

    Ask Claude from the Claude tab in the side panel, or let Claude Code connect to the open pattern. Off until you allow it, and every change is one step you can undo.

Read the scripting guide ยท Asking Claude

from opensloper import OpenSloper

with OpenSloper() as sloper:
    sloper.open("gathered-skirt.sloper", size="12")
    sloper.add_variable("fullness", "1.5")
    sloper.add_point("freePoint", name="A", x="0", y="0")
    sloper.add_rectangle("A",
        "@hip_circumference / 2 * #fullness",
        "@waist_to_knee + 4", role="outline")
    sloper.create_piece(50, 50, name="Skirt")
    print(sloper.evaluate()["problems"] or "none")
    sloper.save()

Ask Claude from the design window, in your own words:

Add 2 cm ease at the hip.

Why is point C invalid?

Move the shoulder dart to the side seam.

Free and open source, for good

OpenSloper costs nothing and always will. It's a community project under the GNU GPL v3, so anyone can use it, study how it works, change it and share it.

Free to use

No price, no subscription, no account and no ads. Use it for personal sewing, teaching or a business.

Your patterns stay yours

Patterns and measurements are plain, documented JSON files on your own computer, readable by any tool.

Open code

Every line is on GitHub under the GPL, so the software can never be locked away or taken from you.

Built together

Bug reports, ideas, tutorials and code are all welcome. See how to contribute.

Where it's at

OpenSloper 0.2.0 is an early release, for trying out: features and file formats may still change. See what's new. Download it for Linux (x86_64), macOS (Apple silicon) or Windows (x86_64), unpack it and run the apps; there's no installer yet.

Or build it from source:

git clone --recursive \
  https://github.com/billbsing/opensloper.git
cd opensloper
./build.sh

You'll need Lazarus 4.8 with Free Pascal 3.2.2, and on Linux the Qt Pascal bindings. The getting started guide has the details.

Star the repository to follow along, or open an issue to share ideas and problems. To contribute, read CONTRIBUTING.md.

  • Measurements, formulas and the dependency engineDone
  • Drafting canvas with snapping and transformsDone
  • Pieces, seam allowances, notches and materialsDone
  • Seams and seam-length checksDone
  • Measurements app, Valentina and Seamly2D importDone
  • Accessories: arcs, rounded corners, offset edgesDone
  • Notes and callouts, with fonts embedded in PDFDone
  • Garment tab: pieces as sewnDone
  • Locking, hiding and isolating piecesDone
  • Material sizes, fit checks and material neededDone
  • Scripting with opensloper-cli serve and a Python clientDone
  • Claude over MCP, and in the design windowDone
  • Tiled printing, SVG and DXF-AAMA exportDone
  • Cutting machine outputTesting
  • Downloads for Linux, macOS and WindowsDone
  • InstallersPlanned