Grasshopper 0.8.0003 available for download - Grasshopper2024-03-28T16:32:32Zhttps://www.grasshopper3d.com/forum/topics/grasshopper-080003-available?commentId=2985220%3AComment%3A141497&feed=yes&xn_auth=noif you display the real valu…tag:www.grasshopper3d.com,2017-02-11:2985220:Comment:16894832017-02-11T19:16:23.738ZYoann Mescam (Systemiq)https://www.grasshopper3d.com/profile/Systemiq
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769245309?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769245309?profile=original" class="align-full" width="568"/></a>if you display the real values, all seems ok. As David said, Panel component rounds the value.</p>
<p>Were you saying you had some 405.xxx not < 950 ? I didnt see any in your example.</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769245309?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769245309?profile=original" class="align-full" width="568"/></a>if you display the real values, all seems ok. As David said, Panel component rounds the value.</p>
<p>Were you saying you had some 405.xxx not < 950 ? I didnt see any in your example.</p> Hi David,
it feels funny res…tag:www.grasshopper3d.com,2017-02-11:2985220:Comment:16895382017-02-11T01:03:57.942ZNicholas Rawitscherhttps://www.grasshopper3d.com/profile/NicolasRawitscher
<p>Hi David,</p>
<p></p>
<p>it feels funny responding to a post back in 2010, but I had the same problem a few days ago, and coincidentally I just ran into this discussion and decided to respond. The attached file is a part of a larger script where I was filtering numbers < 950. The only number in the data set < 950 was 405.570893 and without adding the rounding component before plugging in the data in the "smaller than component" the booleans yielded wrong results. It was quite…</p>
<p>Hi David,</p>
<p></p>
<p>it feels funny responding to a post back in 2010, but I had the same problem a few days ago, and coincidentally I just ran into this discussion and decided to respond. The attached file is a part of a larger script where I was filtering numbers < 950. The only number in the data set < 950 was 405.570893 and without adding the rounding component before plugging in the data in the "smaller than component" the booleans yielded wrong results. It was quite annoying to understand why this "error" mas happening before I put the round component in. But it still dosent make any sense, 405.570893 will always be smaller than 950, or 950.0000000001. I eaven tried writing my own smaller than component in python and the output was the same. </p>
<p></p>
<p>Is their a logical mathematic explanation for this? I did hear once that programing languages treat floats in different ways depending on the types of calculations they are used for, and thus can alter the results. But yet again... it still dosen`t make any sense to me.</p>
<p></p>
<p></p>
<p>Thank you</p>
<p></p>
<p>Nicholas</p> David:
I was pre-selecting…tag:www.grasshopper3d.com,2010-12-11:2985220:Comment:1416962010-12-11T23:28:32.634ZJustin Dileshttps://www.grasshopper3d.com/profile/JustinDiles
<p>David:</p>
<p> </p>
<p>I was pre-selecting (picking) one-by-one in Rhino and then jumping into grasshopper and choosing "Set Multiple" in the component. But you are right, if I choose "Set Multiple" in the component first <em>and then</em> pick one-by-one in Rhino everything works perfectly fine.</p>
<p> </p>
<p>Best, Justin</p>
<p>David:</p>
<p> </p>
<p>I was pre-selecting (picking) one-by-one in Rhino and then jumping into grasshopper and choosing "Set Multiple" in the component. But you are right, if I choose "Set Multiple" in the component first <em>and then</em> pick one-by-one in Rhino everything works perfectly fine.</p>
<p> </p>
<p>Best, Justin</p> Hi Justin,
the order should…tag:www.grasshopper3d.com,2010-12-11:2985220:Comment:1416952010-12-11T23:21:07.107ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>Hi Justin,</p>
<p> </p>
<p>the order should be maintained, if not, it's a bug. During point picking the order is displayed by a polyline connecting the points. Are you picking curves one by one or window selecting them?</p>
<p> </p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Seattle, WA</p>
<p>Hi Justin,</p>
<p> </p>
<p>the order should be maintained, if not, it's a bug. During point picking the order is displayed by a polyline connecting the points. Are you picking curves one by one or window selecting them?</p>
<p> </p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Seattle, WA</p> David:
When I select multip…tag:www.grasshopper3d.com,2010-12-11:2985220:Comment:1416722010-12-11T20:43:27.990ZJustin Dileshttps://www.grasshopper3d.com/profile/JustinDiles
<p>David:</p>
<p> </p>
<p>When I select multiple curves in Rhino and assign them to a GH Curve component (using "Assign Multiple"), the resulting list of Curves is not in the order in which I selected them. (This is also the case with other geometry such as points.) Is this a bug or am I missing something?</p>
<p> </p>
<p>Best, Justin</p>
<p>David:</p>
<p> </p>
<p>When I select multiple curves in Rhino and assign them to a GH Curve component (using "Assign Multiple"), the resulting list of Curves is not in the order in which I selected them. (This is also the case with other geometry such as points.) Is this a bug or am I missing something?</p>
<p> </p>
<p>Best, Justin</p> As shown in the screen shot t…tag:www.grasshopper3d.com,2010-12-11:2985220:Comment:1415972010-12-11T14:24:56.663ZChris Tietjenhttps://www.grasshopper3d.com/profile/ChrisTietjen
<p>As shown in the screen shot the min curvature 0.04821 is larger than the max curvature 0. If I swap uv in the referenced cylinder the normal vector continues to point outward and the min curvature changes sign. Flipping the normal direction of the referenced surface (the normal flips correctly) has no effect on the sign of the min curvature. The question then is why is flipping the normal direction not changing the sign of the curvature and why is the min curvature shown in the example…</p>
<p>As shown in the screen shot the min curvature 0.04821 is larger than the max curvature 0. If I swap uv in the referenced cylinder the normal vector continues to point outward and the min curvature changes sign. Flipping the normal direction of the referenced surface (the normal flips correctly) has no effect on the sign of the min curvature. The question then is why is flipping the normal direction not changing the sign of the curvature and why is the min curvature shown in the example (0.04281) not being assigned to the max curvature output node when it's numerically greater than 0?</p>
<p> </p>
<p>Chris</p> Surfaces have a strictly defi…tag:www.grasshopper3d.com,2010-12-11:2985220:Comment:1415472010-12-11T06:18:44.511ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>Surfaces have a strictly defined normal vector definition. So if you flip the U direction, the V direction, or if you swap U and V the normal vector will be inverted.</p>
<p> </p>
<p>Breps on the other hand have an override for the normal direction. A Brep Face is allowed to invert the normal direction of the underlying surface. This is so we can join surfaces into polysurfaces and have their normals match up without the need to flip directions and trimming curves.</p>
<p> </p>
<p>I'm not…</p>
<p>Surfaces have a strictly defined normal vector definition. So if you flip the U direction, the V direction, or if you swap U and V the normal vector will be inverted.</p>
<p> </p>
<p>Breps on the other hand have an override for the normal direction. A Brep Face is allowed to invert the normal direction of the underlying surface. This is so we can join surfaces into polysurfaces and have their normals match up without the need to flip directions and trimming curves.</p>
<p> </p>
<p>I'm not sure but it could be that the current confusion stems from this brep-face-normal-override flag.</p>
<p> </p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Seattle, WA</p> Yeah I don't get it either. …tag:www.grasshopper3d.com,2010-12-11:2985220:Comment:1415392010-12-11T04:44:48.529ZChris Tietjenhttps://www.grasshopper3d.com/profile/ChrisTietjen
<p>Yeah I don't get it either. It seems like the max and min curvatures should flip in the case shown in the screen shot attached.</p>
<p>Chris</p>
<p>Yeah I don't get it either. It seems like the max and min curvatures should flip in the case shown in the screen shot attached.</p>
<p>Chris</p> No. Curvature is signed base…tag:www.grasshopper3d.com,2010-12-11:2985220:Comment:1415242010-12-11T01:05:59.690ZChris Tietjenhttps://www.grasshopper3d.com/profile/ChrisTietjen
<p>No. Curvature is signed based on the direction of the normal at the point of interest and the 'sense' of the curves direction so it can be less than zero. So one of the principal curvatures can be negative and therefore less than zero and also the min. principal curvature which would make zero a legitimate max. curvature. Certainly though the absolute value of the reciprocal of any radius will always be greater than zero but that's not curvature as we're talking about it here. In the…</p>
<p>No. Curvature is signed based on the direction of the normal at the point of interest and the 'sense' of the curves direction so it can be less than zero. So one of the principal curvatures can be negative and therefore less than zero and also the min. principal curvature which would make zero a legitimate max. curvature. Certainly though the absolute value of the reciprocal of any radius will always be greater than zero but that's not curvature as we're talking about it here. In the case of the cylinder if the normal is pointing toward the central axis then the curvature would be positive since the curve of the cylinder and the normal have the same 'sense'. If the normal is pointing outward then the curvature would be negative since the normal and the curve of the cylinder now have opposite 'sense'. At least this is how I understand it. Playing around with the curvature component and a referenced cylinder I notice however that changing the direction of the normal from 'outside' to 'inside' has no effect on the output of the component. Swapping the uv directions however does change the sign...hmmm?</p>
<p>Chris</p> David,
Is it possible to alte…tag:www.grasshopper3d.com,2010-12-10:2985220:Comment:1415142010-12-10T23:21:36.998Zkermin chokhttps://www.grasshopper3d.com/profile/kerminchok
<p>David,</p>
<p>Is it possible to alter the range of integer sliders? I know the default is set for the length to be at least 10. This is an issue when we have less than 10 items to iterate through, and it makes controlling animation tricky because we get a few duplicates or null frames because the range of the integer slider has to be at least 10 items long.</p>
<p> </p>
<p>Thanks</p>
<p>Kermin</p>
<p>David,</p>
<p>Is it possible to alter the range of integer sliders? I know the default is set for the length to be at least 10. This is an issue when we have less than 10 items to iterate through, and it makes controlling animation tricky because we get a few duplicates or null frames because the range of the integer slider has to be at least 10 items long.</p>
<p> </p>
<p>Thanks</p>
<p>Kermin</p>