U v reverse - rhino command and gh component different behavior

HI ,

I am struggling in order to find the way to unitize U and V direction for a list of surfaces.

to start with , i was trying to make a definition to correct the uv according to a set of reference surfaces but then realized that the _Dir command in rhino is working differently ( i guess ) from corresponding native component in GH, let me explain.

if i work in rhino and launch _Dir command on a given surface i get this

if i push on Ureverse i actually reverse the U vector

if i try to do the same using native SrfReverse component i get this

if i set reverse U to true i also V is changed…UV vectors seems to be somewhat swapped and reversed

so my first questions are :

  1. why is this happening …shouldn’t GH be working as rhino ? GH is very messy compared to rhino

.2) my need would be to compare UV of surface list B with corresponding surfaces from List A but when i compare the UV and act to eventually change only one of the two as a result everything is messed up. can any one tell me if attached definition make any sense ?

thanks in advance.

20260611 UV surfaces.gh (144.8 KB)

Hi @cloudsvisitor77,

What you see on the preview is the ‘Frame’ at this point.
In my opinion this component should never had this output because it induces to exactly this kind of confusing, or at least return a Frame aligned with the U,V directions even this mean it Z axis points to the opposite direction than the surface Normal at this point. But this too late to change because maybe some users are relaying on this behavior.

The component and the command are doing the same, but the preview you expect is the preview of the U, V and W (Normal) directions. This coincides with the preview ‘Reverse Surface’ is showing to you.


Reverse-Surface.gh (26.6 KB)