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.
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.