MoI discussion forum
MoI discussion forum

Full Version: Please use fixed point aritmetics instead of floating point

Show messages: All  1  2-5

From: Michael Gibson
20 Jan   [#2] In reply to [#1]
Hi Fubax, in general there aren't any CAD libraries available to use that are based on fixed point instead of floating point.

So what you describe would require implementing an entire new geometry kernel library. It's not feasible.

Also fixed point does not just magically solve all precision issues. Just fundamentally any representation of real numbers in digital form will have limits to precision because it needs to fit in limited storage space.

- Michael
From: Fubax
20 Jan   [#3] In reply to [#2]
Ok, I understand. Let's speculate how it would work. Imagine a program, where you choose the project scale (maximum dimension) and machining precision (smallest size step, like 50 microns). From that the fixed point format could be chosen and it would work essentially as under-the-hood grid snapping. In my opinion it would be way better.
From: Michael Gibson
20 Jan   [#4] In reply to [#3]
Hi Fubax, there are some programs that work like that such as 3D Coat's voxel sculpting mode.

It isn't common in CAD though.

- Michael
From: BurrMan
20 Jan   [#5] In reply to [#4]
Minecraft!!!

Show messages: All  1  2-5