Shape Analysis#

Analyze individual BRep shapes to classify them and extract geometric features. Shape analysis is divided into three domains:

  • Shape Classification: Determine what type of shape (sheet metal, swept profile)

  • Feature Recognition: Extract specific geometric features (blends, cavities, holes)

  • Decomposition: Work out what simple blocks the part is made of

Note

Prerequisites: Attributed Adjacency Graph (AAG)

Shape Classification

Identify what type of shape a BRep model represents. Includes swept shapes (pipes, tubes), sheet metal parts, and shape signature comparison.

Feature Recognition

Extract specific geometric features from shapes. Detects blends, cavities, sharp edges, and sheet metal features like bends and corners.

Decomposition

Break a part into the simple blocks it is made of: lumps with no inside corner, none contained in another. A part reads as material in more than one way, so the blocks overlap and every reading is returned.

Learning Path#

  1. Start with Classification: First identify the shape type (use Swept Shapes or Sheet Metal Shapes)

  2. Then Extract Features: Once classified, extract detailed features (use Feature Processor or Sheet Metal Features)

  3. Compare Shapes: Use Shape Signatures for shape similarity

  4. Break It Down: Use Decomposition to read the part as simple blocks

Key Classes#

Shape Classification:

  • SweptShapeRecognizer: Identifies swept profiles (pipes, tubes)

  • SheetMetalRecognizer: Identifies sheet metal parts

  • SheetMetalShape: Abstraction for recognized sheet metal

  • Signature / D2Signature: Shape distribution signatures

Feature Recognition:

  • FeatureProcessor: Main orchestrator for feature extraction

  • BlendExtractor: Detects fillets and rounds

  • CavityExtractor: Identifies holes and pockets

  • SheetMetalFeatureExtractor: Sheet metal-specific features

Decomposition:

  • Decomposer: A part and its settings, with a method for every question about the result

  • decompose: The same run as one value: a solid to the maximal volumes it is made of

  • Decomposition: The volumes, and what the run could not do