Closed schiele closed 1 year ago
Hi @schiele! First of all, thank you so much for contributing, this is my first released open source project and it's exciting to have PRs. I will review your changes and test them as soon as possible.
Okay, I understand why you're using the epsilon variable, but I don't quite get why you declare it outside of the module. If someone imports the file using 'include' instead of 'use', they could potentially modify the value of epsilon. Wouldn't it be better to declare it inside if it's meant to be a 'constant'?
In the end, this boils down to a matter of taste. The reason I did it like this is:
So in the end you need to decide what is your preference, whether you want to keep it I did it, move it to the module, or maybe add a unique prefix to make the name less likely to conflict with other code (but therefore make your code a bit more ugly).
Thanks for the explanation, I will keep your code.
This applies some OpenSCAD good practices that increase rendering quality and speed and avoid non-manifold objects.