KnitML Pattern Editor 0.4.0 released 
In this release, the chart support is vastly improved. The editor now properly renders multi-cell operations (e.g., cables), supports group operations (e.g., yo 9 as one cell in a chart), and now supports the StitchMastery symbol set (as well as continuing to support Aire River and Knitters Symbols).

I added a welcome screen with an overview and guides to creating patterns, as well as more examples and demonstrations using the new language. I moved some of the rendering menus around to make preference changes a little easier (I hope).

I also added multi-decrease support as well as some internal stuff which will enable importing stitch libraries from external sources.

[ add comment ] ( 9 views )   |  [ 0 trackbacks ]   |  permalink
New Pattern Editor Milestone Released 
You can access the latest download here. I fixed a couple of issues related to Java settings. If you were using Java 5 to run the editor (particularly on Mac OS X Tiger), you probably noticed that the editor wouldn't come up properly. Sorry about that! That's now been fixed.

Important Note: I made two significant changes to the KnitML schemas in this release that might affect you.

The first was that I broke up the two schema files (pattern-0.6.xsd and pattern-header-types-0.6.xsd) into three schema files with separate namespaces (pattern-0.6.xsd, operations-0.6.xsd, common-0.6.xsd). If you are using the KEL syntax (or the new KEL2 syntax in the 0.3.0 editor), you do not need to change anything. If you are using the raw XML syntax for development, take a look at the schema files to see what moved into which namespaces. Essentially, pattern structure elements moved into the pattern namespace (pattern, header and sub-elements, instruction-definitions, directions, section, instruction-group), needle yarn and stitch holder definitions moved into the common namespace, and everything else moved into the operations namespace. All this was done in preparation for imports of instruction libraries (i.e., for integration with other software which may only be producing charts, not full patterns).

The second change was to how needles and yarns are defined in the header. If you are using the new KEL2 syntax in the 0.3.0 editor (your file name ends with .kel2), you do not need to change anything. If you are using the older KEL syntax (your file name ends with .kel), you now need to group yarns by yarn type and needles by needle type.

Here is a sample of the KEL syntax you need to use:

Supplies {
YarnTypes {
YarnType 'lornas-1' [brand:"Lorna's Laces",category:"Shepherd Sock",weight:"fingering"] {
BallWeight: 50 g
Yarns {
Yarn 'main-color' withKey {
TotalLength: 430 yd
TotalWeight: 100 g
Color "Mixed Berries" [number:38]
NeedleTypes {
NeedleType 'size1circ' circ [brand:"Knitpicks"] {
Length: 24 inches
Size: US 1
Needles {
Needle 'needle1' withKey
Needle 'needle2' withKey

Notice how they're grouped together now under their type. You no longer need the typeref attribute as a result. Also note that YarnTypes and NeedleTypes are the new names for Yarns and Needles. Make sure you change the name of that, else the parser will get confused.

[ add comment ] ( 10 views )   |  [ 0 trackbacks ]   |  permalink
Quick and dirty tutorial for the new editor 
I've created a very basic tutorial for using the new editor and navigating around the new syntax.

I'd love help adding to this document. It's a Wiki page on Google Code, so all you need is a Google account and interest in helping out. Please let me know!

[ 3 comments ] ( 53 views )   |  [ 0 trackbacks ]   |  permalink
Pattern Editor 0.3.0 (milestone 1) released 
Download the newest editor here. And let me know what you think!

[ 1 comment ] ( 25 views )   |  [ 0 trackbacks ]   |  permalink
Here is the latest 
So this code in KEL:
Pattern 'en' {
Directions {
CastOn 24
Instruction 'stockinette-st' {
Row: k to end
Row: p to end
Repeat 'stockinette-st' until measures 4 in
NextRow: BindOff all sts

becomes this in the new DSL:
Cast on 24 sts

Instruction Stockinette:
Row 1: k to end
Row 2: p to end

Repeat Stockinette for 4 in
Next Row: BO all sts

And, you get a nice editor that provides you with suggestions!

What do you think?

[ 6 comments ] ( 66 views )   |  [ 0 trackbacks ]   |  permalink

<Back | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next> Last>>