<?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: Dividing 3D Objects? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7859847#M187530</link>
    <description>&lt;P&gt;Since you constructed your solid using _LOFT, that means you have some kind op path or guideline which you could reconstruct with a _3DPOLYLINE, if you do you can use _DIVIDE on the 3DPOLYLINE, use _PTYPE to show your points and use those points for selecting at which height you wish to slice the solid.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Mar 2018 14:14:18 GMT</pubDate>
    <dc:creator>Michiel.Valcke</dc:creator>
    <dc:date>2018-03-16T14:14:18Z</dc:date>
    <item>
      <title>Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858250#M187525</link>
      <description>&lt;P&gt;Hello, First post and many thanks for all the questions I have had that your community has already answered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Searched and searched and have not yet found a solution for this conundrum-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a series of profiles through which I have created a loft. &amp;nbsp;A shaped tube, if you will. I want now to measure (divide at intervals) so as to create slices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imagine a loaf of bread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I direct the divide command I get -&amp;nbsp;Cannot divide that object.*Invalid*&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does one divide such an object?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your assistance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 01:01:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858250#M187525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-16T01:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858282#M187526</link>
      <description>&lt;P&gt;Try the &lt;STRONG&gt;slice&lt;/STRONG&gt; command!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 01:23:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858282#M187526</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-03-16T01:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858302#M187527</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried slice, but I cannot seem to make it slice 96 times .25 units apart.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 01:41:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858302#M187527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-16T01:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858423#M187528</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymouswrote:&lt;BR /&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried slice, but I cannot seem to make it slice 96 times &lt;FONT color="#ff0000"&gt;.25 units apart&lt;/FONT&gt;.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In your case you may use extrusion then subtract functions to cut with a gap of&amp;nbsp;0.25 unit width.&lt;/P&gt;&lt;P&gt;Or manually move your parts 0.25 unit apart after slicing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 02:44:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858423#M187528</guid>
      <dc:creator>BeKirra</dc:creator>
      <dc:date>2018-03-16T02:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858929#M187529</link>
      <description>&lt;P&gt;divide the 3d model ( ex Cube ) in parts you want..&lt;/P&gt;&lt;P&gt;while slicing, you need to select 3points to define the plane you are slicing..&lt;/P&gt;&lt;P&gt;ex : slicing a cube in two parts, use SLICE command, and then select 3 points to&amp;nbsp;&lt;/P&gt;&lt;P&gt;define the plane ( 2 points defines line, 3 points define a plane )&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;key is to define a plane..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope that helps..&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 08:23:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7858929#M187529</guid>
      <dc:creator>Corsten.Au</dc:creator>
      <dc:date>2018-03-16T08:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7859847#M187530</link>
      <description>&lt;P&gt;Since you constructed your solid using _LOFT, that means you have some kind op path or guideline which you could reconstruct with a _3DPOLYLINE, if you do you can use _DIVIDE on the 3DPOLYLINE, use _PTYPE to show your points and use those points for selecting at which height you wish to slice the solid.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:14:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7859847#M187530</guid>
      <dc:creator>Michiel.Valcke</dc:creator>
      <dc:date>2018-03-16T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7859884#M187531</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3585828"&gt;@Corsten.Au&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;while slicing, you need to select 3points to define the plane you are slicing..&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;key is to define a plane..&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If the desired&amp;nbsp;slicing planes are parallel to one of the coordinate planes, you don't need to spell out 3 points to define a plane each time.&amp;nbsp; You can use the XY or YZ or ZX options in Slice.&amp;nbsp; If that's the case, an AutoLisp routine would be quite easy to write that would slice it into however many equal layers [not in the AutoCAD drawing sense of the word] you want.&amp;nbsp; [One could be written to do the same if the slicing planes are&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt;&amp;nbsp; parallel to the coordinate axes, but it would be more complicated, either changing the UCS or calculating&amp;nbsp;3 points to define the plane at each level, or some such approach.]&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:23:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7859884#M187531</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-03-16T14:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7860046#M187532</link>
      <description>&lt;P&gt;Here's a fairly quick way I think you can get your 96 sections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a box 0.25 thick and long and wide enough to surround the object you want to section.&amp;nbsp; Create a line in the z direction (I am assuming your slices ar parallel to the XY plane).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;array&lt;/STRONG&gt; &lt;STRONG&gt;path&lt;/STRONG&gt; and select the vertical line then type &lt;STRONG&gt;I&lt;/STRONG&gt; (for items) and specify a value of &lt;STRONG&gt;0.5&lt;/STRONG&gt;.&amp;nbsp; You can follow this with the number of items.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should leave you with something that looks like this.&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="s1.JPG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/476585iC55017E2F26FBC05/image-size/large?v=v2&amp;amp;px=999" role="button" title="s1.JPG" alt="s1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Explode&lt;/STRONG&gt; the stack of boxes so that they are solids and not an associative array.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Move the stack of boxes such that they cover your lofted solid and go to a front view and zoom in like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s2.JPG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/476588i49B2CC6520E72464/image-size/large?v=v2&amp;amp;px=999" role="button" title="s2.JPG" alt="s2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now give the &lt;STRONG&gt;subtract&lt;/STRONG&gt; command and select the lofted solid object hit enter then select the stack of boxes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now &lt;STRONG&gt;explode&lt;/STRONG&gt; the resulting solid.&lt;/P&gt;&lt;P&gt;you can now &lt;STRONG&gt;erase&lt;/STRONG&gt; the sides of what were solid slabs leaving the slices.&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="s3.JPG" style="width: 699px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/476595i2F7EF20CE2066F3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="s3.JPG" alt="s3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's another view showing the slices with some side surfaces yet to be erased.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s4.JPG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/476596i8EB16E4A95266A2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="s4.JPG" alt="s4.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 15:16:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7860046#M187532</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-03-16T15:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7860265#M187533</link>
      <description>&lt;P&gt;Interesting solutions.&amp;nbsp; My preference would be to draw a planar surface in whatever plane you want to do the sections.&amp;nbsp; Then in a perpendicular plane, create a rectangular array of those planar surfaces with the spacing you want.&amp;nbsp; Then use the interfere command. Uncheck delete interfering solids.&amp;nbsp; Then hide the array.&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="Interfering planes shown with solid in xray" style="width: 585px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/476623i24E11BA16CD47E25/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Interfering planes shown with solid in xray" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Interfering planes shown with solid in xray&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 16:28:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7860265#M187533</guid>
      <dc:creator>dbroad</dc:creator>
      <dc:date>2018-03-16T16:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7860884#M187534</link>
      <description>&lt;P&gt;These are all great responses. Thanks for taking the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem seems to lie in limitations creating the loft cross-sections.&amp;nbsp; Autocad doesn't allow for a 3d polyline to be chosen for loft. So I have to make my center section from a 2d polyline and once the solid in created in loft, I cannot then divide or measure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I cannot delete or erase sections as this object, once sliced will need to be separated and made co planar.&amp;nbsp; All sections need to be accounted for, no negative space.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As though I were making a 3d puzzle.&amp;nbsp; Stacking pieces on one another creating a this object from real slices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope I am explaining this clearly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Back to the drawing board...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 20:25:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7860884#M187534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-16T20:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dividing 3D Objects?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7861365#M187535</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;/BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;HR /&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;If the desired&amp;nbsp;slicing planes are parallel to one of the coordinate planes, you don't need to spell out 3 points to define a plane each time.&amp;nbsp; You can use the XY or YZ or ZX options in Slice.&amp;nbsp; If that's the case, an AutoLisp routine would be quite easy to write that would slice it into however many equal layers [not in the AutoCAD drawing sense of the word] you want. ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For example, for &lt;EM&gt;horizontal&lt;/EM&gt;&amp;nbsp; [XY-plane] slices [lightly tested in WCS only]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun C:SHL ; = Slice into Horizontal Layers
  (/ ss layers n 3ds 3dsss sliceZ deltaZ)
  (prompt "\nTo Slice 3DSolid(s) into equal-thickness Horizontal Layers,")
  (if (setq ss (ssget ":L" '((0 . "3DSOLID"))))
    (progn
      (setq layers (getint "\nNumber of layers to Slice into: "))
      (repeat (setq n (sslength ss))
        (setq
          3ds (ssname ss (setq n (1- n)))
          3dsss (ssadd 3ds)
        ); setq
        (vla-getboundingbox (vlax-ename-&amp;gt;vla-object 3ds) 'minpt 'maxpt)
        (setq
          sliceZ (caddr (vlax-safearray-&amp;gt;list minpt))
          deltaZ (/ (- (caddr (vlax-safearray-&amp;gt;list maxpt)) sliceZ) layers)
        ); setq
        (repeat (1- layers)
          (command "_.slice" 3dsss "" "_xy"&lt;BR /&gt;            "_none" (list 0 0 (setq sliceZ (+ sliceZ deltaZ))) "_both"&lt;BR /&gt;          ); command
          (ssadd (entlast) 3dsss); [so it doesn't matter which part is the original]
        ); repeat
      ); repeat
    ); progn
  ); if
  (princ)
); defun&lt;BR /&gt;(vl-load-com)
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It does any number of them in one run, each into the same number of layers [so the layer thicknesses will differ from one 3DSolid to another depending on each one's extents in the Z direction].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It could be made to remember your number of layers and offer it as default on subsequent use, could have choices of slicing orientation as options, etc., and could use the usual extras [*error* handling, command-echo suppression, Undo begin/end, etc.].&lt;/P&gt;</description>
      <pubDate>Sat, 17 Mar 2018 02:58:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/dividing-3d-objects/m-p/7861365#M187535</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-03-17T02:58:26Z</dc:date>
    </item>
  </channel>
</rss>

