I'm probably looking right at it, but I have nop head's library open in
Visual Studio and can't find the variable "eps" definition. My guess is
that eps is short for epsilon. Is it?
I can find numerous references to the variable named "eps." From an echo
statement, its value is 0.0078125. But I don't see its definition.
What am I missing?
-Pat
It is defined in global_defs.scad
https://github.com/nophead/NopSCADlib/blob/master/global_defs.scad#L49,
which is included everywhere in my library and client code.
It is short for epsilon and is equal to 1/128, which is an exact number on
binary floating point. I use it to prevent z fighting and CSG errors with
coincident faces.
On Tue, 26 Oct 2021 at 04:31, Patrick Callahan pat.callahan1@gmail.com
wrote:
I'm probably looking right at it, but I have nop head's library open in
Visual Studio and can't find the variable "eps" definition. My guess is
that eps is short for epsilon. Is it?
I can find numerous references to the variable named "eps." From an echo
statement, its value is 0.0078125. But I don't see its definition.
What am I missing?
-Pat
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org