Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Revit Custom Hatch Definition

5 ANTWORTEN 5
GELÖST
Antworten
Nachricht 1 von 6
Anonymous
715 Aufrufe, 5 Antworten

Revit Custom Hatch Definition

I'm having trouble defining a custom model hatch pattern for Revit 2017. What am I doing wrong?

Here's what I have:

 

;%UNITS=INCHES
*Slate Roof Tile 1, Slate Roof Tile - 8"x8" - 2"x4" Bevel
;%TYPE=MODEL
090, 0,4, 8,4, 4,-12
000, 2,0, 4,8, 4,-4
116.56505118, 2,0, .89442719,7.15541753, 4.47213596,-4.47213596
63.43494882, 6,0, .89442719,7.15541753, 4.47213596,-4.47213596

Here's how it should look:Here's how it should look - drawn in AutoCAD.Here's how it should look - drawn in AutoCAD.Here's where I'm getting the numbers in the definition.Here's where I'm getting the numbers in the definition.Here's what is showing in Revit with the above definition.Here's what is showing in Revit with the above definition.

 

 

5 ANTWORTEN 5
Nachricht 2 von 6
Sahay_R
als Antwort auf: Anonymous

Try using an add-in. HatchKit is a great one. I hear that PyRevit performs a similar function.

I would also reorganize the lines of data in your pattern - start with the vertical lines, then Angle1, then Angle2, finally finishing with the horizontal lines

Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Nachricht 3 von 6
Anonymous
als Antwort auf: Sahay_R

@Sahay_R

Thanks for the addin suggestion. I plan to use Hatchkit or something similar in the future, but I prefer to understand what the computer is doing behind the scenes before I rely on it. I've corrected one error in my definition which has nearly fixed the pattern, but one of the angled lines is still wrong and I cannot figure out why.

 

 

;%UNITS=INCHES
*Slate Roof Tile 1, Dunbar Roof Tile - 8"x8" - 2"x4" Bevel
;%TYPE=MODEL
090, 0,4, 8,4, 4,-12
63.43494882, 6,0, 5.36656315,7.15541753, 4.47213596,-4.47213596
116.56505118, 2,0, 5.36656315,7.15541753, 4.47213596,-4.47213596
000, 2,0, 4,8, 4,-4

I have changed the x-delta value for lines 2 and 3 to what it should be for the on-axis translation of the pattern from one line to the next. As you can see, the hatch should be symmetrical over the line x=4, but somehow it is not. Why?

 

Angle 1 line is not a mirror of Angle 2 line.Angle 1 line is not a mirror of Angle 2 line.

 

Nachricht 4 von 6
Viveka_CD
als Antwort auf: Anonymous

Hi @Anonymous

 

Can you confirm if you are on the latest build for Revit 2017?

See here for more information.

 

(The 2017.2.3 update has bug fixes w.r.t dwg)

 

Can you also share the Revit file and .pat to test further? I can send you a private upload folder.

 

Regards,

 

 

Nachricht 5 von 6
FAIR59
als Antwort auf: Anonymous

the repetion displacement for the 116 degree line is negative.

;%UNITS=INCHES
*Slate Roof Tile 1, Dunbar Roof Tile - 8"x8" - 2"x4" Bevel
;%TYPE=MODEL
090, 0,4, 8,4, 4,-12
63.43494882, 6,0, 5.36656315,7.15541753, 4.47213596,-4.47213596
116.56505118, 2,0, -5.36656315,7.15541753, 4.47213596,-4.47213596
000, 2,0, 4,8, 4,-4

hatch.PNG

Nachricht 6 von 6
Anonymous
als Antwort auf: FAIR59

Niccccce.

 

Thanks much

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report