×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Deleting duplicate lines

Deleting duplicate lines

Deleting duplicate lines

(OP)
Hi all, I hope everyone is enjoying Easter!

Is there an automatic way to delete duplicate lines/curves from an NX part? I've extracted curves from a tessellation of polyhedra (that I can't change to prevent duplicate lines in the first place) to sweep tubes across. Of course, each edge of a polyhedron shares its space with neighbouring polyhedra, so multiple edges are extracted on top of each other. The next step is to sweep tubes along the edges, but obviously this is a fairly inefficient way of creating the geometry. There are further complications to the tessellation so I can't just create one polyhedron wireframe and repeat either!

Unable to find an alternative I've had to just go ahead with it so far - my trusty computer has been working away for four days now, sweeping thousands of tubes along thousands of curves thanks to a very handy piece of GRIP code that John R. Baker wrote for me several months back.

I'm starting to run out of time now - with the tessellation I'm using there are two or three duplicates of every line and I think being able to delete duplicates in the original wireframe and start sweeping again may be faster than waiting for the current operations to finish. I'm getting towards the end of my tether here and any help - any clever little GRIP code or explanation of an existing function that I've missed would be GREATLY APPRECIATED!

Many thanks in advance,

Cradders.

RE: Deleting duplicate lines

What method are you using to extract the edges? Is the polyhedra a solid body or just a wireframe?

RE: Deleting duplicate lines

(OP)
It's either a solid body or a series of surfaces. In this case it's solid bodies.  

RE: Deleting duplicate lines

Can you unite them into 1 body?

If so, you can use the 'extract curve' command with the solid body option. Using this you should get only 1 curve per edge in the body.

RE: Deleting duplicate lines

There is a program in the grip library that claims it will delete duplicate entities, it is called Part Doctor.

http://grip.plmworldgroups.org/

I have not personally used it so I cannot comment on its effectiveness.

RE: Deleting duplicate lines

(OP)
Many thanks cowski, I'll check that out.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources