<?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: iLogic rule. Create intersection paths for group bodies and one base body in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-create-intersection-paths-for-group-bodies-and-one/m-p/10075363#M53270</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5906784"&gt;@a9011&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;look this: &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/smart-components/idi-p/3842111/page/2#comments" target="_blank" rel="noopener"&gt;Cut component&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;think about how to adapt it to yourself, it’s really possible&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2021 11:27:30 GMT</pubDate>
    <dc:creator>robertast</dc:creator>
    <dc:date>2021-02-11T11:27:30Z</dc:date>
    <item>
      <title>iLogic rule. Create intersection paths for group bodies and one base body</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-create-intersection-paths-for-group-bodies-and-one/m-p/10074790#M53269</link>
      <description>&lt;P&gt;Hello community members!&lt;BR /&gt;I study the rules with great interest. And today I have one question.&lt;BR /&gt;I have multiple solids (group 1) that intersect another solid (base body) at a 90 degree angle. All solids in group 1 are flat. The base body is flat too.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="iLogic8554854987.PNG" style="width: 946px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/879721i656A29BA3FF5DE02/image-size/large?v=v2&amp;amp;px=999" role="button" title="iLogic8554854987.PNG" alt="iLogic8554854987.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;I use a 3D sketch (the path of intersection of two planes): I select the vertical face of one of the solid bodies of group 1 and the horizontal face of the base body. Then I select the parallel vertical edge and do the same.&lt;BR /&gt;As you can imagine, it takes a long time if there are a lot of parts from group 1.&lt;BR /&gt;Therefore, I decomposed the task for the rule.&lt;BR /&gt;1) We combine vertical solids into group 1 by name (for example, group1_body1, group1_body2, ...);&lt;BR /&gt;2) Create a name for each vertical face of each solid from group 1 (for example, group1_body1_face1, group1_body1_face2, ...);&lt;BR /&gt;3) Create a name for the horizontal face of the base body (for example, base body_face1);&lt;BR /&gt;3) Automatically add all bodies with the name "group1 .." to the list;&lt;BR /&gt;4) In a loop, select each body from the list. For each vertical face of the selected body, draw a 3D sketch (face intersection and base body_face1). In this case, the sketch must be construction geometry.&lt;BR /&gt;All intersections are constructed with respect to baseface_body1.&lt;BR /&gt;I will be very happy if you can help create a rule to automate the construction of all such intersections!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 06:21:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-create-intersection-paths-for-group-bodies-and-one/m-p/10074790#M53269</guid>
      <dc:creator>a9011</dc:creator>
      <dc:date>2021-02-11T06:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule. Create intersection paths for group bodies and one base body</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-create-intersection-paths-for-group-bodies-and-one/m-p/10075363#M53270</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5906784"&gt;@a9011&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;look this: &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/smart-components/idi-p/3842111/page/2#comments" target="_blank" rel="noopener"&gt;Cut component&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;think about how to adapt it to yourself, it’s really possible&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 11:27:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-create-intersection-paths-for-group-bodies-and-one/m-p/10075363#M53270</guid>
      <dc:creator>robertast</dc:creator>
      <dc:date>2021-02-11T11:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule. Create intersection paths for group bodies and one base body</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-create-intersection-paths-for-group-bodies-and-one/m-p/11255598#M53271</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5906784"&gt;@a9011&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if&amp;nbsp;&lt;A href="https://youtu.be/0Ou8Mk-coiM" target="_blank" rel="noopener"&gt;Cross-Joint-Slot Cutter&lt;/A&gt;&amp;nbsp;is close to what you need?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 19:03:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-create-intersection-paths-for-group-bodies-and-one/m-p/11255598#M53271</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2022-09-19T19:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic rule. Create intersection paths for group bodies and one base body</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-create-intersection-paths-for-group-bodies-and-one/m-p/11261318#M53272</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5906784"&gt;@a9011&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Therefore, I decomposed the task for the rule.&lt;BR /&gt;1) We combine vertical solids into group 1 by name (for example, group1_body1, group1_body2, ...);&lt;BR /&gt;2) Create a name for each vertical face of each solid from group 1 (for example, group1_body1_face1, group1_body1_face2, ...);&lt;BR /&gt;3) Create a name for the horizontal face of the base body (for example, base body_face1);&lt;BR /&gt;3) Automatically add all bodies with the name "group1 .." to the list;&lt;BR /&gt;4) In a loop, select each body from the list. For each vertical face of the selected body, draw a 3D sketch (face intersection and base body_face1). In this case, the sketch must be construction geometry.&lt;BR /&gt;All intersections are constructed with respect to baseface_body1.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Personally, I haven't used named faces or other geometry so far. Depending on the chance of changing geometry, naming a face can be useful.&amp;nbsp;My first thoughts:&lt;BR /&gt;&lt;BR /&gt;To get base body, selected surface and create group 1 using as less user interaction as possible:&lt;BR /&gt;1) Select the horizontal face of the base body (manually or get the named face by code);&lt;BR /&gt;2) Get the associated body of the selected face by code and store it as an object;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;As there is only 1 base body, all other bodies must be part of group 1.&lt;BR /&gt;3) In a loop, go through all bodies and add them to a collection (except the base body).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Creating the sketches:&lt;BR /&gt;4) In a loop, go through each body in the collection and create a 3D sketch;&lt;BR /&gt;5) For each face in the body, create intersection curve with already stored face of base body;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Horizontal faces will not create a result; catch the error if Inventor throws one.&lt;BR /&gt;6) After all faces are done, select all geometry in the 3D sketch and set them to construction geometry.&lt;/P&gt;&lt;P&gt;7) Close the sketch.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 15:28:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-rule-create-intersection-paths-for-group-bodies-and-one/m-p/11261318#M53272</guid>
      <dc:creator>_dscholtes_</dc:creator>
      <dc:date>2022-06-27T15:28:36Z</dc:date>
    </item>
  </channel>
</rss>

