Hatch pattern size

Hatch pattern size

Code_x
Advocate Advocate
4,824 Views
17 Replies
Message 1 of 18

Hatch pattern size

Code_x
Advocate
Advocate

Hi, I am trying to get the right distance on a hatch pattern. Attached is the file where its shown as an example. I was trying to edit that scale multiplication it gets somewhere approximate, but 
if someone knows math to make it sharp 8" please let me know. In the file every pattern is 5 feet, and on scale factor its shown as 10.00000, I have no idea what this number means, I need to convert that to be precisely 8 inches. 
If someone knows please share.

0 Likes
Accepted solutions (1)
4,825 Views
17 Replies
Replies (17)
Message 2 of 18

hugha
Collaborator
Collaborator

At a guess use 10 * 8/(5*12) = 1.666666666667

 

0 Likes
Message 3 of 18

dbroad
Mentor
Mentor
Accepted solution

Hugh has the right idea. The scale result should be 1.333... though.  See this screencast for alternate approaches using osnaphatch, properties, and quickcalc.  Also demonstrated is the use of user defined hatch patterns which would be more appropriate in this instance.

 

Architect, Registered NC, VA, SC, & GA.
Message 4 of 18

hugha
Collaborator
Collaborator

<blush>  of course it's 1.33333333 , goes to prove guesses should always be thoroughly checked.

0 Likes
Message 5 of 18

Code_x
Advocate
Advocate

Thank you. Finally someone knows  how it works. 

0 Likes
Message 6 of 18

Anonymous
Not applicable

Thx for your informative video.  However, I do have the double lines to indicate the profile of the 2x6' ceiling joist.  This is a reflected clg plan so I'd like to show the client what this will look like.  How can I accomplish this or should I just use linework, which will be more work, especially if she prefers alternates to what I propose.

0 Likes
Message 7 of 18

hugha
Collaborator
Collaborator

A repetitive arrangement can often be quickly furnished by applying a hatch fill.

Please post a dimensioned sketch showing its layout for comment.

0 Likes
Message 8 of 18

dbroad
Mentor
Mentor

Writing hatch patterns is a very easy task. Should take about 2 minutes to write and test a hatch pattern to show joists at any spacing you want.  See this link for instructions.  The pattern is defined in a text file. Use notepad.

https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Customization...

Architect, Registered NC, VA, SC, & GA.
Message 9 of 18

Anonymous
Not applicable

The attached is what I'm trying to accomplish.

I tried editing my acad.pat file with the following:

 

*AA_CEILIN_GRID, Joist spacing
45, 0,0, 0,9
45, .175,0, 0,9

 

9 being the 9" o/c I need the 2x10

After saving and closing the acad.pat file, I don;t see this pattern in ACAD. I even restarted my session.

0 Likes
Message 10 of 18

hugha
Collaborator
Collaborator

That pattern would hatch at 45 degrees through 0,0 and 0.75,0 repeated at 9 units. spacing.

 

Try saving that text in a file called AA_CEILIN_GRID.pat stored in a directory on your system's  support file path.

 

Look for it on the Custom tab in the hatching dialog.

Message 11 of 18

Anonymous
Not applicable

After following the above, I tried to load it into my drawing from BH_ Custom - comes back to me:

 

Error in Pattern File.

0 Likes
Message 12 of 18

Anonymous
Not applicable

Would make sense that I add the.pat file, my small attempt to get this right!

0 Likes
Message 13 of 18

hugha
Collaborator
Collaborator

Add a blank line to the end of the .pat file.

Message 14 of 18

Anonymous
Not applicable

When u say add a line does this have to have a semi colon or do I just hit enter?

 

Sorry, Im just about done with this. I even tried changing the name of the.pat file with any underscores, now ACAD won;t read the this newly named file.  In the custom window of Hatch it still shows the old name.

 

Arghh!

0 Likes
Message 15 of 18

hugha
Collaborator
Collaborator

No semicolon.

 

Also, the pattern name must exactly match the filename so pattern XXXX should be stored, by itself, in a file called XXXX.pat.

 

 

 

 

Message 16 of 18

Anonymous
Not applicable

Sorted!  Finally.

 

I added a blank line at the beginning and at the end of the text for this .pat file.

 

With a bit of tweaking - It WORKS!!

 

Thanks guys for your help.

0 Likes
Message 17 of 18

dbroad
Mentor
Mentor
  1. In general, avoid editing the acad.pat file.  If you incorrectly write one bit of a hatch pattern, it can disable the entire file. Consider that file owned by AutoDesk. Create separate files in content folders you create and add to your profile.  If you want to add your hatch patterns to that file, make a copy and put it into a folder that is above the autodesk folders in your profile.
  2. Avoid building in angles to hatch patterns for orthographic hatch patterns. It's best to use the rotation property of the hatch pattern instead.  Rotated hatch patterns can be more difficult to code.
  3. To do a 2by hatch pattern at 16" oc, it would be:
    *2byat16
    0, 0,0, 0, 16
    0, 0,1.5, 0, 16
    
  4. The file would be named 2byat16.pat.  It is required for custom hatch patterns for the file name to match the pattern name. It is also required to have a blank line below the last hatch pattern line.
Architect, Registered NC, VA, SC, & GA.
Message 18 of 18

Xtrudes
Community Visitor
Community Visitor

https://youtu.be/Y0OS9Po5dYQ?si=Vp0qPmgpuzP-C8lP
Here is a simple tutorial for scaling hatch as per dimensions.

0 Likes