Covering a complex curved surface with a flat piece of fabric is not trivial. A more specific example, I was trying to make a seat cushin with a "bullnose" design, which entails taking a long rectangle and bending it into a "U" shape to form the top, bottom, and front; then add sides that are flat U's.
Given shapes carefully drawn on slightly larger pieces of cloth, the effort is to match the edges of the two U's. I'm sure someone with experience would simply chalk that up to "skill", knowing just how to match the edges, how it feels when it's stretched just right, etc.
But what about me, a humble programmer who has trouble even holding a needle?
If I mark the edge of the long piece with dots every 5mm (for example), then do the same along the side "U", then I can simply make sure each stitch hits the corresponding dot on each layer being joined. It's like the difference between impressionistic painting and drafting, and I'm back on "technical" turf.
Making accurate dots on a curve (not a straight line) is not easy, if it's to be accurate enough to be any good.
But a program, though, would find it simple. I can do sin's and cos's, measure off pi/2 inches, or whatever, without being bothered by the physical limitations of a tape measure.
In short, I want to write a Perl script to generate a pattern that I can print out.
It reminds me of when I was much younger, playing around with BASIC on simple computers, amusing myself (as well as learning a lot) by writing programs that drew "black hole" plots, perspective drawings, spirograph-type curves, etc.
Well, Perl doesn't have a PLOT statement, or LINETO, or anything like that built-in (sigh).
What should I use? I suppose a package designed for web graphics plots could work with a large (e.g. 180 dpi) bitmap. Any suggestions on one to use on a Windows system? But, it might be better to use a vector-based system. I heard something about a PDF writer. Is that something I can use to encapsulate vector art? Any vector-drawing things out there than I can then print out?
—John
In reply to Perl and sewing by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |