<?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: Bifrost Nodegraph - average of an array coords in Bifrost Forum</title>
    <link>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9921075#M4884</link>
    <description>&lt;P&gt;This is because construct_points takes an array as input, and not a single value. If you pay attention, you can see that the input port on construct_points is hat shaped, which means that it is an array.&lt;BR /&gt;&lt;BR /&gt;To make this work, you can use "build_array" before "construct_strands". Alternatively, you can right click on the point_position port, check "Fan-in", and then plug the value coming from the divide node.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2020 15:22:58 GMT</pubDate>
    <dc:creator>mjcg91</dc:creator>
    <dc:date>2020-12-07T15:22:58Z</dc:date>
    <item>
      <title>Bifrost Nodegraph - average of an array coords</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9920982#M4881</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;my first post here. I approched to Bifrost just few weeks ago, and I have a question: how can I obtain the average of an array that contain coords?&lt;/P&gt;&lt;P&gt;I have 2 intersecting objects, a vertical plane and an horizontal cylinder to create an irregular section. I want to track the nearest point of the plane on the cylinder surface, obtaining a single point as average and next using it to set translations of another geometry. At this time I've solved only the problem about projecting point on the surface (see attachment). I've not found a node that return an average, so I think the best way is to use an iteration after my sample property node. I've just watched the tutorial by Jonah Friedman (&lt;A href="https://forums.autodesk.com/t5/bifrost-forum/introduction-to-bifrost-iteration-tutorial/td-p/8949069" target="_blank"&gt;https://forums.autodesk.com/t5/bifrost-forum/introduction-to-bifrost-iteration-tutorial/td-p/8949069&lt;/A&gt;) but I can't get it work, maybe I am missing something. Please, someone could help me to connect properly nodes inside the iteration or suggest other solution?&lt;/P&gt;&lt;P&gt;Best.&lt;/P&gt;&lt;P&gt;Giulio.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bifrost_average_v01.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/853092i608EBF22DD29ADAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="bifrost_average_v01.JPG" alt="bifrost_average_v01.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 14:54:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9920982#M4881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-07T14:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bifrost Nodegraph - average of an array coords</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9921011#M4882</link>
      <description>&lt;P&gt;To get the average value of an array, you must sum the array's elements, and divide the result by the array's size.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="array_average.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/853106i85FCF8B7676BB48C/image-size/large?v=v2&amp;amp;px=999" role="button" title="array_average.jpg" alt="array_average.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 15:02:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9921011#M4882</guid>
      <dc:creator>mjcg91</dc:creator>
      <dc:date>2020-12-07T15:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Bifrost Nodegraph - average of an array coords</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9921069#M4883</link>
      <description>&lt;P&gt;Hi, thank you for your prompt response, but I have&amp;nbsp;some problems to get it work (see attachment)&lt;/P&gt;&lt;P&gt;I added a watchpoint and I see there are no data inside it.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bifrost_average_v02.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/853112iED05B52CE50E446D/image-size/large?v=v2&amp;amp;px=999" role="button" title="bifrost_average_v02.JPG" alt="bifrost_average_v02.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 15:20:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9921069#M4883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-07T15:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bifrost Nodegraph - average of an array coords</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9921075#M4884</link>
      <description>&lt;P&gt;This is because construct_points takes an array as input, and not a single value. If you pay attention, you can see that the input port on construct_points is hat shaped, which means that it is an array.&lt;BR /&gt;&lt;BR /&gt;To make this work, you can use "build_array" before "construct_strands". Alternatively, you can right click on the point_position port, check "Fan-in", and then plug the value coming from the divide node.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 15:22:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9921075#M4884</guid>
      <dc:creator>mjcg91</dc:creator>
      <dc:date>2020-12-07T15:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Bifrost Nodegraph - average of an array coords</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9921105#M4885</link>
      <description>&lt;P&gt;Thank your help! now it works.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 15:31:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/bifrost-nodegraph-average-of-an-array-coords/m-p/9921105#M4885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-07T15:31:48Z</dc:date>
    </item>
  </channel>
</rss>

