Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

pat File - Hexagon

22 REPLIES 22
SOLVED
Reply
Message 1 of 23
redcornpoppy
37076 Views, 22 Replies

pat File - Hexagon

I am trying to create a custom pat file and not having luck. It is a stretched hexagon. I started with a honeycomb pat file that I found on revitforum, but now I need something more accurate. I tried writing my own, but it tells me no pattern found. I  have attached my file so far, as well as an image of my desired shape (custom tile). I don't know why pat files confuse my brain so much.

 

Thanks!

22 REPLIES 22
Message 2 of 23
hugha
in reply to: redcornpoppy

Assuming no gaps, try this:

 

;-------------------------------------------------------------------------------
;        Written by HatchKit Professional
;        HatchKit Professional (c)1990-2016 Cadro Pty Ltd
;        www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date                                   : 2017-05-05
;-Time                                   : 1:41:28 PM
;-HatchKit Version                       : 3.1.9.2674
;-HatchKit Output Filetype               : Revit with HatchKit Add-In
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*honeycomb
;%TYPE=MODEL
39.2894068625,0,0,257.375981862,-1.2664755805,14.213,-341.103760089
0,11,9,25,-9,14,-36
-39.2894068625,0,0,97.940778227,-1.2664755805,14.213,-341.103760089

 

There are only three segments because the template arrangement can be skewed rather than rectangular.

 

hth,

Hugh Adamson

www.hatchkit.com.au

 

 

 

Message 3 of 23
redcornpoppy
in reply to: hugha

Awesome! Thank you so much. Perfect!

Message 4 of 23
Anonymous
in reply to: hugha

Hey! Great pat file. Works like a charm. I tried to recreate it for a symetrical hexagon with 12.5sm side, but I couldn.t figure out how you got the numbers in red, so I couldn't calculate them in my case. Could you help out and explain how to get the needed numbers? Thanks a lot.hexagon.jpgpat file.jpg

Message 5 of 23
hugha
in reply to: Anonymous

The regular hexagon pattern HONEY in ACAD.PAT could do the job for you. 

 

*HONEY, Honeycomb pattern
0, 0,0, .1875,.108253175, .125,-.25
120, 0,0, .1875,.108253175, .125,-.25
60, 0,0, .1875,.108253175, -.25,.125

 

Scale all numbers on each line (apart from the first number - the angle)  to suit.

 

 Hugh

 

Message 6 of 23
Anonymous
in reply to: hugha

It worked. Thanks!

Do you generate them automaticaly and is there a free software that does that from a drawing, or you have to do the calculations yourself?

Message 7 of 23
hugha
in reply to: Anonymous


@Anonymous wrote:

It worked. Thanks!

Do you generate them automaticaly and is there a free software that does that from a drawing, or you have to do the calculations yourself?


Hatchkit automatically generates the pattern from a drawing.

 

You can try that out by running our demonstration version available here.

 

The full version however is not free.

 

 

best,

Hugh

 

 

 

Message 8 of 23
gabrod31
in reply to: redcornpoppy

Can someone make this a hatch? I have figured out everything but the delta x,y for the 30 degree lines, I can't figure out. 

Message 9 of 23
hugha
in reply to: gabrod31

This nested fill uses a 70 deg bevel at either end of a 5.5" x 3" tile. 

 

;-------------------------------------------------------------------------------
; Written by HatchKitCS
; HatchKitCS (c)1990-2016 Cadro Pty Ltd
; www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date : 23/08/2017
;-Time : 5:11:54 PM
;-HatchKitCS Version : 3.1.10.2730
;-HatchKitCS Output Filetype : Revit with HatchKit Add-In
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*Entities,DXF Entity Section
;%TYPE=MODEL
0,0.54596,0,4.9540446486,-1.5,4.4081,-5.4999892972
70.0260904519,0,1.5,319.184266954,0.0445555050545,1.5963,-331.968181597
-70.0260904519,0,1.5,319.184266954,-0.044555505054,1.5963,-331.968181597

 

 

This pattern consists of 3 elements on a skewed arrangement whereas a rectangular arrangement would require 6 elements.

 

hth

 

 

Message 10 of 23
gabrod31
in reply to: hugha

hugha,

Thanks so much. It works perfectly! I just couldn't figure out the x and y offsets. 

Message 11 of 23
JNM2013
in reply to: redcornpoppy

Sorry not getting how you get some of the numbers, can you explain it a little more? I have a tile pattern the designer wants in the file. It is 8" tall x 6" wide but in a hexagon pattern angle is 63.43495.

 

Don't understand how you obtained these values 39.2894068625,0,0,257.375981862,-1.2664755805,14.213,-341.103760089

 

Thanks

Message 12 of 23
hugha
in reply to: JNM2013

Happy to:

 

  1. Open a HatchKit Editor.
  2. Set a 2" grid with GridSnap on
  3. Snap lines from 0,0 to 2,4, then to 4,4, then to 6,0
  4. Set arrangement vectors from 0,0 to 4,4 and from 0,0 to 6,0
  5. Name and Save.

 

Result:

 

;-------------------------------------------------------------------------------
; Written by HatchKitCS
; HatchKitCS (c)1990-2017 Cadro Pty Ltd
; www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date : 16/11/2017
;-Time : 10:40:28 AM
;-HatchKitCS Version : 3.1.10.2730
;-HatchKitCS Output Filetype : Revit with HatchKit Add-In
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*8by6hexTile
*;%TYPE=MODEL
63.434948823,0,0,4.472135955,-1.490711985,3.7268,-11.18031985
0,1.6667,3.3333,-3.xxx-xxxxxxxx,-3.xxx-xxxxxxxx,1.6667,-4.xxx-xxxxxxxx
-63.4349488228,3.3333,3.3333,10.434983895,-1.xxx-xxxxxxxx,3.7268,-11.18031985

 

 

hth,

Hugh

 

 

Message 13 of 23
hugha
in reply to: hugha

The posted pattern is wrong - blaming my new glasses 🙂

 

Try this instead:

 

;-------------------------------------------------------------------------------
; Written by HatchKitCS
; HatchKitCS (c)1990-2016 Cadro Pty Ltd
; www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date : 16/11/2017
;-Time : 12:05:35 PM
;-HatchKitCS Version : 3.1.10.2730
;-HatchKitCS Output Filetype : Revit with HatchKit Add-In
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*8by6hexTile
;%TYPE=MODEL
63.4349488229,0,0,5.366563146,-1.788854382,4.4721,-13.41644382
0,2,4,4,4,2,-6
-63.4349488229,4,4,5.366563146,1.788854382,4.4721,-13.41644382

 

 

 

Message 14 of 23
JNM2013
in reply to: hugha

Thanks, works great. Wish I understood the math better.

 

 

Message 15 of 23
jsanders
in reply to: JNM2013

Hello,

Has anyone got a .pat file for the regular honeycomb pattern ? I've been trying to find it for the past 30 minutes but no luck. I don't understand why it's not implemented in Revit in the first place.

I've tried adding the acad.pat file and other honeycomb.pat files from RevitCity but I ALWAYS get this error message : "IMPOSSIBLE TO FIND PATTERN TYPE MODEL"

 

a65zd4dz.PNG

Please help me thanks.

EDIT : For future reference, this is the text in the pat file that doesn't work :

 

;%UNITS=MM
;%VERSION=3.0

*HONEY, Honeycomb pattern
0, 0, 0, 1.875, 1.0825317547305483084546539634412, 1.25, -2.5
120, 0, 0, 1.875, 1.0825317547305483084546539634412, 1.25, -2.5
60, 0, 0, 1.875, 1.0825317547305483084546539634412, -2.5, 1.25

And the pat files that are found in the solution work for Revit 2019 but I don't want that specific pat file I'm searching for the regular hexagon pattern.

__________________________________________________________________________

ヽ༼ຈل͜ຈ༽ノ Onward still he goes, Yet ne'er looks forward further than his nose ヽ༼ຈل͜ຈ༽ノ
Message 16 of 23
hugha
in reply to: jsanders

try this, what you need to make the pattern recognised as a MODEL pattern is the highlighted line immediately following the pattern name:

 

;-------------------------------------------------------------------------------
;        Written by HatchKit Team Edition
;        HatchKit Team Edition (c)1990-2019 Cadro Pty Ltd
;        www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date                                   : 2019-03-25
;-Time                                   : 17:29:00
;-HatchKit Team Edition Version          : 3.1.11.2776
;-HatchKit Team Edition Output Filetype  : Revit with HatchKit Add-In
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*HONEY,Honeycomb pattern
;%TYPE=MODEL
-60,-0.0625,0.10825,0.1875,0.10825,0.125,-0.25
60,0.125,0.21651,0.1875,0.10825,0.125,-0.25
0,0,0,0.1875,-0.10825,0.125,-0.25

 

hope this helps,

Hugh Adamson

 

 

Message 17 of 23
jose4C42K
in reply to: hugha

Hi! Could you please help with the one attached?

 

Message 18 of 23
hugha
in reply to: jose4C42K

Try this:

;-------------------------------------------------------------------------------
; Written by HatchKit 4 Standard Edition
; HatchKit 4 Standard Edition (c)1990-2021 Cadro Pty Ltd
; www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date : 2021-04-16
;-Time : 02:25:49
;-HatchKit 4 Version : 4.1.1.2998
;-HatchKit 4 Output Filetype : Revit with HatchKit Add-In
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*FlatHex,
;%TYPE=MODEL
0,1.6667,1.6667,8.33333333,1.66666667,6.6667,-10
0,1.6667,-1.6667,8.33333333,1.66666667,6.6667,-10
45,0,0,-9.42809041,2.35702260,2.357,-9.42809041
45,8.3333,-1.6667,-9.42809041,2.35702260,2.357,-9.42809041
135,10,0,-2.35702260,2.35702260,2.357,-9.42809041
135,1.6667,-1.6667,-2.35702260,2.35702260,2.357,-9.42809041

 

 

 

 

 

 

hth,

Hugh Adamson

 

Message 19 of 23
hugha
in reply to: hugha

Or this:

;-------------------------------------------------------------------------------
; Written by HatchKit 4 Standard Edition
; HatchKit 4 Standard Edition (c)1990-2021 Cadro Pty Ltd
; www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date : 2021-04-16
;-Time : 02:25:49
;-HatchKit 4 Version : 4.1.1.2998
;-HatchKit 4 Output Filetype : Revit with HatchKit Add-In
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*FlatHex,
;%TYPE=MODEL
0,1.6667,1.6667,8.33333333,1.66666667,6.6667,-10
45,0,0,-9.42809041,2.35702260,2.357,-9.42809041
135,10,0,-2.35702260,2.35702260,2.357,-9.42809041

which by eliminating elements that overlay halves the pattern "weight".

 

This result cannot be obtained by generators requiring a rectangular arrangement of the pattern template.

 

 

 

 

 

hth,

Hugh Adamson

 

Message 20 of 23
vjimen01
in reply to: hugha

Hello, 

 anyone have a Hexagon pattern the is DASHED. 

Trying to use this pattern for demolition. 

 

-Thanks Val 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report


Autodesk Design & Make Report