Herringbone Hatch Pattern Generator

Herringbone Hatch Pattern Generator

Kent1Cooper
Consultant Consultant
1,964 Views
3 Replies
Message 1 of 4

Herringbone Hatch Pattern Generator

Kent1Cooper
Consultant
Consultant

There have been various topics asking for herringbone hatch patterns, with different sizes of tiles/bricks/planks.  One asked whether there could be a generic pattern generator for these.  I have come up with one, HerringboneCleanRatioPAT.lsp with its HerrHPG command (attached).

 

You start the command, give it the length and width of the elements, and it makes the .PAT file, but so far, only WHEN THE WIDTH DIVIDES EQUALLY INTO THE LENGTH.  That's very much easier than otherwise, and is what the "CleanRatio" part of the file name means.  It scolds you if you give it sizes that don't divide evenly.  [I'm working on expanding it to work with other ratios, and if/when I get that working, will post it.]

 

The "clean ratio" aspect does not limit it to integer values for the element size.  I've made, for example, 9.9x1.1 and 12.75x4.25 patterns with it.

 

Read the comments at the top of the file.  NOTE that you need to EDIT the filepath/folder location for where you want the file to go.

Kent Cooper, AIA
0 Likes
1,965 Views
3 Replies
Replies (3)
Message 2 of 4

marcodebortoli
Contributor
Contributor

Great stuff Kent!

Any news on the new lisp? I go crazy every time I need to create a custom herringbone hatch and I was hoping you got the solution! Thanks

0 Likes
Message 3 of 4

Kent1Cooper
Consultant
Consultant

I work on that periodically, and have figured out parts of how it needs to work, but not the whole package yet.  But stay tuned.

Kent Cooper, AIA
0 Likes
Message 4 of 4

Sea-Haven
Mentor
Mentor

Very nice, if it must be an integer ratio why ask for second length ? Rather ask 2, 3, 4 as divisor.

 

12.75 / 4.25 =3

 

; (setq wid (getdist "\n and rectangular-element width {lesser dimension}: ")) 
(setq wid (/ len (getint "\nEnter the width ratio 2 3 4 etc ")))

 

0 Likes