<?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: Param-O: elements in a grid in Parametric design</title>
    <link>https://community.graphisoft.com/t5/Parametric-design/Param-O-elements-in-a-grid/m-p/633383#M2016</link>
    <description>&lt;P&gt;Your welcome!&amp;nbsp; This was a fun challenge, at first I didn't think it was possible in param-o.&lt;/P&gt;
&lt;P&gt;There was another error in the param-o file which I have corrected and updated. Please use this latest version&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 16:05:58 GMT</pubDate>
    <dc:creator>cuba</dc:creator>
    <dc:date>2024-09-30T16:05:58Z</dc:date>
    <item>
      <title>Param-O: elements in a grid</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Param-O-elements-in-a-grid/m-p/631764#M2012</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Just got into Param-O this week, and it looks promising.&lt;/P&gt;&lt;P&gt;I'm trying to create an object with Param-O, where an "invisible" grid with z values is created and smaller elements are put into every point of grid.&lt;/P&gt;&lt;P&gt;So far I have this, see the image.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;FONT color="#808080"&gt;Gray, transparent object&lt;/FONT&gt;&lt;/STRONG&gt; is there only for help. It is a Mesh with 4 corner points (rectangular, object's A and B values). Each corner has its unique z value. Mesh shows the total coverage of object area and it's top surface shows the surface I'm referring later. Diagonal line is not important, it's created by Mesh element automatically.&lt;/LI&gt;&lt;LI&gt;At the lower and upper edge of mesh you can see small &lt;FONT color="#99CC00"&gt;&lt;STRONG&gt;green spheres&lt;/STRONG&gt;&lt;/FONT&gt;, following the z values. &lt;U&gt;They are okay&lt;/U&gt;. Amount of spheres is selectable, and it's working.&lt;/LI&gt;&lt;LI&gt;My goal is to get lines-of-spheres to appear in between, as well. Like the hand-drawn &lt;STRONG&gt;&lt;FONT color="#339966"&gt;green dots&lt;/FONT&gt;&lt;/STRONG&gt; along the &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;red dotted line&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt; in the middle&lt;/FONT&gt;. Amount of those lines can be selected. Z values of lines' start and end points should be automatically calculated, according to the heights of the corner points.&lt;/LI&gt;&lt;LI&gt;Together those lines should create kind of a grid, where spheres are generated &lt;U&gt;on top of a "surface"&lt;/U&gt;.&lt;/LI&gt;&lt;LI&gt;In the image, green spheres are generated using Param-O's Point Input "Line Points" =&amp;gt; "Deconstruct Point" =&amp;gt; "Move" =&amp;gt; Sphere's input "Transformation".&amp;nbsp;&lt;BR /&gt;Good thing of "Line Points" is that it has z value.&lt;/LI&gt;&lt;LI&gt;And &lt;FONT color="#FFCC00"&gt;&lt;STRONG&gt;yellow spheres&lt;/STRONG&gt;&lt;/FONT&gt; then? They are generated using Point Input "Grid Points". I think that's the way, despite the fact that it doesn't have z value. Here the spheres are located like they should, but &lt;U&gt;they are missing z values&lt;/U&gt;. (Now I see that furthermost spheres are not located in the edge of area, at the points A,0 / 0,B / A,B. I know the reason, it can bee modified.)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So, is there a way to get those yellow spheres up to the surface? Maybe a combination of Grid Points and Line Points? Method of Line Points alone could work, but there can be tens of lines, maybe even 100 or so. Therefore it's out of question.&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PV1972_0-1726912523899.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/76760iEA967D62EF2BCA15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PV1972_0-1726912523899.png" alt="PV1972_0-1726912523899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows 11&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 10:05:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Param-O-elements-in-a-grid/m-p/631764#M2012</guid>
      <dc:creator>PV1972</dc:creator>
      <dc:date>2024-09-21T10:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Param-O: elements in a grid</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Param-O-elements-in-a-grid/m-p/633033#M2014</link>
      <description>&lt;P&gt;Yes, it is possible to do this in param-o with only the grid + basic math. (but it is easier to do in gdl)&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="Grid.png" style="width: 474px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/77224iF4D8CE98D1B1CA0A/image-dimensions/474x663?v=v2" width="474" height="663" role="button" title="Grid.png" alt="Grid.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Here the formula to calculate the z-coordinate (h) of every x,y coördintate&lt;/P&gt;
&lt;P&gt;h = ((h11 * (x2 - x) * (y2 - y)) + (h21 * x * (y2 - y)) + (h12 * (x2 - x) * y) + (h22 * x * y)) / (x2 * y2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;h11&lt;/CODE&gt;: height at &lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;(0,0)(0, 0)&lt;/SPAN&gt;&lt;SPAN class="katex-html" aria-hidden="true"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mopen"&gt;(&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;0&lt;/SPAN&gt;&lt;SPAN class="mpunct"&gt;,&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;0&lt;/SPAN&gt;&lt;SPAN class="mclose"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; (bottom-left corner)&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;h21&lt;/CODE&gt;: height at &lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;(x2,0)(x2, 0)&lt;/SPAN&gt;&lt;SPAN class="katex-html" aria-hidden="true"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mopen"&gt;(&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;x&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;2&lt;/SPAN&gt;&lt;SPAN class="mpunct"&gt;,&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;0&lt;/SPAN&gt;&lt;SPAN class="mclose"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; (bottom-right corner)&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;h12&lt;/CODE&gt;: height at &lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;(0,y2)(0, y2)&lt;/SPAN&gt;&lt;SPAN class="katex-html" aria-hidden="true"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mopen"&gt;(&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;0&lt;/SPAN&gt;&lt;SPAN class="mpunct"&gt;,&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;y&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;2&lt;/SPAN&gt;&lt;SPAN class="mclose"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; (top-left corner)&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;h22&lt;/CODE&gt;: height at &lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;(x2,y2)(x2, y2)&lt;/SPAN&gt;&lt;SPAN class="katex-html" aria-hidden="true"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mopen"&gt;(&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;x&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;2&lt;/SPAN&gt;&lt;SPAN class="mpunct"&gt;,&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;y&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;2&lt;/SPAN&gt;&lt;SPAN class="mclose"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; (top-right corner)&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;x&lt;/CODE&gt;: x-coordinate of the point for which you want to calculate the height&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;y&lt;/CODE&gt;: y-coordinate of the point for which you want to calculate the height&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;x2&lt;/CODE&gt;, &lt;CODE&gt;y2&lt;/CODE&gt;: coordinates of the top-right corner. = dimension 1 &amp;amp; 2&amp;nbsp;&lt;/LI&gt;
&lt;/UL&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;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Scherm­afbeelding 2024-09-30 om 17.59.23.png" style="width: 826px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/77354iC1A6332B1AED3507/image-dimensions/826x1098?v=v2" width="826" height="1098" role="button" title="Scherm­afbeelding 2024-09-30 om 17.59.23.png" alt="Scherm­afbeelding 2024-09-30 om 17.59.23.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; -- updated version--&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 16:00:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Param-O-elements-in-a-grid/m-p/633033#M2014</guid>
      <dc:creator>cuba</dc:creator>
      <dc:date>2024-09-30T16:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Param-O: elements in a grid</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Param-O-elements-in-a-grid/m-p/633072#M2015</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;That is great, thanks!&lt;/P&gt;&lt;P&gt;I already started making it with gdl, and propably will finish it with it. But I will definately check out that solution of yours. I'm new to Param-o, and it looks nice alternative in some cases. Your solution will teach some more.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 04:36:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Param-O-elements-in-a-grid/m-p/633072#M2015</guid>
      <dc:creator>PV1972</dc:creator>
      <dc:date>2024-09-28T04:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Param-O: elements in a grid</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Param-O-elements-in-a-grid/m-p/633383#M2016</link>
      <description>&lt;P&gt;Your welcome!&amp;nbsp; This was a fun challenge, at first I didn't think it was possible in param-o.&lt;/P&gt;
&lt;P&gt;There was another error in the param-o file which I have corrected and updated. Please use this latest version&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 16:05:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Param-O-elements-in-a-grid/m-p/633383#M2016</guid>
      <dc:creator>cuba</dc:creator>
      <dc:date>2024-09-30T16:05:58Z</dc:date>
    </item>
  </channel>
</rss>

