GiD_Info check

This command returns some specialized entities check.

For lines it has the following syntax:

GiD_Info check line <entity_id> isclosed

For surfaces:

GiD_Info check surface <entity_id> isclosed | isdegeneratedboundary | selfintersection

And for volumes:

GiD_Info check volume <entity_id> orientation | boundaryclose

The result for each argument is:

  • line | surface | volume: Type of entity.
  • <entity_id>: The number of an entity.
  • isclosed: For lines: 1 if start point is equal to end point, 0 otherwise. For surfaces: A surface is closed if its coordinate curves (of the full underlying surface) with parameter 0 and 1 are equal. It returns a bit encoded combination of closed directions: 0 if it is not closed, 1 if it is closed in u, 2 if it is closed in v, 3 if it is closed in both u and v directions.
  • isdegeneratedboundary: A surface is degenerated if some boundary in parameter space (south, east, north or west) becomes a point in 3d space. It returns a bit encoded combination of degenerated boundaries, for example: 0 if it is not degenerated, 9=2^0+2^3 if south and west boundaries are degenerated.
  • selfintersection: Intersections check between surface boundary lines. It returns a list of detected intersections. Each item contains the two line numbers and their parameter values.
  • orientation: For volumes, it returns a two-item list. The first item is the number of bad oriented volume surfaces, and the second item is a list of these surfaces' numbers.
  • boundaryclose: For volumes, a boundary is topologically closed if each line is shared by two volume surfaces. It returns 0 if it is not closed and must be corrected, or 1 if it is closed.


in: GiD_Info check volume 5 orientation

out: 2 {4 38}