Playing with a Custom Hatch Pattern - Need Syntax Help in the .pat file...
Hello guys... Working on tweaks to a custom hatch pattern (wavy lines). I have the shape of the "waves" just the way I want them, but they are spaced too far apart. I cannot adjust using the Hatch Scale, because that also shortens the "wavelength". I guess I can't use the spacing option in Hatch Edit, because I'm not dealing with a crosshatch pattern. So I'm left dealing with the .pat file, and I cannot recall which field determines the lateral spacing as the "wave" repeats itself. I'm embarrassed that I can't remember this, but I'm OLD. Chalk it up to too much fermented barley residue... :Oops:
Here is the .pat that I've got so far:
Code:
*WAVY
0,0,30,0,60,5,-55
14.03624344,5,30,14.5521374,58.2085495,4.1231055,-243.2632294
14.03624344,65,30,14.5521374,58.2085495,4.1231055,-243.2632294
14.03624344,125,30,14.5521374,58.2085495,4.1231055,-243.2632294
14.03624344,185,30,14.5521374,58.2085495,4.1231055,-243.2632294
26.5650501,9,31,26.8328152,53.6656303,2.236068,-131.928009
26.5650501,69,31,26.8328152,53.6656303,2.236068,-131.928009
18.434948,11,32,18.9736652,56.9209976,3.1622777,-186.5743866
18.434948,71,32,18.9736652,56.9209976,3.1622777,-186.5743866
18.434948,131,32,18.9736652,56.9209976,3.1622777,-186.5743866
33.6900673,14,33,33.2820129,49.9230156,3.6055512,-212.7275238
33.6900673,74,33,33.2820129,49.9230156,3.6055512,-212.7275238
33.6900673,134,33,33.2820129,49.9230156,3.6055512,-212.7275238
-33.6900673,43,35,-33.2820129,49.9230156,3.6055512,-212.7275238
-33.6900673,103,35,-33.2820129,49.9230156,3.6055512,-212.7275238
-33.6900673,163,35,-33.2820129,49.9230156,3.6055512,-212.7275238
-18.434948,46,33,-18.9736652,56.9209976,3.1622777,-186.5743866
-18.434948,106,33,-18.9736652,56.9209976,3.1622777,-186.5743866
-18.434948,166,33,-18.9736652,56.9209976,3.1622777,-186.5743866
-26.5650501,49,32,-26.8328152,53.6656303,2.236068,-131.928009
-26.5650501,109,32,-26.8328152,53.6656303,2.236068,-131.928009
-14.03624344,51,31,-14.5521374,58.2085495,4.1231055,-243.2632294
-14.03624344,111,31,-14.5521374,58.2085495,4.1231055,-243.2632294
-14.03624344,171,31,-14.5521374,58.2085495,4.1231055,-243.2632294
-14.03624344,231,31,-14.5521374,58.2085495,4.1231055,-243.2632294
0,55,30,0,60,5,-55
26.5650501,17,35,26.8328152,53.6656303,2.236068,-131.928009
26.5650501,77,35,26.8328152,53.6656303,2.236068,-131.928009
18.434948,19,36,18.9736652,56.9209976,3.1622777,-186.5743866
18.434948,79,36,18.9736652,56.9209976,3.1622777,-186.5743866
18.434948,139,36,18.9736652,56.9209976,3.1622777,-186.5743866
18.434948,22,37,18.9736652,56.9209976,3.1622777,-186.5743866
18.434948,82,37,18.9736652,56.9209976,3.1622777,-186.5743866
18.434948,142,37,18.9736652,56.9209976,3.1622777,-186.5743866
0,25,38,0,60,10,-50
-18.434948,35,38,-18.9736652,56.9209976,3.1622777,-186.5743866
-18.434948,95,38,-18.9736652,56.9209976,3.1622777,-186.5743866
-18.434948,155,38,-18.9736652,56.9209976,3.1622777,-186.5743866
-18.434948,38,37,-18.9736652,56.9209976,3.1622777,-186.5743866
-18.434948,98,37,-18.9736652,56.9209976,3.1622777,-186.5743866
-18.434948,158,37,-18.9736652,56.9209976,3.1622777,-186.5743866
-26.5650501,41,36,-26.8328152,53.6656303,2.236068,-131.928009
-26.5650501,101,36,-26.8328152,53.6656303,2.236068,-131.928009
What needs to change to get the rows closer together?
Thanks in advance!
Re: Playing with a Custom Hatch Pattern - Need Syntax Help in the .pat file...
Descriptions of the numbers in a hatch pattern:
1 - Angle of line, in degrees.
2 - X-coordinate of the line origin.
3 - Y-coordinate of the line origin.
4 - Delta-X, the offset along the length of the line between two adjacent lines. For lines with no dash pattern, this value makes no difference and is usually 0.
5 - Delta-Y, the offset perpendicular to the length of the line between two adjacent lines.
6, 7, etc. - Dash lengths. Positive numbers are "pen down" (drawn dashes); negative numbers are "pen up" (gaps between dashes). May be omitted, for continuous lines.
For "straight line" patterns, reducing the Delta-Y (5th number) would bring the parallel lines generated by one line in the pattern definition closer together. Because your pattern is attempting to approximate wavy (curved) lines, it may not be that simple. You will also have to adjust the pen up distance (7th number) to account for the rows being closer, and depending upon how the various lines currently interact, may also have to adjust the Delta-X value, the pen down number and/or the angle to keep the appearance of wavy lines. (I have not analyzed your specific pattern.)