On 23/10/2017 at 03:01, xxxxxxxx wrote:
Hi,
welcome to the Plugin Café forums :slightly_smiling_face:
Actually I there's not much MAXON's SDK Team can do here, as it's more an algorithmic quest rather than something related to the SDKs or APIs. So we need to leave this to our community (but I'm sure, they come up with something).
I just want to add a few notes:
The referenced script does not look like a good solution to me, regardless of the missing tolerance.
First of all it's just comparing the "polygon center". Maybe ok for the intention, it's not differentiating between tris and quads. But think of it, there are completely different polygons sharing this same "polygon center". For example larger or smaller ones, or polygons with different direction. And also completely differently shaped ones... So I think, the referenced script will erroneously delete more polygons than it should.
Secondly, although this may be intentional, but it seems to delete both polygons it deems equal.
And one last tiny formal request. Actually we prefer code snippets in text form, so we can copy the code. Screenshots are really sub-optimal in that matter.