A naming processing method, device and equipment based on three-dimensional tolerance analysis modeling
Patent Information
- Application Number
- CN202610819609.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-08
- Publication Date
- 2026-08-28
AI Technical Summary
[0005]本申请的目的在于提供一种基于三维公差分析建模的命名处理方法、装置及设备,解决传统人工命名方式中存在的命名效率低以及易出错的问题
[0023] The technical effects of any of the design methods in aspects two through five can be found in aspect one or in different possible implementations of aspect one, and will not be repeated here.
Smart Images

Figure CN122654082A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of three-dimensional tolerance analysis modeling technology, and in particular to a naming processing method, apparatus and equipment based on three-dimensional tolerance analysis modeling. Background Technology
[0002] With the increasing complexity of product structures and the growing demand for assembly precision in industries such as automobiles and aerospace, 3D tolerance analysis has gradually become a crucial step in product dimensional engineering development. Through 3D tolerance analysis modeling, simulations can be performed to analyze component assembly deviations, cumulative tolerance effects, and measurement results, thus assisting in product design and manufacturing assembly processes. In the process of 3D tolerance analysis modeling, it is typically necessary to define and name the modeling elements, including part feature points, assembly elements, measurement elements, and tolerance elements.
[0003] In traditional modeling processes, the definition and naming of these features are mostly done manually. Engineers need to input or modify the relevant names one by one according to naming conventions. When there are many modeling elements in the model, or when multiple modeling elements need to be adjusted in batches, manual operation is time-consuming and prone to problems such as missing fields, incorrect serial numbers, and inconsistent part names, which affects the standardization of the model and the efficiency of subsequent maintenance.
[0004] Therefore, there is an urgent need for a naming method, device, and equipment for three-dimensional tolerance analysis modeling to solve the problems of low naming efficiency and easy error in traditional manual naming methods. Summary of the Invention
[0005] The purpose of this application is to provide a naming processing method, device, and equipment based on three-dimensional tolerance analysis modeling, which solves the problems of low naming efficiency and easy error in traditional manual naming methods.
[0006] Firstly, embodiments of this application provide a naming processing method based on three-dimensional tolerance analysis modeling. This method includes: acquiring part association information and modeling operation information corresponding to the modeling element to be processed; determining the element type and naming field corresponding to the modeling element to be processed based on the modeling operation information; generating a target element name corresponding to the modeling element to be processed according to preset three-dimensional tolerance analysis modeling naming rules based on the part association information, element type, and naming field; and writing the target element name into the name editing area corresponding to the modeling element to be processed in the three-dimensional tolerance analysis software to complete the feature definition and naming of the modeling element to be processed.
[0007] The naming processing method based on 3D tolerance analysis modeling provided in this application obtains the part association information and modeling operation information corresponding to the modeling element to be processed, and determines the element type and naming field of the modeling element to be processed based on the modeling operation information. This method can uniformly process the scattered part information, modeling type, and naming field in the 3D tolerance analysis modeling process. Then, based on the part association information, element type, and naming field, the target element name is generated according to the preset 3D tolerance analysis modeling naming rules, and the target element name is written into the corresponding name editing area in the 3D tolerance analysis software. This can reduce the manual operation of manually inputting, checking, and modifying names item by item, reduce the probability of problems such as field omissions, serial number errors, and inconsistent part names, and improve the accuracy and processing efficiency of modeling element feature definition and naming.
[0008] One possible implementation involves obtaining part association information and modeling operation information corresponding to the modeling elements to be processed, including: responding to the user's part selection method, determining the method for obtaining the target part information. If the method is determined to be a graphic selection method, reading the part number corresponding to the selected graphic in the 3D design software and converting the part number into the corresponding component name based on a preset part information database. If the method is determined to be a structure tree selection method, reading the component instance name corresponding to the selected node in the 3D design software's structure tree. If the method is determined to be a structure tree reading method, reading multiple part names in the 3D design software's structure tree and determining the part association information based on the selected part name. Responding to the user's modeling function selection operation, determining the modeling type corresponding to the modeling operation information.
[0009] One possible implementation involves determining the feature type and naming fields corresponding to the modeling elements to be processed based on the modeling operation information. This includes: determining the target field retrieval rule corresponding to the modeling type from preset field retrieval rules, based on the modeling type corresponding to the modeling operation information. The modeling type includes one or more of the following: part feature modeling, assembly operation modeling, measurement operation modeling, and tolerance feature modeling. Based on the target field retrieval rule, the modeling operation information is parsed to determine the feature type and naming fields corresponding to the modeling elements to be processed.
[0010] One possible implementation involves, when the modeling type is determined to be part feature modeling, parsing the modeling operation information based on target field acquisition rules to determine the feature type and naming fields corresponding to the modeling element to be processed. This includes: determining the feature type corresponding to the modeling element to be processed based on the feature point category selected by the user in the modeling operation information; the feature type may include a datum point, assembly point, or measurement point. If the feature type is determined to be a datum point, the datum point's sequence number, positioning datum, feature geometric attributes, and control direction are obtained. If the feature type is determined to be an assembly point, the assembly point's sequence number, positioning datum, feature geometric attributes, and control direction are obtained. If the feature type is determined to be a measurement point, the measurement point's measurement number, gap information or surface difference information, control direction, and measurement coordinates are obtained.
[0011] One possible implementation involves, when the modeling type is determined to be assembly operation modeling, parsing the modeling operation information based on target field acquisition rules to determine the feature type and naming fields corresponding to the modeling elements to be processed. This includes extracting the assembly sequence number and sequence number increment identifier from the modeling operation information. Based on the sequence number increment identifier, it is determined whether to increment the assembly sequence number. If so, the incremented assembly sequence number is used as the naming field corresponding to the modeling element to be processed. If not, the assembly sequence number is used as the naming field corresponding to the modeling element to be processed.
[0012] One possible implementation involves, when the modeling type is determined to be measurement operation modeling, parsing the modeling operation information based on the target field acquisition rules to determine the feature type and naming fields corresponding to the modeling features to be processed, including: extracting one or more of the following from the modeling operation information: measurement number, gap identifier, surface difference identifier, gap sequence number, surface difference sequence number, control direction, and measurement coordinates.
[0013] One possible implementation involves, when the modeling type is determined to be tolerance feature modeling, parsing the modeling operation information based on target field acquisition rules to determine the feature type and named fields corresponding to the modeling features to be processed. This includes extracting the tolerance type, associated feature point type, and tolerance control direction from the modeling operation information. Based on the tolerance type, the range of fields to be acquired for the tolerance feature is determined. Within this range, the tolerance type, associated feature point type, and tolerance control direction are used as the named fields corresponding to the tolerance feature.
[0014] One possible implementation of the naming processing method based on 3D tolerance analysis modeling provided in this application embodiment further includes: in response to a batch processing operation for multiple named modeling elements, determining the batch processing type corresponding to the batch processing operation; determining a target modeling element that meets the processing conditions from the multiple named modeling elements according to the batch processing type; parsing the current element name of the target modeling element to obtain the current name field corresponding to the target modeling element; adjusting the element type field and / or part name field in the current name field according to the batch processing type to obtain an updated name field; generating an updated target element name based on the updated name field, and writing the updated target element name into the corresponding name editing area in the 3D tolerance analysis software.
[0015] Secondly, embodiments of this application provide a naming processing device based on three-dimensional tolerance analysis modeling. The device includes: an acquisition module, a determination module, a generation module, and a writing module.
[0016] The acquisition module is used to acquire the part association information and modeling operation information corresponding to the modeling elements to be processed.
[0017] The determination module is used to determine the feature type and naming fields corresponding to the modeling features to be processed based on the modeling operation information.
[0018] The generation module is used to generate the target feature name corresponding to the modeling feature to be processed according to the part association information, feature type and naming field, and the preset 3D tolerance analysis modeling naming rules.
[0019] The write module is used to write the name of the target feature into the name editing area corresponding to the modeling feature in the 3D tolerance analysis software, so as to complete the feature definition and naming of the modeling feature.
[0020] Thirdly, embodiments of this application provide a naming processing device based on three-dimensional tolerance analysis modeling. This device has the function of implementing the naming processing method based on three-dimensional tolerance analysis modeling, which is described in the first aspect or any possible implementation thereof. This function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described function.
[0021] Fourthly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed on a computer, enable the computer to perform the naming processing method based on three-dimensional tolerance analysis modeling described in the first aspect or any possible implementation thereof.
[0022] Fifthly, embodiments of this application provide a computer program product containing instructions that, when run on a computer, enable the computer to execute the naming processing method based on three-dimensional tolerance analysis modeling described in the first aspect or any possible implementation thereof.
[0023] The technical effects of any of the design methods in aspects two through five can be found in aspect one or in different possible implementations of aspect one, and will not be repeated here. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0025] Figure 1 A structural diagram of a modeling aid tool provided in an embodiment of this application; Figure 2 Another structural diagram of a modeling aid tool provided in the embodiments of this application; Figure 3 A system architecture diagram of a naming processing system based on three-dimensional tolerance analysis modeling provided in this application embodiment; Figure 4 A flowchart illustrating a naming process based on three-dimensional tolerance analysis modeling, provided for embodiments of this application; Figure 5 A specific example diagram of a naming processing method based on three-dimensional tolerance analysis modeling provided in the embodiments of this application; Figure 6 Another specific example diagram of a naming processing method based on three-dimensional tolerance analysis modeling provided in the embodiments of this application; Figure 7 Another specific example diagram of a naming processing method based on three-dimensional tolerance analysis modeling provided in the embodiments of this application; Figure 8 Another specific example diagram of a naming processing method based on three-dimensional tolerance analysis modeling provided in the embodiments of this application; Figure 9 Another specific example diagram of a naming processing method based on three-dimensional tolerance analysis modeling provided in the embodiments of this application; Figure 10 Another specific example diagram of a naming processing method based on three-dimensional tolerance analysis modeling provided in the embodiments of this application; Figure 11 A flowchart illustrating a naming process based on three-dimensional tolerance analysis modeling, provided for embodiments of this application; Figure 12 A schematic diagram of a naming processing device based on three-dimensional tolerance analysis modeling provided in an embodiment of this application; Figure 13 Another system architecture diagram of a naming processing system based on three-dimensional tolerance analysis modeling provided in this application embodiment. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0027] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0028] In related technologies, the feature definition and naming of 3D tolerance analysis modeling elements mainly rely on manual work by engineers. Engineers need to read part information, determine the modeling element type, fill in the corresponding fields, and input the name according to the naming specifications pre-defined by the company or project. However, for models with a large number of feature points, complex assembly relationships, or requiring batch adjustments, the manual naming process is time-consuming and prone to inconsistencies due to missing fields, incorrect serial numbers, inconsistent part names, or differing understandings of the naming specifications. Especially in collaborative modeling scenarios, different engineers may apply the same naming specifications differently, thus affecting the model's consistency and subsequent reuse.
[0029] Furthermore, while some general-purpose batch renaming tools or automated scripts can perform simple text replacement or keyboard and mouse simulation operations, they typically cannot integrate with the part structural information in 3D design software, nor can they accurately identify the name editing areas corresponding to different modeling elements in 3D tolerance analysis software. For different types of objects such as part feature points, assembly elements, measurement elements, and tolerance elements, their naming fields and field combination rules are not the same, making it difficult for general-purpose tools to adapt to the 3D tolerance analysis modeling process.
[0030] Based on this, embodiments of this application provide a naming processing method, apparatus, and device based on three-dimensional tolerance analysis modeling. The method includes acquiring part association information and modeling operation information corresponding to the modeling element to be processed. Based on the modeling operation information, the element type and naming field corresponding to the modeling element to be processed are determined. Based on the part association information, element type, and naming field, a target element name corresponding to the modeling element to be processed is generated according to preset three-dimensional tolerance analysis modeling naming rules. The target element name is written into the name editing area corresponding to the modeling element to be processed in the three-dimensional tolerance analysis software to complete the feature definition and naming of the modeling element to be processed.
[0031] The naming processing method based on 3D tolerance analysis modeling provided in this application obtains the part association information and modeling operation information corresponding to the modeling element to be processed, and determines the element type and naming field of the modeling element to be processed based on the modeling operation information. This method can uniformly process the scattered part information, modeling type, and naming field in the 3D tolerance analysis modeling process. Then, based on the part association information, element type, and naming field, the target element name is generated according to the preset 3D tolerance analysis modeling naming rules, and the target element name is written into the corresponding name editing area in the 3D tolerance analysis software. This can reduce the manual operation of manually inputting, checking, and modifying names item by item, reduce the probability of problems such as field omissions, serial number errors, and inconsistent part names, and improve the accuracy and processing efficiency of modeling element feature definition and naming.
[0032] The methods provided in the embodiments of this application will now be described in conjunction with the specific accompanying drawings.
[0033] On the one hand, embodiments of this application provide a modeling aid tool. For example... Figure 1 As shown, the modeling aid tool 100 can run on an electronic device and can be used to assist in the naming process of elements in the three-dimensional tolerance analysis modeling process.
[0034] The modeling assistance tool 100 provides an operation interface. Users can select or input part association information and modeling operation information for the modeling element to be processed on this operation page. Using the naming processing method based on 3D tolerance analysis modeling provided in this application embodiment, the modeling assistance tool 100 determines the element type and naming field corresponding to the modeling element to be processed based on the part association information and modeling operation information selected or input by the user. Following preset 3D tolerance analysis modeling naming rules, it generates a target element name based on the part association information, element type, and naming field, and writes the generated target element name into the name editing area corresponding to the modeling element in the 3D tolerance analysis software, thereby completing the feature definition and naming of the modeling element to be processed.
[0035] One possible implementation is, such as Figure 2 As shown, the operation interface of the modeling auxiliary tool 100 can be set with a part association information input module 101 and a modeling function type function module 102.
[0036] The part association information input module 101 may include a part selection area. Users can directly enter the part name in this part selection area or select the target part from a preset part list.
[0037] Functional module 102 may include a part feature modeling module 1021, an assembly operation modeling module 1022, a measurement operation modeling module 1023, and a tolerance feature modeling module 1024. The part feature modeling module 1021, assembly operation modeling module 1022, measurement operation modeling module 1023, and tolerance feature modeling module 1024 each correspond to different parameter configuration areas. Users can input or select the corresponding target field in the corresponding parameter configuration area, based on the target field acquisition rules for that parameter configuration area.
[0038] The modeling assistance tool 100 can also determine modeling operation information based on the target fields input or selected by the user, and generate target feature names corresponding to the modeling features to be processed.
[0039] It should be noted that the above Figure 1 and Figure 2 The modeling aid tool 100 shown is merely an example of the application scenario of this application and is not intended to limit the application scenario of the solution in this application.
[0040] On the one hand, embodiments of this application provide a naming processing system based on three-dimensional tolerance analysis modeling. For example... Figure 3 As shown, the naming processing system 300 based on 3D tolerance analysis modeling may include: a modeling aid tool 100, 3D design software 301, and 3D tolerance analysis software 302. The modeling aid tool 100 can communicate with both the 3D design software 301 and the 3D tolerance analysis software 302 (3DCS).
[0041] The 3D design software 301 can provide part-related information such as part graphics, part numbers, structure tree nodes, or component instance names; the modeling auxiliary tool 100 can read the part association information corresponding to the modeling elements to be processed from the 3D design software 301, or convert the read part numbers into corresponding component names according to the preset part information library.
[0042] The 3D tolerance analysis software 302 can be used to create modeling elements such as part feature points, assembly elements, measurement elements, and tolerance elements. The modeling auxiliary tool 100 can write the generated target element names into the corresponding name editing area in the 3D tolerance analysis software 302.
[0043] For example, the 3D design software 301 can be CATIA, and the 3D tolerance analysis software 302 can be 3DCS.
[0044] The modeling aid tool 100 can establish a data communication connection with the 3D design software 301 to read the part number corresponding to the graphic object selected by the user in the 3D design software 301, or read the component instance name corresponding to the selected node in the structure tree.
[0045] The modeling aid tool 100 can determine the name editing area corresponding to the modeling element to be processed based on the target operation window, control category and control identifier in the 3D tolerance analysis software 302, and write the target element name into the name editing area.
[0046] It should be noted that the above Figure 3 The naming processing system 300 based on three-dimensional tolerance analysis modeling shown is merely an example of the application scenario of the solution in this application, and is not intended to limit the application scenario of the solution in this application.
[0047] On the one hand, embodiments of this application provide a naming processing method based on three-dimensional tolerance analysis modeling, which can be applied to deployments... Figure 1 The modeling aid tool 100 shown Figure 2 The naming processing system 300 shown is based on three-dimensional tolerance analysis modeling. For example... Figure 4 As shown, the method may include the following steps.
[0048] S401, Obtain the part association information and modeling operation information corresponding to the modeling elements to be processed.
[0049] The modeling elements to be processed can be objects that require feature definition and naming during the 3D tolerance analysis modeling process. Part association information can be used to represent the part name, component instance name, part number, or standard component name converted from the part number associated with the modeling elements to be processed. For example, ... Figure 5 As shown, in modeling scenarios involving pairs of parts, part association information can include Part Name 1 and Part Name 2. Modeling operation information can be used to represent information generated by the user's selection, input, or triggering operations on the modeling elements to be processed in the modeling assistance tool.
[0050] Specifically, modeling aids can determine how to acquire target part information based on the user's part selection method. This acquisition method can include one or more of the following: graphical selection, structure tree selection, and structure tree retrieval.
[0051] One possible implementation is to read the part number corresponding to the selected graphic in the 3D design software and convert the part number into the corresponding component name based on a preset part information database, provided that the acquisition method is determined to be a graphic selection method.
[0052] For example, such as Figure 5 As shown, when a user selects "Select Graphic" from the drop-down menu, they can directly select the corresponding 3D data graphic within the 3D design software and click the "Select" button in the modeling assistance tool. The modeling assistance tool can read the part number information corresponding to the selected graphic through the interface of the 3D design software, and convert the part number information into the corresponding component name according to the tool's built-in part information library. Then, the converted component name is filled into the corresponding text box to obtain the component association information.
[0053] Another possible implementation is to read the component instance name corresponding to the selected node in the 3D design software's structure tree, provided that the acquisition method is determined to be a structure tree selection method.
[0054] For example, such as Figure 5 As shown, when a user selects "Select Structure Tree" from the drop-down menu, the user can select the corresponding part in the structure tree within the 3D design software and click the "Select" button in the modeling assistance tool. The modeling assistance tool can read the component instance names of the selected part in the structure tree based on the interface of the 3D design software, and fill the component instance names into the corresponding text boxes to obtain the part association information.
[0055] Another possible implementation is to read multiple part names from the 3D design software's structure tree and determine the part association information based on the selected part name, provided that the acquisition method is determined to be a structure tree reading method.
[0056] For example, such as Figure 5 As shown, when the user selects "Read Structure Tree" in the drop-down menu, the modeling assistance tool can read all part names within the current structure tree based on the interface of the 3D design software and display the read part names in the drop-down menu. The user can select a target part name in the drop-down menu, and the modeling assistance tool will automatically fill the selected target part name into the corresponding text box to obtain the part association information.
[0057] It should be noted that users can also manually enter the part name directly in the text box, and the modeling aid tool will use the manually entered part name as the part association information.
[0058] Specifically, in response to the user's selection of modeling functions, the modeling type corresponding to the modeling operation information is determined.
[0059] One possible implementation is that the modeling assistance tool can select operations based on the user's modeling function to determine the modeling operation information corresponding to the modeling elements to be processed.
[0060] For example, users can input, select, or trigger operations related to the modeling features in the modeling aid tool using at least one of the following: drop-down menus, text boxes, numerical input controls, checkboxes, and buttons. The modeling aid tool can collect information generated by the user during the above operations and use the collected information as the modeling operation information.
[0061] Furthermore, the modeling assistance tool also includes a "hide toolbar option," which users can select. In this case, the modeling assistance tool will only display the selected part pair, preventing obscuring components within CITIA and facilitating modeling.
[0062] S402, Based on the modeling operation information, determine the feature type and naming field corresponding to the modeling feature to be processed.
[0063] Specifically, the feature type and naming fields corresponding to the modeling elements to be processed are determined based on the modeling operation information. This includes: determining the target field retrieval rule corresponding to the modeling type from preset field retrieval rules based on the modeling type corresponding to the modeling operation information. The modeling type includes one or more of the following: part feature modeling, assembly operation modeling, measurement operation modeling, and tolerance feature modeling. Based on the target field retrieval rule, the modeling operation information is parsed to determine the feature type and naming fields corresponding to the modeling elements to be processed.
[0064] One possible implementation involves, when the modeling type is determined to be part feature modeling, parsing the modeling operation information based on target field acquisition rules to determine the feature type and naming fields corresponding to the modeling element to be processed. This includes: determining the feature type corresponding to the modeling element to be processed based on the feature point category selected by the user in the modeling operation information; the feature type may include a datum point, assembly point, or measurement point. If the feature type is determined to be a datum point, the datum point's sequence number, positioning datum, feature geometric attributes, and control direction are obtained. If the feature type is determined to be an assembly point, the assembly point's sequence number, positioning datum, feature geometric attributes, and control direction are obtained. If the feature type is determined to be a measurement point, the measurement point's measurement number, gap information or surface difference information, control direction, and measurement coordinates are obtained.
[0065] For example, such as Figure 6As shown, for datum / assembly feature settings, users can select the feature type from the drop-down menu, such as datum point RPS or assembly point ZPD. Users can enter a serial number from the drop-down menu and check "Automatically increment serial number" to make the serial number of subsequent newly added features automatically increment. Users can select the positioning datum from the drop-down menu, such as body datum identifiers A, B, C, etc. Users can select the feature type from the drop-down menu, such as S (datum plane), H (primary datum hole / pin), h (secondary datum hole / pin), E (edge / secondary datum), e (edge / tertiary datum), etc., which correspond to the feature's geometric attributes. Users can select the control direction from the drop-down menu, such as the body coordinate system directions X, Y, Z, etc.
[0066] For setting measurement features, users can select the measurement point from the drop-down menu, fill in the DTS number, select G (gap) or F (surface difference) and enter the corresponding serial number, select the control direction, and fill in the measurement coordinates, such as X100, Y200, Z300, etc.
[0067] It should be noted that the above examples are only used to illustrate the method of obtaining named fields in the scenario of part feature modeling, and do not limit the method of obtaining named fields in the scenario of part feature modeling in this application.
[0068] Another possible implementation involves, assuming the modeling type is assembly operation modeling, parsing the modeling operation information based on target field acquisition rules to determine the feature type and naming fields corresponding to the modeling elements to be processed. This includes extracting the assembly sequence number and sequence number increment identifier from the modeling operation information. Based on the sequence number increment identifier, it is determined whether to increment the assembly sequence number. If so, the incremented assembly sequence number is used as the naming field corresponding to the modeling element to be processed. If not, the assembly sequence number is used as the naming field corresponding to the modeling element to be processed.
[0069] For example, such as Figure 7 As shown, in the assembly operation modeling module, Part Name 1 can represent the name of the part to be assembled, and Part Name 2 can represent the name of the assembly counterpart. Users can set assembly sequence numbers, such as entering assembly sequence number 1, and can check "Automatically increment sequence number" to make the naming sequence numbers of consecutive assemblies automatically increment, such as Move1, Move2, Move3. After the user clicks "Execute Assembly Renaming", the modeling auxiliary tool can determine the naming fields corresponding to the assembly elements according to the set parameters and the preset 3D tolerance analysis modeling naming rules.
[0070] Another possible implementation is to parse the modeling operation information based on the target field acquisition rules when the modeling type is determined to be measurement operation modeling, and determine the feature type and naming fields corresponding to the modeling features to be processed, including: extracting one or more of the following from the modeling operation information: measurement number, gap identifier, surface difference identifier, gap sequence number, surface difference sequence number, control direction, and measurement coordinates.
[0071] For example, such as Figure 8 As shown, in the measurement operation modeling module, Part Name 1 and Part Name 2 can represent the names of two matching parts defined by the DTS corresponding to the measurement. Users can set measurement parameters, such as entering the DTS measurement number, selecting the gap or surface difference sequence number, selecting the control direction, and entering the measurement coordinates. After the user clicks "Execute Measurement Rename", the modeling auxiliary tool can determine the naming field corresponding to the measurement element based on the above measurement parameters.
[0072] Another possible implementation involves, when the modeling type is determined to be tolerance feature modeling, parsing the modeling operation information based on the target field acquisition rules to determine the feature type and named fields corresponding to the modeling features to be processed. This includes extracting the tolerance type, associated feature point type, and tolerance control direction from the modeling operation information. Based on the tolerance type, the range of fields to be acquired for the tolerance feature is determined. Within this range, the tolerance type, associated feature point type, and tolerance control direction are used as the named fields corresponding to the tolerance feature.
[0073] For example, as above Figure 9 As shown, in the tolerance feature modeling module, Part Name 1 represents the name of the part to which the tolerance is assigned, and Part Name 2 represents the name of the mating part corresponding to that tolerance. Users can select the tolerance type, such as surface profile tolerance, position tolerance, or hole diameter tolerance. For surface profile tolerance or flatness tolerance, users can select the assembly point or measurement point corresponding to ZPD or CLD from the drop-down menu, and then select the tolerance control directions corresponding to X, Y, and Z from the drop-down menu. For position tolerance, users can select the tolerance control directions corresponding to the positioning holes from the drop-down menu. For hole diameter tolerance or pin diameter tolerance, users can select the assembly point or datum point corresponding to ZPD or RPS from the drop-down menu, and then select the tolerance control directions corresponding to X, Y, and Z from the drop-down menu. After the user clicks "Execute Tolerance Renaming," the modeling auxiliary tool can determine the naming fields corresponding to the tolerance features based on the above tolerance parameters.
[0074] S403: Based on the part association information, feature type, and naming fields, generate the target feature name corresponding to the modeling feature to be processed according to the preset 3D tolerance analysis modeling naming rules.
[0075] Specifically, after determining the feature type and naming fields corresponding to the modeling element to be processed, the modeling assistance tool can determine the field combination rules corresponding to that feature type from the preset 3D tolerance analysis modeling naming rules. These field combination rules can be used to limit the order of different naming fields, the field connection method, the field value format, and whether a field participates in name generation. Based on these field combination rules, the modeling assistance tool can organize the part association information and naming fields, and generate the target feature name corresponding to the modeling element to be processed.
[0076] One possible implementation is for the modeling aid tool to first perform integrity checks on the part association information and naming fields. For example, it could check if the part name is empty, if the serial number has been entered, if the control direction has been selected, and if the tolerance type or measurement number meets the naming requirements of the current feature type. If the integrity checks on the part association information and naming fields pass, the modeling aid tool can then edit, convert, and concatenate the fields according to the corresponding field combination rules to obtain the target feature name.
[0077] If the integrity check of part association information and naming fields fails, the modeling assistance tool can generate prompts to encourage the user to supplement or adjust the corresponding fields.
[0078] One possible implementation is that, when the modeling element to be processed is determined to be a part feature point, the modeling assistance tool can generate a target element name based on the part's association information, the feature type of the part's feature point, and the naming fields corresponding to the feature point. Specifically, when the feature type is a reference point or assembly point, the modeling assistance tool can generate the target element name based on the part name, serial number, positioning reference, feature geometric attributes, and control direction, according to the field combination rules corresponding to the reference point or assembly point. When the feature type is a measurement point, the modeling assistance tool can generate the target element name based on the part name, measurement number, gap information or surface difference information, control direction, and measurement coordinates, according to the field combination rules corresponding to the measurement point.
[0079] For example, in a part feature modeling scenario, after the user completes the selection or input of relevant fields such as reference points, assembly points, or measurement points, the modeling assistance tool can automatically collect the above fields and edit and splice the fields according to the built-in 3D tolerance analysis modeling naming rules, generating the corresponding part feature point names in the background.
[0080] Another possible approach is that, if the modeling element to be processed is determined to be an assembly element, the modeling assistance tool can generate the target element name based on the part association information and the naming fields corresponding to the assembly element. The modeling assistance tool can combine part name one, part name two, and assembly sequence number according to the field combination rules corresponding to the assembly element to generate the target element name corresponding to the assembly element.
[0081] Another possible implementation involves, when the modeling element to be processed is determined to be a measurement element, the modeling assistance tool can generate the target element name based on the part association information and the naming fields corresponding to the measurement element. The part association information can include the names of the two parts corresponding to the measurement relationship; the naming fields can include one or more of the following: measurement number, gap identifier, surface difference identifier, gap sequence number, surface difference sequence number, control direction, and measurement coordinates. The modeling assistance tool can combine the two part names and the naming fields corresponding to the measurement element according to the field combination rules corresponding to the measurement element to generate the target element name corresponding to the measurement element.
[0082] Another possible implementation involves, when the modeling element to be processed is determined to be a tolerance element, the modeling assistance tool can generate the target element name based on the part association information and the naming fields corresponding to the tolerance element. The part association information can include the name of the part to which the tolerance is assigned and the name of the mating part corresponding to that tolerance; the naming fields can include the tolerance type, the associated feature point type, and the tolerance control direction. The modeling assistance tool can determine the corresponding field combination rules based on the tolerance type, and combine the part association information, tolerance type, associated feature point type, and tolerance control direction according to these rules to generate the target element name corresponding to the tolerance element.
[0083] S404: Write the target feature name into the name editing area corresponding to the modeling feature in the 3D tolerance analysis software to complete the feature definition and naming of the modeling feature.
[0084] Specifically, after generating the target feature name corresponding to the modeling feature to be processed, the modeling aid tool can determine the target operation window corresponding to the modeling feature in the 3D tolerance analysis software, and then define the name editing area corresponding to the modeling feature in the target operation window. The target feature name is then written into this name editing area to complete the feature definition and naming of the modeling feature to be processed.
[0085] Specifically, when the modeling element to be processed is a part feature point, the target operation window can be a feature point name editing window. When the modeling element to be processed is an assembly feature, the target operation window can be an assembly name editing window. When the modeling element to be processed is a measurement feature, the target operation window can be a measurement name editing window. When the modeling element to be processed is a tolerance feature, the target operation window can be a tolerance name editing window for the corresponding tolerance type. The name editing area can be an editable text box in the target operation window. After determining the name editing area, the modeling auxiliary tool can write the target feature name into the name editing area, thereby updating the name of the corresponding modeling element in the 3D tolerance analysis software to the target feature name.
[0086] For example, in a part feature modeling scenario, after the modeling assistance tool generates the corresponding part feature point names in the background, the user can trigger the "Select 3DCS Points and Rename" operation. The modeling assistance tool can identify the editable text box for the corresponding point name in the 3D tolerance analysis software based on the window name, control class name, and message identifier of the corresponding control within the window, and write the generated part feature point name into the editable text box to complete the feature definition and naming of the selected feature points in the 3D tolerance analysis software.
[0087] Furthermore, in the part feature modeling scenario, users can trigger the "Select CATIA Point Rename" operation. The modeling assistance tool can call the interface of the 3D design software based on the name generated in the background to define and name the selected features in the 3D design software.
[0088] Furthermore, the modeling assistance tool can also respond to the user's read operation on the selected modeling feature in the current 3D tolerance analysis software, read the current name information of the selected modeling feature, and display the read current name information in reverse in the corresponding field area of the modeling assistance tool.
[0089] For example, a user can trigger the "Read Current 3DCS Point" operation. The modeling aid tool reads the name information of the currently selected feature point from the 3D tolerance analysis software, parses the name information, and displays it in the corresponding component so that the user can adjust the name information of the current feature point.
[0090] Furthermore, the modeling aid tool can also perform batch processing on multiple named modeling features. Specifically, in response to a batch processing operation on multiple named modeling features, the modeling aid tool can determine the batch processing type corresponding to the batch processing operation. The batch processing type can include at least one of the following: converting a reference point to an assembly point, converting an assembly point to a reference point, and swapping measurement point part names.
[0091] One possible implementation involves determining the batch processing type corresponding to a batch processing operation for multiple named modeling features. Based on the batch processing type, a target modeling feature meeting the processing conditions is selected from the multiple named modeling features. The current feature name of the target modeling feature is parsed to obtain the current name field corresponding to the target modeling feature. Based on the batch processing type, the feature type field and / or part name field in the current name field are adjusted to obtain an updated name field. An updated target feature name is generated based on the updated name field and written to the corresponding name editing area in the 3D tolerance analysis software.
[0092] Specifically, when the batch processing type is to convert a reference point to an assembly point, the modeling aid tool can identify the modeling features whose current name field contains the reference point type field from multiple named modeling features.
[0093] For example, in a batch processing scenario where assembly point is converted to a reference point, the modeling aid can identify modeling features from multiple named modeling features whose current name field contains the assembly point type field. In a batch processing scenario where measurement point part name swapping occurs, the modeling aid can identify measurement points from multiple named modeling features whose current name field contains two part name fields.
[0094] The modeling assistance tool parses the current feature name of the target modeling feature to obtain the current name field corresponding to the target modeling feature. The current name field may include at least one of the following: feature type field, part name field, sequence number field, control direction field, measurement number field, and measurement relationship field. The modeling assistance tool can adjust the feature type field and / or part name field in the current name field according to the batch processing type to obtain an updated name field.
[0095] For example, in batch processing cases where the conversion from datum point to assembly point is performed, the modeling aid can adjust the datum point type field in the current name field to the assembly point type field, while retaining other fields such as part name, serial number, and control direction. Similarly, in batch processing cases where the conversion from assembly point to datum point is performed, the modeling aid can adjust the assembly point type field in the current name field to the datum point type field, while retaining other fields. In batch processing cases where the measurement point part name is swapped, the modeling aid can swap the first and second part name fields in the current name field, while retaining fields such as measurement number, gap or surface difference information, control direction, and measurement coordinates.
[0096] After obtaining the updated name field, the modeling aid tool can generate the updated target feature name based on the updated name field and the preset 3D tolerance analysis modeling naming rules, and write the updated target feature name into the corresponding name editing area in the 3D tolerance analysis software to complete the batch update of multiple named modeling features.
[0097] For example, users can select the conversion type from the drop-down menu, such as "Batch conversion of RPS to ZPD," "Batch conversion of ZPD to RPS," or "Batch interchange of CLD part names." After the user clicks the "Batch Conversion" button, the modeling aid tool can automatically identify the selected target points in the 3D tolerance analysis software's point list and continuously convert downwards until a non-corresponding point is reached. For CLD batch conversion, the number of points to be converted can be specified, or an automatic identification method can be used to determine the points to be converted. After the conversion is complete, the modeling aid tool can generate a batch conversion completion prompt, such as indicating the total number of eligible points processed.
[0098] The methods provided in the embodiments of this application will be described below with reference to specific examples.
[0099] Example 1 The following example, using the three-dimensional tolerance analysis modeling process of "assembling the rear combination lamp to the side panel," illustrates the naming process based on three-dimensional tolerance analysis modeling provided in this application.
[0100] First, select and establish the reference point RPS and the CLD measurement point on the rear combination light. For example... Figure 10 As shown, multiple RPS points and CLD measurement points can be set on the rear combination light. The RPS point and measurement point information corresponding to the rear combination light is shown in Table 1, where the rear combination light has 6 RPS points and 1 CLD measurement point. The modeling auxiliary tool obtains the part association information corresponding to the rear combination light, and generates corresponding point names according to the preset 3D tolerance analysis modeling naming rules based on the user-input or selected feature point category, sequence number, control direction, and other modeling operation information. These point names are then written into the corresponding name editing area in the 3D tolerance analysis software to complete the feature definition and naming of each point on the combination light.
[0101] Table 1
[0102] The modeling aid tool obtains the part association information, tolerance type, and tolerance control direction corresponding to the pin diameter tolerance, generates the corresponding tolerance name, and writes the tolerance name into the corresponding tolerance name editing area in the 3D tolerance analysis software. Then, using the copy function in the 3D tolerance analysis software, the 6 RPS points and 1 CLD measurement point on the rear combination light are copied to the side panel. For example... Figure 11 As shown, multiple ZPD points and CLD measurement points can be set on the side panel. The ZPD and measurement point information corresponding to the side panel is shown in Table 2, where the side panel has 6 ZPD points and 1 CLD measurement point. For points copied to the side panel, the modeling auxiliary tool performs a batch processing operation, converting the 6 RPS points into 6 ZPD points, swapping the part names in the CLD measurement point, generating updated names for the corresponding ZPD and CLD measurement points on the side panel, and writing them to the corresponding name editing area.
[0103] Table 2
[0104] The modeling aid generates corresponding tolerance names based on the part association information, tolerance type, associated feature point type, and tolerance control direction of the side panel, and writes these tolerance names into the corresponding name editing area in the 3D tolerance analysis software. Similarly, it generates corresponding tolerance names based on the part association information, measurement point type, tolerance type, and tolerance control direction of the rear combination light and side panel, and writes them into the corresponding name editing area. Furthermore, it generates corresponding assembly names based on the part association information and assembly sequence number of the rear combination light and side panel, and writes these assembly names into the assembly name editing area in the 3D tolerance analysis software. Finally, it generates corresponding measurement names based on the part association information, DTS measurement number, clearance information or surface difference information, control direction, and measurement coordinates of the rear combination light and side panel, and writes these measurement names into the measurement name editing area in the 3D tolerance analysis software.
[0105] Finally, the named 3D tolerance analysis model is run, and the model is checked and debugged based on the running results.
[0106] Through the above implementation process, standardized naming of RPS points, ZPD points, CLD measurement points, assembly relationships, measurement relationships, and tolerance elements can be achieved during the assembly of the combination lamps into the side panel. As shown in Table 3, according to the time statistics of this embodiment, compared with the manual naming method, the overall modeling time is reduced from 1090 seconds to 691 seconds, and the naming-related time is reduced from 590 seconds to 191 seconds after adopting the naming processing method provided in this application embodiment. This improves the naming processing efficiency in three-dimensional tolerance analysis modeling and reduces the probability of manual naming errors.
[0107] Table 3
[0108] The above primarily describes the solutions provided in the embodiments of this application from the perspective of the working principle of the device. It is understood that the naming processing device based on three-dimensional tolerance analysis modeling includes corresponding hardware structures and / or software modules to perform each function in order to achieve the above-mentioned functions. Those skilled in the art should readily recognize that, in conjunction with the algorithm steps of the various examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0109] This application embodiment can divide the naming processing device based on 3D tolerance analysis modeling into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module.
[0110] It should be noted that the module division in this embodiment is illustrative and represents only one logical functional division; in actual implementation, other division methods may be used. When dividing functional modules according to their respective functions, Figure 12 A schematic diagram of a possible composition of the naming processing device based on three-dimensional tolerance analysis modeling involved in the above and embodiment examples is shown. Figure 12 As shown, the naming processing device 1200 based on three-dimensional tolerance analysis modeling may include: an acquisition module 1201, a determination module 1202, a generation module 1203, and a writing module 1204.
[0111] The acquisition module 1201 is used to support the execution of the naming processing device 1200 based on three-dimensional tolerance analysis modeling. Figure 4 S401 is illustrated in the naming process method based on three-dimensional tolerance analysis modeling.
[0112] The determination module 1202 is used to support the execution of the naming processing device 1200 based on three-dimensional tolerance analysis modeling. Figure 4 S402 is illustrated in the naming process method based on three-dimensional tolerance analysis modeling.
[0113] Generation module 1203 is used to support the execution of naming processing device 1200 based on three-dimensional tolerance analysis modeling. Figure 4 S403 is illustrated in the naming process method based on three-dimensional tolerance analysis modeling.
[0114] The writing module 1204 is used to support the execution of the naming processing device 1200 based on three-dimensional tolerance analysis modeling. Figure 4 S404 is an example of the naming process based on 3D tolerance analysis modeling.
[0115] One possible implementation involves an acquisition module that, when acquiring part association information and modeling operation information corresponding to the modeling elements to be processed, specifically: In response to the user's part selection method, determines the acquisition method for the target part information. If the acquisition method is determined to be a graphic selection method, it reads the part number corresponding to the selected graphic in the 3D design software and converts the part number into the corresponding component name based on a preset part information database. If the acquisition method is determined to be a structure tree selection method, it reads the component instance name corresponding to the selected node in the 3D design software's structure tree. If the acquisition method is determined to be a structure tree reading method, it reads multiple part names in the 3D design software's structure tree and determines the part association information based on the selected part name. In response to the user's modeling function selection operation, it determines the modeling type corresponding to the modeling operation information.
[0116] One possible implementation involves a determination module. Specifically, when determining the feature type and named fields corresponding to the modeling elements to be processed based on the modeling operation information, this module: Based on the modeling type corresponding to the modeling operation information, it determines the target field retrieval rule corresponding to the modeling type from preset field retrieval rules. The modeling type includes one or more of the following: part feature modeling, assembly operation modeling, measurement operation modeling, and tolerance feature modeling. Based on the target field retrieval rule, the modeling operation information is parsed to determine the feature type and named fields corresponding to the modeling elements to be processed.
[0117] One possible implementation involves, when the modeling type is determined to be part feature modeling, a module is used to parse the modeling operation information based on the target field acquisition rules. Specifically, this module determines the feature type and naming fields corresponding to the modeling element to be processed, based on the feature point category selected by the user in the modeling operation information. The feature type includes datum points, assembly points, or measurement points. If the feature type is determined to be a datum point, the module obtains the datum point's sequence number, positioning datum, feature geometric attributes, and control direction. If the feature type is determined to be an assembly point, the module obtains the assembly point's sequence number, positioning datum, feature geometric attributes, and control direction. If the feature type is determined to be a measurement point, the module obtains the measurement point's measurement number, gap information or surface difference information, control direction, and measurement coordinates.
[0118] One possible implementation involves, when the modeling type is determined to be assembly operation modeling, a module is used to parse the modeling operation information based on the target field acquisition rules. Specifically, this module is used to: extract the assembly sequence number and the sequence number increment identifier from the modeling operation information; and, based on the sequence number increment identifier, determine whether to increment the assembly sequence number. If so, use the incremented assembly sequence number as the named field corresponding to the modeling element to be processed. If not, use the assembly sequence number as the named field corresponding to the modeling element to be processed.
[0119] One possible implementation involves determining a module, when the modeling type is determined to be measurement operation modeling, to parse the modeling operation information based on the target field acquisition rules and determine the feature type and naming field corresponding to the modeling feature to be processed. Specifically, this module is used to extract one or more of the following from the modeling operation information: measurement number, gap identifier, surface difference identifier, gap sequence number, surface difference sequence number, control direction, and measurement coordinates.
[0120] One possible implementation involves, when the modeling type is determined to be tolerance feature modeling, a module is used to parse the modeling operation information based on the target field acquisition rules. Specifically, this module is used to: extract the tolerance type, associated feature point type, and tolerance control direction from the modeling operation information; determine the field acquisition range corresponding to the tolerance feature based on the tolerance type; and within the field acquisition range, use the tolerance type, associated feature point type, and tolerance control direction as the named fields corresponding to the tolerance feature.
[0121] In one possible implementation, the naming processing device based on 3D tolerance analysis modeling provided in this application embodiment is further configured to: determine the batch processing type corresponding to the batch processing operation in response to a batch processing operation for multiple named modeling elements; determine the target modeling element that meets the processing conditions from the multiple named modeling elements according to the batch processing type; perform field parsing on the current element name of the target modeling element to obtain the current name field corresponding to the target modeling element; adjust the element type field and / or part name field in the current name field according to the batch processing type to obtain the updated name field; generate the updated target element name according to the updated name field, and write the updated target element name into the corresponding name editing area in the 3D tolerance analysis software.
[0122] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.
[0123] The naming processing device 1200 based on three-dimensional tolerance analysis modeling provided in this application embodiment is used to perform the above-mentioned... Figure 4 The naming method shown is based on three-dimensional tolerance analysis modeling, and therefore can achieve the same effect as the naming method based on three-dimensional tolerance analysis modeling described above.
[0124] This application embodiment also provides a naming processing device based on three-dimensional tolerance analysis modeling, which can execute the naming processing method and related steps based on three-dimensional tolerance analysis modeling in the above method embodiment.
[0125] This application also provides a computer-readable storage medium storing instructions thereon, which, when executed, perform the naming processing method and related steps based on three-dimensional tolerance analysis modeling in the above method embodiments.
[0126] This application also provides a computer program product that, when run on a computer, causes the computer to execute the naming processing method and related steps based on three-dimensional tolerance analysis modeling in the above method embodiments.
[0127] In some embodiments, the methods shown in this application can be implemented as computer program instructions encoded in a machine-readable format on a computer-readable storage medium or on other non-transitory media or articles of art.
[0128] This application also provides a naming processing system 300 based on three-dimensional tolerance analysis modeling, such as... Figure 13 As shown, the naming processing system 300 based on three-dimensional tolerance analysis modeling includes at least one processor 1301 and at least one interface circuit 1302.
[0129] As an example, when the naming processing system 300 based on 3D tolerance analysis modeling includes a processor and an interface circuit, then the processor can be... Figure 13 The processor 1301 shown in the solid box (or the processor 1301 shown in the dashed box) can be an interface circuit. Figure 13 The interface circuit 1302 is shown in the solid box (or the dashed box). When the naming processing system 300 based on three-dimensional tolerance analysis modeling includes two processors and two interface circuits, then the two processors include... Figure 13 The processor 1301 shown in the solid box and the processor 1301 shown in the dashed box, these two interface circuits include Figure 13 Interface circuit 1302 is shown in both solid and dashed boxes. No limitations are imposed on this.
[0130] Processor 1301 and interface circuit 1302 can be interconnected via a line. For example, interface circuit 1302 can be used to receive signals. Alternatively, interface circuit 1302 can be used to send signals to other devices (e.g., processor 1301). For instance, interface circuit 1302 can read computer instructions stored in memory and send those instructions to processor 1301. Processor 1301 executes the instructions and, in conjunction with input / output devices, implements the various steps in the above embodiments, such as implementing... Figures 4-10 The methods illustrated are the steps performed in the embodiments shown. Of course, this naming processing system based on three-dimensional tolerance analysis modeling may also include other discrete components, and this application embodiment does not specifically limit this.
[0131] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0132] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0133] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0134] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0135] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to it, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0136] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A naming processing method based on three-dimensional tolerance analysis modeling, characterized in that, The method includes: Obtain the part association information and modeling operation information corresponding to the modeling elements to be processed; Based on the modeling operation information, determine the feature type and naming field corresponding to the modeling feature to be processed; Based on the part association information, the element type, and the naming field, the target element name corresponding to the modeling element to be processed is generated according to the preset three-dimensional tolerance analysis modeling naming rules. Write the name of the target element into the name editing area corresponding to the modeling element to be processed in the 3D tolerance analysis software to complete the feature definition and naming of the modeling element to be processed.
2. The method according to claim 1, characterized in that, The process of obtaining the part association information and modeling operation information corresponding to the modeling elements to be processed includes: The method for obtaining target part information is determined in response to the user's part selection method. If the acquisition method is determined to be a graphic selection method, the part number corresponding to the selected graphic in the 3D design software is read, and the part number is converted into the corresponding component name based on the preset part information database. If the acquisition method is determined to be a structure tree selection method, the component instance name corresponding to the selected node in the structure tree of the 3D design software is read. If the acquisition method is determined to be a structure tree reading method, multiple part names in the structure tree of the 3D design software are read, and the part association information is determined based on the selected part name; In response to the user's selection of modeling functions, the modeling type corresponding to the modeling operation information is determined.
3. The method according to claim 1, characterized in that, The step of determining the feature type and naming field corresponding to the modeling feature to be processed based on the modeling operation information includes: Based on the modeling type corresponding to the modeling operation information, a target field acquisition rule corresponding to the modeling type is determined from the preset field acquisition rules; the modeling type includes one or more of the following: part feature modeling, assembly operation modeling, measurement operation modeling, and tolerance feature modeling; Based on the target field acquisition rules, the modeling operation information is parsed to determine the feature type and naming field corresponding to the modeling feature to be processed.
4. The method according to claim 3, characterized in that, When the modeling type is determined to be part feature modeling, the modeling operation information is parsed based on the target field acquisition rules to determine the feature type and naming field corresponding to the modeling feature to be processed, including: Based on the feature point category selected by the user in the modeling operation information, the feature type corresponding to the modeling element to be processed is determined. The feature type includes a reference point, an assembly point, or a measurement point. If the feature type is determined to be the reference point, the reference point's serial number, positioning reference, feature geometric attributes, and control direction are obtained. If the element type is determined to be the assembly point, the assembly point's serial number, positioning reference, feature geometric attributes, and control direction are obtained. If the element type is determined to be a measurement point, the measurement number, gap information or surface difference information, control direction, and measurement coordinates of the measurement point are obtained.
5. The method according to claim 3, characterized in that, When the modeling type is determined to be assembly operation modeling, the step of parsing the modeling operation information based on the target field acquisition rules to determine the element type and naming field corresponding to the modeling element to be processed includes: The assembly sequence number and the sequence number increment identifier are extracted from the modeling operation information; Based on the serial number increment identifier, determine whether to increment the assembly serial number; If so, the assembly sequence number after incrementing is used as the naming field corresponding to the modeling element to be processed; If not, use the assembly sequence number as the naming field corresponding to the modeling element to be processed.
6. The method according to claim 3, characterized in that, When the modeling type is determined to be measurement operation modeling, the step of parsing the modeling operation information based on the target field acquisition rules to determine the feature type and naming field corresponding to the modeling feature to be processed includes: Extract one or more of the following from the modeling operation information: measurement number, gap identifier, surface difference identifier, gap sequence number, surface difference sequence number, control direction, and measurement coordinates.
7. The method according to claim 3, characterized in that, When the modeling type is determined to be tolerance feature modeling, the step of parsing the modeling operation information based on the target field acquisition rules to determine the feature type and naming field corresponding to the modeling feature to be processed includes: The tolerance type, associated feature point type, and tolerance control direction are extracted from the modeling operation information. Based on the tolerance type, determine the range of fields to be retrieved for the tolerance feature; Within the scope of the field acquisition, the tolerance type, the associated feature point type, and the tolerance control direction are used as the naming fields corresponding to the tolerance element.
8. The method according to claim 1, characterized in that, The method further includes: In response to a batch processing operation targeting multiple named modeling features, determine the batch processing type corresponding to the batch processing operation; Based on the batch processing type, determine the target modeling element that meets the processing conditions from the plurality of named modeling elements; The current feature name of the target modeling feature is parsed to obtain the current name field corresponding to the target modeling feature; Based on the batch processing type, the element type field and / or part name field in the current name field are adjusted to obtain the updated name field; The updated target feature name is generated based on the updated name field, and the updated target feature name is written into the corresponding name editing area in the 3D tolerance analysis software.
9. A naming processing device based on three-dimensional tolerance analysis modeling, characterized in that, The device includes: The acquisition module is used to acquire part association information and modeling operation information corresponding to the modeling elements to be processed. The determination module is used to determine the feature type and naming field corresponding to the modeling feature to be processed based on the modeling operation information. The generation module is used to generate the target element name corresponding to the modeling element to be processed according to the part association information, the element type and the naming field, and in accordance with the preset three-dimensional tolerance analysis modeling naming rules. The writing module is used to write the name of the target feature into the name editing area corresponding to the modeling feature to be processed in the 3D tolerance analysis software, so as to complete the feature definition and naming of the modeling feature to be processed.
10. A naming processing device based on three-dimensional tolerance analysis modeling, characterized in that, The naming processing device based on three-dimensional tolerance analysis modeling includes a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the naming processing method based on three-dimensional tolerance analysis modeling as described in any one of claims 1 to 8.