Cross-component geometric feature multiplexing method and system
By constructing parametric templates and using UDF copy commands, the automatic reuse of geometric features across components is achieved, solving the problem of repetitive modeling when the master model changes in 3D product design and improving design efficiency.
Patent Information
- Application Number
- CN202511078248.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-01
- Publication Date
- 2025-11-07
AI Technical Summary
In existing 3D product design, when the master model is changed, custom geometric features need to be reconstructed manually, resulting in a lot of repetitive work, low efficiency, and traditional methods cannot achieve feature reuse across parts.
By constructing a main product design model class, part classes, and UDF classes, a parametric template is established, and when a part is changed, the UDF copy command is used to copy the feature pointer to the new model, thereby realizing the automatic reuse of geometric features across parts.
It eliminates the cost of repetitive manual modeling, improves design iteration efficiency, and enables automatic feature reuse across components.
Smart Images

Figure CN120911033A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to a cross-component geometric feature reuse method and system, belonging to the field of computer-aided design (CAD) modeling, specifically to a parameterized association and reuse method of main models and user-defined geometric features in three-dimensional product design process, and is particularly suitable for the version iteration and main model change scenarios of complex product design. BACKGROUND
[0002] In the current three-dimensional product design process, when the main model needs to be replaced due to demand changes, the user needs to manually re-model the user-defined geometric features (UDF) such as holes, grooves, centering parts, etc. on the original main model to the new model one by one, resulting in a lot of repetitive work and low efficiency; traditional parameterized design methods rely on fixed templates, and features are completely coupled with the main model, lacking independent storage and logical association mechanisms, resulting in the inability to achieve automatic migration of geometric features across main model components.
[0003] Existing related parameterized rapid modeling technologies (such as CN115630576A discloses a knowledge engineering template applicability enhancement method based on CATIA V6; CN115587444A discloses a binding bridge structure part template design method based on CATIA V6; CN104156528B discloses a standard equipment ontology model rapid modeling method based on Pro / E), all only support the creation of user-defined features on the ontology main model, or form feature templates in the form of UDF and load them on the main model, without realizing feature reuse across components. SUMMARY
[0004] The purpose of the present application is to overcome the problem that the existing design method needs to re-model the user-defined features generated by the design on the new main model one by one after the main model changes, without realizing feature reuse across components, and to provide a cross-component geometric feature reuse method and system that automatically inherits the features on the original main model to the new main model, eliminating the cost of manual re-modeling and improving design iteration efficiency.
[0005] The purpose of the present application is achieved by the following technical solutions: In a first aspect, a cross-component geometric feature reuse method is provided, comprising the following steps: 1) Constructing a product design main model class, a part class, and a UDF class, wherein the UDF represents a user-defined geometric feature, and the part class and the UDF class inherit from the main model class; 2) Constructing parameterized templates for parts and UDFs based on the part class and the UDF class, respectively, wherein the parameterized template for the part contains an assembly reference for the corresponding parameterized template of the UDF; 3) updating parameters on the parameterized template, forming the model of the part and the UDF respectively, and mounting the UDF on the part as a feature of the part; 4) when the part is replaced, copying the pointer of the UDF to the new master model using the UDF copying command, accessing the parameter value, parameter symbol and assembly reference in the master model class through the pointer, generating the UDF on the new master model, and completing the feature reuse.
[0006] In some embodiments, the master model class in step 1) is used to define the parameter value and parameter symbol characteristics; the part class is used to define the list feature of the UDF pointer, store the pointers of all UDFs mounted on the part, and define the UDF copying operation; and the UDF class is used to define the assembly feature of the UDF and the operation of mounting the UDF on the part.
[0007] In some embodiments, the assembly reference and feature design of the parameterized template of the UDF in step 2) are decoupled from the master model, the reference feature is based on the reference plane, coordinate system or coordinate axis of the three-dimensional model; and the parameterized templates of the part and the UDF are based on the same empty template, so that the names of the references of different templates remain consistent.
[0008] In some embodiments, the step 3) of updating parameters on the parameterized template includes: updating the defined parameter value on the parameterized template of the corresponding part according to the design requirements, to form the instantiated three-dimensional model of the corresponding part; selecting the UDF feature to be mounted in the UDF library, and updating the parameter value in the parameterized template of the UDF; mounting the instantiated feature on the model of the part through the operation of mounting the UDF on the part.
[0009] In some embodiments, the number of mounted UDF features is one or more; and when the UDF feature is mounted, the pointers of all UDFs mounted on the corresponding part are recorded to form a UDF pointer list.
[0010] In some embodiments, when the part master model is replaced, the UDF copying operation is used to select the UDF feature to be copied to the new model from the UDF pointer list of the original part model, copy the pointer of the selected UDF to the new model to form a new UDF pointer list when generating the new part model, obtain the parameter symbol and corresponding parameter value of the corresponding UDF from each pointer, and complete the feature generation on the new part model.
[0011] In a second aspect, a cross-component geometric feature reuse system is provided, comprising: A product design definition module is configured to build a product design master model class, a part class, and a UDF class, wherein the UDF represents a custom geometric feature, and the part class and the UDF class inherit from the master model class; A parameterized template building module is configured to build parameterized templates of parts and UDFs based on the part class and the UDF class, respectively, wherein the parameterized template of the part contains an assembly reference of the parameterized template of the UDF; A model building module is configured to update parameters on the parameterized templates to form models of the parts and the UDFs, respectively, and the UDF is mounted on the part as a feature of the part; A feature reuse module is configured to copy a pointer of the UDF to a new master model using a UDF copy command when the part is replaced, access parameter values, parameter symbols, and assembly references in the master model class through the pointer, generate the UDF on the new master model, and complete feature reuse.
[0012] It should be further explained that the technical features of the above embodiments can be combined or replaced with each other to form new technical solutions without conflict.
[0013] Compared with the prior art, the present application has the following advantages: The present application solves the problem that features on the original master model need to be modeled again on a new master model when the master model is replaced in product design, realizes automatic reuse of features across components through model class construction, unified parameterized template building of parts and UDFs, UDF mounting list generation, and pointer copying, eliminates the cost of manual repeated modeling, and improves design iteration efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0014] Figure 1 FIG. 1 is a flowchart of a geometric feature reuse method across components according to the present application; Figure 2 FIG. 2 is a schematic diagram of a product design model class according to the present application; Figure 3 FIG. 3 is a schematic diagram of an engine shell built based on a part class according to the present application; Figure 4 FIG. 4 is a schematic diagram of an aerodynamic shape template according to the present application; Figure 5 FIG. 5 is a schematic diagram of a UDF template of a centering part according to the present application; Figure 6 FIG. 6 is a schematic diagram of a centering part sketch according to the present application; Figure 7 FIG. 7 is a schematic diagram of a parameter list according to the present application; Figure 8 FIG. 8 is a schematic diagram of a parameter relationship according to the present application; Figure 9 FIG. 9 is a schematic diagram of UDF loading of a centering part according to the present application; Figure 10A schematic diagram of the UDF manager of the present application; Figure 11 A schematic diagram of the present application UDF copying to aerodynamic shape. DETAILED DESCRIPTION
[0015] The technical solutions of the present application will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the accompanying drawings can be arranged and designed in various different configurations. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work should fall within the scope of protection of the present application.
[0016] It should be noted that the defects of the above prior art solutions are the results obtained by the inventors after practice and careful study. Therefore, the discovery process of the above problems and the solutions proposed by the embodiments of the present application to the above problems should be the contributions made by the inventors to the present application in the process of invention and creation, and should not be understood as the technical content known to those of ordinary skill in the art.
[0017] To solve the technical problems pointed out in the background art, the embodiments provided by the present application are as follows: In an exemplary embodiment, referring to Figure 1 A method for reusing geometry features between components, comprising the following steps: 1) constructing a product design master model class, a part class and a feature class, wherein the part class and the UDF class inherit from the master model class; 2) constructing a parameterized template for the part and the UDF based on the part class and the UDF class respectively, and the part template needs to include the assembly reference of the UDF template; 3) updating the parameters on the parameterized template to form the part and UDF models respectively, and the UDF is mounted on the part as a feature of the part; 4) when the part is replaced, using the UDF copy command to copy the pointer of the UDF to the new master model, accessing the parameter values, parameter symbols and assembly references in the class through the pointer, generating the UDF on the new master model, and completing the feature reuse.
[0018] In step 1, as Figure 2As shown, the main model class defines the parameter value (ParameterValue) and parameter symbol (ParameterUniqueSymbol) features; the part class defines the list feature (List<*UDF>) of UDF pointers for storing the pointers of all UDFs mounted on the part, and defines the UDF copying operation (UDFCopy()); the UDF class defines the assembly feature (AssemblyReference) of the UDF and the operation (PlaceUDFtoModel()) of mounting the UDF on the part. The part class and the UDF class inherit from the main model class, and thus also have the parameter value and parameter symbol features.
[0019] In step 2, the assembly reference and feature design of the UDF parameterization template need to be decoupled from the main model, and the reference feature should be based on the reference plane, coordinate system or coordinate axis of the three-dimensional model; the parameterization templates of the part and the UDF should both be based on the same empty template, so that the names of the references of different templates remain consistent, facilitating subsequent operations such as mounting, copying, etc. of the UDF features in different templates of the part and different part models.
[0020] In step 3, the defined parameter values are updated on the corresponding part template according to design requirements, forming an instantiated three-dimensional model of the part; the UDF features that need to be mounted are selected from the UDF library, the parameter values in the UDF template are updated, and on the premise that the assembly reference established when the part model and the UDF template are based on the same reference, the instantiated features are mounted on the part model through the PlaceUDFtoModel() operation, and the number of mounted UDFs can be one or more. When the UDF is mounted, it will record the pointers of all UDFs mounted on the part to form a list List<*UDF>.
[0021] In step 4, when the main model of the part is replaced, the UDFCopy() operation can be used to select the UDF features that need to be copied to the new model from the UDF list of the original part model, and the pointers of the selected UDFs are deep copied to the new model to form a new UDF list when the new part model is generated, the parameter symbols and corresponding parameter values of the corresponding UDFs are obtained from the pointers, and the feature generation is completed on the new part model, and the feature reuse is completed.
[0022] Further, based on the three-dimensional design software Creo 2.0, and based on the Creo Parametric TOOLKIT secondary development interface, the loading, assembly, replacement, etc. of the model are realized through codes. According to the above method, the technical route described in the patent is realized by copying the centering feature of the engine shell to the aerodynamic shape.
[0023] Step one: build the engine shell and aerodynamic profile based on the part class, and build the centering part feature based on the UDF class, as shown in Figures 3-5 It should be noted that, as shown in Figure 6 The UDF feature is based on the FRONT, RIGHT, TOP face and X axis of the reference, and is not attached to other part features.
[0024] Step two: to realize the parameterized loading of the three-dimensional model based on the template, the model parameters (such as Figure 7 ) need to be built in the template and bound to the corresponding size of the model through the parameter relationship (such as Figure 8 ), that is, the model can be instantiated based on the parameterized template according to the design requirements through the parameter panel update.
[0025] Step three: after the engine shell and aerodynamic profile model instantiation, two centering part features are generated on the engine shell at different positions through the UDF loading command, as shown in Figure 9
[0026] Step four: after the UDF is generated, the UDF pointer list on the self-programmed UDF manager can be formed, as shown in Figure 10 , and by copying one of the pointers to the aerodynamic profile OUTER_PROFILE and clicking OK, the selected UDF pointer is copied to the UDF manager of the aerodynamic profile, and the parameter ID and parameter value are inherited when the model is regenerated. Through the same reference in the model tree, the UDF is generated on the aerodynamic profile, and the UDF reuse across components is completed, as shown in Figure 11
[0027] In another exemplary embodiment, based on the same inventive concept as the method embodiment, a system for reusing geometric features across components is provided, comprising: A product design definition module for building a product design main model class, a part class and a UDF class, wherein the UDF represents a custom geometric feature, and the part class and the UDF class inherit from the main model class; A parameterized template construction module for building a parameterized template of a part and a UDF based on the part class and the UDF class, respectively, wherein the parameterized template of the part contains an assembly reference of the corresponding parameterized template of the UDF; A model construction module for updating parameters on the parameterized template to form a model of the part and the UDF, respectively, and the UDF is mounted on the part as a feature of the part; The feature reuse module is used for copying the pointer of the UDF to the new master model by using the UDF copy command when the part is replaced, accessing the parameter value, parameter symbol and assembly reference in the master model class through the pointer, generating the UDF on the new master model, and completing the feature reuse.
[0028] The above detailed description is a detailed description of the present application, and cannot be considered as limiting the specific embodiments of the present application to these descriptions. For those skilled in the art to which the present application belongs, without departing from the concept of the present application, a number of simple deductions and substitutions can be made, which should be considered as belonging to the protection scope of the present application.
Claims
1. A method of reusing geometry features across components, the method comprising: The method comprises the following steps: 1) constructing a product design master model class, a part class and a UDF class, wherein the UDF represents a custom geometric feature, and the part class and the UDF class inherit from the master model class; 2) constructing a parameterized template of the part and the UDF based on the part class and the UDF class respectively, wherein the parameterized template of the part contains an assembly reference of the parameterized template corresponding to the UDF; 3) updating parameters on the parameterized template to form a model of the part and the UDF respectively, and mounting the UDF on the part as a feature of the part; 4) when the part is replaced, copying a pointer of the UDF to a new master model by using a UDF copying command, accessing parameter values, parameter symbols and assembly references in the master model class through the pointer, generating the UDF on the new master model, and completing feature reuse.
2. The method of claim 1, wherein, In the step 1), the master model class is used to define parameter value and parameter symbol characteristics; the part class is used to define a list feature of the UDF pointer, store pointers of all UDFs mounted on the part, and define a UDF copying operation; and the UDF class is used to define an assembly feature of the UDF and an operation of mounting the UDF on the part.
3. The method of claim 1, wherein, In the step 2), the assembly reference and feature design of the parameterized template of the UDF are decoupled from the master model, the reference feature is based on a reference plane, a coordinate system or a coordinate axis of a three-dimensional model, and the parameterized templates of the part and the UDF are based on the same empty template, so that the names of references of different templates remain consistent.
4. The method of claim 3, wherein, In the step 3), updating parameters on the parameterized template comprises: updating defined parameter values on the parameterized template of the corresponding part according to design requirements to form an instantiated three-dimensional model of the corresponding part; selecting UDF features to be mounted in a UDF library and updating parameter values in the parameterized template of the UDF; mounting the instantiated features on the model of the part through the operation of mounting the UDF on the part.
5. The method of claim 4, wherein, The number of mounted UDF features is one or more; and when the UDF features are mounted, pointers of all UDFs mounted on the corresponding part are recorded to form a UDF pointer list.
6. The method of claim 5, wherein, In the step 4), when the part master model is replaced, the operation of UDF copying is used to select UDF features to be copied to the new model in the UDF pointer list of the original part model, copy the pointers of the selected UDF to the new model to form a new UDF pointer list when a new part model is generated, obtain parameter symbols and corresponding parameter values of the corresponding UDF from the pointers, and complete feature generation on the new part model.
7. A system for reusing geometry features across components, the system comprising: The method comprises: a product design definition module, used to construct a product design master model class, a part class and a UDF class, wherein the UDF represents a custom geometric feature, and the part class and the UDF class inherit from the master model class; a parameterized template construction module, used to construct a parameterized template of the part and the UDF based on the part class and the UDF class respectively, wherein the parameterized template of the part contains an assembly reference of the parameterized template corresponding to the UDF; a model construction module, used to update parameters on the parameterized template to form a model of the part and the UDF respectively, and mount the UDF on the part as a feature of the part. The feature reuse module is used for copying the pointer of the UDF to the new master model by using the UDF copy command when the part is replaced, accessing the parameter value, the parameter symbol and the assembly reference in the master model class through the pointer, generating the UDF on the new master model, and completing the feature reuse.
Citation Information
Patent Citations
A Rapid Modeling Method of Standard Equipment Ontology Model Based on Pro / e
CN104156528B
Binding bridge structural member template design method based on CATIA V6
CN115587444A
Knowledge engineering template applicability enhancement method based on CATIA V6
CN115630576A