[LDPartEditor] 0.8.24 Beta Released (Rounding per X,Y,Z / bugfix)


RE: [LDPartEditor] wrong collinear detection threshold?
#27
(2016-09-23, 17:29)Philippe Hurbain Wrote: Clearly this issue won't prevent me from sleeping! But I fail to understand why LDPE is able to calculate the right angle value for protractor but not for collinearity check ?!?

Well, I took a deeper look and have to admit that LDPE's collinearity detection for quads is not compliant to the file format restrictions for the official library...
I created an issue for this.
Let me explain why:

Normally, you would calculate the inner angles of the quad to detect collinearity.
However, in 2012, I decided to do some things different and I calculated the angles relative to the point D.
I also computed the diagonal vector DB for some reasons I do not understand.
The current implementation detects collinearity somehow, but it does not detect if an interior angle is not between 0.025° and 179.9°!
This is hilarious! I will correct this ;)

[Image: d2da076e-8259-11e6-9868-351fba1b4e3c.PNG]
Reply
« Next Oldest | Next Newest »



Messages In This Thread
What is "epic"? - by Nils Schmidt - 2016-09-08, 18:56
RE: [LDPartEditor] wrong collinear detection threshold? - by Nils Schmidt - 2016-09-24, 11:50

Forum Jump:


Users browsing this thread: 9 Guest(s)