Author Topic: Cirlces in a Custom Hatch?  (Read 2619 times)

0 Members and 1 Guest are viewing this topic.

whdjr

  • Guest
Cirlces in a Custom Hatch?
« on: November 03, 2008, 11:18:50 AM »
Anyone know how to make a custom hatch with circles in it?

Alan Cullen

  • Guest
Re: Cirlces in a Custom Hatch?
« Reply #1 on: November 03, 2008, 11:52:52 AM »
yup.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Cirlces in a Custom Hatch?
« Reply #2 on: November 03, 2008, 12:27:48 PM »
Code: [Select]
*circ,Circle, one unit diameter
0, .4,0, 1,1, .2,-.8
90, 0,.4, 1,1, .2,-.8
45, .8,.1, .7071067812,.7071078912, .1414213562,-1.272792206
45, .1,.8, .7071067812,.7071078912, .1414213562,-1.272792206
135, .2,.1, .7071067812,.7071078912, .1414213562,-1.272792206
135, .9,.8, .7071067812,.7071078912, .1414213562,-1.272792206
63.4349488, 0,.6, .894427191,.4472135955, .2236067977,-2.01246118
63.4349488, .9,.2, .894427191,.4472135955, .2236067977,-2.01246188
153.4349488, .4,0, .894427191,.4472135955, .2236067977,-2.01246188
153.4349488, .8,.9, .894427191,.4472135955, .2236067977,-2.01246188
206.5650512, .4,0, .894427191,-.4472135955, .2236067977,-2.01246118
206.5650512, .8,.1, .894427191,-.4472135955, .2236067977,-2.01246118
296.5650512, 0,.4, .894427191,-.4472135955, .2236067977,-2.01246118
296.5650512, .9,.8, .894427191,-.4472135955, .2236067977,-2.01246118

I've reached the age where the happy hour is a nap. ()
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

whdjr

  • Guest
Re: Cirlces in a Custom Hatch?
« Reply #3 on: November 03, 2008, 01:31:42 PM »
CAB,  I get an error when I paste this into a text file and try to access it from AutoCad.  I am using 2006 if this matters.  Can you explain better than the help files what each number represents and how you get them to be in different places.  I need circles with dia .9" on a rect array of 1.67" x and y.  If you have the time to explain it I will try my hand at it.

Thanks,

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Cirlces in a Custom Hatch?
« Reply #4 on: November 03, 2008, 02:48:45 PM »
Make sure you have a blank line following the hatch definition. [CR/LF]

The hatch patterns like shape files are tricky.

Have you tried this?
Code: [Select]
;;;CADALYST 10/05 Tip 2065: HatchMaker.lsp Hatch Maker (c) 2005 Larry Schiele

;;;* ======   B E G I N   C O D E   N O W    ======   
;;;* HatchMaker.lsp written by Lanny Schiele at TMI Systems Design Corporation
;;;* Lanny.Schiele@tmisystems.com
;;;* Tested on AutoCAD 2002 & 2006. -- does include a 'VL' function -- should work on Acad2000 on up.
I've reached the age where the happy hour is a nap. ()
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

whdjr

  • Guest
Re: Cirlces in a Custom Hatch?
« Reply #5 on: November 04, 2008, 10:41:05 AM »
Make sure you have a blank line following the hatch definition. [CR/LF]

The hatch patterns like shape files are tricky.

Have you tried this?
Code: [Select]
;;;CADALYST 10/05 Tip 2065: HatchMaker.lsp Hatch Maker (c) 2005 Larry Schiele

;;;* ======   B E G I N   C O D E   N O W    ======   
;;;* HatchMaker.lsp written by Lanny Schiele at TMI Systems Design Corporation
;;;* Lanny.Schiele@tmisystems.com
;;;* Tested on AutoCAD 2002 & 2006. -- does include a 'VL' function -- should work on Acad2000 on up.

I looked for this yesterday but CADALYST changed their format and I couldn't get the search feature to return anything.

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Cirlces in a Custom Hatch?
« Reply #6 on: November 04, 2008, 10:49:45 AM »
Here's the Cadalyst code for October 2005.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

whdjr

  • Guest
Re: Cirlces in a Custom Hatch?
« Reply #7 on: November 04, 2008, 11:28:07 AM »
Here's the Cadalyst code for October 2005.

Thanks!  Will check it out.

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Cirlces in a Custom Hatch?
« Reply #8 on: November 04, 2008, 11:32:09 AM »
Here's the Cadalyst code for October 2005.

Thanks!  Will check it out.
You're welcome.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io