LDCad Idea for an LDCad script


RE: Idea for an LDCad script
#12
(2022-01-09, 20:05)Roland Melkert Wrote: Maybe 'fake seam shrinking' the parts before testing resolves some of those false positives?

Thank you for this hint!  Smile  I was not aware of this thread and have to work through its background.

I tried so many approaches to shrink parts because in LDInspector version 0.5 collisions of coplanar triangles are all filtered out. Example:


.png   Screenshot2.png (Size: 10.8 KB / Downloads: 127)

If the parts are not perfectly aligned or moved by small steps, the current algorithm will detect the collision. But perfectly aligned in a static model (which should be some normal case in my understanding) they collide in reality, but they don't have (non-coplanar) triangle intersection, so the current implementation will not detect the collision. Shrinking would be a solution in some cases, but I could not find a general solution to the problem illustrated here: two non-colliding parts (green) do collide after shrinking (red, in this example both parts are shrinked by 5% at an unlucky part origin):

   

Hmmmmm. Another thing on my ToDo-list. Smile
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Idea for an LDCad script - by N. W. Perry - 2021-12-31, 21:13
RE: Idea for an LDCad script - by Owen Dive - 2022-01-03, 0:18
RE: Idea for an LDCad script - by N. W. Perry - 2022-01-06, 19:57
RE: Idea for an LDCad script - by Stefan Frenz - 2022-01-09, 21:36
RE: Idea for an LDCad script - by N. W. Perry - 2022-01-10, 15:58

Forum Jump:


Users browsing this thread: 5 Guest(s)