Sample and example files - Grasshopper2024-03-28T19:03:50Zhttps://www.grasshopper3d.com/forum/categories/sample-and-example-files/listForCategory?categoryId=2985220%3ACategory%3A94&feed=yes&xn_auth=noBush generation with GH (no code and plugins)tag:www.grasshopper3d.com,2016-09-14:2985220:Topic:15989512016-09-14T06:02:04.785ZDeerhttps://www.grasshopper3d.com/profile/Deer999
<p>Hello everyone<br/> </p>
<p> Here comes one question that I can not solve: <br/> Leaves bump into each other!<br/> I think there is no way to solve it in GH.<br/></p>
<p>Hello everyone<br/> </p>
<p> Here comes one question that I can not solve: <br/> Leaves bump into each other!<br/> I think there is no way to solve it in GH.<br/></p> Example: Simple & fast implementation of an Random Optimizer without Galapagostag:www.grasshopper3d.com,2016-07-01:2985220:Topic:15584972016-07-01T10:41:17.064ZTom Jankowskihttps://www.grasshopper3d.com/profile/TomJankowski
<p>Hello,</p>
<p></p>
<p>due to the closed "Samples & Examples" branch, I post this short code example in this section of this forum.</p>
<p></p>
<p>During the last months, several question came up on how to do things before or after <em>Galapagos</em> if some parameters changed or whatsoever. Most problem-solving tend to break the grasshopper logic somehow to do variable change. However, most people didn't think of implementing a simple solver by themselves.</p>
<p>The whole term of…</p>
<p>Hello,</p>
<p></p>
<p>due to the closed "Samples & Examples" branch, I post this short code example in this section of this forum.</p>
<p></p>
<p>During the last months, several question came up on how to do things before or after <em>Galapagos</em> if some parameters changed or whatsoever. Most problem-solving tend to break the grasshopper logic somehow to do variable change. However, most people didn't think of implementing a simple solver by themselves.</p>
<p>The whole term of "genetics in the design process" tend to imply, that Galapagos is something extremely awesome and not reproducible in an easy way.</p>
<p>Don't get me wrong. I think Galapagos is a great and very abstract implementation of an evolutionary solver, but sometimes a simpler solution is good enough.</p>
<p></p>
<p>This implementation is very direct and not very abstract,</p>
<p>See in attached file:</p>
<p></p>
<p></p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654977004?profile=original" target="_self"><img width="750" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2654977004?profile=RESIZE_1024x1024"/></a></p> Do you want to post here?tag:www.grasshopper3d.com,2016-06-29:2985220:Topic:15572412016-06-29T06:18:20.739ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>That's great! We love it when people contribute quality samples, examples and tutorials. However a lot of new users get confused and post their questions here instead (not their fault, the forum interface isn't very clear at all).</p>
<p></p>
<p>If you have something you think belongs in this forum, please post it in the <a href="http://www.grasshopper3d.com/forum/categories/discussion-1/listForCategory" target="_blank">regular one</a> with the words SAMPLE or TUTORIAL in the title and I'll…</p>
<p>That's great! We love it when people contribute quality samples, examples and tutorials. However a lot of new users get confused and post their questions here instead (not their fault, the forum interface isn't very clear at all).</p>
<p></p>
<p>If you have something you think belongs in this forum, please post it in the <a href="http://www.grasshopper3d.com/forum/categories/discussion-1/listForCategory" target="_blank">regular one</a> with the words SAMPLE or TUTORIAL in the title and I'll move it here.</p> Jewellery User Componentstag:www.grasshopper3d.com,2016-06-20:2985220:Topic:15514422016-06-20T19:01:29.416ZAurelio Peruginihttps://www.grasshopper3d.com/profile/AurelioPerugini
<p>Hi all.</p>
<p>I made 3 (for now) User Component for Jewellery.</p>
<p>- Engagement cluster head (for rings, pendent and earrings).</p>
<p>- Circles on curve oriented on brep.</p>
<p>- A Jour. An simple honeycomb way for making holes on your pavè.</p>
<p></p>
<p>Clicking the image below will open a sort of presentation with videos and links to download the components.<br></br>By the time I will increase the pages and components.…</p>
<p></p>
<p></p>
<p>Hi all.</p>
<p>I made 3 (for now) User Component for Jewellery.</p>
<p>- Engagement cluster head (for rings, pendent and earrings).</p>
<p>- Circles on curve oriented on brep.</p>
<p>- A Jour. An simple honeycomb way for making holes on your pavè.</p>
<p></p>
<p>Clicking the image below will open a sort of presentation with videos and links to download the components.<br/>By the time I will increase the pages and components.</p>
<p></p>
<p><a href="https://www.catalike.com/cat/56/0" target="_blank"><img src="https://www.catalike.com/climg/T=&gdid=&cid=56&type=search&cat=21&id=0/1466448948264.png" class="align-center"/></a></p>
<p></p>
<p>They are useful to me, i hope the same for you.</p> C# -> How to Print to logfile while solutiontag:www.grasshopper3d.com,2016-06-20:2985220:Topic:15510062016-06-20T12:40:28.212ZTom Jankowskihttps://www.grasshopper3d.com/profile/TomJankowski
<p>Hello community,</p>
<p> </p>
<p>I like to share a small C# snippet to constantly print strings asynchrony into a temporary file.</p>
<p>This extension of the Print() method could be used for “debugging”.</p>
<p> </p>
<p>When scripting in grasshopper, often there is a situation where logical or geometrical problems occur without causing an exception or compiling error. A good way to identify such problems is using the Print(…)-method to find out which operations produced the desired result…</p>
<p>Hello community,</p>
<p> </p>
<p>I like to share a small C# snippet to constantly print strings asynchrony into a temporary file.</p>
<p>This extension of the Print() method could be used for “debugging”.</p>
<p> </p>
<p>When scripting in grasshopper, often there is a situation where logical or geometrical problems occur without causing an exception or compiling error. A good way to identify such problems is using the Print(…)-method to find out which operations produced the desired result and which did not.</p>
<p> </p>
<p>However there is a big problem with it. To find out which parts worked you usually need to go through the whole solution to get the printed strings shown in the out parameter.</p>
<p>So what happens if your solution takes 2 hours to complete or it even crashes in the middle of the calculation? In this situation, it could be useful to have at least a partial list of your Printed statements. With this snipped you can add a line to a temporary file every time the PrintEx() was called.</p>
<p></p>
<p>It isn't maybe so useful for most people, but it also shows how to create events...</p>
<p></p>
<p>There is still a bug in this: After changing something in the script you need to manually restart the solution.</p>
<p></p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654978956?profile=original" target="_self"><img width="750" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2654978956?profile=RESIZE_1024x1024"/></a></p> shifting brickstag:www.grasshopper3d.com,2016-06-13:2985220:Topic:15472162016-06-13T17:55:03.486Zpatrick lynchhttps://www.grasshopper3d.com/profile/patricklynch
<p>Hello - I am trying to shift rectangle geometry based on its relationship to an attractor point/curve. Every rectangle within a given distance should shift the minimum distance defined. Every rectangle over a given distance should shift the maximum distance defined. Every rectangle between these two should gradate shift between the min and max distance. I believe I am getting the right integers for these shifts but when I move the geometry it is not showing correctly. The min shift works,…</p>
<p>Hello - I am trying to shift rectangle geometry based on its relationship to an attractor point/curve. Every rectangle within a given distance should shift the minimum distance defined. Every rectangle over a given distance should shift the maximum distance defined. Every rectangle between these two should gradate shift between the min and max distance. I believe I am getting the right integers for these shifts but when I move the geometry it is not showing correctly. The min shift works, The intermediary shift is not, and the max shift is showing with the min dimension.</p>
<p></p>
<p>Please see the attached rhino file, and gh definition. </p>
<p></p>
<p>thanks for the help!</p>
<p></p>
<p>_patrick</p> City in 3Dtag:www.grasshopper3d.com,2016-06-13:2985220:Topic:15466062016-06-13T12:02:35.145ZGuillaume Meunierhttps://www.grasshopper3d.com/profile/alliages
<p>not Grasshopper but Python Rhino :</p>
<h1><span class="font-size-3">City in 3D</span></h1>
<p>a Rhinoceros script that create buildings according to geojson file and with real elevation</p>
<p></p>
<p>Everything you need to know is on my github here :</p>
<p></p>
<p><a href="https://github.com/Alliages/City-in-3D" target="_blank">https://github.com/Alliages/City-in-3D…</a></p>
<p></p>
<p></p>
<p>not Grasshopper but Python Rhino :</p>
<h1><span class="font-size-3">City in 3D</span></h1>
<p>a Rhinoceros script that create buildings according to geojson file and with real elevation</p>
<p></p>
<p>Everything you need to know is on my github here :</p>
<p></p>
<p><a href="https://github.com/Alliages/City-in-3D" target="_blank">https://github.com/Alliages/City-in-3D</a></p>
<p></p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2654973357?profile=original"><img width="750" class="align-center" src="http://storage.ning.com/topology/rest/1.0/file/get/2654973357?profile=RESIZE_1024x1024" height="272" width="532"/></a></p> grafica de momentostag:www.grasshopper3d.com,2016-06-11:2985220:Topic:15460752016-06-11T20:43:35.679Zyohttps://www.grasshopper3d.com/profile/yo
<p><font><font><font><font>Buenos días,</font></font></font></font> <br></br> <font><font><font><font>les Agradezco de antemano la asesoria que me puedan brindar.</font></font></font></font></p>
<p><font><font><font><font>yo quiero poder graficar la cortante y el momentos flector dentro de la ventana de grasshopper pero no lo consigo.</font></font></font></font></p>
<p><br></br> <font><font><font><font>mates…</font></font></font></font></p>
<p><br></br></p>
<p><font><font><font><font>Buenos días,</font></font></font></font> <br/> <font><font><font><font>les Agradezco de antemano la asesoria que me puedan brindar.</font></font></font></font></p>
<p><font><font><font><font>yo quiero poder graficar la cortante y el momentos flector dentro de la ventana de grasshopper pero no lo consigo.</font></font></font></font></p>
<p><br/> <font><font><font><font>mates</font></font></font></font></p>
<p><br/> <a href="http://storage.ning.com/topology/rest/1.0/file/get/2654974294?profile=original" target="_self"><img width="750" src="http://storage.ning.com/topology/rest/1.0/file/get/2654974294?profile=RESIZE_1024x1024" width="750" class="align-full"/></a></p> Adding output nodes within GhPython componenttag:www.grasshopper3d.com,2016-06-11:2985220:Topic:15454082016-06-11T04:39:59.524ZAnton Szilasihttps://www.grasshopper3d.com/profile/AntonSzilasi
<p></p>
<p>I would like to add additional output nodes from within my GhPython script, however I am somewhat confused about two things,</p>
<p></p>
<p>1. My understanding is that this is not possible because GhPython scripts occur during the solution. Is this correct?</p>
<p></p>
<p>2. If it is possible how do you go about it? I was trying to use the <span id="nsrTitle">GH_ComponentParamServer<span class="languageSpecificText"><span class="cs">.</span><span class="vb">.…</span></span></span></p>
<p></p>
<p>I would like to add additional output nodes from within my GhPython script, however I am somewhat confused about two things,</p>
<p></p>
<p>1. My understanding is that this is not possible because GhPython scripts occur during the solution. Is this correct?</p>
<p></p>
<p>2. If it is possible how do you go about it? I was trying to use the <span id="nsrTitle">GH_ComponentParamServer<span class="languageSpecificText"><span class="cs">.</span><span class="vb">.</span><span class="cpp">::</span><span class="nu">.</span><span class="fs">.</span></span>RegisterOutputParam Method (IGH_Param) boolean but I couldn'nt work out how to pass it a class that implements the IGH_Param interface</span></p>
<p></p>
<p><span id="nsrTitle">Does anyone how some sample code that you can share?</span></p>
<p></p>
<p><span id="nsrTitle">Any insights are much appreciated, thank you! </span></p> Inflating closed polylinestag:www.grasshopper3d.com,2016-06-10:2985220:Topic:15454822016-06-10T21:35:47.754ZLaurent DELRIEUhttps://www.grasshopper3d.com/profile/LaurentDelrieu
<p>the script here is used to inflate/bulge closed polylines touching each others. The bulge of each edge is tio of surface from the closed polylines having the same edge. I wanted to make that after seeing "NERVOUS SYSTEM GETS UNGRIDDED: A NEW SERIES OF COLORING BOOKS AND NOTEBOOKS"</p>
<p><a href="http://n-e-r-v-o-u-s.com/blog/?p=7323">http://n-e-r-v-o-u-s.com/blog/?p=7323</a></p>
<p></p>
<p>The script uses Sandbox plugin for closed polylines topology, Human for drawing curves, Bifocals to…</p>
<p>the script here is used to inflate/bulge closed polylines touching each others. The bulge of each edge is tio of surface from the closed polylines having the same edge. I wanted to make that after seeing "NERVOUS SYSTEM GETS UNGRIDDED: A NEW SERIES OF COLORING BOOKS AND NOTEBOOKS"</p>
<p><a href="http://n-e-r-v-o-u-s.com/blog/?p=7323">http://n-e-r-v-o-u-s.com/blog/?p=7323</a></p>
<p></p>
<p>The script uses Sandbox plugin for closed polylines topology, Human for drawing curves, Bifocals to show the names of component, Anemone for generating some Voronoi. I got Grasshopper message that I did too much Voronoi !!! </p>
<p></p>
<p>here a first render with no inflation</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654974598?profile=original" target="_self"><img width="750" src="http://storage.ning.com/topology/rest/1.0/file/get/2654974598?profile=RESIZE_1024x1024" width="750" class="align-full"/></a></p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654974837?profile=original" target="_self"></a></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654974837?profile=original" target="_self"><img width="750" src="http://storage.ning.com/topology/rest/1.0/file/get/2654974837?profile=RESIZE_1024x1024" width="750" class="align-full"/></a></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654974999?profile=original" target="_self"><img width="750" src="http://storage.ning.com/topology/rest/1.0/file/get/2654974999?profile=RESIZE_1024x1024" width="750" class="align-full"/></a></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>