Method, device, processor and computer-readable storage medium for parsing and importing three-dimensional pipe tool path

By importing pipes and analyzing three-dimensional file data, acquiring pipe-type characteristics and data conversion, the problems of insufficient file format compatibility and data analysis in the prior art are solved, and efficient pipe cutting and processing are achieved.

CN114329666BActive Publication Date: 2025-04-04SHANGHAI WEIHONG ELECTRONICS TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111664980.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2025-04-04
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

The prior art is difficult to compatible with file formats generated by different three-dimensional software, and during the pipe cutting process, the analysis of three-dimensional file data is insufficient to meet the processing needs.

Method used

Provide a method to adapt to the file format generated by different software by importing pipe materials and analyzing three-dimensional file data, obtaining the pipe-type stretching direction and projection profile data, identifying the pipe-type characteristics, and performing data conversion and visual display.

Benefits of technology

It realizes compatibility with three-dimensional files generated by different software, identify common and special-shaped pipes, improves tooling efficiency in the field of pipe cutting, and reduces transplant costs and operating thresholds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114329666B_ABST
    Figure CN114329666B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for parsing and importing a three-dimensional pipe tool path, wherein the method comprises the following steps: (1) importing a pipe and parsing the pipe three-dimensional file data; (2) obtaining the data of the pipe type stretching direction and the projection contour of the current pipe; (3) identifying the relevant pipe type features of the current pipe according to the obtained projection contour; (4) performing data conversion processing on the obtained pipe data to obtain software internal data; (5) visually displaying the pipe model after the parsing processing. The present invention also relates to a corresponding device, a processor and a storage medium thereof. The method, device, processor and storage medium for parsing and importing a three-dimensional pipe tool path of the present invention can be embedded in a large-function software or used as an independent module, and can be compatible with three-dimensional files generated by different software, with high portability and high import efficiency, and can effectively improve the actual production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of pipe cutting technology, in particular to the field of pipe type analysis and identification technology, and specifically refers to a method, device, processor and computer-readable storage medium for analyzing and importing three-dimensional pipe tool paths. Background Art

[0002] The document "GBT 14213-2008 Initial Graphics Exchange Specification" specifies the format of general 3D files.

[0003] The document "GBT__11263-2017 Hot-rolled H-shaped steel and split T-shaped steel" establishes the specifications for standard H-shaped steel and T-shaped steel.

[0004] Open CASCADE is a powerful open source geometric modeling tool. ACIS and Parasolid are commercial geometric modeling engines developed by the American spatial technology company and Shape Data Limited respectively.

[0005] Due to the fact that different processing techniques are applied to different pipe types in actual processing, as well as the limitations of pipe cutting equipment, only parsing file data cannot meet the needs of pipe cutting. It is necessary to continue pipe model recognition and data processing based on the parsing of three-dimensional file data to obtain data that meets the processing requirements.

[0006] Since there are many common 3D editing software on the market, there are differences in the file formats of 3D models created by different software after saving, so it is necessary to be compatible with the commonly used engineering file formats generated by different software.

[0007] Although the OCCT open source library supports 3D model data analysis and creation, it has efficiency issues and other hidden problems. Although the ACIS and Parasolid engines have greatly improved efficiency compared to OCCT, the above three tools have redundant functions, high porting costs on lightweight software, high entry barriers compared to localized software, and are not easy to operate. Summary of the invention

[0008] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, device, processor and computer-readable storage medium for parsing and importing three-dimensional pipe tool paths that is highly portable and more convenient and quick.

[0009] In order to achieve the above-mentioned purpose, the method, device, processor and computer-readable storage medium for parsing and importing three-dimensional pipe tool paths of the present invention are as follows:

[0010] The method for parsing and importing a three-dimensional pipe tool path has the following main features:

[0011] (1) Import pipes and perform analysis and processing of pipe 3D file data;

[0012] (2) Obtaining data on the current tube shape stretching direction and projection profile;

[0013] (3) identifying relevant tube shape features of the current tube according to the acquired projection profile;

[0014] (4) Perform data conversion processing on the acquired pipe data to obtain the internal data of the software;

[0015] (5) Visualize the pipe model after analytical processing.

[0016] Preferably, the step (1) comprises the following steps:

[0017] (1.1) According to the graphic exchange specification rules stipulated in the national standard documents, the 3D files drawn and saved by the commonly used 3D software are used to read the files provided by the third-party library to obtain the 3D model data;

[0018] (1.2) The obtained three-dimensional model data is analyzed by using the same three-dimensional surface analysis method, and all data in the current three-dimensional file composition model is obtained based on the analyzed data.

[0019] Preferably, the three-dimensional surface analysis method specifically includes:

[0020] (i) according to the topological structure and geometric structure defined in the general three-dimensional file format, as well as the association relationship on different topological layers, the current three-dimensional surface is parsed from top to bottom according to the relevant definition data;

[0021] (ii) according to the topological results obtained in the order of entity-surface-curve-line segment-point, the topological results of each layer are disassembled one by one to obtain the disassembled surface information of the corresponding three-dimensional surface;

[0022] (iii) Traversing the disassembled surface information layer by layer, obtaining data at different levels and the corresponding relationship between the data at each level, and parsing it to the curve level of the current three-dimensional surface to complete the parsing.

[0023] Preferably, the step (2) comprises the following steps:

[0024] (2.1) Execute the pipe import operation according to the pipe direction selected by the user when importing the 3D file, wherein the pipe direction includes and only includes three reference coordinate system directions;

[0025] (2.2) According to the stretching direction specified by the user, the system projects the 3D data in the current 3D file onto a reference plane perpendicular to the specified stretching direction to obtain a set of 2D projection curves;

[0026] (2.3) Based on the obtained three-dimensional surface and the three-dimensional model data at its curve level, the data of the closed projection contour of the pipe is obtained by traversing the two-dimensional projection curve.

[0027] Preferably, the tube projection contour is projected onto a reference plane perpendicular to the stretching direction according to the working principle of obtaining complete and closed contour data of the tube model, so as to verify whether the current specified direction is the stretching direction of the currently imported tube.

[0028] Preferably, if the user selects automatic when importing the pipe direction, the system will traverse all possible stretching directions and execute steps (2.1) to (2.3) in sequence for all stretching directions to obtain data of the pipe projection contour in all stretching directions, and identify the correct stretching direction of the current pipe based on the data obtained above.

[0029] Preferably, the step (3) is specifically as follows:

[0030] Based on the pipe type model and geometric constraint structure specified in the national standard document, the data of the pipe projection profile obtained in the above steps are used to evaluate the pipe type to obtain the pipe type corresponding to the current pipe.

[0031] Preferably, the step (4) comprises the following steps:

[0032] (4.1) According to the currently acquired tube stretching direction and projection profile information, the side data of the current tube that does not belong to the end section and whose surface normal vector is perpendicular to the stretching direction is obtained;

[0033] (4.2) Processing the surface data of the current pipe, removing the virtual edge curves that intersect between the side surfaces and do not belong to the actual processing path;

[0034] (4.3) According to the currently determined tube type information, the ordered curved surface projection data belonging to the current tube processing surface is selected;

[0035] (4.4) Processing the projection data of the pipe processing surface and the curved surface obtained by filtering the virtual edges in a one-to-one correspondence manner;

[0036] (4.5) Expand the three-dimensional data of the current pipe onto a two-dimensional plane, obtain the two-dimensional curve data of the current pipe according to the spatial position relationship, and use the two-dimensional curve data as data for visualization application of the system software.

[0037] Preferably, the two-dimensional curve data is obtained as follows:

[0038] Based on the fact that the stretching direction of the tube corresponds to the Y-axis in the vertical direction of the two-dimensional coordinate system, the Y-axis coordinate system is obtained; the side surface of the tube is unfolded from the first surface clockwise or counterclockwise in the same direction to the horizontal direction X to obtain the X-axis coordinate system.

[0039] Preferably, the step (5) is specifically as follows:

[0040] The data obtained after data conversion of the current pipe provides a corresponding pipe model, and the pipe model is visualized in three-dimensional and two-dimensional display modes.

[0041] The device for analyzing and importing a three-dimensional pipe tool path has the following main features: the device comprises:

[0042] a processor configured to execute computer executable instructions;

[0043] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for parsing and importing a three-dimensional pipe tool path are implemented.

[0044] The main feature of the processor for parsing and importing three-dimensional pipe tool paths is that the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for parsing and importing three-dimensional pipe tool paths are implemented.

[0045] The main feature of the computer-readable storage medium is that a computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for parsing and importing three-dimensional pipe tool paths.

[0046] The method, device, processor and computer-readable storage medium for parsing and importing three-dimensional pipe tool paths of the present invention can be embedded in large-function software or used as an independent module. It is compatible with three-dimensional files generated by different software, can identify common pipes and special-shaped pipes, and solve common tool path processing problems in the actual pipe cutting field. It has high portability and high import efficiency. Batch import in layout is more convenient and quick, and can effectively improve actual production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 The flowchart of the method for analyzing and importing three-dimensional pipe tool paths of the present invention.

[0048] Figure 2 This is a schematic diagram of the software interface effect for waist-shaped tube introduction according to the present invention.

[0049] Figure 3 This is a schematic diagram of the software interface effect for angle steel importing according to the present invention.

[0050] Figure 4 The figure is a schematic diagram of the software interface effect for importing steel sections according to the present invention.

[0051] Figure 5 This is a schematic diagram of the software interface effect for entity management import according to the present invention.

[0052] Figure 6 This is a schematic diagram of the software interface effect for importing spiral pipes according to the present invention.

[0053] Figure 7 This is a schematic diagram of the software interface effect for importing irregular square tubes in the present invention.

[0054] Figure 8 This is a schematic diagram of the software interface effect for importing common special-shaped tubes in the present invention.

[0055] Fig. 9 A schematic diagram of the software interface effect for importing an assembly according to the present invention. DETAILED DESCRIPTION

[0056] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.

[0057] Before describing in detail embodiments according to the present invention, it should be noted that, hereinafter, the terms "comprises", "includes" or any other variations are intended to cover non-exclusive inclusion, whereby a process, method, article or apparatus comprising a series of elements includes not only these elements, but also other elements not explicitly listed or inherent to such process, method, article or apparatus.

[0058] See also Figure 1 As shown, the method for parsing and importing a three-dimensional pipe tool path, wherein the method comprises the following steps:

[0059] (1) Import pipes and perform analysis and processing of pipe 3D file data;

[0060] (2) Obtaining data on the current tube shape stretching direction and projection profile;

[0061] (3) identifying relevant tube shape features of the current tube according to the acquired projection profile;

[0062] (4) Perform data conversion processing on the acquired pipe data to obtain the internal data of the software;

[0063] (5) Visualize the pipe model after analytical processing.

[0064] As a preferred embodiment of the present invention, the step (1) comprises the following steps:

[0065] (1.1) According to the graphic exchange specification rules stipulated in the national standard documents, the 3D files (IGS files or STEP files) drawn and saved by commonly used 3D software (such as SolidWorks, CATIA, NcEditor, etc.) are used to obtain 3D model data using the file reading method provided by the third-party library;

[0066] (1.2) The obtained three-dimensional model data is analyzed by using the same three-dimensional surface analysis method, and all data in the current three-dimensional file composition model is obtained based on the analyzed data.

[0067] In actual applications, according to the graphic exchange specifications stipulated in the national standard documents, no matter what kind of drawing software is used to generate the 3D file, the same parsing method is used to obtain the data that constitutes the model in the current file, as well as the topological relationship and geometric constraints between the data.

[0068] As a preferred embodiment of the present invention, the three-dimensional surface analysis method specifically includes:

[0069] (i) according to the topological structure and geometric structure defined in the general three-dimensional file format, as well as the association relationship on different topological layers, the current three-dimensional surface is parsed from top to bottom according to the relevant definition data;

[0070] (ii) according to the topological results obtained in the order of entity-surface-curve-line segment-point, the topological results of each layer are disassembled one by one to obtain the disassembled surface information of the corresponding three-dimensional surface;

[0071] (iii) Traversing the disassembled surface information layer by layer, obtaining data at different levels and the corresponding relationship between the data at each level, and parsing it to the curve level of the current three-dimensional surface to complete the parsing.

[0072] As a preferred embodiment of the present invention, the step (2) comprises the following steps:

[0073] (2.1) Execute the pipe import operation according to the pipe direction selected by the user when importing the 3D file, wherein the pipe direction includes and only includes three reference coordinate system directions;

[0074] (2.2) According to the stretching direction specified by the user, the system projects the 3D data in the current 3D file onto a reference plane perpendicular to the specified stretching direction to obtain a set of 2D projection curves;

[0075] (2.3) Based on the obtained three-dimensional surface and the three-dimensional model data at its curve level, the data of the closed projection contour of the pipe is obtained by traversing the two-dimensional projection curve.

[0076] It should be noted that the three-dimensional file import process mentioned in the present invention can be increased or decreased or the order can be changed according to actual needs, but it does not affect the final import result.

[0077] The present invention proposes a method of "obtaining the maximum outer contour of a two-dimensional line segment group" and "obtaining the minimum inner contour of a two-dimensional line segment group". According to the principle of this method, the system traverses all two-dimensional projection data to obtain the projection contour of the pipe.

[0078] The convex hull principle of traditional computational geometry is to solve the problem of finding the convex hull of a given set of points on a two-dimensional plane. The convex hull is a convex polygon formed by connecting the outermost points.

[0079] The geometric connection between a contour line in a convex contour and its surrounding contour lines also satisfies the above definition of convex hull. By inference, the geometric connection between a contour line in a concave contour and its surrounding contour lines can be known.

[0080] If the projection contour has both an outer contour and an inner contour, according to the spatial relationship, a straight line crossing the contour from the outside to the inside must intersect the outer contour first. Conversely, a straight line crossing the projection contour from the inside to the outside must intersect the inner contour first.

[0081] The methods of "obtaining the maximum outer contour of a two-dimensional projection curve group" and "obtaining the minimum inner contour of a two-dimensional projection curve group" proposed in the present invention are original in that they can solve both point set problems and curve set problems; they can be applied to both convex contour search and concave contour search. For example, the projection contour of a special tubular channel steel is a concave edge shape.

[0082] As a preferred embodiment of the present invention, the tube projection contour is projected onto a reference plane perpendicular to the stretching direction according to the working principle of obtaining complete and closed contour data of the tube model, so as to verify whether the currently specified direction is the stretching direction of the currently imported tube.

[0083] The present invention proposes a method for inversely calculating the stretching direction of a pipe, and finds the relationship between the projection profile data and the analyzed pipe processing surface data and the correlation relationship with the stretching direction, thereby selecting the correct stretching direction.

[0084] The processing surface of the pipe is the side surface. Even if the operation such as intersecting or cutting is performed, the area enclosed by the side surface has holes that run through the current stretching direction from top to bottom, and the total area of ​​the side area is usually larger than the total area of ​​the cross section. According to the projection contours obtained in different directions and the side surfaces corresponding to the projection contours, the correct stretching direction of the pipe can be inferred according to the above principles.

[0085] As a preferred embodiment of the present invention, if the user selects automatic when importing the pipe direction, the system will traverse all possible stretching directions and execute the steps (2.1) to (2.3) in sequence for all stretching directions to obtain the data of the pipe projection contour in all stretching directions, and based on the above-obtained data, the method of inversely inferring the pipe stretching direction proposed in the present invention is used to identify the correct stretching direction of the current pipe.

[0086] As a preferred embodiment of the present invention, the step (3) is specifically as follows:

[0087] Based on the pipe type model and geometric constraint structure specified in the national standard document, the data of the pipe projection profile obtained in the above steps are used to evaluate the pipe type to obtain the pipe type corresponding to the current pipe.

[0088] In practical applications, the present invention proposes and constructs a system for evaluating characteristic data of different tube types based on the tube type model and geometric constraints specified in the national standard. The obtained projection profiles are evaluated in turn in the system to obtain the tube type that the current tube conforms to.

[0089] Here, a round tube is taken as an example, and its end cross-section shape is a circle. The geometric features of the circle can be used as its tube type characteristic data. By analogy, a corresponding table between common tube types and the characteristic data of such tube types can be established. When calculating the tube type of the current tube, the characteristic data belonging to the profile can be obtained according to the projection profile, and the tube type matching result can be obtained according to the corresponding relationship in the above table. It should be noted that the tube type evaluation system proposed in the present invention includes but is not limited to the standard tube type information and commonly used tube type information defined in the national standard. It can be flexibly adapted according to actual production needs, and is developed and improved with the actual application of the present invention. It is a set of evaluation systems with strong expansibility, robust functions and good results.

[0090] The cast evaluation system proposed in the present invention includes but is not limited to evaluating the topological structure, model shape and geometric features of the cast.

[0091] In practical applications, in addition to using the above-mentioned method for identifying the type of pipe, the present invention can also directly analyze and calculate the three-dimensional data.

[0092] It should be noted that since the present invention includes two basic views, namely a three-dimensional view and a two-dimensional view, in practical applications it is necessary to additionally convert the three-dimensional surface data into two-dimensional curve data for two-dimensional view display and operation under the two-dimensional view.

[0093] As a preferred embodiment of the present invention, the step (4) comprises the following steps:

[0094] (4.1) According to the currently acquired tube stretching direction and projection profile information, the side data of the current tube that does not belong to the end section and whose surface normal vector is perpendicular to the stretching direction is obtained;

[0095] (4.2) Processing the surface data of the current pipe, removing the virtual edge curves that intersect between the side surfaces and do not belong to the actual processing path;

[0096] (4.3) According to the currently determined tube type information, the ordered curved surface projection data belonging to the current tube processing surface is screened out;

[0097] (4.4) Processing the projection data of the pipe processing surface and the curved surface obtained by filtering the virtual edges in a one-to-one correspondence manner;

[0098] (4.5) Expand the three-dimensional data of the current pipe onto a two-dimensional plane, obtain the two-dimensional curve data of the current pipe according to the spatial position relationship, and use the two-dimensional curve data as data for visualization application of the system software.

[0099] As a preferred embodiment of the present invention, the two-dimensional curve data is obtained as follows:

[0100] Based on the fact that the stretching direction of the tube corresponds to the Y-axis in the vertical direction of the two-dimensional coordinate system, the Y-axis coordinate system is obtained; the side surface of the tube is unfolded from the first surface clockwise or counterclockwise in the same direction to the horizontal direction X to obtain the X-axis coordinate system.

[0101] As a preferred embodiment of the present invention, the step (5) is specifically as follows:

[0102] The data obtained after data conversion of the current pipe provides a corresponding pipe model, and the pipe model is visualized in three-dimensional and two-dimensional display modes.

[0103] The device for analyzing and importing a three-dimensional pipe tool path comprises:

[0104] a processor configured to execute computer executable instructions;

[0105] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for parsing and importing a three-dimensional pipe tool path are implemented.

[0106] The processor for implementing parsing and importing three-dimensional pipe tool paths, wherein the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for parsing and importing three-dimensional pipe tool paths are implemented.

[0107] The computer-readable storage medium stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the method for parsing and importing a three-dimensional pipe tool path as described above.

[0108] In practical applications, the present invention is applied to the software file import function, which can import the customer's 3D processing tool path or the pipe model saved by the customer using the current software 3D drawing function, and can also import assembly files. The effects of common pipe types after importing are as follows: Figures 2 to 9 shown.

[0109] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0110] It should be understood that each part of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device.

[0111] A person of ordinary skill in the art may understand that all or part of the steps of the method for implementing the above-mentioned embodiment may be completed by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.

[0112] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0113] In the description of this specification, the description with reference to the terms "an embodiment", "some embodiments", "example", "specific example", or "embodiment" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0114] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

[0115] The method, device, processor and computer-readable storage medium for parsing and importing three-dimensional pipe tool paths of the present invention can be embedded in large-function software or used as an independent module. It is compatible with three-dimensional files generated by different software, can identify common pipes and special-shaped pipes, and solve common tool path processing problems in the actual pipe cutting field. It has high portability and high import efficiency. Batch import in layout is more convenient and quick, and can effectively improve actual production efficiency.

[0116] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.

Claims

1. A method for analyzing and importing a three-dimensional pipe tool path, characterized in that: The method comprises the following steps: (1) Import pipes and perform analysis and processing of pipe 3D file data; (2) Obtaining data on the current tube shape stretching direction and projection profile; (3) identifying relevant tube shape features of the current tube according to the acquired projection profile; (4) Perform data conversion processing on the acquired pipe data to obtain the internal data of the software; (5) Visualizing the pipe model after analytical processing; The step (2) comprises the following steps: (2.1) Execute the pipe import operation according to the pipe direction selected by the user when importing the 3D file, wherein the pipe direction includes and only includes three reference coordinate system directions; (2.2) According to the stretching direction specified by the user, the system projects the 3D data in the current 3D file onto a reference plane perpendicular to the specified stretching direction to obtain a set of 2D projection curves; (2.3) According to the obtained three-dimensional surface and the three-dimensional model data at the curve level, by traversing the two-dimensional projection curve, the data of the closed projection contour of the pipe is obtained; The step (4) comprises the following steps: (4.1) According to the currently acquired tube stretching direction and projection profile information, the side data of the current tube that does not belong to the end section and whose surface normal vector is perpendicular to the stretching direction is obtained; (4.2) Processing the surface data of the current pipe, removing the virtual edge curves that intersect between the side surfaces and do not belong to the actual processing path; (4.3) According to the currently determined tube type information, the ordered curved surface projection data belonging to the current tube processing surface is screened out; (4.4) Processing the projection data of the pipe processing surface and the curved surface obtained by filtering the virtual edges in a one-to-one correspondence manner; (4.5) Expand the three-dimensional data of the current pipe onto a two-dimensional plane, obtain the two-dimensional curve data of the current pipe according to the spatial position relationship, and use the two-dimensional curve data as data for visualization application of the system software.

2. The method for analyzing and importing a three-dimensional pipe tool path according to claim 1, characterized in that: The step (1) comprises the following steps: (1.1) According to the graphic exchange specification rules stipulated in the national standard documents, the 3D files drawn and saved by the commonly used 3D software are used to read the files provided by the third-party library to obtain the 3D model data; (1.2) The obtained three-dimensional model data is analyzed by using the same three-dimensional surface analysis method, and all data in the current three-dimensional file composition model is obtained based on the analyzed data.

3. The method for analyzing and importing a three-dimensional pipe tool path according to claim 2, characterized in that: The three-dimensional surface analysis method specifically includes: (i) according to the topological structure and geometric structure defined in the general three-dimensional file format, as well as the association relationship on different topological layers, the current three-dimensional surface is parsed from top to bottom according to the relevant definition data; (ii) according to the topological results obtained in the order of entity-surface-curve-line segment-point, the topological results of each layer are disassembled one by one to obtain the disassembled surface information of the corresponding three-dimensional surface; (iii) Traversing the disassembled surface information layer by layer, obtaining data at different levels and the corresponding relationship between the data at each level, and parsing it to the curve level of the current three-dimensional surface to complete the parsing.

4. The method for analyzing and importing a three-dimensional pipe tool path according to claim 1, characterized in that: The pipe projection contour is projected onto a reference plane perpendicular to the stretching direction according to the pipe model to obtain complete and closed contour data, so as to verify whether the currently specified direction is the stretching direction of the currently imported pipe.

5. The method for analyzing and importing three-dimensional pipe tool paths according to claim 1, characterized in that: If the user selects automatic when importing the pipe direction, the system will traverse all possible stretching directions and execute the above steps (2.1) to (2.3) in all stretching directions in sequence to obtain the data of the pipe projection contour in all stretching directions, and identify the correct stretching direction of the current pipe based on the above acquired data.

6. The method for analyzing and importing a three-dimensional pipe tool path according to claim 5, characterized in that: The step (3) is specifically as follows: Based on the pipe type model and geometric constraint structure specified in the national standard document, the data of the pipe projection profile obtained in the above steps are used to evaluate the pipe type to obtain the pipe type corresponding to the current pipe.

7. The method for analyzing and importing three-dimensional pipe tool paths according to claim 1, characterized in that: The two-dimensional curve data is specifically obtained as follows: Based on the fact that the stretching direction of the tube corresponds to the Y-axis in the vertical direction of the two-dimensional coordinate system, the Y-axis coordinate system is obtained; the side surface of the tube is unfolded from the first surface clockwise or counterclockwise in the same direction to the horizontal direction X to obtain the X-axis coordinate system.

8. The method for analyzing and importing three-dimensional pipe tool paths according to claim 7, characterized in that: The step (5) is specifically as follows: The data obtained after data conversion of the current pipe provides a corresponding pipe model, and the pipe model is visualized in three-dimensional and two-dimensional display modes.

9. A device for analyzing and importing three-dimensional pipe tool paths, characterized in that: The device comprises: a processor configured to execute computer executable instructions; A memory stores one or more computer executable instructions, which, when executed by the processor, implement the various steps of the method for parsing and importing a three-dimensional pipe tool path as described in any one of claims 1 to 8.

10. A processor for parsing and importing a three-dimensional pipe tool path, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for parsing and importing three-dimensional pipe tool paths described in any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for parsing and importing a three-dimensional pipe tool path as described in any one of claims 1 to 8.