Select Duplicate

Next
 From:  speedy (AL2000)
7782.1 
I think to have read ,time ago ,
between several the post , that is a script
for Select to the Duplicate ones -
You know to say me where to find it
Many Thanks
al
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7782.2 In reply to 7782.1 
Hi al, it's the RemoveDuplicates command, some info on it here at the bottom:

http://moi3d.com/3.0/docs/moi_command_reference10.htm#removeduplicates

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7782.3 
Many Thanks Michael
al
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7782.4 
If I copy a curve ten times
Select all
Call Removeduplicates nothing arrive!
What I miss ?
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7782.5 In reply to 7782.4 
Hi Pilou,

> If I copy a curve ten times

Do you mean copied directly in the same spot 10 times, or have you made 10 copies in different positions?

The RemoveDuplicates command will only target exact duplicates, meaning objects that are copies of each other and are in the same position overlapping directly on top of each other.

If your curves are moved copies, they all have different x,y,z coordinate values for their control points and so because they have different data they are not considered to be duplicates as far as this particular command is concerned.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7782.6 In reply to 7782.5 
<< have you made 10 copies in different positions?
Yes this! :)

OK this time all works fine when then are exactly overlapsed!
Only one is now surviving! :)
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  pior (PIOR_O)
7782.7 

Hello all, Michael,

I am bumping this thread up as I find myself often looking for a "select duplicates" command. I am aware of RemoveDuplicates which works great, but being able to just visualize the issue (without deleting) would be very useful too. This command or script would select all overlapping/duplicate curves minus one element of each set. This would allow to not work blind, so to speak - similarly to how 3d programs allow to find duplicate faces/overlapping polygons with a diagnose tool.

I hope this makes sense !

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7782.8 In reply to 7782.7 
Hi pior, please try the attached script. It should work same as RemoveDuplicates except the curves that would have been removed are selected instead.

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7782.9 In reply to 7782.8 
So with this new function you must Press Delete for erase them if you are agree with the selection ?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7782.10 In reply to 7782.9 
Hi Pilou, yes with this one you can press Delete to remove them, or do other things like hide them or assign a particular style or name to them, etc...

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  pior (PIOR_O)
7782.11 
Well, this is perfect, and extremely useful. Thanks Michael !

FP : Indeed. Once the culprits are selected, one can then move them around to investigate how many duplicates where created, and so on. This gives great information as to what may have actually happened to cause the duplicates in the first place - whereas a blind, bruteforce cleanup without feedback doesn't let one see that.

EDITED: 4 Sep 2021 by PIOR_O

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All