Fill Patterns

From Real World Revit
Jump to navigation Jump to search

Manage > [Settings] > Additional Settings > Fill Patterns

WARNING: Use caution when creating Fill Patterns with all-lowercase names (see bug below).

See also pyRevit: Make Pattern.

IMPORTANT: Except when used for Filled Regions, there is no way to specify the Line Weight for a specific Fill Pattern (LW:1 is used for most, LW:2? for ceilings, other exceptions?). A possible WORKAROUND may be to specify "dots" as tiny polygons instead, thicken lines by creating multiple (close) parallel lines, etc. (essentially increasing LW within the pattern definition). [TODO: check]

Revit used to "expand" dots into short lines... it doesn't seem to do this anymore. When did it stop? It also seems like the behavior (the expansion) occurred when the pattern was first imported (NOT a render behavior), so old patterns still show the "expanded" dots, while new patterns do not. [TODO: verify this & try to determine when it changed?] [TODO: if verified, submit a support request to change the .pat file documentation (in several places). Also, fix the typo in "C:\Program Files\Autodesk\Revit 2018\Data\revit.pat" (and probably others): "(using peroid as the decimal separator)"]

[TODO: determine the minimum line length]

NOTE: Model Patterns can be aligned (to change their origin), but Drafting Patterns cannot.

CAUTION (in R2017, not R2018): The "New Pattern" dialog sometimes remembers the last "Import scale" (within the session? if you don't change the *.pat file) [TODO: determine]

R2018+: much improved display order in "New Pattern" dialog (but could be better [pre-R2020: lowercase sorts below ALL uppercase], and tabs still odd - see #TODOs); has search for "Custom" (might be useful for huge *.pat files, but I'd just prefer larger list display for easier scrolling)

R2019+?: Some settings (such as Materials and Filled Regions, but not Walls' Coarse Scale Fill Patterns) allow for separate Foreground and Background patterns. When upgrading, the previous single pattern becomes "Foreground".

OOTB

"C:\Program Files\Autodesk\Revit 2018\Data\revit.pat" & "revit metric.pat"

"C:\Program Files\Autodesk\Revit 2018\ACADInterop\acdb.pat" & "acdbiso.pat" (some same as revit.pat; formatting like AutoCAD)

old location?: "c:\program files\autodesk revit building 9\data\"

AutoCAD: C:\Users\<user>\AppData\Roaming\Autodesk\AutoCAD <version>\Rxx.x\<language>\Support\

from C:\Users\lionel\AppData\Roaming\Autodesk\AutoCAD 2020\R23.1\enu\support\acad.pat:
*ANSI32, ANSI Steel
45, 0,0, 0,.375
45, .176776695,0, 0,.375

*ANSI34, ANSI Plastic, Rubber
45, 0,0, 0,.75
45, .176776695,0, 0,.75
45, .353553391,0, 0,.75
45, .530330086,0, 0,.75


*AR-B816, 8x16 Block elevation stretcher bond
0,       0,0,      0,8
90,      0,0,      8,8,                          8,-8

*AR-CONC, Random dot and stone pattern
50,      0,0,      4.12975034,-5.89789472,       0.75,-8.25
355,     0,0,     -2.03781207,7.37236840,        0.60,-6.6
100.45144446,0.59771681,-0.05229344,5.7305871,-6.9397673,0.63740192,-7.01142112
46.1842, 0,2,      6.19462554,-8.84684596,       1.125,-12.375
96.63563549,.88936745,1.86206693,8.59588239,-10.40964966,0.95610342,-10.5171376
351.18416399,0,2,  7.74327494,11.05855746,       0.9,-9.90000001
21,      1,1.5,    4.12975034,-5.89789472,       0.75,-8.25
326,     1,1.5,   -2.03781207,7.37236840,        0.60,-6.6
71.45144474, 1.49742254,1.16448426, 5.7305871,-6.9397673, 0.6374019,-7.01142112
37.5,    0,0,      2.123,2.567,                  0,-6.52,0,-6.7,0,-6.625
7.5,     0,0,      3.123,3.567,                  0,-3.82,0,-6.37,0,-2.525
-32.5,  -2.23,0,   4.6234,2.678,                 0,-2.5,0,-7.8,0,-10.35
-42.5,  -3.23,0,   3.6234,4.678,                 0,-3.25,0,-5.18,0,-7.35

*AR-SAND, Random dot pattern
37.5,   0,0,       1.123,1.567,                  0,-1.52,0,-1.7,0,-1.625
7.5,    0,0,       2.123,2.567,                  0,-.82,0,-1.37,0,-.525
-32.5, -1.23,0,    2.6234,1.678,                 0,-.5,0,-1.8,0,-2.35
-42.5, -1.23,0,    1.6234,2.678,                 0,-.25,0,-1.18,0,-1.35

*EARTH, Earth or ground (subterranean)
0, 0,0, .25,.25, .25,-.25
0, 0,.09375, .25,.25, .25,-.25
0, 0,.1875, .25,.25, .25,-.25
90, .03125,.21875, .25,.25, .25,-.25
90, .125,.21875, .25,.25, .25,-.25
90, .21875,.21875, .25,.25, .25,-.25


*LINE, Parallel horizontal lines
0, 0,0, 0,.125

*NET, Horizontal / vertical grid
0, 0,0, 0,.125
90, 0,0, 0,.125

*SACNCR, Concrete
45, 0,0, 0,.09375
45, .066291261,0, 0,.09375, 0,-.09375

to check:

from: http://forums.augi.com/showthread.php?42562-FILL-PATTERN-FILE-LOCATION

"C:\Users\username\AppData\Roaming\Autodesk\ACA 2012\enu\Support\pats\General_Texture.pat"

Gypsum-Plaster.pat on http://www.ryhane.tk/:

*Gypsum-Plaster, Gypsum-Plaster
;%TYPE=DRAFTING
0, 0.040,0.020, 0.01,1, 0.01,-1
10, 0.360,0.040, 0.01,1, 0.01,-1
20, 0.180,0.260, 0.01,1, 0.01,-1
30, 0.400,0.420, 0.01,1, 0.01,-1
40, 0.140,0.480, 0.01,1, 0.01,-1
50, 0.220,0.720, 0.01,1, 0.01,-1
60, 0.080,0.900, 0.01,1, 0.01,-1
70, 0.400,0.880, 0.01,1, 0.01,-1
80, 0.640,0.920, 0.01,1, 0.01,-1
90, 0.760,0.680, 0.01,1, 0.01,-1
100, 0.960,0.660, 0.01,1, 0.01,-1
110, 0.960,0.300, 0.01,1, 0.01,-1
120, 0.780,0.180, 0.01,1, 0.01,-1
130, 0.500,0.240, 0.01,1, 0.01,-1
140, 0.680,0.420, 0.01,1, 0.01,-1
150, 0.500,0.600, 0.01,1, 0.01,-1
1600, 0.920,0.040, 0.01,1, 0.01,-1

from revit.pat:

*Earth,  Earth (cut)
;%TYPE=DRAFTING
0,             0,             0,             0.25,          0.25,          0.25,          -0.25
0,             0,             0.09375,       0.25,          0.25,          0.25,          -0.25
0,             0,             0.1875,        0.25,          0.25,          0.25,          -0.25
90,            0.03125,       0.21875,       0.25,          0.25,          0.25,          -0.25
90,            0.125,         0.21875,       0.25,          0.25,          0.25,          -0.25
90,            0.21875,       0.21875,       0.25,          0.25,          0.25,          -0.25
*Wood_2,  Wood: Pattern 2
;%TYPE=DRAFTING
108.4349,      0.043316,      0,             0.3687848,     0.05268358,    0.0632202,     -0.4636151
139.3987,      0.023324,      0.059976,      1.301062,      0.01807027,    0.03071954,    -1.505257
136.8476,      0.1666,        0.079968,      3.418338,      0.007596294,   0.07307642,    -3.580747
109.9831,      0.113288,      0.129948,      1.42336,       0.01423364,    0.03900006,    -1.911003
90,            0.09996,       0,             0.1666,        0.1666,        0.03332,       -0.13328
118.4429,      0.09996,       0.03332,       -2.459812,     0.006103724,   0.09094594,    -4.456349
84.2894,       0.056644,      0.113288,      -1.508536,     0.01657737,    0.03348627,    -1.640823
129.8056,      0.059976,      0.146608,      -1.066547,     0.02133096,    0.02602375,    -1.275164

Pattern Type: Drafting

Name Orientation in Host Layers[1] [2] Line angle Line spacing

1

Line spacing

2

[3] Comments
Aluminum Orient To View Custom
Concrete Orient To View Custom
Crosshatch Orient To View Simple 0.000° 1/8" 1/8" Crosshatch
Crosshatch-small Orient To View Simple 0.000° 1/16" 1/16" Crosshatch
Diagonal crosshatch Orient To View Simple 45.000° 15/128" 15/128" Crosshatch
Diagonal crosshatch-small Orient To View Simple 45.000° 1/16" 1/16" Crosshatch
Diagonal down Orient To View Simple 135.000° 1/8" Parallel lines
Diagonal down-small Orient To View Simple 135.000° 1/16" Parallel lines
Diagonal up Orient To View Simple 45.000° 1/8" Parallel lines
Diagonal up-small Orient To View Simple 45.000° 1/16" Parallel lines
Earth Orient To View Custom
Gypsum-Plaster Orient To View Custom
Horizontal Orient To View Simple 0.000° 1/8" Parallel lines
Horizontal-small Orient To View Simple 0.000° 1/16" Parallel lines
Insulation - Rigid Orient To View Simple 0.000° 3/32" 3/32" Crosshatch
Masonry - Brick Orient To View Simple 45.000° 1/8" Parallel lines
Masonry - Concrete  Block Orient To View Simple 45.000° 1/8" 1/8" Crosshatch
Plastic Orient To View Custom
Plywood Orient To View Custom
Sand Orient To View Custom
Sand - Dense Orient To View Custom
Shingle Orient To View Custom
Solid fill
Steel Orient To View Custom
Vertical Orient To View Simple 90.000° 1/8" Parallel lines
Vertical-small Orient To View Simple 90.000° 1/16" Parallel lines
Wood - Finish Orient To View Simple 45.000° 3/32" Parallel lines
Wood 1 Orient To View Custom
Wood 2 Orient To View Custom
Wood 3 Orient To View Custom

Pattern Type: Model

Name [2] [3] Line angle Line spacing

1

Line spacing

2

Comments

KAI

See also revitKAI.pat

OOTB with some ACAD imports (& others)[4]:

...

Pattern Type: Drafting

Name [2] [3] Line angle Line spacing

1

Line spacing

2

Orientation in Host Layers[1] Comments
Base course Basic Parallel lines 90.000° 3/32" Orient To View
Bedrock Custom Earth; Import scale: 1.00

Sitework_Earth_C; Import scale: 0.50

Orient To View
CMU-cut Basic Crosshatch 45.000° 3/16" 3/16" Orient To View CMU cut in sections (not plans)
CMU-cut (partial height) Basic Parallel lines 45.000° 3/16" Orient To View partial-height CMU cut in sections (not plans)
Concrete-075 Custom Concrete; Import scale: 0.75 Orient To View TODO: verify
Diag. down 1/2" at 1/4" = 1'-0" (1/96") Basic Parallel lines 135.00° 1/96"[5] Orient To View for Glulam-Western Species.rfa
Diag. down 1/2" at 1/8" = 1'-0" (1/192") Basic Parallel lines 135.00° 1/192"[6] Orient To View
Diag. down 1/2" at 3/16" = 1'-0" (1/128") Basic Parallel lines 135.00° 1/128" Orient To View
Diag. down 1/2" at 3/4" = 1'-0" (1/32") Basic Parallel lines 135.00° 1/32" Orient To View
Diag. up 1/2" at 1/4" = 1'-0" (1/96") Basic Parallel lines 45.00° 1/96"[5] Orient To View
Diag. up 1/2" at 1/8" = 1'-0" (1/192") Basic Parallel lines 45.00° 1/192"[6] Orient To View
Diag. up 1/2" at 3/16" = 1'-0" (1/128") Basic Parallel lines 45.00° 1/128" Orient To View
Diag. up 1/2" at 3/4" = 1'-0" (1/32") Basic Parallel lines 45.00° 1/32" Orient To View
Earth-KAI Custom Earth-KAI; Import scale: 1.00 Align with element TODO: verify
Earth-KAI-05 Custom Earth-KAI; Import scale: 0.50 Orient To View TODO: verify
Horizontal-Xsmall Basic Parallel lines 0.000° 1/32" Orient To View
Plywood-KAI Custom Plywood-KAI; Import scale: 1.00 Align with element TODO: verify
Plywood-KAI-4in12dn Custom Plywood-KAI-4in12dn; Import scale: 1.00 Orient To View TODO: verify
Plywood-KAI-4in12up Custom Plywood-KAI-4in12up; Import scale: 1.00 Orient To View TODO: verify
riprap Custom riprap; Import scale: 1.00 Align with element
riprap-05 Custom riprap; Import scale: 0.50 Align with element
SACNCR[7] Custom SACNCR; Import scale: 1.00 Orient To View see [7]
SACNCR-15 Custom SACNCR; Import scale: 1.50 Orient To View see [7]
Sand - Denser Custom Sand - Denser [TODO] Orient To View used by LSL (Timberstrand) Material and Detail Component
Shingle - Dense Custom Shingle; Import scale: 0.50 Orient To View used by "Wood - Sheathing - TECTUM" Material
Step Symbol Fill (horiz, down) [TODO] used by corresponding Filled Region types for custom in-place step symbols to match Slab Step-KAI.rfa (make 1' deep at 1/8"=1') [created for #4030 -LJC 5/6/19] [TODO: 3 others]
Step Symbol Fill (horiz, up) [TODO]
Step Symbol Fill (vert, down) [TODO] Basic Parallel lines -33.43° 9/256" Orient To View
Step Symbol Fill (vert, up) [TODO]
Vertical-smallest Basic Parallel lines 90.000° 1/64" Orient To View used by LVL (Microllam) Material and Detail Component
WOOD1-DRAFTING Custom WOOD1-DRAFTING; Import scale: 0.0625 Orient To View used by PSL (Parallam) Material and Detail Component
Wood 2 (x0.4) Custom Wood_2; Import scale: 0.4 Orient To View used by "Softwood, Lumber - TJI Flange" Material in Wood I Joist.rfa (renamed "Wood - Dimensional Lumber - TJI" in Plywood Web Joist.rfa) and Wood I Joist-KAI-Section.rfa

NOTE: lowercase ("riprap...") sorts to the bottom of the Fill Patterns dialog

Pattern Type: Model

Name [2] [3] Line angle Line spacing

1

Line spacing

2

Comments
Diagonal down 1/2" Basic Parallel lines 135.00° 1/2" for Glulam-Western Species-Section.rfa
Diagonal up 1/2" Basic Parallel lines 45.00° 1/2"
Glulam-KAI Custom Glulam-KAI; Import scale: 1.00
Steel-KAI Custom Steel-KAI; Import scale: 1.00

Ideas

TODOs

  • "Name" should be at the top of the "New Pattern" dialog (instead of buried in the middle); tab order is odd ("Name" box behaves as if right above "OK" button [R2017] or all "Settings" come after "Cancel button [R2018] - but at least the display order is much better now, but maybe "Name" should be on bottom due to "Custom" reset behavior); R2018+: forget search - just need longer list for custom

Add-Ins

Pattycake (free, $4/mo, $5/mo; Open Source?)

Web-based (not an add-in); Free version looks like it has all needed features... and can download .pat files - who needs to "collaborate" on .pat file creation anyway?

pyRevit (free; open source)

pyRevit blog

can export existing patterns, create new pattern from drawn elements, convert between drafting/model patterns, merge drawn elements w/ existing pattern, etc.

HatchKit Add-In for Revit (free; some tools like rotating hatches) and HatchKit (trial; $90 Individual: fixed, 3 installs; $299 Professional: portable, vol. disc., prohibits sale; $899 Publisher, can sell; $etc.: Server...; creating hatches; includes Add-In for Revit)

https://apps.autodesk.com/RVT/en/List/Search?isAppSearch=True&searchboxstore=RVT&facet=&collection=&sort=&query=HatchKit

http://www.hatchkit.com.au/

Note: any patterns built with the HatchKit Demonstration Version are modified to contain the word "HatchKit" but licensed versions do not watermark patterns. Free/demo version limitations:

  • are watermarked
  • are limited in size
  • may omit pattern portions

hatch22 (2017: $60/1, $574/site; 2016: $52/1, $500/site)

https://apps.autodesk.com/RVT/en/List/Search?isAppSearch=True&searchboxstore=RVT&facet=&collection=&sort=&query=hatch22

http://mertens3d.com/tools/tools.php

https://gregorymertens.com/

Bugs

BUG - no warning if Fill Pattern name is all lowercase [Fixed R2020+]

2017-09-07 9:20am (HST): Case ID: 13361072

"Pattern with this name already exists." warning is NOT displayed when editing/creating Fill Patterns with all lowercase names. In the Screencast below I show how creating a new pattern doesn't get the warning, but the same thing happens when renaming existing patterns. If I rename "Vertical" to "riprap" (which already exists), for example, it will simply disappear (the existing pattern appears to remain). [2024-02-21 status: still in R2018.3 and R2019.2.5, but appears fixed in R2020+ (checked R2020.2.7 & R2023.1) - probably fixed the same time they changed lower-case names to sort normally (instead of below all others)]

http://autode.sk/2xdzR9T

Notes

  1. 1.0 1.1 "Orient To View", "Keep Readable", "Align with element"
  2. 2.0 2.1 2.2 2.3 "Simple" [pre-2018] / "Basic" [2018+] or "Custom"
  3. 3.0 3.1 3.2 3.3 if Simple/Basic: "Parallel lines" or "Crosshatch" (enables "Line spacing 2") otherwise pattern and "Import scale"
  4. 2018-01-08 LJC: added all remaining Drafting patterns (except "Sand - Denser") to R2017.0033. and R2018.0020.; was R2017.0022. (2017-09-06c) [some for Walls] and R2018.0009.(2017-09-06c) [some for Walls]; (had "CMU-cut", "Earth-KAI", "riprap", "riprap-05", "SACNCR", and "SACNCR-15")
  5. 5.0 5.1 1/96" shows as 3/256"
  6. 6.0 6.1 1/192" shows as 1/256"
  7. 7.0 7.1 7.2 the comment in revitKAI.pat says this should be scaled 1.5 (see SACNCR-15), but we also appear to use the "regular" one... [TODO: determine proper scale, and if we really need both] [TODO: compare line spacing to CMU patterns - maybe that's why we still have 2 (to differentiate precast from CMU)?] NOTE: there are also two alternates to SACNCR in revitKAI.pat: 45cw & 45ccw.