Method for modeling engineering design component by using pattern and constraint

By defining and analyzing the hierarchical order constraints of geometric characteristics and spatial relationships of shape elements, the problem of freedom control of regular pattern components in the CAD system is solved, and flexible model editing and changes in the design process are realized.

CN118742899APending Publication Date: 2024-10-01SIMENS INDASTRI SOFTVEAR INK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280092348.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In computer-aided design (CAD) systems, it is difficult for users to effectively control the degree of freedom of engineering design components with regular pattern layout, especially when editing and changing models at different stages of the design process. Existing methods have predefined behaviors or automatic Hypothetical problems prevent users from achieving the desired changes.

Method used

By defining the core set of geometric properties and spatial relationships of instances of shape elements, as well as optional geometric properties and spatial relationships, combined with hierarchical order constraints, user changes to the model are parsed and executed to ensure flexibility at all stages of the design process. control the behavior of the model.

Benefits of technology

It achieves flexible control over the degree of freedom of the model at all stages of the design process, avoids the defects of predefined behaviors, ensures that users can easily edit and change the model, and improves the flexibility and accuracy of the design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118742899A_ABST
    Figure CN118742899A_ABST
Patent Text Reader

Abstract

A computer-implemented method of modeling an engineered component in a computer-aided design (CAD) system is disclosed, where the engineered component includes a feature having at least three examples of shape elements arranged in a regular pattern. The method is divided into three stages: defining a core set of behavior characteristics; defining a selectable set of behavior characteristics; and hierarchically implementing the selectable characteristics by solving the selectable constraints after the constraints corresponding to the core behavioral characteristics have been solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a computer-implemented method of modeling an engineering design component in a computer-aided design (CAD) system, wherein the engineering design component includes a feature having at least three instances of a shape element arranged in a regular pattern. Background Art

[0002] Regular and repetitive shapes are common in the design of everyday objects and often play an important role in engineering design and design components. For example, rectangular grid arrangements are often used in the design of ventilation or heat exchange systems, such as grills and cooling systems, and there are circular and linear arrangements in fixtures and mountings. In order to allow engineers to perform the design and testing of products, a collection of these regular shapes is modeled in 2D and 3D CAD systems and is generally referred to as a pattern. A pattern consists of instances, each of which is the same shape element, and then the instances are arranged to form a pattern. These arrangements can be in rectangular or circular form, with each individual instance being 2D or 3D. The repetitive shapes of instances and the arrangement of instances can be represented in a constraint-based modeling system. When a user of a CAD system edits or changes a model, the solver has many degrees of freedom to change because the constraint system needs to be solved to make the change. As an example, the degrees of freedom available in a simple rectangular pattern can be thought of as follows: the shape of the instance; the X, Y, and Z directions of the pattern; the X, Y, and Z spacing of the instances; the number of occurrences of the instance in the X, Y, and Z directions; and the position of the pattern.

[0003] With so many degrees of freedom available for change, it may be difficult for a user to control the behavior of the degrees of freedom as the model is changed or edited.

[0004] Three methods are commonly used to control these degrees of freedom. First, the user may be asked to manually constrain the model so that the drawing behaves as the user desires during editing or changes. This can be achieved by adding dimensions. While this approach will constrain the behavior of the drawing, it can be time consuming and forces the user to decide in advance how the drawing will be edited or changed later in the design process. For a user in the conceptual phase of design development, it is inappropriate to be asked to make such a decision because the design is still open to what may be considerable changes.

[0005] Secondly, the CAD system's software may attempt to automatically constrain the model on behalf of the user. To do this, as the drawing is formed or during post-processing, the software attempts to add constraints and dimensions that the user may have manually created. This approach saves the user time and defines the behavior of the drawing, but inevitably makes assumptions about how the drawing will be used later in the design process, which may or may not be correct. Once again, this results in the drawing being fully defined, which, as in the first case above, is not suitable for users in the conceptual stage of design development, and may make it more difficult to perform some simple edits or changes than if the drawing were not fixed.

[0006] Third, the CAD system's software may attempt to add or remove constraints based on the user's interaction with the model. In this case, the software will attempt to add or remove constraints to the drawing based on how the user attempts to edit the drawing (either directly on the drawing itself or on a broader basis via the model). For example, if the user selects an entity in the case, such as a face, it can be assumed that this is an attempt to edit the shape of the case. The system can then lock all other degrees of freedom in the drawing except the shape of the case to give the correct behavior. Alternatively, if the user selects all entities in the case, it can be assumed that an attempt is being made to change the spacing between the cases, and degrees of freedom that are not related to the edit can be locked. This approach has significant advantages over the first and second cases described above. This approach avoids the need for the user or the CAD system software to fully define the drawing in advance in order to control the behavior, and makes the edit that the user is attempting the driver of the constraint scheme required to control the behavior, so it is more flexible. However, beyond the obvious edits that the user may want to make to simple drawings, the logic for determining behavior can become extremely complex. In practice, 2D and 3D models used in real engineering applications grow complex very quickly, and such systems tend to make incorrect assumptions that prevent users from making the changes they wish. It would therefore be desirable to find a solution that handles all the degrees of freedom that the solver needs to change when the user edits the model, and that can be easily implemented at all stages of the design process. Summary of the invention

[0007] The present disclosure is intended to address these problems. In a first aspect, a computer-implemented method for modeling an engineering design component in a computer-aided design (CAD) system is provided, wherein the engineering design component includes a feature having at least three instances of shape elements arranged in a regular pattern, the method comprising the following steps: a) defining a core set of geometric properties of the instances of the shape elements in the feature and spatial relationships between the instances of the shape elements in the regular pattern, wherein each geometric property and spatial relationship is associated with a constraint that determines the behavior of the instance of the shape element when changed; b) defining a set of optional geometric properties of the instances of the shape elements in the feature and spatial relationships between the instances of the shape elements in the regular pattern; spatial relationships between instances of shape elements, wherein each optional geometric property and spatial relationship is associated with an optional constraint that determines the behavior of the instance of the shape element when changed; c) defining a hierarchical order of sets of optional geometric properties and spatial relationships and their associated optional constraints; d) receiving a change to the instance of the shape element and / or the regular pattern from a user, performing the change by: i) solving the constraints associated with the core set of geometric properties and spatial relationships; ii) solving the optional constraints associated with the set of optional geometric properties and spatial relationships in the defined hierarchical order; and e) displaying the changed instance of the shape element and / or the regular pattern to the user.

[0008] By utilizing a combination of core behavioral properties and associated constraints, optional behavioral properties and associated optional constraints, where the latter are defined and executed in a hierarchical order when needed, the problem of achieving all degrees of freedom that solvers in other approaches may encounter at any stage of the design process of an engineering product is overcome.

[0009] In one embodiment, if a change includes all entities of a selection instance, the coordinate system of the instance may be added to the selection.

[0010] In one embodiment, instances of shape elements may include boundaries, and the boundaries may be excluded from the core set of geometric properties and the definition of spatial relationships.

[0011] In one embodiment, the method may further include the following steps: designating a single instance of the shape element in the pattern as a primary instance, and changing the shapes or positions of all instances by changing the shape or position of the primary instance.

[0012] The hierarchical order of the optional constraints associated with the set of optional geometric properties and spatial relationships may be the order in which the optional set of geometric properties and spatial relationships are implemented. In some examples, the hierarchical order of the optional constraints associated with the set of optional geometric properties and spatial relationships may be given by: A-maintaining the direction of the pattern and / or the center of the pattern as a constant; B-maintaining the position of the instance of the shape element while changing its shape; C-maintaining at least a portion of the shape of the instance of the shape element; D-maintaining the radius of the circular pattern; E-maintaining the position of the first instance of the shape element; F-maintaining the spacing of the pattern as a constant; G-maintaining the position of the instance of the shape element in the circular pattern relative to the center of the circular pattern as a constant. The implementation order of the constraints may be determined by their impact on subsequently implemented constraints.

[0013] The instances and / or regular patterns of the shape elements may be two-dimensional. Alternatively, the instances and / or regular patterns of the shape elements may be three-dimensional.

[0014] Examples of form factors may be mechanical, electrical, or thermal components in a product.

[0015] In a second aspect, there is provided a computer program comprising instructions which, when executed on a computer, cause the computer to perform the steps of the above method.

[0016] In a third aspect, a data processing system is provided, the data processing system being adapted to model an engineering design component in a computer-aided design (CAD) system, wherein the engineering design component comprises a feature having at least three instances of a shape element arranged in a regular pattern, the data processing system comprising a data processor adapted to: define a core set of geometric properties of the instances of the shape elements in the feature and spatial relationships between the instances of the shape elements in the regular pattern, wherein each geometric property and spatial relationship is associated with a constraint that determines the behavior of the instance of the shape element when changed; define a set of optional geometric properties of the instances of the shape elements in the feature and spatial relationships between the instances of the shape elements in the regular pattern, wherein each optional geometric property and spatial relationship is associated with an optional constraint that determines the behavior of the instance of the shape element when changed; define a hierarchical order of the set of optional geometric properties and spatial relationships and their associated optional constraints; solve the constraints associated with the core set of geometric properties and spatial relationships; solve the constraints associated with the optional geometric properties and spatial relationships in the defined hierarchical order; and output the changed instances. The data processing system also comprises a user input device adapted to receive changes from a user. The data processing system further comprises a display device adapted to display to a user the instances and / or the rule pattern of the altered shape elements output by the data processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The present disclosure will now be described, by way of example only, with reference to the accompanying drawings, in which:

[0018] Figure 1 An example of a data processing system in which embodiments of the present disclosure may be implemented is shown, such as a CAD system configured to perform the processes as described herein;

[0019] Figure 2 is a flowchart representing steps in a method according to an embodiment;

[0020] Figure 3 The process of step 212 of method 200 is outlined in more detail;

[0021] Figure 4a is a schematic diagram of the first pattern before the change is made to the instance of the shape element;

[0022] Figure 4b is a schematic diagram of the first pattern after the change is made to the instance of the shape element;

[0023] Figure 5a is a schematic diagram of the second pattern before the instance of the shape element is changed;

[0024] Figure 5b is a schematic diagram of a second pattern after the instance of the shape element is changed;

[0025] Figure 6a is a schematic diagram of the third pattern before the change is made to the instance of the shape element;

[0026] Figure 6b is a schematic diagram of the third pattern after the example of the shape element is changed;

[0027] Figure 7a is a schematic diagram of the fourth pattern before the change is made to the example of the shape element;

[0028] Figure 7b is a schematic diagram of the fourth pattern after the example of the shape element is changed;

[0029] Figure 8a is a schematic diagram of the fifth pattern before the change is made to the example of the shape element;

[0030] Figure 8b is a schematic diagram of the fifth pattern after the example of the shape element is changed;

[0031] Figure 9a is a schematic diagram of the sixth pattern before the change is made to the example of the shape element;

[0032] Figure 9bis a schematic diagram of the sixth pattern after the example of the shape element is changed; and

[0033] Fig.10a is a schematic diagram of the seventh drawing before the instance of the shape element is changed; and

[0034] Fig.10b This is a schematic diagram of the seventh figure after changing the example of the shape element. DETAILED DESCRIPTION

[0035] The embodiment described below uses the concept of a core set of geometric properties defining an instance and an optional set of geometric properties, wherein the optional geometric properties are implemented using a set of optional constraints, which are defined in a hierarchical order to determine the order in which they are solved. The computer-implemented method of modeling an engineering design component in a computer-aided design (CAD) system is described in more detail below. The embodiment considers an engineering design component including a feature, which has at least three instances of a shape element. The shape element can be any 2D shape or 3D shape including a plurality of entities. An entity can be a face, a vertex, or an edge, each of which can be selected to move independently of all other entities in the shape element. The instances are arranged in a regular pattern (e.g., a circular pattern or a rectangular pattern or even a linear array). Initially, the method defines a core set of geometric properties of instances of shape elements in a feature and a spatial relationship between instances of shape elements in a regular pattern. Each geometric property and spatial relationship is associated with a constraint that determines the behavior of an instance of a shape element when a change occurs. Then, the method defines an optional set of geometric properties of instances of shape elements in a feature and a spatial relationship between instances of shape elements in a regular pattern. Each optional geometric property and spatial relationship is associated with an optional constraint that determines the behavior of the case of the shape element when the change occurs. Once the core and optional geometric properties and the associated constraints are defined, the hierarchical order of the optional set of geometric properties and spatial relationships and their associated optional constraints is defined. This hierarchical order will determine the order in which the optional constraints are solved after solving the constraints associated with the core set of geometric properties. Once this is completed, the user provides changes to the case and / or regular pattern of the shape element. This can be a change to an entity or the entire case. The change is made in the following manner: i) solving the constraints associated with the core set of geometric properties and spatial relationships, and then ii) solving the optional constraints associated with the optional geometric properties and spatial relationships in the defined hierarchical order. Finally, the case and / or regular pattern of the changed shape element are displayed to the user.

[0036] Figure 1An example of a data processing system that can implement an embodiment of the present disclosure is shown, such as a CAD system configured to perform a process as described herein. Data processing system 10 includes a processor 11 connected to a local system bus 12. The local system bus connects the processor to a main memory 13 and a graphics display adapter 14, and the graphics display adapter 14 can be connected to a display 15. The data processing system can communicate with other systems via a wireless user interface adapter connected to the local system bus 12, or via a wired network such as a local area network. Additional memory 16 can also be connected via the local system bus. Suitable adapters (such as a wireless user interface adapter 17) for other peripheral devices (such as a keyboard 18 and a mouse 19 or other pointer devices) allow users to provide input to the data processing system. Other peripheral devices may include one or more I / O controllers, such as a USB controller, a Bluetooth controller and / or a dedicated audio controller (connected to a speaker and / or a microphone). It is also understood that various peripheral devices can be connected to the USB controller (via various USB ports), including input devices (e.g., keyboards, mice, touch screens, trackballs, cameras, microphones, scanners), output devices (e.g., printers, speakers), or any other type of device operable to provide input or receive output from a data processing system. It is also understood that many devices referred to as input devices or output devices can both provide input for communication with a data processing system and receive output for communication with a data processing system. It is also understood that other peripheral hardware connected to the I / O controller can include any type of device, machine, or component configured to communicate with a data processing system.

[0037] An operating system included in the data processing system enables output from the system to be displayed to a user on display 15 and enables the user to interact with the system. Examples of operating systems that may be used in a data processing system may include Microsoft Windows TM 、Linux TM ,UNIX TM 、iOS TM and Android TM operating system.

[0038] It is further understood that the data processing system 10 can be implemented as a networked environment, a distributed system environment, a virtual machine in a virtual machine architecture, and / or a cloud environment. For example, the processor 11 and associated components can correspond to a virtual machine executed in a virtual machine environment of one or more servers. Examples of virtual machine architectures include VMware ESCi, Microsoft Hyper-v, Xen, and KVM.

[0039] It will be appreciated by those of ordinary skill in the art that the hardware described for the data processing system 10 may vary for a specific implementation. For example, the data processing system 10 in this example may correspond to a computer, a workstation, and / or a server. However, it will be appreciated that alternative embodiments of the data processing system may be configured with corresponding or alternative components, such as in the form of a mobile phone, a tablet computer, a controller board, or any other system that is operable to process data and perform the functions and features described herein associated with the operation of the data processing system, computer, processor, and / or controller discussed herein. The described examples are provided for illustrative purposes only and are not meant to imply architectural limitations regarding the present disclosure.

[0040] The data processing system 10 may be connected to a network (not a part of the data processing system 10), which may be any public or private data processing system network or combination of networks known to those skilled in the art, including the Internet. The data processing system 10 may communicate with one or more other data processing systems, such as a server (also not a part of the data processing system 10), via a network. However, alternative data processing systems may correspond to multiple data processing systems implemented as part of a distributed system, wherein processors associated with several data processing systems may be in communication with one or more network connections, and tasks described as being performed by a single data processing system may be collectively performed. Therefore, it should be understood that when referring to a data processing system, such a system may be implemented across several data processing systems, which are organized in a distributed system to communicate with each other via a network. The data processing system 10 is adapted to perform the method described in more detail below according to an embodiment by means of a software program.

[0041] When considering how to deal with the problems of existing systems, the method of the embodiment can be divided into three stages: defining a core set of behavioral characteristics; defining an optional set of behavioral characteristics; and hierarchically implementing optional characteristics by solving optional constraints after the constraints corresponding to the core behavioral characteristics have been solved. In the examples below, the instances and / or regular patterns of shape elements are two-dimensional. However, in a CAD system, the instances and / or regular patterns of shape elements can be three-dimensional, and the method of the embodiment is also applicable to this case. The shape elements themselves can be two-dimensional or three-dimensional, because these shape elements are commonly present in the design of engineering products that use a CAD system as part of the design process. For example, in such an engineering product, an instance of a shape element can be a mechanical component, an electrical component, or a thermal component.

[0042] 1. Core set of behavioral characteristics

[0043] The core set of behavioral properties represented are those that must be maintained before, during, and after the change. During the solver solution, all core behavioral properties must be implemented by constraints and should be considered as basic requirements for the change. The core set of behavioral properties is divided into two subsets, the first subset involves size and shape, and the second subset involves the maintenance of regular form. Therefore, the geometric properties of the instances of shape elements in the features designed as part of the model and the spatial relationships between the instances of shape elements in the regular pattern form these behavioral changes. Each geometric property and spatial relationship is associated with a constraint that determines the behavior of the instance of the shape element when the change occurs, and these constraints cannot be violated.

[0044] a) All instances of a shape element in a drawing must remain the same size and shape throughout. If an instance of a drawing is formed from a shape element that includes multiple entities in the model (faces, vertices, edges), these entities must represent the same shape element before, during, and after changes occur. Missing faces within an instance of a shape element are acceptable, although this depends on the interface of the drawing with the wider model being developed. For example, if instances of a shape element include internal structure, some changes may be desirable to exclude the boundaries of each instance of the shape element from the definition. This may be contemplated, for example, when designing a production line containing identical workstations, where the user wishes to move an item on a workstation rather than the workstation itself, and wishes to replicate that movement at all workstations. Therefore, when an instance of a shape element includes a boundary, that boundary may be excluded from the core set of geometric properties and the definition of spatial relationships.

[0045] b) For patterns where instances of shape elements are arranged in a regular form, such as a rectangular pattern, a circular pattern, or a linear pattern, this form should always be maintained. Taking a rectangular pattern as an example, the arrangement of instances of shape elements must always be defined by two directions, although these directions may change. The spacing between instances of shape elements must be consistent, but the value (the actual distance between instances of shape elements) can change. The number of instances of a shape element should remain constant unless the user specifies changes to it as an exception or part of the definition of a core behavior characteristic.

[0046] The general method for realizing this definition adopted in the embodiment is based on traditional constraint solving technology. However, in addition to this, the following logic is also included, that is, when all entities of the shape element forming the instance of the shape element are selected for change, the instance of the shape element coordinate system is automatically added to the selection. This limits the rigidity between the coordinate system of all selected entities of the shape element and the instance of the shape element. Each instance of the shape element in the pattern has its own coordinate system. Therefore, for the core behavior characteristics, any action applied to the single instance of the shape element will be consistently and universally copied to all instances of the shape element. The core set of behavior characteristics is subject to the constraint of rule constraints, so the rule constraints cannot be violated, bringing the definition of the second set of optional behavior characteristics.

[0047] 2. A collection of optional behavioral features

[0048] A set of optional geometric properties of instances of shape elements in the feature and spatial relationships between instances of shape elements in the regular pattern are then defined. Each optional geometric property and spatial relationship is associated with an optional constraint that determines the behavior of the instance of the shape element when a change occurs. The set of optional behavioral properties is defined in a hierarchical order in which the solver should attempt to solve the associated constraints. The hierarchical order of the optional constraints associated with this set of optional geometric properties and spatial relationships can be the order in which the optional sets of geometric properties and spatial relationships are implemented. Based on the need to determine the order in which constraints are implemented by their impact on subsequently implemented constraints, it is defined as follows:

[0049] A. Maintain the direction of the pattern and / or the center of the pattern as a constant amount. Any changes may maintain the original direction of the pattern and / or the center of the pattern, as any changes to them may have the greatest impact on the subsequent behavioral properties and their associated constraints.

[0050] B. Maintaining the position of an instance while changing its shape. Secondly, when the shape of an instance of a shape element changes, it is important not to change the position of the actual instance of the shape element. For example, if a face of a shape element moves, the rest of the shape element should remain in its original position.

[0051] C. Maintain at least a portion of the shape of the instance. Next, it is desirable to maintain at least a portion of the instance of the shape element during the change, and for example, as much as possible. While moving a single face may require changes to its adjacent faces, the rest of the instance of the shape element should maintain its original form.

[0052] D. Maintain the radius of the circular pattern. Changing the radius of a circular pattern may affect the angles between instances of shape features within the pattern and is therefore undesirable. If the radius of a circular pattern is changed, this maintains the size of the pattern relative to the entire model.

[0053] E. Maintain the position of the primary instance. The position of the primary instance may be fundamental to the initial pattern, and it may be advantageous to maintain it intact.

[0054] F. Maintaining the spacing of the patterns as a constant amount Maintaining the spacing of the patterns preserves the design properties, however, requiring it to take precedence over those constraints listed above may be overly restrictive in the overall context of the design and model.

[0055] G. Maintaining the position of an instance in a circular pattern relative to the center of the circular pattern as a constant amount By maintaining the position of an instance of a shape element relative to the center of the circular pattern, the instance is prevented from rotating about the center point.

[0056] A single instance of a shape element in a drawing can be designated as a primary instance so that a user need only change the primary instance to replicate the change for all instances in the drawing. A user can define a primary instance, which can be the first instance of a shape element to be created, whose copies initially form the drawing. Alternatively, primary instances can be defined automatically in the CAD system or earlier in the design process.

[0057] 3. Hierarchical implementation of optional behavior features

[0058] As described above, optional behavioral characteristics are defined within a CAD system through associated optional constraints. Each optional behavioral characteristic is a geometric property of an instance of a shape element in the feature being modeled or a spatial relationship between instances of shape elements in a regular pattern that is associated with its own optional constraint. The hierarchical structure of the definitions of the optional behavioral characteristics determines the order in which they are implemented, which is the descending order of the hierarchy from the first defined optional behavioral characteristic to the last defined optional behavioral characteristic. In addition, the optional constraints are only applied if the system will not become over-defined once the optional constraints are applied. Taking a rectangular pattern of instances of shape elements as an example, the rectangular pattern has an x-axis and a y-axis that are perpendicular to each other and an origin where the axes intersect, the optional behavioral characteristics are implemented as follows:

[0059] i) Apply a fixed optional constraint to the x-axis of the pattern;

[0060] ii) applying a fixed optional constraint to the y-axis of the pattern;

[0061] iii) if selection exists within an instance of a shape element, then a fixed optional constraint is imposed on the coordinate system of that instance;

[0062] iv) applying fixed optional constraints to the instance coordinate system if the dimensions of the entity on the primary instance of the shape element are changed;

[0063] v) applying rigid optional constraints between each entity in the primary instance and its coordinate system in order of distance from the entity being changed;

[0064] vi) impose fixed optional constraints on the coordinate system of the primary instance;

[0065] vii) applying a fixed spacing optional constraint on the spacing values ​​of the x-axis; and

[0066] viii) An optional constraint is imposed on the spacing values ​​of the y-axis.

[0067] In a circular pattern, the x-axis and y-axis may be replaced by the axes of the circle defining the pattern.

[0068] The method according to the embodiment will now be outlined and explained by way of example. Figure 2 2 is a flow chart representing steps in a method according to an embodiment. The method 200 includes defining, in a first step 202, a core set of geometric properties of instances of shape elements in a feature and spatial relationships between instances of shape elements in a regular pattern. Each geometric property and spatial relationship is associated with a constraint that determines the behavior of an instance of the shape element when a change occurs. In step 204, a set of optional geometric properties of instances of shape elements in a feature and spatial relationships between instances of shape elements in a regular pattern are defined. Each optional geometric property and spatial relationship is associated with an optional constraint that determines the behavior of an instance of the shape element when a change occurs. In step 206, a hierarchical order is defined for the set of optional geometric properties and spatial relationships and their associated optional constraints. At this point, in step 208, a change in an instance of a shape element and / or a regular pattern is received from a user. The change is initially performed in step 210 by solving constraints associated with the core set of geometric properties and spatial relationships. In step 212, the optional constraints associated with the set of optional geometric properties and spatial relationships are solved in accordance with the defined hierarchical order. Then finally in step 214, the changed instance of the shape element and / or the regular pattern are displayed to the user. Optionally, a single instance of a shape element in a drawing can be designated as the primary instance. This means that the user can change the shape or position of all instances by changing the shape or position of the primary instance.

[0069] Figure 3The process of step 212 of method 200 is outlined in more detail. It should be noted that constraints are imposed and associated sub-steps are performed only when optional behavior characteristics need to be implemented as a result of changes provided by the user. In order to implement any desired optional behavior characteristics, the following sub-steps are performed in step 212. In step 212a, the direction of the pattern and / or the center of the pattern are maintained as a constant amount. In step 212b, the position of the instance of the shape element is maintained while changing its shape. In step 212c, at least a portion of the shape of the instance of the shape element is maintained. In step 212d, if the pattern is circular, the radius of the circular pattern is maintained. In step 212e, the position of the primary instance of the shape element is maintained. In step 212f, the spacing of the pattern is maintained as a constant amount. Finally, in step 212g, the position of the instance of the shape element in the circular pattern relative to the center of the circular pattern is maintained as a constant amount. In a particular change, the sub-steps corresponding to the optional constraints that do not need to be solved will be omitted, but if necessary, the subsequent sub-steps will continue to be executed in hierarchical order. Some steps may need to be performed twice, but will again remain in hierarchical order. In the case where the optional constraints involve a rectangular pattern, the following substeps are performed. In step 212a, the direction of the pattern and / or the center of the pattern are maintained as constants. In step 212b, the position of the instances of the shape element is maintained while changing its shape. In step 212c, at least a portion of the shape of the instances of the shape element is maintained. In step 212d, starting from the primary instance, the relationship between the entities in the instances of the shape element and their coordinate system is maintained. In step 212e, the position of the primary instance of the shape element is maintained. And in step 212f, the spacing of the pattern in the x-direction and the y-direction is maintained.

[0070] Figure 4a is a schematic diagram of the first pattern before a change is made to an instance of the shape element, and Figure 4b is a schematic diagram of the first pattern after the change is made to the instance of the shape element. Figure 4a , pattern 400 includes 12 instances of shape element 401, which are evenly arranged in a 4×3 pattern on the x-axis and y-axis. The origin O is located in the lower left corner of pattern 400. The horizontal spacing along the x-axis is 10 dimension units, and the vertical spacing along the y-axis is also 10 dimension units. Shape element 401 can be "L" shaped and include six sides. The user wishes to move an edge 402 on the upright portion of the "L" shape, and therefore chooses to move this edge 402 on instance 403 of shape element 401 located at the lower right corner of pattern 400. In order for this movement to occur, method 200 is performed using data processing system 10, wherein the sub-steps in the process of implementing optional behavioral characteristics are shown in Table 1 below, wherein constraints are applied if the changes provided by the user require. In this example, changes are applied to instances of the shape element that are not the primary instance P.

[0071]

[0072] Table 1: Optional constraints for a single edge in the example of moving a shape element

[0073] The obtained pattern 400' is as follows Figure 4b Here, the upright portion of the "L" shape is widened by moving edge 402, which is replicated to each of the other instances of shape element 401' without making any changes to the original rectangular pattern.

[0074] Figure 5a is a schematic diagram of the second drawing before a change is made to the instance of the shape element, and Figure 5b is a schematic diagram of the second pattern after the instance of the shape element is changed. Figure 5a , pattern 500 also includes 12 instances of shape element 501, which are evenly arranged in a 4×3 pattern on the x-axis and y-axis. The origin O is located in the lower left corner of pattern 500. The horizontal spacing along the x-axis is 10 size units, and the vertical spacing along the y-axis is also 10 size units. Shape element 501 can be "L" shaped and include six sides. The user wants to move the pattern diagonally equally along the x-direction and the y-direction, so he chooses to move instance 502 of shape element 501 located at the lower right corner of pattern 500. In order for this movement to occur, method 200 is performed using data processing system 10, wherein the sub-steps in the process of implementing optional behavioral characteristics are shown in Table 2 below, wherein constraints are applied if the changes provided by the user require. In this example, changes are applied to instances of the shape element that are not the primary instance P.

[0075]

[0076] Table 2: Optional constraints for a single edge in the example of moving a shape element

[0077] The obtained pattern 500' is as follows Figure 5b Here, the entire pattern 500' has been shifted diagonally equally in the x-direction and the y-direction, while the instances of the shape element 501' have not been changed, so that the size of each instance of the shape element remains the same as the original.

[0078] Figure 6a is a schematic diagram of the third drawing before a change is made to the instance of the shape element, and Figure 6b is a schematic diagram of the third pattern after the shape element instance is changed. Figure 6a, pattern 600 also includes 12 instances of shape element 601, which are evenly arranged in a 4×3 pattern on the x-axis and y-axis. The origin O is located in the lower left corner of pattern 600. The horizontal spacing along the x-axis is 10 size units, and the vertical spacing along the y-axis is also 10 size units. Shape element 601 can be "L" shaped and include six sides. The user wants to expand the pattern equally diagonally along the x-direction and y-direction without changing the size of each instance of the shape element, so he chooses to move instance 602 of shape element 601 located at the lower right corner of pattern 600. In order for this movement to occur, method 200 is performed using data processing system 10, wherein the sub-steps in the process of implementing optional behavioral characteristics are shown in Table 3 below, wherein constraints are applied if the changes provided by the user require. In this example, changes are applied to instances of the shape element that are not the primary instance P.

[0079]

[0080] Table 3: Optional constraints for individual edges in the example of moving a shape element

[0081] The obtained pattern 600' is as follows Figure 6b Here, the entire pattern 600' has been enlarged equally diagonally in the x-direction and the y-direction, while the instances of the shape element 601' have not been changed, so that the size of each instance of the shape element remains the same as the original.

[0082] Figure 7a is a schematic diagram of the fourth drawing before a change is made to the instance of the shape element, and Figure 7b is a schematic diagram of the fourth pattern after the example of the shape element is changed. Figure 7a , pattern 700 also includes 12 instances of shape element 701, which are evenly arranged in a 4×3 pattern on the x-axis and y-axis. The origin O is located in the lower left corner of pattern 700. The horizontal spacing along the x-axis is 10 size units, and the vertical spacing along the y-axis is also 10 size units. Shape element 701 can be "L" shaped and include six sides. Each instance of shape element 701 is separated from its adjacent instances along the x-axis by a distance D=3. The user wishes to increase the spacing between each instance of shape element 701 from the distance D=3 of the adjacent instances along the x-axis to the distance D=5 of the adjacent instances along the x-axis. This is achieved by changing the scale D. In order to make this happen, method 200 is performed with data processing system 10, wherein the sub-steps in the process of implementing the optional behavioral characteristics are shown in Table 4 below, wherein constraints are imposed if the changes provided by the user require. In this example, changes are imposed on instances of shape elements that are not primary instances P.

[0083]

[0084] Table 4: Optional constraints for varying the spacing between instances of shape elements

[0085] The obtained pattern 700' is as follows Figure 7b Here, the overall pattern 700' increases the spacing between instances of the shape elements in the x-direction, while the y-direction spacing and the size of each instance of the shape elements are maintained at their original values.

[0086] Figure 8a is a schematic diagram of the fifth drawing before a change is made to the instance of the shape element, and Figure 8b is a schematic diagram of the fifth pattern after the example of the shape element is changed. Figure 8a , pattern 800 includes four instances 801 of a shape element, this time arranged in a circular pattern having a pattern axis at the center of the circle. Shape element 801 can be "L" shaped and include six sides. Each instance of shape element 801 is arranged around the center of the circle, with the topmost (approximately at 12 o'clock if the circular pattern is considered to be a clock edge) instance of shape element 801 being designated as the primary instance P. The user wishes to move one of the edges 802 of the selected instance of shape element 803 to widen the upright portion of the "L" shape by moving the edge outward in the direction of the arrow. To cause this to occur, method 200 is performed using data processing system 10, wherein the sub-steps in the process of implementing the optional behavioral characteristics are shown in Table 5 below, wherein constraints are imposed if the changes provided by the user require.

[0087]

[0088] Table 5: Optional constraints for individual edges in the example of moving a shape element

[0089] The obtained pattern 800' is as follows Figure 8b Here, the upright portion of the "L" shape has been widened by moving edge 802, which has been replicated to each of the other instances of shape element 801' without making any changes to the original circular pattern.

[0090] Figure 9a is a schematic diagram of the sixth drawing before a change is made to the instance of the shape element, and Figure 9b is a schematic diagram of the sixth pattern after the shape element is changed. Figure 9a, pattern 900 includes four instances 901 of a shape element, which are arranged in a circular pattern this time, with a pattern axis located at the center of the circle. Shape element 901 can be "L" shaped and include six sides. Each instance of shape element 901 is arranged around the center of the circle, wherein the topmost (roughly at 12 o'clock if the circular pattern is considered as a clock edge) instance of shape element 901 is designated as the primary instance P. The user wishes to increase the radius of the circular pattern by changing the radius, and therefore also changes the spacing between instances of shape element 901 without changing the shape of the instances of shape element 901. This is achieved by treating the primary instance P of the shape element as the selected instance of shape element 902 and moving it outward from the pattern axis passing through the center of the circular pattern. To make this happen, method 200 is performed with data processing system 10, wherein the sub-steps in the process of implementing the optional behavioral characteristics are shown in Table 6 below, wherein constraints are imposed if the changes provided by the user require.

[0091]

[0092] Table 6: Optional constraints for circular patterns for enlarging instances of shape elements

[0093] The obtained pattern 900' is as follows Figure 9b Here, the circular pattern 900' is maintained with an increased radius, while the actual instance of the shape element 901' is unchanged.

[0094] In the above examples, only one of the size / shape or the drawing of the instances of the shape element is changed. However, as described below, it may be desirable to be able to change the size and shape and the drawing of the instances of the shape element by using related optional constraints. Fig.10a is a schematic diagram of the seventh drawing before the instance of the shape element is changed, and Fig.10b is a schematic diagram of the seventh pattern after the shape element is changed. Fig.10a, a drawing 1000 includes 12 instances 1001 of a shape element, each of which may be "L"-shaped and include six sides e1 to e6. The instances 1001 of the shape element are arranged in a rectangular pattern having an x-axis spacing of 10 units along the base portion of the "L", a y-axis spacing of 10 units along the upright portion of the "L", and an origin O located at the lower left corner of the pattern. The instances 1001 of the shape element are designated as primary instances P. The user wishes to increase the length of the base portion of the "L" shape of each instance of the shape element from D = 3 units to D = 5 units, and to enlarge the pattern by changing the y-axis spacing from 10 units to 13 units. This is accomplished by taking the instance 1003 of the shape element that is located at the upper left corner of the rectangular pattern and moving the edge e5 that forms the right end of the base portion of the "L"-shaped shape element 1001 in the positive direction along the x-axis to increase the length of the base portion of the "L"-shaped shape element. This instance 1003 of the shape element is not the primary instance P of the shape element. However, in order to change the spacing of the pattern along the y-axis, the shape element instance 1003 that is adjacent to the primary instance P of the shape element along the y-axis is moved in the positive direction along the y-axis. To cause this to occur, the method 200 is executed by the data processing system 10, wherein the sub-steps in the process of implementing the optional behavior characteristics are shown in Table 7 below, wherein constraints are imposed if required by the changes provided by the user.

[0095]

[0096]

[0097] Table 7: Optional constraints for varying the size and shape of instances of shape elements and the spacing of their placement in a drawing

[0098] The obtained pattern 1000' is as follows Fig.10b Here, the rectangular pattern is shown with increasing y-axis spacing, and the size of the "L"-shaped base portion of each instance 1001' of the shape element is increased. The order of these two operations is performed based on the hierarchical definition of the optional constraints, where changing the size and shape of the instances of the shape element 1001 is performed before changing the spacing along the y-axis.

[0099] The method used in the above-described embodiments provides several advantages over previously used methods. The user does not need to fully constrain the drawing because the system will provide intuitive behavior by default. If the user does constrain the drawing, since optional constraints will only be applied when possible, in addition to the inviolable constraints of the core behavioral characteristics, the system will automatically adapt to the situation by adding new optional constraints to the system. In addition, the system does not prevent the desire to edit more complex situations, in which the spacing and shape of the instances may need to be changed. By using optional constraints that are implemented only when necessary and in a strict order, the solver is able to handle complex user requests for changes even in detailed models of multiple engineering products. By providing constraints that are applied in the same order as the hierarchical order of the constraint definition, the drawing can be easily changed without affecting the size and shape of the instances of the shape elements, and vice versa.

Claims

1. A computer-implemented method for modeling an engineering design component in a computer-aided design (CAD) system, wherein: Engineering design components include features, The feature has at least three instances of a shape element arranged in a regular pattern, the method comprising the steps of: a) defining a core set of geometric properties of at least three instances of the shape element in the feature and spatial relationships between at least three instances of the shape element in the regular pattern, wherein each geometric property and spatial relationship is associated with a constraint that determines the behavior of the instance of the shape element when changed; b) defining a set of optional geometric properties of instances of the shape elements in the feature and spatial relationships between instances of the shape elements in the regular pattern, wherein each optional geometric property and spatial relationship is associated with an optional constraint that determines the behavior of the instances of the shape elements when a change occurs; c) defining a hierarchical order of said sets of optional geometric properties and spatial relationships and their associated optional constraints; d) receiving an instance of the shape element and / or a change of the regular pattern from a user, performing the change by: i) solving constraints associated with the core set of geometric properties and spatial relationships; and ii) solving said optional constraints associated with said set of optional geometric properties and spatial relationships in said hierarchical order as defined; and e) Displaying the changed instances of the shape element and / or the regular pattern to the user.

2. The method according to claim 1, wherein: When changing all entities including the instance of the selection, the coordinate system of the instance is added to the selection.

3. The method according to claim 1, wherein: Examples of shape elements include boundaries, and wherein the boundaries are excluded from the core set of geometric properties and the definition of the spatial relationships.

4. The method according to claim 1, further comprising the steps of: designating a single instance of a shape element in the pattern as a primary instance; as well as By changing the shape or position of the primary instance, the shape or position of all instances is changed.

5. The method according to claim 4, wherein: The hierarchical order of the optional constraints associated with the set of optional geometric properties and the spatial relationships is the order in which the set of optional geometric properties and the spatial relationships are realized.

6. The method according to claim 5, wherein: The hierarchical order of the optional constraints associated with the set of optional geometric properties and spatial relationships is given by: A. Maintain the direction of the pattern and / or the center of the pattern as a constant; B. Maintain the position of instances of shape elements while changing their shapes; C. maintaining at least a portion of the shape of an instance of a shape element; D. Maintain the radius of the circular pattern; E. Maintain the position of the primary instance of the shape element; F. Maintain the spacing of the patterns at a constant amount; as well as G. Maintaining the positions of instances of shape elements in a circular pattern relative to the center of the circular pattern at a constant amount.

7. The method according to claim 5, wherein: The order in which constraints are implemented is determined by the impact of the constraints on subsequently implemented constraints.

8. The method according to claim 1, wherein: The instances of the shape elements and / or the regular pattern are two-dimensional.

9. The method according to claim 1, wherein: The instances of the shape elements and / or the regular pattern are three-dimensional.

10. The method according to claim 1, wherein: Examples of such form factors are mechanical, electrical or thermal components in a product.

11. A computer program comprising instructions which, when executed by a computer, cause the computer to perform the steps of any one of claims 1 to 10.

12. A data processing system adapted for modeling engineering design components in a computer-aided design (CAD) system, wherein: The engineering design part includes a feature having at least three instances of a shape element arranged in a regular pattern, the data processing system comprising: A data processor, the data processor being adapted to: define a core set of geometric properties of at least three instances of the shape elements in the feature and spatial relationships between at least three instances of the shape elements in the regular pattern, wherein each geometric property and spatial relationship is associated with a constraint that determines the behavior of the instance of the shape element when changed; define a set of optional geometric properties of the instances of the shape elements in the feature and spatial relationships between the instances of the shape elements in the regular pattern, wherein each optional geometric property and spatial relationship is associated with an optional constraint that determines the behavior of the instance of the shape element when changed; define a hierarchical order of the set of optional geometric properties and spatial relationships and their associated optional constraints; solve the constraints associated with the core set of geometric properties and spatial relationships; solve the constraints associated with the optional geometric properties and spatial relationships in accordance with the defined hierarchical order; and output the changed instance; a user input device adapted to receive changes from a user; and A display device is adapted to display to a user the changed instances of the shape elements and / or the regular pattern output by the data processor.