Category Archives: Python
Working on the next thing . . .
Hi, I suppose it’s time for me to start blogging here a bit about some recent work I’ve been doing for the tmtp project. I’ve been watching Susan work on this project from the beginning, mostly being a cheerleader and … Continue reading
Steampunk Jacket Update
The wiki has been updated with the latest version of the Steampunk Jacket. Â The sleeves and pockets are completed. Â Still working on the collar and lapel. Link here to current code files Â The code has been cleaned up, repetitious code … Continue reading
Steampunk Jacket: Create seam allowance with Inkscapeâ€™s Outset feature
Current code files for Steampunk Jacket are here: http://www.sew-brilliant.org/wiki/index.php?title=Men’s_Steampunk_Jacket_1870-1900 Once the pattern is generated with the extension steampunk_jacket.inx and steampunk_jacket.py: 1.select all points that aren’t corners and set to auto-smooth. Â Set points at the waist line and elbows to symmetrical. … Continue reading
Steampunk Jacket Back and Front Pieces Done
I’ll try to post the file on the wiki soon. Â These two pieces had to be generated from the same file, as they shared several reference lines. Â I need to create patterns for the sleeve, both pockets, the collar, collar … Continue reading
Front Bodice Block done!
I rewrote the programs again, tweaking the curves and re-thinking the algorithm. The latest files are posted at Current Code Files
Finally, some rest for the wickedâ€¦everybody else will have to stay awake
The Back Bodice Block Pattern is done. Must remove reference lines, pretty it up and give it a nice bouncy shine. Commented code as I went along because I remember nothing from day to day. Three months ago I had … Continue reading
Simultaneous solving of equations â€“ who knew it would come to this?
Oh yeah.Â I had a shoulder line with a slope.Â Needed to make aÂ dart perpendicular to shoulder line at the midpoint. Aha!Â Get slope of shoulder line, negate & invert to get perpendicular slope.Â Use midpoint as center point … Continue reading
SVG Quadratic Bezier Curves in Python? I pwned â€˜em
I’ve been struggling with creating bezier curves in an Inkscape SVG drawing from within a custom Inkscape extension written in Python.Â It turns out that it’s the formatting of the element call that was the problem.Â Here’s what worked for … Continue reading
SVG Primer current site
The previous great SVG learning site that I blogged about earlier was out of date in 2009.Â The current version is at the W3 site.Â It’s been there for some time. And it’s still the best I’ve found. Here’s the … Continue reading
Getting to know pySVG library
I found a newly developed library that I think will make creating objects in Inkscape a lot easier: Â pySVG – http://codeboje.de/pysvg/ .Â Just found someÂ great documentation at /usr/share/pySVG/doc/html/genindex.html that provides an index of the api which link to … Continue reading Continue reading