Welcome! Log In Create A New Profile

Advanced
separating metal portions of 9V train track
avatarOctober 13, 2012 05:16AM
I was wanting to separate the metal portions of
http://www.ldraw.org/cgi-bin/ptdetail.cgi?f=parts/2859c00.dat
into 1 or more separate files.

Reason for this was that in the current implementation,
when you use that part in a model,
and you assign some color to it,
all edges on metal appear in that color,
this makes that part look weird.

Reason for that is that all edges and optional edges in that file
are coded in color 24, regardless whether they bound plastic or metal parts.

My problem is now this:

I can easily identify quads and triangles of color 494 (metal) and move them to a separate file.
Second step should have been to also move their bounding edges and optional edges there.

Would I have finished that, then the color problem would be gone, because in that new file X.dat,
I would use color 16 for quads and triangles, and 24 for edges and optional edges,
and then reference that file from 2859c00.dat, using color 494. This way, both the surfaces and
the edges would appear in correct color.

However, identifying which edges to move to X.dat is terribly difficult.
There are tons of such edges, and manual selection will introduce lots and lots of errors.

To accomplish this task, I would need help of a tool which doesn't exist yet.

It would let me specify some color, by which I would like to identify affected quads and triangles
(here: 494).
The tool should then run through the file and identify all edges and optional edges which bound
these, i.e., which share coordinates with them.

Using such a tool, it would be easy to find all edges in 2859c00.dat which need to be moved to a separate file.

(Of course, from a logic point of view, each own metal portion should probably go into its own,
separate ~part file, but to me that's second priority. Solving the miscolored edges problem has first.)

Unfortunately, without this tool, I sadly have to give up on this task for now :-(

Edited 1 time(s). Last edit at 2012-10-13 05:19AM by Steffen.
SubjectAuthorViewsPosted
separating metal portions of 9V train track Steffen525October 13, 2012 05:16AM
Re: separating metal portions of 9V train track Magnus Forsberg253October 13, 2012 05:41AM
Re: separating metal portions of 9V train track Steffen270October 14, 2012 10:00AM
Re: separating metal portions of 9V train track Philippe Hurbain271October 15, 2012 12:32AM
Re: separating metal portions of 9V train track Magnus Forsberg250October 15, 2012 09:47AM
Re: separating metal portions of 9V train track Philippe Hurbain255October 15, 2012 10:54AM



Sorry, only registered users may post in this forum.

Click here to login