Tolerance
All  1-4  5-6

Previous
Next
 From:  tyglik
292.5 In reply to 292.4 
Well, I will accept your argument which appears to be quite understandable.

Petr


p.s.

>>...if it should be a global setting that is saved in the .ini file...
I think it should be saved into the current file. A new file might start with a default 0.001 value, then.

By the way, what happenes when you add the units? Will the default tolerance be altered properly if the units are changed from metric units to non-metric ones (so the "absolute" tolerance for both mm and inches will be the same) or the tolerance will remain? (0.001 units is 0.001 mm for mm or 0.0254 mm for inches; of course, 0.001 units is 1 mm for meters, but the mm and meters aren't "closely related" units.)
  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
 From:  Michael Gibson
292.6 In reply to 292.5 
> I think it should be saved into the current file. A new file might start
> with a default 0.001 value, then.

The problem with this method is that then when you load that file, you would get that tolerance. Unlike anything else that is loaded from a file, the tolerance can have a big impact on models that you create from then on.

So for instance, if someone saved a file with a looser 0.01 tolerance, and you loaded that file and decided to create a new model in it, your new model would be subject to that tolerance and certain operations could possibly fail, that would not fail if you started fresh with File/New.

It's not so bad when you are loading your own files back in (since you were the one that messed with the tolerance in the first place there), but it can lead to surprising behavior when you load a file that was not initially created by you.


> By the way, what happenes when you add the units?

I was intending for the tolerance to just remain 0.001 no matter what the units were set to.

- 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: All  1-4  5-6