<?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: Subject: Divide closed object into equals parts with gap in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579023#M73368</link>
    <description>&lt;P&gt;Well, not circular blocks with wipeouts but multi-sided polygons will work.&lt;/P&gt;</description>
    <pubDate>Sun, 14 Jun 2020 17:56:37 GMT</pubDate>
    <dc:creator>john.uhden</dc:creator>
    <dc:date>2020-06-14T17:56:37Z</dc:date>
    <item>
      <title>Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578740#M73358</link>
      <description>&lt;P&gt;Hi everyone, I'm new to AutoLisp and started using those few days ago which I found helping a lot to my work.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This Lisp I found on the internet can do part of my work. However I need to leave a gap between every sections after dividing. Please advise me on this.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks so much.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 11:55:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578740#M73358</guid>
      <dc:creator>40901305</dc:creator>
      <dc:date>2020-06-14T11:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578812#M73359</link>
      <description>&lt;P&gt;You should give more details how would you like gapes to be created. This code has been written by &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt; so it would be fair that to let him make adjustments.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 13:34:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578812#M73359</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2020-06-14T13:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578832#M73360</link>
      <description>&lt;P&gt;Thanks hak_vz, I meaned after division, between sections which were divided, there are gaps that seperate them. Sorry &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;, please feel free to help me out with this. I'm appreciated with many thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 13:46:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578832#M73360</guid>
      <dc:creator>40901305</dc:creator>
      <dc:date>2020-06-14T13:46:48Z</dc:date>
    </item>
    <item>
      <title>Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578848#M73361</link>
      <description>&lt;P&gt;You can do this manually using the command _LENGTHEN. An then you can do it in the lisp macro as well.&lt;/P&gt;
&lt;P&gt;Modify the function subdiv and add a lengthen command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="ruby"&gt; (defun subdiv (obj brks)
 
    (repeat brks
     (command "_.break" obj (setq pt (trans (vlax-curve-getPointAtDist obj seclen) 0 1)) "@" ); end command
      ; create a -1 gap on the initial entity
      (command "_.Lengthen" "_delta" -1 (list obj pt) "")
      (setq obj (entlast))
    ); end repeat
  ); end defun - subdiv&lt;/LI-CODE&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>Sun, 14 Jun 2020 14:00:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578848#M73361</guid>
      <dc:creator>Udo_Huebner</dc:creator>
      <dc:date>2020-06-14T14:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578924#M73362</link>
      <description>&lt;P&gt;Thanks a lot Udo, I just tested with your additional code, work well while dividing line and spline. However when using for closed object, when using the code it seems not work very well, and can not work on circle also. Maybe needing some more adjustment.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 15:57:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578924#M73362</guid>
      <dc:creator>40901305</dc:creator>
      <dc:date>2020-06-14T15:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578951#M73363</link>
      <description>&lt;P&gt;Yes, it was just an idea of how to solve it, not the complete solution for every situation.&lt;/P&gt;
&lt;P&gt;The case of circles, ellipses and closed splines is not completely handled by my code change.&lt;BR /&gt;This is because the gap is currently being added to the part that was cut off from the beginning of the object. So the length of the last segment remains unchanged so far. I don't know if this is a problem for you.&lt;/P&gt;
&lt;P&gt;You still have to explain in more detail how the gap should be designed. So there is still much room for improvement.&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>Sun, 14 Jun 2020 16:43:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578951#M73363</guid>
      <dc:creator>Udo_Huebner</dc:creator>
      <dc:date>2020-06-14T16:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578974#M73364</link>
      <description>&lt;P&gt;Thanks Udo for explanation, I just did an example as attachment. When dividing closed object, also create a gap at the cut point. I have to deal with around 350 closed objects so one by one is frustrating. That's why I'm looking for a lisp that let me choose multiple closed object and when I hit enter, automatically divide by 2 and add 2 gaps.&amp;nbsp; The one written by Kent Cooper help me out with automatic dividing.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 17:03:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578974#M73364</guid>
      <dc:creator>40901305</dc:creator>
      <dc:date>2020-06-14T17:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578992#M73365</link>
      <description>&lt;P&gt;Is the gap size fixed or do you prefer to ask for the gap?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 17:20:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9578992#M73365</guid>
      <dc:creator>Udo_Huebner</dc:creator>
      <dc:date>2020-06-14T17:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579002#M73366</link>
      <description>&lt;P&gt;Dear Udo, could you please help me to make it ask for the gap at first. Thanks so much&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 17:29:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579002#M73366</guid>
      <dc:creator>40901305</dc:creator>
      <dc:date>2020-06-14T17:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579014#M73367</link>
      <description>&lt;UL&gt;
&lt;LI&gt;if the Objects are closed, do you expect the first gap on the start point or elsewhere?&lt;/LI&gt;
&lt;LI&gt;And whats about multi select objects?&lt;/LI&gt;
&lt;LI&gt;what AutoCAD version you are using? The error handler contains (command..) that have to be rewritten in newer versions. See&amp;nbsp;&lt;A href="http://help.autodesk.com/view/OARX/2021/DEU/?guid=GUID-620E034A-9151-427F-B6F5-B360D14DA925" target="_blank"&gt;http://help.autodesk.com/view/OARX/2021/DEU/?guid=GUID-620E034A-9151-427F-B6F5-B360D14DA925&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;I cannot imagine the real sense of this action. In general, I would avoid breaking objects only for visual reasons. You can place circular blocks with wipeouts instead on every breakpoint.&lt;/LI&gt;
&lt;LI&gt;Please explain your intention.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 17:50:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579014#M73367</guid>
      <dc:creator>Udo_Huebner</dc:creator>
      <dc:date>2020-06-14T17:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579023#M73368</link>
      <description>&lt;P&gt;Well, not circular blocks with wipeouts but multi-sided polygons will work.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 17:56:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579023#M73368</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2020-06-14T17:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579026#M73369</link>
      <description>&lt;P&gt;Dear Udo, I'm using AutoCAD 2020 and doing a project relating to laser cutting. Making gaps remains my pieces on the board and not fall out after cut. I'm adjusting my project frequently for best fitting so needed for making gaps again and again, that's why I need applying on multiple objects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example: I divide a circle in to two equal curve, between them are 2 gaps that I can adjust.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 18:03:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579026#M73369</guid>
      <dc:creator>40901305</dc:creator>
      <dc:date>2020-06-14T18:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579039#M73370</link>
      <description>&lt;P&gt;This is eerily similar to the Stripe.lsp I recently submitted with the difference that the gap length can be specified only approximately.&amp;nbsp; It will have to be computed using the remains of a whole (integer) number of pen-downs.&lt;/P&gt;
&lt;P&gt;With that, you can try figuring it out yourself.&amp;nbsp; It's much more satisfying than just grabbing someone else's cooked and served code.&amp;nbsp; That's probably why I like cooking; the recipes I find are only a guide as to what ingredients might want to be included.&amp;nbsp; Yeah, okay, chicken is chicken but scallions are not shallots.&amp;nbsp; And if you want to get more volume out of your au poivre sauce, go ahead and mix it into some Knorr brown gravy mix.&amp;nbsp; And be brazen and throw in some sliced mushrooms, and of course the slightly sauteed chopped shallots.&amp;nbsp; I used to use the Knorr mushroom gravy mix, but I can't find it anymore here around the Jersey Shore.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 18:15:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579039#M73370</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2020-06-14T18:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579071#M73371</link>
      <description>&lt;P&gt;Ok I upload an updated version. Feel free to test. I am off for the next 2 days.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 18:42:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579071#M73371</guid>
      <dc:creator>Udo_Huebner</dc:creator>
      <dc:date>2020-06-14T18:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Subject: Divide closed object into equals parts with gap</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579214#M73372</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6523604"&gt;@40901305&lt;/a&gt;&amp;nbsp; What about if you would started your post with a clear explanation , and some sample.dwg&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp; state, making meal , need recipe,&amp;nbsp; cooking tools,&amp;nbsp; a range or an oven, and mainly WHAT you want to meal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 22:21:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divide-closed-object-into-equals-parts-with-gap/m-p/9579214#M73372</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2020-06-14T22:21:36Z</dc:date>
    </item>
  </channel>
</rss>

