A 3D model part number determination method, device, equipment and medium

CN117272414BActive Publication Date: 2026-10-09SHANGHAI HONGKE SHENGRUI SOFTWARE TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311104079.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-30
Publication Date
2026-10-09
Estimated Expiration
2043-08-30

AI Technical Summary

Technical Problem

[0005]本发明提供一种3D模型零部件编号确定方法、装置、设备及介质,用以解决现有技术中由于无论通过唯一标识还是属性值的方式均无法将零件、构件进行准确的编号导致数据统计汇总不够准确的技术问题,以实现通过基本属性、几何形状多次进行零部件信息确定的方式提高数据统计准确性的目的

Benefits of technology

[0017] This invention provides a method, apparatus, device, and medium for determining component numbers in a 3D model. The method includes: acquiring basic attribute information of multiple parts in a 3D model; determining a first category of parts based on the basic attribute information of the multiple parts; determining a second category of parts based on the geometric shape information of the first category of parts; and assigning the same number to the second category of parts. The first category of parts consists of purchased parts and/or beam/slab/column-type parts with the same basic attribute information; the second category of parts consists of purchased parts and/or beam/slab/column-type parts with the same basic attribute information and the same geometric shape. The method provided by this invention, by confirming the basic attribute information, can filter out parts with different attributes. For identical parts, further confirmation based on geometric shape information can accurately determine their corresponding numbers, improving the accuracy of part aggregation statistics and the efficiency of number processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117272414B_ABST
    Figure CN117272414B_ABST
Patent Text Reader

Abstract

The application provides a 3D model part number determination method, device, equipment and medium, and the method comprises the following steps: acquiring basic attribute information of multiple parts in a 3D model; determining first type parts according to the basic attribute information of the multiple parts; determining second type parts according to geometric shape information of the first type parts, and determining the same number for the second type parts; wherein the first type parts are purchasing parts and / or beam plate column type parts with the same basic attribute information; and the second type parts are purchasing parts and / or beam plate column type parts with the same basic attribute information and the same geometric shape. According to the method provided by the application, a part of parts with different attributes can be screened out through the confirmation of the basic attribute information, and the same parts are further confirmed according to the geometric shape information, so that the corresponding number of the parts can be accurately determined, and the accuracy of part summary statistics and the processing efficiency of the number are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of 3D model design technology, and in particular to a method, apparatus, equipment and medium for determining the part numbering of a 3D model. Background Technology

[0002] In the 3D CAD digital model design process, it is necessary to compare the model's geometry, physical properties, and processing methods to confirm whether the comparison objects are the same. If they are the same, they are numbered accordingly. Numbering is an important part of the process from design to manufacturing. Accurate numbering results can avoid duplicate processing drawings and annotations, merge internal parts, reduce production preparation time, improve manufacturing efficiency, and reduce costs.

[0003] Currently, there are two common methods for handling part numbers. One method uses a unique identifier (GUID) to distinguish parts. During the 3D modeling process and after model creation, a globally unique identifier (GUID GloballyUnique Identifier, or ID for short) is generated for each model. The model's ID is used to determine if they belong to the same object. The other common method is to differentiate parts based on specific attributes, comparing attribute values ​​for statistical analysis. This method is more common in mechanical 3D products, typically defining a part code attribute. When part codes are the same, a Bill of Materials (BOM) summary is performed.

[0004] Existing technologies, whether using unique identifiers or attribute values, have their limitations. For example, with GUIDs, if a model is created using different modeling methods, on different devices, and at different times, even if it represents the same geometric shape and attributes, its GUID will be different. For attribute values, ensuring different attribute values ​​for different objects generally requires users to define the coding method carefully, which places high demands on users. Therefore, both GUIDs and attribute fields are difficult to meet the requirements of design change processes. For example, if the same part is designed initially, it may need to be modified later, and manual management makes it difficult to guarantee data accuracy. Neither GUIDs nor attribute fields provide sufficiently accurate identification, and manual maintenance is labor-intensive, making it difficult to flexibly meet user needs. Summary of the Invention

[0005] This invention provides a method, apparatus, device, and medium for determining the part number of a 3D model, in order to solve the technical problem in the prior art where the inability to accurately number parts and components, whether through unique identifiers or attribute values, leads to inaccurate data statistics and summarization. The invention aims to improve the accuracy of data statistics by determining part information multiple times through basic attributes and geometric shapes.

[0006] In a first aspect, the present invention provides a method for determining the part numbering of a 3D model, comprising: Obtain basic attribute information of multiple parts in a 3D model; The first type of parts is determined based on the basic attribute information of the multiple parts; The second type of parts are determined based on the geometric shape information of the first type of parts, and the same number is assigned to the second type of parts; The first type of parts are purchased parts with the same basic attribute information and / or beam, slab and column parts; the second type of parts are purchased parts with the same basic attribute information and the same geometric shape and / or beam, slab and column parts.

[0007] Furthermore, according to the 3D model component numbering method provided by the present invention, the method further includes: Obtain BOM information for multiple components; Based on the part number information and quantity information in the BOM information of the multiple components, the first type of components with the same BOM information are identified; Compare the relative position information of each part in the first type of components, and assign the same number to the first type of components with the same relative position information.

[0008] Furthermore, according to the 3D model component numbering method provided by the present invention, the basic attribute information includes at least the component's specifications, dimensions, and label information. The step of determining the first type of component based on the basic attribute information of the plurality of components includes: When the multiple parts are purchased parts, the parts with the same designation and size are identified as the first type of parts; When the multiple parts are beams, slabs, or columns, the parts with the same specifications and dimensions among the multiple parts are identified as the first type of parts.

[0009] Furthermore, according to the 3D model component numbering method provided by the present invention, determining the second type of component based on the geometric shape information of the first type of component includes: Based on the global coordinate system method, the minimum envelope size of the first type of part in any spatial coordinate system is determined; Given the same minimum envelope size, the volume of the first type of part is determined using the BREP solid modeling method. Given the same volume, the second type of part is determined based on the BREP face set method and the BREP vertex set method.

[0010] Furthermore, according to the 3D model component numbering method provided by the present invention, the step of determining the second type of component based on the BREP face set method and the BREP vertex set method when the volumes are the same includes: The face and vertex information of the first type of part geometry are obtained based on the BREP face set method and the BREP vertex set method. When the face information and vertex information are the same, a second type of part with the same geometric shape is determined.

[0011] Furthermore, according to the 3D model component number determination method provided by the present invention, the step of determining the first type of components with the same BOM information based on the part number information and quantity information in the BOM information of the plurality of components includes: Compare the main part numbers in the BOM information of the multiple components; When the main part numbers in the BOM information of the multiple components are the same, the secondary part number information and the corresponding quantity information are compared. When the part number information and the corresponding quantity information are the same, this type of component is determined to be the first type of component with the same BOM information.

[0012] Furthermore, according to the 3D model component numbering method provided by the present invention, the step of comparing the relative position information of each part in the first type of components and assigning the same number to the first type of components with the same relative position information includes: Transform the first type of components to the same coordinate system and determine the minimum envelope size of the components in the first type of components; When the minimum envelope size of the components is the same, compare the principal moments of inertia of the relative centroids of the first type of components; When the principal moments of inertia of the relative centroids are the same, compare the position and orientation of the parts relative to the component coordinate system; The first type of components, whose positions and orientations are the same in the relative component coordinate system, are identified as components with the same relative position information and assigned the same number.

[0013] Secondly, the present invention also provides a 3D model component numbering determination device, comprising: The acquisition module is used to acquire basic attribute information of multiple parts in a 3D model; The first determining module is used to determine a first type of part based on the basic attribute information of the plurality of parts; The second determining module is used to determine the second type of parts based on the geometric shape information of the first type of parts, and to assign the same number to the second type of parts; The first type of parts are purchased parts with the same basic attribute information and / or beam, slab and column parts; the second type of parts are purchased parts with the same basic attribute information and the same geometric shape and / or beam, slab and column parts.

[0014] Thirdly, the present invention also provides an electronic device, comprising: a processor, a memory, and a bus, wherein, The processor and the memory communicate with each other via the bus; The memory stores program instructions that can be executed by the processor, and the processor can call the program instructions to perform the steps of the 3D model component number determination method as described above.

[0015] Fourthly, the present invention also provides a non-transitory computer-readable storage medium storing computer instructions that cause a computer to execute the steps of the 3D model component number determination method described above.

[0016] Fifthly, the present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the 3D model component number determination method as described in any of the preceding claims.

[0017] This invention provides a method, apparatus, device, and medium for determining component numbers in a 3D model. The method includes: acquiring basic attribute information of multiple parts in a 3D model; determining a first category of parts based on the basic attribute information of the multiple parts; determining a second category of parts based on the geometric shape information of the first category of parts; and assigning the same number to the second category of parts. The first category of parts consists of purchased parts and / or beam / slab / column-type parts with the same basic attribute information; the second category of parts consists of purchased parts and / or beam / slab / column-type parts with the same basic attribute information and the same geometric shape. The method provided by this invention, by confirming the basic attribute information, can filter out parts with different attributes. For identical parts, further confirmation based on geometric shape information can accurately determine their corresponding numbers, improving the accuracy of part aggregation statistics and the efficiency of number processing. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the overall process of a method for determining 3D model components provided by the present invention; Figure 2 This is a schematic diagram illustrating the specific process of part numbering based on basic attributes provided by the present invention; Figure 3 This is a schematic diagram illustrating the specific process of part numbering based on geometric shape information provided by the present invention; Figure 4 This is an example of part numbering based on geometric shape information provided by the present invention; Figure 5 This is a schematic diagram illustrating the specific process of numbering components based on their BOM, as provided by the present invention. Figure 6 This is a schematic diagram illustrating the specific process of numbering components based on their relative positions, as provided by the present invention. Figure 7 This is an example of the basic properties of steel structure design provided by the present invention; Figure 8 This is an example of the numbering information provided by the present invention; Figure 9 This is an example of a parts list provided by the present invention; Figure 10 This is an example of a defined bolt provided by the present invention; Figure 11 This is an example of a defined bolt provided by the present invention; Figure 12 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0021] In order to gain a fuller understanding of the technical methods disclosed in this invention, the prior art and the technical problems to be solved by this invention will now be described in detail.

[0022] As mentioned above, existing technologies often use unique identifiers or attribute fields to determine part structures during 3D modeling. Both methods have limitations, primarily: 1. The limitation of using a unique identifier (GUID) lies in the fact that the GUID is generated when the model is created. If the model is created using different modeling methods, on different devices, or at different times, even if the geometry and attributes of the model are the same, its GUID will be different.

[0023] 2. When using attribute fields, it is necessary to ensure that the attributes are assigned values ​​and that the attribute values ​​are different for different objects. Generally, users need to define these values ​​in the coding method, which places high demands on users.

[0024] It is evident that both unique identifiers and attribute fields are insufficient to meet the requirements during design changes. For example, parts designed initially may require modifications later, and manual management cannot guarantee data accuracy. Furthermore, the number of components in steel structure detailed design is enormous, and the components exhibit high similarity, such as differences in profile size and length, plate edge length, presence of chamfers, and openings. Moreover, considering that some model features (such as openings) are completed on-site, whether numbering is based on the factory condition or the final form will vary depending on user needs. Manual maintenance using unique identifiers or attribute values ​​is labor-intensive and inflexible in meeting user requirements.

[0025] Based on the aforementioned problems and needs, this invention employs different numbering methods for parts and components: For parts, the factors affecting classification are compared and filtered one by one to identify identical parts; from a technical perspective, it is necessary to determine the content and methods of comparison. For components (assemblies), the first comparison is whether the parts they are composed of are the same. Secondly, it's determined whether the relationships (positions) between the parts within the component are completely identical. Then, it's determined whether the number and composition of the parts are the same, and whether the relative positions of each part are identical; if they are completely identical, they are considered the same component. Furthermore, for parts that have already been initially numbered, how to handle existing and new numbering when the design changes is also crucial. This invention creates labels for parts and components. When modifications affect the numbering, the label value is changed, triggering a re-comparison during the next numbering. Numbering is created for parts and components according to user-defined naming rules and numbering sorting methods. For scenarios involving on-site openings, an option to consider openings in the numbering is added, further considering modeling accuracy and allowable errors in actual processing, adding a tolerance consideration option. This is specifically implemented through the method provided in this invention.

[0026] Figure 1 This invention provides an overall flowchart and a detailed flowchart of a method for determining the part number of a 3D model, as shown below. Figure 1 As shown, the present invention provides a method for determining the component numbering of a 3D model, specifically including: Step S101: Obtain the basic attribute information of multiple parts in the 3D model; Step S102: Determine the first type of parts based on the basic attribute information of the multiple parts; Step S103: Determine the second type of parts based on the geometric shape information of the first type of parts, and assign the same number to the second type of parts; The first type of parts are purchased parts with the same basic attribute information and / or beam, slab and column parts; the second type of parts are purchased parts with the same basic attribute information and the same geometric shape and / or beam, slab and column parts.

[0027] In this embodiment, it is necessary to determine whether two part objects are the same and assign different numbers to different objects. First, the basic attribute information of multiple parts in the 3D model is obtained. Basic attribute information refers to non-geometric attribute information, such as part number and specification size information. Based on the basic attribute information of each part, it is determined whether they belong to the same category of parts. Parts with the same specification size are identified as the first category of parts, and parts with different specification sizes are assigned different numbers. For the identified first category of parts, further judgment and analysis are needed based on their geometric shape information. First category of parts with the same geometric shape information are identified as the second category of parts, and the same number is assigned to the second category of parts. First category of parts with different geometric shape information are assigned different numbers respectively.

[0028] It should be noted that the first category of parts refers to purchased parts and / or beam, slab, and column parts with the same basic attribute information, while the second category of parts refers to purchased parts and / or beam, slab, and column parts with the same basic attribute information and the same geometry. The situation with parts is more complex; determining whether two parts are identical involves a two-level comparison. First, a comparison is made based on non-geometric attributes to filter out differences; then, for grouped items with the same attributes, their geometric shapes are compared to see if they are identical. For example, in the design of steel structures... Figure 2 As shown, the materials mainly consist of beams, slabs, and columns, as well as purchased components (such as fasteners). Purchased components are categorized according to their designations and dimensions. The main focus is on the classification and summarization of beams, slabs, and columns. Hot-rolled profiles or welded profiles made from plates used in steel structures are classified and statistically analyzed based on their dimensions, such as hot-rolled angle steel L200*125*16 and welded H-beams H550*400*11*18. For plates, the thickness is considered. The material grade for profiles is Q345. The method for judging and analyzing the second type of parts based on geometric shape information will not be described in detail here; please refer to the following embodiments for details.

[0029] This invention provides a method for determining the component numbers in a 3D model. The method involves acquiring basic attribute information of multiple parts in a 3D model; determining a first category of parts based on the basic attribute information; determining a second category of parts based on the geometric shape information of the first category of parts; and assigning the same number to the second category of parts. The first category of parts consists of purchased parts and / or beam / slab / column-type parts with the same basic attribute information; the second category of parts consists of purchased parts and / or beam / slab / column-type parts with the same basic attribute information and the same geometric shape. This method, by confirming the basic attribute information, can filter out parts with different attributes. For identical parts, further confirmation based on geometric shape information accurately determines their corresponding numbers, improving the accuracy of part aggregation and the efficiency of numbering processing.

[0030] Based on any of the above embodiments, in one embodiment of the present invention, the basic attribute information includes at least the specifications, dimensions, and designation information of the parts, and the step of determining the first type of parts based on the basic attribute information of the plurality of parts includes: When the multiple parts are purchased parts, the parts with the same designation and size are identified as the first type of parts; When the multiple parts are beams, slabs, or columns, the parts with the same specifications and dimensions among the multiple parts are identified as the first type of parts.

[0031] In this embodiment, it is necessary to determine the basic attribute information of the parts. This basic attribute information includes at least the part's specifications and designation. Then, multiple parts are classified according to their basic attribute information. For purchased parts, parts with the same designation and specifications are identified as the first category of parts. For parts with at least one different designation or specification, different numbers are assigned to them. For beam, slab, and column parts, parts with the same specifications are identified as the first category of parts. Parts with different specifications are directly assigned different numbers and are no longer included in the geometric shape information judgment and analysis.

[0032] The method for determining the part number of a 3D model provided by the present invention can improve the efficiency and accuracy of part number determination by judging and analyzing the basic attribute information of the part.

[0033] Based on any of the above embodiments, in one embodiment of the present invention, such as Figure 3-4 As shown, determining the second type of parts based on the geometric shape information of the first type of parts includes: Based on the global coordinate system method, the minimum envelope size of the first type of part in any spatial coordinate system is determined; Given the same minimum envelope size, the volume of the first type of part is determined using the BREP solid modeling method. Given the same volume, the second type of part is determined based on the BREP face set method and the BREP vertex set method; Among them, the determination of the second type of part based on the BREP face set method and the BREP vertex set method when the volume is the same includes: The face and vertex information of the first type of part geometry are obtained based on the BREP face set method and the BREP vertex set method. When the face information and vertex information are the same, a second type of part with the same geometric shape is determined.

[0034] In this embodiment, for part objects that are identified as identical based on basic attribute information, it is also necessary to determine whether their geometric shapes are identical, and then determine the second type of part based on the geometric shape information. To optimize the efficiency of the comparison, the rule to be followed is macroscopic to detailed. First, the minimum envelope size of the first type of part is compared. If the minimum envelope size is the same, the volumes of the two parts are compared. If the volumes are the same, it is then determined whether the faces and vertices of the parts (solids) are the same.

[0035] In this embodiment, the minimum envelope size is determined using the BoudingBox method, a method based on a global coordinate system, specifically the bounding box size (left dashed box) parallel to the XY / YZ / ZX plane. Often, this size does not reflect the true size of the object. In the part comparison algorithm of this invention, the minimum envelope size of the part in any coordinate system in space needs to be calculated. In the field of computer vision, Bounding Box is a widely used technique. A Bbox is a box that surrounds a target and is commonly used in target detection tasks in computer vision algorithms. Bbox is an edge detection method in computer vision; by using Bbox, target objects can be identified and located more accurately.

[0036] It should be noted that, given that the minimum envelope size is the same, the volume of the first type of part needs to be determined based on the BREP solid modeling method. In the BREP solid modeling method, obtaining the volume API is a basic function. Since the materials of the parts being compared in the previous material comparison step have the same density, some different items can be filtered out by comparing the volumes.

[0037] When volumes are the same, solid surface comparisons are performed. The `BRepFaceCollection` and `BrepVertexCollection` methods can be used to obtain the face and vertex information of the geometry, respectively, and the corresponding spatial coordinates (x, y, z) values ​​of the vertices, which are stored in the corresponding data structures. When comparing faces and vertices, it is necessary to compare the face area, face normals, edge lengths, and edge directions. The comparison method follows a macro-to-detail strategy, including the number of faces and vertices and a list of face areas. Since the initial position of the parts is in 3D space, the comparison objects need to be transformed to the same coordinate system during comparison. Parts with the same minimum envelope size, volume, and identical face and vertex information are identified as the second type of parts and assigned the same number.

[0038] The method for determining the part number of a 3D model provided by the present invention can improve the efficiency and accuracy of part number determination by further judging and analyzing the geometric shape information of the part.

[0039] Based on any of the above embodiments, in one embodiment of the present invention, such as Figure 5-6 As shown, the method further includes: Obtain BOM information for multiple components; Based on the part number information and quantity information in the BOM information of the multiple components, the first type of components with the same BOM information are identified; Compare the relative position information of each part in the first type of components, and assign the same number to the first type of components with the same relative position information; The step of determining the first type of components with the same BOM information based on the part number information and quantity information in the BOM information of the multiple components includes: Compare the main part numbers in the BOM information of the multiple components; When the main part numbers in the BOM information of the multiple components are the same, the secondary part number information and the corresponding quantity information are compared. When the part number information and the corresponding quantity information are the same, this type of component is determined to be the first type of component with the same BOM information.

[0040] In this embodiment, after numbering the parts, it is also necessary to number the components. A preliminary analysis is needed based on the Bill of Materials (BOM) generated from the part numbers. A component is formed when one or more parts are connected together by welding or bolts. In this embodiment, component comparison can be divided into BOM comparison and comparison of the relative positions of the parts within the component. Specifically, by comparing the component's BOM, the first type of component can be determined. After numbering the parts, the composition of the component and its BOM can be basically determined. The part (name) numbers and quantities in the BOMs are compared. Only when the part numbers and quantities in the component's BOM are the same is this type of component identified as the first type. It should be noted that, if... Figure 5 As shown, the BOM needs to first compare the main part numbers in the BOM information of multiple components. When the main part numbers in the BOM information of multiple components are the same, the secondary part number information and the corresponding quantity information are compared. Only when the main part number information, secondary part number information and the corresponding quantity information are all the same, this type of component is determined to be the first type of component with the same BOM information.

[0041] It should be noted that, according to industry design specifications, users will assign different numbering prefixes to components based on their functions (purposes), such as GZ for structural columns, TB for stair slabs, and GL for lintels. The numbering prefix of a component is determined by the component numbering rules of its main parts.

[0042] It should be noted that after comparing the BOMs, for components that are identified as having the same BOM, it is necessary to further compare and determine their numbers. Specifically, this can be confirmed by comparing the relative position information of the parts in each component, as shown in the following embodiments, which will not be described in detail here.

[0043] According to the 3D model component number determination method provided by the present invention, the components are initially screened based on the BOM table with the component numbers determined, and different numbers are assigned to different components. The same components need to be further compared and confirmed, which improves the efficiency of component screening and comparison.

[0044] Based on any of the above embodiments, in this embodiment, as Figure 6 As shown, comparing the relative position information of each part in the first type of components and assigning the same number to the first type of components with the same relative position information includes: Transform the first type of components to the same coordinate system and determine the minimum envelope size of the components in the first type of components; When the minimum envelope size of the components is the same, compare the principal moments of inertia of the relative centroids of the first type of components; When the principal moments of inertia of the relative centroids are the same, compare the position and orientation of the parts relative to the component coordinate system; The first type of components, whose positions and orientations are the same in the relative component coordinate system, are identified as components with the same relative position information and assigned the same number.

[0045] In this embodiment, assuming the two components have the same BOM, the relative positions of all parts within the components must also be the same. In this embodiment, when comparing two components with the same BOM, they need to be transformed to the same coordinate system to determine the minimum envelope size of the two first-type components. If the minimum envelope sizes of the two first-type components are the same, their principal moments of inertia relative to their centroids are further compared. If the principal moments of inertia are the same, the positions and orientations of the parts relative to the component coordinate system need to be compared. First-type components whose positions and orientations are the same relative to the component coordinate system are identified as components with the same relative position information and assigned the same number. It should be noted that when determining the envelope size of a component, the bounding box coordinate system corresponding to the minimum envelope size of the main part can be used to define the reference coordinate system of the entire component.

[0046] According to the 3D model component numbering method provided by the present invention, by assigning the same number to the first type of components determined based on the relative position information of the parts in the component, the efficiency of component screening and comparison is improved, the accuracy of the numbering is guaranteed, the guarantee for subsequent production is provided, and the production cost is reduced.

[0047] Based on any of the above embodiments, in another embodiment of the present invention, the specific design flow of the present invention is as follows: 1. Design Phase Users can use the steel structure design function to complete the design of steel structures, including beams, slabs, and columns, define welded or bolted connections, define node connections, and obtain specific basic attribute information such as... Figure 7 As shown.

[0048] from Figure 7 As can be seen from the UI of the attribute panel, when creating parts during the design phase, the profile model, material, and its part and component prefix selected by the user will be saved as attributes. These attributes are the first things to be compared when numbering later.

[0049] 2. Numbering Based on the selection of the entire graphic, or the user selecting objects to be numbered, the numbering command is executed. Users can choose whether to compare hole information; if this is not checked, the influence of holes on the numbering will be ignored. Additionally, an ascending / descending order rule is set during numbering. In actual projects, users typically number objects sequentially from closest to furthest from the origin. See [link to specific numbering information] for details. Figure 8 The content shown.

[0050] 3. Numbering Results This invention includes a BOM (Bill of Materials) function, which conveniently outputs the results after part numbering. It supports defining the BOM output format, and users can select the output field content. For example... Figure 9 As shown, the results of the numbering in this embodiment include the part number and the component number to which it belongs. The numbering results are stored in CSV format, and users can output them as a table or place them in engineering drawings.

[0051] The 3D model component numbering determination method provided in this embodiment solves the problem of statistical summary of parts and components in steel structure design. In the test case using the 3D model component numbering determination method provided by this invention, the design of thousands of parts and components can be numbered in just tens of seconds. It is almost impossible to complete the numbering by manual means.

[0052] In one embodiment of the invention, the options for "holes" are compared. For example, hole processing can be divided into workshop processing and on-site processing. If it is workshop processing, the shape of the plate is generally cut first, and then welded before considering the hole, which can reduce the error in the position of the hole. The holes involved in workshop processing are mainly used for bolt connections of steel structures, and the hole design is completed through bolt commands.

[0053] The specific process is as follows: When defining bolts, users can define whether they are construction site bolts or workshop bolts. If they are workshop bolts, the bolts need to be assembled in the workshop. If they are construction site bolts, the bolt connection will not classify the things it connects as a component. When defining bolts, the bolt hole position and hole size are defined, and this information will also be recorded on each part.

[0054] When performing numbering, if the "Hole" option is selected, Boolean operations will be performed based on the definition information used when creating the bolt connection to create a geometric opening. The opening does not affect the minimum envelope size of the part, but it will affect the calculated volume value. If two parts with openings have the same volume, it is necessary to compare the opening size, number of openings, and opening location. When creating the bolt connection, information such as the hole size and location (the position of the hole center relative to each part) is recorded. Similarly, in this embodiment, it is necessary to convert to the same coordinate system for comparison between the two parts. Specific information is as follows... Figure 10-11 As shown.

[0055] In this embodiment, regarding the handling of manufacturing tolerances for parts, the design and manufacturing of steel structures, compared to mechanical equipment, do not require very high precision. Tolerances of a few millimeters can be addressed through assembly adjustments. For example, in the aforementioned bolt connections, the opening size is typically 1-2 mm larger than the bolt diameter to accommodate manufacturing tolerances. In this embodiment, tolerances can be set through configuration files. Numbering is done by comparing two parts, and the final part dimensions are numbered within the tolerance range, ensuring the quality of parts during manufacturing. The specific processing steps are not described in detail here.

[0056] Based on any of the above embodiments, this implementation also provides a 3D model component numbering device, specifically including: The acquisition module is used to acquire basic attribute information of multiple parts in a 3D model; The first determining module is used to determine a first type of part based on the basic attribute information of the plurality of parts; The second determining module is used to determine the second type of parts based on the geometric shape information of the first type of parts, and to assign the same number to the second type of parts; The first type of parts are purchased parts with the same basic attribute information and / or beam, slab and column parts; the second type of parts are purchased parts with the same basic attribute information and the same geometric shape and / or beam, slab and column parts.

[0057] This invention provides a 3D model component numbering device. It includes an acquisition module for acquiring basic attribute information of multiple parts in a 3D model; a first determination module for determining a first type of parts based on the basic attribute information; and a second determination module for determining a second type of parts based on the geometric shape information of the first type of parts, assigning the same number to the second type of parts. The first type of parts consists of purchased components and / or beam / slab / column-type parts with the same basic attribute information; the second type of parts consists of purchased components and / or beam / slab / column-type parts with the same basic attribute information and the same geometric shape. This device, by confirming the basic attribute information, can filter out parts with different attributes. For identical parts, further confirmation based on geometric shape information accurately determines their corresponding numbers, improving the accuracy of component summary statistics and the efficiency of numbering processing.

[0058] Since the device described in this embodiment of the invention is based on the same principle as the method described in the above embodiments, more detailed explanations will not be repeated here.

[0059] Figure 12 This is a schematic diagram of the physical structure of the electronic device provided in the embodiments of the present invention, such as... Figure 12 As shown, the present invention provides an electronic device, including: a processor 701, a memory 702, and a bus 703; The processor 701 and the memory 702 communicate with each other via the bus 703. The processor 701 is used to call program instructions in the memory 702 to execute the methods provided in the above-described method embodiments, such as: obtaining basic attribute information of multiple parts in a 3D model; determining a first type of part based on the basic attribute information of the multiple parts; determining a second type of part based on the geometric shape information of the first type of part, and assigning the same number to the second type of part; wherein, the first type of part is a purchased part and / or a beam, slab, or column type part with the same basic attribute information; the second type of part is a purchased part and / or a beam, slab, or column type part with the same basic attribute information and the same geometric shape.

[0060] This invention provides a non-transitory computer-readable storage medium storing computer instructions that cause the computer to execute the methods provided in the above-described method embodiments. These instructions include, for example,: acquiring basic attribute information of multiple parts in a 3D model; determining a first type of part based on the basic attribute information of the multiple parts; determining a second type of part based on the geometric shape information of the first type of part; and assigning the same number to the second type of part. The first type of part consists of purchased parts and / or beam / slab / column-type parts with the same basic attribute information; the second type of part consists of purchased parts and / or beam / slab / column-type parts with the same basic attribute information and the same geometric shape.

[0061] The present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to execute the methods provided in the above embodiments, the method comprising: acquiring basic attribute information of multiple parts in a 3D model; determining a first type of parts based on the basic attribute information of the multiple parts; determining a second type of parts based on the geometric shape information of the first type of parts, and assigning the same number to the second type of parts; wherein the first type of parts are purchased parts and / or beam, slab, and column parts with the same basic attribute information; the second type of parts are purchased parts and / or beam, slab, and column parts with the same basic attribute information and the same geometric shape.

[0062] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as ROM, RAM, magnetic disk, or optical disk.

[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for determining the part numbering of a 3D model, characterized in that, include: Obtain basic attribute information of multiple parts in a 3D model; The first type of parts is determined based on the basic attribute information of the multiple parts; The second type of parts are determined based on the geometric shape information of the first type of parts, and the same number is assigned to the second type of parts; The first type of parts are purchased parts with the same basic attribute information and / or beam, slab and column parts; the second type of parts are purchased parts with the same basic attribute information and the same geometric shape and / or beam, slab and column parts. The step of determining the second type of parts based on the geometric shape information of the first type of parts includes: Based on the global coordinate system method, the minimum envelope size of the first type of part in any spatial coordinate system is determined; Given the same minimum envelope size, the volume of the first type of part is determined using the BREP solid modeling method. Given the same volume, the second type of part is determined based on the BREP face set method and the BREP vertex set method; Among them, the determination of the second type of part based on the BREP face set method and the BREP vertex set method when the volume is the same includes: The face and vertex information of the first type of part geometry are obtained based on the BREP face set method and the BREP vertex set method. When the face information and vertex information are the same, a second type of part with the same geometric shape is determined; The method for determining the part numbers of the 3D model also includes: Obtain BOM information for multiple components; Based on the part number information and quantity information in the BOM information of the multiple components, the first type of components with the same BOM information are identified; Compare the relative position information of each part in the first type of components, and assign the same number to the first type of components with the same relative position information; The step of comparing the relative position information of each part in the first type of components and assigning the same number to the first type of components with the same relative position information includes: Transform the first type of components to the same coordinate system and determine the minimum envelope size of the components in the first type of components; When the minimum envelope size of the components is the same, compare the principal moments of inertia of the relative centroids of the first type of components; When the principal moments of inertia of the relative centroids are the same, compare the position and orientation of the parts relative to the component coordinate system; The first type of components, whose positions and orientations are the same in the relative component coordinate system, are identified as components with the same relative position information and assigned the same number.

2. The method for determining the part number of a 3D model according to claim 1, characterized in that, The basic attribute information includes at least the part's specifications, dimensions, and designation information. Determining the first type of part based on the basic attribute information of the plurality of parts includes: When the multiple parts are purchased parts, the parts with the same designation and size are identified as the first type of parts; When the multiple parts are beams, slabs, or columns, the parts with the same specifications and dimensions among the multiple parts are identified as the first type of parts.

3. The method for determining the part number of a 3D model according to claim 1, characterized in that, The step of determining the first category of components with identical BOM information based on the part number and quantity information in the BOM information of the multiple components includes: Compare the main part numbers in the BOM information of the multiple components; When the main part numbers in the BOM information of the multiple components are the same, the secondary part number information and the corresponding quantity information are compared. When the part number information and the corresponding quantity information are the same, this type of component is determined to be the first type of component with the same BOM information.

4. A 3D model component numbering device, performing the steps of the 3D model component numbering method as described in any one of claims 1 to 3, characterized in that, include: The acquisition module is used to acquire basic attribute information of multiple parts in a 3D model; The first determining module is used to determine a first type of part based on the basic attribute information of the plurality of parts; The second determining module is used to determine the second type of parts based on the geometric shape information of the first type of parts, and to assign the same number to the second type of parts; The first type of parts are purchased parts with the same basic attribute information and / or beam, slab and column parts; the second type of parts are purchased parts with the same basic attribute information and the same geometric shape and / or beam, slab and column parts.

5. An electronic device, characterized in that, include: A processor, a memory, and a bus, wherein the processor and the memory communicate with each other via the bus; The memory stores program instructions that can be executed by the processor, and the processor can call the program instructions to perform the steps of the 3D model component number determination method as described in any one of claims 1 to 3.

6. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer instructions that cause the computer to perform the steps of the 3D model component number determination method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Simplified attributive analysis method for automatic coding of three-dimensional ship modeling part

    CN101727521A

  • Parts counting device, parts counting program, and parts counting method of 3-dimensional arrangement adjustment cad

    US20060149405A1

  • B-rep matching for maintaining associativity across CAD interoperation

    US20200218835A1

  • Method of comparing parts

    US6625607B1