LDCad script integration of LDInspector's collision detection


RE: LDCad script integration of LDInspector's collision detection
#19
Thank you for your examples, now there are at least three bugs less in the Lua-port.  Big Grin 
The results seem to be mathematically correct, but I'm not sure if they are what is wanted. Setting tolerance to 0.0001, the 8865 model is marked like this:

   

Increasing the tolerance to 0.1 much less is marked:

   

As LDraw is by design somewhat angular (see my yesterday's post #17), setting the tolerance is a trade-off between false-positive and false-negative. I thought about calculating a ratio "overlapping" vs. "non-overlapping" volume, but this would (a) be hard to implement and (b) would not solve the underlying problem.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: LDCad script integration of LDInspector's collision detection - by Stefan Frenz - 2022-09-03, 10:01

Forum Jump:


Users browsing this thread: 18 Guest(s)