View Full Version : help with Revit *.pat files
brendan.mac
2006-02-09, 10:17 PM
I am trying to write an infill pattern for a copper tiled roof.
The pattern is specific. I need a 2400mmx 1200mm, with a 600mm offset (opposed to the standard brick bond pattern)
My problem is that when I write out the code, the pattern works except I get 1800mmx 1200mm with a 600mm offset!!!
Frustration city.
Attached is the pat formula I am using...
*plywood sheet 1200x2400, copper sheet 1200x 2400 with 600 offset joint
;%TYPE=MODEL
0, 0, 0, 0, 1200
90, 0, 0, 1200, -600, 1200, -2400
If anyone can see where I'm going wrong, I'd appreciate the feedback.
SkiSouth
2006-02-10, 01:24 AM
is this what you're after?
*plywood sheet 1200x2400, copper sheet 1200x 2400 with 600 offset joint
;%TYPE=MODEL
0, 0, 0, 0, 1200
90, 0, 0, 1200, 2400, 1200, -1200
brendan.mac
2006-02-10, 02:23 AM
Close...
Actually, the pattern I am trying to write comes out like as the attached image. What I am trying to get is similar but longer sheets - 2400x 1200 instead of 1800x 1200.
iru69
2006-02-10, 07:18 AM
*plywood sheet 1200x2400, copper sheet 1200x 2400 with 600 offset joint
;%TYPE=MODEL
0, 0, 0, 0, 1200
90, 0, 0, 0, 2400, 1200, -2400
90, 1800, 1200, 0, 2400, 1200, -2400
90, 3600, 2400, 0, 2400, 1200, -2400
brendan.mac
2006-02-10, 10:00 AM
ta for that.
I'll give it a shot and see what happens...
brendan.mac
2006-02-12, 11:05 PM
*plywood sheet 1200x2400, copper sheet 1200x 2400 with 600 offset joint
;%TYPE=MODEL
0, 0, 0, 0, 1200
90, 0, 0, 0, 2400, 1200, -2400
90, 1800, 1200, 0, 2400, 1200, -2400
90, 3600, 2400, 0, 2400, 1200, -2400
Doesn't work.
I come up with a syntax error when I try to download.
Bugger.
Try this:
;%VERSION=3.0
;%UNITS=MM
*croof600, 1200x2400 with 600 offset
;%TYPE=MODEL
0,0,0,0,1200
90,0, 0, 1200,600, 1200,-3600
HTH,
Guy
Tobie
2006-02-13, 01:27 AM
Still need to get my head around these files. This worked for my 600 x 300 brick bond tile pattern. Does the axis change when you use 90 for the angle.
The y-shift seems to be wrong.
;%UNITS=MM
*600 X 300 TILE BRICK BOND
;%TYPE=MODEL
0,0,0,300,300,300,-0
90,300,0,600,300,300,-300
90,0,300,600,300,300,-300
brendan.mac
2006-02-13, 03:53 AM
This worked a treat!
adding in the 1200 shift and changing the final spacing setting to 3600 amended the errors I was coming up with.
Appreciated greatly.
oes the axis change when you use 90 for the angle.
Yes, the angle creates a local coordinate system. So Brendan's original pattern was very close to being correct.
Guy
Hi everyone!
Maybe You should try nice little program called AutoCAD Hatch Manager. I think it is worth to try.
brendan.mac
2006-02-13, 10:48 PM
AutoCAD's Hatch Manager is fine but there is no substitute to being able to write these things out yourself and understanding what it is you are doing.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.