Method for batch assembly of bolts by secondary development of three-dimensional software
By using the API of 3D software secondary development, the batch assembly of bolts is automated, which solves the problem of bolt assembly relying on manual operation in CATIA, improves assembly efficiency and accuracy, and reduces labor costs.
Patent Information
- Application Number
- CN202211393766.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-08
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-11-08
AI Technical Summary
In existing technologies, bolt assembly in the 3D design software CATIA relies on manual operation, resulting in high repetition, high labor costs, difficulty in guaranteeing accuracy, and long processing time.
By using the API of 3D software secondary development, based on the user-input mounting surface, bolt type and assembly part information, the system can automatically match and insert bolts for batch assembly, reducing repetitive operations and improving accuracy.
It enables rapid assembly of 3D digital models, saves labor costs, improves production efficiency, avoids human error, and enhances design and production quality.
Smart Images

Figure CN115795713B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of equipment assembly technology, and more specifically to a method for batch assembly of bolts using secondary development of 3D software. Background Technology
[0002] Currently, Dassault Systèmes' 3D design software CATIA is widely used in tooling design for automotive equipment integrators and surface design for automobiles and aircraft, becoming a mainstream 3D design software. With the increasing market demand, more and more designers are using CATIA for 3D design. Therefore, advanced and efficient design methods are one of the key elements for improving production efficiency and quality. Designers typically spend a significant amount of time assembling screws, pins, etc., for equipment during the design process to make the 3D model more closely resemble the actual equipment, meeting the accuracy requirements of subsequent simulations and customer standards. Taking this design field as an example, a fixture device typically has about 30 units, and each unit has about 20 bolts. Depending on the project size, an average project has about 50 sets of equipment. Using a method of assembling individual fasteners results in a huge workload and high repetition, consuming a large amount of manpower and indirectly increasing project production costs.
[0003] Current bolt assembly methods primarily rely on manual labor. Designers open the digital model file in CATIA, insert bolts using the built-in insert command, and then repeatedly adjust the bolts to the specified positions using CATIA's snap or constraint commands. This process is repeated for each bolt insertion. The workload is enormous, consuming significant manpower. Furthermore, the accuracy of manual operation is greatly affected by the size of the data and the degree of fatigue, making it difficult to guarantee accuracy. Summary of the Invention
[0004] The purpose of this invention is to provide a method for batch assembly of bolts using secondary development of 3D software, which can effectively achieve rapid assembly of 3D digital models.
[0005] To achieve the above objectives, embodiments of the present invention provide a method for batch assembly of bolts using secondary development of three-dimensional software, comprising:
[0006] Obtain the assembly parts to be assembled, bolt types, and mounting surfaces that contact the bolt caps, as input by the user.
[0007] Get a detailed list of bolts and pins from the inventory;
[0008] Obtain a list of hole data for assembled parts by using geometric topological relationships;
[0009] Obtain the mounting hole locations on the mounting surface input by the user;
[0010] determine the correspondence between the mounting hole point and the assembly part;
[0011] According to the correspondence and the maximum distance between the mounting hole point and the part hole of the assembly part, select and insert a bolt to complete the assembly bolt operation.
[0012] Optionally, the user input assembly part to be assembled, the bolt type, and the mounting surface in contact with the bolt head are obtained, specifically including:
[0013] According to the bolt type, obtain the corresponding bolt library address;
[0014] Read the bolt number list, bolt nominal diameter list, and bolt length list from the last section of the bolt library address.
[0015] Optionally, the detailed information list of the bolt and pin library is obtained, specifically including:
[0016] Obtain the directory of the dll file of the three-dimensional software;
[0017] Obtain the project configuration folder in the dll file directory;
[0018] According to the project number, obtain the project path in the project configuration folder;
[0019] Obtain the bolt library address save file in the project path;
[0020] Read the bolt and pin library detailed information list from the bolt library address save file.
[0021] Optionally, the hole data list of the assembly part is obtained through geometric topological relationship, specifically including:
[0022] Obtain the topological entity list of the assembly part;
[0023] Iterate through each part in the topological entity list, and obtain the corresponding two-dimensional CATFace list;
[0024] Iterate through each two-dimensional CATFace in the two-dimensional CATFace list, and determine whether the two-dimensional CATFace is an inner cylindrical surface;
[0025] In the case where the two-dimensional CATFace is an inner cylindrical surface, obtain the center and axial direction of the upper and lower circular arcs of the inner cylindrical surface to obtain the hole data list.
[0026] Optionally, the mounting hole point is obtained on the user input mounting surface, specifically including:
[0027] Obtaining the center and diameter of each mounting hole point on the mounting surface to form a center list and a diameter list.
[0028] Optionally, the correspondence between the mounting hole point and the assembly part is determined, and specifically includes:
[0029] Obtaining the parent node of the part where the mounting hole point is located, and taking the parent node as the parent node of the inserted bolt;
[0030] Obtaining the position of the part where the mounting hole point is located in the global environment and the corresponding inverse matrix;
[0031] Obtaining the position of the assembly part in the global environment;
[0032] Converting the position of the part hole of the assembly part to the coordinate system of the part where the mounting hole point is located;
[0033] Iterating the hole data list of the assembly part to determine whether the axial distance between the part hole and the mounting hole point is less than or equal to a first preset value;
[0034] In the case where the axial distance between the part hole and the mounting hole point is less than or equal to the first preset value, it is determined whether the included angle of the axial direction of the upper or lower circular arc of the mounting hole point and the part hole is less than a second preset value;
[0035] In the case where the included angle of the axial direction of the upper or lower circular arc of the mounting hole point and the part hole is less than the second preset value, the mounting hole point and the part hole are matched.
[0036] Optionally, the mounting hole point and the part hole are matched, and specifically includes:
[0037] In the case where the same part hole is matched to multiple mounting hole points, the mounting hole point with the smallest axial distance is selected to be matched with the part hole;
[0038] In the case where the mounting hole point and the part hole are matched, the diameter of the part hole is obtained;
[0039] Iterating the detailed information list of the bolt and pin library to determine whether the difference between the diameter of the part hole and the diameter of the pin is less than or equal to a third preset value;
[0040] In the case where the difference between the diameter of the part hole and the diameter of the pin is less than or equal to the third preset value, the part hole is determined to be a pin hole;
[0041] In the case where the difference between the diameter of the part hole and the diameter of the pin is greater than the third preset value, the part hole is determined to be a threaded hole.
[0042] Optionally, the bolt is selected and inserted according to the correspondence and the maximum distance between the mounting hole point and the part hole of the assembly part, and specifically includes:
[0043] According to the diameter of the threaded hole, the corresponding bolt diameter is searched in the detailed information list, and a bolt set corresponding to the bolt diameter is obtained;
[0044] The maximum distance between the mounting hole point and the part hole is determined.
[0045] According to the maximum distance, the corresponding bolt is searched in the bolt set.
[0046] Optionally, the maximum distance between the mounting hole point and the part hole is determined, and specifically includes:
[0047] The maximum distance is calculated according to formula (1),
[0048] The maximum distance = part hole length + mounting hole point length + shortest distance between part hole and mounting hole point, (1).
[0049] Optionally, the bolt is selected and inserted according to the correspondence and the maximum distance between the mounting hole point and the part hole of the assembly part, and specifically includes:
[0050] A plane is created with the mounting point as the origin and the axial direction of the matching mounting point and part hole as the normal line;
[0051] A mathematical coordinate system of the mounting surface is established on the created plane;
[0052] The standard axis coordinate system and the mathematical axis coordinate system of the bolt are obtained;
[0053] The mathematical axis coordinate system of the bolt and the mathematical axis coordinate system of the mounting surface are converted;
[0054] According to the result of the conversion operation, the position of the bolt in the global environment is obtained and set;
[0055] According to the position, the bolt is inserted into the mounting hole point and the part hole.
[0056] Through the above technical solution, the three-dimensional software secondary development batch assembly bolt method provided by the application realizes the purpose of one-time assembly of all bolts through the secondary development API of three-dimensional software based on the information comparison and matching of the mounting surface, bolt type and assembly part selected by the user, reduces repeated operation, ensures the accuracy of the inspection result, greatly saves the labor cost, indirectly improves the production efficiency, avoids human errors, and improves the quality of design and production.
[0057] Other features and advantages of the present embodiments will be illustrated in detail in the following specific embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0058] The accompanying drawings are included to provide a further understanding of the present embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the present embodiments and serve to explain the present embodiments, but do not limit the present embodiments. In the drawings:
[0059] Figure 1 is a flow chart of a method for batch assembly of bolts by secondary development of three-dimensional software according to an embodiment of the present application;
[0060] Figure 2 is an example diagram of an interactive interface according to an embodiment of the present application;
[0061] Figure 3 is an example diagram of a bolt number list, a bolt nominal diameter list, and a bolt length list according to an embodiment of the present application;
[0062] Figure 4 is a flow chart of a method for obtaining a detailed information list of bolt and pin libraries according to an embodiment of the present application;
[0063] Figure 5 is a flow chart of a method for obtaining a hole data list of assembly parts by geometric topological relationship according to an embodiment of the present application;
[0064] Figure 6 is a flow chart of a method for determining a correspondence relationship between mounting hole points and assembly parts according to an embodiment of the present application;
[0065] Figure 7 is a flow chart of a method for selecting and inserting bolts according to the correspondence relationship and a maximum distance between part holes of the mounting hole points and the assembly parts according to an embodiment of the present application;
[0066] Figure 8 is a flow chart of an operation method for mounting bolts according to an embodiment of the present application. DETAILED DESCRIPTION
[0067] The specific embodiments of the present embodiments will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely intended to illustrate and explain the present embodiments, and do not limit the present embodiments.
[0068] As Figure 1 is a flow chart of a method for batch assembly of bolts by secondary development of three-dimensional software according to an embodiment of the present application. In this Figure 1 , the method can include:
[0069] In step S10, the assembly part to be assembled, the bolt type, and the mounting surface in contact with the cap of the bolt input by the user are acquired;
[0070] In step S11, a detailed information list of the bolt and pin library is acquired;
[0071] In step S12, a hole data list of the assembly part is acquired through geometric topological relationship;
[0072] In step S13, the mounting hole point is acquired on the mounting surface input by the user;
[0073] In step S14, the correspondence between the mounting hole point and the assembly part is determined;
[0074] In step S15, the bolt is selected and inserted according to the correspondence and the maximum distance between the mounting hole point and the part hole of the assembly part, so as to complete the assembly bolt operation.
[0075] In this embodiment, the bolt is used to insert the part where the mounting surface is located from the mounting surface, and pass through the part hole on the assembly part, so as to fix the part where the mounting surface is located and the assembly part.
[0076] In this Figure 1 , step S10 can be used to acquire the assembly part, the bolt type, and the mounting surface input by the user. This step S10 can be to first create an interactive interface (for example Figure 2 ) to guide the user to input the above information, and after the above information is input, the input information can be input to the background to obtain the file of the input information in the system. Specifically, the program main function OKAction() can be executed, the corresponding bolt library address is acquired according to the bolt type; the bolt number list_listBoltPartNum, the bolt nominal diameter list_listBoltDiameter, and the bolt length list_listBoltLength are read from the last section of the bolt library address. The example of the obtained list is shown in Figure 3 .
[0077] Step S11 is used to acquire the detailed information list of the bolt and pin library. Specifically, this step S11 can include the method shown in Figure 4 . In this Figure 4 , this step S11 can include:
[0078] In step S20, the directory where the dll file of the three-dimensional software is located is acquired.
[0079] In step S21, the project configuration folder is obtained from the directory where the dll file is located, i.e.: configuration folder path = dll directory + "bin\\JEEProjectsConfig".
[0080] In step S22, the project path is obtained from the project configuration folder based on the project number.
[0081] In step S23, the bolt library address is saved in the project path, that is: library address save file path = project path + "\\3D\\Fastenner".
[0082] In step S24, the detailed list of bolt and pin library information is read from the bolt library address storage file, that is: read the bolt library information list _vecBoltInfo(bolt type + corresponding bolt library address) from Fastenner.txt.
[0083] Step S12 is used to obtain a list of hole data for the assembled parts through geometric topological relationships, that is, to determine which part holes on the assembled parts may be assembled, and to summarize them into a hole data list. The method for determining the part holes can be as follows: Figure 5 The steps shown are described in this. Figure 5 In this context, the method may include:
[0084] In step S30, a list of topological entities of the assembly parts is obtained;
[0085] In step S31, each part in the topology entity list is traversed to obtain the corresponding two-dimensional CATFace list;
[0086] In step S32, each two-dimensional CATFace in the two-dimensional CATFace list is traversed to determine whether the two-dimensional CATFace is an inner cylindrical surface;
[0087] In step S33, if the two-dimensional CATFace is determined to be an inner cylindrical surface, the center and axis of the upper and lower arcs of the inner cylindrical surface are obtained to obtain a list of hole data.
[0088] In addition, if the central angle of the upper or lower arc is less than 90 degrees, it means that the arc is not a hole in the part, so no calculation is required.
[0089] Step S13 is used to obtain the mounting hole locations on the mounting surface input by the user. Specifically, step S13 may involve obtaining the center and diameter of the circle containing each mounting hole location on the mounting surface to form a list of center points and a list of diameters.
[0090] Step S14 can be used to determine the correspondence between the mounting hole locations and the assembled parts. Specifically, step S14 may include, for example:Figure 6 The step S14 can include: Figure 6 The step S14 can include:
[0091] In step S40, the parent node of the part where the mounting hole point is located is acquired, and the parent node is taken as the parent node of the inserted bolt;
[0092] In step S41, the position of the part where the mounting hole point is located in the global environment and the corresponding inverse matrix are acquired;
[0093] In step S42, the position of the assembled part in the global environment is acquired;
[0094] In step S43, the position of the part hole of the assembled part is converted into the coordinate system of the part where the mounting hole point is located. The conversion matrix = mounting surface position inverse matrix * assembled part position matrix, and the converted coordinate = the coordinate before conversion * the conversion matrix.
[0095] In step S44, the hole data list of the assembled part is traversed, and it is judged whether the axial distance between the part hole and the mounting hole point is less than or equal to a first preset value. The first preset value can be preferably 0.01;
[0096] In step S45, in the case where the axial distance between the part hole and the mounting hole point is less than or equal to the first preset value, it is judged whether the axial angle of the upper circular arc or the lower circular arc of the mounting hole point and the part hole is less than a second preset value. The second preset value can be 5°;
[0097] In step S46, in the case where the axial angle of the upper circular arc or the lower circular arc of the mounting hole point and the part hole is less than the second preset value, the mounting hole point and the part hole are matched.
[0098] In addition, in this embodiment, considering that after the method shown in Figure 6 may exist the case that the same part hole is matched to multiple mounting hole points. Then in the case where the same part hole is matched to multiple mounting hole points, the mounting hole point with the minimum axial distance can be selected to be matched with the part hole. In addition, in order to facilitate the distinction between the threaded hole and the pin hole, the diameter of the part hole can be acquired in the case where the mounting hole point and the part hole are matched; then the detailed information list of the bolt and the pin is traversed, and it is judged whether the difference between the diameter of the part hole and the diameter of the pin is less than or equal to a third preset value. The third preset value can be 0.001. In the case where the difference between the diameter of the part hole and the diameter of the pin is less than or equal to the third preset value, the part hole is determined to be a pin hole; otherwise, it can be determined to be a threaded hole.
[0099] Step S15 is used to select and insert a bolt according to the correspondence relationship and the maximum distance between the mounting hole point and the part hole of the assembly part, so as to complete the assembly bolt operation. Specifically, the step S15 can include the method as shown in Figure 7 In the method, the step S15 can include: Figure 7
[0100] In step S50, the corresponding bolt diameter is found in the detailed information list according to the diameter of the threaded hole, and a bolt set corresponding to the bolt diameter is obtained;
[0101] In step S51, the maximum distance between the mounting hole point and the part hole is determined; the maximum distance is calculated according to formula (1),
[0102] The maximum distance = the length of the part hole + the length of the mounting hole point + the shortest distance between the part hole and the mounting hole point, (1).
[0103] In step S52, the corresponding bolt is found in the bolt set according to the maximum distance.
[0104] For the operation of installing the bolt in the step S15, the steps can be as shown in Figure 8 In the method, the step S15 can include: Figure 8
[0105] In step S60, a plane is created with the mounting point as the origin and the axial direction of the matching mounting point and part hole as the normal line;
[0106] In step S61, a mathematical coordinate system StdMathAxis of the mounting surface is established on the created plane;
[0107] In step S62, a standard axis coordinate system spStdAxisSystem of the bolt and a mathematical axis coordinate system STDMathAxis are obtained;
[0108] In step S63, a conversion operation is performed on the mathematical axis coordinate system of the bolt and the mathematical axis coordinate system of the mounting surface, i.e. StdAxisSysTrans = CATMathTransformation(STDMathAxis, CATMathOIJK) = CATMathTransformation(CATMathOIJK, StdMathAxis);
[0109] In step S64, the position of the bolt in the global environment is obtained and set according to the result of the conversion operation, that is, AbsStdPos = SurPartTrans * LocalStdMathTrans * StdAxisSysTrans (SurPartTrans is the position of the part on which the mounting surface is located in the global environment)
[0110] In step S65, the bolt is inserted into the mounting hole point and the part hole according to the position. After the conversion of the coordinate system is completed, the directions of the mounting hole point, the bolt and the part hole are completely aligned at this time, so that the bolt can be directly inserted into the mounting hole point and the part hole according to the positional relationship in step S65.
[0111] Through the technical scheme, the method for batch assembling bolts by secondary development of three-dimensional software provided by the application realizes the purpose of assembling all bolts at one time by secondary development API of three-dimensional software, information comparison and matching based on the mounting surface, bolt type and assembly part selected by the user, reduces repeated operation, guarantees the accuracy of the inspection result, greatly saves the labor cost, indirectly improves the production efficiency, avoids human errors, and improves the quality of design and production.
[0112] Those skilled in the art will understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0113] The present application is described with reference to flowcharts and / or block diagrams according to the methods, devices (systems), and computer program products of the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 The functions specified in one flow or multiple flows and / or blocks Figure 1 The functions specified in one flow or multiple flows and / or blocks
[0114] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the Figure 1 function specified in the flow or flows and / or blocks Figure 1 of the block or blocks.
[0115] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions that are executed on the computer or other programmable apparatus provide steps for implementing the Figure 1 function specified in the flow or flows and / or blocks Figure 1 of the block or blocks.
[0116] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0117] The memory can include non-persistent memory and / or volatile memory, such as a random access memory (RAM) including a cache area for the temporary storage of data. The memory can also include non-volatile memory, such as read only memory (ROM), electrically programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), flash memory, or a combination of non-volatile memories in different forms. The memory is an example of computer readable storage media.
[0118] Computer readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), electrically programmable read only memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer readable media does not include transitory media, such as modulated data signals and carrier waves.
[0119] It should also be noted that the terms "comprising", "comprises" or other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus.
[0120] The above embodiments are only used to illustrate the present application, but not to limit it. Instead of the above, various modifications and changes can be made to the application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the application shall fall into the scope of the claims of the application.
Claims
1. A method for three-dimensional software secondary development batch assembly bolt, characterized in that, The method comprises: Obtaining the assembly parts to be assembled, the bolt type and the mounting surface in contact with the bolt cap input by the user; Obtaining the detailed information list of the bolt and pin library; Obtaining the hole data list of the assembly part through geometric topological relationship; Obtaining the mounting hole point on the mounting surface input by the user; Determining the correspondence between the mounting hole point and the assembly part; According to the correspondence and the maximum distance between the mounting hole point and the part hole of the assembly part, selecting and inserting the bolt to complete the assembly bolt operation; According to the correspondence and the maximum distance between the mounting hole point and the part hole of the assembly part, selecting and inserting the bolt, specifically comprising: According to the diameter of the threaded hole, searching for the corresponding bolt diameter in the detailed information list, and obtaining the bolt set corresponding to the bolt diameter; Determining the maximum distance between the mounting hole point and the part hole; According to the maximum distance, searching for the corresponding bolt in the bolt set; Determining the maximum distance between the mounting hole point and the part hole, specifically comprising: According to formula (1), calculating the maximum distance, Maximum distance = part hole length + mounting hole point length + shortest distance between part hole and mounting hole point, (1).
2. The method of claim 1, wherein, Obtaining the assembly parts to be assembled, the bolt type and the mounting surface in contact with the bolt cap input by the user, specifically comprising: According to the bolt type, obtaining the corresponding bolt library address; Reading the bolt number list, bolt nominal diameter list and bolt length list from the last section of the bolt library address.
3. The method of claim 1, wherein, Obtaining the detailed information list of the bolt and pin library, specifically comprising: Obtaining the directory of the dll file of the three-dimensional software; Obtaining the project configuration folder in the directory of the dll file; According to the project number, obtaining the project path in the project configuration folder; Obtaining the bolt library address saving file in the project path; Reading the bolt and pin library detailed information list from the bolt library address saving file.
4. The method of claim 1, wherein, Obtaining the hole data list of the assembly part through geometric topological relationship, specifically comprising: Obtaining the topological entity list of the assembly part; Traversing each part in the topological entity list, obtaining the corresponding two-dimensional CATFace list; Traversing each two-dimensional CATFace in the two-dimensional CATFace list, judging whether the two-dimensional CATFace is an inner cylindrical surface; In the case that the two-dimensional CATFace is an inner cylindrical surface, obtaining the center and axial direction of the upper and lower circular arcs of the inner cylindrical surface to obtain the hole data list.
5. The method of claim 1, wherein, Obtaining the mounting hole point on the mounting surface input by the user, specifically comprising: Obtaining the center and diameter of each mounting hole point on the mounting surface to form a center list and a diameter list.
6. The method of claim 1, wherein, Determining the correspondence between the mounting hole point and the assembly part, specifically comprising: Obtaining the parent node of the part where the mounting hole point is located, and taking the parent node as the parent node of the inserted bolt; Obtaining the position and corresponding inverse matrix of the part where the mounting hole point is located in the global environment; Obtaining the position of the assembly part in the global environment; Convert the position of the part hole of the assembly part to the coordinate system of the part where the mounting hole point is located; Traverse the hole data list of the assembly part, and determine whether the axial distance between the part hole and the mounting hole point is less than or equal to a first preset value; If the axial distance between the part hole and the mounting hole point is less than or equal to the first preset value, determine whether the axial angle of the upper or lower circular arc of the mounting hole point and the part hole is less than a second preset value; If the axial angle of the upper or lower circular arc of the mounting hole point and the part hole is less than the second preset value, match the mounting hole point and the part hole.
7. The method of claim 6, wherein, Matching the mounting hole point and the part hole specifically includes: In the case of matching one part hole to multiple mounting hole points, select the mounting hole point with the smallest axial distance and match it with the part hole; In the case of matching the mounting hole point and the part hole, obtain the diameter of the part hole; Traverse the detailed information list of the bolt and pin library, and determine whether the difference between the diameter of the part hole and the diameter of the pin is less than or equal to a third preset value; If the difference between the diameter of the part hole and the diameter of the pin is less than or equal to the third preset value, determine that the part hole is a pin hole; If the difference between the diameter of the part hole and the diameter of the pin is greater than the third preset value, determine that the part hole is a threaded hole.
8. The method of claim 1, wherein, According to the corresponding relationship and the maximum distance between the mounting hole point and the part hole of the assembly part, select and insert a bolt, specifically including: Take the mounting point as the origin, and create a plane with the axial direction of the matching mounting point and part hole as the normal; Establish a mathematical coordinate system of the mounting surface on the created plane; Obtain the standard axial coordinate system and mathematical axial coordinate system of the bolt; Convert the mathematical axial coordinate system of the bolt and the mathematical coordinate system of the mounting surface; According to the result of the conversion operation, obtain and set the position of the bolt in the global environment; According to the position, insert the bolt into the mounting hole point and the part hole.
Citation Information
Patent Citations
Processing feature recognition and information extraction method for MBD model
CN110795797A
Three-dimensional data model rapid assembly method, system and device and storage medium
CN111339612A