<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom  angular or circular Hatch pattern in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8037891#M104269</link>
    <description>&lt;P&gt;Actually, neither hatch can really be done well with the hatch features.&amp;nbsp; &amp;nbsp;The hatch pattern coded in the last post will only work to fill a square and that only if the hatch pattern scale equals the size of the square.&amp;nbsp; Might as well create both with a block, insert, scale, and clip, which is what I do.&amp;nbsp; LISP can work as well but is probably overkill.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look into superhatch if you want to experiment with quirky hatches that the hatch command can't handle.&amp;nbsp; It can work with circles, blocks, images, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just for fun, here is what occurs if the radial hatch coded is put at a scale of 1 inside a 24"x24" square with the basepoint in the center of the square.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Radial Hatch" style="width: 399px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/506955iEE6C4BB1E8661CD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2018-05-31_8-33-06.png" alt="Radial Hatch" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Radial Hatch&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 May 2018 12:34:51 GMT</pubDate>
    <dc:creator>dbroad</dc:creator>
    <dc:date>2018-05-31T12:34:51Z</dc:date>
    <item>
      <title>Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8037136#M104266</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create Custom hatch pattern for angular fill or circular fill, (Not solid fill, refer attached snap)&lt;/P&gt;&lt;P&gt;can any one tell me how to create this type of hatch, or is it possible to do in Autocad ? or can we create it&amp;nbsp; through some Auto lisp routine .&lt;/P&gt;&lt;P&gt;any help much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;FKP&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 06:09:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8037136#M104266</guid>
      <dc:creator>fkp7057</dc:creator>
      <dc:date>2018-05-31T06:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8037707#M104267</link>
      <description>&lt;P&gt;You can do it from series of dots, but they are slow and not practical... Better to do it with ordinary entities like LINES or CIRCLES through LISP...&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 10:57:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8037707#M104267</guid>
      <dc:creator>marko_ribar</dc:creator>
      <dc:date>2018-05-31T10:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8037795#M104268</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/940934"&gt;@marko_ribar&lt;/a&gt;, your pattern definitions can go from 0- through 179-degree directions, and stop there -- the 0-degree direction covers the 180-degree direction, too, and 1 covers 181, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3257346"&gt;@fkp7057&lt;/a&gt;, your right image can be as simple as this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;*RADIAL15,&amp;nbsp;Radial lines at 15-degree increments&lt;BR /&gt;0, 0,0, 0,1&lt;BR /&gt;15, 0,0, 0,1&lt;BR /&gt;30, 0,0, 0,1&lt;BR /&gt;45, 0,0, 0,1&lt;BR /&gt;60, 0,0, 0,1&lt;BR /&gt;75, 0,0, 0,1&lt;BR /&gt;90, 0,0, 0,1&lt;BR /&gt;105, 0,0, 0,1&lt;BR /&gt;120, 0,0, 0,1&lt;BR /&gt;135, 0,0, 0,1&lt;BR /&gt;150, 0,0, 0,1&lt;BR /&gt;165, 0,0, 0,1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set the pattern origin to the center of your Circle [in the image, or otherwise wherever you want the radiating to radiate from] and set the Scale factor to whatever it takes to get the "other stuff" [the parallel repeats of the defined linesets] outside the Hatched area.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your left image can't be done with a Hatch pattern if you're intending it to&amp;nbsp;have actual curvature -- Hatch patterns can only be made of straight-line segments [or dots, which are zero-length straight-line segments, as in some of marko's suggestions].&amp;nbsp; But it could be done with an AutoLisp routine easily enough, if that's of interest.&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 11:44:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8037795#M104268</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-05-31T11:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8037891#M104269</link>
      <description>&lt;P&gt;Actually, neither hatch can really be done well with the hatch features.&amp;nbsp; &amp;nbsp;The hatch pattern coded in the last post will only work to fill a square and that only if the hatch pattern scale equals the size of the square.&amp;nbsp; Might as well create both with a block, insert, scale, and clip, which is what I do.&amp;nbsp; LISP can work as well but is probably overkill.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look into superhatch if you want to experiment with quirky hatches that the hatch command can't handle.&amp;nbsp; It can work with circles, blocks, images, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just for fun, here is what occurs if the radial hatch coded is put at a scale of 1 inside a 24"x24" square with the basepoint in the center of the square.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Radial Hatch" style="width: 399px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/506955iEE6C4BB1E8661CD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2018-05-31_8-33-06.png" alt="Radial Hatch" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Radial Hatch&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 12:34:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8037891#M104269</guid>
      <dc:creator>dbroad</dc:creator>
      <dc:date>2018-05-31T12:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8038030#M104270</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/411413"&gt;@dbroad&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp; &amp;nbsp;The hatch pattern coded in the last post will only work to fill a square and that only if the hatch pattern scale equals the size of the square.&amp;nbsp; ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;NOT TRUE!&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp; I don't know where that notion is coming from....&amp;nbsp; It will fill any shape at all, and the scale factor can be anything at all that's large enough to drive the extras outboard of the Hatched area, or larger to any degree you like.&amp;nbsp; The desired portion around the origin will look exactly the same whether the scale factor is just barely big enough to do that, or&amp;nbsp;set to a&amp;nbsp;million, or a googol.&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 13:19:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8038030#M104270</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-05-31T13:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8039939#M104271</link>
      <description>&lt;P&gt;Kent is correct in stating that if you adjust the scales of his radial pattern it can serve in all cases however prescaling by a large factor may cover all of your requirements without having to consider that slight overhead. Picking a location for the hatch&amp;nbsp;origin should have all repetitions&amp;nbsp;falling outside of the hatched area..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*RADIAL15x107,&amp;nbsp;Scaled up radial lines at 15-degree increments&lt;/P&gt;&lt;P&gt;0, 0,0, 0,10000000&lt;BR /&gt;15, 0,0, 0,10000000&lt;BR /&gt;30, 0,0, 0,10000000&lt;BR /&gt;45, 0,0, 0,10000000&lt;BR /&gt;60, 0,0, 0,10000000&lt;BR /&gt;75, 0,0, 0,10000000&lt;BR /&gt;90, 0,0, 0,10000000&lt;BR /&gt;105, 0,0, 0,10000000&lt;BR /&gt;120, 0,0, 0,10000000&lt;BR /&gt;135, 0,0, 0,10000000&lt;BR /&gt;150, 0,0, 0,10000000&lt;BR /&gt;165, 0,0, 0,10000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The circular hatch can be handled by creating a hatch pattern containing concentric circles covering a template patch large enough to cover all foreseen&amp;nbsp;&amp;nbsp;applications&amp;nbsp;.&amp;nbsp; A pattern generated from&amp;nbsp;concentric circles of desired radii&amp;nbsp;will always cover a square of size (sqrt 2) *&amp;nbsp;the largest circle radius no matter where you place the pattern origin within the drawing.&amp;nbsp;The only barrier would be a tradeoff between&amp;nbsp;pattern size and circle fidelity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hth,&lt;/P&gt;&lt;P&gt;Hugh Adamson&lt;/P&gt;&lt;P&gt;Cadro Pty Ltd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 02:12:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8039939#M104271</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2018-06-01T02:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8040117#M104272</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/61062"&gt;@hugha&lt;/a&gt;&lt;/P&gt;&lt;P&gt;thanks for all your help but i am not able to use that above code for hatch can you plz provide pat file so i can check it in my system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/940934"&gt;@marko_ribar&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Thanks for Reply&lt;/P&gt;&lt;P&gt;while using your hatch file it will stuck for ever auto cad not responding, dont know why.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 05:34:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8040117#M104272</guid>
      <dc:creator>fkp7057</dc:creator>
      <dc:date>2018-06-01T05:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8040478#M104273</link>
      <description>&lt;P&gt;Ok, but it's not that hard to do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. cut the text&lt;/P&gt;&lt;P&gt;2. open a text editor&lt;/P&gt;&lt;P&gt;3. paste text&lt;/P&gt;&lt;P&gt;4. add a blank line&lt;/P&gt;&lt;P&gt;5. save as RADIAL15x107.PAT somewhere on your Support File Search Path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bother. What is hard is getting a&amp;nbsp;.pat file to load as an attachment.&amp;nbsp; What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 09:32:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8040478#M104273</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2018-06-01T09:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8040746#M104274</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/61062"&gt;@hugha&lt;/a&gt;&amp;nbsp;i tried the same may be i missed that blank line .&lt;/P&gt;&lt;P&gt;but still get this error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.jpg" style="width: 567px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/507449iE26AC5E0D8796454/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.jpg" alt="error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;FKP&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 12:11:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8040746#M104274</guid>
      <dc:creator>fkp7057</dc:creator>
      <dc:date>2018-06-01T12:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8041225#M104275</link>
      <description>&lt;P&gt;Take the extraneous &lt;FONT color="#FF0000"&gt;.pat&lt;/FONT&gt; off the end of the file name.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 15:05:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8041225#M104275</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-01T15:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8042266#M104276</link>
      <description>&lt;P&gt;Thanks, Kent!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Of course now any downloaders&amp;nbsp;will have to change the&amp;nbsp;filename back to RADIAL15X107.PAT before attempting to use it in AutoCAD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jun 2018 00:39:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8042266#M104276</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2018-06-02T00:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom  angular or circular Hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8044128#M104277</link>
      <description>&lt;P&gt;Thanks a ton this one work perfectly&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 06:07:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/custom-angular-or-circular-hatch-pattern/m-p/8044128#M104277</guid>
      <dc:creator>fkp7057</dc:creator>
      <dc:date>2018-06-04T06:07:56Z</dc:date>
    </item>
  </channel>
</rss>

