Component Wish: Surface Direction. - Grasshopper2024-03-29T12:54:29Zhttps://www.grasshopper3d.com/forum/topics/component-wish-surface?xg_source=activity&feed=yes&xn_auth=noGreat!!thanks to].tag:www.grasshopper3d.com,2010-07-24:2985220:Comment:794932010-07-24T17:11:22.001ZAlpha222https://www.grasshopper3d.com/profile/Alpha222
Great!!thanks to].
Great!!thanks to]. Hi alpha222
attached the nor…tag:www.grasshopper3d.com,2010-07-24:2985220:Comment:794652010-07-24T15:05:15.305Zto]https://www.grasshopper3d.com/profile/to
Hi alpha222<br />
<br />
attached the normal swap uv ghx
Hi alpha222<br />
<br />
attached the normal swap uv ghx Hi Danny , I think you have g…tag:www.grasshopper3d.com,2010-07-24:2985220:Comment:794372010-07-24T12:01:56.698ZAlpha222https://www.grasshopper3d.com/profile/Alpha222
Hi Danny , I think you have get a VB component(code by to]) to do the swapUV work.And can you just upload it to the forum ? I have little vb knowleadge and cant manage it myself.Thanks.
Hi Danny , I think you have get a VB component(code by to]) to do the swapUV work.And can you just upload it to the forum ? I have little vb knowleadge and cant manage it myself.Thanks. What I would like to do......…tag:www.grasshopper3d.com,2009-10-14:2985220:Comment:248062009-10-14T19:14:34.085ZDanny Boyeshttps://www.grasshopper3d.com/profile/DannyBoyes
What I would like to do.......<br />
<br />
I have a number of points generated from a surface division that then create curves to loft panels on this surface. Some panels are created from pairs of curves that are orientated 90 degrees out from the other curves depending on the re-ordering of the points. [If you're not with me so far see Simon Vorhammer's thread about finding the lowest point elsewhere.] After these new surfaces are created I would like to swap the U and V directions of the surfaces that…
What I would like to do.......<br />
<br />
I have a number of points generated from a surface division that then create curves to loft panels on this surface. Some panels are created from pairs of curves that are orientated 90 degrees out from the other curves depending on the re-ordering of the points. [If you're not with me so far see Simon Vorhammer's thread about finding the lowest point elsewhere.] After these new surfaces are created I would like to swap the U and V directions of the surfaces that do not correspond to the original surface.<br />
<br />
There is a Rhino command for this Direction->swapUV and like the GH flip component where a guide curve can be used to get the direction I thought this would be quite a useful addition to Grasshopper. Any thoughts?<br />
<br />
Danny here's a quick surface that g…tag:www.grasshopper3d.com,2009-10-14:2985220:Comment:247942009-10-14T18:47:43.541ZDamien Alomarhttps://www.grasshopper3d.com/profile/DamienAlomar
here's a quick surface that generates an extreme case of not having perpendicular U and V directions....Simple plane, rebuilt with a bunch of control points, then "Maelstromed"
here's a quick surface that generates an extreme case of not having perpendicular U and V directions....Simple plane, rebuilt with a bunch of control points, then "Maelstromed" i tried. thanks for the corre…tag:www.grasshopper3d.com,2009-10-14:2985220:Comment:247782009-10-14T17:47:34.290ZGennifer E Munozhttps://www.grasshopper3d.com/profile/GenniferEMunoz
i tried. thanks for the correction!
i tried. thanks for the correction! Eh, almost correct. The U and…tag:www.grasshopper3d.com,2009-10-14:2985220:Comment:247742009-10-14T17:44:05.381ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
Eh, almost correct. The U and V directions of a surface are not necessarily perpendicular to each other, whereas the axes of a plane always are. So although the x-axis is tangent to the u-direction, the y-axis is merely perpendicular to the u-direction and the normal.<br />
<br />
However, in most cases it is a pretty good representation of UV directions.<br />
<br />
--<br />
David Rutten<br />
david@mcneel.com<br />
Seattle, WA
Eh, almost correct. The U and V directions of a surface are not necessarily perpendicular to each other, whereas the axes of a plane always are. So although the x-axis is tangent to the u-direction, the y-axis is merely perpendicular to the u-direction and the normal.<br />
<br />
However, in most cases it is a pretty good representation of UV directions.<br />
<br />
--<br />
David Rutten<br />
david@mcneel.com<br />
Seattle, WA you can use the evaluate surf…tag:www.grasshopper3d.com,2009-10-14:2985220:Comment:247362009-10-14T15:24:15.610ZGennifer E Munozhttps://www.grasshopper3d.com/profile/GenniferEMunoz
you can use the evaluate surface component (surface>analysis>evaluate surface) to get a normal vector and frame of the surface at any point. it may help to reparametrize the surface in order to evaluate it on a 0-1, 0-1 scale. the x direction of the frame is the u direction of the surface and the y direction of the frame is the v direction of the surface. the normal vector is the overall direction of the surface itself.<br />
<br />
test this out and compare it to what you get using the DIR command…
you can use the evaluate surface component (surface>analysis>evaluate surface) to get a normal vector and frame of the surface at any point. it may help to reparametrize the surface in order to evaluate it on a 0-1, 0-1 scale. the x direction of the frame is the u direction of the surface and the y direction of the frame is the v direction of the surface. the normal vector is the overall direction of the surface itself.<br />
<br />
test this out and compare it to what you get using the DIR command in rhino.<br />
<br />
hope this helps.<br />
<br />
gm