How the make the wave pattern with .pat coding

How the make the wave pattern with .pat coding

Anonymous
Not applicable
1,222 Views
5 Replies
Message 1 of 6

How the make the wave pattern with .pat coding

Anonymous
Not applicable

question.png

 

How to make .pat pattern with code similar to the white line in the drawing?

I don't know what I am wrong, but I only get inclined line with these code.

*butt weld, model

30 , 0 , 0 , 5 , 5 , 5.359 , -63.923

The coding presentation in Revit cannot make me know the rule of pattern coding.

 

Many Thanks

 

0 Likes
Accepted solutions (3)
1,223 Views
5 Replies
Replies (5)
Message 2 of 6

hugha
Collaborator
Collaborator
Accepted solution

Try this

;-------------------------------------------------------------------------------
;        Written by HatchKit Team Edition
;        HatchKit Team Edition (c)1990-2019 Cadro Pty Ltd
;        www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date                                   : 2019-04-23
;-Time                                   : 20:53:43
;-HatchKit Team Edition Version          : 3.1.11.2776
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*buttweld
;%TYPE=MODEL
30.0183674,0,0,640.643946,-0.577243382,5.359,-1034.0639
60.018360,4.641,2.6795,508.550883,-0.9994449,5,-595.33324
90,7.141,7.0096,0,-15,5,-35
119.981639,7.141,12.01,508.550883,0.99944490,5,-595.33324
149.981632,4.641,16.34,640.643946,0.57724338,5,-1034.4229

 

hth,

Hugh Adamson

 

Message 3 of 6

Anonymous
Not applicable

In your answer, Why that there is 

 

-0.022726117, -0.039348224, -0.590551181, 

These shift adjustment?

 

What is the meaning of the shift like:

640.6439 , -0.57724
508.5509 , -0.99944
0 , -15
508.5509 , 0.999445
640.6439 , 0.577243

Why the Y shift in this statement is not 0?

 

You have answered my question, but I want to know the coding method.

 

Many thanks~

 

0 Likes
Message 4 of 6

hugha
Collaborator
Collaborator
Accepted solution

Each X shift is measured parallel to that individual pattern line segment and is the distance that the line segment is shifted along in the next parallel line to that pattern line.

 

Each Y shift is perpendicular to the individual pattern line segment and is therefore the distance between the parallel lines comprising that segment's individual contribution to the overall pattern and cannot be zero as there must be space between these parallel elements to allow the pattern to eventually cover the area filled with parallel lines.

 

Note: comments at the beginning of the standard text file Revit.pat installed by Revit on your system explain the coding method.

 

hth,

Hugh

 

 

 

 

 

0 Likes
Message 5 of 6

Anonymous
Not applicable

Sorry, but may I have a further question here?

Could the hatch be rotated in the building model and the line also rotated accordingly?

 

As these pattern are designed for butt weld and it has to be used on inclined line.

 

Many thanks~

0 Likes
Message 6 of 6

hugha
Collaborator
Collaborator
Accepted solution
0 Likes