All Discussions Tagged 'point' - Grasshopper2024-03-29T09:20:02Zhttps://www.grasshopper3d.com/forum/topic/listForTag?tag=point&feed=yes&xn_auth=noCenter point of voronio pattern as control points on surfacetag:www.grasshopper3d.com,2017-11-22:2985220:Topic:18571482017-11-22T14:39:22.727ZMadeleinehttps://www.grasshopper3d.com/profile/MadeleineKallmarker
<p>Hello,</p>
<p></p>
<p>I would like to crate a voronio pattern and then get the center point of the voronoi cells as control point on a surface. Any tips? Attached is a sketch of how it will look like more or less. </p>
<p>Hello,</p>
<p></p>
<p>I would like to crate a voronio pattern and then get the center point of the voronoi cells as control point on a surface. Any tips? Attached is a sketch of how it will look like more or less. </p> find the closest pointtag:www.grasshopper3d.com,2017-11-07:2985220:Topic:18482352017-11-07T11:43:08.302ZHanan Tanasrahttps://www.grasshopper3d.com/profile/HananTanasra
<p>hey! i am trying to find the close points to the curves that im using, i mean, if there is a point that its distance from each curve is smaller that 5, then put it in a list, and orient it on that curve.. i tried to write it in python but i dont know why it doesnt work! <br/>thank you for helping!! </p>
<p>hey! i am trying to find the close points to the curves that im using, i mean, if there is a point that its distance from each curve is smaller that 5, then put it in a list, and orient it on that curve.. i tried to write it in python but i dont know why it doesnt work! <br/>thank you for helping!! </p> extract pointCoordinates to python for analysistag:www.grasshopper3d.com,2017-10-10:2985220:Topic:18281962017-10-10T12:02:41.958ZLukacsPeterhttps://www.grasshopper3d.com/profile/LukacsPeter
<p>dear all, </p>
<p>while trying to extract and compare x and y coordinates of sets of points (points of distinct curves, to see which ones differ only in the z direction) inside a python component with the least string-methods and/or gh-nodes possible, i am just hitting a series of walls.</p>
<p>as it may be seen in the attachment i chose python, and chose it because it seemed more consistent with my way of thinking regarding lists. </p>
<p>in theory the solution looked as easy as appending…</p>
<p>dear all, </p>
<p>while trying to extract and compare x and y coordinates of sets of points (points of distinct curves, to see which ones differ only in the z direction) inside a python component with the least string-methods and/or gh-nodes possible, i am just hitting a series of walls.</p>
<p>as it may be seen in the attachment i chose python, and chose it because it seemed more consistent with my way of thinking regarding lists. </p>
<p>in theory the solution looked as easy as appending tuples of the z coordinates to an empty list IF pt[0] and pt_[0] (xCoordinates) along with pt[1] and pt_[1] (yCoordinates) are equal in two (or more) sets of points.</p>
<p>the obvious turned out quickly: python does not know if a string is a coordinate, neither if a bunch of characters belong together, and while iterating, a loop just explodes the strings to characters and new lines.</p>
<p>i must miss at least two things, possibly on both grasshopper and python side, since it s only my first year in this wonder of programming geometries and anything so thank you in advance.</p> not getting always the Closest pts in a point collectiontag:www.grasshopper3d.com,2017-08-30:2985220:Topic:18065782017-08-30T19:29:16.841ZAlanhttps://www.grasshopper3d.com/profile/Alan771
<p>Hi there,</p>
<p></p>
<p>Not sure what I am doing wrong, I can't get the closest points in a point collection uniformly from some grouped rhino geometries that are referenced from my rhino model.</p>
<p></p>
<p>As per the illustration attached, the green points supposed to be the closest point of each geometry member in each group, being not always the case unfortunately. My intention is to get all green points to be inside of the cube. A simple task that is not that clear for me…</p>
<p>Hi there,</p>
<p></p>
<p>Not sure what I am doing wrong, I can't get the closest points in a point collection uniformly from some grouped rhino geometries that are referenced from my rhino model.</p>
<p></p>
<p>As per the illustration attached, the green points supposed to be the closest point of each geometry member in each group, being not always the case unfortunately. My intention is to get all green points to be inside of the cube. A simple task that is not that clear for me obviously. I can use some help here. =)</p>
<p></p>
<p>Thank you so much guys for reading this!</p>
<p></p>
<p>Cheers,</p>
<p></p>
<p>Alan</p> Curve Closest Point (Crv CP) errortag:www.grasshopper3d.com,2017-08-14:2985220:Topic:17983662017-08-14T21:04:25.318ZDongyeop Leehttps://www.grasshopper3d.com/profile/Daniel11
<p>Hi,</p>
<p></p>
<p>I spent some time to troubleshoot my Grasshopper file working not properly, and I found out that the issue has to do with a "Curve Closet Point" component. The last point fed into the Crv CP component creates "t" values higher than 1, even though all the curves are reparameterized. These point are very close to parameter "1", but I have other points getting right "t" values very close to 1 in my script.…</p>
<p></p>
<p>Hi,</p>
<p></p>
<p>I spent some time to troubleshoot my Grasshopper file working not properly, and I found out that the issue has to do with a "Curve Closet Point" component. The last point fed into the Crv CP component creates "t" values higher than 1, even though all the curves are reparameterized. These point are very close to parameter "1", but I have other points getting right "t" values very close to 1 in my script.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655054862?profile=original" target="_self"><img width="750" src="http://storage.ning.com/topology/rest/1.0/file/get/2655054862?profile=RESIZE_1024x1024" width="750" class="align-full"/></a>I'm attaching a GH file duplicating this issue seeking for help.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655054935?profile=original" target="_self"><img width="750" src="http://storage.ning.com/topology/rest/1.0/file/get/2655054935?profile=RESIZE_1024x1024" width="750" class="align-full"/></a></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655055090?profile=original" target="_self">Crv%20CP.gh</a></p>
<p></p>
<p>Thank you.</p>
<p></p>
<p>Dongyeop</p> From a model, I want to take out 'node point number' and 'element number'tag:www.grasshopper3d.com,2017-08-05:2985220:Topic:17942612017-08-05T15:58:34.855ZY.Katehttps://www.grasshopper3d.com/profile/MomijiSatomura
<p><span>I try</span></p>
<p><span>From a quadrangle made with these four simple lines and four points</span></p>
<p><span>I want to take out 'node point number' and 'element number'</span></p>
<p><span><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655055811?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2655055811?profile=original" width="609"></img></a></span></p>
<p></p>
<p></p>
<p></p>
<p><span>The blue letter shows a node point number…</span></p>
<p><span><br></br></span></p>
<p><span>I try</span></p>
<p><span>From a quadrangle made with these four simple lines and four points</span></p>
<p><span>I want to take out 'node point number' and 'element number'</span></p>
<p><span><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655055811?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2655055811?profile=original" width="609" class="align-full"/></a></span></p>
<p></p>
<p></p>
<p></p>
<p><span>The blue letter shows a node point number</span></p>
<p><span><br/><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655055908?profile=original" target="_self"><img width="750" src="http://storage.ning.com/topology/rest/1.0/file/get/2655055908?profile=RESIZE_1024x1024" width="750" class="align-full"/></a></span></p>
<p></p>
<p><span>↓ I want to take out 'node point number' and 'element number'</span></p>
<p><span><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655055987?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2655055987?profile=original" width="609" class="align-full"/></a></span></p>
<p><span> </span></p>
<p><span>I want to take out "two node point numbers" and "element number" of "element 1" that linked 2 to 1 of the panel point number</span></p>
<p></p>
<p>Like a lower figure</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655056123?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2655056123?profile=original" width="609" class="align-full"/></a></p>
<p></p>
<p>It is like the following figures when I output all elements</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655056286?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2655056286?profile=original" width="609" class="align-full"/></a></p>
<p></p>
<p></p>
<p></p>
<p>I want to give such data as an output result</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655056484?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2655056484?profile=original" width="351" class="align-full"/></a></p>
<p></p>
<p><span>anyone could help me?</span></p>
<p></p>
<p><span>Momiji.</span></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p> Why is MeshClosestPoint returning none when using python, but not when using gh components?tag:www.grasshopper3d.com,2017-06-20:2985220:Topic:17720212017-06-20T18:04:38.709ZMike Johnsonhttps://www.grasshopper3d.com/profile/MikeJohnson
<p>Attached is a .gh file that demonstrates my problem</p>
<p></p>
<p>The python script is supposed to accept a mesh, define a box, and then find the closest point on the mesh to the center of that box. When i try to do this using python scripting component, the MeshClosestPoint returns "none." [This is demonstrated in the yellow panels]</p>
<p>Alternatively, when I do this using the given grasshopper components I get the right result [demonstrated in the green panel].</p>
<p></p>
<p>I have a…</p>
<p>Attached is a .gh file that demonstrates my problem</p>
<p></p>
<p>The python script is supposed to accept a mesh, define a box, and then find the closest point on the mesh to the center of that box. When i try to do this using python scripting component, the MeshClosestPoint returns "none." [This is demonstrated in the yellow panels]</p>
<p>Alternatively, when I do this using the given grasshopper components I get the right result [demonstrated in the green panel].</p>
<p></p>
<p>I have a feeling this has something to do with my lack of understanding of what is actually being returned when I try to access the box / center point. Never programmed in python or rhino scripting. Hopefully this is a stupid mistake. Thanks for the help!</p>
<p></p>
<p>-mike</p> Point type errorstag:www.grasshopper3d.com,2017-06-05:2985220:Topic:17640382017-06-05T16:02:55.017ZGavinhttps://www.grasshopper3d.com/profile/Randy
<p>Hi I need some help understanding point types. I have created points a couple of different ways and and they seem to be incompatible with each other and generate runtime errors in the interpolate curve component when they are mixed together.</p>
<p></p>
<p>I have attached a definition that illustrates my problem:</p>
<p></p>
<p>the redish brown group creates an interpolated curve through an arching arrangement</p>
<p>the light blue group create an ellipse</p>
<p>the purple grouping allows me…</p>
<p>Hi I need some help understanding point types. I have created points a couple of different ways and and they seem to be incompatible with each other and generate runtime errors in the interpolate curve component when they are mixed together.</p>
<p></p>
<p>I have attached a definition that illustrates my problem:</p>
<p></p>
<p>the redish brown group creates an interpolated curve through an arching arrangement</p>
<p>the light blue group create an ellipse</p>
<p>the purple grouping allows me to section the ellipse</p>
<p></p>
<p>I want to replace z-elevation points of the redish group arch with points derived from the ellipse and its plane</p>
<p></p>
<p>the peach group illustrates the error. It is identical to redish group with the exception that I've swapped one of the points.</p>
<p></p>
<p>Does anyone know what I've done wrong?</p>
<p></p>
<p>Regards</p>
<p></p>
<p>Gavin</p> Intersection of multiple curves - sorting out pointstag:www.grasshopper3d.com,2017-05-31:2985220:Topic:17610622017-05-31T19:31:32.588Zineshttps://www.grasshopper3d.com/profile/ines111
<p>Hey everybody!</p>
<p>I need help with lists! </p>
<p></p>
<p>I have the following:</p>
<p>a list of 6 rectangles flattened</p>
<p>a tree of 30 lines sorted out in 6 branches (one per rectangle)</p>
<p>intersection of the two =84 points which are now in 72 branches</p>
<p></p>
<p>I need the points to be in sorted out per line, that is.. 30 branches </p>
<p>what I actually need is to then cull the lines that have more than 2 intersections, maybe there is an easier way to do…</p>
<p>Hey everybody!</p>
<p>I need help with lists! </p>
<p></p>
<p>I have the following:</p>
<p>a list of 6 rectangles flattened</p>
<p>a tree of 30 lines sorted out in 6 branches (one per rectangle)</p>
<p>intersection of the two =84 points which are now in 72 branches</p>
<p></p>
<p>I need the points to be in sorted out per line, that is.. 30 branches </p>
<p>what I actually need is to then cull the lines that have more than 2 intersections, maybe there is an easier way to do this? </p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2655046929?profile=original" target="_self"><img width="750" src="http://storage.ning.com/topology/rest/1.0/file/get/2655046929?profile=RESIZE_1024x1024" width="750" class="align-center"/></a></p>
<p></p>
<p>Thank you very much for your help!! </p>
<p></p> Shrink wrap a LIDAR point cloud of a treetag:www.grasshopper3d.com,2017-05-30:2985220:Topic:17601622017-05-30T16:21:32.213ZSam Ammarhttps://www.grasshopper3d.com/profile/SamAmmar
<p>Hello-</p>
<p>I'm trying to shrink wrap a mesh around a point cloud generated by a laser scanner. Since it's a scan of trees/vegitation, the points are not just on the outer surface but all through the shape (see the example file).</p>
<p>I need to reproduce the general size, shape and locations of trees in an existing place, so I cannot just sketch in some trees. my output needs to be rough blobs approximating the shape of the tree or group of trees. I have run a MeshFromPoints on the…</p>
<p>Hello-</p>
<p>I'm trying to shrink wrap a mesh around a point cloud generated by a laser scanner. Since it's a scan of trees/vegitation, the points are not just on the outer surface but all through the shape (see the example file).</p>
<p>I need to reproduce the general size, shape and locations of trees in an existing place, so I cannot just sketch in some trees. my output needs to be rough blobs approximating the shape of the tree or group of trees. I have run a MeshFromPoints on the clouds but that generates a random jumble of mesh faces.</p>
<p>What I 'll need is to be able to "tune" the shrink wrap's complexity/resolution.</p>
<p></p>
<p>I'm a complete GH newbie and I'm not looking for somebody to do the work for me but -</p>
<p>A) is there a grasshopper solution that gets me close</p>
<p>B) can you point me to some tutorials</p>
<p>C) process many of trees / stands of trees</p>
<p></p>
<p>I hope this describes the problem accurately.</p>