(bug) weight rounds to 0.001 (mac only)

how to repeat:
draw a _curve Degree 3, 4 CVs
select second CV
_weight 0.123456789
select third CV
_weitght 1.987654321

call weight again or check with
_list
0.12300000339746475
1.9880000352859497
the input values are rounded to the 3rd digit - independent of the document unit tolerance or display settings.

I would love to be able to enter more precise weight.
At minimum i would expect that the field respects the setting in display precision.

I was always wondering if this behaviour is consistent - and i doubt it. I am quite sure there are some other fields where i enter 2.345678 and actually get an 2.3460000xxx

thanks for a fix - kind regards - tom

That’s not been my experience. I’ve always been able to set the weights to 16 decimal places and it persists until set again.

Would what your seeing be a Rhino for Mac thing?

1 Like

maybe a mac only thing - yes.
thanks for digging in

i am talking about setting the weight via the command _weight - not via code.

Rhino 8, Windows 11: I also see no rounding. Used Weight to set weights to 17 plus digits. List and Weight reports weights as entered out to 16 digits. 17th digit varied slightly due to decimay to binasry to decimal conversions. Also did some transformations and no rounding.

1 Like

seams like a mac only issue

Perhaps someone else using a Mac could test it.

Yes I’m talking about using Weight command.
I get a dialog box that looks like this:

first call of _weight with input

second call on same CV…

… mac only bug / problem

@jim thanks

Yes, on the second call i get the same thing as the first call up to 16 decimal places. Anything I input beyond 16 places is truncated to 16 places.

Hi Tom -

Thanks → RH-86444 Weight: Values are Rounded to 3 Decimal Places
-wim

1 Like

RH-86444 is fixed in Rhino 8 Service Release 18 Release Candidate

1 Like