PDA

View Full Version : Rotating a pattern in a txt file



Henry D
2006-02-23, 04:50 PM
I want to get a double line horizontal pattern, so I figured I could take a board and batten model pattern and rotate it 90 deg. I discovered it's not as easy as changing the 90's in the first line to 0's. Can any one point me in the right direction? I'm going nuts trying to figure this out.

This is what I have:

*Board Batt,
;%TYPE=MODEL
90.000000, 0.280000, 0.000000, 0.000000, 1.000000
90.000000, 0.210000, 0.000000, 0.000000, 1.000000
90.000000, 0.710000, 0.000000, 0.000000, 1.000000
90.000000, 0.780000, 0.000000, 0.000000, 1.000000

Tobie
2006-02-23, 10:10 PM
I have played with this text file not so long ago. I might be wrong, but the 90 change your x and y orientation. Why don't you use the pattern and rotate it in the project you are using it. You can align the pattern with the align tool in a project.

Kirk Bricker
2006-02-23, 10:10 PM
You can rotate model patterns. Use the pattern that you already have and rotate the model pattern in an elevation or a 3D view. Drafting patterns you can not rotate in Revit, only in a .txt file. You can use model patterns for 2D drafting views, and you can also rotate them in a drafting view.

Henry D
2006-02-23, 10:31 PM
Thanks for your replies. Yes the 90 indicates a vertical direction, but the other numbers signify the x and y origins, so it is not as easy as changing the 90's to 0's. I did know you can realign the pattern on the model, but I was hoping I could figure this out so I didn't have to go through and realign the pattern in every wall in a very complicated model. Thanks.

Tobie
2006-02-23, 10:33 PM
When you change the 0 to 90 you have to swop x and y

hugh.69031
2006-02-23, 11:30 PM
The x coordinate doesn't matter for unbroken horizontal lines so line position is determined by their y coordinate and y spacing.

*BOARD BATT
;%TYPE=MODEL
0,0,0.21,0,1
0,0,0.28,0,1
0,0,0.71,0,1
0,0,0.78,0,1
or more simply

*BOARD BATT
;%TYPE=MODEL
0,0,0.21,0,0.5
0,0,0.28,0,0.5

hth
Hugh Adamson
Cadro Pty Ltd
www.cadro.com.au (http://www.cadro.com.au/)

Henry D
2006-02-24, 12:24 PM
Thanks Hugh! I knew some smart person like you would know how to do this.
I was trying to get a pattern I could use for 12" log siding with 2" chinking. Based on your fix I was also able to figure out how to add more lines to fill out the chinking. Attached is a model I am working on showing how the pattern turned out (I'm still working on the house so forgive the some of the unresolved details)