Grasshopper2024-03-28T16:41:50ZJoyce Hohttps://www.grasshopper3d.com/profile/JoyceHohttps://storage.ning.com/topology/rest/1.0/file/get/2791273963?profile=RESIZE_48X48&width=48&height=48&crop=1%3A1https://www.grasshopper3d.com/group/sonic/forum/topic/listForContributor?user=3ud06rrziky4t&feed=yes&xn_auth=noRefraction through multiple surfacestag:www.grasshopper3d.com,2018-05-25:2985220:Topic:19115492018-05-25T23:50:37.916ZJoyce Hohttps://www.grasshopper3d.com/profile/JoyceHo
<p>Hi, I'm trying to simulate refraction of a single ray through 10 solid surfaces, each with a gradient refraction index between 1.00 and 1.01.</p>
<p></p>
<p>How would I set this up?</p>
<p>Hi, I'm trying to simulate refraction of a single ray through 10 solid surfaces, each with a gradient refraction index between 1.00 and 1.01.</p>
<p></p>
<p>How would I set this up?</p> The trouble problem of Target rays componenttag:www.grasshopper3d.com,2015-07-02:2985220:Topic:13188012015-07-02T08:57:48.392ZJoyce Hohttps://www.grasshopper3d.com/profile/JoyceHo
<p>when the input of source points collect more than one point, the warning will show </p>
<p>"1. Solution exception:Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index". <br></br><br></br>how to show in this case?…</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654915698?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2654915698?profile=RESIZE_1024x1024" width="750"></img></a></p>
<p>when the input of source points collect more than one point, the warning will show </p>
<p>"1. Solution exception:Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index". <br/><br/>how to show in this case?</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654915698?profile=original" target="_self"><img width="750" src="http://storage.ning.com/topology/rest/1.0/file/get/2654915698?profile=RESIZE_1024x1024" width="750" class="align-full"/></a></p> Data Structure Preservationtag:www.grasshopper3d.com,2014-04-12:2985220:Topic:10431102014-04-12T16:27:19.099ZJoyce Hohttps://www.grasshopper3d.com/profile/JoyceHo
<p>Sorry, one more request! This just shows how much I want to use this plugin! I've been finding it difficult to use the output from the Reflection component when I have many source points because Sonic doesn't seem to preserve my list structure (see screenshot). The points output preserves one level of the list, but the curves come out flat, requiring (I think) some sort of closest point algorithm to reassociate with the source points. </p>
<p>Would it be possible to make Sonic preserve the…</p>
<p>Sorry, one more request! This just shows how much I want to use this plugin! I've been finding it difficult to use the output from the Reflection component when I have many source points because Sonic doesn't seem to preserve my list structure (see screenshot). The points output preserves one level of the list, but the curves come out flat, requiring (I think) some sort of closest point algorithm to reassociate with the source points. </p>
<p>Would it be possible to make Sonic preserve the list structure that is fed into it? That would be awesome.</p>
<p>Thanks again for this tool!</p>
<p>Trygve</p> Account for surface trims?tag:www.grasshopper3d.com,2014-04-12:2985220:Topic:10430052014-04-12T15:58:38.473ZJoyce Hohttps://www.grasshopper3d.com/profile/JoyceHo
<p>Thanks for the great plugin!</p>
<p>I have noticed that the reflection components use the untrimmed version of any trimmed surfaces I pipe into them. Would it be difficult to make the components recognize surface trim boundaries? This would be very useful, especially for modeling surfaces with holes in them. Typically I can use shrinkTrimmedSurface, but I can't get Sonic to recognize holes without splitting the surface into multiple pieces. Thanks!</p>
<p></p>
<p>Trygve</p>
<p>Thanks for the great plugin!</p>
<p>I have noticed that the reflection components use the untrimmed version of any trimmed surfaces I pipe into them. Would it be difficult to make the components recognize surface trim boundaries? This would be very useful, especially for modeling surfaces with holes in them. Typically I can use shrinkTrimmedSurface, but I can't get Sonic to recognize holes without splitting the surface into multiple pieces. Thanks!</p>
<p></p>
<p>Trygve</p> Component ID Conflicttag:www.grasshopper3d.com,2013-07-03:2985220:Topic:8810002013-07-03T13:01:52.200ZJoyce Hohttps://www.grasshopper3d.com/profile/JoyceHo
<p>Hello,</p>
<p>I get this alert while loading Sonic tools.</p>
<p>Any suggestion or fix?</p>
<p></p>
<p>Thank you</p>
<p></p>
<p>Francesco</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654810854?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2654810854?profile=original" width="612" class="align-full"/></a></p>
<p>Hello,</p>
<p>I get this alert while loading Sonic tools.</p>
<p>Any suggestion or fix?</p>
<p></p>
<p>Thank you</p>
<p></p>
<p>Francesco</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654810854?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2654810854?profile=original" width="612" class="align-full"/></a></p> Sonic Update 0.2.3tag:www.grasshopper3d.com,2013-02-07:2985220:Topic:7852762013-02-07T23:05:11.141ZJoyce Hohttps://www.grasshopper3d.com/profile/JoyceHo
<p>New Refraction component and fixed bug in TargetRays (Reflect)</p>
<h2>Refract</h2>
<p>Calculates the refraction of rays through mutliple surfaces.</p>
<p><strong>Inputs</strong>:</p>
<ul>
<li><strong>SourcePts:</strong> The start of a ray.</li>
<li><strong>TargetPts:</strong> The end point of a ray.</li>
<li><strong>Surfaces:</strong> The surface through which the rays will be refracted.</li>
<li><strong>Ni: </strong>The Refraction Index of the first medium the ray starts in i.e.…</li>
</ul>
<p>New Refraction component and fixed bug in TargetRays (Reflect)</p>
<h2>Refract</h2>
<p>Calculates the refraction of rays through mutliple surfaces.</p>
<p><strong>Inputs</strong>:</p>
<ul>
<li><strong>SourcePts:</strong> The start of a ray.</li>
<li><strong>TargetPts:</strong> The end point of a ray.</li>
<li><strong>Surfaces:</strong> The surface through which the rays will be refracted.</li>
<li><strong>Ni: </strong>The Refraction Index of the first medium the ray starts in i.e. Air</li>
<li><strong>Nr:</strong> The Refraction Index of the medium the ray is passing into i.e. Water</li>
<li><strong>Solid:</strong> Toggling this will treat the space between any two surfaces as the same medium. Check example files included in the download for more info.<img class="alignnone size-large wp-image-2684" title="RefractCanvas1" src="http://www.ceedstudio.com/ceed3/wp-content/uploads/2012/07/RefractCanvas1-1024x457.jpg" alt="" width="574" height="256"/></li>
</ul>
<p><img class="alignnone size-full wp-image-2685" title="RefractCanvas1a" src="http://www.ceedstudio.com/ceed3/wp-content/uploads/2012/07/RefractCanvas1a.jpg" alt="" width="578" height="196"/></p>
<h4>Refraction Indices:</h4>
<p>I have included a list of generic Refraction Indices in the Grasshopper definition.</p>
<p><img class="alignnone size-full wp-image-2686" title="RefractCanvas2a" src="http://www.ceedstudio.com/ceed3/wp-content/uploads/2012/07/RefractCanvas2a.jpg" alt="" width="410" height="337"/></p> Sonic Component updatestag:www.grasshopper3d.com,2012-08-05:2985220:Topic:6527982012-08-05T21:56:54.908ZJoyce Hohttps://www.grasshopper3d.com/profile/JoyceHo
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654765584?profile=original" target="_self"><img class="align-full" height="252" src="http://storage.ning.com/topology/rest/1.0/file/get/2654765584?profile=RESIZE_480x480" width="400"></img></a></p>
<p></p>
<p>Sonic update 0.1.3b</p>
<p><strong> </strong></p>
<p><strong><a href="http://www.studionu.net/ceed3/?p=2342">http://www.studionu.net/ceed3/?p=2342…</a></strong></p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654765584?profile=original" target="_self"><img width="400" src="http://storage.ning.com/topology/rest/1.0/file/get/2654765584?profile=RESIZE_480x480" width="400" class="align-full" height="252"/></a></p>
<p></p>
<p>Sonic update 0.1.3b</p>
<p><strong> </strong></p>
<p><strong><a href="http://www.studionu.net/ceed3/?p=2342">http://www.studionu.net/ceed3/?p=2342</a></strong></p>
<p><strong><a href="http://www.grasshopper3d.com/group/sonic/">http://www.grasshopper3d.com/group/sonic/</a></strong></p>
<p><strong> </strong></p>
<p><strong>COMPONENTS:</strong></p>
<p><strong> </strong></p>
<p><strong>SquareRoot: </strong>An optimized Square Root function multiple times faster than the default Square Root Component with a slight trade off in rounding numbers.</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654765780?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2654765780?profile=original" width="500" class="align-full"/></a></p>
<p></p>
<p><strong>Flow: </strong>Calculates the flow of lines via the path of least resistance down a sloped surface.</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654765831?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2654765831?profile=original" width="403" class="align-full"/></a></p>
<p></p>
<p><strong>TargetRays + SurfaceRays:</strong> Both plugins are used to cast and calculate surface reflections rays.</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654766057?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2654766057?profile=original" width="425" class="align-full"/></a></p>
<p></p>
<p>We hope to develop this into a larger suite of components, but for now its contains three components. The plugin suite comes with many GH Example files…….</p>
<p><br/> <a href="http://storage.ning.com/topology/rest/1.0/file/get/2654766171?profile=original" target="_self"><img width="400" src="http://storage.ning.com/topology/rest/1.0/file/get/2654766171?profile=RESIZE_480x480" width="398" class="align-full" height="251"/></a></p>