<?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: Randomize Materials in Parametric design</title>
    <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273220#M650</link>
    <description>Would you want to continue this topic in a new post that I can write with a bit more detail?</description>
    <pubDate>Mon, 30 Apr 2018 09:18:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-30T09:18:03Z</dc:date>
    <item>
      <title>Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273190#M620</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am just starting to play with the connection plugin and see that V20 has many more parameters to play with. I am currently doing a randomized facade that is working well. However I am wanting to randomize the colour of some fins between two different surface materials. Any thoughts as to which grasshopper component will allow me to plug different surface or composite inputs into?&lt;BR /&gt;
&lt;BR /&gt;
As an aside the my Archicad points dont seem to be translating into grasshopper points like they should. They seem to shift in strange directions. What could be affecting this?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Derek&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 May 2023 09:11:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273190#M620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-11T09:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273191#M621</link>
      <description>"pick´n´choose" component serves for this purpose (in conjuction of other compontents, as shown in the image)&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/9124iBF5B147DC79C7600/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Captura_00002.JPG" title="Captura_00002.JPG" /&gt;</description>
      <pubDate>Wed, 29 Mar 2017 17:42:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273191#M621</guid>
      <dc:creator>leceta</dc:creator>
      <dc:date>2017-03-29T17:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273192#M622</link>
      <description>...</description>
      <pubDate>Wed, 29 Mar 2017 17:42:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273192#M622</guid>
      <dc:creator>leceta</dc:creator>
      <dc:date>2017-03-29T17:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273193#M623</link>
      <description>this definition has better randomness (random seeds)&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/6469i1B1644E99382C02C/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Captura_0002.JPG" title="Captura_0002.JPG" /&gt;</description>
      <pubDate>Wed, 29 Mar 2017 17:54:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273193#M623</guid>
      <dc:creator>leceta</dc:creator>
      <dc:date>2017-03-29T17:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273194#M624</link>
      <description>in archicad...&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/9543iE77D0386CF1CD591/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Captura0004.JPG" title="Captura0004.JPG" /&gt;</description>
      <pubDate>Wed, 29 Mar 2017 17:55:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273194#M624</guid>
      <dc:creator>leceta</dc:creator>
      <dc:date>2017-03-29T17:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273195#M625</link>
      <description>Thank you! Some great ideas in there. I ended up using Random Split List from Lunchbox which also has a seed value so I could change my 'randomness' easily. &lt;BR /&gt;
&lt;BR /&gt;
I am still having problems with converting an archiCad point into a grasshopper point. Archicad is in mm and Rhino is in mm but the data is coming in as metres. Any thoughts as to how to get the point data in mm without deconstructing the points multipling by  1000 and constructing the point?</description>
      <pubDate>Mon, 03 Apr 2017 00:49:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273195#M625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-03T00:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273196#M626</link>
      <description>@leceta&lt;BR /&gt;
&lt;BR /&gt;
Thank you for posting those screenshots.&lt;BR /&gt;
&lt;BR /&gt;
Can you explain how you added the x0 x1 x2 nodes to the object settings component? If I zoom into it there aren't any options to add those.&lt;BR /&gt;
&lt;BR /&gt;
Perhaps it was available in a previous version and now it isn't...?&lt;BR /&gt;
It would be great to know how to achieve this.&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Thu, 12 Apr 2018 13:59:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273196#M626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-12T13:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273197#M627</link>
      <description>Hi yafimski, this is possible also in the current version.&lt;BR /&gt;
&lt;BR /&gt;
I wrote a custom gdl object for the grid shell beams, and then exposed those parameters (x0,y0,z0,...) to grasshopper. You can expose those, right clicking over the component and checking the object's parameters you want to feed from grasshopper.   &lt;BR /&gt;
&lt;BR /&gt;
I hope I answered your question, you can find more info about the usage of custom GDL objects plugin manual. It works the same way with any object you have on your Archicad library.</description>
      <pubDate>Thu, 12 Apr 2018 23:15:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273197#M627</guid>
      <dc:creator>leceta</dc:creator>
      <dc:date>2018-04-12T23:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273198#M628</link>
      <description>Hi Ieceta,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the quick reply.&lt;BR /&gt;
&lt;BR /&gt;
Do you think it will also be feasible to perform this kind of color randomization on walls and slabs etc. and not only on objects?</description>
      <pubDate>Fri, 13 Apr 2018 06:50:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273198#M628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-13T06:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273199#M629</link>
      <description>sure. you just need to apply a random building material assignation logic to the elements (wall, slabs, whatever...) &lt;BR /&gt;
I will try to take time this weekend to illustrate the process.</description>
      <pubDate>Fri, 13 Apr 2018 09:56:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273199#M629</guid>
      <dc:creator>leceta</dc:creator>
      <dc:date>2018-04-13T09:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273200#M630</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
I'm attaching my attempt for walls using your script as a guide.&lt;BR /&gt;
&lt;BR /&gt;
I think there are a few issues that I didn't understand:&lt;BR /&gt;
&lt;BR /&gt;
1 - it seems the random numbers are in the domain 0.0 to 3.0 and this limits the color indexes not to include index 3 itself. So probably it should be 0.0 to 4.0 right?&lt;BR /&gt;
&lt;BR /&gt;
2 - I'm not sure archicad elements created this way (especially walls since they have quite a lot of bugs) can show color directly in the AC window.&lt;BR /&gt;
&lt;BR /&gt;
3 - Not sure that 'color swatch' can translate to 'building material' which gives the wall its color. I connected it for now to 'property settings' but in AC itself I wasn't sure which 'type' of parameter needs to be created in the Property Manager (i.e. integer, number, boolean etc.)&lt;BR /&gt;
&lt;BR /&gt;
4 - perhaps creating this kind of color randomization needs a wall as input and not a 2D curve. Since the GH-AC connection has a lot of bugs and missing functionality, it's hard to know if it doesn't work because of the plugin or because of some error in the script.&lt;BR /&gt;
&lt;BR /&gt;
Hopefully you'll be able to check these things out over the weekend.&lt;BR /&gt;
&lt;BR /&gt;
Thanks &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Apr 2018 11:47:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273200#M630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-13T11:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273201#M631</link>
      <description>Some follow up work I've tried.&lt;BR /&gt;
&lt;BR /&gt;
In the image below you can see the data types from the various components. It seems like the &lt;B&gt;Path Mapper&lt;/B&gt; component outputs correct RGB values. From the &lt;B&gt;Property Settings&lt;/B&gt; however, the element classification is a Beam, when the element I want to create is a wall.&lt;BR /&gt;



&lt;BR /&gt;
Initially the settings in the &lt;B&gt;Property Manager&lt;/B&gt; in AC were according to the below image:


I thought that might be an issue, so I changed it to the following setting below, but unfortunately this didn't bring up the property in the &lt;B&gt;Property Settings&lt;/B&gt; selection options in GH. It just wasn't appearing there :


&lt;BR /&gt;
Would you have any idea how to move this forward?&lt;BR /&gt;
Thanks.</description>
      <pubDate>Mon, 16 Apr 2018 14:06:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273201#M631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-16T14:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273202#M632</link>
      <description>Thanks for this topic. I have missed the possibility to expose GDL parameters to GH. Nice..&lt;BR /&gt;
&lt;BR /&gt;
If you want to change element classification I suppose you should right click and select proper type.</description>
      <pubDate>Tue, 17 Apr 2018 15:02:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273202#M632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-17T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273203#M633</link>
      <description>@kzaremba,&lt;BR /&gt;
&lt;BR /&gt;
Yes this is exactly how it's done, and it's no problem to add properties to that component, but the issue is how to get building material or surface material properties into the wall settings in a valid way that will randomize the wall colors.&lt;BR /&gt;
&lt;BR /&gt;
leceta said he might have an answer.&lt;BR /&gt;
&lt;BR /&gt;
Do you know of any way to achieve a correct result? (see the attached images in my previous post).&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Wed, 18 Apr 2018 06:36:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273203#M633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-18T06:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273204#M634</link>
      <description>hi, Yafimski, &lt;BR /&gt;
sorry for the delay.  The plugin was crashing my Rhino/GH when launching grasshopper from a month ago or so, and I couldn't figure out the solution. It seemed to be some compatibility issue with another piece of software installed on my machine. well, today I wake up decided to solve this problem... and I spend almost the entire day looking for a solution, and I ended up formatting my hard drive!!! someday this plugin will be stable, but...&lt;BR /&gt;
&lt;BR /&gt;
anyway, now I can illustrate the solution for you (and at least I can play with the connection plugin...)&lt;BR /&gt;
&lt;BR /&gt;
The solution is very similar to the previous one. I guess you were missing the Composite parameter in wall settings component. &lt;BR /&gt;
I created four composites in ArchiCAD, each one with a colored building material. It is pretty straightforward. Look the picture... I hope it is what you were trying to achieve. &lt;BR /&gt;
&lt;BR /&gt;
saludos&lt;BR /&gt;
leceta</description>
      <pubDate>Sun, 22 Apr 2018 23:34:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273204#M634</guid>
      <dc:creator>leceta</dc:creator>
      <dc:date>2018-04-22T23:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273205#M635</link>
      <description>Hi Ieceta,&lt;BR /&gt;
&lt;BR /&gt;
Thank you for the additional help! I've replicated what you've done here, excluding the height variation because I don't need that.&lt;BR /&gt;
&lt;BR /&gt;
At the moment I can't seem to achieve the same color variation as you have. All of my walls come out with the same composite type instead of 4 different ones, even if from the panels in the attached image you can see that it should be 4 colors not 1...&lt;BR /&gt;



What I do want to vary with a graph mapper or another method is the color weights, so &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;"how much of each color there is"&lt;E&gt;&lt;/E&gt; across all of the walls created. I'm thinking I can either use a graph mapper or there is a component that allows to give a 'weight ratio' to a set of numbers.&lt;BR /&gt;
&lt;BR /&gt;
So my questions are:&lt;BR /&gt;
- Do you have any idea why this is?&lt;BR /&gt;
- Can you explain why you reparametrized the end results in the wall component?&lt;BR /&gt;
- Is there a way/component to add the mentioned 'weight ratio'?</description>
      <pubDate>Mon, 23 Apr 2018 14:44:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273205#M635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-23T14:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273206#M636</link>
      <description>you have to be aware of the path of your data tree. what I do in the last component is not a reparameterization, but a combination of "simplify" and "graft" operations, precisely in order to match the data trees of both Curve List and Wall Settings List.&lt;BR /&gt;
&lt;BR /&gt;
to weight the ratio, you should input a evenly distributed series of numbers (0,1,2,3,...) to your graph mapper, instead of a randomly distributed one. I guess that this should work. I will try it later...&lt;BR /&gt;
&lt;BR /&gt;
further info about data trees: &lt;A href="http://wiki.bk.tudelft.nl/toi-pedia/Grasshopper_Data_Tree_Editing" target="_blank"&gt;&lt;LINK_TEXT text="http://wiki.bk.tudelft.nl/toi-pedia/Gra ... ee_Editing"&gt;http://wiki.bk.tudelft.nl/toi-pedia/Grasshopper_Data_Tree_Editing&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
and to become a master :  &lt;A href="https://vimeopro.com/rhino/grasshopper-masterclass-with-david-rutten/video/79914772" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="https://vimeopro.com/rhino/grasshopper-masterclass-with-david-rutten/video/79914772" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;&amp;lt;LINK_TEXT text=&amp;quot;https://vimeopro.com/rhino/grasshopper- ... o/79914772&amp;quot;&amp;gt;https://vimeopro.com/rhino/grasshopper-masterclass-with-david-rutten/video/79914772&amp;lt;/LINK_TEXT&amp;gt;&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;&lt;LINK_TEXT text="https://vimeopro.com/rhino/grasshopper- ... o/79914772"&gt;https://vimeopro.com/rhino/grasshopper-masterclass-with-david-rutten/video/79914772&lt;/LINK_TEXT&gt;&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Mon, 23 Apr 2018 15:10:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273206#M636</guid>
      <dc:creator>leceta</dc:creator>
      <dc:date>2018-04-23T15:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273207#M637</link>
      <description>no, you were right... to obtain weighted random distribution, random series connected directly to graph mapper is a better solution. That way the graph doesn´t need to be noisy, so weight control can be more intuitive.</description>
      <pubDate>Mon, 23 Apr 2018 17:05:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273207#M637</guid>
      <dc:creator>leceta</dc:creator>
      <dc:date>2018-04-23T17:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273208#M638</link>
      <description>Do you know why the walls I generate all come out with the same color despite being different composite profiles?&lt;BR /&gt;
&lt;BR /&gt;
(the image in my previous post is relevant).</description>
      <pubDate>Tue, 24 Apr 2018 07:12:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273208#M638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-24T07:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Randomize Materials</title>
      <link>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273209#M639</link>
      <description>&lt;BLOCKQUOTE&gt;yafimski wrote:&lt;BR /&gt;Do you know why the walls I generate all come out with the same color despite being different composite profiles?&lt;BR /&gt;
&lt;BR /&gt;
(the image in my previous post is relevant).&lt;/BLOCKQUOTE&gt;

I have no idea what you guys are doing - looks interesting though.&lt;BR /&gt;
&lt;BR /&gt;
But a thought.&lt;BR /&gt;
Have your walls all got surface overrides happening? - so you are seeing the override and not the composite.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 24 Apr 2018 07:31:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Parametric-design/Randomize-Materials/m-p/273209#M639</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2018-04-24T07:31:59Z</dc:date>
    </item>
  </channel>
</rss>

