refactor dimension
The darfix.core.dimension.Dimension
class and general dimension mechanism is too complex for no reason.
A dimension can be defined from a set of values and a tolerance, a range (start, stop, step), a size a min and a max... See !273 (comment 324275) for details
There should be only one way if possible (either a range or a set of values - without tolerance). And potentially helpers to define this dimension. If really this is needed then we can have separated classes. But the current implementation is too chaotic.
Furthermore the user can tune the range but some processing is redone afterward and some user request will be ignored.
This is why a refactoring is recommended.