A method, system, device and storage medium for generating a three-dimensional drawing list

Through component hierarchy and correlation analysis, a detailed three-dimensional drawing list is generated, which solves the problem of insufficient labeling of parts and associated data in the existing technology, and improves data analysis efficiency.

CN119862865BActive Publication Date: 2025-05-23SHENZHEN ANYASON TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510337066.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-21
Publication Date
2025-05-23
Estimated Expiration
2045-03-21

AI Technical Summary

Technical Problem

The existing three-dimensional drawing detailed list generation method cannot effectively label the position data and associated data of the components, resulting in users or designers being unable to accurately judge the position and correlation relationship of the components during data analysis, affecting the analysis efficiency.

Method used

The component hierarchy method is used to obtain the hierarchical detailed list of three-dimensional drawings, and the simultaneous and cross-level related parts of each component are obtained based on the 3D original model and the hierarchical detailed list, and the correlation details list is generated. Finally, the three-dimensional drawing details list of nested tables is formed by linking the regular details list, the hierarchical details list and the correlation details list.

Benefits of technology

By clearly marking the location and association relationships of parts, we can improve the efficiency of users and designers in data analysis, and ensure that the detailed list contains the basic data of each part and its association information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119862865B_ABST
    Figure CN119862865B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device and storage medium for generating a three-dimensional drawing list, and relates to the technical field of list generation, including: obtaining component sections and component parts; obtaining a hierarchical list of three-dimensional drawings based on a component hierarchical method; generating an associated list based on same-level associated parts and cross-level associated parts; generating a conventional list, and obtaining a list of three-dimensional drawings based on table association; the present invention is used to solve the problem that in the existing method for generating three-dimensional drawing lists, there is a lack of clear marking for the position data of each component in the three-dimensional drawings and the association data of each component with other components, so that the positional relationship of the components in the three-dimensional drawings cannot be effectively judged, which affects the data analysis efficiency of users and designers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of detail list generation, and in particular to a method, system, device and storage medium for generating a three-dimensional drawing detail list. Background Art

[0002] A 3D drawing schedule is a detailed list created in 3D CAD and other software to record and display detailed information on each component, part or material in a design. This information usually includes the name, quantity, material, size, etc. of the part, helping designers, engineers and manufacturers to manage and track the production process. The functions of a 3D drawing schedule include information management, production preparation, cost control and quality control. By establishing a 3D drawing schedule, users and designers can be provided with clear and accurate detailed information in the 3D model.

[0003] The existing method for generating a 3D drawing list is usually to obtain the information data of the parts within the list generation range based on the 3D modeling corresponding to the 3D drawing, and generate the 3D drawing list based on the information data of the parts. Although this generation method can ensure that the data in the 3D drawing list is consistent with the actual 3D modeling, thereby improving the accuracy of the data, this generation method is relatively conventional and only transfers the existing data. There is a lack of clear marking for the location data of each part in the 3D drawing and the association data of each part with other parts. This will result in the inability of users or designers to effectively judge the parts in the 3D drawing when performing data analysis based on the 3D drawing list. The position in the three-dimensional modeling and the relationship between the parts lead to problems that affect the data analysis efficiency of users and designers. For example, in the patent application with publication number CN119203951A, a method, device, equipment, storage medium and program product for generating a drawing list are disclosed. The solution is to dynamically generate a two-dimensional drawing list of the parts within the generation range of the target three-dimensional model, thereby improving the generation efficiency and accuracy of the drawing list. Other improvements for three-dimensional drawing lists, usually improvements in the annotation of parent-child relationships of parts, still cannot solve the above technical problems. In view of this, it is necessary to improve the existing method for generating three-dimensional drawing lists. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the prior art to at least a certain extent, and proposes a method, system, device and storage medium for generating a three-dimensional drawing detail list, so as to solve the problem that in the existing three-dimensional drawing detail list generation method, there is a lack of clear marking for the position data of each component in the three-dimensional drawing and the association data between each component and other components, resulting in that when users or designers perform data analysis based on the three-dimensional drawing detail list, they cannot effectively judge the position of the components in the three-dimensional drawing in the three-dimensional modeling and the association relationship between the components, which affects the data analysis efficiency of users and designers.

[0005] To achieve the above objectives, in a first aspect, the present application provides a method for generating a three-dimensional drawing list, comprising the following steps:

[0006] The 3D model corresponding to the 3D drawing is recorded as the 3D original model; the closed figure in the 3D drawing is recorded as the component section, and the parts corresponding to each component section are obtained based on the 3D original model and recorded as component parts; based on all component sections and component parts, a component layering method is used to obtain a layered detailed list of the 3D drawing;

[0007] Based on the original 3D model and the hierarchical detail list, the same-level associated parts and cross-level associated parts of each component part are obtained; based on the same-level associated parts and cross-level associated parts, an associated detail list of each component part is generated;

[0008] A general detail list of the three-dimensional drawing is generated based on all component parts, and a nested table obtained by associating the general detail list, the layered detail list and the associated detail list is recorded as the detail list of the three-dimensional drawing.

[0009] Furthermore, the component layering method includes:

[0010] All component sections are numbered from small to large based on the area of ​​each component section; for any component section, the component section corresponding to the component section in the three-dimensional original model is obtained based on the three-dimensional original model, and recorded as the component part; the surface area of ​​the component part is obtained, and the value of the area of ​​the component section divided by the surface area of ​​the component part is recorded as the part ratio of the component section;

[0011] The value of the component section area divided by the area of ​​the three-dimensional drawing is recorded as the drawing scale of the component section; the part scale and drawing scale of all component sections are obtained; the maximum, minimum and average values ​​of all part scales are recorded as L max , L min and L sq , the maximum, minimum and average values ​​of all drawing scales are recorded as T max , T min and T sq .

[0012] Furthermore, the component layering method includes:

[0013] All parts whose proportions are in the interval [L min , L sq ] is recorded as A1, and all parts whose proportions are in the interval [L sq , L max ] is recorded as A2; all the drawings with a scale in the interval [T min , T sq ] is recorded as B1, and all the drawings with the scale in the interval [T sq , T max ] is recorded as B2; the double proportion algorithm is used to obtain the component classification quantity, and the double proportion algorithm is , where h is the number of component levels;

[0014] The interval [L min , L max ] is evenly divided into the number of component classifications, and based on the maximum value in each portion, the obtained intervals are recorded as part sub-intervals LZ in descending order. 1 To part sub-interval LZ h ; The interval [T min , T max ] is evenly divided into the number of component classifications, and based on the maximum value in each portion, the obtained intervals are recorded as drawing sub-intervals TZ in descending order. 1 To the drawing sub-interval TZ h .

[0015] Furthermore, the component layering method includes:

[0016] For any component section, the component section part ratio and the drawing ratio of the component section part sub-interval LZ and the drawing sub-interval TZ are respectively recorded as part sub-interval LZ α And the drawing sub-interval TZ β ; When α and β are equal, the number of layers of the component section is recorded as α, and the component section is marked as the αth layer section; when α and β are not equal, the number of layers of the component section is recorded as γ, and the component section is marked as the γth layer section, where γ is the maximum value between α and β;

[0017] A table of h+1 rows × F columns is created and recorded as a hierarchical detail table, wherein the leftmost column of the hierarchical detail table is filled with the 1st to hth layer sections from top to bottom except the first cell, and the top row of the hierarchical detail table is filled with the numbers of all component sections from left to right except the leftmost cell; based on the numbers of all component sections and the number of marked layers, the cell corresponding to each component section in the hierarchical detail table is checked.

[0018] Further, based on the original 3D model and the hierarchical detail list, the same-level associated parts and cross-level associated parts of each component part are obtained; and based on the same-level associated parts and cross-level associated parts, an associated detail list of each component part is generated, including:

[0019] For any component part P, the parts connected to the component part P are obtained based on the 3D original model and recorded as model parts; for any model part, when the model part is a component part, the model part is recorded as an associable part of the component part P;

[0020] For any component section Q, the component sections adjacent to the component section Q in the three-dimensional drawing are recorded as adjacent sections of the component section, and the component parts corresponding to all adjacent sections of the component section are recorded as the associable parts of the component parts corresponding to the component section Q;

[0021] Get the associable parts of all component parts.

[0022] Further, based on the original 3D model and the hierarchical detail list, the same-level associated parts and cross-level associated parts of each component part are obtained; and based on the same-level associated parts and cross-level associated parts, the associated detail list of each component part is generated, which further includes:

[0023] For any associable part C of any component part, when the number of layers marked on the component section corresponding to the component part is the same as the number of layers marked on the component section corresponding to the associable part C, the associable part C is recorded as the same-level associable part of the component part; when the number of layers marked on the component section corresponding to the component part is different from the number of layers marked on the component section corresponding to the associable part C, the associable part C is recorded as the cross-level associable part of the component part;

[0024] A table of 3 rows × F columns is created and recorded as an associated detail list, wherein the leftmost column of the associated detail list is filled with the same-level associated parts and cross-level associated parts from top to bottom except the first cell, and the top row of the associated detail list is filled with the component section number corresponding to each component part from left to right except the leftmost cell; based on the component section numbers corresponding to all component parts, the same-level associated parts and cross-level associated parts, the same-level associated parts and cross-level associated parts corresponding to each component part are filled in the cells of the associated detail list.

[0025] Furthermore, a conventional detail list of the three-dimensional drawing is generated based on all components and parts, and a nested table obtained by associating the conventional detail list, the layered detail list and the associated detail list is recorded as the detail list of the three-dimensional drawing, including:

[0026] Obtain the part number, quantity and weight of all component parts, create a table of F rows × 4 columns, and record it as a general detailed table, wherein the leftmost column of the general detailed table is filled with the part names of all component parts from top to bottom except the top cell, and the top row of the general detailed table is filled with the part number, quantity and weight from left to right except the leftmost cell; fill in the corresponding data in the general detailed table based on the part number, quantity and weight of all component parts;

[0027] The conventional detail list, the layered detail list and the associated detail list are associated, and the resulting table is recorded as the detail list of the three-dimensional drawing;

[0028] The association method is: add a new column in the general detail table, record it as the layer column, fill in the number of layers in the top row of the layer column, fill in the corresponding sections of each component part in the layer column based on the checked cells in the layered detail table, where the sections include the 1st layer section to the hth layer section; in the leftmost column of the general detail table, based on the associated detail table, mark the same-level associated parts and cross-level associated parts of each component part with connection lines.

[0029] In a second aspect, the present application also provides a three-dimensional drawing list generation system, including a plane layered analysis module, a multi-component association module, and a list nesting generation module;

[0030] The plane layered analysis module is used to record the 3D model corresponding to the 3D drawing as the 3D original model; record the closed figures in the 3D drawing as the component section, and obtain the parts corresponding to each component section based on the 3D original model, and record them as component parts; obtain the layered detailed list of the 3D drawing using the component layering method based on all component sections and component parts;

[0031] The multi-component association module is used to obtain the same-level associated parts and cross-level associated parts of each component part based on the original 3D model and the hierarchical detailed list; based on the same-level associated parts and cross-level associated parts, generate the associated detailed list of each component part;

[0032] The nested detail list generation module is used to generate a conventional detail list of a three-dimensional drawing based on all component parts, and record the nested table obtained by associating the conventional detail list, the layered detail list and the associated detail list as the detail list of the three-dimensional drawing.

[0033] In a third aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are performed.

[0034] In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above method are performed.

[0035] Beneficial effects of the present invention: The present application first uses the component layering method to obtain a layered detailed list of a three-dimensional drawing based on all component sections and component parts. This has the advantage that by using the component layering method to obtain a layered detailed list, the position of the component parts corresponding to each component section in the three-dimensional drawing in the three-dimensional original model can be roughly marked, thereby assisting users or designers to understand the relationship between the surface and the inside of each component part corresponding to the three-dimensional drawing, which helps users or designers to improve the efficiency of data acquisition when designing based on the three-dimensional drawing, thereby improving work efficiency;

[0036] The present application also obtains the same-level associated parts and cross-level associated parts of each component part based on the three-dimensional original model and the layered detailed list; generates an associated detailed list for each component part based on the same-level associated parts and cross-level associated parts; finally, generates a conventional detailed list of the three-dimensional drawing based on all component parts, and records the nested table obtained by associating the conventional detailed list, the layered detailed list and the associated detailed list as the detailed list of the three-dimensional drawing. The advantage of this is that by generating an associated detailed list of each component part based on the same-level associated parts and cross-level associated parts, and further obtaining the detailed list of the three-dimensional drawing through association and nesting, it is possible to ensure that the basic data of each part is included in the detailed list, and clearly mark the parts associated with each part and the parts associated with each part and at the same layer or different layers, which helps to improve the data analysis efficiency of users or designers based on the association relationship of each component when performing data analysis based on the three-dimensional drawing detailed list. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a functional block diagram of the system of the present invention;

[0038] Figure 2 is a flow chart of the steps of the method of the present invention;

[0039] Figure 3 It is a schematic flow chart of the component layering method of the present invention;

[0040] Figure 4 It is a schematic structural diagram of the electronic device of the present invention. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] Example 1, please refer to Figure 1 As shown, the present application provides a three-dimensional drawing detail list generation system, including a plane layered analysis module, a multi-component association module, and a detail list nesting generation module;

[0043] The plane layered analysis module is used to record the 3D model corresponding to the 3D drawing as the 3D original model; record the closed figures in the 3D drawing as the component section, and obtain the parts corresponding to each component section based on the 3D original model, and record them as component parts; obtain the layered detailed list of the 3D drawing using the component layering method based on all component sections and component parts;

[0044] See also Figure 3 As shown, the component layering method includes: numbering all component sections from small to large based on the area of ​​each component section; for any component section, obtaining the component section corresponding to the component section in the three-dimensional original model based on the three-dimensional original model, and recording it as the component part; obtaining the surface area of ​​the component part, and recording the value of the area of ​​the component section divided by the surface area of ​​the component part as the part ratio of the component section;

[0045] In the specific implementation process, for example, in a data processing, the surface area of ​​the component part is 5cm², the surface area of ​​the component part is 20cm², and the area of ​​the three-dimensional drawing is 50cm². Then, by calculation, the part ratio is 0.25 and the drawing ratio is 0.1; by obtaining the part ratio and the drawing ratio, the proportion of the component section in the three-dimensional drawing in the component part and the three-dimensional drawing can be obtained; the larger the part ratio and the drawing ratio, the larger the exposed part of the component part, that is, the more the component part is on the outside in the direction corresponding to the three-dimensional drawing in the three-dimensional original model; the smaller the part ratio and the drawing ratio, the smaller the exposed part of the component part, that is, the more the component part is on the inside in the direction corresponding to the three-dimensional drawing in the three-dimensional original model;

[0046] The value of the component section area divided by the area of ​​the three-dimensional drawing is recorded as the drawing scale of the component section; the part scale and drawing scale of all component sections are obtained; the maximum, minimum and average values ​​of all part scales are recorded as L max , L min and L sq , the maximum, minimum and average values ​​of all drawing scales are recorded as T max , T min and T sq ;

[0047] All parts whose proportions are in the interval [L min , L sq ] is recorded as A1, and all parts whose proportions are in the interval [L sq , L max] is recorded as A2; all the drawings with a scale in the interval [T min , T sq ] is recorded as B1, and all the drawings with the scale in the interval [T sq , T max ] is recorded as B2; the double proportion algorithm is used to obtain the component classification quantity, and the double proportion algorithm is , where h is the number of component levels;

[0048] In the specific implementation process, for example, in a data analysis, the proportion of all parts obtained is in the interval [L min , L sq ] is 5, and the proportion of all parts is in the interval [L sq , L max ] is recorded as 5, and all drawing scales are in the interval [T min , T sq ] is recorded as 3, and all drawing scales are in the interval [T sq , T max ] is 7, then by calculation, the number of component classifications is 3; by obtaining the number of component classifications based on the above data, it can be ensured that the obtained number of component classifications conforms to the distribution of the part ratio and the drawing ratio. When the number of part ratios or drawing ratios in a certain interval is large, the number of component analyses obtained will increase. When the distribution of part ratios or drawing ratios is more uniform, the number of component analyses obtained will decrease, so that the number of part sub-intervals LZ obtained is more in line with the actual situation;

[0049] The interval [L min , L max ] is evenly divided into the number of component classifications, and based on the maximum value in each portion, the obtained intervals are recorded as part sub-intervals LZ in descending order. 1 To part sub-interval LZ h ; The interval [T min , T max ] is evenly divided into the number of component classifications, and based on the maximum value in each portion, the obtained intervals are recorded as drawing sub-intervals TZ in descending order. 1 To the drawing sub-interval TZ h ;

[0050] For any component section, the component section part ratio and the drawing ratio of the component section part sub-interval LZ and the drawing sub-interval TZ are respectively recorded as part sub-interval LZ α And the drawing sub-interval TZ β; When α and β are equal, the number of layers of the component section is recorded as α, and the component section is marked as the αth layer section; when α and β are not equal, the number of layers of the component section is recorded as γ, and the component section is marked as the γth layer section, where γ is the maximum value between α and β;

[0051] A table of h+1 rows×F columns is established and recorded as a hierarchical detail table, wherein the leftmost column of the hierarchical detail table is filled with the 1st to the hth layer of sections from top to bottom except the first cell, and the top row of the hierarchical detail table is filled with the numbers of all component sections from left to right except the leftmost cell; based on the numbers of all component sections and the number of marked layers, the cell corresponding to each component section is checked in the hierarchical detail table. In the specific implementation process, the number of F is related to the number of component sections, that is, the number of component sections plus 1. For example, in actual data analysis, the obtained hierarchical detail table is shown in Table 1: Hierarchical detail table;

[0052] Table 1: Layered details

[0053] (Number of the component section) ...... (Number of the component section) Layer 1 cut surface ...... The hth slice

[0054] By building a layered detailed list, the position of the component parts corresponding to each component section in the three-dimensional drawing in the three-dimensional original model can be roughly marked, thereby assisting users or designers to understand the surface and inside relationship of each component part corresponding to the three-dimensional drawing, which helps users or designers to improve the efficiency of data acquisition when designing based on three-dimensional drawings, thereby improving work efficiency.

[0055] The multi-component association module is used to obtain the same-level associated parts and cross-level associated parts of each component part based on the original 3D model and the hierarchical detailed list; based on the same-level associated parts and cross-level associated parts, generate the associated detailed list of each component part;

[0056] The multi-component association module includes a component association analysis unit, and the component association analysis unit is configured with a component association analysis strategy. The component association analysis strategy includes:

[0057] For any component part P, the parts connected to the component part P are obtained based on the 3D original model and recorded as model parts; for any model part, when the model part is a component part, the model part is recorded as an associable part of the component part P;

[0058] For any component section Q, the component sections adjacent to the component section Q in the three-dimensional drawing are recorded as adjacent sections of the component section, and the component parts corresponding to all adjacent sections of the component section are recorded as the associable parts of the component parts corresponding to the component section Q;

[0059] Get the associated parts of all component parts;

[0060] For any associable part C of any component part, when the number of layers marked on the component section corresponding to the component part is the same as the number of layers marked on the component section corresponding to the associable part C, the associable part C is recorded as the same-level associable part of the component part; when the number of layers marked on the component section corresponding to the component part is different from the number of layers marked on the component section corresponding to the associable part C, the associable part C is recorded as the cross-level associable part of the component part;

[0061] In the specific implementation process, by dividing the associable parts of the component parts into same-level associated parts and cross-level associated parts, the parts related to the component parts can be divided in terms of levels, that is, the parts of the same layer are classified into one category, and the parts of different layers are classified into one category, which helps to assist users or designers to understand the spatial structure of the 3D original model in the direction of the 3D drawing in subsequent analysis;

[0062] A table of 3 rows × F columns is created and recorded as an associated detail list, wherein the leftmost column of the associated detail list is filled with the same-level associated parts and cross-level associated parts from top to bottom except the first cell, and the top row of the associated detail list is filled with the numbers of the component sections corresponding to each component part from left to right except the leftmost cell; based on the numbers of the component sections corresponding to all component parts, the same-level associated parts and cross-level associated parts, the same-level associated parts and cross-level associated parts corresponding to each component part are filled in the cells of the associated detail list;

[0063] In the specific implementation process, such as in actual data analysis, the obtained association detail table is shown in Table 2: Association Detail Table;

[0064] Table 2: Related details table

[0065] (Number of the component section) ...... (Number of the component section) Same level related parts Cross-level related parts

[0066] By organizing the same-level associated parts and cross-level associated parts corresponding to all component parts in the associated details list, it is helpful for users and designers to obtain the association relationship between each component part and other component parts in the 3D drawing based on the details list after obtaining the details list of the 3D drawing later, thereby improving users and designers' understanding of the 3D drawings and their work efficiency when working based on the 3D drawings.

[0067] The nested detail list generation module is used to generate a conventional detail list of a three-dimensional drawing based on all component parts, and record the nested table obtained by associating the conventional detail list, the layered detail list and the associated detail list as the detail list of the three-dimensional drawing;

[0068] The detailed table nested generation module includes a general table generation unit, and the general table generation unit is configured with a general table generation strategy. The general table generation strategy includes:

[0069] Obtain the part number, quantity and weight of all component parts, create a table of F rows × 4 columns, and record it as a general detailed table, wherein the leftmost column of the general detailed table is filled with the part names of all component parts from top to bottom except the top cell, and the top row of the general detailed table is filled with the part number, quantity and weight from left to right except the leftmost cell; fill in the corresponding data in the general detailed table based on the part number, quantity and weight of all component parts;

[0070] In the specific implementation process, such as in the actual data analysis, the conventional detailed list obtained is shown in Table 3: Conventional detailed list;

[0071] Table 3: General details

[0072] Part Number quantity weight (Part name of component part) ...... (Part name of component part)

[0073] In the specific implementation process, the columns in the general detailed list can be added, deleted or modified according to the data of the components and parts actually obtained, so as to ensure that the general detailed list can cover the basic data such as the size data and quantity data of all components and parts;

[0074] The conventional detail list, the layered detail list and the associated detail list are associated, and the resulting table is recorded as the detail list of the three-dimensional drawing;

[0075] The association method is as follows: add a new column in the regular detail table, record it as the layer column, fill in the number of layers in the top row of the layer column, fill in the corresponding sections of each component part in the layer column based on the cells checked in the layered detail table, where the sections include the 1st layer section to the hth layer section; in the leftmost column of the regular detail table, based on the associated detail table, mark the same-level associated parts and cross-level associated parts of each component part with connection lines;

[0076] In the specific implementation process, the detail list of the three-dimensional drawing is obtained by associating the conventional detail list, the layered detail list and the associated detail list. On the basis of ensuring that the basic data of each part is included in the detail list, the parts associated with each part and the parts associated with each part and on the same layer or different layers can be clearly marked. This helps to improve the data analysis efficiency of users or designers based on the association relationship of each component when they perform data analysis based on the three-dimensional drawing detail list.

[0077] Example 2, please refer to Figure 2 As shown, the present application also provides a method for generating a three-dimensional drawing list, comprising the following steps:

[0078] Step S1, recording the three-dimensional model corresponding to the three-dimensional drawing as the three-dimensional original model; recording the closed figure in the three-dimensional drawing as the component section, and obtaining the parts corresponding to each component section based on the three-dimensional original model, recording them as component parts; obtaining the layered detailed list of the three-dimensional drawing using the component layering method based on all the component sections and component parts;

[0079] The component layering method includes: step S101, numbering all component sections from small to large based on the area of ​​each component section; for any component section, obtaining the component section corresponding to the component section in the three-dimensional original model based on the three-dimensional original model, and recording it as a component part; obtaining the surface area of ​​the component part, and recording the value of the area of ​​the component section divided by the surface area of ​​the component part as the part ratio of the component section;

[0080] Step S102: record the value of the area of ​​the component section divided by the area of ​​the three-dimensional drawing as the drawing ratio of the component section; obtain the part ratios and drawing ratios of all component sections; record the maximum, minimum and average values ​​of all part ratios as L max , L min and L sq , the maximum, minimum and average values ​​of all drawing scales are recorded as T max , T min and T sq ;

[0081] Step S103, all parts whose proportions are in the interval [L min , L sq ] is recorded as A1, and all parts whose proportions are in the interval [L sq , L max ] is recorded as A2; all the drawings with a scale in the interval [T min , T sq ] is recorded as B1, and all the drawings with the scale in the interval [T sq , T max ] is recorded as B2; the double proportion algorithm is used to obtain the component classification quantity, and the double proportion algorithm is , where h is the number of component levels;

[0082] Step S104: min , L max ] is evenly divided into the number of component classifications, and based on the maximum value in each portion, the obtained intervals are recorded as part sub-intervals LZ in descending order. 1 To part sub-interval LZ h ; The interval [T min , T max] is evenly divided into the number of component classifications, and based on the maximum value in each portion, the obtained intervals are recorded as drawing sub-intervals TZ in descending order. 1 To the drawing sub-interval TZ h ;

[0083] Step S105: for any component section, the component sub-interval LZ and the drawing sub-interval TZ where the component section component ratio and the drawing ratio are located are recorded as the component sub-interval LZ α And the drawing sub-interval TZ β ; When α and β are equal, the number of layers of the component section is recorded as α, and the component section is marked as the αth layer section; when α and β are not equal, the number of layers of the component section is recorded as γ, and the component section is marked as the γth layer section, where γ is the maximum value between α and β;

[0084] Step S106, create a table of h+1 rows × F columns and record it as a hierarchical detail table, wherein the leftmost column of the hierarchical detail table is filled with the 1st layer section to the hth layer section from top to bottom except the first cell, and the top row of the hierarchical detail table is filled with the numbers of all component sections from left to right except the leftmost cell; based on the numbers of all component sections and the number of marked layers, check the cell corresponding to each component section in the hierarchical detail table.

[0085] Step S2, based on the original three-dimensional model and the hierarchical detailed list, obtain the same-level associated parts and cross-level associated parts of each component part; based on the same-level associated parts and cross-level associated parts, generate an associated detailed list of each component part;

[0086] Step S2 includes: step S201, for any component part P, based on the three-dimensional original model, obtaining a part connected to the component part P, and recording it as a model part; for any model part, when the model part is a component part, recording the model part as an associable part of the component part P;

[0087] Step S202, for any component section Q, the component sections adjacent to the component section Q in the three-dimensional drawing are recorded as adjacent sections of the component section, and the component parts corresponding to all adjacent sections of the component section are recorded as associable parts of the component parts corresponding to the component section Q;

[0088] Step S204, obtaining the associated parts of all component parts;

[0089] Step S205, for any associable part C of any component part, when the number of layers marked on the component section corresponding to the component part is the same as the number of layers marked on the component section corresponding to the associable part C, the associable part C is recorded as a same-level associable part of the component part; when the number of layers marked on the component section corresponding to the component part is different from the number of layers marked on the component section corresponding to the associable part C, the associable part C is recorded as a cross-level associable part of the component part;

[0090] Step S206, create a table of 3 rows × F columns and record it as an associated detail list, wherein the leftmost column of the associated detail list, except the first cell, is filled with the same-level associated parts and cross-level associated parts from top to bottom, and the top row of the associated detail list, except the leftmost cell, is filled with the number of the component section corresponding to each component part from left to right; based on the number of the component section corresponding to all component parts, the same-level associated parts and cross-level associated parts, the same-level associated parts and cross-level associated parts corresponding to each component part are filled in the cells of the associated detail list.

[0091] Step S3, generating a conventional detail list of the three-dimensional drawing based on all components and parts, and recording a nested table obtained by associating the conventional detail list, the layered detail list and the associated detail list as the detail list of the three-dimensional drawing; Step S3 includes:

[0092] Step S301, obtaining the part number, quantity and weight of all component parts, creating a table of F rows × 4 columns, and recording it as a regular detailed table, wherein the leftmost column of the regular detailed table is filled with the part names of all component parts from top to bottom except the top cell, and the top row of the regular detailed table is filled with the part number, quantity and weight from left to right except the leftmost cell; the corresponding data is filled in the regular detailed table based on the part number, quantity and weight of all component parts;

[0093] Step S302, associating the conventional detail list, the layered detail list and the associated detail list, and recording the obtained table as the detail list of the three-dimensional drawing;

[0094] The association method is: add a new column in the general detail table, record it as the layer column, fill in the number of layers in the top row of the layer column, fill in the corresponding sections of each component part in the layer column based on the checked cells in the layered detail table, where the sections include the 1st layer section to the hth layer section; in the leftmost column of the general detail table, based on the associated detail table, mark the same-level associated parts and cross-level associated parts of each component part with connection lines.

[0095] Example 3, please refer to Figure 4 As shown, Figure 4The structural schematic diagram of an electronic device is illustrated, and the electronic device may include: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus. The memory stores computer-readable instructions, and the processor may call the instructions in the memory. When the computer-readable instructions are executed by the processor, the steps in a method for generating a three-dimensional drawing list are executed to achieve the following functions: first, the three-dimensional model corresponding to the three-dimensional drawing is recorded as a three-dimensional original model; the closed figure in the three-dimensional drawing is recorded as a component section, and the parts corresponding to each component section are obtained based on the three-dimensional original model, and recorded as component parts; based on all component sections and component parts, a hierarchical list of the three-dimensional drawing is obtained using a component hierarchical method; then, based on the three-dimensional original model and the hierarchical list, the same-level associated parts and cross-level associated parts of each component part are obtained; based on the same-level associated parts and cross-level associated parts, an associated list of each component part is generated; finally, a conventional list of the three-dimensional drawing is generated based on all component parts, and the nested table obtained by associating the conventional list, the hierarchical list and the associated list is recorded as the list of the three-dimensional drawing.

[0096] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0097] Embodiment 4, the present application also provides a computer-readable storage medium, the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method for generating a three-dimensional drawing detail list are executed to achieve the following functions: first, the three-dimensional model corresponding to the three-dimensional drawing is recorded as the three-dimensional original model; the closed figure in the three-dimensional drawing is recorded as the component section, and the components corresponding to each component section are obtained based on the three-dimensional original model, and recorded as component parts; based on all component sections and component parts, a hierarchical detail list of the three-dimensional drawing is obtained using a component hierarchical method; then, based on the three-dimensional original model and the hierarchical detail list, the same-level associated parts and cross-level associated parts of each component part are obtained; based on the same-level associated parts and cross-level associated parts, an associated detail list of each component part is generated; finally, a regular detail list of the three-dimensional drawing is generated based on all component parts, and the nested table obtained by associating the regular detail list, the hierarchical detail list and the associated detail list is recorded as the detail list of the three-dimensional drawing.

[0098] Through the description of the above implementation methods, the embodiments of the present invention can be provided as methods, systems or computer program products. Based on such an understanding, the above technical solutions can be essentially or partly contributed to the prior art in the form of software products, which can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and include several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0099] In the embodiments provided in the present application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of systems, modules and units can be electrical, mechanical or other forms.

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating a three-dimensional drawing list, characterized in that: The steps include: The three-dimensional model corresponding to the three-dimensional drawing is recorded as the three-dimensional original model; the closed figure in the three-dimensional drawing is recorded as the component section, and the parts corresponding to each component section are obtained based on the three-dimensional original model and recorded as component parts; Obtain a hierarchical list of 3D drawings based on all component sections and component parts using the component hierarchical method; Based on the original 3D model and the hierarchical details list, obtain the same-level associated parts and cross-level associated parts of each component part; Generate an associative list of each component part based on the same-level associative parts and cross-level associative parts; Generate a general detail list of the three-dimensional drawing based on all components and parts, and record the nested table obtained by associating the general detail list, the layered detail list and the associated detail list as the detail list of the three-dimensional drawing; The component layering method includes: All component sections are numbered from small to large based on the area of ​​each component section; for any component section, the component section corresponding to the component section in the three-dimensional original model is obtained based on the three-dimensional original model, and recorded as the component part; the surface area of ​​the component part is obtained, and the value of the area of ​​the component section divided by the surface area of ​​the component part is recorded as the part ratio of the component section; The value of the component section area divided by the area of ​​the three-dimensional drawing is recorded as the drawing scale of the component section; the part scale and drawing scale of all component sections are obtained; the maximum, minimum and average values ​​of all part scales are recorded as L max , L min and L sq , the maximum, minimum and average values ​​of all drawing scales are recorded as T max , T min and T sq ; The component layering method includes: All parts whose proportions are in the interval [L min , L sq ] is recorded as A1, and all parts whose proportions are in the interval (L sq , L max ] is recorded as A2; all the drawings with a scale in the interval [T min , T sq ] is recorded as B1, and all the drawings with the ratio in the interval (T sq , T max ] is recorded as B2; the double proportion algorithm is used to obtain the component classification quantity, and the double proportion algorithm is , where h is the number of component levels; The interval [L min , L max ] is evenly divided into the number of component classifications, and based on the maximum value in each portion, the obtained intervals are recorded in descending order as part sub-intervals LZ1 to part sub-intervals LZ h ; The interval [T min , T max ] is evenly divided into the number of component classifications, and based on the maximum value in each portion, the obtained intervals are recorded in descending order as drawing sub-intervals TZ1 to drawing sub-intervals TZ h ; The component layering method includes: For any component section, the component section part ratio and the drawing ratio of the component section part sub-interval LZ and the drawing sub-interval TZ are respectively recorded as part sub-interval LZ α And the drawing sub-interval TZ β ; When α and β are equal, the number of layers of the component section is recorded as α, and the component section is marked as the αth layer section; when α and β are not equal, the number of layers of the component section is recorded as γ, and the component section is marked as the γth layer section, where γ is the maximum value between α and β; A table of h+1 rows × F columns is created and recorded as a hierarchical detail table, wherein the leftmost column of the hierarchical detail table is filled with the 1st to hth layer sections from top to bottom except the first cell, and the top row of the hierarchical detail table is filled with the numbers of all component sections from left to right except the leftmost cell; based on the numbers of all component sections and the number of marked layers, the cell corresponding to each component section in the hierarchical detail table is checked.

2. A method for generating a three-dimensional drawing list according to claim 1, characterized in that: Based on the original 3D model and the hierarchical details list, obtain the same-level associated parts and cross-level associated parts of each component part; Generate an associative parts list for each component part based on the same-level associative parts and cross-level associative parts, including: For any component part P, the parts connected to the component part P are obtained based on the 3D original model and recorded as model parts; for any model part, when the model part is a component part, the model part is recorded as an associable part of the component part P; For any component section Q, the component sections adjacent to the component section Q in the three-dimensional drawing are recorded as adjacent sections of the component section, and the component parts corresponding to all adjacent sections of the component section are recorded as the associable parts of the component parts corresponding to the component section Q; Get the associable parts of all component parts.

3. A method for generating a three-dimensional drawing list according to claim 2, characterized in that: Based on the original 3D model and the hierarchical details list, obtain the same-level associated parts and cross-level associated parts of each component part; The associative parts list for each component part generated based on the same-level associative parts and cross-level associative parts also includes: For any associable part C of any component part, when the number of layers marked on the component section corresponding to the component part is the same as the number of layers marked on the component section corresponding to the associable part C, the associable part C is recorded as the same-level associable part of the component part; when the number of layers marked on the component section corresponding to the component part is different from the number of layers marked on the component section corresponding to the associable part C, the associable part C is recorded as the cross-level associable part of the component part; A table of 3 rows × F columns is created and recorded as an associated detail list, wherein the leftmost column of the associated detail list is filled with the same-level associated parts and cross-level associated parts from top to bottom except the first cell, and the top row of the associated detail list is filled with the component section number corresponding to each component part from left to right except the leftmost cell; based on the component section numbers corresponding to all component parts, the same-level associated parts and cross-level associated parts, the same-level associated parts and cross-level associated parts corresponding to each component part are filled in the cells of the associated detail list.

4. A method for generating a three-dimensional drawing list according to claim 3, characterized in that: Generate a general schedule of 3D drawings based on all components and parts, and associate the general schedule, hierarchical schedule, and associated schedule to obtain a nested table as the schedule of 3D drawings, including: Obtain the part number, quantity and weight of all component parts, create a table of F rows × 4 columns, and record it as a general detailed table, wherein the leftmost column of the general detailed table is filled with the part names of all component parts from top to bottom except the top cell, and the top row of the general detailed table is filled with the part number, quantity and weight from left to right except the leftmost cell; fill in the corresponding data in the general detailed table based on the part number, quantity and weight of all component parts; The conventional detail list, the layered detail list and the associated detail list are associated, and the resulting table is recorded as the detail list of the three-dimensional drawing; The association method is: add a new column in the general detail table, record it as the layer column, fill in the number of layers in the top row of the layer column, fill in the corresponding sections of each component part in the layer column based on the checked cells in the layered detail table, where the sections include the 1st layer section to the hth layer section; in the leftmost column of the general detail table, based on the associated detail table, mark the same-level associated parts and cross-level associated parts of each component part with connection lines.

5. A three-dimensional drawing list generation system, used to implement a three-dimensional drawing list generation method according to any one of claims 1 to 4, characterized in that: It includes plane layer analysis module, multi-component association module and detail list nesting generation module; The plane layered analysis module is used to record the three-dimensional model corresponding to the three-dimensional drawing as the three-dimensional original model; record the closed figures in the three-dimensional drawing as the component section, and obtain the parts corresponding to each component section based on the three-dimensional original model, which are recorded as component parts; Obtain a hierarchical list of 3D drawings based on all component sections and component parts using the component hierarchical method; The multi-component association module is used to obtain the same-level associated parts and cross-level associated parts of each component part based on the 3D original model and the hierarchical details list; Generate an associative list of each component part based on the same-level associative parts and cross-level associative parts; The nested detail list generation module is used to generate a conventional detail list of a three-dimensional drawing based on all component parts, and record the nested table obtained by associating the conventional detail list, the layered detail list and the associated detail list as the detail list of the three-dimensional drawing.

6. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 4 are executed.

7. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are executed.

Citation Information

Patent Citations

  • Method, device and equipment for creating detailed statement in engineering drawing and readable storage medium

    CN116306539A

  • Drawing detail table generation method and device, equipment, storage medium and program product

    CN119203951A