1
$\begingroup$

After some experimentation in geometry nodes I noticed some of my root group inputs are using degree as their unit, which in my case makes sense, but I can't remember what I did to switch to this unit, or even if I actually did something.

My inputs are defined as floats apparently.

enter image description here

Note 180 is recognized as a half turn, meaning not only a degree unit is displayed, but the conversion degree-->radian is also performed under the hood. I can't reproduce this starting from scratch and using the same nodes:

enter image description here

I noticed the type of links used with the input appears different (discrete vs. multiple), but this difference seems only due to the behavior of the Combine XYZ node, e.g. both nodes with unconnected outputs:

enter image description here


Do I miss something obvious to select no unit or degree unit in the socket definition? Or is this a side effect from some previous operation? How to assign degrees to the newly created group inputs?


$\endgroup$
9
  • 1
    $\begingroup$ This is actually very similar question to this: blender.stackexchange.com/questions/271457/… $\endgroup$
    – Crantisz
    Commented Aug 15, 2022 at 11:18
  • 3
    $\begingroup$ Does this answer your question? How to add Units in the Input Parameters of Geometry Nodes properties panel? $\endgroup$
    – Crantisz
    Commented Aug 15, 2022 at 11:21
  • 2
    $\begingroup$ @Crantisz, Both links are relevant. However none of the questions have yet an extensive answer, details are scattered (the reason it happens, how to remove it, the fact it is mostly a hidden parametrization, etc). Beyond my own interest, I think it would be interesting for the community to merge all these questions and provide a complete answer. $\endgroup$
    – mins
    Commented Aug 15, 2022 at 11:26
  • $\begingroup$ @GordonBrinkmann can you undelete? :) Cheers! $\endgroup$ Commented Jan 17, 2023 at 10:07
  • $\begingroup$ @MarkusvonBroady Let's clean up the topic and collect all the answers at a single point. $\endgroup$
    – quellenform
    Commented Jan 17, 2023 at 16:28

1 Answer 1

4
$\begingroup$

The parameter is bl_socket_idname. For regular value it is NodeSocketFloat, for radians is NodeSocketFloatAngle.

enter image description here

Unfortunately, there is no way to edit them at this point of time. You may only remove and make new. Then I was trying to set it manually using blender python API, blender crashed.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged .