Hatch problems

That was a hard one.

Hatches are defined as:

; remarks and blank lines are ignored
*pattern-name[, description] 
angle, x-origin, y-origin, delta-x, delta-y [, dash1, dash2] [, dash3] [, dash4] [, dash5] [, dash6]
angle, ...
...
Empty line

The name start with *, max 31 characters long.
A line is max 80 characters long, max 6 dashes.
Positive dashes define the lenght that is ON.
Negative dashes define the lenght that is OFF.
Zero dashes are dots.

Nothing wrong with the patterns *AR-SAND or *DOTS so far.

Did some hatching in different units and with different scales.
It turns out that dots are always rendered as line pieces 0.02 units long.
An this regardless the unit or the scale.

With the aplied scale of 0.0008 the first dashed line off *AR-SAND becomes:
… 0, -0.0309, 0, -0.0345, 0, -0.0330
Its obvious that the dot spacings are the same magnitude as the rendered dots.
Instead of a dotted line it rather looks like a dashed line.

Workaround:
Included is the metric pattern *AR-SAND2 without dots.
Changed the dots to 0.01 ON what is scaled properly.
Copy the file to …\QCAD\patterns\metric.
Reboot Qcad, change pattern.

Regards,
CVH
ar-sand2.pat (295 Bytes)