I have been asked to create a herringbone hatch pattern using a 5-1/2" X 24" tile. For the life of me I can't get the magic potion on this. I thought this could be created with two lines but I'm squirreling something up. Please oh mighty mages of the cryptic PAT files please help me.
Here is what we are wanting and below that is the code I currently have that ISN'T working.
5-1/2" X 24" herringbone*AR-HBONE-5x24, Herringbone
0, 0,0, 29.5,5.5, 29.5,-5.5
90, 24,0, 29.5,5.5, 29.5, -5.5
Solved! Go to Solution.
Solved by Kent1Cooper. Go to Solution.
Been there, done that. Oooooold schooooool. Get with NEW school and use the SUPERHATCH command for custom hatch patterns. Go to Express Tools tab=>Draw panel=>Super Hatch command.
Create a block for your herringbone pattern. Because your pattern is not symmetrical you'll get visible 'seams' along the edges of your block when you use it as superhatch. To alleviate the seam situation, make the block wider and taller than your biggest area so the block will completely fill whatever it is you're trying to hatch. If your block is either too short or too narrow, then superhatch will create tiles from your block to fill in your hatching boundaries. Making it extra tall and wide will require only one tile because the boundaries will trim the block to fit.
1-Here's the hatch boundaries. The small rectangle is not to be hatched.
2-The super hatch at scale=1. Individual rectangles are 29.5x5.
3-Super hatch again. The scale is now 10.
If the pattern was a circle or even a five pointed star, it would tile nicely. You'd just need one block because super hatch would create tiles until the boundary is filled. Herringbone, though, is a pattern that will show seams. You can even put different parts of your block on different layers then control the individual layer color, linetype and lineweight. During the insertion of the super hatch, you can control basepoint, scale and rotation. Try doing that with a txt file.
Hover on the super hatch icon then hit F1 to get the official Autocad lowdown. There are numerous videos online. Here's one such >>VIDEO<<
Here's the next part of the problem. I am trying to write this hatch in autocad but its going to be imported by another team into Revit. The only way we know to accomplish this is thru a .PAT file.
The "problem" is that 5-1/2 doesn't divide nicely into 24, so the next staggered row of tiles running in the same direction doesn't align with the previous one, which means for each line set, it's quite a long way before the next segment in the same alignment, meaning the negative pen-up number is quite large. And it needs a lot of line-set definitions for the incremental steppings in origin points between sets, to work through until it gets back to the next alignment. Try this:
*H5524,5.5x24 Herringbone
0, 0,0, 5.5,5.5, 29.5,-498.5
90, 5.5,0, 5.5,-5.5, 29.5,-498.5
0, 46,-2, 5.5,5.5, 29.5,-498.5
90, 51.5,-2, 5.5,-5.5, 29.5,-498.5
0, 92,-4, 5.5,5.5, 29.5,-498.5
90, 97.5,-4, 5.5,-5.5, 29.5,-498.5
0, 138,-6, 5.5,5.5, 29.5,-498.5
90, 143.5,-6, 5.5,-5.5, 29.5,-498.5
0, 184,-8, 5.5,5.5, 29.5,-498.5
90, 189.5,-8, 5.5,-5.5, 29.5,-498.5
0, 230,-10, 5.5,5.5, 29.5,-498.5
90, 235.5,-10, 5.5,-5.5, 29.5,-498.5
0, 276,-12, 5.5,5.5, 29.5,-498.5
90, 281.5,-12, 5.5,-5.5, 29.5,-498.5
0, 322,-14, 5.5,5.5, 29.5,-498.5
90, 327.5,-14, 5.5,-5.5, 29.5,-498.5
0, 368,-16, 5.5,5.5, 29.5,-498.5
90, 373.5,-16, 5.5,-5.5, 29.5,-498.5
0, 414,-18, 5.5,5.5, 29.5,-498.5
90, 419.5,-18, 5.5,-5.5, 29.5,-498.5
0, 460,-20, 5.5,5.5, 29.5,-498.5
90, 465.5,-20, 5.5,-5.5, 29.5,-498.5
I input that into the PAT file but after saving and doing the REINIT the pattern shows up in the tool bar with the red slash line and then Autocad locks up.
@bwhisenhunt wrote:
I input that into the PAT file but after saving and doing the REINIT the pattern shows up in the tool bar with the red slash line and then Autocad locks up.
If you put it into its own file [not added into ACAD.pat], does the file name exactly match the pattern name within it?
Does the file end with a hard return, that is, is the last line in the file an empty line [not the last line of code]?
That did it. I changed the name of the pattern and the file and it fixed it. Thank you YET AGAIN for helping with this!
An ungrouted one-on-one herringbone can always be specified with two hatch lines, in this case:
;-------------------------------------------------------------------------------
; Written by HatchKit Team Edition
; HatchKit Team Edition (c)1990-2018 Cadro Pty Ltd
; www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date : 2019-01-19
;-Time : 05:16:25
;-HatchKit Team Edition Version : 3.1.10.2736
;-HatchKit Team Edition Output Filetype : AutoCAD
;-------------------------------------------------------------------------------
*herringbone,LEFT-HAND 24"x5.5" weave=1/1
-90,-24,29.5,384.5,-0.5,29.5,-498.5
180,0,0,384.5,0.5,29.5,-498.5
best,
Hugh Adamson
I had to create a funky herringbone pattern this week that included an accent tile adjacent to the main L-shaped repeating module of the herringbone pattern. It took me a few tries but I was able to get it. I wanted to include the following link in this thread for anybody that wants to truly understand how to write hatch patterns.
https://www.youtube.com/watch?v=bF3GG2vXI9g
Can't find what you're looking for? Ask the community or share your knowledge.