<?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: help with a hatch pattern in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7381146#M115019</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;...&amp;nbsp;-- coming soon....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, I find that this can't be done in the usual way--something's got to give.&amp;nbsp; Either &lt;FONT color="#ff0000"&gt;A)&lt;/FONT&gt; you accept the skew in the HatchKit version, or &lt;FONT color="#ff0000"&gt;B)&lt;/FONT&gt; you make the sizes &lt;EM&gt;nominal&lt;/EM&gt; between centers of joints, or &lt;FONT color="#ff0000"&gt;C)&lt;/FONT&gt; the larger tiles have to be 600 units high x 60&lt;STRONG&gt;3&lt;/STRONG&gt; units wide, as in the image [which visually exaggerates the joint widths for clarity], or &lt;FONT color="#ff0000"&gt;D)&lt;/FONT&gt;&amp;nbsp;you accept a &lt;EM&gt;slight offset&lt;/EM&gt; between vertical joints, which&amp;nbsp;will require a &lt;EM&gt;very&lt;/EM&gt;&amp;nbsp; much longer pattern definition, or &lt;FONT color="#ff0000"&gt;E)&lt;/FONT&gt; you do it as a &lt;EM&gt;single&lt;/EM&gt;-line pattern, without showing both sides of the joints.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way for this to work practically as a pattern definition with clean angles and offsets and 8 lines of code is for things to &lt;EM&gt;line up&lt;/EM&gt;&amp;nbsp; in a certain way -- the white segments [chosen arbitrarily -- the right edges of the&amp;nbsp;tiles in every third course] would be&amp;nbsp;defined in &lt;EM&gt;one&lt;/EM&gt;&amp;nbsp; lineset definition, and for that to be viable, must align.&amp;nbsp; If the joints line up for that purpose [the yellow phantom lines], and the smaller tiles are 300 units wide, and the joints are 3 units wide, then the larger tile &lt;EM&gt;must be 60&lt;STRONG&gt;3&lt;/STRONG&gt; units wide&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HatchExample.PNG" style="width: 278px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/401592iB6BCDB754C974D09/image-size/large?v=v2&amp;amp;px=999" role="button" title="HatchExample.PNG" alt="HatchExample.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the larger tiles&amp;nbsp;are really 600 units wide, then there will be a slight offset/misalignment between vertical joints, either&lt;EM&gt; at&lt;/EM&gt;&amp;nbsp; the crossings &lt;FONT color="#ff9900"&gt;[EDIT:&lt;/FONT&gt; looks like that's &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/61062"&gt;@hugha&lt;/a&gt;'s approach in Post 11&lt;FONT color="#ff9900"&gt;]&lt;/FONT&gt; or comparing joints 3 courses apart &lt;FONT color="#ff9900"&gt;[&lt;/FONT&gt;which is what would take the very much longer definition in my&lt;FONT color="#ff0000"&gt; D)&lt;/FONT&gt; option above&lt;FONT color="#ff9900"&gt;]&lt;/FONT&gt;.&amp;nbsp; &lt;EM&gt;And&lt;/EM&gt;&amp;nbsp; that must be true for the physical installation of tiles as well as in the AutoCAD pattern definition, which means that a &lt;EM&gt;single&lt;/EM&gt;-line pattern would have to be slightly off from the reality.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2017 15:54:59 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2017-09-14T15:54:59Z</dc:date>
    <item>
      <title>help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7376769#M115007</link>
      <description>&lt;P&gt;Hello&amp;nbsp;everyone&lt;BR /&gt;&lt;BR /&gt;I'm trying to create a hatch pattern for two different sized tiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want a 600Hx300W plank tile. Followed by a 600x600 tile. The tiles&amp;nbsp;rows should be offset by 600.&lt;/P&gt;&lt;P&gt;Please look at the image attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm really trying to get this right...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be GREATLY appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 10:19:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7376769#M115007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T10:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7377012#M115008</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Try "superhatch" in express tools. I have tried it and works well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;STM&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 11:37:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7377012#M115008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T11:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7377291#M115009</link>
      <description>&lt;P&gt;That doesn't look difficult, but:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the grout/mortar&amp;nbsp;joint width?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are the tile sizes &lt;EM&gt;nominal&lt;/EM&gt;&amp;nbsp; as with bricks [i.e. from center-of-joint to center-of-joint], or &lt;EM&gt;actual&lt;/EM&gt;&amp;nbsp; [i.e. joint width is &lt;EM&gt;in addition to&lt;/EM&gt;&amp;nbsp; tile size]?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where should the origin from which it is all generated be?&amp;nbsp; At the middle of a joint intersection?&amp;nbsp; At the corner of a tile?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 13:11:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7377291#M115009</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-09-13T13:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7377746#M115010</link>
      <description>&lt;P&gt;The grout is 3mm. The tile sizes are actual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So 600x300 tile, 600x600 tile + 3mm grout all around.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The origin should be from the middle of the joint intersection...&lt;/P&gt;&lt;P&gt;But this doesn't really matter so much?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:05:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7377746#M115010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T15:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7378178#M115011</link>
      <description>&lt;P&gt;One more question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TileHatch.PNG" style="width: 645px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/401075i7AB95295663A5132/image-size/large?v=v2&amp;amp;px=999" role="button" title="TileHatch.PNG" alt="TileHatch.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The left is like the SuperHatch suggestion @Anonymous&amp;nbsp;attached to Post 2.&amp;nbsp; The right would take less code.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 17:24:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7378178#M115011</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-09-13T17:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7379383#M115012</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;;-------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Written by HatchKitCS&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HatchKitCS (c)1990-2017 Cadro Pty Ltd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.hatchkit.com.au" target="_blank"&gt;www.hatchkit.com.au&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;-------------------------------------------------------------------------&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;%VERSION=3.0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;%UNITS=INCH&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*Andrew6P9V9grout3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;%TYPE=MODEL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0,0,0,-603,-603,300,-606&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;89.9447802041,300,0,113364.057228,-4.7434532941,600,-114573.053496&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;180,300,600,603,603,300,-606&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-90.0552197959,0,600,113364.057228,-4.7434532941,600,-114573.053496&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0,303,0,-603,-603,600,-306&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;89.9447802041,903,0,113364.057228,-4.7434532941,600,-114573.053496&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;180,903,600,603,603,600,-306&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-90.0552197959,303,600,113364.057228,-4.7434532941,600,-114573.053496&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This skewed arrangement requires 8 defining elements whereas&amp;nbsp;any rectangular arrangement would require 16.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This pattern has been generated to load to Revit as I note&amp;nbsp;you have also posted a request in that category.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note you should load&amp;nbsp;the HatchKit Add-In for Revit and utilise its Import command to load this pattern to Revit (any version between 2013 and 2018 inclusive)&amp;nbsp;as it will be rejected as too large by&amp;nbsp;the Revit Fill Manager.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hugh Adamson&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.hatchKit.com.au" target="_blank"&gt;www.hatchKit.com.au&lt;/A&gt;&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>Thu, 14 Sep 2017 04:03:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7379383#M115012</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2017-09-14T04:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380077#M115014</link>
      <description>&lt;P&gt;Hmm my reply didn't post :S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kent,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The one on the right, continuous stagger, is exactly what I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 10:36:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380077#M115014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T10:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380253#M115015</link>
      <description>&lt;P&gt;Either something was drawn wrong in the objects from which Hatchkit was asked to generate that code, or Hatchkit itself is flawed.&amp;nbsp; What's with a line set at an angle of &lt;FONT face="Courier New"&gt;89.9447802041&lt;/FONT&gt; degrees, and an X-offset value of &lt;FONT face="Courier New"&gt;113364.057228&lt;/FONT&gt; units?&amp;nbsp; This should have only 0- and 90- degree directions [or could include 180 and/or 270, but there's no need], and offset values like 303/603/903/1203.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, they wanted the origin at the &lt;EM&gt;middle of a joint intersection&lt;/EM&gt;, not at the &lt;EM&gt;corner of a tile,&lt;/EM&gt; as this would do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm&amp;nbsp;prepared to do something now that there's an&amp;nbsp;answer to my stack-vs.-stagger question -- coming soon....&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 11:57:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380253#M115015</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-09-14T11:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380288#M115016</link>
      <description>&lt;P&gt;Andrew,&lt;/P&gt;
&lt;P&gt;Use the native pattern "AR-B88". It is a square-tiled hatch. Set the ORIGIN where is convenient for you (bottom-left of the border etc)&lt;/P&gt;
&lt;P&gt;To set the proper scale, select the hatch and change the scale in the properties dialog.&lt;/P&gt;
&lt;P&gt;Type MEASUREMENT to see the hatch pattern used. 0 means Imperial and 1 means Metric.&lt;/P&gt;
&lt;P&gt;For MEASUREMENT = 0, set the scale to &lt;STRONG&gt;TILE_DIM/8&lt;/STRONG&gt;. For you, it should be &lt;STRONG&gt;603/8&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;For MEASUREMENT = 1, set the scale to &lt;STRONG&gt;TILE_DIMx10/2032.&lt;/STRONG&gt; i.e.&lt;STRONG&gt; 6030/2032.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sq-tile.gif" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/401441iA520A238B63FB515/image-size/large?v=v2&amp;amp;px=999" role="button" title="sq-tile.gif" alt="sq-tile.gif" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 12:05:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380288#M115016</guid>
      <dc:creator>phanaem</dc:creator>
      <dc:date>2017-09-14T12:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380461#M115017</link>
      <description>&lt;P&gt;Hi Kent,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is nothing wrong, if you actually try&amp;nbsp;the pattern in practice you will&amp;nbsp;see the slight difference&amp;nbsp;from vertical (0.055 degrees) or about 0.5mm at 600mm is imperceptible. &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This allows the skew to eventually line up properly &amp;nbsp;over the skipped interval of&amp;nbsp;&lt;SPAN&gt;113364.05722. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I took advantage of OP's not being too concerned about the origin.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To be honest, there &lt;EM&gt;was&lt;/EM&gt; an error in my posting, to draw the pattern within a rectangular arrangement you will need 72 elements, not 16 and certainly not the 8 that form the pattern I published. &amp;nbsp;Rather less work to lay out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hugh&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>Thu, 14 Sep 2017 12:43:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380461#M115017</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2017-09-14T12:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380940#M115018</link>
      <description>&lt;P&gt;Here is another where the vertical joints are offset slightly to allow the repetition to line up in the same way as those laying the tiles would normally do to follow a wall&amp;nbsp;-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;;-------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Written by HatchKitCS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HatchKitCS (c)1990-2017 Cadro Pty Ltd &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.hatchkit.com.au" target="_blank"&gt;www.hatchkit.com.au&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;-------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;%VERSION=3.0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;%UNITS=INCH&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*Andrew6P9V9grout3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;%TYPE=MODEL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-90,1,601.5,603,-302,600,-1209&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-90,904,601.5,603,-302,600,-1209&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0,1,1.5,-302,-603,300,-606&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0,1,601.5,-302,-603,300,-606&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-90,301,601.5,603,-302,600,-1209&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;180,904,601.5,302,603,600,-306&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;180,904,1.5,302,603,600,-306&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;90,304,1.5,603,-302,600,-1209&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This pattern has an enclosing&amp;nbsp;template&amp;nbsp;906mm wide by 603 tall overall which drifts a little to the left if laid so each 4-way grout joint&amp;nbsp;exactly lines up and the enclosing rectangle for&amp;nbsp;such an orthogonally laid pattern can be surprisingly large and daunting to fill in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hugh Adamson&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:45:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7380940#M115018</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2017-09-14T14:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7381146#M115019</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;...&amp;nbsp;-- coming soon....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, I find that this can't be done in the usual way--something's got to give.&amp;nbsp; Either &lt;FONT color="#ff0000"&gt;A)&lt;/FONT&gt; you accept the skew in the HatchKit version, or &lt;FONT color="#ff0000"&gt;B)&lt;/FONT&gt; you make the sizes &lt;EM&gt;nominal&lt;/EM&gt; between centers of joints, or &lt;FONT color="#ff0000"&gt;C)&lt;/FONT&gt; the larger tiles have to be 600 units high x 60&lt;STRONG&gt;3&lt;/STRONG&gt; units wide, as in the image [which visually exaggerates the joint widths for clarity], or &lt;FONT color="#ff0000"&gt;D)&lt;/FONT&gt;&amp;nbsp;you accept a &lt;EM&gt;slight offset&lt;/EM&gt; between vertical joints, which&amp;nbsp;will require a &lt;EM&gt;very&lt;/EM&gt;&amp;nbsp; much longer pattern definition, or &lt;FONT color="#ff0000"&gt;E)&lt;/FONT&gt; you do it as a &lt;EM&gt;single&lt;/EM&gt;-line pattern, without showing both sides of the joints.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way for this to work practically as a pattern definition with clean angles and offsets and 8 lines of code is for things to &lt;EM&gt;line up&lt;/EM&gt;&amp;nbsp; in a certain way -- the white segments [chosen arbitrarily -- the right edges of the&amp;nbsp;tiles in every third course] would be&amp;nbsp;defined in &lt;EM&gt;one&lt;/EM&gt;&amp;nbsp; lineset definition, and for that to be viable, must align.&amp;nbsp; If the joints line up for that purpose [the yellow phantom lines], and the smaller tiles are 300 units wide, and the joints are 3 units wide, then the larger tile &lt;EM&gt;must be 60&lt;STRONG&gt;3&lt;/STRONG&gt; units wide&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HatchExample.PNG" style="width: 278px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/401592iB6BCDB754C974D09/image-size/large?v=v2&amp;amp;px=999" role="button" title="HatchExample.PNG" alt="HatchExample.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the larger tiles&amp;nbsp;are really 600 units wide, then there will be a slight offset/misalignment between vertical joints, either&lt;EM&gt; at&lt;/EM&gt;&amp;nbsp; the crossings &lt;FONT color="#ff9900"&gt;[EDIT:&lt;/FONT&gt; looks like that's &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/61062"&gt;@hugha&lt;/a&gt;'s approach in Post 11&lt;FONT color="#ff9900"&gt;]&lt;/FONT&gt; or comparing joints 3 courses apart &lt;FONT color="#ff9900"&gt;[&lt;/FONT&gt;which is what would take the very much longer definition in my&lt;FONT color="#ff0000"&gt; D)&lt;/FONT&gt; option above&lt;FONT color="#ff9900"&gt;]&lt;/FONT&gt;.&amp;nbsp; &lt;EM&gt;And&lt;/EM&gt;&amp;nbsp; that must be true for the physical installation of tiles as well as in the AutoCAD pattern definition, which means that a &lt;EM&gt;single&lt;/EM&gt;-line pattern would have to be slightly off from the reality.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 15:54:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7381146#M115019</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-09-14T15:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7382367#M115020</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the tiles are laid so all 4-way grout intersections form a straight cross then every third row will drift to the left by 3mm. &amp;nbsp;A practical installer would cater for this by laying each third row offset to the right by 3mm or more tidily each row by 1mm to avoid the extra work of cutting successively larger strips from the majority of tiles along the left and right. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An unadjusted pattern in a strictly rectangular arrangement will repeat &amp;nbsp;vertically when all vertical elements align which will happen after the pattern drifts to the left by 906 mm, requiring 906 rows of tiles. &amp;nbsp;So it would require&amp;nbsp;rather more than the 72 &amp;nbsp;tile-edger elements as I previously estimated, instead requiring &amp;nbsp;906*8 = 7248 to fit in a rectangular arrangement&amp;nbsp;measuring 906*603 = 546,308mm high and 303+603 = 906mm wide. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This impractically large result imposed by confining patterns to a purely rectangular arrangement can be&amp;nbsp;avoided&amp;nbsp;by&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) &amp;nbsp; adopting a skewed arrangement containing slight misalignments (my first submission) or&lt;/P&gt;
&lt;P&gt;2) &amp;nbsp; mimicking a practical tiler (my second). &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a rather extreme example of a problem that occurs all too often with mixed tiling patterns. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A shrewd manufacturer would reduce the tiles' actual sizes to allow for grout. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&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, 15 Sep 2017 02:11:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7382367#M115020</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2017-09-15T02:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7382716#M115021</link>
      <description>&lt;P&gt;Who would have thought this pattern could get so complicated?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for explaining this in depth. I think I can deal with the larger tile being 603 in width.&lt;/P&gt;&lt;P&gt;I am adding&amp;nbsp;vertical (height) dimensions for this tiling layout, not horizontal dimensions. Therefore it's not a big problem.&lt;/P&gt;&lt;P&gt;You can still achieve the continuous stagger pattern, correct?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 07:50:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7382716#M115021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-15T07:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7383131#M115022</link>
      <description>&lt;P&gt;Adopting a slightly larger tile that won't markedly affect the overall appearance is a very sensible and &amp;nbsp;pragmatic solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;;-------------------------------------------------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Written by HatchKitCS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HatchKitCS (c)1990-2017 Cadro Pty Ltd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.hatchkit.com.au" target="_blank"&gt;www.hatchkit.com.au&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;-------------------------------------------------------------------------------&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;;%VERSION=3.0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;%UNITS=MM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*tiles300and603&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;;%TYPE=MODEL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-90,1.5,-1.5,603,303,600,-1209&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0,1.5,-601.5,303,-603,603,-306&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0,1.5,-1.5,303,-603,603,-306&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;180,-1.5,-1.5,-303,603,300,-609&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-90,-301.5,-1.5,603,303,600,-1209&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-90,-1.5,-1.5,603,303,600,-1209&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0,-301.5,-601.5,303,-603,300,-609&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-90,604.5,-1.5,603,303,600,-1209&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Should load to Revit without issues.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hugh Adamson&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 11:31:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7383131#M115022</guid>
      <dc:creator>hugha</dc:creator>
      <dc:date>2017-09-15T11:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7383288#M115023</link>
      <description>&lt;P&gt;I haven't read your requirements to code for what you exactly need, but I did something for myself based on pattern picture you provided... It's based on my hatch make routines... So here is it (mortar - gaps are equal in x/y directions - I haven't dive even more in the task as I think it's good and as it is now)...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:hm-2platesrun ( / ss ch apth asupppth f ass scal w1 w2 h m )

  (vl-load-com)

  (prompt "\nHATCH MAKE")
  (print)
  (setenv "MaxHatch" "10000000")
  (prompt "\nSelect boundary...")
  (setq ss (ssget))
  (print)
  (if (null *w1*)
    (progn
      (initget 7)
      (setq w1 (getdist "\nPick or specify width of 1st plate : "))
      (setq *w1* w1)
    )
    (progn
      (initget 6)
      (setq w1 (getdist (strcat "\nPick or specify width 1st plate &amp;lt;" (rtos *w1* 2 8) "&amp;gt; : ")))
      (if (null w1)
        (setq w1 *w1*)
        (setq *w1* w1)
      )
    )
  )
  (if (null *w2*)
    (progn
      (initget 7)
      (setq w2 (getdist "\nPick or specify width of next adjacent plate : "))
      (setq *w2* w2)
    )
    (progn
      (initget 6)
      (setq w2 (getdist (strcat "\nPick or specify width of next adjacent plate &amp;lt;" (rtos *w2* 2 8) "&amp;gt; : ")))
      (if (null w2)
        (setq w2 *w2*)
        (setq *w2* w2)
      )
    )
  )
  (if (null *h*)
    (progn
      (initget 7)
      (setq h (getdist "\nPick or specify height of plates : "))
      (setq *h* h)
    )
    (progn
      (initget 6)
      (setq h (getdist (strcat "\nPick or specify height of plates &amp;lt;" (rtos *h* 2 8) "&amp;gt; : ")))
      (if (null h)
        (setq h *h*)
        (setq *h* h)
      )
    )
  )
  (initget "Yes No")
  (setq ch (getkword "\nDo you want to implement mortar in hatch pattern [Yes/No] &amp;lt;Yes&amp;gt; : "))
  (if (null ch)
    (setq ch "Yes")
  )
  (if (= ch "Yes")
    (progn
      (alert "Width and height of plates will be reduced according to mortar width")
      (if (null *m*)
        (progn
          (initget 7)
          (setq m (getdist "\nPick or specify width of mortar of hatch pattern : "))
          (setq *m* m)
        )
        (progn
          (initget 6)
          (setq m (getdist (strcat "\nPick or specify width of mortar of hatch pattern &amp;lt;" (rtos *m* 2 8) "&amp;gt; : ")))
          (if (null m)
            (setq m *m*)
            (setq *m* m)
          )
        )
      )
    )
  )
  (setq apth (vla-get-path (vlax-get-acad-object)))
  (setq asupppth (strcat apth "\\support"))
  (setq f (open (strcat asupppth "\\hm-2platesrun.pat") "w"))
  (write-line "*HM-2PLATESRUN,HM-2PLATESRUN" f)
  (cond
    ( (eq ch "No")
      (write-line (strcat "0," (rtos (/ 0 2) 2 8) "," (rtos (/ 0 2) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w1 0) 2 8) "," (rtos (- (+ w2 0)) 2 8)) f)
      (write-line (strcat "0," (rtos (/ 0 2) 2 8) "," (rtos (- h (/ 0 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w1 0) 2 8) "," (rtos (- (+ w2 0)) 2 8)) f)
      (write-line (strcat "0," (rtos (+ w1 (/ 0 2)) 2 8) "," (rtos (/ 0 2) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w2 0) 2 8) "," (rtos (- (+ w1 0)) 2 8)) f)
      (write-line (strcat "0," (rtos (+ w1 (/ 0 2)) 2 8) "," (rtos (- h (/ 0 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w2 0) 2 8) "," (rtos (- (+ w1 0)) 2 8)) f)
      (write-line (strcat "0," (rtos (/ 0 2) 2 8) "," (rtos (+ h (/ 0 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w2 0) 2 8) "," (rtos (- (+ w1 0)) 2 8)) f)
      (write-line (strcat "0," (rtos (+ w2 (/ 0 2)) 2 8) "," (rtos (+ h (/ 0 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w1 0) 2 8) "," (rtos (- (+ w2 0)) 2 8)) f)
      (write-line (strcat "0," (rtos (/ 0 2) 2 8) "," (rtos (- (* 2 h) (/ 0 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w2 0) 2 8) "," (rtos (- (+ w1 0)) 2 8)) f)
      (write-line (strcat "0," (rtos (+ w2 (/ 0 2)) 2 8) "," (rtos (- (* 2 h) (/ 0 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w1 0) 2 8) "," (rtos (- (+ w2 0)) 2 8)) f)
      (write-line (strcat "90," (rtos (/ 0 2) 2 8) "," (rtos (/ 0 2) 2 8) "," (rtos h 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h 0) 2 8) "," (rtos (- 0) 2 8)) f)
      (write-line (strcat "90," (rtos (- w1 (/ 0 2)) 2 8) "," (rtos (/ 0 2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h 0) 2 8) "," (rtos (- (+ h 0)) 2 8)) f)
      (write-line (strcat "90," (rtos (+ w1 (/ 0 2)) 2 8) "," (rtos (/ 0 2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h 0) 2 8) "," (rtos (- (+ h 0)) 2 8)) f)
      (write-line (strcat "90," (rtos (- w2 (/ 0 2)) 2 8) "," (rtos (+ h (/ 0 2)) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h 0) 2 8) "," (rtos (- (+ h 0)) 2 8)) f)
      (write-line (strcat "90," (rtos (+ w2 (/ 0 2)) 2 8) "," (rtos (+ h (/ 0 2)) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h 0) 2 8) "," (rtos (- (+ h 0)) 2 8)) f)
      (write-line (strcat "90," (rtos (- (+ w1 w2) (/ 0 2)) 2 8) "," (rtos (/ 0 2) 2 8) "," (rtos h 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h 0) 2 8) "," (rtos (- 0) 2 8)) f)
    )
    ( (eq ch "Yes")
      (write-line (strcat "0," (rtos (/ m 2) 2 8) "," (rtos (/ m 2) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w1 m) 2 8) "," (rtos (- (+ w2 m)) 2 8)) f)
      (write-line (strcat "0," (rtos (/ m 2) 2 8) "," (rtos (- h (/ m 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w1 m) 2 8) "," (rtos (- (+ w2 m)) 2 8)) f)
      (write-line (strcat "0," (rtos (+ w1 (/ m 2)) 2 8) "," (rtos (/ m 2) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w2 m) 2 8) "," (rtos (- (+ w1 m)) 2 8)) f)
      (write-line (strcat "0," (rtos (+ w1 (/ m 2)) 2 8) "," (rtos (- h (/ m 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w2 m) 2 8) "," (rtos (- (+ w1 m)) 2 8)) f)
      (write-line (strcat "0," (rtos (/ m 2) 2 8) "," (rtos (+ h (/ m 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w2 m) 2 8) "," (rtos (- (+ w1 m)) 2 8)) f)
      (write-line (strcat "0," (rtos (+ w2 (/ m 2)) 2 8) "," (rtos (+ h (/ m 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w1 m) 2 8) "," (rtos (- (+ w2 m)) 2 8)) f)
      (write-line (strcat "0," (rtos (/ m 2) 2 8) "," (rtos (- (* 2 h) (/ m 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w2 m) 2 8) "," (rtos (- (+ w1 m)) 2 8)) f)
      (write-line (strcat "0," (rtos (+ w2 (/ m 2)) 2 8) "," (rtos (- (* 2 h) (/ m 2)) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (- w1 m) 2 8) "," (rtos (- (+ w2 m)) 2 8)) f)
      (write-line (strcat "90," (rtos (/ m 2) 2 8) "," (rtos (/ m 2) 2 8) "," (rtos h 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h m) 2 8) "," (rtos (- m) 2 8)) f)
      (write-line (strcat "90," (rtos (- w1 (/ m 2)) 2 8) "," (rtos (/ m 2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h m) 2 8) "," (rtos (- (+ h m)) 2 8)) f)
      (write-line (strcat "90," (rtos (+ w1 (/ m 2)) 2 8) "," (rtos (/ m 2) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h m) 2 8) "," (rtos (- (+ h m)) 2 8)) f)
      (write-line (strcat "90," (rtos (- w2 (/ m 2)) 2 8) "," (rtos (+ h (/ m 2)) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h m) 2 8) "," (rtos (- (+ h m)) 2 8)) f)
      (write-line (strcat "90," (rtos (+ w2 (/ m 2)) 2 8) "," (rtos (+ h (/ m 2)) 2 8) "," (rtos (* 2 h) 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h m) 2 8) "," (rtos (- (+ h m)) 2 8)) f)
      (write-line (strcat "90," (rtos (- (+ w1 w2) (/ m 2)) 2 8) "," (rtos (/ m 2) 2 8) "," (rtos h 2 8) "," (rtos (+ w1 w2) 2 8) "," (rtos (- h m) 2 8) "," (rtos (- m) 2 8)) f)
    )
  )
  (close f)
  (initget 1 "Yes No")
  (setq ass (getkword "\nAssociative hatch [Yes/No] ? "))
  (initget 6)
  (setq scal (getreal "\nScale factor of hatch &amp;lt;1.0&amp;gt; : "))
  (if (null scal) 
    (setq scal 1)
  )
  (vl-cmdf "_.-BHATCH" "_S" ss "" "_A" "_A" ass "" "_P" "HM-2PLATESRUN" scal "" "")
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;HTH., Marko Ribar, d.i.a.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 12:39:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7383288#M115023</guid>
      <dc:creator>marko_ribar</dc:creator>
      <dc:date>2017-09-15T12:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7390098#M115024</link>
      <description>&lt;P&gt;I saw you gave kudo and soultion to the offered hatch pattern example, but isn't my version more flexible... All you have to do is spend some time input values and pat file will be created... From that on you would be able to reconstruct it to work with Revit model hatching... If you are interested, I have and Kent's right version (your choice), but I didn't get kudo or any acknowledgement for my efforts... So I am not posting it until I don't get some credit for it, FYI...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;M.R.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 09:09:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7390098#M115024</guid>
      <dc:creator>marko_ribar</dc:creator>
      <dc:date>2017-09-19T09:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7390230#M115025</link>
      <description>&lt;P&gt;This is the second time I see you fishing for kudos Marko and I probably have missed some other times as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although kudos are nice and show appreciation for one's work, I'm not on this forum for collecting kudos but to help people.&lt;/P&gt;&lt;P&gt;I personally will never, never, hold any possible solution back or hostage because someone didn't give me a kudo and beg for one before posting my solution. Giving kudos is voluntary and should never be a condition before helping anyone no matter what. But that's me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just my 2 cents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS. you actually say that you will not post your solution until you don't get some appreciation. Well, you don't get it, so why not post it&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://forums.autodesk.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 10:07:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7390230#M115025</guid>
      <dc:creator>DannyNL</dc:creator>
      <dc:date>2017-09-19T10:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7390252#M115026</link>
      <description>&lt;P&gt;Why to post it then, when no one will grant me that I'll get one if I post it... This way I am knowing that I am on right path to get some credits... It's not fishing, I usually do things for my personal purposes, and if I see that I can help I do so, otherwise you wouldn't see no any code that I posted... If you are expecting that someone will voluntarily post his copyrighted material just for publicity I think you are wrong... After all we all do thing for some reasons, I just don't see that anyone is earning for his devotion and spending time giving solutions and explaining problems that evolve through time to grant him/her decent conditions for further research and improvement in both directions and personal and for community...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My 2 cents...&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 10:22:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7390252#M115026</guid>
      <dc:creator>marko_ribar</dc:creator>
      <dc:date>2017-09-19T10:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: help with a hatch pattern</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7390297#M115027</link>
      <description>&lt;P&gt;And there you go wrong!&lt;/P&gt;&lt;P&gt;I have absolutely no gain whatsoever in helping people and/or posting my code here other than that I make people's life somewhat easier and maybe a bit happier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, if something takes me hours/days/weeks to code I just will not start on it as I code for this forum for fun and in between my other activities. And if you think you put too much time and effort into some code just to give it away for free (kudos, money, coffee, beer, etc.) then you should tell so upfront and not afterwards by stating 'I have a solution but I will not post until you pay me/give me a kudo'. To me that's a really strange mindset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But back on topic; glad Andrew has a working solution.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 10:56:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-a-hatch-pattern/m-p/7390297#M115027</guid>
      <dc:creator>DannyNL</dc:creator>
      <dc:date>2017-09-19T10:56:56Z</dc:date>
    </item>
  </channel>
</rss>

