system decimal display  1-20  21-38

Next
 From:  BurrMan
2445.1 
Hi Michael,
Is there a setting inside the ui that I can have the readout in the UI match my decimal display of 1.0000



I can move around quite a bit before .54 turns to .55. I know the new size edit popup follows this (Very nice!) but if the UI displayed it would help me also when I'm analyzing parts and sticking things together.

Thanks,
Burr

EDITED: 19 Jun 2012 by BURRMAN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.2 In reply to 2445.1 
Hi Burr - normal input controls should respect your decimal place setting, like for instance when you are drawing a rectangle the width and height controls should use it, or when drawing a circle the radius value should use it.

However, that size control is a special case thing, it is a little different than those other controls since it needs to place 3 coordinate values all on the same line. Having a lot of decimal places on each value can tend to cause that line to get long enough for it not to fit in that area.

Here is an example showing the problem - here I have altered a bit of the sidepane.htm file to set 4 decimal places there:



Notice how the numbers have gotten pretty large now and there is not enough space to hold them all? The last number has gotten chopped off and can't be seen completely.

So that is the reason why the precision for those numbers is handled differently.

One thing you can do is to click on that line when you want to see more accurate values - when the "edit size" dropdown pops out, the controls on that are just one value per line and they by default have the precision set higher, to be 4 decimal places. So that can give you a way to view the higher precision with a click. (EDIT: oops, I just saw that you knew this already, sorry!)

If you'd like to alter the UI to have 4 decimal places in that area anyway despite that problem, you can do that with one tweak to your SidePane.htm file - find the script function formatSize(), and go to the last line of it (line #280 in SidePane.htm), which says this:

return moi.ui.formatCoordinate( number, precision );

Change that to this instead:

return moi.ui.formatCoordinate( number, -1 );


By changing that second parameter to -1, it will make that size entry area use your decimal precision setting, but you will probably run into the overflow problem. Maybe one way to tune that up though would be to remove the "Size:" label at the front - to do that go to SidePane.htm, line #401, which says:

var size = moi.ui.getText( 'Properties panel size label' ) + ' ';

and change that to

var size = "";


That will avoid putting that text "Size: " at the start of it, which will probably help to fit the longer values in there.

Hopefully those tweaks will get you set up the way you want?

- Michael

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2445.3 In reply to 2445.2 
Thanks Michael.
I didnt consider the size of the label thing and I wont try to do the "cram it in there" thing. I can respect the UI there. I'll just have to remember that when I need 4 point precision I need to type the values as this threw me a bit today.

Would it be possible to make a "Precision Mode" switch somewhere so when you do a "Drag" operation it automatically opens the "Edit Popup" to enter values? Or do you think this is a particular use area? Just a thought that would speed up work in this particular area.

Thanks again,
Burr
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.4 In reply to 2445.3 
Hi Burr,

> I didnt consider the size of the label thing and I wont
> try to do the "cram it in there" thing.

Well, it seems like it will fit pretty well if you also do that second change and remove the Size: label from the start of it.

Those 2 changes together should let you get your current version set up the way you want...


> Would it be possible to make a "Precision Mode" switch somewhere
> so when you do a "Drag" operation it automatically opens the
> "Edit Popup" to enter values?

I guess I'm not quite sure how this one would give you anything new really?

I mean currently if you want to edit by entering values, you can click on that "Size" line and that Edit size popup will come up and let you enter values... Would you gain anything by having 2 ways of making that thing pop up instead of the one way currently?

Maybe I am not understanding what you are getting at though...

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2445.5 In reply to 2445.4 
It certainly works the way it is, I will also try and edit the sidepane file and see if it works for me. I was thinking of MoI's "Focus on typing" input system where when you start a command, you dont have to click to enter values, If I work with the edit frame, looking at that readout value, yet want to have the 4 point values, it would save a step (The reach and click) and I would just start typing in values. (Get close and type VS. Get close then click then type) Not that it's non functional the way it is. More thinking of the "26 second model" that MoI blow's others away at!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.6 In reply to 2445.1 
Hi Burr - one other question - in your screenshot there you had all values less than 1, is that normal for the kind of thing that you want to get the higher level of display precision on?

I can probably do a better default job with that range of numbers, since when there is only one digit on the left side of the decimal it means the number will still be fairly compact overall even with more digits to the right of the decimal.

I mean like 0.2534 is quite a bit easier for me to fit there than something like 1952.2534 where there are more digits to the left as well.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2445.7 In reply to 2445.6 
Yes Michael.

Working on our CNC machine (Travel under 12 inches in all directions) will keep my numbers under that larger value. But of course not everybody works on small values. Certainly willing to work within the greater good of the rest of us, but looking for a switch to "Small numbers" or somthing. (Just not good at the longer repercussions of what I'm asking.... Thats why we leave that up to you!)

Thanks for the input here,
Burr
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.8 In reply to 2445.5 
Hi Burr, re: avoid the click - if you want, it is possible to set up a keyboard shortcut that will pull up the edit size popout rather than activating it on a click.

To do that set up a keyboard shortcut with this as the command:
script:var sp = moi.ui.getUIPanel('moi://ui/SidePane.htm'); moi.ui.showMenu( 'EditSizeMenu.htm', sp.PropSizeContainer, 0, 0 );

That should pop it up and then if you start typing numbers, they will go directly into the X: field, if you want to go to a different field type Tab instead of numbers until you get to the field you want to set.


But unless you are doing that really pretty frequently just saving one click is probably not much savings...

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2445.9 In reply to 2445.8 
Ahhhhh, thats it for me. I tried the sidepane customization and it wasnt an option as I cant drag at that precision anyway!!! (Again Close, but still needed to type.)

The keyboard shortcut works well for me. Perfect actually! Thanks.

Burr
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.10 In reply to 2445.7 
Hi Burr, it seems like I may be able to fix it up to work fine for your case without messing anything else up since you are dealing with that smaller range of numbers, sorry I did not fully clue in to that part right away!

I've got a tweaked version attached here, you can update your Jan-19 v2 beta with this version by copying the attached SidePane.htm over top of the old version in the \ui subfolder inside of MoI's main installation folder.

If this does what you need, I can set it up like this for the next v2 beta in the regular main installation.


It will do 2 things different from the previous version - if you have numbers to be displayed there that are 2 digits or less in size to the left side of the decimal point (values less than 100), then it will use your specified number of decimal places to display those rather than only using 2 decimals.

Then additionally I set it so that if you have customized your number of decimal places to be 4 places or higher, it will just in that case skip showing that "Size:" label in order to let the numbers fit there better.

This will be no change for the majority of people who have the default 2 decimal places set but I think should work ok for you now, let me know!

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.11 In reply to 2445.9 
Hi Burr, you'll probably need to zoom in a bit before dragging will be able to have an effect on small values like that.

Anyway, I think I've got it figured out to display 4 decimal places for you but not to have any problems or differences for the general case, so I'll still go ahead and make this modification for the next release for the regular install.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2445.12 In reply to 2445.10 
Hey Michael,
I just tried it and I like it. It's good for analyzing what I've got and am looking at.

First notice is that with a decimal value of 5 places as the UI setting, the label display's the 5 places but the edit popup still truncates it down to 4 so the numbers dont jive. I believe you would already know this and that just has to be tweaked in if you decide to implement it into the workflow.

Again, I think you hit it with "When I'm working on a building at 536.82, I'm less worried about .0002 than when I'm fitting parts in a precision component where the value could become apparent. Even I dont want to be bothered with the larger value decimals on larger models. I still think a switch in the options or something is better than hard coding it into all operations.

I'll leave it for you to contemplate.

Burr
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.13 In reply to 2445.12 
Hi Burr,

> I still think a switch in the options or something is better
> than hard coding it into all operations.

The kind of tricky part is that in general when just one number is being displayed in a field like for radius or width, that doesn't have a problem showing a lot of decimal places.

This size readout is a special case though since it is trying to cram 3 numbers all together on one line, that makes it in particular have some special size considerations that aren't normally a problem.

To fit more stuff for that particular case, I needed to short the number of decimal places that are displayed when you get larger numbers like 1321 , etc...

To try and kind of "make up" for this shorting, I made that edit size menu display 4 decimal places of accuracy when it is opened, which normally is an increase in accuracy since the regular default is 2 decimal places. But you're definitely right that if you have set it to 5 places then that is actually a decrease, I will see if I can tune that up. That will probably take a small change to the field control itself rather than something in the .htm file, so that's one that I won't post here right away but should be able to be set up for the next beta.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2445.14 In reply to 2445.13 
MoI's models come into our CAM package well and lately I've brought them into FEA software with nice results. MoI is such a great tool to have!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.15 In reply to 2445.12 
Hi Burr,

> First notice is that with a decimal value of 5 places
> as the UI setting, the label display's the 5 places but
> the edit popup still truncates it down to 4 so the numbers
> dont jive.

Actually this turned out to be easier to fix than I had thought. (wish that happened more often!!)

You can apply the fix to the Jan-19 v2 beta by copying the attached EditSizeMenu.htm over top of the old one inside of the \ui subfolder under MoI's main installation folder.

With this update in place (which will be in the next v2 beta too), then it should fix this problem where that edit popup would only display 4 decimal places even if you had your regular setting at 5 decimal places.

Hopefully that should fix up this particular issue, please let me know if it doesn't.

Thanks for reporting it!

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2445.16 In reply to 2445.15 
MoI makes clean geometry!

EDITED: 19 Jun 2012 by BURRMAN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2445.17 In reply to 2445.16 
Michael,
I slept on this a bit and thought I would bring it up again.

doing it that way may make your ui unpredictable. I used your question method on myself. "What happens if someone chooses 6 decimal places?"

It does break the basic continuity from function to function. My only initial problem was that .54 displays as .54, but .5407 displays as .54 and I would need to edit to be sure.

I think you had it right with keeping that number simple and only have the larger value in the edit popup, but that label could have some king of an "identifier" that means there are further digits in the realm of the decimal options. Does that make more sense? so like color or a character. Somthing like .54>

Burr

[EDIT] A possible try I was thinking of also was to make that decimal display in the label only work off of "1 digit" to the left of the decimal (possibly even "no digits" on the left). Again with 12 inch parts the thousanth value is less of a factor but with the 1 inch and .25 inch stuff it can become apparent.

EDITED: 26 Feb 2009 by BURRMAN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.18 In reply to 2445.17 
Hi Burr, sorry I don't think I'm quite following you on this last one.

> I used your question method on myself. "What happens if
> someone chooses 6 decimal places?"

I guess I'm not quite sure what part of the UI you are referring to now - are you talking about the "3 values on a single line" part that is displayed on the top level UI, or do you mean the fields in the Edit size popup menu that is displayed when you click on that size info?

If you install that patch above for the edit size popup (update your install's EditSizeMenu.htm with the attached version above) then that part should behave pretty predictably when you set 6 decimal places in the options, it should just display 6 decimal places there with the patch installed same as any other regular field that you see.

The one that has all 3 values on a single line is a special case and it just cannot adhere to the exact same standard as the regular fields do. But with that other previous update in place it will pay attention to your custom number of decimal places set for numbers less than 100.


> but that label could have some king of an "identifier" that
> means there are further digits in the realm of the decimal
> options. Does that make more sense? so like color or a
> character. Somthing like .54>

When you have moved things with the mouse you'll pretty much have values like 0.542598218938321 as the actual number in nearly all situations unless you've used something like grid snap. So basically that special character would be displaying pretty much all the time...


I'm kind of confused now - I thought the above patches would get your display set up how you needed with the 4 decimal places showing in that size area like you were wanting initially, is that not working right?

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2445.19 In reply to 2445.18 
Hi Michael,
It works exactly how you set it up to work and I was just re-thinking a longer impact on your UI.

Let me clarify.

>>I guess I'm not quite sure what part of the UI you are referring to now - are you talking about the "3 values on a single line" part that is displayed on the top level UI, ?>>>

Yes. Talking about the "Label" with 3 values on one line. You made it do exactly as we discussed, but after fooling around a bit, larger values or setting that even higher decimal setting (six places) will truncate that number. Was thinking you may want to avoid this.

>>>>If you install that patch above for the edit size popup (update your install's EditSizeMenu.htm with the attached version above) then that part should behave pretty predictably when you set 6 decimal places in the options, it should just display 6 decimal places there with the patch installed same as any other regular field that you see.>>>>

Yes that patch is perfect and actually desireable in all situations. So it now supports the higher decimal settings.

>>>>The one that has all 3 values on a single line is a special case and it just cannot adhere to the exact same standard as the regular fields do. But with that other previous update in place it will pay attention to your custom number of decimal places set for numbers less than 100.>>>

Yes, this is what I am refering to now. You set it up to do what I wanted, but then I noticed the truncated numbers with higher values and thought you may not want this and am trying to propose an alternative that deals with the situation I presented. Which leads to the last part and the cruxt of my new presentation.

>>>>>When you have moved things with the mouse you'll pretty much have values like 0.542598218938321 as the actual number in nearly all situations unless you've used something like grid snap. So basically that special character would be displaying pretty much all the time...>>>>

That really is it and I am suggesting a revert from my original request. Having the UI be clean with only 2 decimal places like you have set up really does work. My particular problem was when I use that label up there (The one with 3 lines on it) to gather my object properties, it will display .54 even if the value is .53476 or something. With the new setup you made that displays all the decimal places, if I create somthing that is .54 then the display only shows the 2 decimals. no real need for any others.

So really all I need in the display label is an indicator that the value is something other than "Round". Hence the .54> THen I would know that it needs an edit popup to get the 6 decimal precision. The edit popup handles these numbers quite well.

I understand that for most users the smaller values would not be needed and haveing some kind of special character "Always there" may confuse the UI. Trying to think of a way to acheive the "notification of the larger decimal value" without the UI impacted detrimentally. Maybe even the 2 decimal number appears with a slightly darker box around it.

Does that make sense?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2445.20 In reply to 2445.19 
> if I create somthing that is .54 then the display only shows
> the 2 decimals. no real need for any others

Is this the underlying problem - that you're not sure when you see 0.54 somewhere whether it is 0.54 exactly, or if it has been rounded for display?

Would you like to have an option to have the trailing zeros displayed, so that this would display as 0.5400 instead of just 0.54 in that case?

That may help to clarify the number of decimal points used for a display at any particular time since you would see the same number of digits to the right of the decimal in all cases.

That could possibly eliminate any need for special colors or symbols because you would know how many decimals are being rounded to at any time just by seeing the number.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-20  21-38