See the top rated post in this thread. Click here

Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Hatch pattern - error in reading pattern file

  1. #1
    All AUGI, all the time bbapties's Avatar
    Join Date
    2003-12
    Location
    Palm Harbor, FL
    Posts
    537
    Login to Give a bone
    0

    Default Hatch pattern - error in reading pattern file

    I have a hatch pattern that has gone bad.....probably cause I no longer have it in my patterns.......
    I have it in a dwg but cant get it to MP or inherit properties... I need to use this pattern but it wont let me......error in reading pattern file.....

    can anyone help me.....if not in a way to fix this, provide a hatch similar.......thanks
    Attached Files Attached Files
    Last edited by bbapties; 2005-03-14 at 03:15 PM. Reason: forgot to attach dwg

  2. #2
    I could stop if I wanted to JASONM30395's Avatar
    Join Date
    2002-04
    Location
    Halifax NS Canada
    Posts
    397
    Login to Give a bone
    1

    Post Re: Hatch pattern - error in reading pattern file

    Don't know if any of these match yours exactly but here's what I got.

    *SPANISH1,SPANISH TILE ROOFING
    0,.25,.125,2,1,.125,-1.125,.125,-.625
    0,.75,.625,2,1,.375,-1.625
    0,.75,.75,2,1,.375,-.625,.375,-.625
    0,1.75,.875,2,1,.375,-1.625
    90,.25,.125,1,2,.125,-.875
    90,.375,.125,1,2,.125,-.875
    90,1.5,.125,1,2,.125,-.875
    90,1.625,.125,1,2,.125,-.875
    45,.375,.5,.7071067812,.7071067812,.1767767,-2.651650425
    135,1.5,.5,.7071067812,-.7071067812,.1767767,-2.651650425
    26.56505118,.5,.5,.4472135955,.894427191,.2795085,-1.956559477
    26.56505118,.5,.625,.4472135955,.894427191,.2795085,-1.956559477
    26.56505118,.125,.75,.4472135955,.894427191,.2541,-1.981967977
    26.56505118,.125,.875,.4472135955,.894427191,.2795085,-1.956559477
    63.43494882,.25,.25,.894427191,.4472135955,.2795085,-4.192627455
    63.43494882,.375,.25,.894427191,.4472135955,.2795085,-4.192627455
    116.56505118,1.5,.25,.894427191,-.4472135955,.2795085,-4.192627455
    116.56505118,1.625,.25,.894427191,-.4472135955,.2795085,-4.192627455
    153.43494882,1.375,.5,.4472135955,-.894427191,.2795085,-1.956559477
    153.43494882,1.375,.625,.4472135955,-.894427191,.2795085,-1.956559477
    153.43494882,1.75,.75,.4472135955,-.894427191,.2541,-1.981967977
    153.43494882,1.75,.875,.4472135955,-.894427191,.2795085,-1.956559477
    80.537677792,.25,.25,.9863939238,.1643989873,1.140518,-11.02500706
    99.462322208,1.625,.25,.9863939238,-.1643989873,1.140518,-11.02500706

    *SPANTILE,SPANISH TILE ROOFING
    0, -.1,0, 0,1, .2,-.8
    0, .4,.2, 0,1, .2,-.8
    0, .4,.3, 0,1, .2,-.8
    90, 0,0, 0,1, 1
    45, 0,0, .7071068,.7071068, .2828427,-1.131370862
    45, .1,0, .7071068,.7071068, .1414214,-1.272792162
    135, 0,0, .7071068,.7071068, .2828427,-1.131370862
    135, .9,.0, .7071068,.7071068, .1414214,-1.272792162
    26.5650512, .2,.1, .894427191,-.447213595, .2236,-2.012467977
    153.4349488, -.2,.1, .894427191,.447213595, .2236,-2.012467977
    26.5650512, .2,.2, .894427191,-.447213595, .2236,-2.012467977
    153.4349488, -.2,.2, .894427191,.447213595, .2236,-2.012467977

    *ROOFTILE,SPANISH ROOF TILE TIP507 (C)1990 MICHAEL ROSS
    0, 4,3, 0,15, 2,-8
    45, 0,0, 17.678,3.536, 2.828427125,-39.59797975
    135, 10,0, 17.678,-3.536, 2.828427125,-39.59797975
    26.56505118, 2,2, 24.59674775,4.47213595, 2.23606798,-31.30495168
    333.43494882, 6,3, 24.59674775,-4.47213595, 2.23606798,-31.3045168
    90, 0,0, 0,10
    Loyalty above all else except honor
    For my honor is my life!

  3. #3
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Hatch pattern - error in reading pattern file

    Hi

    Please note I've *moved* this thread from the AutoCAD General Forum to this one as I feel this particular Forum is a more appropriate place for such a topic.

    Thanks, Mike

    Forum Moderator

  4. #4
    All AUGI, all the time bbapties's Avatar
    Join Date
    2003-12
    Location
    Palm Harbor, FL
    Posts
    537
    Login to Give a bone
    0

    Default Re: Hatch pattern - error in reading pattern file

    thank you so much jmelanson, that will work perfectly!!

  5. #5
    100 Club lance.81922's Avatar
    Join Date
    2005-01
    Location
    Santa Fe, NM
    Posts
    176
    Login to Give a bone
    0

    Default Re: Hatch pattern - error in reading pattern file

    This should be pretty close to your original:

    *SPANISH
    0, 0,0, 1,1, 0.05, -0.95
    0, 0,0.07, 1,1, 0.05, -0.95
    0, 0.45,-0.53, 1,1, 0.15, -0.85
    0, 0.45,-0.43, 1,1, 0.15, -0.85
    90, -0.1,-0.73, 1,1, 1, 1
    90, 0.15,-0.73, 1,1, 1, 1
    45, 0.15,-0.73, 0.7071068,0.7071068, 0.1414214, -1.2727922
    45, 0.15,-0.63, 0.7071068,0.7071068, 0.1414214, -1.2727922
    135, -0.1,-0.73, 0.7071068,0.7071068, 0.1414214, -1.2727922
    135, -0.1,-0.63, 0.7071068,0.7071068, 0.1414214, -1.2727922
    26.5650512, 0.25,-0.63, 0.8944272,-0.4472136, 0.2236068, -2.0124612
    26.5650512, 0.25,-0.53, 0.8944272,-0.4472136, 0.2236068, -2.0124612
    26.5650512, 0.05,0, 0.8944272,-0.4472136, 0.1118, -2.124268
    26.5650512, 0.05,0.07, 0.8944272,-0.4472136, 0.1118, -2.124268
    153.4349488, 0.8,-0.63, 0.8944272,0.4472136, 0.2236068, -2.0124612
    153.4349488, 0.8,-0.53, 0.8944272,0.4472136, 0.2236068, -2.0124612
    153.4349488, 0,0, 0.8944272,0.4472136, 0.1118, -2.124268
    153.4349488, 0,0.07, 0.8944272,0.4472136, 0.1118, -2.124268

  6. #6
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    2

    Default Re: Hatch pattern - error in reading pattern file

    Go to: http://www.turvill.com/t2/free_stuff/index.htm and download GETPAT.LSP. This routine may be used to extract hatch pattern data from existing drawings when the .pat file containing the original information is not available.

  7. #7
    Member
    Join Date
    2011-03
    Posts
    3
    Login to Give a bone
    0

    Question Re: Hatch pattern - error in reading pattern file

    Hello, this is the essence of my .pat file and I still get an error reading the file. It's so simple and I've tried using different spacing, different encoding, etc., no luck--Can anyone tell me what the problem is???

    *Board and Batt
    90, 0,0, 16,0
    90, 2.5,0, 16,0


    Thanks!

  8. #8
    I could stop if I wanted to hugh.69031's Avatar
    Join Date
    2016-01
    Location
    Melbourne, Australia
    Posts
    360
    Login to Give a bone
    0

    Default Re: Hatch pattern - error in reading pattern file

    *Board and Batt
    90, 0,0, 16,0
    90, 2.5,0, 16,0

    won't fly as the dY spacings (last number on line) are zero.

    Try

    *Board and Batt
    90, 0,0,0, 16
    90, 2.5,0,0, 16

    to get repeating vertical pairs of lines.



    Hugh Adamson
    www.hatchkit.com.au

  9. #9
    Member
    Join Date
    2011-03
    Posts
    3
    Login to Give a bone
    0

    Default Re: Hatch pattern - error in reading pattern file

    Quote Originally Posted by hugh.69031 View Post
    *Board and Batt
    90, 0,0, 16,0
    90, 2.5,0, 16,0

    won't fly as the dY spacings (last number on line) are zero.

    Try

    *Board and Batt
    90, 0,0,0, 16
    90, 2.5,0,0, 16

    to get repeating vertical pairs of lines.



    Hugh Adamson
    First of all, thanks for replying. Second, I substituted the values as you recommended. Now when I attempt to select that hatch pattern in the hatch menu, I still get a series of "error reading hatch file" notices and beeps, but after about 3 or four clicks it completes the hatch, with no apparent graphic errors. Third, I am confused why the horizontal distribution of the lines for the pattern are dependent on the dY value not the dX value (x-axis is horiz., y-axis is vert., right?)

    Thanks again!

  10. #10
    I could stop if I wanted to hugh.69031's Avatar
    Join Date
    2016-01
    Location
    Melbourne, Australia
    Posts
    360
    Login to Give a bone
    0

    Default Re: Hatch pattern - error in reading pattern file

    Firstly, no worries.

    Secondly, I'm baffled by your ability to get past the "error reading hatch file" notices to a result as my experience is that the error leads signals an impasse. Odd. Did you store and use the pattern in a file called "Board and Batt.pat" or add it to the standard pattern file ACAD.PAT?

    Thirdly, dX and dY are measured as if the line were horizontal, so for a vertical line dX appears vertical and dY horizontal. Here's a good explanation:
    http://www.caddigest.com/subjects/au...h_patterns.htm



    regards,
    Hugh Adamson

    www.hatchkit.com.au

Page 1 of 2 12 LastLast

Similar Threads

  1. Hatch pattern Access Error
    By jmaurer in forum ACA General
    Replies: 0
    Last Post: 2009-02-12, 03:17 PM
  2. Error in reading the pattern file
    By jfoss3 in forum AutoCAD General
    Replies: 4
    Last Post: 2008-12-02, 02:21 PM
  3. I get an Internal Error with custom Hatch Pattern
    By JMonrex Gadgude in forum AutoCAD General
    Replies: 6
    Last Post: 2006-06-21, 08:32 AM
  4. Replies: 5
    Last Post: 2006-02-28, 01:20 PM
  5. Drag a hatch pattern from my toolbar causes an error
    By Noahma2 in forum AutoCAD General
    Replies: 5
    Last Post: 2005-08-18, 07:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •