<?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: Sprinkler in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11388578#M41572</link>
    <description>&lt;P&gt;"&lt;SPAN&gt;should the 4m spacing be in the direction of the longer dimension of the space [whether that's X or Y]" This is the right choice.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 18:49:08 GMT</pubDate>
    <dc:creator>saber.elkassas</dc:creator>
    <dc:date>2022-08-29T18:49:08Z</dc:date>
    <item>
      <title>Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387528#M41563</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to set a constant values for X and Y spacing&lt;/P&gt;&lt;P&gt;If Light Hazard: X spacing = 4000 mm Y spacing = 4000 mm&lt;/P&gt;&lt;P&gt;If Ordinary Hazard: X spacing = 4000 mm Y spacing = 3000 mm&lt;/P&gt;&lt;P&gt;If Extra Hazard: X spacing = 3000 mm Y spacing = 3000 mm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody support with that?&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/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 12:37:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387528#M41563</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-29T12:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387683#M41564</link>
      <description>&lt;P&gt;Have you come across my Fire Fighting Programs?&lt;/P&gt;&lt;P&gt;Here you go:&amp;nbsp;&lt;A href="https://autolispprograms.wordpress.com/fire-fighting/" target="_blank" rel="noopener"&gt;https://autolispprograms.wordpress.com/fire-fighting/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 13:12:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387683#M41564</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2022-08-29T13:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387686#M41565</link>
      <description>&lt;P&gt;Explain further.&amp;nbsp; The spacings in the drawing are not any of your "constant" values.&amp;nbsp; Do you mean to set &lt;EM&gt;maximum&lt;/EM&gt; values at those you list, rather than those built into that code?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 13:12:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387686#M41565</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-08-29T13:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387754#M41566</link>
      <description>&lt;P&gt;Hi Kent,&lt;BR /&gt;&lt;BR /&gt;I just want to make the values between the sprinkler is constant either 3 or 4 m .. for example if the user selected ordinary, then the lisp with distribute the sprinkler at every 4 m over x and 3 m over y .. and maintain a maximum spacing 2.3 m to the wall for light and ordinary and 1.85 m for extra hazard.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 13:36:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387754#M41566</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-29T13:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387772#M41567</link>
      <description>Thanks Tharwat&lt;BR /&gt;Unfortunately, I can use only Lisp or VLX file due to my PC security .. If you have the same on these formats I would appreciate it.</description>
      <pubDate>Mon, 29 Aug 2022 13:42:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387772#M41567</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-29T13:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387792#M41568</link>
      <description>&lt;P&gt;Yeah certainly I do have the programs in .lsp and .vlx formats because I am the developer, so if you would like to try the &lt;STRONG&gt;Trial&lt;/STRONG&gt; &lt;STRONG&gt;version&lt;/STRONG&gt; then please let me know which ones you are after to email you the files in private message.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 13:48:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387792#M41568</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2022-08-29T13:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387800#M41569</link>
      <description>Yes, please .. email it to: saber.elkassas@gmail.com</description>
      <pubDate>Mon, 29 Aug 2022 13:52:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387800#M41569</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-29T13:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387845#M41570</link>
      <description>&lt;P&gt;I have emailed you the files so please check your email inbox but if not found , then you may need to check spam folder.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 14:08:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11387845#M41570</guid>
      <dc:creator>_Tharwat</dc:creator>
      <dc:date>2022-08-29T14:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11388008#M41571</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12555075"&gt;@saber.elkassas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;BR /&gt;I just want to make the values between the sprinkler is constant either 3 or 4 m .. for example if the user selected ordinary, then the lisp with distribute the sprinkler at every 4 m over x and 3 m over y .. and maintain a maximum spacing 2.3 m to the wall for light and ordinary and 1.85 m for extra hazard.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So, not what the sample drawing showed after all, and now with an added element.&amp;nbsp; Next question:&amp;nbsp; Where it's not the same spacing in both directions, do you &lt;EM&gt;always&lt;/EM&gt; want the 4m in the X direction and the 3m in the Y direction, regardless of the proportions of the space?&amp;nbsp; Or should the 4m spacing be in the direction of the longer dimension of the space [whether that's X or Y], which I expect would usually be a better outcome?&amp;nbsp; Or maybe some calculation could figure in which orientation the spacing to the walls would be closer to equal in both directions.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 14:56:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11388008#M41571</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-08-29T14:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11388578#M41572</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;should the 4m spacing be in the direction of the longer dimension of the space [whether that's X or Y]" This is the right choice.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 18:49:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11388578#M41572</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-29T18:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11389163#M41573</link>
      <description>&lt;P&gt;A couple of maybe's the room is rotated not Hor &amp;amp; Ver, the room is not a rectang ? Should an answer take these into account ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 01:21:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11389163#M41573</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-08-30T01:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11389410#M41574</link>
      <description>Maybe's the room is rotated not Hor &amp;amp; Ver?&lt;BR /&gt;Yes, this needs to be taken into account&lt;BR /&gt;&lt;BR /&gt;The room is not a rectangle ?&lt;BR /&gt;Yes, this also needs to be considered&lt;BR /&gt;&lt;BR /&gt;I think you know this lisp before:)&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Aug 2022 04:25:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11389410#M41574</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-30T04:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11390189#M41575</link>
      <description>To summarize the required modifications:&lt;BR /&gt;1- round down the x and y spacing to nearest 0.25 m (ignore the constant spacing modification).&lt;BR /&gt;2- When the spacing between the wall and the sprinkler is 2.3 m for light and ordinary or 1.85 m for extra, this should be accepted and no need to add more columns or rows.&lt;BR /&gt;3- Sometimes the rooms are rotated nor horizontal or vertical which needs to be considered.&lt;BR /&gt;4- sometimes the room is not rectangular which needs to be considered also.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Aug 2022 11:30:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11390189#M41575</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-30T11:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11390275#M41576</link>
      <description>&lt;P&gt;Aside from the problem of being a moving target, your new set of criteria make it pretty much impossible to make a generic routine.&amp;nbsp; Suppose a room is shaped like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1661859845769.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1109689iC364ECA57C950AF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1661859845769.png" alt="Kent1Cooper_0-1661859845769.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What should the orientation of the sprinkler head rows/columns?&amp;nbsp; If not at equal spacing in both directions, which direction should have the longer spacing?&amp;nbsp; The spacing that divides at one dimension to work well with distances from the walls on one side [assuming that being parallel to some edge is desirable] will be wrong for the other side.&amp;nbsp; Etc., etc.&amp;nbsp; How could a routine be instructed to determine such things?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the original routine uses ARRAY to make columns and rows of heads.&amp;nbsp; Even with an unambiguous room shape, that would not be able to do, for example, this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_1-1661860030636.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1109690i6A1C5398E3EAF258/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_1-1661860030636.png" alt="Kent1Cooper_1-1661860030636.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I suspect you can do a whole lot of layouts manually in far less time than it would take someone to come up with something to handle all possibilities that your criteria would allow.&amp;nbsp; I suggest an Array at the appropriate [maximum] spacings for the hazard level, covering a larger area than the room, which you can slide around and tweak the column and row spacings in, giving it multiple-of-0.25m values, until it "lands" at an arrangement in which those inside the room fall in what seem the best places.&amp;nbsp; Then Explode the Array object and delete the heads outside the room.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 12:03:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11390275#M41576</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-08-30T12:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11390299#M41577</link>
      <description>Hi Kent,&lt;BR /&gt;&lt;BR /&gt;I agree with you for the irregular room shape .. this type of rooms are not usually found .. so we can ignore it and it can be done manually one by one.&lt;BR /&gt;&lt;BR /&gt;I think the other three criteria are possible since it can be general criteria .. Please let me know if something is not clear in this regard.&lt;BR /&gt;&lt;BR /&gt;Thanks for your always support since starting this routine&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Aug 2022 12:12:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11390299#M41577</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-30T12:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11391043#M41578</link>
      <description>&lt;P&gt;Another question:&amp;nbsp; What should the spacings be for the Combustible/Non-combustible choices within the Light hazard level?&amp;nbsp; Or do you want only one Light setting, without that choice under it?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 17:21:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11391043#M41578</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-08-30T17:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11391062#M41579</link>
      <description>Hi Kent,&lt;BR /&gt;&lt;BR /&gt;The same existing values and options are ok and still valid.&lt;BR /&gt;&lt;BR /&gt;Many thanks</description>
      <pubDate>Tue, 30 Aug 2022 17:34:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11391062#M41579</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-30T17:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11391141#M41580</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12555075"&gt;@saber.elkassas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;.... The same existing values and options are ok and still valid. ....&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That doesn't quite answer my question, though it seems to confirm that you still want the Combustible/Non-Combustible choice within the Light-hazard category.&amp;nbsp; The values in the earlier code are for spacing [always &lt;EM&gt;the same&lt;/EM&gt; in both directions] and &lt;EM&gt;maximum area&lt;/EM&gt; that a head may cover.&amp;nbsp; Your settings as described are for spacing [in some cases &lt;EM&gt;different&lt;/EM&gt; in the two directions] and maximum&amp;nbsp;&lt;EM&gt;distance from walls&lt;/EM&gt; around the perimeter.&amp;nbsp; What should those be for Light-Combustible vs. Light-Non-combustible?&amp;nbsp; I assume one of them should use the values you described originally for [just plain] Light, but which one, and what should they be for the other one?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 18:16:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11391141#M41580</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-08-30T18:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11392001#M41581</link>
      <description>&lt;P&gt;I think you concern is related to the 2.3 m requirement .. so, I will explain the issue with one example:&lt;BR /&gt;If I have room with with length (or width) of 9.2 m with light hazard .. then it can be cover by two heads spaced by 4.6 m and the spacing between the wall and the head is 2.3 m .. which us acceptable. But by using the current routine, it consider this is not acceptable and increase one more head .. so, the issue only appears if the room length or width is one of 4.6 m multiples and same for the extra hazard with 3.7 m multiples.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 04:27:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11392001#M41581</guid>
      <dc:creator>saber.elkassas</dc:creator>
      <dc:date>2022-08-31T04:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sprinkler</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11392633#M41582</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12555075"&gt;@saber.elkassas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I think you concern is related to the 2.3 m requirement .. ....&amp;nbsp;room with with length (or width) of 9.2 m with light hazard .. then it can be cover by two heads spaced by 4.6 m .... which us acceptable. ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, my latest concern was about the difference between Combustible and Non-combustible within the "Light" hazard category.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But now you also have a contradiction:&amp;nbsp; 4.6m as a head spacing would not be acceptable under item 1 in Message 13.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 11:20:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/sprinkler/m-p/11392633#M41582</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-08-31T11:20:23Z</dc:date>
    </item>
  </channel>
</rss>

