Degeneracy in 3D modelling

Lahiru Dilshan
3 min readNov 9, 2022
Degeneracy in 3D modelling

What is DEGENERACY?

According to Oxford Learner’s Dictionary “Degeneracy” means
“The process of becoming worse or less acceptable in quality or condition”.

In geometries, this word is used for shapes that lose their characteristics or that are not generated correctly.

Degeneracies can arise due to issues in geometry (parametric) or topology.
eg:

  • Small edge length — which has a finite length and is smaller than the coincidence of two points (In open cascade this value is equal to 1e-7 — Precision::Confusion())
  • Zero edge length
  • The point at the tip of a shape

What is the difference between topology and geometry?

Those two words; topology and geometry are mentioned in the previous section. Let me explain that briefly.

Most of the CAD models are described using the B-Rep method, which describes shapes using limits, and boundaries. A B-Rep method is composed using two parts.

Topology — Describes how elements are bounded and connected
Geometry — Describes how the shape of each element

(Source — CAD Topology | Pre-Processing | SimScale)

Degeneracies formed during modelling

When parametric space is incompatible with the real world of the geometric model, degeneracy is created. Degeneration can happen not only for edges but also for curves, and faces.

Ex:
The apex of the cone (single point) is represented by an edge in parametric representation these forms degenerated edge.

Incompatibility of parametric space and geometry model (Source: Ansys Modeling And Meshing Guide.pdf)

Important:
Degeneracy is not this kind is not harmful in and of itself. These shapes can be used in Boolean operations, and mesh.

Degeneracies that happen after a Boolean operation will cause problems and at that time, we need to be aware of its existence.

Degenerate symbol (Source: Ansys Modeling And Meshing Guide.pdf)
Different ways of generating degeneracies (Source: Ansys Modeling And Meshing Guide.pdf)

Degenerate boundary

The degenerate boundary is an incomplete or zero-area loop or an incomplete or zero-volume shell. These are commonly referred to as topological degeneracy.

Potential degenerate loop (Source: Ansys Modeling And Meshing Guide.pdf)

Here you can see how degenerate loops and degenerate shells can be formed. There will be other ways of generating degeneracies but here are the most common types.

Degenerate loops vs Degenerate shell (Source: Ansys Modeling And Meshing Guide.pdf)

Some corrective actions when Boolean operations are failed

  • Try to use primitives whenever possible to create solid models.
  • Try to avoid geometries with degeneracies if the degeneracy lies on a potential intersection curve. (See Degeneracies formed during modelling)
  • Try to avoid performing Boolean operations on entities that are tangent to each other.
  • If the Boolean operation included more than two input shapes, break that into a series of operations with fewer inputs.
Break Boolean operations into multiple steps (Source: Ansys Modeling And Meshing Guide.pdf)

Summary

  • Degeneracies can arise due to geometry (parametric) or topology issues.
  • Degeneration can happen not only for edges but also for curves, and faces.
  • Degeneracy is not this kind is not harmful in and of itself.
  • Degeneracy due to Boolean operations needs to be handled.
  • Degenerated edges can be identified using the “Degenerated” flag.

Reference

--

--

Lahiru Dilshan

Geometry Maestro | Software & Mechanical Engineer | Crafting Virtual Realities 🚀