# geometry node distance used to measure distance between faces

Hi everyoby it’s first time i use geometry nodes so i’m trying to learn something; to do this i’m doing some experiments to better understand behaviour of each node and i’m stuck on a probably simple step that i don’t understand. As shown in pictures i’m trying to see in viewer the distance between original face and the extruded one but i’m doing something wrong cause it returns the value of 1.732 instead the measured one (0.826572) and if i change the scale offset value in extrude GN it doesn’ change. where am i wrong?

thanks

• I do not understand how do you define the Distance. It is mixing a Boolean (the Top output socket of the Extrude Mesh node), with a Null vector (the Attribute output socket of the Capture Attribute node with Value set to 0). This attribute is in the Face domain and the Viewer node is in the Point domain. It looks like a mess for me... Commented Mar 20 at 21:38
• About the 0 or 1.732 value displayed in the Spreadsheet viewer, it will be a constant whatever is done because: the Top socket is returning 0 or 1 (Boolean) ; connected to a vector, it is transformed to (0,0,0) or (1,1,1) ; the Capture Attribute node is returning 0, which is connected to a vector, so it is (0,0,0) ; the Distance node is computing the distance between (0,0,0) and { (0,0,0) or (1,1,1) } ; this value is 0 or square root of 3 (i.e. 1.732). QED Commented Mar 20 at 21:44