Free Hatch Patterns

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Free Hatch Patterns

Post by John Hyslop » Wed Nov 20, 2019 10:31 pm

Hi All
PLEASE READ
It is good practice to keep the hatch origin near the hatch.
If you go too far away from the Origin, tiles will eventually loose coherence, this is even true
with installed standard hatches eg; AR-CONC.PAT
CVH is looking at some ideas he has, after that is sorted and I have an update on Tile2Hatch
I will redo the tiles that I've temporarily removed for now.

.
If anyone is interested I have a free standalone Basic Hatch Pattern Tool you can download on link below:
It works on Linux ( WINE ) & Windows 2000 - Windows 10 32 & 64bit ,
It can be used to create hatches for QCAD Community & Pro Versions.

Also try Basic Pattern Maker created by Myself and PeteVick, create your own basic hatch patterns.
Basic Hatch Pattern or Basic Pattern Maker which is Windows and Linux Compatible
.
https://qcad.org/rsforum/viewtopic.php? ... =45#p39904 <--- Basic Hatch Tool
BHT.gif
BHT.gif (140.53 KiB) Viewed 10227 times
https://qcad.org/rsforum/viewtopic.php? ... 995#p42607 <--- Basic Pattern Maker
.
BPM-1.4.0.gif
BPM-1.4.0.gif (557.92 KiB) Viewed 10233 times
.

I have removed some of my patterns created by Tile2Hatch Tool, some of my earlier patterns
seem to be ok apart from the QCAD-LOGO that Fails when hatching 100000 , 100000 from zero point
this is not just an error in Tile2Hatch Tool it also seems to happen with AC tool but not as bad eg. 1 line out of place..
Sorry for the inconvenience I've removed some of my patterns and I will replace hopefully soon..
It's mainly effecting patterns that have arcs or circle shapes in them


The Patterns below have now been reinstated see page 4 of this topic
Bubbles-01 ( not included in qcad build )
Bubbles-02 ( not included in qcad build )
Leaf-01 ( not included in qcad build )
Leaf-02 ( not included in qcad build )
Leaf-03 ( not included in qcad build )
QCAD-LOGO ( Included in qcad build )
Squiggle-01 ( Included in qcad build )
Squiggle-02 ( Included in qcad build )
Weaving ( not included in qcad build )

I've Optimised some of my patterns using a Tool Developed by CVH "Tile2Hatch tool © CVH 2020"
I will be posting these on page 3 of this thread, please replace current patterns with these, the
only difference is in some cases file size and other cases reduces the load on the resources and
now line segments are continuous rather than broken between tile patterns..

This is where I'll be posting New Hatch Patterns....
Requests are welcome...
Metric files now included further on in this thread see page 2
Also updated all PAT file header info so it will look as if they haven't been downloaded yet as I had to delete and repost..Enjoy 👌

Cheers
John Hyslop
Attachments
LATTICE-02.pat
(327 Bytes) Downloaded 820 times
LATTICE-03.pat
(471 Bytes) Downloaded 804 times
LATTICE-03.jpg
LATTICE-03.jpg (239.37 KiB) Viewed 33384 times
LATTICE-02.jpg
LATTICE-02.jpg (248.65 KiB) Viewed 33384 times
Last edited by John Hyslop on Sat Nov 11, 2023 6:40 am, edited 44 times in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Wed Nov 20, 2019 10:51 pm

LATTICE-04 [ see angle note on screenshot ] to make it orthogonal..
If you require a more accurate angle the true one is 26.565051deg :-)
Attachments
LATTICE-04.pat
(633 Bytes) Downloaded 796 times
LATTICE-04.jpg
LATTICE-04.jpg (239.56 KiB) Viewed 33384 times
Last edited by John Hyslop on Sun Nov 24, 2019 1:10 am, edited 2 times in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Wed Nov 20, 2019 11:29 pm

HEXAGONS Pattern
this one is different from installed hex.pat
Attachments
HEXAGONS.pat
(789 Bytes) Downloaded 818 times
HEXAGONS.jpg
HEXAGONS.jpg (239.79 KiB) Viewed 33381 times
Last edited by John Hyslop on Sun Nov 24, 2019 1:11 am, edited 1 time in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Thu Nov 21, 2019 12:36 am

[This Pattern Has Been Removed Due to Copyright Concerns]
Last edited by John Hyslop on Fri Nov 22, 2019 12:32 am, edited 2 times in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Thu Nov 21, 2019 1:28 am

QCAD_LOGO
This one is a bit rough as you cannot use arcs or circles in *.pat files
only points and lines...
New Updated Pattern now on Page 4 of this topic
Attachments
QCAD-LOGO.pat
(6.71 KiB) Downloaded 779 times
QCAD-LOGO.jpg
QCAD-LOGO.jpg (248.25 KiB) Viewed 33374 times
Last edited by John Hyslop on Wed Jan 29, 2020 9:49 am, edited 3 times in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Thu Nov 21, 2019 9:02 am

EXPLOSION [ Pattern ]
Attachments
EXPLOSION.pat
(3.91 KiB) Downloaded 781 times
EXPLOSION.jpg
EXPLOSION.jpg (332.98 KiB) Viewed 33349 times
Last edited by John Hyslop on Sun Nov 24, 2019 1:12 am, edited 1 time in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Free Hatch Patterns

Post by Husky » Thu Nov 21, 2019 7:01 pm

Your hatch pattern are crazy e_confused I love it! 8)
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Thu Nov 21, 2019 11:37 pm

Hi Husky
Thanks 😁..I have a few more ideas .for some more..

Cheers
John
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: Free Hatch Patterns

Post by CVH » Fri Nov 22, 2019 12:33 am

John,
Are you doing these by hand or do you use the Autralian tool?
QCAD-LOGO consists of 125 lines... :shock:

But thats nothing compared to YUKONRUBBLE.PAT, 4533 lines. e_surprised
Although, Qcad can't handle that one.
Simply google 'YUKONRUBBLE' or 'yukon rubble hatch pattern'.

This topic started before you proposed making custom hatches.
https://qcad.org/rsforum/viewtopic.php?t=6678

I made this one archaic to test my insight in and knowledge about hatches.
Turned out well.
About 48 lines was more than enough for me. :roll:
Serves nothing as insulation hatches and others can be sourced freely from online.

Can you elaborated why LATTICE-04 is defined slanted at 26.57 degrees?
(The definition is with 26.565051 degrees)

Regards,
CVH

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Fri Nov 22, 2019 3:50 am

Hi CVH

The angle was just an approximation to visually set it orthogonally...and I didn't want to confuse people with too many numbers after decimal place :-)

Andrew is quite happy with me doing these free hatches and is including them in the next release of Qcad Pro and free versions..

I do all the designs by hand and use some tools to convert to lines that need some mods afterwards..
I will update the angle on my post, but really if people are going to explode this and use as entities
they will work out the angle needs to be tweaked a bit :-) Thanks for pointing this out though..

Bye the way I did see the post you refer to, but nobody has followed up and offered free designs that are out of the ordinary compared to the ones you can download, I'm also offering custom ones if people have ideas but obviously when time prevails, I would need to put my business 1st ...

Also elaborating on why I did this this way "at this obscure angle" , have a go at making a seamless version of it orthogonal :-) it's impossible...

FYI I'm attaching a screenshot of how I made this pattern the yellow lines I put there to indicate how the pattern becomes seamless as it is
arrayed horizontally and vertically :shock:

Cheers
John
Attachments
Make Seamless Pattern.jpg
Make Seamless Pattern.jpg (12.91 KiB) Viewed 33262 times
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Fri Nov 22, 2019 5:21 am

[ HOLLY PATTERN ] Just in time for Christmas :-)
Attachments
HOLLY.pat
(10.57 KiB) Downloaded 785 times
Holly Pattern.jpg
Holly Pattern.jpg (274.52 KiB) Viewed 33256 times
Last edited by John Hyslop on Sun Nov 24, 2019 1:13 am, edited 1 time in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Fri Nov 22, 2019 6:34 am

Hi CVH
I think he was looking for something like this.... in that old post
SQUIGGLE - 01 & SQUIGGLE - 02 Hatch Patterns
Can simulate under floor heating coils.....cheated massively on this one, but it does the job :lol:
Can also be used for insulation like the hatch you did..👌
New Updated Patterns now on Page 4 of this topic
Attachments
SQUIGGLE - 02.pat
(7.13 KiB) Downloaded 772 times
SQUIGGLE - 01.pat
(1.67 KiB) Downloaded 814 times
SQUIGGLE - 01 and 02.jpg
SQUIGGLE - 01 and 02.jpg (203.69 KiB) Viewed 33254 times
Last edited by John Hyslop on Wed Jan 29, 2020 9:50 am, edited 3 times in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

CVH
Premier Member
Posts: 3416
Joined: Wed Sep 27, 2017 4:17 pm

Re: Free Hatch Patterns

Post by CVH » Fri Nov 22, 2019 12:27 pm

John Hyslop wrote:
Fri Nov 22, 2019 3:50 am
Andrew is quite happy with me doing these free hatches and is including them in the next release of Qcad Pro and free versions..
I know, did I criticise that? e_confused
Never intended.
John Hyslop wrote:
Fri Nov 22, 2019 3:50 am
but nobody has followed up
I was, the question was 'how to?'
For the example I needed the repetitive nature.
John Hyslop wrote:
Fri Nov 22, 2019 3:50 am
Also elaborating on why I did this this way "at this obscure angle" , have a go at making a seamless version of it orthogonal :-) it's impossible...
Noop, revision included. 8)

Never say to quick something is impossible with computers. :wink:
BTW: added credits and remarks.
Maybe you could include something similar in new ones and revisions.
If you ask Andrew, I think he would be glad to include that too.

From the screenshot is clear we have different approaches.
Your method is more like the old tiles but coded as common patterns.
And now I understand the funny decimal numbers for a pattern with only lines...

Every line segment we see consist in fact of 2 colinear parts.
Many or complex or very fine hatches tend to slow Qcad.
The number of rendered entities counts here.
So there is room for improvement. :wink:

Hopefully the dxf explains enough what I did.
The revision halves the rendering effort.

Qcad has two sets pattern files. Some files are exact clones, some are scaled.
When drawing in Imperial units we only see the Imperial list, with metric only the metric list.
I think its a good idea to create metric counterparts of yours.
For one, because the preview in metric is almost a solid fill. :|
What I do a lot:
As CSV to a spreadsheet, apply corrections, concat to text lines, copy, paste.

And if we didn't say it enough:
Nice work,
blown by the effort needed.

Regards,
CVH
Attachments
LATTICE-04b.pat
(623 Bytes) Downloaded 769 times
LATTICE-4-rev.dxf
(127.51 KiB) Downloaded 756 times

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Sat Nov 23, 2019 12:18 am

Hi CVH

Nice work and well done :-), as you know I don't use this method of creating patterns I use old way " after all I am 57 :-) "
As for the pattern I never intended it to be Orthogonal just put as an after thought to rotate at angle if required..
I like your Orthogonal one I would change its name to LATTICE-04-ORTH and repost here :-), I think if we add revisions it would get messy
and also this is as far as I'm conserned just based on my design and is a new one.. No need to mention my name in these
"although maybe I will add to future ones so at least people know where they came from". :-)
Revisions on drawings I agree 100% needed but through Cad history I haven't seen any AutoDesk Pat files with revisions and
I'm sure there has been many and they just update with the next version Cad release..

Oh and Andrew must have a conversion tool to convert from Imperial to Metric so no need to worry about supplying Imperial only, have a look below from current snapshot version, he has corrected to proper scale for metric. I'd like to get my hands on this :lol:

I also noted at the top of this feed please scale by at least 25 for metric ( or 25.4 if you know what i mean 😛 )

Again nice work on pat file, can we leave this space now for adding Hatch Patterns and use private messaging instead just so people don't
have to read through all our comments to get to the files :-) see image below.... All the Best John
Attachments
New Snapshot Version Hatch.jpg
New Snapshot Version Hatch.jpg (40.13 KiB) Viewed 33198 times
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

John Hyslop
Premier Member
Posts: 473
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Re: Free Hatch Patterns

Post by John Hyslop » Sat Nov 23, 2019 2:30 am

[ MAZE-01 ] Qcad Hatch Pattern
Attachments
MAZE-01.pat
(918 Bytes) Downloaded 605 times
MAZE-01.jpg
MAZE-01.jpg (137.06 KiB) Viewed 33188 times
Last edited by John Hyslop on Sun Nov 24, 2019 1:15 am, edited 1 time in total.
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”