Log in
HomeIndex of ArticlesCorsetryCorset patternsComputerized Pattern Generation

Computerized Pattern Generation

icon-smJeremy covers how to use python scripts to create custom corset patterns on your computer with any given measurements.

Register to read more...
Gravatar
dazeoflaur  
  Took one and only computer science class at Cornell - goes to show husband this article as he has more experience. :)  
 
Gravatar
jerwin  
  As the author, I'm willing to answer any questions you might have-- and to fix any bugs that may have crept in. A number of other computer programs besides DraftSight will handle dxf files, among them AutoCAD and Illustrator. Budget limitations prevent me from testing compatibility :)  
Last edited on 09.08.2014 16:04 by Jeremy Erwin
 
Gravatar
kathtea  
  Is it possible for you to add a chart/instructions on where exactly to measure for this generator? I'm trying various things but I feel like I am making mistakes.  
 
Gravatar
kathtea  
  Here are screenshots of my (failed?) attempt:-
http://i.gyazo.com/75f2639900a70237ef52e6da47954c6a.png
http://i.gyazo.com/baf727ab2f2c8d1f9c12fa0ba0a97396.png
http://i.gyazo.com/d19983083aaba75959b7d18d912e7235.png
 
 
Gravatar
ivyrose  
  Sure wish I knew what any of this meant, as it looks very useful!  
 
Gravatar
jerwin  
  ivyrose said :
Sure wish I knew what any of this meant, as it looks very useful!

Well, at the most basic level, if you run my scripts, and enter in custom measurements. you'll get a pattern drafted to your measurements (in DXF format, used by CAD programs). At a more advanced, level, you can take a pattern draft that you've found from original sources, e.g.https://archive.org/details/hecklingersladi e00heck and end up with a program that will do the drafting for you.

 
 
Gravatar
purplepincushion  
  I am really hoping I can figure this stuff out because this would be such a useful way to approach the type of work I do. Thanks for tackling this. I am sure I will be back with questions later.  
 
Gravatar
jerwin  
  You're quite welcome. I'm willing to assist in any way that I can  
Last edited on 10.08.2014 18:59 by Jeremy Erwin
 
Gravatar
kathtea  
  Hello Jeremy! I can't find your comment here but I saw your reply via email, I've fixed the measurements and NOW I managed to get positive results!
Measurements http://i.gyazo.com/93fd2854bcd1c0f4d43d55011ee30423.png
Front http://i.gyazo.com/1aeabb3385bdb2edb0bc6dd0716c0221.png
Back http://i.gyazo.com/79f8f38f083164ca8f7480afad0f4a74.png

Thank you so much for creating this Python script. It would be amazing if you could make more for various corset styles e.g underbusts

Thank you once again!
 
 
Gravatar
kathtea  
  PS: I am even willing to pay for it!  
 
Gravatar
jerwin  
  email me at jeremy_erwin at verizon.net, and we'll talk.  
 
Gravatar
jerwin  
  kathtea said :
Hello Jeremy! I can't find your comment here but I saw your reply via email, I've fixed the measurements and NOW I managed to get positive results!
Measurements http://i.gyazo.com/93fd2854bcd1c0f4d43d55011ee30423.png
Front http://i.gyazo.com/1aeabb3385bdb2edb0bc6dd0716c0221.png
Back http://i.gyazo.com/79f8f38f083164ca8f7480afad0f4a74.png

Thank you so much for creating this Python script. It would be amazing if you could make more for various corset styles e.g underbusts

Thank you once again!


It would probably be easiest if you had drafting instructions for a underbust corset already-- though I suppose that it is possible to reverse engineer a pattern, particularly if several sizes of the same garment are known, together with the wearers measurements.




 
 
Gravatar
jerwin  
  Some of these back and forths are becoming awkward.
I can be reached at
jeremy_erwin at verizon.net

should you have detailed requests, and need comments on dxf files (which you can send as attachments) and the like, or are reluctant to , for instance, post measurements or pictures on a public forum.

I'll try to post summaries of any such communications here.
 
 
Gravatar
cathyhay  
  Thank you Jeremy, I appreciate you being so attentive to questions and comments, I'm sure the readers will have lots as they get to grips with this!  
 
Gravatar
ivyrose  
  Well, I think I've managed to download everything properly, and got to the part where I enter the measurements you gave, and it said that the files were created. Where do I go to find these files now? I'm soooo code/script/tech-illiterate!  
 
Gravatar
jerwin  
  Running the script creates 4 DXF files (in the same directory as the script) that can be opened with various CAD programs. They are named
  • customback.dxf
  • customchemise.dxf
  • customcup.dxf
  • customtailored.dxf

http://www.dropbox.com/s/it5alom4jtoz3gm/DraftSight.png
Try opening them up with a CAD program.
For instance
Enter Measurements in Centimeters
Back Length 38
Armpit Height 21.5
Neck to Nipple Line 21.5
Front Length 40
Half Waist Circumference 42
Half Bust Circumference 68
Half Hip Circumference (12 cm below the waist) 66
Half Hip Circumference (20 cm below the waist) 70
created customtailored.dxf
created customcup.dxf
created customback.dxf
Half the Width of the Back 19.5
Half the Width of the Front 20.5
....

you then can do things such as
  • Hide layers
  • separate the pattern pieces
  • adding a 1.5 cm seam using OFFSET

http://www.dropbox.com/s/jpdclhuffkq976b/draftsight manipulated.png
 
Last edited on 11.08.2014 21:28 by Jeremy Erwin
 
Gravatar
jerwin  
  The urls are screenshots, that should be publicly accessible.
Please do open them.
(I'm still trying to work around certain limitations in the commenting system.)

 
 
Gravatar
ivyrose  
  Silly me. It appears I missed the "download DraftSight" step....  
 
Gravatar
jerwin  
  No problem.

An important tip-- the script does write over any previous files-- so if you modify them, save a copy before running the script again.

The gridlines are spaced 10 cm apart, which may help resolve scaling problems.
 
 
Gravatar
rhoyalgurl22  
  Thanks for sharing, this looks very interesting. I learned a little Python in school, still have my books :-) Going to give this a try and let you know how it turns out for sure!  
 
Gravatar
jerwin  
  Printing Guide-- it's specific to draftsight, and it probably is more specific to the mac than I would have liked.
https://www.dropbox.com/s/4m5sa4yy2tethon/printing guide.pdf
 
 
Gravatar
gwiazda  
  "Once these packages are installed" - give me a clue where I can find how to do this on a Mac? There are instructions for doing this on Windows, but I've been thrashing about trying to get this stuff installed for hours on my Mac as I'm not familiar with Python at all and I'm still nowhere near the object of the exercise. I installed Macports as per Numpy instructions which it seems is not compatible with Homebrew as recommended by the Hitchhiker's Guide, so I uninstalled that and eventually managed to get a version of Python, NumPy and Dxfwrite installed, but with a whole host of scripts for the actual pattern generators I'm really not sure where these need to go or what to do with them. Some clear Mac installation notes would be useful for Python noobs please  
 
Gravatar
jerwin  
  gwiazda said :
so I uninstalled that and eventually managed to get a version of Python, NumPy and Dxfwrite installed, but with a whole host of scripts for the actual pattern generators I'm really not sure where these need to go or what to do with them. Some clear Mac installation notes would be useful for Python noobs please


Hmm. Well, assuming that homebrew installed everything correctly, and dxfwrite is installed, download the scripts and unzip them. On my machine, this unzipped folder is located at ~/Downloads/Corset-python-code/

Open up a terminal (/Applications/Utilities/Terminal)
type
cd ~/Downloads/Corset-python-code/
type
python corsets.py
The script should run, and write out the dxf files in the same folder. Those can be opened with a cad program. If you have problems, you can email me at jeremy_erwin at verizon.net.
Include the actual text of any errors, as well as the results of the commands
which python and python -V
 
 
Gravatar
alvilda  
  I'm a bit late to the party, but I just found this article and it is fabulous. I've had the idea floating around in my head that automated pattern drafting could be done for a while, and you actually did it. AND you explained how the script works so I could do more styles on my own if I wanted to! Awesome stuff.  
 
Gravatar
isara  
  Pretty easy to use! Thanks! Saved me hours of work, but I'm not entirely sure what kind of products the outputs refer to. Are there pictures or sketches or links to what each pattern might look like at the end of the making process?  
 
Sent on behalf of Jeremy...  
  Hello Isara,
Jeremy couldn't respond to your query (a slight technical hitch we're investigating) but asked me to post this response on his behalf:

Hmm.

Have you read these articles?
http://www.foundationsrevealed.com/index-of-articles/corsetry/corsetpatterns/522-1911-corset-pattern-draft
http://www.foundationsrevealed.com/index-of-articles/corsetry/corsetpatterns/523-1911-corset-pattern-draft-part-2

tailored corset front
http://www.foundationsrevealed.com/images/stories/2014/6-June/1911/fig31.jpg

cup pattern
http://www.foundationsrevealed.com/images/stories/2014/6-June/1911/fig57.jpg

bottom half of cupped corset

http://www.foundationsrevealed.com/images/stories/2014/6-June/1911/fig45.jpg

corset back

http://www.foundationsrevealed.com/images/stories/2014/6-June/1911/fig11.jpg

We hope that helps you out a bit!
Best wishes, Pollyanna (Harman Hay web mouse)
 
 
Hide comment form

1000 Characters left


Go to top