Remove curve duplicates

Component for removing duplicate Curves.

Check this page for download (in order to download the component, you need to join the Milkbox group first!).

  • Tudor Cosmatu

    cool!

  • Marios Tsiliakos

    Nice! :)

  • Tudor Cosmatu

    maybe remove similar curves would be a better name, also u could get the documents tolerances for checking for similarity as defalult or input a different one as slider ;)

  • djordje

    Thanks for the advice Tudor,

    Attached new version with added tolerances and options for including flipped curves and overlapped curves. Can be a bit slow now, though, due to usage of duplicates.

  • Jeff C

    Hello Djordje,

             thanks so much for posting this Python, duplicate curve removal component.

    I've checked the download page and searched GH and Google but could not find a download for the component or definition. I hoped you'd please post the .gh or component if you have it or a link for its download?

    Thanks for any help or suggestions,

    Jeff

  • djordje

    Hi Jeff,
    Click on the link in the upper post (this link), and then click on "user object file".

  • Jeff C

    Thanks Djordje, for your quick reply as well.

    I could not see "user object file" on the link page, so did a search for the phrase which also did'nt find it. Where is user object file located on the page you see please?,..

    Jeff

  • Jeff C

    ...i clicked on your "user object file"  phrase\link and it allowed download of "Remove_duplicate_curves.ghuser" file,..thanks much. I've haven't used a .ghuser file before, so i lookup how to install then confirm i'm using it properly.

    Appreciate it all,

    Jeff

  • Jeff C

    ...ok, this time when i clicked your "this link" it navigated to the correct "Remove duplicate [Curve]" page with the "user object file" link as well as .gh and .3dm files.

    Thanks again Djordje,

    Jeff

  • mark zirinsky

    nice one, very useful.

  • Michèle Dossmann

    hello djordje,

    I checked out your links several times. I downloaded the .ghuser file bur cannot find the other two to load the script.

    Thanks for your help.

    Michèle

  • djordje

    Hi Michèle,

    To download this component you need to be a member of the Milkbox group first.
    If you are not, then go to this page, and click on "+Join Milkbox".

    After that you can access component's download page.
    Download and open the "remove_duplicate_curves.gh" and "remove_duplicate_curves.3dm" files from that page. The "remove_duplicate_curves.gh" file should contain only a single "Remove duplicate curves" component. No other components are located in that .gh file.


    You mentioned:

    "I downloaded the .ghuser file bur cannot find the other two to load the script."

    Which other two .ghuser files?

  • Michèle Dossmann

    Hi Djordje,

    Many thanks for your help. Now I have solved the problem. I missed a few steps like joining the milkbox group so I couldn't load the .3dm and gh file to see your examle this. Almost all is fixed now. 

    I say "almost" because I have like a "bug" using your component. But I can't attache a file here so I sent you an invitation to be able to do it through the add button on top of this page. Sorry, as I am a newcomer on this pages I need to progress  in using the site too. :-)

  • djordje

    Hi Michèle,
    The step of having to join the Milkbox group before being able to access the download page was not mentioned. It was my mistake for not stating this in the first place. Sorry about that. I added it now.

    As for the issue that you are currently having, you can open a new topic in the discussions forum. I will see it, and take a look at your files.

  • Michèle Dossmann

    Hi Djordje,

    Sorry for my last post, everything is ok with your component, there is a problem with my inputs! I have to review my previous inputs. Many thanks for your contribution! You solved a big part of my problem!

  • Nick Dodge

    I keep getting this message when I add your component to my script. Is there any easy fix? 

  • djordje

    Hi Nick,
    What are your Rhino, Grasshopper and ghpython?
    Did you check if the userobject isn't blocked? (Right click on it, then if the "Block" is present click on it in the lower right corner, click on "OK, and restart Rhino).

  • Nick Dodge

    It is working now! Thanks for the help!