# US 2023/0267248 A1 · Machine learning-based generation of constraints for computer-aided design (cad) assemblies

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0267248 A1
- Document ID: US20230267248A1
- Status: Published application
- Kind: A1
- Application number: 18/041,176
- Filed: 2021-07-22
- Published: 2023-08-24
- Earliest claimed: 2020-08-25
- Assignees: Siemens Industry Software Inc.
- Applicants: Siemens Industry Software Inc.
- Inventors: Wesley Reinhart; Reed Williams; Kenneth A. Hosch; Rajneet Sodhi
- Web page: https://patentgrep.com/patent/US20230267248A1

## CPC

- G06F 30/27: using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
- G06F 30/10: Geometric CAD
- G06F 30/12: characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
- G06F 2111/04: Constraint-based CAD
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computing system may include a constraint learning engine and a constraint generation engine. The constraint learning engine may be configured to access a computer-aided design (CAD) assembly comprising multiple CAD parts and generate a representation graph of the CAD assembly, determine constraints in the CAD assembly, wherein the constraints limit a degree of movement between geometric faces of different CAD parts in the CAD assembly, insert constraint edges into the representation graph that represent the determined constraints; and provide the representation graph as training data to train a machine-learning model. The constraint generation engine may be configured to generate constraints for a different CAD assembly by applying the machine-learning model for the different CAD assembly.

## Claims

### Claim 1

A method comprising:
by a computing system:
accessing a computer-aided design (CAD) assembly comprising multiple CAD parts;
generating a representation graph of the CAD assembly, wherein nodes in the representation graph represent geometric faces of the multiple CAD parts and edges in the representation graph represent geometric edges of the multiple CAD parts;
determining constraints in the CAD assembly, wherein the constraints limit a degree of movement between geometric faces of different CAD parts in the CAD assembly;
inserting constraint edges into the representation graph that represent the determined constraints;
providing the representation graph as training data to train a machine-learning model; and
generating constraints for a different CAD assembly by applying the machine-learning model for the different CAD assembly.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the constraints in the CAD assembly comprises identifying user-specified constraints in the CAD assembly.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining the constraints in the CAD assembly comprises inferring the constraints from geometry of the CAD assembly.

### Claim 4 (depends on 3)

The method of claim 3, wherein inferring the constraints from the geometry of the CAD assembly comprises:
determining a formulaic representation of a given constraint type; and
comparing selected geometric faces of the CAD assembly using the formulaic representation to determine constraints of the given constraint type between the selected geometric faces.

### Claim 5 (depends on 4)

The method of claim 4, wherein comparing the selected geometric faces of the CAD assembly comprises:
identifying a geometric face of a given CAD part of the CAD assembly;
determining geometric faces of other CAD parts that are within a threshold distance from the identified geometric face of the given CAD part; and
applying the formulaic representation of the given constraint type between the identified geometric face of the given CAD part and each of the geometric faces of the other CAD parts to determine the constraints of the given constraint type.

### Claim 6 (depends on 1)

The method of any of claim 1, further comprising inserting feature vectors into the nodes in the representation graph, wherein a given feature vector represents topological and geometric features of a given geometric face of the CAD assembly.

### Claim 7 (depends on 6)

The method of claim 6, wherein the feature vector of a given geometric face of the CAD assembly represents a primitive type of the given geometric face, a number of other geometric faces adjacent to the given geometric face, an area of the given geometric face, a perimeter of the given geometric face, a primitive radius for the given geometric face, a normal vector of the given geometric face, a rotation or scale invariant descriptor of the given geometric face, or any combination thereof.

### Claim 8

A system comprising:
a constraint learning engine configured to:
access a computer-aided design (CAD) assembly comprising multiple CAD parts;
generate a representation graph of the CAD assembly, wherein nodes in the representation graph represent geometric faces of the multiple CAD parts and edges in the representation graph represent geometric edges of the multiple CAD parts;
determine constraints in the CAD assembly, wherein the constraints limit a degree of movement between geometric faces of different CAD parts in the CAD assembly;
insert constraint edges into the representation graph that represent the determined constraints; and
provide the representation graph as training data to train a machine-learning model; and
a constraint generation engine configured to generate constraints for a different CAD assembly by applying the machine-learning model for the different CAD assembly.

### Claim 9 (depends on 8)

The system of claim 8, wherein the constraint learning engine is configured to determine the constraints in the CAD assembly by identifying user-specified constraints in the CAD assembly.

### Claim 10 (depends on 8)

The system of claim 8, wherein the constraint learning engine is configured to determine the constraints in the CAD assembly by inferring the constraints from geometry of the CAD assembly.

### Claim 11 (depends on 10)

The system of claim 10, wherein the constraint learning engine is configured to infer the constraints from the geometry of the CAD assembly by:
determining a formulaic representation of a given constraint type; and
comparing selected geometric faces of the CAD assembly using the formulaic representation to determine constraints of the given constraint type between the selected geometric faces.

### Claim 12 (depends on 11)

The system of claim 11, wherein the constraint learning engine is configured to compare the selected geometric faces of the CAD assembly by:
identifying a geometric face of a given CAD part of the CAD assembly;
determining geometric faces of other CAD parts that are within a threshold distance from the identified geometric face of the given CAD part; and
applying the formulaic representation of the given constraint type between the identified geometric face of the given CAD part and each of the geometric faces of the other CAD parts to determine the constraints of the given constraint type.

### Claim 13 (depends on 8)

The system of claim 8, wherein the constraint learning engine is further configured to insert feature vectors into the nodes in the representation graph, wherein a given feature vector represents topological and geometric features of a given geometric face of the CAD assembly.

### Claim 14 (depends on 13)

The system of claim 13, wherein the feature vector of a given geometric face of the CAD assembly represents a primitive type of the given geometric face, a number of other geometric faces adjacent to the given geometric face, an area of the given geometric face, a perimeter of the given geometric face, a primitive radius for the given geometric face, a normal vector of the given geometric face, a rotation or scale invariant descriptor of the given geometric face, or any combination thereof.

### Claim 15

A non-transitory machine-readable medium comprising instructions that, when executed by a processor, cause a computing system to:
access a computer-aided design (CAD) assembly comprising multiple CAD parts;
generate a representation graph of the CAD assembly, wherein nodes in the representation graph represent geometric faces of the multiple CAD parts and edges in the representation graph represent geometric edges of the multiple CAD parts;
determine constraints in the CAD assembly, wherein the constraints limit a degree of movement between geometric faces of different CAD parts in the CAD assembly;
insert constraint edges into the representation graph that represent the determined constraints;
provide the representation graph as training data to train a machine-learning model; and
generate constraints for a different CAD assembly by applying the machine-learning model for the different CAD assembly.

### Claim 16 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the instructions, when executed, cause the computing system to determine the constraints in the CAD assembly by identifying user-specified constraints in the CAD assembly.

### Claim 17 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the instructions, when executed, cause the computing system to determine the constraints in the CAD assembly by inferring the constraints from geometry of the CAD assembly.

### Claim 18 (depends on 17)

The non-transitory machine-readable medium of claim 17, wherein the instructions, when executed, cause the computing system to infer the constraints from the geometry of the CAD assembly by:
determining a formulaic representation of a given constraint type; and
comparing selected geometric faces of the CAD assembly using the formulaic representation to determine constraints of the given constraint type between the selected geometric faces.

### Claim 19 (depends on 18)

The non-transitory machine-readable medium of claim 18, wherein the instructions, when executed, cause the computing system to compare the selected geometric faces of the CAD assembly by:
identifying a geometric face of a given CAD part of the CAD assembly;
determining geometric faces of other CAD parts that are within a threshold distance from the identified geometric face of the given CAD part; and
applying the formulaic representation of the given constraint type between the identified geometric face of the given CAD part and each of the geometric faces of the other CAD parts to determine the constraints of the given constraint type.

### Claim 20 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the instructions, when executed, further cause the computing system to insert feature vectors into the nodes in the representation graph, wherein a given feature vector represents topological and geometric features of a given geometric face of the CAD assembly, and
wherein the feature vector of a given geometric face of the CAD assembly represents a primitive type of the given geometric face, a number of other geometric faces adjacent to the given geometric face, an area of the given geometric face, a perimeter of the given geometric face, a primitive radius for the given geometric face, a normal vector of the given geometric face, a rotation or scale invariant descriptor of the given geometric face, or any combination thereof.
