Group Edges by face - Grasshopper2024-03-29T05:24:43Zhttps://www.grasshopper3d.com/forum/topics/group-edges-by-face?commentId=2985220%3AComment%3A1841114&feed=yes&xn_auth=nomaybe you could try end point…tag:www.grasshopper3d.com,2017-10-29:2985220:Comment:18431202017-10-29T13:25:17.361ZNoam Yorkehttps://www.grasshopper3d.com/profile/NoamYorke
<p>maybe you could try end points/ cull duplicates/ deconstruc points . group the ones with the closest x,y / make poly line / closed loft/ cap ex</p>
<p></p>
<p></p>
<p>maybe you could try end points/ cull duplicates/ deconstruc points . group the ones with the closest x,y / make poly line / closed loft/ cap ex</p>
<p></p>
<p></p> You could try Weaverbird's 'M…tag:www.grasshopper3d.com,2017-10-27:2985220:Comment:18418012017-10-27T11:38:53.664ZDaniel Pikerhttps://www.grasshopper3d.com/profile/DanielPiker
<p>You could try Weaverbird's 'Mesh from Lines' component:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769337702?profile=original" target="_self"><img width="400" src="http://storage.ning.com/topology/rest/1.0/file/get/2769337702?profile=RESIZE_480x480" width="400" class="align-full"/></a></p>
<p></p>
<p>It doesn't work for the top and bottom face as they have too many edges, but it looks like those are planar so would be simple to add.</p>
<p>You could try Weaverbird's 'Mesh from Lines' component:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769337702?profile=original" target="_self"><img width="400" src="http://storage.ning.com/topology/rest/1.0/file/get/2769337702?profile=RESIZE_480x480" width="400" class="align-full"/></a></p>
<p></p>
<p>It doesn't work for the top and bottom face as they have too many edges, but it looks like those are planar so would be simple to add.</p> Thank you very much for the h…tag:www.grasshopper3d.com,2017-10-27:2985220:Comment:18420472017-10-27T11:07:47.241ZMatteo Alzettahttps://www.grasshopper3d.com/profile/MatteoAlzetta
<p>Thank you very much for the help Peter!! </p>
<p>Have a nice weekend, you can stay relaxed the F1 championship is already finished for Ferrari unfortunately..</p>
<p>Thank you very much for the help Peter!! </p>
<p>Have a nice weekend, you can stay relaxed the F1 championship is already finished for Ferrari unfortunately..</p> Here comes the pain:
Let's fo…tag:www.grasshopper3d.com,2017-10-27:2985220:Comment:18418512017-10-27T07:44:06.137Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>Here comes the pain:</p>
<p>Let's forget planar stuff and the likes and stick to the general case: a graph in 2d/3d/4d/...etc.</p>
<p><strong>Sandbox</strong> can't work with curves so let's use lines.</p>
<p>The attached uses 3 demo (line) graphs, makes a classic VV (vertex to vertex connectivity) Adjacency Matrix based on what <strong>Sandbox</strong> has to say (the Matrix is not actually required if someone wants to stay 100% in the GH world) and then ...er ... hmm ... attempts to find…</p>
<p>Here comes the pain:</p>
<p>Let's forget planar stuff and the likes and stick to the general case: a graph in 2d/3d/4d/...etc.</p>
<p><strong>Sandbox</strong> can't work with curves so let's use lines.</p>
<p>The attached uses 3 demo (line) graphs, makes a classic VV (vertex to vertex connectivity) Adjacency Matrix based on what <strong>Sandbox</strong> has to say (the Matrix is not actually required if someone wants to stay 100% in the GH world) and then ...er ... hmm ... attempts to find closed circuits as <strong>Microsoft</strong> suggests (forgot/lost the link but who cares? not me anyway [see VS stuff attached]).</p>
<p><strong>It's quite faulty</strong> (like Windows) ... but is an indication on some things. Try to understand the <strong>recursion</strong> (critical in most AEC stuff). Recursion means that Matteo calls Matteo who calls Matteo ... until Matteo calls Maria and the loop is over. Notify if you need other recursion C# examples on other things (dozens available).</p>
<p>The working(?) chopped (minus sensitive stuff) real thing next week: just realized that this w/e there's the Malaysian MotoGP (Valentino lost the championship) AND a critical Formula 1 race in Mexico (forza Lewis).</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769337662?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769337662?profile=original" class="align-full" width="509"/></a>Attached as well the original VS stuff from Microsoft (requires VS 2017)</p> Hi Peter,
I will work on it d…tag:www.grasshopper3d.com,2017-10-26:2985220:Comment:18416332017-10-26T17:42:06.557ZMatteo Alzettahttps://www.grasshopper3d.com/profile/MatteoAlzetta
Hi Peter,<br />
I will work on it during the weekend too. The logic that I'm following is try to reply the human process, so starting from a casual edge and append only edges that are on the same plane until I find a closed curve... And then repeat starting from a not-used edge.<br />
Obviously I have to translate it in a code... Eh eh eh<br />
If I will be able to find something good I will post it!<br />
<br />
Thank you for your reply
Hi Peter,<br />
I will work on it during the weekend too. The logic that I'm following is try to reply the human process, so starting from a casual edge and append only edges that are on the same plane until I find a closed curve... And then repeat starting from a not-used edge.<br />
Obviously I have to translate it in a code... Eh eh eh<br />
If I will be able to find something good I will post it!<br />
<br />
Thank you for your reply Hi Matteo
Well ... this is NO…tag:www.grasshopper3d.com,2017-10-26:2985220:Comment:18412382017-10-26T06:55:17.870Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>Hi Matteo</p>
<p>Well ... this is NOT the "ideal" case to start crossing the Rubicon. As a minimum requires familiarity with connectivity concepts (like the stuff that Sandbox does) and in depth knowledge of trees (if you plan to stay in the GH bandwagon) and <strong>recursion techniques</strong> (very tricky for a newbie).</p>
<p>Kinda like buying a Panigale 1299 as your first motorcycle (avoid at any cost, he he).</p>
<p>I'll try (this w/e) to remove several sensitive portions within the…</p>
<p>Hi Matteo</p>
<p>Well ... this is NOT the "ideal" case to start crossing the Rubicon. As a minimum requires familiarity with connectivity concepts (like the stuff that Sandbox does) and in depth knowledge of trees (if you plan to stay in the GH bandwagon) and <strong>recursion techniques</strong> (very tricky for a newbie).</p>
<p>Kinda like buying a Panigale 1299 as your first motorcycle (avoid at any cost, he he).</p>
<p>I'll try (this w/e) to remove several sensitive portions within the available code (C#: <strong>strictly</strong> for internal use) especially stuff related with parallel processing and if the massacre yields any meaningful/working solution I'll post it here</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769338580?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769338580?profile=RESIZE_1024x1024" class="align-full" width="721"/></a>BTW: what is your experience insofar with coding? Post here the ...er ... hmm ...trickier thingy that you've done.</p>
<p></p> Hi Peter,
thank you for your…tag:www.grasshopper3d.com,2017-10-25:2985220:Comment:18411142017-10-25T19:12:56.970ZMatteo Alzettahttps://www.grasshopper3d.com/profile/MatteoAlzetta
<p>Hi Peter,</p>
<p>thank you for your exhaustive reply. Working on it during the way I understood that coding is the only way to solve the problem. I'm not very experienced whit code but it's a good reason to start.</p>
<p></p>
<p>Thank you very much for the explanation and the input.…</p>
<p></p>
<p></p>
<div id="gt-text-top"><div class="g-unit" id="gt-res-c"><div id="gt-res-p"><div id="gt-res-data"><div id="gt-res-wrap"><div id="gt-res-tools"><div id="gt-res-tools-l"><div id="gt-pb-star"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p>Hi Peter,</p>
<p>thank you for your exhaustive reply. Working on it during the way I understood that coding is the only way to solve the problem. I'm not very experienced whit code but it's a good reason to start.</p>
<p></p>
<p>Thank you very much for the explanation and the input.</p>
<p></p>
<p></p>
<div id="gt-text-top"><div id="gt-res-c" class="g-unit"><div id="gt-res-p"><div id="gt-res-data"><div id="gt-res-wrap"><div id="gt-res-tools"><div id="gt-res-tools-l"><div id="gt-pb-star"><div class="goog-toolbar-button goog-inline-block trans-pb-button"></div>
</div>
<div id="gt-res-copy" class="copy-button goog-toolbar-button"></div>
<div id="gt-res-listen" class="trans-listen-button goog-toolbar-button"></div>
<div id="gt-res-share" class="share-button goog-toolbar-button"></div>
</div>
<div id="gt-res-tools-r"><div id="gt-res-edit" class="trans-edit-button goog-toolbar-button">Suggerisci una modifica</div>
</div>
</div>
</div>
<div id="gt-community-card-c"></div>
<div id="res-translit" class="translit" dir="ltr"></div>
</div>
</div>
</div>
<div id="gt-promo-lr"></div>
</div> And testing a portion of your…tag:www.grasshopper3d.com,2017-10-25:2985220:Comment:18410152017-10-25T17:25:59.232Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>And testing a portion of your data:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769338920?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769338920?profile=RESIZE_1024x1024" class="align-full" width="721"/></a></p>
<p>And testing a portion of your data:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769338920?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769338920?profile=RESIZE_1024x1024" class="align-full" width="721"/></a></p> Matteo
This is a classic clos…tag:www.grasshopper3d.com,2017-10-25:2985220:Comment:18405922017-10-25T17:08:07.628Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>Matteo</p>
<p>This is a classic <strong>closed circuit</strong> problem (very common in <strong>Graph</strong> applications). Imagine a bunch of curves (randomly sampled in a List) that are connected via some way: a Graph, that is.</p>
<p>Now imagine the Graph nodes (end/start vertices) and the Connectivity Tree (Vertex to vertex like the one made by <strong>Sandbox LineTopo</strong>). Based on an Adjacency Matrix extracted from that VV Tree one can compute closed circuits either for all…</p>
<p>Matteo</p>
<p>This is a classic <strong>closed circuit</strong> problem (very common in <strong>Graph</strong> applications). Imagine a bunch of curves (randomly sampled in a List) that are connected via some way: a Graph, that is.</p>
<p>Now imagine the Graph nodes (end/start vertices) and the Connectivity Tree (Vertex to vertex like the one made by <strong>Sandbox LineTopo</strong>). Based on an Adjacency Matrix extracted from that VV Tree one can compute closed circuits either for all possible combinations (not your case) of for primary islands (your case).</p>
<p>If we forget abstract Graph theory stuff this is used mostly in irregular "random" truss designs and other similar AEC applications. See the screenshot where the simplified demo "flat" collection of randomly sampled edges <strong>(as a Graph</strong>) yields the required closed circuits (i.e. we get a tree with the island vertex indices "sorted" appropriately).</p>
<p>The solution is carried over solely via code. I can't imagine any way to do that with native components. In theory the Join curves GH component should(?) be able to do that ... but it can't.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769339080?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769339080?profile=RESIZE_1024x1024" class="align-full" width="721"/></a></p>
<p></p> Hi Noam,
Thank you for your…tag:www.grasshopper3d.com,2017-10-25:2985220:Comment:18406682017-10-25T12:40:56.573ZMatteo Alzettahttps://www.grasshopper3d.com/profile/MatteoAlzetta
<p>Hi Noam, </p>
<p>Thank you for your reply, I'm sorry if I were not clear in my explanation. I have to construct a solid starting from the edges and not the reverse.</p>
<p>I attached the Rhino file.</p>
<p></p>
<p>Hi Noam, </p>
<p>Thank you for your reply, I'm sorry if I were not clear in my explanation. I have to construct a solid starting from the edges and not the reverse.</p>
<p>I attached the Rhino file.</p>
<p></p>