Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting duplicate lines

Status
Not open for further replies.

Cradders

Materials
Mar 26, 2008
19
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.
 
Replies continue below

Recommended for you

What method are you using to extract the edges? Is the polyhedra a solid body or just a wireframe?
 
It's either a solid body or a series of surfaces. In this case it's solid bodies.
 
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.
 
There is a program in the grip library that claims it will delete duplicate entities, it is called Part Doctor.


I have not personally used it so I cannot comment on its effectiveness.
 
Many thanks cowski, I'll check that out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor