Batch replacement method, device and equipment for standard parts and storage medium
By automatically identifying and matching the features of standard parts in the three-dimensional model of the fixture, batch replacement of standard parts is achieved, solving the problem of low efficiency of manual replacement, improving replacement efficiency in complex models and reducing the error rate.
Patent Information
- Application Number
- CN202510773884.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-11
- Publication Date
- 2025-09-19
AI Technical Summary
In fixture design, manual replacement of standard parts is inefficient and has a high error rate, especially in complex and large three-dimensional models where batch replacement of standard parts is difficult.
By identifying the features of the replacement standard parts, traversing the three-dimensional model of the fixture, generating the original standard parts set, and performing batch replacement based on feature matching, making corrections using reasonable interference identification marks, and saving them in the database for subsequent calls.
The efficiency of batch replacement of standard parts has been greatly improved, the error rate has been reduced, and the replacement efficiency has been significantly improved, especially in complex and large-scale fixture three-dimensional models.
Smart Images

Figure CN120672953A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fixture three-dimensional model design, and in particular to a method, device, equipment and storage medium for batch replacement of standard parts. Background Art
[0002] During the fixture design process, 3D modeling is performed using the 3D design software CATIA. The modeled assembly will contain a variety of components. When designing non-standard fixture tooling, the standard parts need to be adjusted according to customization requirements. Standard parts are the basic components of the fixture, and there are often many standard parts in different locations. In order to improve the replacement efficiency of standard parts, standard parts of the same specifications and models need to be replaced in batches.
[0003] When replacing standard parts in batches, the user selects the corresponding standard parts in the 3D model. The new standard parts are then uploaded and assembled according to the replacement locations. After assembly, the successful assembly is verified by interference. However, when working with complex and large 3D models, manual replacement of large batches of standard parts is often necessary due to the large number of components. This manual assembly of each standard part instance can easily lead to errors, resulting in inefficient standard part replacement. Summary of the Invention
[0004] The embodiments of the present invention provide a method, apparatus, device and storage medium for batch replacement of standard parts to solve the technical problem of low efficiency and high error rate caused by manual replacement of standard parts.
[0005] In a first aspect, an embodiment of the present invention provides a method for batch replacement of standard parts, comprising:
[0006] S101, loading a three-dimensional model of a fixture that needs to have standard parts replaced, receiving a replacement standard part uploaded by a user, performing graphic recognition on the replacement standard part to extract part features of the replacement standard part, and generating a standard part type and standard part specifications for the replacement standard part;
[0007] S102, traversing the fixture three-dimensional model, identifying the standard parts to be replaced according to the standard part type and standard part specifications of the replacement standard parts, and generating an original standard part set;
[0008] S103, adding a first reasonable part interference identification mark to the original standard part set, marking the original standard parts that are allowed to interfere;
[0009] S104, capturing the assembly surface features of the replacement standard part and each original standard part in the original standard part set, and performing a batch replacement operation of the standard parts according to the matching relationship of the features to generate a three-dimensional model of the fixture after replacement;
[0010] S105, traversing the three-dimensional model of the fixture after replacement, and generating a standard parts batch replacement report based on the first reasonable part interference identification mark;
[0011] S106, adding a second reasonable part interference identification mark according to the standard parts batch replacement report, generating a revised standard parts batch replacement report, and simultaneously saving both the first reasonable part interference identification mark and the second reasonable part interference identification mark in the database.
[0012] Furthermore, the S102 includes:
[0013] Traverse the fixture 3D model, perform graphic recognition on the parts in the fixture 3D model, and obtain the shape characteristics, size characteristics and assembly surface characteristics of each part;
[0014] Screen and classify standard parts according to the shape characteristics of each part to form a classified standard parts set;
[0015] By matching the types of standard parts in the classified standard parts set with the standard parts types of the replacement standard parts, and matching the size characteristics of each standard part in the classified standard parts set with the standard parts specifications of the replacement standard parts, the standard parts that need to be replaced are identified and the original standard parts set is generated.
[0016] Furthermore, the S104 includes:
[0017] Pick up the shape features, size features and assembly surface features of each original standard part in the replacement standard part and the original standard part set respectively;
[0018] The shape and size features of each original standard part in the original standard part set are matched with the shape and size features of the replacement standard part, and the assembly surface features of the original standard part are mapped to the replacement standard part according to the matching relationship to generate an assembly feature association set;
[0019] Detect the interference of each original standard part in the original standard part set, record the interference information of each original standard part respectively, and generate an interference information set;
[0020] Based on the interference information set and the assembly feature association set, the batch replacement operation of standard parts is performed to generate a three-dimensional model of the replaced fixture.
[0021] Furthermore, the step S105 includes:
[0022] Traverse the 3D model of the replaced fixture, perform interference detection on all replaced standard parts, and generate an original interference report;
[0023] The original interference report is screened using the first reasonable part interference identification mark and interference information set to generate a standard parts batch replacement report.
[0024] Furthermore, the S106 includes:
[0025] According to the standard parts batch replacement report, the standard parts that have not been replaced successfully are manually screened, and the second reasonable part interference identification mark is added to the replacement standard parts that are allowed to have interference, and a revised standard parts batch replacement report is generated;
[0026] The first reasonable part interference identification mark and the second reasonable part interference identification mark are both stored in the database.
[0027] Furthermore, the data table of the database includes a standard part type field and a standard part specification field. The standard part type field is used to record the type of the standard part, and the standard part specification field is used to record the specification model of the standard part.
[0028] Furthermore, the step S101 includes:
[0029] Load the 3D model of the fixture that needs to be replaced with standard parts, and receive the replacement standard parts uploaded by the user;
[0030] Perform shape capture and size capture on the replacement standard part through graphic recognition to obtain the shape feature and size feature of the replacement standard part respectively;
[0031] According to the shape characteristics of the replacement standard part, the standard part type of the replacement standard part is generated, and according to the size characteristics of the replacement standard part, the standard part specification of the replacement standard part is generated.
[0032] In a second aspect, an embodiment of the present invention provides a device for batch replacement of standard parts, comprising:
[0033] Model loading module, used to load the fixture 3D model and perform part feature recognition on the replacement standard parts uploaded by the user;
[0034] Model traversal module, used to traverse the fixture 3D model and identify the standard parts that need to be replaced;
[0035] Reasonable interference identification module, used to add the first reasonable part interference identification mark to the original standard part set;
[0036] Standard parts batch replacement module, used to capture the features of standard parts and replace them in batches based on feature matching;
[0037] Interference detection module, used to detect interference of the 3D model of the replaced fixture and generate a report;
[0038] The report correction module is used to correct the standard parts batch replacement report according to the second reasonable part interference identification mark.
[0039] In a third aspect, an embodiment of the present invention provides an electronic device, including:
[0040] one or more processors;
[0041] a storage device for storing one or more programs,
[0042] When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned batch replacement method for standard parts.
[0043] In a fourth aspect, an embodiment of the present invention provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the above-mentioned method for batch replacement of standard parts.
[0044] The embodiment of the present invention provides a batch replacement method, device, equipment and storage medium for standard parts. The method identifies the standard part type and standard part specification of the replacement standard part uploaded by the user, traverses the fixture three-dimensional model, screens and determines the standard parts that need to be replaced according to the standard part type and standard part specification, generates an original standard part set, adds a first reasonable part interference identification mark to the original standard part set, and matches the features of the replacement standard part with the original standard part, batch assembles the consistent replacement standard parts, and batch replaces the original standard parts. Then, the batch replacement result is corrected by adding a second reasonable part interference identification mark, and the first reasonable part interference identification mark and the second reasonable part interference identification mark are both saved in a database for subsequent batch use. By automatically identifying the features of the replacement standard part and using the identified features to match the standard part to be replaced in the fixture three-dimensional model, batch replacement is performed through feature matching, and the reasonable interference identification mark is saved in the database for retrieval, the workload of manually marking the standard parts to be replaced and the reasonable interference identification mark is greatly reduced, the error rate is reduced, and the efficiency of batch replacement of standard parts can be improved, especially in complex and large fixture three-dimensional models. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which constitute part of the present invention, are provided to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are provided to explain the present invention and do not constitute an undue limitation of the present invention. In the accompanying drawings:
[0046] Figure 1 This is a flow chart of a method for batch replacement of standard parts according to the first embodiment of the present invention;
[0047] Figure 2 A schematic diagram of the software interface of a third-party software auxiliary tool for CATIA according to the first embodiment of the present invention;
[0048] Figure 3 This is a flow chart of a method for batch replacement of standard parts according to the second embodiment of the present invention;
[0049] Figure 4 This is a flow chart of a method for batch replacement of standard parts according to the third embodiment of the present invention;
[0050] Figure 5 A schematic diagram of the assembly surface features described in Example 3 of the present invention;
[0051] Figure 6 This is a schematic diagram of the transparent portion of the standard component according to the third embodiment of the present invention;
[0052] Figure 7 Schematic diagram of the interference of standard parts according to the third embodiment of the present invention;
[0053] Figure 8 This is a schematic structural diagram of a device for batch replacement of standard parts according to a fourth embodiment of the present invention;
[0054] Figure 9 This is a structural diagram of an electronic device according to a fifth embodiment of the present invention. DETAILED DESCRIPTION
[0055] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.
[0056] The type and specifications of standard parts are often used to limit the use and size of standard parts, but the properties of standard parts are affected by their materials and processing methods. Standard parts produced by different materials and processing methods have different properties, such as stiffness, ductility, elasticity, etc. When designing a fixture, even the same set of fixture tooling may need to be assembled with standard parts with different properties or even lower costs due to different usage requirements, or even cost control, supplier requirements, etc. Therefore, it is necessary to batch replace the standard parts in the fixture's three-dimensional model. When replacing standard parts in the fixture's three-dimensional model, it is necessary to manually mark the original standard parts to be replaced in the fixture's three-dimensional model according to the standard parts to be replaced, and then use the original standard parts to match the standard parts to be replaced before batch assembly. However, complex fixture three-dimensional models or large fixture three-dimensional models contain a large number of standard parts. Manual marking is cumbersome and has a high error rate, resulting in low efficiency in batch replacement of standard parts.
[0057] Example 1
[0058] Figure 1This is a flow chart of a method for batch replacement of standard parts according to a first embodiment of the present invention. This embodiment performs batch replacement by identifying the features of the replacement standard parts and screening matching original standard parts in the fixture three-dimensional model. The method specifically includes the following steps:
[0059] S101, load the three-dimensional model of the fixture that needs to replace the standard part, receive the replacement standard part uploaded by the user, perform graphic recognition on the replacement standard part to extract the part features of the replacement standard part, and generate the standard part type and standard part specifications of the replacement standard part.
[0060] First, you need to open the 3D model of the fixture that needs to be replaced with standard parts in CATIA. CATIA is a 3D design software developed by Dassault Systemes. Through the API interface provided by CATIA, you can interact with CATIA through programming language. Users can use the programmatically developed function to select product models to jump to the CATIA interface and select the 3D model of the fixture that needs to be replaced with standard parts in batches. Through the programmatically developed upload function, users can upload the replacement standard parts, perform graphic recognition on the replacement standard parts, extract the part features of the replacement standard parts, identify the type and specifications of the replacement standard parts, and generate the standard part type and standard part specifications of the replacement standard parts. You can then match and select the standard parts that need to be replaced in the 3D model of the fixture based on the standard part type and standard part specifications.
[0061] S102 , traversing the fixture three-dimensional model, identifying the standard parts that need to be replaced according to the standard part type and standard part specifications of the replacement standard parts, and generating an original standard part set.
[0062] The fixture model structure tree of the 3D model is traversed to identify the attributes of each part. This identification process selects standard parts based on their attributes, shape, dimensions, and assembly surfaces. Based on the type and specifications of the replacement standard parts, the system searches for standard parts with the same type and specifications as the replacement standard parts. These parts are then identified as those that need to be replaced, and the original standard parts set is generated using all the replacement standard parts.
[0063] S103, adding a first reasonable part interference identification mark to the original standard part set, marking the original standard parts in which interference is allowed.
[0064] After assembly, some types of standard parts, such as bolts and nuts, will interfere with the assembly position of the model. Some interference is reasonable and allowed, such as the threaded connection of bolts. Reasonable interference needs to be marked to avoid misjudgment when subsequently checking whether the assembly is successful, which increases the workload of proofreading the replacement results and affects the efficiency of batch replacement. When marking, all the original standard parts to be replaced in the original standard parts set can be displayed in the list in a list or drop-down list. By adding a checkbox in front of the original standard parts, the first reasonable part interference identification mark is added to the original standard parts that are allowed to interfere, marking the original standard parts that are allowed to interfere reasonably.
[0065] S104 , capturing the assembly surface features of the replacement standard part and each original standard part in the original standard part set respectively, and performing a batch replacement operation of standard parts according to the matching relationship of the features to generate a three-dimensional model of the fixture after replacement.
[0066] Each original standard part in the original standard parts set has a surface connected to the tooling model, namely the assembly surface. By identifying the assembly surface features of the original standard part and the assembly surface features of the replacement standard part, the assembly surface features of the original standard part and the assembly surface features of the replacement standard part are associated one-to-one. When performing a batch replacement operation, the replacement standard parts can be assembled on the tooling model in the same assembly method as the original standard parts based on the assembly surface features. Based on the matching of the assembly surface features, the replacement standard parts can be assembled in different orientations and angles to avoid assembly errors. After batch replacement and assembly of the standard parts, a 3D model of the replaced fixture is generated.
[0067] S105 , traversing the three-dimensional model of the fixture after replacement, and generating a standard parts batch replacement report based on the first reasonable part interference identification mark.
[0068] Traverse the three-dimensional model of the replaced fixture to detect the interference in the model. Among all the existing interference situations, eliminate the reasonable interferences that are allowed to exist according to the first reasonable part interference identification mark, retain the remaining interference situations, and record the replacement results of the standard parts corresponding to the interference situation as unsuccessful replacement, and the others as successful replacement.
[0069] S106, adding a second reasonable part interference identification mark according to the standard parts batch replacement report, generating a revised standard parts batch replacement report, and simultaneously saving both the first reasonable part interference identification mark and the second reasonable part interference identification mark in the database.
[0070] Since the first reasonable part interference mark is marked manually and is prone to omissions, the unsuccessful replacement in the standard part replacement report can be verified and corrected, and the standard parts that allow interference can be screened again to improve the success rate of standard parts batch replacement. In the standard parts batch replacement report, the results of unsuccessful replacement are checked, and whether interference is allowed is determined based on the type of standard part that was not successfully replaced and the location of the model. If allowed, the second reasonable part interference identification mark is added to the standard part, and the corresponding unsuccessful replacement result in the standard parts batch replacement report is corrected to success. If interference is not allowed, the replacement result is not modified, and a corrected standard parts batch replacement report is generated. By recording the first reasonable part interference identification mark and the second reasonable part interference identification mark in the database, in subsequent batch replacement operations, the first reasonable part interference identification mark can be added to the standard parts to be replaced by calling the data in the database, which greatly reduces the workload of manual marking and the probability of misoperation.
[0071] This embodiment identifies the standard part type and standard part specifications of the replacement standard parts uploaded by the user, traverses the fixture three-dimensional model, screens and determines the standard parts that need to be replaced according to the standard part type and standard part specifications, generates an original standard part set, adds a first reasonable part interference identification mark to the original standard part set, and matches the features of the replacement standard parts with the original standard parts, batch assembles the consistent replacement standard parts, and batch replaces the original standard parts. The batch replacement results are then corrected by adding a second reasonable part interference identification mark, and the first reasonable part interference identification mark and the second reasonable part interference identification mark are both saved in a database for subsequent batch use. By automatically identifying the features of the replacement standard parts and using the identified features to match the standard parts that need to be replaced in the fixture three-dimensional model, batch replacement is performed through feature matching, and the reasonable interference identification mark is saved in the database for retrieval, the workload of manually marking the standard parts that need to be replaced and the reasonable interference identification mark that needs to be replaced is greatly reduced, and the error rate is reduced. In particular, in complex and large fixture three-dimensional models, the efficiency of batch replacement of standard parts can be improved.
[0072] Optionally, the S101 includes:
[0073] Load the 3D model of the fixture that needs to be replaced with standard parts, and receive the replacement standard parts uploaded by the user.
[0074] Develop third-party software auxiliary tools that interact with CATIA through programming. For example, the software interface diagram is as follows Figure 2As shown, through the "Select Product Model" function, jump to CATIA and select the 3D model of the fixture that needs to be replaced with standard parts. Specifically, you can select the complete 3D model assembly or some unit model nodes to determine the 3D model or part of the 3D model that needs to be replaced with standard parts. After that, in the auxiliary tool, the upload function of the standard parts batch replacement unit is used to receive the replacement standard parts uploaded by the user. The user can upload a standard part file, which can then be used to identify features of the standard part file and analyze the type and specifications of the standard part to screen the standard parts that need to be replaced.
[0075] The shape and size of the replacement standard part are captured by graphic recognition to obtain the shape characteristics and size characteristics of the replacement standard part respectively.
[0076] Utilize third-party software tools to perform digital model recognition on the replacement standard part. Take photos of the recognized digital model from multiple angles. Use a pattern recognition model to perform feature recognition on the replacement standard part's digital model from multiple angles. Recognize the shape and size of the digital model from multiple angles, and generate the shape and size features of the replacement standard part. By training the pattern recognition model, the model can identify standard parts by shape and size.
[0077] According to the shape characteristics of the replacement standard part, the standard part type of the replacement standard part is generated, and according to the size characteristics of the replacement standard part, the standard part specification of the replacement standard part is generated.
[0078] The type of standard part can be determined by shape features. For example, if the standard part is a bolt, the identified shape feature is the bolt's outer shape, which can be used to determine the type of standard part to be replaced. The specifications of the standard part can be determined by size features. For example, different bolt specifications have different diameters, heights, and other parameters, which can be used to determine the specifications of the replacement standard part. The type of standard part to be replaced can be used to filter the type of standard part to be replaced. However, there may be multiple standard parts of the same type, and each type may have different specifications. The standard part specifications of the replacement standard part can be used to further determine the specific standard part to be replaced.
[0079] Example 2
[0080] Figure 3 This is a flow chart of a method for batch replacement of standard parts according to the second embodiment of the present invention. This embodiment is optimized based on the above embodiment. In this embodiment, S102 is specifically optimized as follows:
[0081] Traverse the fixture 3D model, perform graphic recognition on the parts in the fixture 3D model, and obtain the shape characteristics, size characteristics and assembly surface characteristics of each part;
[0082] Screen and classify standard parts according to the shape characteristics of each part to form a classified standard parts set;
[0083] By matching the types of standard parts in the classified standard parts set with the standard parts types of the replacement standard parts, and matching the size characteristics of each standard part in the classified standard parts set with the standard parts specifications of the replacement standard parts, the standard parts that need to be replaced are identified and the original standard parts set is generated.
[0084] Accordingly, the batch replacement method for standard parts provided in this embodiment specifically includes:
[0085] S201, load the three-dimensional model of the fixture that needs to replace the standard part, receive the replacement standard part uploaded by the user, perform graphic recognition on the replacement standard part to extract the part features of the replacement standard part, and generate the standard part type and standard part specifications of the replacement standard part.
[0086] S202 , traversing the fixture three-dimensional model, performing graphic recognition on the parts in the fixture three-dimensional model, and obtaining the shape feature, size feature, and assembly surface feature of each part.
[0087] According to the selected fixture 3D model or unit model node, the structure tree of the tooling model or unit model node of the fixture 3D model is traversed, the digital model of the parts in the structure tree is photographed from multiple angles and graphic recognition is performed, and the shape features, size features and assembly surface features of each part are generated based on the external shape, size, assembly surface position and other features of the digital model.
[0088] S203 , screening standard parts according to the shape characteristics of each part and classifying the standard parts to form a classified standard parts set.
[0089] The type of part can be determined by shape features, and then whether the part is a standard part can be determined, so that the standard parts can be screened out. At the same time, the screened standard parts can be classified to form a classified standard parts set.
[0090] S204, using the type of standard parts in the classified standard parts set to match the standard part type of the replacement standard parts, and matching the size characteristics of each standard part in the classified standard parts set with the standard part specifications of the replacement standard parts, identify the standard parts that need to be replaced and generate the original standard parts set.
[0091] Based on the type of the replacement standard parts, that is, the type of standard parts to be replaced in batches, the standard parts to be replaced are matched with the standard parts type in the classified standard parts set to filter out the standard parts to be replaced. Then, based on the standard part specifications of the replacement standard parts, the standard parts of the type to be replaced are determined to have the specifications that need to be replaced. The exact standard parts to be replaced are determined by type and specification to form the original standard parts set, and the original standard parts can be replaced in batches according to the original standard parts set.
[0092] S205: Add a first reasonable part interference identification mark to the original standard part set to mark the standard parts that are allowed to interfere.
[0093] S206 , capturing the assembly surface features of each standard part in the replacement standard part and the original standard part set respectively, and performing a batch replacement operation of standard parts according to the matching relationship of the features to generate a three-dimensional model of the fixture after replacement.
[0094] S207, traversing the three-dimensional model of the fixture after replacement, and generating a standard parts batch replacement report according to the first reasonable part interference identification mark.
[0095] S208, adding a second reasonable part interference identification mark according to the standard parts batch replacement report, generating a revised standard parts batch replacement report, and simultaneously saving both the first reasonable part interference identification mark and the second reasonable part interference identification mark in the database.
[0096] This embodiment traverses the tooling model structure tree and then uses a graphic recognition model to identify the features of parts, screening and classifying standard parts. It then determines the standard parts that need to be replaced based on their type and specifications, forming an original set of standard parts that can be used for subsequent batch replacements. By traversing the tooling model structure tree and using a graphic recognition model to automatically identify standard parts and match their features with the replacement parts, the standard parts that need to be replaced are determined. This eliminates the need for manual selection and marking of the standard parts to be replaced, significantly reducing manual workload and the probability of errors caused by manual operation.
[0097] Example 3
[0098] Figure 4 This is a flow chart of a method for batch replacement of standard parts according to the third embodiment of the present invention. This embodiment is optimized based on the above embodiment. In this embodiment, S104 is specifically optimized as follows:
[0099] Pick up the shape features, size features and assembly surface features of each standard part in the replacement standard part and the original standard part set respectively;
[0100] The shape and size features of each original standard part in the original standard part set are matched with the shape and size features of the replacement standard part, and the assembly surface features of the original standard part are mapped to the replacement standard part according to the matching relationship to generate an assembly feature association set;
[0101] Detect the interference of each original standard part in the original standard part set, record the interference information of each original standard part respectively, and generate an interference information set;
[0102] Based on the interference information set and the assembly feature association set, the batch replacement operation of standard parts is performed to generate a three-dimensional model of the replaced fixture.
[0103] Accordingly, the batch replacement method for standard parts provided in this embodiment specifically includes:
[0104] S301, load the three-dimensional model of the fixture that needs to replace the standard part, receive the replacement standard part uploaded by the user, perform graphic recognition on the replacement standard part to extract the part features of the replacement standard part, and generate the standard part type and standard part specifications of the replacement standard part.
[0105] S302 , traversing the fixture three-dimensional model, identifying the standard parts that need to be replaced according to the standard part type and standard part specifications of the replacement standard parts, and generating an original standard part set.
[0106] S303: Add a first reasonable part interference identification mark to the original standard part set to mark the standard parts that are allowed to interfere.
[0107] S304, picking up the shape features, size features and assembly surface features of each standard part in the replacement standard part and the original standard part set respectively.
[0108] The shape features, size features and assembly surface features of the original standard parts are extracted by using the part features of the original standard parts in the original standard parts set. The assembly surface features can reflect the assembly and connection relationship between the standard parts and the workpiece. When replacing standard parts in batches, it is necessary to ensure that the assembly and connection relationship between the replacement standard parts and the original standard parts and the workpiece is the same, so that the replacement standard parts can be successfully assembled without affecting the integrity of the fixture 3D model. For example, Figure 5 (a) Figure 5 As shown in (b), the identified assembly surface features include two mounting feature surfaces, and each mounting feature surface has multiple holes. The above features are used to match the replacement standard parts and determine the assembly method of the standard parts. Some standard parts also have transparent parts or transparent surfaces, such as Figure 6 As shown, corresponding transparency parameters will be set, and the transparent surface can also be identified and the transparency parameters can be matched with replacement standard parts to improve assembly accuracy.
[0109] S305 , using the shape features and size features of each original standard part in the original standard part set to match the shape features and size features of the replacement standard part, mapping the assembly surface features of the original standard part to the replacement standard part according to the matching relationship, and generating an assembly feature association set.
[0110] The shape and size features of the replacement standard part are matched one by one with each original standard part in the original standard part set to determine the corresponding relationship between the shape and size characteristics of the original standard part and the replacement standard part. Then, based on the corresponding relationship, the assembly surface features of the original standard part are mapped to the replacement standard part to determine the assembly surface features of the replacement standard part, forming an assembly feature association set. Based on the assembly feature association set, the replacement standard part can be assembled in the same assembly method as the original standard part. Each original standard part in the original standard part set has an assembly relationship with its location, but the assembly relationship of each original standard part will not be exactly the same, that is, the assembly direction, angle, etc. will vary due to its location. It is necessary to determine the assembly relationship of each original standard part so that when the replacement standard part is assembled, it can be successfully assembled in the corresponding position with the same assembly relationship as the original standard part, ensuring the accuracy of the assembly and the integrity of the fixture three-dimensional model.
[0111] S306 , detecting the interference of each original standard component in the original standard component set, recording the interference information of each original standard component respectively, and generating an interference information set.
[0112] Some types of standard parts, such as bolts, can interfere with the workpiece during assembly. Therefore, interference detection is required for each original standard part, and all interference information is recorded to form an interference information set. Besides interference relationships, standard parts may also have other relationships, such as fit and clearance, during assembly. If the clearance between the standard part and the workpiece is 0 mm, it is considered a fit; if the clearance is greater than 0 mm, it is considered a clearance; and if the clearance is less than 0 mm, it is considered an interference. The fit, clearance, and other relationships of the original standard part can also be recorded in the interference information set for reference when verifying the success of the replacement. If the replacement result is successful, the relationship between the replacement standard part and the workpiece should be consistent with that of the original standard part, or at least should not cause any more interference than the original interference. Fit or clearance can also be considered a successful replacement in some replacement requirements.
[0113] S307 , performing a batch replacement operation of standard parts according to the interference information set and the assembly feature association set, and generating a three-dimensional model of the fixture after replacement.
[0114] According to the one-to-one correspondence between the assembly relationship between the replacement standard parts and each original standard part recorded in the assembly feature association set, and the one-to-one correspondence between the assembly relationship between the replacement standard parts and each original standard part recorded in the interference information set, the original standard parts are replaced in batches, the original standard parts are deleted, and the replacement standard parts are assembled at the corresponding positions of the original standard parts in the same assembly method as the original standard parts to generate a three-dimensional model of the fixture after replacement.
[0115] S308, traversing the three-dimensional model of the fixture after replacement, and generating a standard parts batch replacement report based on the first reasonable part interference identification mark.
[0116] S309, adding a second reasonable part interference identification mark according to the standard parts batch replacement report, generating a revised standard parts batch replacement report, and simultaneously saving both the first reasonable part interference identification mark and the second reasonable part interference identification mark in the database.
[0117] This embodiment extracts the assembly surface features and interference information of the original standard parts, and matches the replacement standard parts with the assembly surface features and interference information of the original standard parts one by one to form an assembly feature association set and an interference information set. The replacement standard parts are assembled in batches to replace the original standard parts according to the assembly feature association set and the interference information set, which can ensure that the replacement standard parts can be assembled in the corresponding position in the same assembly method as the original standard parts, thereby improving the success rate and efficiency of batch replacement.
[0118] In an optional implementation of this embodiment, S105 includes:
[0119] Traverse the 3D model of the replaced fixture, perform interference detection on all replaced standard parts, and generate an original interference report.
[0120] After the batch replacement of standard parts in the fixture 3D model is completed, the generated 3D fixture model after replacement is traversed again to detect the interference of all newly assembled replacement standard parts, summarize all interference situations, and generate an original interference report. Figure 7 As shown, Figure 7 The green part in (a) is the original standard part, and the red part is the part of the replacement standard part that exceeds the original standard part. Figure 7 As shown in (b), the red frame part in the figure has a vertical thickness that exceeds the thickness of the original standard part, which will cause the space at the assembly position to be unable to accommodate the replacement standard part. The top of the replacement standard part will extend into other parts above it, causing interference.
[0121] The original interference report is screened using the first reasonable part interference identification mark and interference information set to generate a standard parts batch replacement report.
[0122] After determining the specific original standard parts to be replaced, the generated original standard parts set can be annotated, adding the first reasonable part interference identification mark, marking the standard parts that are allowed to interfere. Some types of standard parts allow interference relationships during assembly, such as bolts. In the original interference report, the interference information of the original standard parts with the first reasonable part interference identification mark is eliminated, and only the unmarked interference information is retained. It can be preliminarily regarded as interference that should not exist. These interferences are recorded and a standard parts batch replacement report is generated. The interferences that should not exist recorded in the report will be marked as "unsuccessful", while the others will be replaced successfully.
[0123] Optionally, the S106 includes:
[0124] According to the standard parts batch replacement report, the standard parts that have not been replaced successfully are manually screened, and a second reasonable part interference identification mark is added to the replacement standard parts that are allowed to have interference, and a revised standard parts batch replacement report is generated.
[0125] The standard parts batch replacement report will be displayed in the form of a list in the software interface, such as Figure 2 As shown in the figure, if "Replacement Successful" is displayed in the replacement result, it means that all original standard parts in the original standard parts set in the fixture 3D model have been successfully replaced, that is, all the standard parts that need to be replaced have been replaced by the replacement standard parts and assembled successfully. "Incomplete Replacement Successful" indicates that some original standard parts in the original standard parts set in the fixture 3D model have been successfully replaced, while some original standard parts have not been replaced successfully. The number of successful and unsuccessful replacements will be displayed in the details. The unsuccessful standard parts can be manually checked through result correction. Since the addition of the first reasonable part interference identification mark to the original standard parts set is done manually, there may be omissions. There is also a very low probability that the feature matching will be incorrect due to the recognition error of the graphic recognition model, resulting in an interference assembly failure. Through manual inspection, the interference of unsuccessful standard parts can be checked. If the interference is allowed, the second reasonable part interference identification mark is added and the replacement report is modified to successful. If the interference is not allowed or the replacement is wrong, the replacement report is not modified. In this way, the standard parts batch replacement report is corrected to generate a corrected standard parts batch replacement report.
[0126] The first reasonable part interference identification mark and the second reasonable part interference identification mark are both stored in the database.
[0127] Since the first reasonable part interference identification mark and the second reasonable part interference identification mark are both manually added by the user when they are marked for the first time, interference may exist in the assembly method of some standard parts. For example, when a bolt is connected to a workpiece through a thread, the thread may interfere with the workpiece. In order to reuse the interference information of the standard parts, the first reasonable part interference identification mark and the second reasonable part interference identification mark are both saved in the database. In the subsequent batch replacement process of standard parts, reasonable part interference identification marks can be added to the original standard parts in batches by calling the data in the database, and then the user can check and manually delete or continue to add reasonable part interference identification marks, thereby improving the reusability of data, reducing the workload of manual marking, reducing the complexity of work and reducing the error rate.
[0128] Specifically, the data table of the database includes a standard part type field and a standard part specification field. The standard part type field is used to record the type of the standard part, and the standard part specification field is used to record the specification model of the standard part.
[0129] In order to make the reasonable part interference identification marks saved in the database reusable, the "standard part type" field and "standard part specification" field are preset in the database table that records them. The standard part type field is used to save the standard part type parameters, and the standard part specification field is used to save the specification model parameters of the standard part. For example, the standard part type parameter can be "GB70", indicating that the standard part type is a bolt. GB70 is the national standard for bolts, and the standard part type can be identified based on this. The standard part specification model parameter can be "M12X40", indicating that the specification model of this type of standard part (i.e., bolt specification) is M12*40 (i.e., diameter 12mm, height 50mm); the standard part type parameter can also be "Q218", indicating that the standard part type is a bolt. Q218 is the industry standard for bolts, and the standard part type can be identified based on this. The standard part specification model parameter can also be "1250", indicating that the specification model of this type of standard part (i.e., bolt specification) is 12*50 (i.e., diameter 12mm, height 50mm). According to actual needs, an "assembly surface" field can be added to save the assembly surface information of standard parts. Since reasonable interference of standard parts during assembly often exists at the contact point between the assembly surface and the tooling (such as bolts), the situation where interference is allowed can be recorded by saving the assembly surface information.
[0130] Example 4
[0131] Figure 8 This is a schematic structural diagram of a batch replacement device for standard parts according to a fourth embodiment of the present invention. In this embodiment, the batch replacement device for standard parts includes:
[0132] The model loading module 810 is used to load the fixture three-dimensional model and perform part feature recognition on the replacement standard parts uploaded by the user;
[0133] The model traversal module 820 is used to traverse the fixture three-dimensional model and identify the standard parts that need to be replaced;
[0134] A reasonable interference identification module 830 is used to add a first reasonable part interference identification mark to the original standard part set;
[0135] The standard parts batch replacement module 840 is used to capture the features of standard parts and replace the standard parts in batches according to feature matching;
[0136] Interference detection module 850, used to detect interference of the three-dimensional model of the replaced fixture and generate a report;
[0137] The report correction module 860 is used to correct the standard parts batch replacement report according to the second reasonable part interference identification mark.
[0138] In this embodiment, a model loading module loads a fixture three-dimensional model to receive replacement standard parts and identify the part features of the replacement standard parts. A model traversal module traverses the fixture three-dimensional model to screen the standard parts that need to be replaced. A reasonable interference identification module adds a first reasonable part interference identification mark to the original standard parts. A standard part batch replacement module captures the standard part features and matches them, and performs a batch replacement operation on the standard parts based on the matching relationship. An interference detection module detects the interference situation of the fixture three-dimensional model after replacement and generates a standard part batch replacement report. A report correction module is used to correct the standard part batch replacement report and save the first reasonable part interference identification mark and the second reasonable part interference identification mark in a database. By automatically identifying the features of the replacement standard parts and using the identified features to match the standard parts that need to be replaced in the fixture three-dimensional model, performing batch replacement through feature matching, and saving the reasonable interference identification mark in the database for easy access, the workload of manually marking the standard parts that need to be replaced and the reasonable interference identification mark is greatly reduced, the error rate is reduced, and the efficiency of standard part batch replacement can be improved, especially in complex and large fixture three-dimensional models.
[0139] The batch replacement device for standard parts provided in the embodiment of the present invention can execute the batch replacement method for standard parts provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0140] Example 5
[0141] Figure 9 This is a structural diagram of an electronic device according to a fifth embodiment of the present invention. Figure 9 A block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 9 The device 12 shown is only an example and should not bring any limitation to the functionality and scope of use of the embodiments of the present invention.
[0142] like Figure 9 As shown, device 12 is implemented as a general-purpose computing device. Components of device 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including system memory 28 and processing unit 16).
[0143] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0144] Device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by device 12, including volatile and non-volatile media, removable and non-removable media.
[0145] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 9 Not shown, often called a "hard drive"). Although Figure 9 Not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
[0146] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0147] Device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with device 12 / server / computer, and / or any device that enables device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may occur via input / output (I / O) interface 22. Furthermore, device 12 may communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with other modules of device 12 via bus 18. It should be understood that, although not shown, other hardware and / or software modules may be used in conjunction with device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0148] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28 , such as implementing the batch replacement method for standard parts provided in an embodiment of the present invention.
[0149] Example 6
[0150] The sixth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute the batch replacement method for standard parts provided in the above embodiment.
[0151] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0152] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0153] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0154] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, CAA, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0155] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for batch replacement of standard parts, characterized in that: include: S101, loading a three-dimensional model of a fixture that needs to have standard parts replaced, receiving a replacement standard part uploaded by a user, performing graphic recognition on the replacement standard part to extract part features of the replacement standard part, and generating a standard part type and standard part specifications for the replacement standard part; S102, traversing the fixture three-dimensional model, identifying the standard parts to be replaced according to the standard part type and standard part specifications of the replacement standard parts, and generating an original standard part set; S103, adding a first reasonable part interference identification mark to the original standard part set, marking the original standard parts that are allowed to interfere; S104, capturing the assembly surface features of the replacement standard part and each original standard part in the original standard part set, and performing a batch replacement operation of the standard parts according to the matching relationship of the features to generate a three-dimensional model of the fixture after replacement; S105, traversing the three-dimensional model of the fixture after replacement, and generating a standard parts batch replacement report based on the first reasonable part interference identification mark; S106, adding a second reasonable part interference identification mark according to the standard parts batch replacement report, generating a revised standard parts batch replacement report, and simultaneously saving both the first reasonable part interference identification mark and the second reasonable part interference identification mark in the database.
2. The method according to claim 1, characterized in that The S102 includes: Traverse the fixture 3D model, perform graphic recognition on the parts in the fixture 3D model, and obtain the shape characteristics, size characteristics and assembly surface characteristics of each part; Screen and classify standard parts according to the shape characteristics of each part to form a classified standard parts set; By matching the types of standard parts in the classified standard parts set with the standard parts types of the replacement standard parts, and matching the size characteristics of each standard part in the classified standard parts set with the standard parts specifications of the replacement standard parts, the standard parts that need to be replaced are identified and the original standard parts set is generated.
3. The method according to claim 2, characterized in that The S104 includes: Pick up the shape features, size features and assembly surface features of each original standard part in the replacement standard part and the original standard part set respectively; The shape and size features of each original standard part in the original standard part set are matched with the shape and size features of the replacement standard part, and the assembly surface features of the original standard part are mapped to the replacement standard part according to the matching relationship to generate an assembly feature association set; Detect the interference of each original standard part in the original standard part set, record the interference information of each original standard part respectively, and generate an interference information set; Based on the interference information set and the assembly feature association set, the batch replacement operation of standard parts is performed to generate a three-dimensional model of the replaced fixture.
4. The method according to claim 3, characterized in that The S105 includes: Traverse the 3D model of the replaced fixture, perform interference detection on all replaced standard parts, and generate an original interference report; The original interference report is screened using the first reasonable part interference identification mark and interference information set to generate a standard parts batch replacement report.
5. The method according to claim 1, wherein The S106 includes: According to the standard parts batch replacement report, the standard parts that have not been replaced successfully are manually screened, and the second reasonable part interference identification mark is added to the replacement standard parts that are allowed to have interference, and a revised standard parts batch replacement report is generated; The first reasonable part interference identification mark and the second reasonable part interference identification mark are both stored in the database.
6. The method according to claim 5, characterized in that: The data table of the database includes a standard part type field and a standard part specification field. The standard part type field is used to record the type of the standard part, and the standard part specification field is used to record the specification model of the standard part.
7. The method according to claim 1, characterized in that The S101 includes: Load the 3D model of the fixture that needs to be replaced with standard parts, and receive the replacement standard parts uploaded by the user; Perform shape capture and size capture on the replacement standard part through graphic recognition to obtain the shape feature and size feature of the replacement standard part respectively; According to the shape characteristics of the replacement standard part, the standard part type of the replacement standard part is generated, and according to the size characteristics of the replacement standard part, the standard part specification of the replacement standard part is generated.
8. A batch replacement device for standard parts, characterized in that: include: Model loading module, used to load the fixture 3D model and perform part feature recognition on the replacement standard parts uploaded by the user; Model traversal module, used to traverse the fixture 3D model and identify the standard parts that need to be replaced; Reasonable interference identification module, used to add the first reasonable part interference identification mark to the original standard part set; Standard parts batch replacement module, used to capture the features of standard parts and replace them in batches based on feature matching; Interference detection module, used to detect interference of the 3D model of the replaced fixture and generate a report; The report correction module is used to correct the standard parts batch replacement report according to the second reasonable part interference identification mark.
9. An electronic device, characterized in that: The device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method for batch replacement of standard parts as claimed in any one of claims 1 to 7.
10. A storage medium comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a computer processor, are used to execute the method for batch replacement of standard parts according to any one of claims 1 to 7.
Citation Information
Cited By
Method and system for detecting bolt detachability in clamp design
CN120850466A