CUSTOM CIRCULAR HATCH PATTERN

CUSTOM CIRCULAR HATCH PATTERN

dalton.winlove-smith
Explorer Explorer
7,654 Views
10 Replies
Message 1 of 11

CUSTOM CIRCULAR HATCH PATTERN

dalton.winlove-smith
Explorer
Explorer

Hello,

I am trying to create a custom frit pattern for a piece of glass that has a solid circle with a diameter of 5mm.  the circles are to be in a rectangular pattern spaced equally 100mm away from eat other.  I have done some research and I am struggling to come up with a lisp to add to my hatch .PAT file.  I have to apply this hatch to many different areas so creating a super hatch is not ideal  .Please see attached file for what I would want the hatch to look like. 

I am using AutoCAD 2019 and thank you for you time in advanced.  

Thank you,

Dalton Winlove-Smith
0 Likes
Accepted solutions (2)
7,655 Views
10 Replies
Replies (10)
Message 2 of 11

Patchy
Mentor
Mentor

There isn't any solid filled a circle or an enclosed shape can be done in autocad hatch.

Lisp for hatching? you have to ask Customization group for that task.

0 Likes
Message 3 of 11

pendean
Community Legend
Community Legend
explore using SUPERHATCH command if you remembered to install Express Tools.


0 Likes
Message 4 of 11

ronjonp
Advisor
Advisor

Have you thought about using an array for this?

0 Likes
Message 5 of 11

Kent1Cooper
Consultant
Consultant
Accepted solution

@dalton.winlove-smith wrote:

.... solid circle with a diameter of 5mm.  the circles are to be in a rectangular pattern spaced equally 100mm away ....  


 

How about using a square-grid pattern of dots, and a heavy lineweight in plotting  that will give those dots the desired diameter?  The DOTS-SQ pattern >here< makes such a grid, with a dot spacing of 1 drawing unit, so you can use a scale of 100 to get your 100mm spacing [assuming a millimeter is your drawing unit], and give it a color that gives you 5mm-diameter dots in plotting, with Round line-end style.

Kent Cooper, AIA
0 Likes
Message 6 of 11

hugha
Collaborator
Collaborator
Accepted solution

Here' is a hatch pattern formed from a 1 x 1 grid as trimmed by a 5 dia circle, all at 100 x 100 spacing

 

;-------------------------------------------------------------------------------
;        Written by HatchKit Team Edition
;        HatchKit Team Edition (c)1990-2018 Cadro Pty Ltd
;        www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date                                   : 2018-12-08
;-Time                                   : 07:21:41
;-HatchKit Team Edition Version          : 3.1.10.2736
;-HatchKit Team Edition Output Filetype  : AutoCAD format
;-------------------------------------------------------------------------------
*655Frit,DXF Entity Section
0,0.05051,3,0,-100,4.899,-95.101
0,0.05051,2,0,-100,4.899,-95.101
-90,2.5,5,0,100,5,-95
0,0.5,1,0,-100,4,-96
0,0.5,4,0,-100,4,-96
-90,3.5,4.7913,0,100,4.5826,-95.4174
-90,1.5,4.7913,0,100,4.5826,-95.4174
-90,0.5,4,0,100,3,-97
-90,4.5,4,0,100,3,-97

 

 

- a more finely soaced grid would improve its appearance at the expense of speed.  

 

hth,

Hugh Adamson

 

0 Likes
Message 7 of 11

tilakpatel531
Enthusiast
Enthusiast

Hello, I need a very similar pattern consisting of circles and want to write my own program.

I know how to write one for lines but not for circles.

Can you write out a template for me so I can understand where to place these parameters like diamter, spacing, offset.

Thanks

0 Likes
Message 8 of 11

marko_ribar
Advisor
Advisor

@tilakpatel531 wrote:

Hello, I need a very similar pattern consisting of circles and want to write my own program.

I know how to write one for lines but not for circles.

Can you write out a template for me so I can understand where to place these parameters like diamter, spacing, offset.

Thanks


You don't check other sites... I've just replied with my version of Hatch Make routine... Just be sure you set SNAP to 0.5x0.5 and you are ready to go... Here is link to check : https://www.cadtutor.net/forum/topic/70417-make-pat-files/?do=findComment&comment=565341 

Marko Ribar, d.i.a. (graduated engineer of architecture)
Message 9 of 11

hugha
Collaborator
Collaborator

>I know how to write one for lines but not for circles.

 

You have all you need to specify any hatch pattern element as they can only be specified by broken or unbroken straight lines. 

Curved items such as circles can only be approximated to a greater or less degree of precision with line segments .

 

hth,

Hugh 

Message 10 of 11

tilakpatel531
Enthusiast
Enthusiast

Let's give it a shot

0 Likes
Message 11 of 11

tilakpatel531
Enthusiast
Enthusiast

Looks like I will have to swallow the bitter truth

0 Likes