Coplanar Quads?
2017-08-15, 18:12 (This post was last modified: 2017-08-15, 18:27 by Nils Schmidt.)
2017-08-15, 18:12 (This post was last modified: 2017-08-15, 18:27 by Nils Schmidt.)
(2017-08-15, 16:37)Magnus Forsberg Wrote: Could you please have look into this issus?
http://www.ldraw.org/cgi-bin/ptdetail.cg...16p6ua.dat
I've made a few changes to it, but there seem to be some undetected coplanar quads still in it.
They are triggered as bad in LDDP, but not in LDPE.
Unfortunately, I am not able to exactly re-implement the coplanarity detection of program XYZ.
Coplanarity detection uses floating point arithmetic!
How many errors are detected? Which lines are affected? I actually see some warnings if I lower the threshold from 1 to 0.5 Degree...
However, I will implement a "Coplanarity Heatmap Mode" where you can visually identify quads which are near the coplanarity limit (issue #593).
Additionally, it will be possible to customise the coplanarity threshold someday (#594).
If you really want to have the same behaviour for different applications, then they have to use a common open source library (e.g. for coplanarity detection) with strict floating point arithmetic or arbitrary precision.