Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Hatch

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
Anonymous
3421 Views, 10 Replies

Custom Hatch

I am trying to find or create a hatch for a road marking chevron.

 

I have tried 2 different ideas, but neither worked. I tried to adapt it from the *SOLID hatch type.

 

I need a hatch that  represents the chevron below.

 

RM5 - Chevron.jpg

 

Below are the two different alternatives I tried, but neither work. The lines need to be 300mm thick with a 600mm gap (or similar ratio) and preferably lie at 30°

 

*RM5,Road Marking RM5
60,0,0,0,0.125,1.181102362205,2.362204724409

  

*RM5-2, Road Marking RM5.2
0,0,0,0,.3543307
0,0,.0295276,.3543307
0,0,.0590551,.3543307
0,0,.0885827,.3543307
0,0,.1181102,.3543307
10 REPLIES 10
Message 2 of 11
3wood
in reply to: Anonymous

Instead of hatch, you can create a large chevron block then use the boundary to clip it off.

 

Message 3 of 11
wispoxy
in reply to: Anonymous

Many ways to accomplish it. Personally, for something like that I would draw it out and not use hatching. Have some information anyway, see link attached. http://www.ellenfinkelstein.com/acadblog/creating-custom-hatch-patterns/

Message 4 of 11
Kent1Cooper
in reply to: Anonymous

Probably the best way to do that with a Hatch pattern is one that has groups of closely-spaced lines, like this:

 

HatchBars.PNG

 

and draw it on a Layer with a color that plots in a line width that fills it in solid at the typical scale in which you would use it.  Such a pattern could be defined very easily, with whatever ratio you want between the width of the groups of lines and the width of the gaps, and with whatever spacing between lines you need for the solid plotted result, and therefore whatever quantity of lines you need in each group.

Kent Cooper, AIA
Message 5 of 11
hugha
in reply to: Anonymous

Alternatively if you have SUPERHATCH to hand you could create a rectangular full-scale block with SOLID-hatched stripes to tile your road-markings with 300 wide stripes at 30 degrees spaced 600 apart:

 

  1. draw a rectangle 300 high and (say) 2000 long
  2. SOLID-HATCH the rectangle.
  3. ARRAY the rectangle linearly to create a set of (say) 10 spaced 900 apart vertically.
  4. move the arrangement from (0,0) to (0,-4500)
  5. rotate the arrangement 30 degrees about (0,0)
  6. draw a rectangle from (0,0) to (1800,1039.23)
  7. crop to that rectangle
  8. erase that rectangle
  9. block it and SUPERHATCH

https://autocadtips1.com/2015/06/30/using-superhatch-to-make-complicated-hatch-patterns/

 

 

If you don't mind rotating the SUPERHATCH during each insertion just create a SUPERHATCH of size say 900x900 containing a 900x300 SOLID hatched rectangle.

 

 

hth,

 

Hugh Adamson

www.hatchkit.com.au

 

 

 

Message 6 of 11
Anonymous
in reply to: 3wood

Thank you, but clipping does not allow radius' and we have islands of all shapes and sizes that we have to demarcate with this chevron design.

Message 7 of 11
Anonymous
in reply to: wispoxy

Thank you, but the reason we are looking for a hatch is because we do too many drawings with too many islands too often. We currently draw them in manually and it is a tedious process that kills productivity.

 

The Ellen Finkelstein is the first resource I tried. I used that tutorial to produce the two .pat files I pasted in my original post which are both buggy and don't produce a usable hatch.

Message 8 of 11
Anonymous
in reply to: Kent1Cooper

I might try modifying one of these to represent the pattern I require, but none of these are ready to use as is.

Message 9 of 11
Anonymous
in reply to: hugha

Thanks, this is the most useful of the solutions so far, except for when weI need to change directions and play with positions extensively. Because it doesn't perform like a normal hatch that associates to a polyline, we need to recreate it everytime an adjustment takes place.

 

Also, we get revisions from the architects changing our paving layouts way too often and everytime this happens we'll need to recreate the hatch to suit the changes.

 

I am still looking for a solution from the community please, if there is one available.

Message 10 of 11
Kent1Cooper
in reply to: Anonymous

By the way, "chevron" is not the word for what's in the image.  But if you really want a chevron design, something along these lines could also easily be defined as a Hatch pattern:

ChevronHatch.PNG 

 

Either way, if you can describe how many lines at what kind of spacing you would need in a group to get it to plot in solid at the lineweight you would use, and how wide the gaps between groups should be relative to the width of the groups, it won't be hard to define a pattern.

Kent Cooper, AIA
Message 11 of 11
hugha
in reply to: Anonymous


shaunXMA9A wrote:

 

Because it doesn't perform like a normal hatch that associates to a polyline, we need to recreate it everytime an adjustment takes place.

 

Also, we get revisions from the architects changing our paving layouts way too often and everytime this happens we'll need to recreate the hatch to suit the changes.


I take it "recreate" here refers to revising the hatch  position to follow the revised boundary rather than recreating the hatch pattern definition from scratch.

 

Either way, SUPERHATCH's lack of polyline association is a showstopper for your purposes.  

But as Kent suggests, regular  .PAT hatch patterns can be associated with polylines so here is a very wide version with lines 10mm apart. If that is too lavish or meagre then simply delete or add lines within this specification.  

 

;-------------------------------------------------------------------------------
;        Written by HatchKit Professional
;        HatchKit Professional (c)1990-2016 Cadro Pty Ltd
;        www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date                                   : 10/11/2016
;-Time                                   : 9:37:43 AM
;-HatchKit Version                       : 3.1.9.2674
;-HatchKit Output Filetype               : AutoCAD format
;-------------------------------------------------------------------------------
*Chevron300-600,DXF Entity Section

150.0248148385,0,103.92,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,92.376,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,80.829,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,115.47,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,150.11,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,138.56,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,127.02,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,69.282,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,11.547,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,346.41,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,0,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,23.094,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,57.735,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,46.188,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,34.641,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,161.66,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,288.68,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,277.13,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,265.58,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,300.22,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,334.86,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,323.32,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,311.77,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,254.03,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,196.3,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,184.75,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,173.21,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,207.85,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,242.49,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,230.94,-389.419070516,675.168752656,57735,-57706.1985055
150.0248148385,0,219.39,-389.419070516,675.168752656,57735,-57706.1985055

29.9751851615,0,103.92,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,92.376,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,80.829,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,115.47,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,150.11,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,138.56,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,127.02,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,69.282,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,11.547,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,346.41,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,0,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,23.094,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,57.735,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,46.188,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,34.641,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,161.66,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,288.68,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,277.13,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,265.58,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,300.22,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,334.86,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,323.32,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,311.77,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,254.03,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,196.3,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,184.75,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,173.21,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,207.85,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,242.49,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,230.94,389.419070516,675.168752656,57735,-57706.1985055
29.9751851615,0,219.39,389.419070516,675.168752656,57735,-57706.1985055

 

You'll have to alter the origin and angle to suit each hatched area both initially and upon revision. 

Further automation could be obtained with ALisp.

 

Note: the pattern will repeat when applied to an area beyond 50,000 from the pattern's line of symmetry.

 

hth,

Hugh Adamson

Cadro Pty Ltd

 

 

 

 

 

 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report