← All bug reports

FS#1468Custom patterns are not selectable from qcad

Type
Bug
Status
Closed
Resolution
Not a bug
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.15.5
Operating system
Mac OS X El Capitan (10.11)
Reported
2016-09-01 by samentek.com.au
Closed
2016-09-06 by andrew

Hi,

I added a new custom pattern into patterns/metric folder
However, even after restarting QCAD, new pattern is not showing in hatch dialog.

Comments (3)

andrew 2016-09-01

Please attach both the drawing file (.DXF or .DWG) and the pattern file (.PAT).
Your drawing might not use metric resources or there might be an issue with your pattern file.
Thanks.

samentek.com.au 2016-09-05

I have attached the test file. As you will see the drawing is in metric.
The pat file is stored in
/Applications/QCAD.app/Contents/Resources/patterns/metric
Just in case, I have also copied in imperial folder but the result is the same
cheers,
sam

andrew 2016-09-06

Thanks.

The pattern file contains an unexpected control character on the last line (0x1A, Substitute). If you delete that last line, it will load correctly (see attached).

Closure comment

Caused by an error in the pattern file.