MakeMDL Error

Anything to do with Aircraft Design, FSDS, G Max, Aircraft Animator, SDL Edit, etc. Novice or skilled - stop here & learn!

MakeMDL Error

Postby spaceguy5 » Sun Nov 27, 2005 5:25 pm

Hi! I'm very new to this, and anyways, I was trying to convert a model into an Aircraft MDL, but I keep getting this error:

Processing...
(Part Regroup0281) Found colocated vertices within triangle
   (-0.372048, 0.202366, 0.250295)
   (-0.380581, 0.184131, 0.250295)
   (-0.380579, 0.184131, 0.250295).
(Part Regroup0281) Found colocated vertices within triangle
   (-0.380579, 0.184131, 0.250295)
   (-0.380581, 0.184131, 0.250295)
   (-0.372048, 0.202366, 0.250295).
Model units are 1024.00 units/meter
Error!
Error!

I have 2 questions:

(1) What does this mean?
(2) How do I fix it?
spaceguy5
Ground hog
Ground hog
 
Posts: 10
Joined: Wed Jul 28, 2004 4:40 pm

Re: MakeMDL Error

Postby Katahu » Sun Nov 27, 2005 6:43 pm

There is a possibility that one of the parts within your model, has colocated vertices.

A colocated vertex occurs when three vertices of the exact same polygon are lined up almost straight on with each other. This can cause a bit of confusion for makemdl as it has to figure out how to render such vertices.

As you know, a polygon consists of at least 3 vertices and 3 edges. If those three corners are lined up [making a smashed polygon], rendering the polygon may be impossible.

Another cause:

Many vertices of the same object-in-question might be in the exact same location [basically, vertices are clumped together].

Steps to help avoid colocated vertices:

1. Avoid using semi-spheres. Sometimes they can cause the problem. But if you're gonna use them, such as for making a nose cone of a prop, make sure that the vertices on the flat area are moved out of alignment.

2. Second, avoid the spline technique. This technique may be helpful with dealing curves, but it can cause the errors that you have in the same manner due to the complex nature of the spline tool. Besides, there are other [safer] methods for dealing with curves such as Box-modeling and Poly-modeling.

3. Select an object [any object that is basically complex] and highlight all the vertices. In the Modifier panel, scroll down to where it says "Weld". Click "Selected" and this will cause any vertex that is clumped together to be combined into one single vertex. This resembles the "Collapse" method, but the "Weld" method targets vertices thar too close to each other without needlessly affecting the rest of the vertices.

4. This following method is slow, but it will help you identify faulty objects within your model very early. After adding a complex object to a model, give it a special name and export it with the rest of the model. During the export [if you have middleman and mdlcommander installed], check the "keep error log" box before continueing. That way, if an error occurs, simply read the saved log and check to see if the object you made is responsible for the issue. Typically, the log will give you the name of the object by simply repeating it and tell you what it found. Deal with the object in Gmax, and export it again to see if it's been fixed. If it works, move on to the next new object you make.

This should help.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: MakeMDL Error

Postby Moach » Wed Nov 30, 2005 10:56 am

what i usually do (and had to do a number of times on the 737) is to select the offending part mentioned in the error log, select all of its vertices and hit "weld" with a thershold of about 0.1 or 0.01

you may have to weld more than once, keep hitting that button untill you get the "no vertices within threshold" message

check your model after this proceedure to see if any negative effect has occured from this, if so hit ctrl+Z and try again with a smaller threshold

this will fix any part for the colocated vertices problem... but if there is more than one part with this problem (most likely), you will keep getting this error... (the exporter stops after it identifies the first collocated part and doesn't let you know that there might be more)

a way to fix this for good is to get middleman (if you dont have it already) and check all the "ignore" boxes in the options tab... i can't remember which one controls this but there is one that will male it ignore the collocated vertices errors and continue exporting

hope this helps

Moach
If nature wanted a man to fly - It would have given him more money
User avatar
Moach
Captain
Captain
 
Posts: 960
Joined: Thu Nov 28, 2002 3:22 pm
Location: Vancouver, BC

Re: MakeMDL Error

Postby Felix/FFDS » Wed Nov 30, 2005 11:57 am

I find it interesting - unless my eyes are seeing wrong, that you have two poloygon/triangles co-located.  Note that the vertex x,y,z definitions for the two triangles are the same.

In this case, a simple welding of points *should* eliminate the problem.
Felix/FFDS
User avatar
Felix/FFDS
Administrator
Administrator
 
Posts: 16776435
Joined: Wed Jan 31, 2001 9:42 am
Location: Orlando, FL

Re: MakeMDL Error

Postby Fitter » Wed Nov 30, 2005 1:04 pm

I saw this message once...and Cyrill Piofet told me to go in the Control panel - regional settings - and change the decimal symbol to "." - DOT
And it works.....
Last edited by Fitter on Wed Nov 30, 2005 3:41 pm, edited 1 time in total.
Fitter
Major
Major
 
Posts: 4204
Joined: Sat Nov 29, 2003 3:15 pm
Location: Earth

Re: MakeMDL Error

Postby SkyNoz » Wed Nov 30, 2005 2:40 pm

I find it interesting - unless my eyes are seeing wrong, that you have two poloygon/triangles co-located.  Note that the vertex x,y,z definitions for the two triangles are the same.

In this case, a simple welding of points *should* eliminate the problem.


Felix is right, I've had this problem before and all you need to do is select all vertics on the shape and weld with default setting. That should solve you problem. ;)
Project Kfir!
Image
My Gmax page
Aircraft modeler/Aircarft painter

Aye the key!
[GeneralEngineData]
//0=Piston, 1=Jet, 2=N
SkyNoz
Major
Major
 
Posts: 1703
Joined: Sat Aug 06, 2005 11:02 am

Re: MakeMDL Error

Postby Firestriker » Thu Dec 01, 2005 11:43 am

Using the default weld value can have adverse affect because it is way to large. I use a weld radius of 0.001 so I know I won't loose faces that I want and ONLY points that have the EXACT same values (as is the case with colocated verts) are welded.

Lou
Firestriker
2nd Lieutenant
2nd Lieutenant
 
Posts: 273
Joined: Sun Mar 10, 2002 9:44 pm
Location: Gearhart, Oregon


Return to Aircraft & 3D Design

Who is online

Users browsing this forum: No registered users and 471 guests