CN115795713A - Method for assembling bolts in batches through secondary development of three-dimensional software - Google Patents

Method for assembling bolts in batches through secondary development of three-dimensional software Download PDF

Info

Publication number
CN115795713A
CN115795713A CN202211393766.1A CN202211393766A CN115795713A CN 115795713 A CN115795713 A CN 115795713A CN 202211393766 A CN202211393766 A CN 202211393766A CN 115795713 A CN115795713 A CN 115795713A
Authority
CN
China
Prior art keywords
bolt
hole
acquiring
mounting hole
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211393766.1A
Other languages
Chinese (zh)
Inventor
任玉峰
陈青青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Juyi Technology Co Ltd
Original Assignee
Anhui Juyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Juyi Technology Co Ltd filed Critical Anhui Juyi Technology Co Ltd
Priority to CN202211393766.1A priority Critical patent/CN115795713A/en
Publication of CN115795713A publication Critical patent/CN115795713A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a method for assembling bolts in batches through secondary development of three-dimensional software, and belongs to the technical field of equipment assembly. The method comprises the following steps: acquiring an assembly part to be assembled, a bolt type and an installation surface contacted with a bolt cap of a bolt, which are input by a user; acquiring a detailed information list of a bolt and a pin library; acquiring a hole data list of the assembled parts through a geometric topological relation; acquiring installation Kong Dianwei on an installation surface input by a user; determining the corresponding relation between the point position of the mounting hole and the assembly part; and selecting and inserting a bolt according to the corresponding relation and the maximum distance between the point position of the mounting hole and the part hole of the assembly part so as to finish the operation of assembling the bolt. The method realizes the purpose of assembling all the bolts at one time, reduces repeated operation, greatly saves labor cost while ensuring the accuracy of the inspection result, indirectly improves the production efficiency, avoids errors caused by human factors, and improves the quality of design and production.

Description

Method for assembling bolts in batches through secondary development of three-dimensional software
Technical Field
The invention relates to the technical field of equipment assembly, in particular to a method for assembling bolts in batches through secondary development of three-dimensional software.
Background
At present, three-dimensional design software CATIA under Dasuo flag is widely applied to tool design of automobile equipment integrators, curved surface design of automobiles and airplanes and the like, becomes mainstream three-dimensional design software, and more designers use CATIA to carry out three-dimensional design along with the increasing expansion of market demands. Therefore, an advanced and efficient design means is one of the key elements for improving the production efficiency and the production quality, and usually, a designer needs to spend a lot of time in the design process to assemble screws, pins and the like for equipment, so that the three-dimensional digital model is closer to the state of real equipment, and the accuracy of subsequent simulation and the requirement standard of a client are met. According to the design field, for example, one fixture device is approximately 30 units, one unit is approximately 20 bolts, and for the average project is approximately 50 devices according to the project size, the method for assembling by using a single fastener has the disadvantages of huge assembling workload, extremely high repeatability, consumption of a large amount of labor cost and indirect increase of the project production cost.
The existing bolt assembly method mainly depends on manual work, after a designer opens a digital-analog file by using the CATIA, the designer inserts the bolt by using an insertion command carried by the CATIA, and then adjusts the bolt to a specified position for multiple times by using a capture or constraint command carried by the CATIA, wherein the operation is repeated when each bolt is inserted. The operation amount is huge, the labor cost is consumed, meanwhile, the influence of the data size and the fatigue degree on the manual operation accuracy rate is particularly large, and the accuracy rate is difficult to guarantee.
Disclosure of Invention
The embodiment of the invention aims to provide a method for assembling bolts in batches through secondary development of three-dimensional software, which can effectively realize quick assembly of three-dimensional digifax.
In order to achieve the above object, an embodiment of the present invention provides a method for assembling bolts in batches through secondary development of three-dimensional software, including:
acquiring an assembly part to be assembled, a bolt type and an installation surface contacted with a bolt cap of a bolt, which are input by a user;
acquiring a detailed information list of a bolt and a pin library;
acquiring a hole data list of the assembled parts through a geometric topological relation;
obtaining a mounting Kong Dianwei on a mounting surface input by a user;
determining the corresponding relation between the point position of the mounting hole and the assembly part;
and selecting and inserting a bolt according to the corresponding relation and the maximum distance between the point position of the mounting hole and the part hole of the assembly part so as to finish the operation of assembling the bolt.
Optionally, the acquiring the assembling part to be assembled, the type of the bolt and the mounting surface in contact with the cap of the bolt, which are input by the user, specifically includes:
acquiring a corresponding bolt library address according to the bolt type;
and reading a bolt number list, a bolt nominal diameter list and a bolt length list from the last section of the bolt library address.
Optionally, the obtaining of the detailed information list of the bolt and the pin library specifically includes:
acquiring a directory where a dll file of the three-dimensional software is located;
acquiring a project configuration folder in a directory where the dll file is located;
acquiring a project path in the project configuration folder according to the project number;
acquiring a bolt library address saving file in the project path;
and reading a bolt and pin library detailed information list from the bolt library address saving file.
Optionally, obtaining a hole data list of the assembled part through the geometric topological relation specifically includes:
acquiring a topological entity list of the assembled parts;
traversing each part in the topological entity list to obtain a corresponding two-dimensional CATFAce list;
traversing each two-dimensional CATFAace in the two-dimensional CATFAace list, and judging whether the two-dimensional CATFAace is an inner cylindrical surface;
and acquiring the circle centers and the axial directions of the upper arc and the lower arc of the inner cylindrical surface to obtain the hole data list under the condition that the two-dimensional CATFace is judged to be the inner cylindrical surface.
Optionally, obtaining the installation Kong Dianwei on the installation surface input by the user specifically includes:
and acquiring the circle center and the diameter of a circle where each mounting hole point on the mounting surface is located to form a circle center list and a diameter list.
Optionally, determining a corresponding relationship between the mounting hole point location and the assembly part specifically includes:
acquiring a father node of a part where a mounting hole point is located, and taking the father node as a father node of an inserted bolt;
acquiring the position of the part where the mounting hole point is located in the global environment and a corresponding inverse matrix;
acquiring the position of the assembly part in a global environment;
converting the position of the part hole of the assembly part into a coordinate system of the part where the point position of the mounting hole is located;
traversing the hole data list of the assembly part, and judging whether the axial distance between the part hole and the point position of the mounting hole is smaller than or equal to a first preset value;
under the condition that the axial distance between the part hole and the mounting hole point position is judged to be smaller than or equal to a first preset value, judging whether the axial included angle between the mounting hole point position and the upper arc or the lower arc of the part hole is smaller than a second preset value or not;
and matching the point position of the mounting hole with the part hole under the condition that the axial included angle between the point position of the mounting hole and the upper arc or the axial included angle between the point position of the mounting hole and the lower arc of the part hole are smaller than a second preset value.
Optionally, matching the mounting hole point location with the part hole specifically includes:
under the condition that the same part hole is matched with a plurality of mounting hole positions, selecting the mounting Kong Dianwei with the minimum axial distance to be matched with the part hole;
acquiring the diameter of the part hole under the condition that the point position of the mounting hole is matched with the part hole;
traversing the detailed information list of the bolt and the pin library, and judging 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;
determining the part hole as a pin hole under the condition that the difference between the diameter of the part hole and the diameter of the pin is smaller than or equal to a third preset value;
and determining the part hole as a threaded hole under the condition that the difference between the diameter of the part hole and the diameter of the pin is larger than a third preset value.
Optionally, selecting and inserting a bolt according to the corresponding relationship and the maximum distance between the mounting hole point and the part hole of the assembly part, specifically includes:
searching a corresponding bolt diameter in the detailed information list according to the diameter of the threaded hole, and acquiring a bolt set corresponding to the bolt diameter;
determining the maximum distance between the point position of the mounting hole and the part hole;
and searching a corresponding bolt in the bolt set according to the maximum distance.
Optionally, determining a maximum distance between the mounting hole point location and the part hole specifically includes:
calculating the maximum distance according to equation (1),
maximum distance = part hole length + length of mounting hole site + shortest distance between part hole and mounting hole site, (1).
Optionally, selecting and inserting a bolt according to the corresponding relationship and the maximum distance between the mounting hole point and the part hole of the assembly part, specifically includes:
establishing a plane by taking the mounting point location as an original point and the axial directions of the mutually matched mounting point location and the part hole as normal lines;
establishing a mathematical coordinate system of the installation surface on the established plane;
acquiring a standard axis coordinate system and a mathematical axis coordinate system of the bolt;
converting the mathematical axis coordinate system of the bolt and the mathematical axis coordinate system of the mounting surface;
acquiring and setting the position of the bolt in the global environment according to the result after the conversion operation;
and inserting bolts into the mounting hole point positions and the part holes according to the positions.
Through the technical scheme, the method for assembling the bolts in batches through the secondary development of the three-dimensional software carries out information comparison and matching on the installation surface, the bolt type and the assembling part selected by a user through the secondary development API of the three-dimensional software, achieves the purpose of assembling all the bolts at one time, reduces repeated operation, ensures the accuracy of the inspection result, greatly saves labor cost, indirectly improves production efficiency, avoids errors caused by human factors, and improves the quality of design and production.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention and not to limit the embodiments of the invention. In the drawings:
FIG. 1 is a flow chart of a method of three-dimensional software secondary development mass assembly of bolts according to one embodiment of the present invention;
FIG. 2 is an exemplary diagram of an interactive interface according to one embodiment of the present invention;
FIG. 3 is an exemplary illustration of a bolt number list, a bolt nominal diameter list, and a bolt length list according to one embodiment of the invention;
FIG. 4 is a flow diagram of a method of obtaining a detailed information list of a library of bolts and pins according to one embodiment of the invention;
FIG. 5 is a flow diagram of a method of obtaining a hole data list of an assembled part via geometric topological relationships, in accordance with one embodiment of the present invention;
FIG. 6 is a flow chart of a method of determining correspondence between mounting hole locations and assembled parts according to one embodiment of the present invention;
FIG. 7 is a flow chart of a method of selecting and inserting a bolt according to correspondence and a maximum distance between a mounting hole point location and a part hole of an assembled part according to an embodiment of the present invention;
FIG. 8 is a flow chart of a method of operation of a mounting bolt according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flow chart of a method for secondary development of mass assembly bolts by three-dimensional software according to an embodiment of the invention. In this fig. 1, the method may include:
in step S10, acquiring an assembly part to be assembled, a bolt type and an installation surface contacted with a bolt cap of a bolt, which are input by a user;
in step S11, a detailed information list of the bolt and pin library is acquired;
in step S12, a hole data list of the assembled parts is obtained through the geometric topological relation;
in step S13, an installation Kong Dianwei is acquired on the installation face input by the user;
in step S14, a correspondence between the mounting hole point position and the fitting part is determined;
in step S15, a 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 to complete the bolt assembling operation.
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 in the fitting part, thereby fixing the part where the mounting surface is located and the fitting part.
In this fig. 1, step S10 may be used to acquire a fitting part, a bolt-type mounting surface, input by a user. This step S10 may be to create an interactive interface (for example, fig. 2) first to guide the user to input the information, and after inputting the information, the input information may be input into the background to obtain a file of the input information in the system. Specifically, the method may be an execution program main function OKAction (), and acquires a corresponding bolt library address according to a bolt type; the bolt number list _ listBoltPartNum, the bolt nominal diameter list _ listboltportdiameter, and the bolt length list _ listBoltLength are read from the last segment of the bolt library address. An example of the resulting list is shown in fig. 3.
Step S11 is for acquiring a detailed information list of the bolt and pin library. In particular, this step S11 may comprise a method as illustrated in fig. 4. In fig. 4, the step S11 may include:
in step S20, a directory in which a dll file of the three-dimensional software is located is acquired.
In step S21, the item configuration folder is obtained in the directory where the dll file is located, that is: the configuration folder path = dll directory + "bin \\ jeeprojects config".
In step S22, an item path is acquired in the item configuration folder according to the item number.
In step S23, a bolt library address save file is acquired in the project path, that is: the library address saved file path = project path + "\ \3D \ \ fastener".
In step S24, the detailed information list of the bolt and pin library is read from the bolt library address saving file, that is: the bolt library information list vecboltlnfo (bolt type + corresponding bolt library address) is read from fastener.
Step S12 is used for obtaining a hole data list of the assembly parts through geometric topological relations, namely determining that the part holes on the assembly parts are possible to be assembled and summarizing the part holes into a hole data list. For the method of determining the part hole, there may be a step as shown in fig. 5. In this fig. 5, the method may include:
in step S30, a topological entity list of the assembled parts is acquired;
in step S31, traversing each part in the topology entity list to obtain a corresponding two-dimensional CATFace list;
in step S32, traversing each two-dimensional CATFace in the two-dimensional CATFace list, and determining whether the two-dimensional CATFace is an inner cylindrical surface;
in step S33, in the case where the two-dimensional CATFace is determined to be the inner cylindrical surface, the centers and the axial directions of the upper arc and the lower arc of the inner cylindrical surface are obtained to obtain the hole data list.
In addition, if the central angle of the upper arc or the lower arc is less than 90 degrees, it means that the arc is not a part hole, and therefore, no calculation may be performed.
And step S13 is used for acquiring mounting hole positions on the mounting surface input by the user. Specifically, the step S13 may be to obtain the center and the diameter of the circle where each mounting hole point on the mounting surface is located, so as to form a center list and a diameter list.
Step S14 may be used to determine the correspondence between the mounting hole sites and the fitting parts. Specifically, this step S14 may include steps as shown in fig. 6. In this fig. 6, step S14 may include:
in step S40, a father node of the part where the mounting hole point is located is obtained, and the father node is used as a father node into which the bolt is inserted;
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 obtained;
in step S42, the position of the assembled part in the global environment is acquired;
in step S43, the position of the part hole where the part is assembled is converted into the coordinate system of the part where the mounting hole site is located. The conversion matrix = mounting surface position inverse matrix and mounting part position matrix, and the coordinates after conversion = coordinates before conversion matrix.
In step S44, the hole data list of the assembled part is traversed 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. Wherein, the first preset value may be preferably 0.01;
in step S45, under the condition that it is determined that the axial distance between the part hole and the mounting hole point is smaller than or equal to the first preset value, it is determined whether an axial included angle between the mounting hole point and the upper arc or the lower arc of the part hole is smaller than a second preset value. Wherein, the second preset value can be 5 °;
in step S46, when it is determined that the axial included angle between the mounting hole point location and the upper arc or the lower arc of the part hole is smaller than the second preset value, the mounting hole point location is matched with the part hole.
Further, in this embodiment, it is considered that after the method matching as illustrated in fig. 6, there may be a case where the same part hole is matched to a plurality of mounting hole sites. Then, in the case where the same part hole is matched to a plurality of mounting hole positions, the mounting hole position having the smallest axis distance may be selected to be matched to the part hole. In addition, in order to distinguish the threaded holes and the pin holes, the diameters of the part holes can be obtained under the condition that the positions of the mounting holes are matched with the part holes; and traversing the detailed information list of the bolt and the pin library to judge 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. Wherein the third preset value may be 0.001. Determining the part hole as a pin hole under the condition that the difference between the diameter of the part hole and the diameter of the pin is smaller than or equal to a third preset value; otherwise, it can be determined as a threaded hole.
And S15, selecting and inserting the bolt according to the corresponding relation and the maximum distance between the mounting hole point position and the part hole of the assembly part so as to finish the bolt assembly operation. In particular, this step S15 may comprise a method as illustrated in fig. 7. In fig. 7, the step S15 may include:
in step S50, a corresponding bolt diameter is searched in the detailed information list according to the diameter of the threaded hole, and a bolt set corresponding to the bolt diameter is obtained;
in step S51, the maximum distance between the mounting hole point and the part hole is determined; the maximum distance is calculated according to equation (1),
maximum distance = part hole length + length of mounting hole point + shortest distance between part hole and mounting hole point, (1).
In step S52, the corresponding bolt is found in the bolt set according to the maximum distance.
For the operation of mounting the bolt in this step S15, there may be a step as shown in fig. 8. In fig. 8, the step S15 may include:
in step S60, a plane is created with the mounting point location as the origin and the axial directions of the mutually matched mounting point location and the part hole as the normal lines;
in step S61, a mathematical coordinate system StdMathAxis of the mounting surface is established on the created plane;
in step S62, a standard axis coordinate system spStdAxisSystem and a mathematical axis coordinate system STDMathAxis of the bolt are acquired;
in step S63, the mathematical axis coordinate system of the bolt and the mathematical axis coordinate system of the mounting surface are subjected to a conversion operation, that is: stdaxistsystrans = catmathtransformat (STDMathAxis, catnathioijk) = catmathtransformat (catnathioijk, stdmanthaxis);
in step S64, the position of the bolt in the global environment is acquired and set according to the result after the conversion operation, that is: absStdPos = surparttran @ localsttmathtrans @ stdaxissytrans (surparttran is the location of the part on which the mounting face is located in the global environment)
In step S65, bolts are inserted into the mounting hole sites and the part holes depending on the positions. After the conversion of the coordinate system is completed, the directions of the mounting hole point, the bolt and the part hole at this time are completely aligned, so that the step S65 can insert the bolt into the mounting hole point and the part hole directly according to the positional relationship.
Through the technical scheme, the method for assembling the bolts in batches through the secondary development of the three-dimensional software carries out information comparison and matching on the installation surface, the bolt type and the assembling parts selected by the user through the secondary development API of the three-dimensional software, achieves the purpose of assembling all the bolts at one time, reduces repeated operation, ensures the accuracy of the inspection result, greatly saves labor cost, indirectly improves production efficiency, avoids errors caused by human factors, and improves the quality of design and production.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may 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 instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may 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 which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation 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 may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for assembling bolts in batches through three-dimensional software secondary development is characterized by comprising the following steps:
acquiring an assembly part to be assembled, a bolt type and an installation surface contacted with a bolt cap of a bolt, which are input by a user;
acquiring a detailed information list of a bolt and a pin library;
acquiring a hole data list of the assembled parts through a geometric topological relation;
acquiring installation Kong Dianwei on an installation surface input by a user;
determining the corresponding relation between the point position of the mounting hole and the assembly part;
and selecting and inserting a bolt according to the corresponding relation and the maximum distance between the point position of the mounting hole and the part hole of the assembly part so as to finish the operation of assembling the bolt.
2. The method of claim 1, wherein the obtaining of the assembling parts to be assembled, the type of the bolt and the mounting surface in contact with the cap of the bolt input by the user comprises:
acquiring a corresponding bolt library address according to the bolt type;
reading a bolt number list, a bolt nominal diameter list and a bolt length list from the last segment of the bolt library address.
3. The method according to claim 1, wherein obtaining a detailed information list of a library of bolts and pins specifically comprises:
acquiring a directory where a dll file of the three-dimensional software is located;
acquiring a project configuration folder in a directory where the dll file is located;
acquiring a project path in the project configuration folder according to the project number;
acquiring a bolt library address saving file in the project path;
and reading a bolt and pin library detailed information list from the bolt library address saving file.
4. The method according to claim 1, wherein obtaining the hole data list of the assembled part through geometric topological relations comprises:
acquiring a topological entity list of the assembled parts;
traversing each part in the topological entity list to obtain a corresponding two-dimensional CATFAce list;
traversing each two-dimensional CATFaace in the two-dimensional CATFaace list, and judging whether the two-dimensional CATFaace is an inner cylindrical surface;
and acquiring the circle centers and the axial directions of the upper arc and the lower arc of the inner cylindrical surface to obtain the hole data list under the condition that the two-dimensional CATFace is judged to be the inner cylindrical surface.
5. The method of claim 1, wherein obtaining the installation Kong Dianwei on the installation surface of the user input specifically comprises:
and acquiring the circle center and the diameter of a circle where each mounting hole point on the mounting surface is located to form a circle center list and a diameter list.
6. The method according to claim 1, wherein determining the correspondence between the mounting hole point locations and the assembled parts specifically comprises:
acquiring a father node of a part where a mounting hole point is located, and taking the father node as a father node of an inserted bolt;
acquiring the position of the part where the mounting hole point is located in the global environment and a corresponding inverse matrix;
acquiring the position of the assembly part in a global environment;
converting the position of the part hole of the assembly part into a coordinate system of the part where the point position of the mounting hole is located;
traversing the hole data list of the assembly part, and judging whether the axial distance between the part hole and the point position of the mounting hole is smaller than or equal to a first preset value;
under the condition that the axial distance between the part hole and the mounting hole point position is judged to be smaller than or equal to a first preset value, judging whether the axial included angle between the mounting hole point position and the upper arc or the lower arc of the part hole is smaller than a second preset value or not;
and matching the point position of the mounting hole with the part hole under the condition that the axial included angle between the point position of the mounting hole and the upper arc or the axial included angle between the point position of the mounting hole and the lower arc of the part hole are smaller than a second preset value.
7. The method of claim 6, wherein matching the mounting hole site location with the part hole comprises:
under the condition that the same part hole is matched with a plurality of mounting hole positions, selecting the mounting Kong Dianwei with the minimum axial distance to be matched with the part hole;
acquiring the diameter of the part hole under the condition that the point position of the mounting hole is matched with the part hole;
traversing the detailed information list of the bolt and the pin library, and judging 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;
determining the part hole as a pin hole under the condition that the difference between the diameter of the part hole and the diameter of the pin is smaller than or equal to a third preset value;
and determining the part hole as a threaded hole under the condition that the difference between the diameter of the part hole and the diameter of the pin is larger than a third preset value.
8. The method according to claim 1, wherein selecting and inserting a bolt according to the correspondence and a maximum distance between the mounting hole point and the part hole of the fitting part specifically comprises:
searching a corresponding bolt diameter in the detailed information list according to the diameter of the threaded hole, and acquiring a bolt set corresponding to the bolt diameter;
determining the maximum distance between the point position of the mounting hole and the part hole;
and searching a corresponding bolt in the bolt set according to the maximum distance.
9. The method of claim 8, wherein determining a maximum distance between the mounting hole site and the part hole comprises:
calculating the maximum distance according to equation (1),
maximum distance = part hole length + length of mounting hole point + shortest distance between part hole and mounting hole point, (1).
10. The method according to claim 1, wherein selecting and inserting a bolt according to the correspondence and a maximum distance between the mounting hole point and the part hole of the fitting part specifically comprises:
establishing a plane by taking the mounting point location as an original point and the axial directions of the mutually matched mounting point location and the part hole as normal lines;
establishing a mathematical coordinate system of the installation surface on the established plane;
acquiring a standard axis coordinate system and a mathematical axis coordinate system of the bolt;
converting the mathematical axis coordinate system of the bolt and the mathematical axis coordinate system of the mounting surface;
acquiring and setting the position of the bolt in the global environment according to the result after the conversion operation;
and inserting bolts into the mounting hole point positions and the part holes according to the positions.
CN202211393766.1A 2022-11-08 2022-11-08 Method for assembling bolts in batches through secondary development of three-dimensional software Pending CN115795713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211393766.1A CN115795713A (en) 2022-11-08 2022-11-08 Method for assembling bolts in batches through secondary development of three-dimensional software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211393766.1A CN115795713A (en) 2022-11-08 2022-11-08 Method for assembling bolts in batches through secondary development of three-dimensional software

Publications (1)

Publication Number Publication Date
CN115795713A true CN115795713A (en) 2023-03-14

Family

ID=85436142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211393766.1A Pending CN115795713A (en) 2022-11-08 2022-11-08 Method for assembling bolts in batches through secondary development of three-dimensional software

Country Status (1)

Country Link
CN (1) CN115795713A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117150815A (en) * 2023-10-26 2023-12-01 玛斯特轻量化科技(天津)有限公司 Method and device for automatically assembling parts, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117150815A (en) * 2023-10-26 2023-12-01 玛斯特轻量化科技(天津)有限公司 Method and device for automatically assembling parts, storage medium and electronic equipment
CN117150815B (en) * 2023-10-26 2024-03-08 玛斯特轻量化科技(天津)有限公司 Method and device for automatically assembling parts, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
Xu et al. Efficient $ k $-Means++ approximation with MapReduce
US9356966B2 (en) System and method to provide management of test data at various lifecycle stages
CN110147407B (en) Data processing method and device and database management server
CN113127347B (en) Interface testing method, device, equipment and readable storage medium
CN110737720A (en) DB2 database data synchronization method, device and system
CN115795713A (en) Method for assembling bolts in batches through secondary development of three-dimensional software
CN116090808A (en) RPA breakpoint reconstruction method and device, electronic equipment and medium
CN109598006B (en) Method, apparatus and storage medium for adjusting product model
CN115662489A (en) Hard disk test method and device, electronic equipment and storage medium
CN115335821A (en) Offloading statistics collection
CN104391789A (en) Web application stress testing method
CN116027365A (en) Distributed GNSS deformation monitoring real-time resolving system, device and method
US20160019314A1 (en) Interoperable hierarchical model for conducting multiuser cax operations
CN104572289A (en) Virtualization-based server configuration measurement processing method and device
US20210124575A1 (en) Providing build avoidance without requiring local source code
CN114691506A (en) Pressure testing method, apparatus, device, medium, and program product
CN115827636B (en) Method for storing and reading simulation data of logic system design from waveform database
CN114840488B (en) Distributed storage method, system and storage medium based on super fusion structure
US9537941B2 (en) Method and system for verifying quality of server
CN107102898B (en) Memory management and data structure construction method and device based on NUMA (non Uniform memory Access) architecture
CN114547206A (en) Data synchronization method and data synchronization system
CN102004761A (en) Data storage method and system
CN108062329B (en) Data import method and device
CN111966680A (en) Database storage expansion method and device
CN112100737A (en) Model generation method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination