Looking at
chevron01.pat - chevron03.pat there is something wrong with how these patterns are coded
e.g.
chevron02.pat:
Code: Select all
90,2,0,0,4,0,0
90,0,0,0,4,0,0
Both patterned lines are oriented vertical upwards.
The first its pattern starts at (2.0, 0.0), for the second that is (0.0, 0.0).
The patterned lines start positions are repeated every {±0.0 units along the line, ±4.0 units perpendicular to the line}.
So far, so good.
About the pattern of each line, the sixth value and those that follow:
Literally: A dot followed by yet another dot at zero distance apart and that repeated endlessly every zero units along the line.
Essentially this would mean an endless amount of dots on the same position what is a major flaw.
Using QCAD under Windows these are represented by vertical endless lines every 2 units in X.

The crosshairs we see in the screenshot do not appear to be QCAD native.
The complete pattern length to repeat is the sum of the absolute of values #6 - #17 for a maximum of 12 dashes.
These pattern definitions are probably converted by QCAD to XLines because the complete pattern length is zero.
No defined pattern reverts to a not patterned line.
A vertical line every 2 units in X should be coded without dashes as:
Or as 2 entries but that doubles the work load:
A dot is a zero for no length, a dash is a positive value and a space is a negative value.
For repeating dots along the patterned line a zero dash must be followed by the space between them.
e.g. A horizontal line every 2 units in Y with 4 dots per unit along the line:
e.g. A horizontal line every 4 units in Y with a dot every 4 units along the line:
For 'chervron my try', probably
chevrontest.pat, it seems to render 1 line alternating every 4 intended.
Code: Select all
90,2,0,0,4,0,0
90,0,0,0,4,0,0
270,0,4,0,4,0,0 ; ==2
0,0,0,0,4,0,-4 ; Horizontal dotted lines
270,4,4,0,4,0,0 ; ==3
0,4,0,0,4,0,-4 ; Horizontal dotted lines ==4
Or 2 stacked out of 4, my guess is on those that are defined as downwards.
Probably where QCAD renders 3 stacked lines of all 4 XLines, 2 down and 2 upwards.
The dots are also 2 stacked dots each.
Such a pattern definition together with the 10 slanted definitions may slow down the rendering.
For this pattern I can't replicate the missing link in the top left corner.
Why not simple
while it can be (over-)complicated ...
This pattern can be broadly simplified to 3 definition lines and there is room to spare for a higher accuracy:
Code: Select all
90,0,0,0,2
45,0,0,.7071067811865475,.7071067811865475,2.828427,-2.82842724949238
315,2,2,-.7071067811865475,.7071067811865475,2.828427,-2.82842724949238
Just add the repeated (singular) dots where you want them to occur, ideally on a horizontal definition as described above.
BTW: It doesn't serve anything to create the same pattern in a different scale ... A hatch can be created at any uniform scale.
Not all hatch patterns with slanted lines can easily be scaled non-uniform.
For this reason BPM is limited to certain strict ratios by developer choice.
Regards,
CVH