DataTree,List,Item access from grasshopper-python - Grasshopper2024-03-29T01:41:13Zhttps://www.grasshopper3d.com/forum/topics/datatreelistitem-access-from?commentId=2985220%3AComment%3A275031&feed=yes&xn_auth=noThis script might help: Pytho…tag:www.grasshopper3d.com,2019-03-21:2985220:Comment:19725452019-03-21T19:31:01.614ZNico Azelhttps://www.grasshopper3d.com/profile/NicoAzel
<p>This script might help: <a href="https://storage.ning.com/topology/rest/1.0/file/get/1541858859?profile=original" rel="noopener" target="_blank">PythonDataTreeExample.gh</a></p>
<p>Check this link: <a href="http://cu.t-ads.org/?p=399" rel="nofollow noopener" target="_blank">http://cu.t-ads.org/?p=399</a></p>
<p>and the GH docs are helpfull too:…</p>
<p>This script might help: <a href="https://storage.ning.com/topology/rest/1.0/file/get/1541858859?profile=original" target="_blank" rel="noopener">PythonDataTreeExample.gh</a></p>
<p>Check this link: <a rel="nofollow noopener" href="http://cu.t-ads.org/?p=399" target="_blank">http://cu.t-ads.org/?p=399</a></p>
<p>and the GH docs are helpfull too: <a href="https://developer.rhino3d.com/wip/api/grasshopper/html/N_Grasshopper_Kernel_Data.htm" target="_blank" rel="noopener">https://developer.rhino3d.com/wip/api/grasshopper/html/N_Grasshopper_Kernel_Data.htm</a></p>
<p></p> Hey Everyone.
Here is a pyt…tag:www.grasshopper3d.com,2019-03-12:2985220:Comment:19699752019-03-12T19:52:43.490ZSi Han Hohttps://www.grasshopper3d.com/profile/SiHanHo
<p><a href="https://storage.ning.com/topology/rest/1.0/file/get/1391842434?profile=original" rel="noopener" target="_blank"></a></p>
<p></p>
<p>Hey Everyone.</p>
<p>Here is a python script for people who want to get start into the topic: Grasshopper Python DataTree.…</p>
<p></p>
<p><a href="https://storage.ning.com/topology/rest/1.0/file/get/1391842434?profile=original" rel="noopener" target="_blank"><img class="align-full" src="https://storage.ning.com/topology/rest/1.0/file/get/1391842434?profile=RESIZE_710x"></img></a></p>
<p></p>
<p><a href="https://storage.ning.com/topology/rest/1.0/file/get/1391842434?profile=original" target="_blank" rel="noopener"></a></p>
<p></p>
<p>Hey Everyone.</p>
<p>Here is a python script for people who want to get start into the topic: Grasshopper Python DataTree.</p>
<p></p>
<p><a href="https://storage.ning.com/topology/rest/1.0/file/get/1391842434?profile=original" target="_blank" rel="noopener"><img src="https://storage.ning.com/topology/rest/1.0/file/get/1391842434?profile=RESIZE_710x" class="align-full"/></a></p>
<p><a href="https://storage.ning.com/topology/rest/1.0/file/get/1391865019?profile=original" target="_blank" rel="noopener">data_tree.gh</a></p>
<p></p> Hello all,
Figuring out how t…tag:www.grasshopper3d.com,2015-04-28:2985220:Comment:12752202015-04-28T13:45:40.186ZNico Azelhttps://www.grasshopper3d.com/profile/NicoAzel
<p>Hello all,</p>
<p>Figuring out how to properly construct data trees has been a bit of a battle for me over the past year. I often find that generating them in python to be valuable for workflow. </p>
<p>I came across this explanation and it seems to be the most concise yet. </p>
<p>very clear and simple, step by step. </p>
<p>Thanks to those at the COMPUTATION UNIT in advanced design studies at the university of Tokyo. </p>
<p>check the link below:…</p>
<p></p>
<p>Hello all,</p>
<p>Figuring out how to properly construct data trees has been a bit of a battle for me over the past year. I often find that generating them in python to be valuable for workflow. </p>
<p>I came across this explanation and it seems to be the most concise yet. </p>
<p>very clear and simple, step by step. </p>
<p>Thanks to those at the COMPUTATION UNIT in advanced design studies at the university of Tokyo. </p>
<p>check the link below:</p>
<p><a href="http://cu.t-ads.org/?p=399" target="_blank">http://cu.t-ads.org/?p=399</a></p> Hello Everyone.
Here is a pyt…tag:www.grasshopper3d.com,2014-01-25:2985220:Comment:9966112014-01-25T13:30:49.002ZAndrei Nejurhttps://www.grasshopper3d.com/profile/deaarh
<p>Hello Everyone.</p>
<p>Here is a python script useful for unpacking multiply nested python lists .</p>
<p>Just connect it to the output you want to unpack. You only need to use it once and it will move every element in the list on its corresponding branch in the GH Tree .</p>
<p>Also it prints out the branches for each consecutive element in the list. </p>
<p></p>
<p>Hope this is helpful </p>
<p></p>
<p></p>
<p>Andrei </p>
<p>Hello Everyone.</p>
<p>Here is a python script useful for unpacking multiply nested python lists .</p>
<p>Just connect it to the output you want to unpack. You only need to use it once and it will move every element in the list on its corresponding branch in the GH Tree .</p>
<p>Also it prints out the branches for each consecutive element in the list. </p>
<p></p>
<p>Hope this is helpful </p>
<p></p>
<p></p>
<p>Andrei </p> I noticed this old discussion…tag:www.grasshopper3d.com,2013-10-14:2985220:Comment:9310722013-10-14T13:14:08.872ZBenjamin Golderhttps://www.grasshopper3d.com/profile/BenjaminGolder
<p>I noticed this old discussion, and thought I'd share my current solution:</p>
<p><a rel="nofollow" href="https://gist.github.com/bengolder/6975370" target="_blank">https://gist.github.com/bengolder/6975370</a></p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768846419?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2768846419?profile=original" width="391" class="align-full"/></a></p>
<p>I noticed this old discussion, and thought I'd share my current solution:</p>
<p><a rel="nofollow" href="https://gist.github.com/bengolder/6975370" target="_blank">https://gist.github.com/bengolder/6975370</a></p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768846419?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2768846419?profile=original" width="391" class="align-full"/></a></p> Here is a simple way I unpack…tag:www.grasshopper3d.com,2013-09-10:2985220:Comment:9125972013-09-10T23:46:59.502ZJake Hebberthttps://www.grasshopper3d.com/profile/JakeHebbert
<p>Here is a simple way I unpack a python list into Grasshopper. String the components together like I show in the video. I hope this helps everyone.</p>
<p></p>
<p>I posted a video explanation <a rel="nofollow" href="http://www.youtube.com/watch?v=2Cf5lqbY_4w&feature=youtu.be" target="_blank">here</a></p>
<p></p>
<p><a rel="nofollow" href="http://www.youtube.com/watch?v=2Cf5lqbY_4w&feature=youtu.be">http://www.youtube.com/watch?v=2Cf5lqbY_4w&feature=youtu.be</a> </p>
<p>Here is a simple way I unpack a python list into Grasshopper. String the components together like I show in the video. I hope this helps everyone.</p>
<p></p>
<p>I posted a video explanation <a rel="nofollow" href="http://www.youtube.com/watch?v=2Cf5lqbY_4w&feature=youtu.be" target="_blank">here</a></p>
<p></p>
<p><a rel="nofollow" href="http://www.youtube.com/watch?v=2Cf5lqbY_4w&feature=youtu.be">http://www.youtube.com/watch?v=2Cf5lqbY_4w&feature=youtu.be</a> </p> Well now and then it's nice t…tag:www.grasshopper3d.com,2013-01-17:2985220:Comment:7715822013-01-17T18:16:12.319ZGiulio Piacentinohttps://www.grasshopper3d.com/profile/GiulioPiacentino
<p>Well now and then it's nice to help if I am able to.</p>
<p>Thanks for the greetings, greetings back! :)</p>
<p>Giulio</p>
<p>--</p>
<p>Giulio Piacentino<br/>Weaverbird development</p>
<p>Well now and then it's nice to help if I am able to.</p>
<p>Thanks for the greetings, greetings back! :)</p>
<p>Giulio</p>
<p>--</p>
<p>Giulio Piacentino<br/>Weaverbird development</p> Thanks.
Will try not to bothe…tag:www.grasshopper3d.com,2013-01-17:2985220:Comment:7717352013-01-17T17:50:16.780ZManuel Sotomayor Millanhttps://www.grasshopper3d.com/profile/ManuelSotomayorMillan
<p>Thanks.</p>
<p>Will try not to bother you then with this stuff.</p>
<p>Regards from Barcelona Giulio</p>
<p>Thanks.</p>
<p>Will try not to bother you then with this stuff.</p>
<p>Regards from Barcelona Giulio</p> Hi Manuel!
Steve is the maint…tag:www.grasshopper3d.com,2013-01-17:2985220:Comment:7715752013-01-17T17:33:50.155ZGiulio Piacentinohttps://www.grasshopper3d.com/profile/GiulioPiacentino
<p>Hi Manuel!</p>
<p>Steve is the maintainer of the GhPython component now. You might want to let him know of this problem. I fixed the script for you, so it will work in Gh 0.9.14 and GhPython 0.5.1.0.</p>
<p>I hope this helps</p>
<p>Giulio</p>
<p>--</p>
<p>Giulio Piacentino<br/>Weaverbird development</p>
<p>Hi Manuel!</p>
<p>Steve is the maintainer of the GhPython component now. You might want to let him know of this problem. I fixed the script for you, so it will work in Gh 0.9.14 and GhPython 0.5.1.0.</p>
<p>I hope this helps</p>
<p>Giulio</p>
<p>--</p>
<p>Giulio Piacentino<br/>Weaverbird development</p> Could you upgrade that file G…tag:www.grasshopper3d.com,2013-01-16:2985220:Comment:7707032013-01-16T20:53:17.206ZManuel Sotomayor Millanhttps://www.grasshopper3d.com/profile/ManuelSotomayorMillan
<p>Could you upgrade that file Giulio??</p>
<p>I am quite struggling with the data trees in python but i cannot see your code here because the component is old and it appears empty</p>
<p>Could you upgrade that file Giulio??</p>
<p>I am quite struggling with the data trees in python but i cannot see your code here because the component is old and it appears empty</p>