Gapfinder

Version: 1.0.0.1

Author: © 2009 by Michael Heidemann



Purpose

Gapfinder is designed find single points in a LDraw DAT-file.

All linetype 3 (triangles) and 4 (quads) are tested.

All other linetypes are ignored.

How to use




First you have to load a part file by using the file selector. Please use the button „...“.

Then decide about the number of digits that should be checked for. This is useful, if the file contains lines like:

4 16 9.999 10 20 10 -8 0 -10 -8 0 -10 10 0

4 16 9.99 10 20 10 -8 20 -10 -8 20 -10 10 20

If you use 3 digits the above lines do not share the same point as one is 9.999 and the other is 9.99. If you use in this case 2 digits the points are still not the same, as 9.999 would be rounded to 10.00 and that is not the same as 9.99. This gap is only closed if you use Gapfinder with 1 digit.

If you run Gapfinder for the first time to a file, you should use „Quicktest“ as it is a bit quicker than „With Linenumber“. You got as result something like:

Number of Points 1811

Numbers are rounded to 3 digits.

There are 1 single points.

To determine which lines contains that points please use „With Linenumber“. You get:

Number of Points 1811

Numbers are rounded to 3 digits.

In Line number 1348 there might be a gap or a t-junction.

How it works

Gapfinder depends on the thoughts that all triangles and quads have to share each of its vertices (3D points) with another triangle or quad. Depending on this each vertice has to be found twice in an DAT-file. If not, it is assumed that there might be a gap or a t-junction (http://www.ldraw.org/Article526.html).

Limitations

Gapfinder can not know that it is really a gap or a t-junction where a single point is located. So it is always up to the user to check what Gapfinder claims.

Download

gapfinder_1.0.0.1.exe

Free counter and web stats