FINDING OUT IDENTICAL POLYSURFACES - Grasshopper2024-03-29T14:59:25Zhttps://www.grasshopper3d.com/forum/topics/finding-out-identical-polysurfaces?feed=yes&xn_auth=noHere's a small (heavily reduc…tag:www.grasshopper3d.com,2016-02-25:2985220:Comment:14713042016-02-25T15:56:21.554Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>Here's a small (heavily reduced) demo on that matter.</p>
<p>This is NOT like the thing in the above images (that finds the Geometry per Instance Definition): it just tells you where the referenced instance definitions are.</p>
<p>1. The mysterious things in the cyan panel are extracted from your specific file > <strong>therefor the C# works ONLY with this file</strong>. Nesting information <strong>is restricted</strong> to depth 1. No trans matrices are taken into account.…</p>
<p></p>
<p>Here's a small (heavily reduced) demo on that matter.</p>
<p>This is NOT like the thing in the above images (that finds the Geometry per Instance Definition): it just tells you where the referenced instance definitions are.</p>
<p>1. The mysterious things in the cyan panel are extracted from your specific file > <strong>therefor the C# works ONLY with this file</strong>. Nesting information <strong>is restricted</strong> to depth 1. No trans matrices are taken into account.</p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769114432?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114432?profile=RESIZE_1024x1024" width="721"/></a></p>
<p>2. Adding visual aids: <strong>text dots</strong> and the likes is the easiest of things (kinda like in the other C# that you have already). Naming conversion ... well ... it's rather obvious.</p>
<p>3. <strong>Inspect the structure</strong>: not on a pro level with regard a proper assembly/component discipline ... but proper in some way.</p> And finally we arrive to the…tag:www.grasshopper3d.com,2016-02-25:2985220:Comment:14711032016-02-25T12:02:21.649Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>And finally we arrive to the 1Z question:</p>
<p>What may be our policy with regard instance definitions at creation time? There's 2 answers (the one is wrong):</p>
<ul>
<li>Thinking the present (the current thing that we do).</li>
<li>Thinking the future (the other things that we'll do).</li>
</ul>
<p>See the havoc in your file (nest depth flag: off) : meaning that thinking/acting on an assembly/component basis ... er ... is simple provided that you know what are you doing (and…</p>
<p>And finally we arrive to the 1Z question:</p>
<p>What may be our policy with regard instance definitions at creation time? There's 2 answers (the one is wrong):</p>
<ul>
<li>Thinking the present (the current thing that we do).</li>
<li>Thinking the future (the other things that we'll do).</li>
</ul>
<p>See the havoc in your file (nest depth flag: off) : meaning that thinking/acting on an assembly/component basis ... er ... is simple provided that you know what are you doing (and why).</p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769113351?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769113351?profile=RESIZE_1024x1024" width="721"/></a><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769113632?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769113632?profile=RESIZE_1024x1024" width="721"/></a><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769113745?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769113745?profile=RESIZE_1024x1024" width="721"/></a><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769113912?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769113912?profile=RESIZE_1024x1024" width="721"/></a><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769114111?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114111?profile=RESIZE_1024x1024" width="721"/></a><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769114331?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114331?profile=RESIZE_1024x1024" width="721"/></a></p> For instance see this instanc…tag:www.grasshopper3d.com,2016-02-25:2985220:Comment:14712072016-02-25T10:54:55.362Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>For instance see this instance def (<strong>a nested one</strong>) as it appears in Rhino document.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769114351?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114351?profile=RESIZE_1024x1024" width="721"></img></a> Now ... let's switch <strong>nesting off</strong> (on some C#, that is) and ask to see the "parent" instance definition <strong>isolated (nesting off)</strong> with respect the insertion point (used at instance definition creation time) that is mapped to…</p>
<p>For instance see this instance def (<strong>a nested one</strong>) as it appears in Rhino document.</p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769114351?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114351?profile=RESIZE_1024x1024" width="721"/></a>Now ... let's switch <strong>nesting off</strong> (on some C#, that is) and ask to see the "parent" instance definition <strong>isolated (nesting off)</strong> with respect the insertion point (used at instance definition creation time) that is mapped to Plane.WorldXY.</p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769114967?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114967?profile=RESIZE_1024x1024" width="721"/></a>Freaky "codes" (as List) in the pink group are the object GUID's related with the Geometry that is involved on that "parent" thingy.</p>
<p>Black box is a BoundingBox with respect a given index from the as above GUID List.</p>
<p>blah ... blah.</p> ... within the blocks there m…tag:www.grasshopper3d.com,2016-02-24:2985220:Comment:14708582016-02-24T18:21:52.638Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p><strong><em>... within the blocks there may be some nested blocks...</em></strong></p>
<p>Of course they are (and the depth of nesting is not 2). The whole thing it's structured as it should: properly. That said few understand what assembly/component actually means ... until they get hired in some practice that knows a thing or two on that matter.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769114496?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114496?profile=original" width="645"></img></a> BTW: This is a cliche…</p>
<p><strong><em>... within the blocks there may be some nested blocks...</em></strong></p>
<p>Of course they are (and the depth of nesting is not 2). The whole thing it's structured as it should: properly. That said few understand what assembly/component actually means ... until they get hired in some practice that knows a thing or two on that matter.</p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769114496?profile=original"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114496?profile=original" width="645"/></a>BTW: This is a cliche (used for classes in programming) but ... Imagine a <strong>cookie cutter</strong> (the instance definition) that provides us with cookies that we use in some Rhino document. Chances are that some sort of transformation is used (otherwise the whole thingy is paranoid: cookies stacked each other > why bother?). Now ... we have some cookie made from the cutter and information about where to put the thing. Meaning that the trans matrices are stored and (obviously) used in order to put the #^%# thing in the right place... blah, blah (this answers to the mirror question? eh?).</p>
<p>But there's bad news as well : C# thingies that do something <strong>other than Academic</strong> ... er... hmm... are classified as internal in my practice (for more than obvious reasons: because they can arm a pro with "some" weaponry, kinda like a proper Glock 40 Gen4, he he).</p>
<p>Thus I'm in a rather delicate position right now (notice that I haven't posted anything related with management of instance definitions: and this is a bit more complex than it appears on first sight).</p>
<p>I'll see this w/e what can I do on that matter i.e. removing a lot of "sensitive" stuff and making some "entry level" C# for this case of yours; but all the WOW things would be MIA. </p> HEY PETER;
I just want to wa…tag:www.grasshopper3d.com,2016-02-24:2985220:Comment:14705782016-02-24T16:25:24.428ZFirat Aydinhttps://www.grasshopper3d.com/profile/FiratAydin
<p>HEY PETER;</p>
<p></p>
<p>I just want to warn you about an issue...MIRRORS...<br></br>imagine that your body is a structure.<br></br>and your body is symettrical.<br></br>building up your body you cannot use left arm instead of right arm - because they are not symmetrical with respect to symetry axis of the structure.<br></br><br></br>However you can inter use left and right eyes. <br></br>I hope i made myself clear with it.<br></br><br></br>parts identified to be same must be the parts can be overlayed by using ORIENT3PT…</p>
<p>HEY PETER;</p>
<p></p>
<p>I just want to warn you about an issue...MIRRORS...<br/>imagine that your body is a structure.<br/>and your body is symettrical.<br/>building up your body you cannot use left arm instead of right arm - because they are not symmetrical with respect to symetry axis of the structure.<br/><br/>However you can inter use left and right eyes. <br/>I hope i made myself clear with it.<br/><br/>parts identified to be same must be the parts can be overlayed by using ORIENT3PT command - without mirroring.<br/><br/>Thanks mate - you are a life saver, your cool!!!! #1!<br/><br/></p> btw i just noticed your quest…tag:www.grasshopper3d.com,2016-02-24:2985220:Comment:14706362016-02-24T16:10:08.529ZFirat Aydinhttps://www.grasshopper3d.com/profile/FiratAydin
<p>btw i just noticed your questions.<br/>within the blocks there may be some nested blocks - such as some purlin brackets...</p>
<p>btw i just noticed your questions.<br/>within the blocks there may be some nested blocks - such as some purlin brackets...</p> Ohhh man you are doing amazin…tag:www.grasshopper3d.com,2016-02-24:2985220:Comment:14704982016-02-24T15:40:04.248ZFirat Aydinhttps://www.grasshopper3d.com/profile/FiratAydin
<p>Ohhh man you are doing amazing things with C#<br/>I will knock your door quite often, (IF YOU DONT MIND ;))</p>
<p>Ohhh man you are doing amazing things with C#<br/>I will knock your door quite often, (IF YOU DONT MIND ;))</p> You mean that I have more tha…tag:www.grasshopper3d.com,2016-02-24:2985220:Comment:14705632016-02-24T15:35:58.386Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>You mean that I have more than 150 C# thingies that do any imaginable job with instance definitions? (mild, wild, freaky, paranoid ... anything).</p>
<p>If so ... well ... it's a shame ... but I confess that I have only 148.</p>
<p>Shown your stuff under some KGB interrogation.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769114070?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114070?profile=RESIZE_1024x1024" width="721"></img></a> BTW: there's 2 things in a given doc (with regard instance defs):</p>
<ul>
<li>The…</li>
</ul>
<p>You mean that I have more than 150 C# thingies that do any imaginable job with instance definitions? (mild, wild, freaky, paranoid ... anything).</p>
<p>If so ... well ... it's a shame ... but I confess that I have only 148.</p>
<p>Shown your stuff under some KGB interrogation.</p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769114070?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769114070?profile=RESIZE_1024x1024" width="721"/></a>BTW: there's 2 things in a given doc (with regard instance defs):</p>
<ul>
<li>The <strong>instance definitions</strong> (the blocks, that is - nested or not): this means geometry and various other mysterious things.</li>
</ul>
<ul>
<li>The <strong>referenced definitions</strong> (the stuff used in the active Rhino doc from the above collection).</li>
</ul>
<p>Against popular belief Rhino is NOT lightning fast when inquires the as above collections - but it's at least 1000 times faster than ... er ...the other thing used insofar (WHAT a stupid way to do business).</p>
<p>more soon.</p>
<p></p> come on peter, this challenge…tag:www.grasshopper3d.com,2016-02-24:2985220:Comment:14705412016-02-24T13:19:20.695ZFirat Aydinhttps://www.grasshopper3d.com/profile/FiratAydin
<p>come on peter, this challenge is easy busy for you...</p>
<p>come on peter, this challenge is easy busy for you...</p> Dealing with instance definit…tag:www.grasshopper3d.com,2016-02-24:2985220:Comment:14702952016-02-24T12:49:31.155Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>Dealing with instance definitions is a piece of cake (obviously ONLY via code).</p>
<p>In the mean time what about this? (Rolls Royce of guns, no kidding > highly recommended for this particular thread > who wants to live for ever?):</p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769110319?profile=original"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769110319?profile=original" width="407"/></a></p>
<p>Dealing with instance definitions is a piece of cake (obviously ONLY via code).</p>
<p>In the mean time what about this? (Rolls Royce of guns, no kidding > highly recommended for this particular thread > who wants to live for ever?):</p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2769110319?profile=original"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769110319?profile=original" width="407"/></a></p>