<?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 Parallel continuous line hatch in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6607464#M257672</link>
    <description>&lt;P&gt;Anyone knows how to make that kind of hatch on Autocad, parallel lines that are connected from sides so it would start at a point go all the way through to the other side and move parallel and move back, it's basically all one long line. It's urgent, please give me insights or ideas other than offsetting a line and trimming and joining on the other side as I am working in a huge irregular shape that is not possible to trim all of it.&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="FB_IMG_1475825235873.jpg" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/279709i4AF6FB90A6FC02FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="FB_IMG_1475825235873.jpg" alt="FB_IMG_1475825235873.jpg" /&gt;&lt;/span&gt;﻿&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FB_IMG_1475825241469.jpg" style="width: 536px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/279710iCD31962A4B270C9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="FB_IMG_1475825241469.jpg" alt="FB_IMG_1475825241469.jpg" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2016 07:30:29 GMT</pubDate>
    <dc:creator>abdalla.safwat</dc:creator>
    <dc:date>2016-10-07T07:30:29Z</dc:date>
    <item>
      <title>Parallel continuous line hatch</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6607464#M257672</link>
      <description>&lt;P&gt;Anyone knows how to make that kind of hatch on Autocad, parallel lines that are connected from sides so it would start at a point go all the way through to the other side and move parallel and move back, it's basically all one long line. It's urgent, please give me insights or ideas other than offsetting a line and trimming and joining on the other side as I am working in a huge irregular shape that is not possible to trim all of it.&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="FB_IMG_1475825235873.jpg" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/279709i4AF6FB90A6FC02FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="FB_IMG_1475825235873.jpg" alt="FB_IMG_1475825235873.jpg" /&gt;&lt;/span&gt;﻿&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FB_IMG_1475825241469.jpg" style="width: 536px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/279710iCD31962A4B270C9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="FB_IMG_1475825241469.jpg" alt="FB_IMG_1475825241469.jpg" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 07:30:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6607464#M257672</guid>
      <dc:creator>abdalla.safwat</dc:creator>
      <dc:date>2016-10-07T07:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel continuous line hatch</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6608113#M257673</link>
      <description>Your monochrome picture is not a hatch pattern: someone drew than line by line. You'll have to do the same in AutoCAD like you have in the second image (purple color).</description>
      <pubDate>Fri, 07 Oct 2016 13:23:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6608113#M257673</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2016-10-07T13:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel continuous line hatch</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6608668#M257674</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4123081"&gt;@abdalla.safwat&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Anyone knows how to make that kind of hatch on Autocad, parallel lines that are connected from sides so it would start at a point go all the way through to the other side and move parallel and move back, it's basically all one long line. ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This will&amp;nbsp;make a &lt;EM&gt;Polyline&lt;/EM&gt; that does that [&lt;EM&gt;not&lt;/EM&gt; "make that kind of hatch," since a Hatch pattern can't be like that] &lt;EM&gt;for the second image only&lt;/EM&gt;, in which there are &lt;EM&gt;no islands&lt;/EM&gt; cut out of the middle.&amp;nbsp; It takes advantage of the fact that when you Explode a Hatch pattern, all the resulting Lines end up as the "Previous" selection, and are &lt;EM&gt;in order&lt;/EM&gt; across the Hatched area.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun C:PBFH ; = Polyline Back and Forth over Hatch
  (/ hsel lss n bf ldata)
  (if
    (and
      (setq hsel (entsel "\nSelect Hatch pattern of parallel lines to draw Polyline back and forth over: "))
      (member '(0 . "HATCH") (entget (car hsel)))
    ); and
    (progn ; then
      (command "_.explode" (car hsel))
      (setq
        lss (ssget "_P"); the Lines resulting from Exploding
        n (sslength lss); how many there are
        bf 10 ; = Back/Forth -- initial code for end of Line to start at
      ); setq
      (command "_.pline"); start one
      (repeat n
        (setq ldata (entget (ssname lss (setq n (1- n))))); next Line
        (command
          "_none" (cdr (assoc bf ldata)); start or end of Line 
          "_none" (cdr (assoc (setq bf (if (= bf 10) 11 10)) ldata)); other end
        ); command
      ); repeat
      (command ""); end Polyline
    ); progn
  ); if
); defun
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HOWEVER, it will &lt;EM&gt;not&lt;/EM&gt; do what you have in your first image, because the order of resulting Lines puts those that are collinear next to each other, so the Polyline jumps across the hole.&amp;nbsp; It's hard to imagine a way of getting it to do it as you want from a &lt;EM&gt;single&lt;/EM&gt; Hatch pattern like that -- you would probably need to Hatch in separate pieces, or in newer versions in which Hatches can be Trimmed, draw some carefully positioned Lines between the zones, make in-place Copies of the Hatch,&amp;nbsp;Trim to make them&amp;nbsp;separate in each area, then run this on each piece.&amp;nbsp;&amp;nbsp;Or, you may be able to use what it does with a single pattern, with some editing [but a lot less editing than manually drawing all the Polylines].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It does &lt;EM&gt;not&lt;/EM&gt;, but could be made to, check that the Hatch pattern selected is of a pattern with only&amp;nbsp;parallel continuous lines, nor do anything about the current Layer or Polyline width settings, nor&amp;nbsp;[if you want to do either of these] retain the original Hatch pattern nor eliminate the Lines resulting from Exploding it.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 16:32:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6608668#M257674</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2016-10-07T16:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel continuous line hatch</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6651519#M257675</link>
      <description>&lt;P&gt;You might try turning your boundary line into a dashed line type, and then play around with the LTScale, to get it to approximate what you are after.&lt;/P&gt;&lt;P&gt;Nobody is going to notice, if you get it close.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 20:43:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6651519#M257675</guid>
      <dc:creator>fkellogg</dc:creator>
      <dc:date>2016-10-27T20:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel continuous line hatch</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6651720#M257676</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3839696"&gt;@fkellogg&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;You might try turning your boundary line into a dashed line type, and then play around with the LTScale. ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not knowing what the intended use is, I couldn't say whether that would serve their purpose [though I doubt it], &lt;EM&gt;but&lt;/EM&gt; if it might, then rather than use a linetype from the DASHED or HIDDEN families, use the &lt;STRONG&gt;EVENDASH&lt;/STRONG&gt; linetype, in which &lt;EM&gt;the lengths of the dashes and gaps are equal&lt;/EM&gt;.&amp;nbsp; That&amp;nbsp;is the condition at least along &lt;EM&gt;straight&lt;/EM&gt; edges of Hatched areas in their images.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 21:43:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/6651720#M257676</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2016-10-27T21:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel continuous line hatch</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/13287764#M257677</link>
      <description>&lt;P&gt;I TRIED. ITS WORKING GOOD. BUT SOME OBJECTS NOT WORKING COMPLETELY. SEE THE ATTACHED IMAGE. DO YOU HAVE ANY SOLUTION FOR THIS??&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 08:47:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/13287764#M257677</guid>
      <dc:creator>binuntachari</dc:creator>
      <dc:date>2025-01-29T08:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel continuous line hatch</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/13291351#M257678</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8892273"&gt;@binuntachari&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... SOME OBJECTS NOT WORKING COMPLETELY. .... DO YOU HAVE ANY SOLUTION FOR THIS??&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, sorry.&amp;nbsp; That's the same issue as with internal islands in my other description -- the drawing order of the Lines resulting from Exploding the Hatch pattern "carries across" from a Line on one side of the cutout to the collinear piece on the other side.&amp;nbsp; I can't imagine a way to get a routine to recognize that situation, and to find the right other Line that it should connect to [not adjacent to it in drawing order], and to get the parts on the other side of the cutout that are out of drawing-order sequence.&amp;nbsp; I expect you're stuck with having it do what it can, and fixing parts of it.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 18:29:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/13291351#M257678</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2025-01-30T18:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel continuous line hatch</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/13296093#M257679</link>
      <description>&lt;P&gt;can you change connection make fillet (curved) in the lisp file. plzz&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 06:00:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/13296093#M257679</guid>
      <dc:creator>binuntachari</dc:creator>
      <dc:date>2025-02-03T06:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel continuous line hatch</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/13296579#M257680</link>
      <description>&lt;P&gt;I'm not sure who "you" is meant to be, but I'm trying to imagine what you mean by that.&amp;nbsp; Filleting parallel Lines results in fully half-circle Arcs, which I suppose might be what you want, if it's for something like in-floor heating pipes.&amp;nbsp; But they would, at least sometimes, extend outside the boundary of the original Hatch pattern.&amp;nbsp; Illustrate, please.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 11:43:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/parallel-continuous-line-hatch/m-p/13296579#M257680</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2025-02-03T11:43:19Z</dc:date>
    </item>
  </channel>
</rss>

