Results 1 to 4 of 4

Thread: Custom Hatch Pattern

  1. #1
    100 Club
    Join Date
    2012-07
    Location
    Manchester, UK
    Posts
    132
    Login to Give a bone
    0

    Question Custom Hatch Pattern

    Hello,

    I need to create a custom hatch pattern such as the one attached. I know nothing on PAT files syntax but decided to give it a go.
    I used these settings but it is not resulting the way I want but cannot find what to change.
    (I have rounded the values to make it easier as these are irrelevant)

    ;; ;; Random Stone Paving ;;
    *RANDOMSTONE, Random Stone Paving
    ;%TYPE=MODEL
    0, 0,0, 0,160
    0, 0,130, 0,160
    0, 0,100, 0,160
    0, 0,100, 0,160
    90, 120,160, 0,130
    90, 290,290, 0,100
    90, 330,390, 0,100
    90, 250,490, 0,130
    90, 290,620, 0,100


    Can some PAT experienced users out there give me a hand, please?

    Many thanks.
    J
    Attached Files Attached Files

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: Custom Hatch Pattern

    While you wait, you might browse some of these existing ones, available at no cost.

    http://cadtips.cadalyst.com/node/tiplisting?tid=106

    http://www.dotsoft.com/acadhatch.htm
    R.K. McSwain | CAD Panacea |

  3. #3
    100 Club
    Join Date
    2012-07
    Location
    Manchester, UK
    Posts
    132
    Login to Give a bone
    0

    Default Re: Custom Hatch Pattern

    Many thanks.
    Nice hatches here.

  4. #4
    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: Custom Hatch Pattern

    Hi,

    had some late shopping to do but try this out ...


    Code:
    ;-------------------------------------------------------------------------------
    ;        Written by HatchKit 2014 Professional
    ;        HatchKit 2014 Professional(c) Cadro Pty Ltd 1990-2014
    ;        www.hatchkit.com.au/
    ;-------------------------------------------------------------------------------
    ;-Date                                   : 24/12/2014
    ;-Time                                   : 1:55:51 PM
    ;-HatchKit Version                       : 3.0.1.2501
    ;-HatchKit Output Filetype               : AutoCAD format
    ;-------------------------------------------------------------------------------
    
    *jagostinho134030,DXF Entity Section
    90,844.72,0,0,-1500,160,-560
    90,524.72,0,0,-1500,160,-560
    90,1484.7,0,0,-1500,160,-560
    90,1164.7,0,0,-1500,160,-560
    -90,204.72,160,0,1500,160,-560
    -90,1320.6,290,0,1500,130,-590
    -90,920.57,290,0,1500,130,-590
    -90,120.57,290,0,1500,130,-590
    -90,520.57,290,0,1500,130,-590
    -90,567.23,620,0,1500,130,-590
    -90,247.23,620,0,1500,130,-590
    -90,1207.2,620,0,1500,130,-590
    -90,887.23,620,0,1500,130,-590
    -90,1367.9,390,0,1500,100,-620
    -90,1007.9,390,0,1500,100,-620
    -90,1367.9,720,0,1500,100,-620
    -90,330.83,490,0,1500,100,-620
    -90,1007.9,720,0,1500,100,-620
    -90,287.86,720,0,1500,100,-620
    -90,647.86,720,0,1500,100,-620
    -90,287.86,390,0,1500,100,-620
    -90,647.86,390,0,1500,100,-620
    -90,1410.8,490,0,1500,100,-620
    -90,690.83,490,0,1500,100,-620
    -90,1050.8,490,0,1500,100,-620
    0,0,0,0,720
    0,0,-100,0,720
    0,0,-230,0,720
    0,0,-330,0,720
    0,0,290,0,720
    0,0,160,0,720
    0,0,0,0,720
    You'll find patterns containing vertical and horizontal elements in a rectangular arrangement are straightforward if you work at it.
    Your swatch covers a rectangle 1500 wide by 720 tall and inspecting the above should show how they recur in the pattern definition.
    The unbroken horizontal lines recur spaced 720 apart while the broken verticals all recur at 1500 horizontally and 720 vertically.
    The last two numbers on all of the vertical definitions when summed unsigned also add to 720.



    hth,

    Hugh Adamson
    www.hatchkit.com.au

Similar Threads

  1. Custom Hatch Pattern
    By craigf.56714 in forum AutoCAD General
    Replies: 2
    Last Post: 2010-11-04, 03:59 PM
  2. Problem with custom hatch pattern
    By earld in forum AutoCAD General
    Replies: 8
    Last Post: 2010-03-09, 08:04 AM
  3. Custom Hatch Pattern Help
    By dan302720 in forum AutoCAD Customization
    Replies: 4
    Last Post: 2010-02-04, 11:49 PM
  4. Custom Tile Hatch Pattern...
    By hkeller in forum AutoCAD General
    Replies: 4
    Last Post: 2005-08-07, 11:35 PM
  5. Load custom hatch pattern
    By aungmyatkyaw in forum AutoCAD Customization
    Replies: 4
    Last Post: 2005-08-01, 12:56 PM

Tags for this Thread

Posting Permissions

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