Bug? circle command—typed value being interpreted as radius sometimes

i experience this only if all three are true: smarttrack is on, the cursor is onortho, and i press enter rather than clicking

otherwise it is interpreted as diameter per usual

short video example:

circles have a diameter and a radius switch triggered by r or d (you may know this already)

if you type d enter then your diameter it will force diameter over radius, similarly if you type r enter first it forces radius over diameter.

I can’t tell from the clip if you may have typed a d or an r at some point that may have triggered this behavior, or if you indeed have found a bug.

It appears to be working as expected here in the latest wip, but I may be missing an important nuance.

can you give some more detail?

i didnt type a d or an r after running the command

heres a new recording with a keypress/mouseclick monitor on

The circle can also be defined by defining a second point, so I guess the issue is the SmartTrack in combination with the number interprets it as a point on the circle at said distance from origin which of course equals to its radius. This happens only when a SmartTrack point is created at the center of the circle. So if you for example hover for too long in the CPlane origin before creating the first point, this happens.

However, this does not happen in Rhino 8 (in both cases, the diameter overrides the SmartTrack), so this behavior is new in the WIP and definitely not desirable.

Edit: It’s interesting that the bug gets triggered by Enter, Space or right click but not by left click. If anything, I’d expect the exact opposite - left click usually means you’re selecting a point in the 3D space while the rest is just for confirming values in the command line.

I also realized that I’m running into similar behaviour in R8 when creating a rectangle and accidentally hovering on the 45° SmartTrack ortho line (I have set it to 45° instead of default 90°). In that case, typing a number (eg. 50) and confirming with Enter will interpret it as creating a square with a diagonal of length 50, instead of only setting the width of the rectangle and waiting for second dimension.