Methods and apparatus for obtaining basic equipment models, electronic equipment

By generating and stitching together 3D components and their associated components from 2D images, the problem of low efficiency in obtaining basic equipment models was solved, and a fast and efficient modeling process was achieved.

CN121600193BActive Publication Date: 2026-05-26BEIJING EXPLORER SOFTWARE CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING EXPLORER SOFTWARE CORP LTD
Filing Date
2026-01-28
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Traditional modeling methods are inefficient in obtaining basic equipment models, requiring manual input of coordinates or parametric design, which leads to excessive time consumption.

Method used

By acquiring the spatial relationships and height information of two-dimensional images, three-dimensional components and their auxiliary components are generated, and then spliced ​​together based on these relationships to generate the basic model of the equipment.

Benefits of technology

It enables rapid acquisition of basic equipment models, improves modeling efficiency, and ensures the structural integrity and accuracy of the models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121600193B_ABST
    Figure CN121600193B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, and electronic device for obtaining a basic equipment model. The method includes: acquiring at least one two-dimensional image and obtaining the spatial relationship between the at least one two-dimensional image; generating at least one three-dimensional component based on the height information and design information corresponding to each of the at least one two-dimensional image, and traversing each three-dimensional component to generate a corresponding auxiliary component for each three-dimensional component; and splicing the at least one three-dimensional component and the corresponding auxiliary component based on the spatial relationship to obtain a basic equipment model. This achieves the goal of rapidly creating a basic equipment model, thereby improving the efficiency of acquiring the basic equipment model and solving the technical problem of low acquisition efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and more specifically, to a method and apparatus for obtaining a device basic model and an electronic device. Background Technology

[0002] In building and infrastructure projects, the creation of equipment foundation models is a crucial step in the early stages of design and construction. Traditional modeling methods typically rely on manual coordinate input or parametric design, requiring complete parameter settings for the entire equipment foundation model before it can be obtained. The time required to populate all parameters of the equipment foundation model is lengthy, resulting in low efficiency in obtaining equipment foundation models.

[0003] There is currently no effective solution to the above problems. Summary of the Invention

[0004] This application provides a method, apparatus, and electronic device for obtaining a basic device model, in order to at least solve the technical problem of low efficiency in obtaining a basic device model.

[0005] According to one aspect of the embodiments of this application, a method for obtaining a basic device model is provided, comprising: acquiring at least one two-dimensional image and acquiring spatial relationships between at least one of the two-dimensional images, wherein the spatial relationships are used to indicate the topological relationships between the two-dimensional images on a two-dimensional plane; generating at least one three-dimensional component based on the height information and design information corresponding to each of the at least one of the two-dimensional images, traversing each of the three-dimensional components, and generating an auxiliary component corresponding to each of the three-dimensional components, wherein the height information is used to indicate the height of the three-dimensional component corresponding to the two-dimensional image, the design information is used to indicate the functional attributes and engineering parameters of the three-dimensional component corresponding to the two-dimensional image, and the auxiliary component is an additional component that is structurally associated with and attached to the three-dimensional component; and splicing the at least one of the three-dimensional components and the auxiliary components corresponding to each of the three-dimensional components based on the spatial relationships between at least one of the two-dimensional images to obtain a basic device model.

[0006] According to another aspect of the embodiments of this application, an apparatus for obtaining a basic device model is also provided, comprising: an acquisition unit, configured to acquire at least one two-dimensional image and acquire spatial relationships between at least one of the two-dimensional images, wherein the spatial relationships are used to indicate the topological relationships between the various two-dimensional images on a two-dimensional plane; a generation unit, configured to generate at least one three-dimensional component based on the height information and design information corresponding to each of the at least one of the two-dimensional images, and to traverse each of the three-dimensional components and generate corresponding auxiliary components for each of the three-dimensional components, wherein the height information is used to indicate the height of the three-dimensional component corresponding to the two-dimensional image, the auxiliary design information is used to indicate the functional attributes and engineering parameters of the three-dimensional component corresponding to the two-dimensional image, and the auxiliary components are additional components that are structurally associated with and attached to the three-dimensional component; and a splicing unit, configured to splice at least one of the three-dimensional components and the corresponding auxiliary components of each of the three-dimensional components based on the spatial relationships between at least one of the two-dimensional images to obtain a basic device model.

[0007] According to another aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the method for obtaining the device base model as described above.

[0008] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-described method for obtaining the device basic model through the computer program.

[0009] In this embodiment, at least one two-dimensional image is acquired, and the spatial relationship between the at least one two-dimensional image is obtained. Then, at least one three-dimensional component is generated based on the height information and design information corresponding to each of the at least one two-dimensional image, and corresponding auxiliary components are generated for each three-dimensional component. Then, based on the spatial relationship, the at least one three-dimensional component and the corresponding auxiliary components of each three-dimensional component are spliced ​​together to obtain the basic equipment model. Thus, it is not necessary to completely set the parameters of the basic equipment model, and the basic equipment model can be generated based on the splicing of the three-dimensional components and the auxiliary components of the three-dimensional components. This achieves the technical objective of quickly acquiring the basic equipment model and improves the technical effect of acquiring the basic equipment model, thereby solving the technical problem of low acquisition efficiency of the basic equipment model. Attached Figure Description

[0010] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0011] Figure 1 This is a schematic diagram of an application environment for an optional method for obtaining a device basic model according to an embodiment of this application;

[0012] Figure 2 This is a schematic diagram of the flow of an optional method for obtaining a device basic model according to an embodiment of this application;

[0013] Figure 3 This is a schematic diagram of an optional method for obtaining a device basic model according to an embodiment of this application;

[0014] Figure 4 This is a schematic diagram of another optional method for obtaining a device base model according to an embodiment of this application;

[0015] Figure 5 This is a schematic diagram of another optional method for obtaining a device base model according to an embodiment of this application;

[0016] Figure 6 This is a schematic diagram of another optional method for obtaining a device base model according to an embodiment of this application;

[0017] Figure 7 This is a schematic diagram of another optional method for obtaining a device base model according to an embodiment of this application;

[0018] Figure 8 This is a schematic diagram of another optional method for obtaining a device base model according to an embodiment of this application;

[0019] Figure 9 This is a schematic diagram of another optional method for obtaining a device base model according to an embodiment of this application;

[0020] Figure 10 This is a schematic diagram of an optional device base model acquisition device according to an embodiment of this application;

[0021] Figure 11 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of this application. Detailed Implementation

[0022] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0024] According to one aspect of the embodiments of this application, a method for obtaining a device basic model is provided. Optionally, as an optional implementation, the above-described method for obtaining a device basic model can be applied, but is not limited to, to applications such as... Figure 1 The environment shown may include, but is not limited to, user equipment 102 and server 112. User equipment 102 may include, but is not limited to, a display 104, a processor 106 and a memory 108. Server 112 includes a database 114 and a processing engine 116.

[0025] The specific process can be summarized in the following steps:

[0026] Step S102: User equipment 102 generates a request to obtain the device basic model;

[0027] Step S104: Send the request to obtain the basic model of the device to the server 112 via network 110;

[0028] In steps S106-S110, server 112 acquires at least one two-dimensional image and obtains the spatial relationship between the at least one two-dimensional image; generates at least one three-dimensional component based on the height information and design information corresponding to each of the at least one two-dimensional image, and traverses each three-dimensional component to generate the corresponding auxiliary component for each three-dimensional component; based on the spatial relationship between the at least one two-dimensional image, splices the at least one three-dimensional component and the corresponding auxiliary component for each three-dimensional component to obtain the basic model of the device.

[0029] In step S112, the device basic model is sent to the user equipment 102 via the network 110. The user equipment 102 displays the device basic model on the display 104 via the processor 106 and stores the device basic model in the memory 108.

[0030] remove Figure 1 Beyond the examples shown, the terminal devices described above can be terminal devices configured with a target client, including but not limited to at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), laptops, tablets, PDAs, MIDs (Mobile Internet Devices), PADs, desktop computers, smart TVs, etc. The target client can be a video client, instant messaging client, browser client, educational client, etc. The networks described above can include, but are not limited to, wired networks and wireless networks. The wired networks include local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). The wireless networks include Bluetooth, Wi-Fi, and other networks that enable wireless communication. The server described above can be a single server, a server cluster consisting of multiple servers, or a cloud server. The above is merely an example, and no limitations are imposed in this embodiment.

[0031] Alternatively, as an alternative implementation method, such as Figure 2 As shown, the method for obtaining the basic device model can be performed by an electronic device, such as... Figure 1 The user equipment or server shown includes the following specific steps:

[0032] S202, acquire at least one two-dimensional image, and acquire the spatial relationship between at least one two-dimensional image, wherein the spatial relationship is used to indicate the topological relationship between the individual two-dimensional images on a two-dimensional plane;

[0033] S204, generate at least one three-dimensional component based on the height information and design information corresponding to each of the at least one two-dimensional images, and traverse each three-dimensional component to generate the corresponding auxiliary component for each three-dimensional component. The height information is used to indicate the height of the three-dimensional component corresponding to the two-dimensional image, and the auxiliary design information is used to indicate the functional attributes and engineering parameters of the three-dimensional component corresponding to the two-dimensional image. The auxiliary component is an additional component that is associated with the structure of the three-dimensional component and attached to the three-dimensional component.

[0034] S206, based on the spatial relationship between at least one two-dimensional image, at least one three-dimensional component and its corresponding auxiliary components are spliced ​​together to obtain the basic model of the equipment.

[0035] Optionally, in this embodiment, the two-dimensional image may refer to, but is not limited to, a closed two-dimensional contour line in a CAD engineering drawing used to represent the vertical projection of a three-dimensional component onto a horizontal plane. It may also be a user-provided two-dimensional closed line segment, a closed contour drawing generated by a specific function, or a component contour drawing obtained by scanning other models. For example, a rectangular closed polyline can represent the projection of a square foundation pier, and a circular closed curve can represent the projection of a cylinder.

[0036] Optionally, in this embodiment, CAD engineering drawings may refer to, but are not limited to, two-dimensional digital engineering drawings created using computer-aided design software, which are standard file formats for engineering design. Their function is to accurately express the planar dimensions, shape, and layout of engineering objects using standardized points, lines, arcs, and other graphic elements (CAD graphic elements). For example, in factory design, drawings used to express the top-view outline and dimensions of equipment foundations on a horizontal plane can serve as CAD engineering drawings.

[0037] Optionally, in this embodiment, spatial relationships may refer to, but are not limited to, the relative positions and geometric associations of multiple two-dimensional images on a two-dimensional plane, specifically manifested as topological relationships, thereby providing a logical organizational structure and assembly basis for automated modeling. For example, if projection line C is completely located inside projection line D, this "inclusion" relationship indicates that the corresponding three-dimensional component C should be placed on component D.

[0038] It should be noted that in this embodiment, if only one two-dimensional image is obtained, the spatial relationship between at least one two-dimensional image can be understood as the absence of other two-dimensional images. It is understood that in this embodiment, the spatial relationship between at least one two-dimensional image may include the absence of other two-dimensional images. If only one two-dimensional image is obtained, after forming the target three-dimensional component from that existing two-dimensional image, since the spatial relationship between the two-dimensional images is the absence of other two-dimensional images, this target three-dimensional component can be determined as the basic model of the device.

[0039] Optionally, in this embodiment, the topological relationship may, but is not limited to, refer to the spatial relationship that remains unchanged under continuous deformation of a graph, such as inclusion, adjacency, separation, etc., thereby transforming intuitive spatial descriptions into logical relationships that can be accurately recognized and processed by a computer, which is the core of implementing intelligent modeling algorithms. For example, the system determines through analysis that the projection lines E and F are "adjacent", providing a logical basis for the subsequent splicing of the corresponding three-dimensional components.

[0040] Optionally, in this embodiment, the height information may, but is not limited to, refer to the parameter associated with a two-dimensional image and used to define the dimension in the vertical direction when it is stretched to form a three-dimensional component, providing three-dimensional spatial information for the two-dimensional projection profile, thereby completing the conversion from two dimensions to three dimensions. For example, if a rectangular projection line is associated with the height information "1500mm", a cube pier with a height of 1.5 meters can be generated by stretching.

[0041] Optionally, in this embodiment, the design information may, but is not limited to, refer to the set of non-geometric parameters used to define and describe the functions, materials, and engineering characteristics of three-dimensional components, endowing the pure geometric model with engineering significance so that it can represent specific engineering components. For example, the design information may include the "concrete strength grade C30" of the component, its functional classification as a "pier", or the "embedded part model M-01" attached to it.

[0042] Optionally, in this embodiment, the three-dimensional component may, but is not limited to, refer to the basic three-dimensional solid model generated by stretching a two-dimensional image in the vertical direction by a specified height, thereby constituting the basic functional unit of a complex equipment foundation model. For example, by stretching a "hui" - shaped projection line and赋予 a certain height, a cup - shaped foundation three - dimensional component with a hole in the middle can be generated.

[0043] It should be noted that in this embodiment, three - dimensional components can also be generated by rotational scanning. Specifically, the system first identifies an open or closed contour line representing the cross - section of the component and a center line serving as the axis of rotation from the two - dimensional image. Then, the system rotates the contour line 360 degrees (or a specified angle) around the specified axis of rotation, thereby generating a rotationally symmetric three - dimensional component. For example, if the two - dimensional image contains a rectangular contour and a center line coinciding with one of its sides, after rotating the rectangle around this center line, a cylindrical three - dimensional component can be generated. This method is particularly suitable for generating equipment foundation components with rotationally symmetric features such as cup - shaped openings, tubular foundations, and circular piers.

[0044] Furthermore, in this embodiment, three-dimensional components can also be generated through a lofting operation. Specifically, the system needs to acquire at least two two-dimensional images (i.e., lofted sections) located at different heights and with similar geometric features. These two-dimensional images represent the cross-sectional shapes of the three-dimensional component at different heights. The system creates smooth transition surfaces between these two-dimensional images, thereby "skinning" to generate a continuous three-dimensional solid. For example, if the two-dimensional images contain a larger square outline at the bottom and a smaller circular outline at the top, the system can generate a frustum-shaped three-dimensional component with a smooth transition from square to circle between the two outlines through a lofting operation. This method is suitable for generating components with complex shapes and continuously changing cross-sections, such as variable cross-section piers and conical foundations.

[0045] Optionally, in this embodiment, the auxiliary component may refer to, but is not limited to, an additional three-dimensional entity or negative space feature that is structurally associated with and attached to a certain three-dimensional component, thereby realizing detailed functions such as specific connection, reinforcement, and pipeline passage of the equipment foundation. For example, pre-embedded steel plates or anchor bolts attached to the pier component, or holes (negative entities) cut inside it.

[0046] Optionally, in this embodiment, splicing can refer to, but is not limited to, the process of positioning, aligning, combining, or performing Boolean operations on multiple independently generated three-dimensional components and their auxiliary components in three-dimensional space according to predetermined spatial relationships and logical rules, thereby integrating discrete components into a complete three-dimensional model of the equipment foundation. For example, the pier component is precisely placed at a specified position on the top surface of the base plate component, and the reinforcing bars connecting the two are assembled.

[0047] Optionally, in this embodiment, the equipment foundation model may refer to, but is not limited to, a three-dimensional digital model composed of multiple three-dimensional components combined and assembled according to their spatial relationships and design information, used to fully represent a real equipment foundation in a digital environment, thereby serving as the final result of digital design and being used to guide construction, calculate engineering quantities, perform collision detection, and generate construction drawings.

[0048] Optionally, in this embodiment, the system parses the input CAD engineering drawing and identifies all closed contour lines that meet preset conditions from the CAD elements it contains, as a two-dimensional image. Then, the system analyzes the relative positions of these projection lines on the two-dimensional plane, calculates the spatial relationships (i.e., topological relationships) between them, thereby automatically extracting key geometric information from existing design results and establishing their logical connections, providing an accurate two-dimensional foundation and assembly blueprint for subsequent three-dimensional reconstruction.

[0049] To further illustrate, the system identifies three closed polylines from a basic equipment plan: a large rectangle A and two smaller rectangles B and C, where B and C are both inside A. The system determines that there is an "inclusion" relationship between A and B, and between A and C.

[0050] Next, based on the height information associated with each 2D image, it is stretched vertically to generate the corresponding 3D component. Then, the system iterates through each generated 3D component and generates all auxiliary components one by one according to the auxiliary component definitions (type, parameters, etc.) contained in its associated design information. This achieves automated and parametric generation from 2D parameters to the 3D main model and its detailed features, constructing all the components of the model.

[0051] To further illustrate, projecting line A (large rectangle) is stretched by 500mm to generate the 3D component of the base plate; projecting line B (small rectangle) is stretched by 1500mm to generate the 3D component of pier 1. Next, the top embedded plate and four anchor bolts, and other auxiliary components, as specified in the design information, are generated for the pier 1 component.

[0052] Finally, based on the obtained spatial relationships, all generated three-dimensional components and auxiliary components are automatically assembled and combined in three-dimensional space, thereby intelligently integrating the discretely generated model parts according to the original design intent to form an integrated three-dimensional model of the equipment foundation with correct structure and accurate relationships.

[0053] To further illustrate, based on the "inclusion" relationship, the system automatically positions the 3D components of pier 1 and pier 2 at their corresponding positions on the top surface of the base 3D component. Simultaneously, it precisely attaches embedded plates, anchor bolts, and other auxiliary components to their respective piers. Ultimately, all components are combined to form a complete 3D model of the equipment foundation.

[0054] It should be noted that by automatically parsing CAD drawings to obtain component outlines and spatial logic, and using this to drive the parametric generation and intelligent assembly of 3D components and their accessories, the traditional 2D design is efficiently, accurately, and automatically transformed into a 3D equipment basic model with complete structure and details, thus improving the technical effect of design reuse efficiency and model construction accuracy.

[0055] The embodiments provided in this application involve acquiring at least one two-dimensional image and obtaining the spatial relationship between the at least one two-dimensional image; then, generating at least one three-dimensional component based on the height information and design information corresponding to each of the at least one two-dimensional image, and generating corresponding auxiliary components for each three-dimensional component; and then stitching together the at least one three-dimensional component and the corresponding auxiliary components based on the spatial relationship to obtain a basic equipment model. This eliminates the need for complete parameter setting of the basic equipment model and allows for the generation of a basic equipment model based on the stitching together of the three-dimensional components and their auxiliary components. This achieves the technical objective of rapidly acquiring a basic equipment model and improves the efficiency of acquiring the basic equipment model, thereby solving the technical problem of low acquisition efficiency of the basic equipment model.

[0056] As an optional approach, based on the spatial relationship between at least one two-dimensional image, at least one three-dimensional component and its corresponding auxiliary components are stitched together to obtain a basic device model, including:

[0057] S1-1, Based on spatial relationships, determine the topological hierarchy information between at least one three-dimensional component and the spatial position information corresponding to each three-dimensional component, wherein the topological hierarchy information is used to indicate the subordinate dependency relationship formed between at least one three-dimensional component based on function or physical contact, and the spatial position information is used to indicate the position of the three-dimensional component in three-dimensional space.

[0058] S1-2, Based on the topological hierarchy information and the spatial position information corresponding to each three-dimensional component, at least one three-dimensional component and its corresponding auxiliary components are spliced ​​together to obtain the basic model of the equipment.

[0059] Optionally, in this embodiment, the topology hierarchy information may refer to, but is not limited to, a data structure derived from spatial relationships that describes the hierarchical and dependent relationships between multiple three-dimensional components, thereby clarifying the logical order and parent-child relationships of component assembly in a non-geometric, hierarchical manner. For example, if a three-dimensional component H (base plate) supports a three-dimensional component J (pier), the topology hierarchy information records "H is the parent node of J," which means that H must be placed first before J can be placed on top of it.

[0060] Optionally, in this embodiment, dependency relationships can refer to, but are not limited to, the types of relationships between components specifically defined in the topology hierarchy information. These relationships describe how the existence, location, or generation of one component depends on another component, thereby constraining the assembly behavior of the components and ensuring the structural rationality and logical correctness of the model. For example, defining "pier K depends on base plate L" ensures that pier K is always placed on base plate L, and that pier K moves in tandem with base plate L.

[0061] Optionally, in this embodiment, the spatial location information may refer to, but is not limited to, the geometric data used to precisely define the position of each three-dimensional component in the three-dimensional coordinate system. This typically includes coordinates, rotation angles, etc., thereby transforming the abstract component relationships into specific spatial coordinates and achieving precise component positioning. For example, defining the spatial location information of the pier M as "coordinates of the center point of the bottom surface (X=1000, Y=1500, Z=300)" allows it to be accurately placed in three-dimensional space.

[0062] Optionally, in this embodiment, firstly, the system infers and constructs the topological hierarchy information between three-dimensional components based on the spatial relationships obtained from the analysis of two-dimensional projection lines, clarifying the subordinate dependencies between components. Then, the system combines the original two-dimensional position and height information of the projection lines to calculate the precise spatial position information of each three-dimensional component in three-dimensional space, thereby transforming the two-dimensional planar logical relationships into hierarchical logic and precise geometric positioning data to guide three-dimensional assembly, establishing a complete rule and coordinate system for automated splicing.

[0063] To further illustrate, suppose the system analysis reveals that projection line N (large rectangle) contains projection line P (small rectangle), and their spatial relationship is "N contains P". Based on this, the system derives the topological hierarchy information between 3D component N (base plate) and P (pier) as "N is the parent node of P", meaning P depends on N. Simultaneously, the system calculates the spatial location information of component N as follows: its bottom surface lies on the Z=0 plane, and the bottom surface of component P lies on the plane where Z equals the height of component N (e.g., 500mm).

[0064] Next, strictly following the dependency order defined by the topological hierarchy information in Step 1, and based on the spatial position information calculated for each component, each 3D component is sequentially positioned in 3D space. Simultaneously or subsequently, the system attaches its subordinate components to the correct positions according to their respective definitions, thereby achieving automated and intelligent assembly of all model components and ensuring the correct structural hierarchy and precise spatial positioning of the final model.

[0065] To further illustrate, the system first places component N (base plate) at the position defined by its spatial location information (Z=0) based on the topological hierarchy information (N is the parent node). Then, because P depends on N, the system places component P (pier) at the position defined by its spatial location information (bottom surface Z=500mm), i.e., on the top surface of the base plate. Subsequently, the system attaches the corresponding auxiliary components (such as embedded plates) to the designated surface of the pier P. Through this process, all components are assembled into a complete equipment foundation model.

[0066] Through the embodiments provided in this application, by deriving the three-dimensional topological hierarchy and precise spatial position from the two-dimensional spatial relationship, and using this dual information to drive the automatic assembly of components, the technical effect of automatically generating an integrated model of the equipment foundation with accurate structural relationships and error-free spatial positioning is achieved by strictly following the design logic and geometric accuracy in three-dimensional modeling.

[0067] As an optional approach, each 3D component is traversed, and corresponding auxiliary components are generated for each 3D component, including:

[0068] Iterate through each 3D component and perform the following steps on the currently iterated 3D component:

[0069] S2-1, Obtain the information of the subordinate components corresponding to the current three-dimensional component based on the topological hierarchy information, wherein the information of the subordinate components is used to indicate the subordinate components corresponding to the current three-dimensional component;

[0070] S2-2, Based on the auxiliary component type and auxiliary component parameters contained in the auxiliary component information, generate the auxiliary component corresponding to the current 3D component;

[0071] As an optional approach, based on topological hierarchy information and the spatial location information corresponding to each 3D component, at least one 3D component and its corresponding auxiliary components are spliced ​​together to obtain a basic equipment model, including:

[0072] S3-1, If ​​the attachment information includes an attachment identifier, attach the attachment component at the position of the current three-dimensional component indicated by the attachment identifier;

[0073] S3-2, if the attachment identifier is not included in the attachment component information, determine the attachment position of the attachment component based on the three-dimensional spatial relationship between the current three-dimensional component and the adjacent three-dimensional component, and attach the attachment component based on the attachment position, wherein the adjacent three-dimensional component and the current three-dimensional component meet the preset distance condition.

[0074] Optionally, in this embodiment, the auxiliary component information may refer to, but is not limited to, a set of parameters used to define and generate secondary components associated with the main three-dimensional component, thereby extending the design intent from the main structure to the details and enabling the model to contain complete engineering information. For example, for a pier prism, its auxiliary component information may specify that a "pre-embedded iron piece" needs to be added to its top, and include parameters such as the model and size of the iron piece.

[0075] Optionally, in this embodiment, the type of auxiliary component may refer to, but is not limited to, a classification identifier of the functionality and geometric shape of the auxiliary component, thereby indicating what kind of engineering component needs to be generated so as to call the corresponding parametric template or generation rule. For example, the type may be "reinforcing bar", "anchor bolt", "embedded plate", "negative solid (for opening)", etc.

[0076] Optionally, in this embodiment, the parameters of the auxiliary components may refer to, but are not limited to, data used to precisely define the geometric dimensions, spatial orientation, and physical properties of the auxiliary components, thereby transforming a typified concept into a three-dimensional entity with precise dimensions and location. For example, for the "reinforcing bar" type, its parameters may include diameter, length, spacing, bending shape, etc.

[0077] Optionally, in this embodiment, the attachment identifier may refer to, but is not limited to, an instruction explicitly specified in the attachment component information regarding the specific location where the attachment component should be placed on the main component, thereby providing a clear, non-derivative positioning basis, suitable for scenarios with strict design requirements for location. For example, an attachment identifier may explicitly specify "attached to the center point of the top surface of the pier".

[0078] Optionally, in this embodiment, the three-dimensional spatial relationship may refer to, but is not limited to, the relative position, direction, and distance relationship between the current component and other surrounding components in the three-dimensional model. This provides a logical basis for intelligently inferring the reasonable position of the attached component when there is a lack of explicit attachment markers. For example, if it is detected that the current pier is adjacent to another pier, it can be inferred that the "connecting beam" used to connect the two should be attached to the opposite sides of the two piers.

[0079] Optionally, first read the definition data of all auxiliary components associated with the currently being processed main 3D component from the data source. Ensure that the corresponding detailed design information can be found for each main component. To further illustrate, when processing "pier A", parse its design information to determine that two auxiliary components, "anchor bolt group" and "top embedded plate", need to be created for it.

[0080] Next, the geometric template of the component is determined according to its type, and then the template is driven by parameters to generate a three-dimensional solid with precise dimensions. This enables the parametric and automated generation of auxiliary components, transforming data information into a geometric model. For example, for a "top embedded plate," a rectangular plate template is called, and a specific three-dimensional plate solid is generated according to parameters (e.g., 500mm x 500mm x 20mm).

[0081] If the design information specifies the location, directly place the generated auxiliary components onto the designated point or surface according to the instruction. Ensure the accuracy of the critical component positions and strictly adhere to the design requirements. For example, if the auxiliary component information specifies that the anchor bolt assembly should be "attached to the center of the bottom surface of the embedded plate," then precisely install the generated anchor bolts at that point.

[0082] Further examples, such as Figure 3 As shown, Figure 3 (a) in the text refers to auxiliary component 302. Figure 3 (b) in the figure is a three-dimensional component 304, in which there is an attachment mark 306, and the attachment component information of the attachment component 302 indicates that the attachment component 302 should be attached to the attachment mark 306. Figure 3 (c) in the figure represents the attachment of the auxiliary component 302 to the three-dimensional component 304.

[0083] If the design does not specify the location, the system automatically analyzes the spatial logic between components and intelligently infers the most reasonable location. This enhances the level of intelligence and automation, reducing over-reliance on the completeness of design information. For example, when a "connecting beam" needs to be added to two adjacent piers, but the information lacks attachment markers, the system can analyze the three-dimensional spatial relationship between the two piers and automatically determine that the beam should be attached to the middle of the opposite sides of the two piers, thus completing the connection.

[0084] Further examples, such as Figure 4 As shown, Figure 4 In (a), the attachment component 402 is not indicated by the attachment component information of the attachment component 402; for example, Figure 4 As shown in (b), the distance condition is satisfied between three-dimensional component 404 and three-dimensional component 406, and through spatial logic analysis, it is inferred that the auxiliary component 402 should connect three-dimensional component 404 and three-dimensional component 406; Figure 4 As shown in (c), the three-dimensional component 404 is connected to the three-dimensional component 406 via the auxiliary component 402.

[0085] It should be noted that by combining explicit attachment instructions with intelligent position inference based on three-dimensional spatial relationships, the attachment of auxiliary components to the main structure is achieved with precision and intelligence. This achieves the technical effect of strictly ensuring the design accuracy of key connections while flexibly handling conventional structures during the automated modeling process, thereby improving the completeness of model details and the efficiency of automated generation.

[0086] To further illustrate, let's take a "double-pier foundation" as an example to explain the execution process of this embodiment. There are two piers side-by-side (pier A and pier B), and a connecting beam linking them. The process iterates to pier A and retrieves its attached component information. Information 1: Type = "Embedded Plate", Parameter = (1000mm) 1000mm 30mm), Attachment identifier = "Top surface center". Information 2: Type = "Connecting beam", Parameter = (section 300mm x 500mm), No attachment identifier.

[0087] First, based on information 1, a three-dimensional solid of the embedded plate is generated. Since information 1 contains attachment identifiers, the embedded plate is precisely placed at the center of the top surface of pier A.

[0088] Next, information 2 (connecting beam) is processed. Since there is no attachment identifier, but after analysis, pier B that meets the preset distance condition is found near pier A. The three-dimensional spatial relationship between the two is analyzed, determining that the reasonable attachment position of the connecting beam should be on the two opposite sides of pier A and pier B, with the height centered. Therefore, the connecting beam is generated and attached at this position.

[0089] Ultimately, a complete and logically sound double-pier foundation model was automatically generated, including embedded plates and connecting beams.

[0090] The embodiments provided in this application obtain the attached component information corresponding to the current 3D component, wherein the attached component information is used to indicate the attached component corresponding to the current 3D component; based on the attached component type and attached component parameters contained in the attached component information, the attached component corresponding to the current 3D component is generated; if the attached component information contains an attachment identifier, the attached component is attached at the position indicated by the attachment identifier on the current 3D component; if the attached component information does not contain an attachment identifier, the attachment position of the attached component is determined based on the 3D spatial relationship between the current 3D component and adjacent 3D components, and the attached component is attached based on the attachment position, wherein the adjacent 3D components and the current 3D component satisfy a preset distance condition. By combining explicit attachment instructions with intelligent position inference based on 3D spatial relationships, accurate and intelligent attachment of attached components to the main structure is achieved, thereby achieving the technical effect of strictly ensuring the design accuracy of key connections while flexibly handling conventional structures during automated modeling, improving the completeness of model details and the efficiency of automated generation.

[0091] As an optional approach, a basic model of the equipment is obtained based on at least one three-dimensional component, including:

[0092] S4-1, In the case of spatial interference between a first component and a second component in at least one three-dimensional component, obtain the three-dimensional spatial relationship between the first component and the second component, wherein the spatial interference is used to indicate that the first component and the second component occupy the same area in three-dimensional space;

[0093] S4-2, based on the three-dimensional spatial relationship, the target component and tool component are determined from the first component and the second component;

[0094] S4-3, where a nesting relationship exists between the target component and the tool component as indicated by the three-dimensional spatial relationship, a first hole is generated in the target component, and the first component and the second component are spliced ​​based on the first hole, wherein the first hole satisfies the target condition, and the three-dimensional spatial relationship includes a nesting relationship;

[0095] S4-4, In the case where the three-dimensional spatial relationship indicates that there is a cross-interference relationship between the target component and the tool component, a second hole is generated in the target component, and the first component and the second component are spliced ​​based on the second hole. The second hole and the first cross-interference area are the same size. The first cross-interference area is used to indicate the cross-interference area between the target component and the tool component. The three-dimensional spatial relationship includes the cross-interference relationship.

[0096] S4-5, when the three-dimensional spatial relationship indicates that there is a cross-interference relationship between the target component and the corresponding auxiliary component, a third hole is generated in the target component, and the first component and the second component are spliced ​​based on the third hole. The third hole and the second cross-interference area are the same size, and the second cross-interference area is used to indicate the cross-interference area between the target component and the corresponding auxiliary component of the tool component.

[0097] Optionally, in this embodiment, spatial interference can refer to, but is not limited to, the geometric state of overlapping portions between two three-dimensional components in space, thereby automatically identifying the areas where Boolean operations need to be performed and providing a basis for automatically opening and cutting the model. For example, when a pipe component intersects with a foundation pier, the two form an interference area in space.

[0098] Optionally, in this embodiment, the three-dimensional spatial relationship can be used, but is not limited to, to describe the relative positional relationship between components in three-dimensional space, including topological relationships such as nesting and intersection, thereby providing a type judgment basis for Boolean operations and determining which operation method to use. For example, a sleeve is completely contained within a concrete pier, forming a nested relationship.

[0099] Optionally, in this embodiment, the target component can be understood, but is not limited to, as the component that needs to be modified, and the tool component can be understood, but is not limited to, as the reference component when modifying the target component.

[0100] Optionally, in this embodiment, the nesting relationship can refer to, but is not limited to, a spatial relationship in which one component is completely contained by another component. Its function is to trigger the generation of a fully formed hole, suitable for applications such as pre-reserved holes. For example, a pre-embedded sleeve is completely embedded in a concrete foundation.

[0101] Optionally, in this embodiment, the intersecting relationship can refer to, but is not limited to, a spatial relationship where two components intersect but are not completely contained within each other. Its function is to trigger the generation of local holes that match the interference area. For example, a pipe obliquely passing through a foundation forms an elliptical intersection area.

[0102] Optionally, in this embodiment, the cross-interference region may refer to, but is not limited to, the specific part where the two components overlap in space, thereby defining the geometric range that needs to be removed and ensuring that the generated hole matches the interference region.

[0103] Optionally, in this embodiment, the spatial overlap between all components is automatically detected by a geometric calculation engine, and a collision detection algorithm is used to identify interfering component pairs and accurately analyze their specific three-dimensional spatial relationship types, thereby achieving automatic detection and accurate classification of model conflicts. Through bounding box detection and accurate geometric intersection, it is found that the embedded sleeve and the concrete pier have a complete containment relationship, while the process pipeline and the pier have an oblique intersection relationship.

[0104] Next, based on multi-dimensional rules such as component type, spatial location, and functional attributes, decision logic is used to intelligently assign target component and tool component roles to components that interfere with each other, thereby establishing the correct Boolean operation subject-object relationship and ensuring the logical rationality and engineering applicability of the operation. For further illustration, according to the rule of "main structure as the priority target component," concrete piers can be identified as target components, and pipes and sleeves can be identified as tool components.

[0105] Then, when it is detected that the tool component is completely nested inside the target component, a Boolean difference operation is performed to generate a complete hole in the target component that is completely consistent with the outer contour of the tool component. The hole depth is consistent with the height of the tool component, thereby realizing the automated and accurate creation of various reserved holes and embedded holes, ensuring the matching of holes and embedded parts.

[0106] Further examples, such as Figure 5 As shown, Figure 5 (a) in the figure represents projection line 502; Figure 5 (b) represents three-dimensional components 504 and 506 formed by stretching based on projection line 502; and analysis of projection line 502 shows that three-dimensional components 504 and 506 are nested, with three-dimensional component 506 nested within three-dimensional component 504. Therefore, as shown in the diagram... Figure 5As shown in (c), a hole 508 is generated in the three-dimensional component 506, and the length and width of the hole 508 are the same as those of the three-dimensional component 504, while the depth of the hole 508 is the same as that of the three-dimensional component 506; Figure 5 As shown in (d), this is a schematic diagram of a three-dimensional component 506 nested within a three-dimensional component 504.

[0107] If there is cross-interference between components, the geometry of the cross-region is calculated, and a local hole matching the cross-interference region is generated in the target component through Boolean difference operation. This ensures that the hole boundary is consistent with the boundary of the interference region, thereby accurately creating complex holes such as pipe through-wall holes and irregular grooves, and ensuring a tight fit between the hole and the component through which it passes.

[0108] Further examples, such as Figure 6 As shown, Figure 6 In (a), there exist three-dimensional components 602 and 604, and the three-dimensional components 602 and 604 have a cross-interference relationship, and the size of the cross-interference region is the protruding part of the three-dimensional component 602; optionally, as Figure 6 As shown in (b), a hole 606 is created in the three-dimensional component 604, and the size of the hole 606 is the same as the size of the protruding part of the three-dimensional component 602. This can also be understood as the size of the hole being the same as the size of the intersecting region. Optionally, as shown in (b), a hole 606 is created in the three-dimensional component 604, and the size of the hole 606 is the same as the size of the protruding part of the three-dimensional component 602. Figure 6 As shown in (c), this is a schematic diagram of the connection between three-dimensional component 602 and three-dimensional component 604.

[0109] If interference is detected between the auxiliary components (such as steel bars, anchor bolts, etc.) and the target component, a local hole matching the interference area is generated in the target component through Boolean difference operation. This ensures that the hole boundary is consistent with the interference area boundary, and that the auxiliary components can be installed correctly without conflicting with other components.

[0110] Further examples, such as Figure 7 As shown, optionally as Figure 7 As shown in (a), there are three-dimensional components 702 and 704, with an auxiliary component 706 attached above the three-dimensional component 704. The three-dimensional component 702 and the auxiliary component 706 have an intersecting relationship, and the size of the intersecting region is the same as the protruding portion of the auxiliary component 706. Optionally, as shown in (a),... Figure 7 As shown in (b), a hole 708 is generated in the three-dimensional component 702, and the size of the hole 708 is the same as the size of the cross-interference region, which can also be understood as being the same as the protruding part of the auxiliary component 706; optionally, as shown in (b), a hole 708 is generated in the three-dimensional component 702, and the size of the hole 708 is the same as the size of the cross-interference region, which can also be understood as being the same as the size of the protruding part of the auxiliary component 706; Figure 7 As shown in (c), this is a schematic diagram of the splicing of three-dimensional component 702, three-dimensional component 704, and auxiliary component 706.

[0111] It should be noted that by establishing an intelligent Boolean operation system based on accurate spatial relationship recognition, the automatic identification, intelligent classification, and accurate generation of various holes in the basic equipment model are realized. This achieves fully automated processing of complex component interference problems, significantly improves the efficiency and accuracy of 3D modeling, and ensures that the generated digital model can be directly used for engineering detailed design and construction guidance.

[0112] To illustrate further, consider the foundation of a compressor unit in a chemical plant. This foundation needs to simultaneously meet multiple functional requirements, including equipment installation, pipeline crossing, and rebar anchoring. First, the three-dimensional components of the foundation are generated, including concrete piers, a base slab, and various embedded parts.

[0113] During the execution of step S4-1, the geometry engine detected several spatial interference situations: the pre-embedded sleeves for equipment installation are completely contained inside the pier, forming a typical nesting relationship; the process pipelines pass through the pier and the bottom plate at different angles, forming a cross-interference relationship; in addition, the longitudinal bars in the steel mesh also cross-interfere with the pier.

[0114] According to the decision rule S4-2, the concrete foundation is identified as the target component, while the sleeves, pipes, and reinforcing bars are identified as tool components. For the nesting relationship of the embedded sleeves, a cylindrical hole with the same outer diameter as the sleeve is generated in the pier, forming a standard equipment installation reserved hole.

[0115] For interference between process piping, the intersection area between each pipe and the concrete structure is precisely calculated, and a perfectly matched irregular-shaped hole is generated at the corresponding location to ensure that the pipe can pass smoothly and form a tight fit with the concrete. Simultaneously, for interference between reinforcing steel and the foundation, precise anchoring holes are generated at the corresponding locations to ensure that the reinforcing steel is correctly embedded.

[0116] Ultimately, a complete device foundation model is output, integrating all necessary openings. All opening operations are automatically completed based on precise geometric calculations, requiring no manual intervention, and the size, shape, and position of each opening fully meet the engineering design requirements.

[0117] Through the embodiments provided in this application, when there is spatial interference between a first component and a second component in at least one three-dimensional component, a three-dimensional spatial relationship between the first component and the second component is obtained, wherein the spatial interference is used to indicate that the first component and the second component occupy the same area in three-dimensional space; based on the three-dimensional spatial relationship, a target component and a tool component are determined from the first component and the second component; when the three-dimensional spatial relationship indicates that there is a nesting relationship between the target component and the tool component, a first hole is generated in the target component, wherein the first hole satisfies the target condition, and the three-dimensional spatial relationship includes a nesting relationship; when the three-dimensional spatial relationship indicates that there is a cross-interference relationship between the target component and the tool component, a second hole is generated in the target component, wherein the second hole and the first cross-interference area are the same size. The first cross-interference region is used to indicate the cross-interference region between the target component and the tool component. The three-dimensional spatial relationship includes the cross-interference relationship. When the three-dimensional spatial relationship indicates that there is a cross-interference relationship between the target component and the corresponding auxiliary component, a third hole is generated in the target component. The third hole is the same size as the second cross-interference region. The second cross-interference region is used to indicate the cross-interference region between the target component and the corresponding auxiliary component. By establishing an intelligent Boolean operation system based on accurate spatial relationship recognition, the automatic identification, intelligent classification and accurate generation of various holes in the equipment basic model are realized. This achieves fully automated processing of complex component interference problems, significantly improves the efficiency and accuracy of three-dimensional modeling, and ensures that the generated digital model can be directly used for engineering detailed design and construction guidance.

[0118] As an optional approach, after obtaining the basic model of the device based on at least one three-dimensional component, the following steps are also included:

[0119] S5-1, Establish the relationship between the first component and the second component;

[0120] S5-2, upon obtaining modification information for the first component, the second component is adjusted based on the association and modification information, wherein the modification information is used to modify the height or position information corresponding to the first component.

[0121] Optionally, in this embodiment, the association relationship may refer to, but is not limited to, the logical connection relationship established between two or more three-dimensional components, used to describe the dependency or interaction between components, thereby ensuring that related components can intelligently link together when the model is modified, maintaining the overall consistency of the design. For example, in the equipment foundation, a "support relationship" can be established between the pier component and the base plate component, and the position of the pier will be automatically adjusted when the size of the base plate is modified.

[0122] Optionally, in this embodiment, the modified information may refer to, but is not limited to, a set of operation instructions that modify the basic properties of the component, including changes to geometric parameters, spatial positions, etc., thereby triggering an adaptive update process for the associated components and realizing parameterized driving of the model. For example, modifying the height value of the pier or adjusting the position coordinates of the base plate in the plan view.

[0123] Optionally, in this embodiment, the height information can be, but is not limited to, defining parameters of the vertical dimensions of the component to determine the stretching height of the three-dimensional component, thereby maintaining the vertical dimensional accuracy of the component in three-dimensional space and ensuring that the model conforms to design specifications. For example, the pier height can be modified from 1500mm to 1800mm.

[0124] Optionally, in this embodiment, the position information may include, but is not limited to, data describing the spatial positioning of the component in a three-dimensional coordinate system, including coordinate values ​​and rotation angles, thereby ensuring the accuracy of the component's spatial positioning and maintaining the correct relative positions between components. For example, adjusting the arrangement position of the base plate in the XY plane.

[0125] Optionally, in this embodiment, persistent logical links are created between interdependent components based on their spatial relationships, functional logic, and engineering semantics. These relationships may include support relationships, connection relationships, alignment relationships, etc., and related constraints are recorded to construct an intelligent network of connections between components. This lays the foundation for subsequent parametric modifications and linked updates, ensuring that the model always maintains reasonable structural relationships during design changes.

[0126] Furthermore, when a modification to a component is detected, the system traverses the relationship network to find all related components. Based on preset adjustment rules and constraints, it automatically calculates and executes the corresponding adjustments to the related components, thereby realizing a chain reaction of modification operations, automating the series of adjustment work brought about by design changes, and greatly improving the efficiency of design iteration.

[0127] It should be noted that this embodiment achieves the technical effect of parameterizing and intelligently updating the basic equipment model by establishing intelligent relationships between components and automatically triggering corresponding adjustments to the associated components when a modification operation is detected, thereby improving the efficiency of design modifications and the consistency of the model.

[0128] To further illustrate, suppose a equipment foundation model consists of a concrete base slab and four supporting piers. After generating the equipment foundation model, an automatic "support relationship" is established between the base slab and each pier, and the constraint that "the piers must be completely within the base slab boundary" is recorded. When a design change requires reducing the length of the base slab from 8000mm to 6000mm, the user only needs to modify the base slab's length parameter. Upon detecting this modification, the associated update process is immediately initiated.

[0129] First, identify the four pier members that have a "support relationship" with the base plate. Then, according to the constraint condition that "the piers must be completely within the boundaries of the base plate", automatically calculate the displacement amount that each pier needs to be adjusted. Since the length of the base plate is reduced, the two piers originally close to the two ends may exceed the new boundaries of the base plate, so these piers are automatically moved towards the center by the corresponding distance to ensure that all piers remain within the scope of the base plate.

[0130] It can be understood that after creating the equipment foundation model, when the user modifies the height information of any one of the three-dimensional members through the interactive interface (for example, adjusting the height of Pier A from 1500 mm to 1800 mm), or adjusting the size or shape of the three-dimensional member, or adjusting the attached members of the three-dimensional member, etc., the system first automatically identifies all other members and attachments that depend on this member based on the preset association relationship; then, the system recalculates the spatial positions of the relevant members in the topological hierarchy order and联动updates the geometric models of all affected members to ensure the consistency of the design logic.

[0131] Through the embodiments provided in this application, an association relationship is established between the first member and the second member; in the case of obtaining the modification information of the first member, based on the association relationship and the modification information, the second member is adjusted, where the modification information is used to modify the corresponding height information or position information of the first member. By establishing an intelligent association relationship between members and automatically triggering the corresponding adjustment of the associated members when a modification operation is detected, the technical effects of realizing the parametric and intelligent联动update of the equipment foundation model, improving the design modification efficiency and model consistency are achieved.

[0132] As an optional solution, generating at least one three-dimensional member based on the height information and design information respectively corresponding to at least one two-dimensional image includes:

[0133] S6-1, based on the spatial relationship, obtain a topological hierarchy graph, where the topological hierarchy graph is a directed acyclic graph, the first target point in the topological hierarchy graph is used to indicate the first projection line, and the direction in the topological hierarchy graph is used to indicate the inclusion relationship, and at least one two-dimensional image includes the first projection line;

[0134] S6-2, based on the topological hierarchy graph, obtain the traversal order of at least one two-dimensional image;

[0135] Based on the traversal order, traverse at least one two-dimensional image, and perform the following operations on the currently traversed projection line:

[0136] S6-3, pull the current projection line along the direction perpendicular to the two-dimensional plane to the height indicated by the height information corresponding to the current projection line, to obtain the current three-dimensional component, wherein at least one three-dimensional component includes the current three-dimensional component.

[0137] Optionally, in this embodiment, the topological hierarchy graph can be, but is not limited to, a mathematical model for accurately describing the hierarchical relationships between projection lines, and can be, but is not limited to, a directed acyclic graph, thereby transforming intuitive spatial relationships into a data structure that can be accurately processed and traversed by a computer. For example, in the graph, a projection line node representing the base plate will point to a projection line node representing the pier above it, forming a directed edge from the base plate to the pier.

[0138] Optionally, in this embodiment, the directed acyclic graph can be, but is not limited to, a graph structure consisting of nodes and directed edges that does not contain circular paths. This allows for the clear identification of the parent and child hierarchy when representing inclusion relationships, ensuring the logical rationality of the traversal order and avoiding generation errors caused by circular dependencies.

[0139] Optionally, in this embodiment, the traversal order may refer to, but is not limited to, the sequence of visiting all nodes in the topology hierarchy graph according to a specific algorithm, such as depth-first or breadth-first, thereby transforming the disordered set of projection lines into an ordered generation queue that conforms to architectural logic. For example, a bottom-up traversal order ensures that the bottom slab is generated first, and then the upper piers are generated, thus guaranteeing the correctness of the model structure.

[0140] Optionally, in this embodiment, the spatial relationships between projection lines are mathematically abstracted to construct a topological hierarchy graph with projection lines as nodes and inclusion relationships as directional edges. This transforms vague spatial intuition into a precise and computable hierarchical model.

[0141] Next, the constructed topology hierarchy is sorted to calculate a reasonable node access sequence. Based on the spatial dependencies between components, the generation steps of the 3D model are determined to ensure that the dependent components (such as the base plate) are generated first, and the components that depend on others (such as the pier) are generated later.

[0142] Finally, each two-dimensional projection line is sequentially stretched into a three-dimensional component, and the ordered two-dimensional parametric information is converted into three-dimensional entities in batches according to the correct spatial logic, automatically constructing a reasonably structured equipment foundation model.

[0143] The embodiments provided in this application abstract the spatial relationship between projection lines into a topological hierarchy diagram and determine the generation order accordingly. This ensures that the spatial dependence and architectural logic between components are strictly followed during the 3D modeling process. This achieves the automated, batch generation of equipment basic models without logical errors, completely avoiding structural errors such as component insertion and suspension caused by improper generation order, and significantly improving the technical effect of modeling quality and efficiency.

[0144] As an optional approach, after stitching together at least one three-dimensional component and its corresponding auxiliary components based on the spatial relationship between at least one two-dimensional image to obtain the basic model of the device, the method further includes:

[0145] S7-1, when a first auxiliary component is attached to a third component, at least one mechanical index is obtained based on the auxiliary component information corresponding to the first auxiliary component, as well as the height information and design information corresponding to the third component. The mechanical index is used to indicate the load-bearing capacity of the third component, and at least one three-dimensional component includes the third component.

[0146] S7-2, In the case that there is no first auxiliary component on the third component, obtain at least one mechanical index based on the height information and design information corresponding to the third component;

[0147] S7-3, if at least one of the target mechanical indicators meets the load-bearing conditions, a target prompt message is displayed, wherein the target prompt message is used to indicate that there is an abnormality in the third component.

[0148] Optionally, in this embodiment, mechanical indicators may refer to parameters calculated using structural mechanics formulas to quantitatively evaluate the structural performance of components, such as flexural capacity, shear capacity, and axial compressive capacity. This provides an objective basis for safety performance evaluation of the model, transforming abstract engineering concepts into concrete and quantifiable numerical indicators. For example, the ultimate bending moment value calculated using the formula for the flexural capacity of a concrete component's cross-section can be understood as a mechanical indicator.

[0149] Optionally, in this embodiment, the bearing condition may refer to, but is not limited to, pre-set mechanical performance evaluation criteria, thereby providing a benchmark for judging whether the mechanical indicators are qualified or not, ensuring that the design results meet safety and functional requirements. For example, the specification may require that the overturning safety factor of the component shall not be less than 1.5.

[0150] Optionally, in this embodiment, the target prompt information may be, but is not limited to, warning content generated when mechanical indicators are detected as not meeting the bearing conditions. It may include, but is not limited to, anomaly descriptions, problem location, and improvement suggestions, thereby providing timely feedback to designers on potential structural safety hazards and guiding the direction of design optimization. For example, it may prompt "The overturning resistance coefficient of the pier is 1.2, which is less than the specification requirement of 1.5. The target prompt information is used to suggest increasing the bottom dimensions or reducing the pier height."

[0151] When auxiliary components are attached to the main component, the overall analysis is carried out by comprehensively considering the geometric dimensions and material properties of the main component as well as the type, location and connection method of the auxiliary components. The mechanical model of the composite structure is used to calculate the comprehensive mechanical indicators, including local bearing pressure and composite stress, so as to accurately evaluate the influence of auxiliary components on the mechanical performance of the main structure and avoid calculation deviations caused by ignoring secondary components.

[0152] For a single component without any auxiliary components, the core mechanical performance indicators of the component are obtained by using basic mechanical formulas based on its geometric parameters and material properties, thereby quickly evaluating the structural performance of the basic component and providing immediate feedback for the preliminary design.

[0153] Finally, the calculated mechanical indices are automatically compared with the preset bearing conditions. When any index is found to be unsatisfactory, a prompt message containing a specific problem description, standard basis, and improvement suggestions is generated. The problematic component is highlighted in a visual manner, thereby achieving early detection and precise location of design problems and significantly improving design quality.

[0154] It should be noted that by establishing a real-time mechanical analysis mechanism and intelligent early warning based on complete component information, the automated assessment and immediate feedback of the safety performance of the equipment foundation structure have been achieved. This has enabled the technical effect of discovering and locating structural safety hazards in the early stages of the design phase, improving design reliability and review efficiency.

[0155] To further illustrate, consider the design of a compressor foundation for a chemical plant. This foundation comprises multiple concrete piers, some of which require the installation of embedded plates for large equipment. After the designers complete the initial modeling, the mechanical performance evaluation process is automatically initiated.

[0156] For piers (third components) with large embedded plates, follow step S7-1: First, identify the embedded plate (first auxiliary component) attached to the pier. Then, comprehensively consider the pier's concrete strength (C30), cross-sectional dimensions (800×800mm), height (1100mm), embedded plate dimensions (600×600×30mm), and anchor bolt configuration (4-M36). Use the appropriate mechanical calculation model to calculate the flexural bearing capacity, local bearing capacity, and overturning coefficient of the composite structure.

[0157] For other ordinary piers without auxiliary components, perform step S7-2: calculate their basic mechanical properties such as axial compressive bearing capacity and shear bearing capacity based on their respective geometric dimensions and material properties.

[0158] In step S7-3, it was detected that the overturning resistance coefficient of one of the piers with embedded plates was 1.4, which does not meet the specification requirement of 1.5. The pier was immediately marked in red in the 3D model, and a prompt message was displayed to the designers: "The overturning resistance safety factor of pier B is insufficient. The current value of 1.4 < the required value of 1.5. It is recommended to increase the cross-sectional dimensions to 900×900mm or reduce the pier height to 1000mm."

[0159] Simultaneously, the system detected that the concrete compressive stress of another ordinary pier exceeded the limit, and similarly provided corresponding warnings and improvement suggestions. Based on these intelligent prompts, the designers quickly adjusted the design scheme, recalculated, and confirmed that all mechanical indicators met the requirements, thus eliminating potential structural safety hazards at the design stage and ensuring project quality and safety.

[0160] Through the embodiments provided in this application, when a first auxiliary component is attached to a third component, at least one mechanical index is obtained based on the auxiliary component information corresponding to the first auxiliary component, as well as the height information and design information corresponding to the third component. This mechanical index indicates the load-bearing capacity of the third component, and at least one three-dimensional component includes the third component. When no first auxiliary component is attached to the third component, at least one mechanical index is obtained based on the height information and design information corresponding to the third component. If a target mechanical index among the at least one mechanical index meets the load-bearing conditions, a target prompt message is displayed, indicating an anomaly in the third component. By establishing a real-time mechanical analysis mechanism and intelligent early warning based on complete component information, automated assessment and immediate feedback of the safety performance of the equipment foundation structure are achieved, thereby achieving the technical effect of discovering and locating structural safety hazards early in the design phase, improving design reliability, and enhancing review efficiency.

[0161] As an optional approach, at least one two-dimensional image is acquired, including at least one of the following:

[0162] Obtain CAD engineering drawings and parse them to obtain the CAD elements contained in the CAD engineering drawings, and obtain at least one column projection line, wherein at least one two-dimensional image includes at least one column projection line;

[0163] At least one closed contour map is generated by an objective function, wherein at least one two-dimensional image includes at least one closed contour map;

[0164] The target model is scanned to obtain scan data, and at least one component outline is obtained based on the scan data, wherein at least one two-dimensional image includes at least one component outline.

[0165] Optionally, in this embodiment, the columnar projection line may refer to, but is not limited to, a closed two-dimensional contour line extracted from CAD engineering drawings that represents the projection of the columnar component onto a horizontal plane, thereby converting the component information in the design drawings into standardized geometric data that can be used for three-dimensional modeling. For example, a square closed contour extracted from the drawings indicates that a pier with a square cross-section needs to be built at that location.

[0166] Optionally, in this embodiment, the objective function may refer to, but is not limited to, mathematical rules or algorithmic logic used to generate a specific contour, thereby automatically creating a two-dimensional contour shape that meets the requirements according to engineering needs. For example, an algorithm for generating the minimum bounding polygon based on equipment layout points.

[0167] Optionally, in this embodiment, the closed contour drawing may refer to, but is not limited to, a two-dimensional graphic with completely closed boundaries generated by an objective function, thereby automatically generating the basic contour of the equipment based on rules when ready-made design drawings are lacking. For example, the system generates a triangular basic contour based on the input coordinates of three equipment support points using a triangulation algorithm.

[0168] Optionally, in this embodiment, the target model may refer to, but is not limited to, a physical entity or digital model that is the object of scanning, thereby providing a source of geometric information about an existing equipment foundation. For example, a physical equipment foundation that has already been built.

[0169] Optionally, in this embodiment, the scan data may refer to, but is not limited to, the raw geometric data obtained by physically or digitally scanning the target model, thereby accurately recording the three-dimensional surface information of the target model. For example, point cloud data obtained using a three-dimensional scanning device.

[0170] Optionally, in this embodiment, the component outline drawing may refer to, but is not limited to, a two-dimensional outline extracted from scan data that represents the projection of the component in the target model onto a horizontal plane, thereby converting the three-dimensional scan information into two-dimensional outline data that can be used for design reference. For example, a complex polygon outline extracted from existing basic point cloud data.

[0171] Optionally, in this embodiment, the system acquires a CAD engineering drawing file and reads its contents. Then, the system parses the CAD elements in the file, identifies the closed contours within them, and defines them as cylindrical projection lines.

[0172] Optionally, in this embodiment, the system executes a preset objective function algorithm. Then, based on the algorithm output, a corresponding closed contour map is generated, thereby automatically creating a basic contour based on engineering rules when no existing drawings are available, thus expanding the application scope of the system.

[0173] Optionally, in this embodiment, the system acquires scan data of the target model. Then, the scan data is processed and analyzed to extract the contour lines representing the horizontal projection of the component, which are defined as the component contour diagram. This transforms the actual equipment foundation information into usable design reference data, supporting modification design.

[0174] It should be noted that, in addition to the methods mentioned above for acquiring 2D images, 2D images can also be received from users. By providing three parallel methods for acquiring 2D contours—acquiring user-supplied 2D images, parsing CAD drawings, automatically generating data using algorithms, and scanning physical objects—the system can flexibly obtain basic planar information of equipment from multi-source, heterogeneous data, enhancing the data adaptability and application flexibility of the 3D modeling system.

[0175] As an optional solution, in order to better understand the process of obtaining the above-mentioned basic device model, the following describes the execution flow of the above-mentioned basic device model acquisition method in conjunction with optional embodiments, but it is not intended to limit the technical solution of the embodiments of this application.

[0176] This embodiment provides a method for creating a basic device model. Utilizing the characteristic that a device basic model is composed of multiple stacked, prism-like objects, the method specifically includes the following steps:

[0177] S8-1, Create a subprism;

[0178] S8-1-1, Preset design parameters for the sub-prism to be created;

[0179] S8-1-2, quickly create standard sub-prisms by stretching the projection lines;

[0180] S8-1-3, precise design of the sub-prism;

[0181] S8-1-4, based on the design parameters of the sub-prism, obtain an accurate equipment foundation model.

[0182] S8-2, the raising of sub-prisms can be achieved by manually selecting the closed line (projection line of a single sub-frustum) and using the preset default frustum height, or by selecting multiple sets of closed curves and generating multiple frustum prisms in batches from bottom to top through topology analysis.

[0183] Further examples, such as Figure 8 As shown, Figure 8As shown in (a), this is projection contour 802, which contains multiple projection sub-contours, such as projection sub-contour 804; Figure 8 As described in (b), parameter information 806 is the parameter information of the projected sub-contour 804; as Figure 8 As shown in (c), the device basic model 808 is obtained by stretching the projection sub-contours based on the parameter information corresponding to all projection sub-contours in the projection contour 802.

[0184] It should be noted that the editing options in S7-1 include adding attachments to each sub-prism in specific ways. Attachments can be physical objects such as beams, embedded plates, reinforcing bars, anchor bolts, and bedding layers. Attachments can also be a negative entity in a model calculation (used for creating openings) to form diverse shapes. Editing sub-frustums can also be done by automatically obtaining their orientation and dimensions from drawing information. Editing sub-frustums can be done in 2D, making the relationship between parameters and the drawing more significant and easier to view. The preset parameters created can also be common, such as the concrete strength of the equipment foundation; these properties can be assigned to all sub-frustums during creation.

[0185] In related technologies, creating equipment foundation models involves either manual detailing or full parametric implementation. However, manual detailing is slow, requiring the creation of individual sample projects through coordinate input, and each rebar needs to be individually constructed, resulting in a huge workload. This leads to long modeling cycles in engineering practice, making it uneconomical and unused in general design.

[0186] The model was fully parametric. However, the sheer number of parameters and the limited graphical styles restricted its application. While creating a grouping and creation program reduced the workload, the workload of creating individual rebar group models remained substantial. Another significant issue was the difficulty in querying and modifying the parameters of the design drawings after creation, hindering the implementation of review and verification processes outside of the design phase.

[0187] In this embodiment, the model is created by leveraging the advantages of graphic information capture, and the model to be created is disassembled. The design target is quickly designed and located by editing the standard sub-prisms.

[0188] Further examples, such as Figure 9 As shown, Figure 9 (a) in the figure represents the equipment base model 902. After selecting the three-dimensional component 904 on the equipment base model 902, optional configurations may be made as follows: Figure 9 As shown in (b), the design information 906 of the three-dimensional component 904 is edited; optionally, as shown in (b), the design information 906 of the component 904 is edited. Figure 9As shown in (c), based on the mapping relationship between the device base model 902 and the projection profile 908, the design information of the projection sub-profile 910 in the projection profile 908 is modified into the edited design information 906.

[0189] Further examples illustrate this point, with the following optional steps:

[0190] S9-1, Presets the default information of the object to be created;

[0191] S9-2, Select the projection diagram of the foundation to be created;

[0192] S9-3 enables precise model creation through editing subprisms or depth recognition.

[0193] It should be noted that in the embodiments provided in this application, a set of topological analysis and auxiliary parameters for the projection lines of the sub-prisms are established to form an algorithm for creating the shape of the basic three-dimensional model of the equipment based on the sub-prisms.

[0194] The type of appendages on the standard subprism is determined so that the standard subprism after adding appendages meets the general requirements for creating a device foundation. It should be noted that the standardized breakdown of the device foundation in the first two steps is not immediately obvious.

[0195] In conventional design, different drawings are typically categorized into at least four types of parametric models. This approach utilizes the extraction of two-dimensional graphic information to realize polygonal prisms, employs the concept of negative solids for segmentation, and expands upon them using the concept of appendages. These concepts collectively realize the basic components of the equipment foundation modeling.

[0196] The attachments are not obviously contained within a single standard frustum, and therefore, creating a model based on the division of standard frustums is not self-evident. (This division is based on a certain professional composition analysis and a certain object composition and mechanical transmission logic). The division is not obvious either. In a real equipment foundation model, a functional "attachment" (such as a steel bar running through multiple parts or a bolt hole) does not naturally and obviously belong to a complete whole component physically and logically; instead, the key to this embodiment is that the foundation is not treated as a whole, but rather broken down into multiple basic "standard sub-prism" units, and then specific attachments are associated with specific, local sub-prisms based on professional engineering logic (such as mechanical transmission paths and functional composition).

[0197] To analyze the substructures of different types of equipment foundations, a digital scheme capable of realizing a wide range of sub-prisms is created. Optionally, based on the characteristics of the sub-prisms, further digital schemes can be developed for base plates, piers, and subbases.

[0198] To address the above digitization, a planar, interactive window display method was created. This not only breaks down the sub-prisms but also transforms three-dimensional interaction into two-dimensional interaction. This dimensionality reduction enables efficient information transmission, and this efficiency is further reflected in accuracy.

[0199] Through the embodiments provided in this application, after creating data by recognizing the shape, in addition to reproducing existing designs, the parameters of the model can be modified to achieve the design of a new model. Alternatively, the user designs a contour to be stretched, and a preliminary model is created using preset parameters for design. After model creation, the quantity data of concrete, steel bars, iron parts, paint, etc., are quickly obtained according to rules, which can then be used for project cost estimation. This method can also be applied to the model creation of equipment foundations in the petrochemical industry, municipal industry, and other industries.

[0200] As can be understood from the embodiments provided in this application, in the specific implementation of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0201] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0202] According to another aspect of the embodiments of this application, an apparatus for obtaining a device basic model for implementing the above-described method for obtaining a device basic model is also provided. For example... Figure 10 As shown, the device includes:

[0203] The acquisition unit 1002 is used to acquire at least one two-dimensional image and acquire the spatial relationship between at least one two-dimensional image, wherein the two-dimensional image is acquired based on CAD elements contained in the CAD engineering drawing, and the spatial relationship is used to indicate the topological relationship between the various two-dimensional images on the two-dimensional plane.

[0204] The generation unit 1004 is used to generate at least one three-dimensional component based on the height information and design information corresponding to at least one two-dimensional image, and to traverse each three-dimensional component and generate each three-dimensional component's corresponding auxiliary component. The height information is used to indicate the height of the three-dimensional component corresponding to the two-dimensional image, and the auxiliary design information is used to indicate the functional attributes and engineering parameters of the three-dimensional component corresponding to the two-dimensional image. The auxiliary component is an additional component that is associated with and attached to the three-dimensional component structure.

[0205] The splicing unit 1006 is used to splice at least one three-dimensional component and its corresponding auxiliary components based on the spatial relationship between at least one two-dimensional image to obtain a basic model of the device.

[0206] For specific implementation examples, please refer to the example shown in the above method for obtaining the basic device model, which will not be repeated here.

[0207] As an optional solution, the splicing unit 1006 includes: a first determining module, used to determine the topological hierarchy information between at least one three-dimensional component and the spatial position information corresponding to each three-dimensional component based on spatial relationships, wherein the topological hierarchy information is used to indicate the subordinate dependency relationship formed between at least one three-dimensional component based on functional or physical contact, and the spatial position information is used to indicate the position of the three-dimensional component in three-dimensional space; and a splicing module, used to splice at least one three-dimensional component and the corresponding auxiliary component of each three-dimensional component based on the topological hierarchy information and the spatial position information corresponding to each three-dimensional component to obtain the basic model of the equipment.

[0208] For specific implementation examples, please refer to the example shown in the above method for obtaining the basic device model, which will not be repeated here.

[0209] As an optional solution, the device further includes: a first traversal module, used to traverse each three-dimensional component and perform the following steps on the traversed current three-dimensional component: obtaining the subordinate component information corresponding to the current three-dimensional component based on topological hierarchy information, wherein the subordinate component information is used to indicate the subordinate component corresponding to the current three-dimensional component; generating the subordinate component corresponding to the current three-dimensional component based on the subordinate component type and subordinate component parameters contained in the subordinate component information; a first attachment module, used to attach the subordinate component at the position indicated by the attachment identifier on the current three-dimensional component when the subordinate component information contains an attachment identifier; a second attachment module, used to determine the attachment position of the subordinate component based on the three-dimensional spatial relationship between the current three-dimensional component and adjacent three-dimensional components when the subordinate component information does not contain an attachment identifier, and attach the subordinate component based on the attachment position, wherein the adjacent three-dimensional components and the current three-dimensional component satisfy a preset distance condition.

[0210] For specific implementation examples, please refer to the example shown in the above method for obtaining the basic device model, which will not be repeated here.

[0211] As an optional solution, the device further includes: a first acquisition module, configured to acquire a three-dimensional spatial relationship between a first component and a second component when topological hierarchical information indicates that there is spatial interference between the first component and the second component in at least one three-dimensional component, wherein the spatial interference indicates that the first component and the second component occupy the same region in three-dimensional space; a second determination module, configured to determine a target component and a tool component from the first component and the second component based on the three-dimensional spatial relationship; a first generation module, configured to generate a first hole in the target component when the three-dimensional spatial relationship indicates that there is a nesting relationship between the target component and the tool component, and to splice the first component and the second component based on the first hole, wherein the first hole satisfies the target condition, and the three-dimensional spatial relationship includes a nesting relationship; and a second generation module, configured to... When a three-dimensional spatial relationship indicates that there is a cross-interference relationship between the target component and the tool component, a second hole is generated in the target component, and the first component and the second component are spliced ​​based on the second hole. The second hole and the first cross-interference area are the same size. The first cross-interference area is used to indicate the cross-interference area between the target component and the tool component. The three-dimensional spatial relationship includes the cross-interference relationship. A third generation module is used when a three-dimensional spatial relationship indicates that there is a cross-interference relationship between the target component and the corresponding auxiliary component of the target component, a third hole is generated in the target component, and the first component and the second component are spliced ​​based on the third hole. The third hole and the second cross-interference area are the same size. The second cross-interference area is used to indicate the cross-interference area between the target component and the corresponding auxiliary component of the tool component.

[0212] For specific implementation examples, please refer to the example shown in the above method for obtaining the basic device model, which will not be repeated here.

[0213] As an optional solution, the device further includes: an establishment module for establishing an association relationship between the first component and the second component; and an adjustment module for adjusting the second component based on the association relationship and the modification information when modification information of the first component is obtained, wherein the modification information is used to modify the height information or position information corresponding to the first component.

[0214] For specific implementation examples, please refer to the example shown in the above method for obtaining the basic device model, which will not be repeated here.

[0215] As an optional solution, the device further includes: a second acquisition module, used to acquire a topological hierarchy graph based on spatial relationships, wherein the topological hierarchy graph is a directed acyclic graph, a first target point in the topological hierarchy graph is used to indicate a first projection line, the direction in the topological hierarchy graph is used to indicate an inclusion relationship, and at least one two-dimensional image includes the first projection line; a third acquisition module, used to acquire the traversal order of at least one two-dimensional image based on the topological hierarchy graph; and a second traversal module, used to traverse at least one two-dimensional image based on the traversal order, and perform the following operations on the traversed current projection line: a stretching module, used to stretch the current projection line along a direction perpendicular to the two-dimensional plane to the height indicated by the height information corresponding to the current projection line, to obtain the current three-dimensional component, wherein at least one three-dimensional component includes the current three-dimensional component.

[0216] For specific implementation examples, please refer to the example shown in the above method for obtaining the basic device model, which will not be repeated here.

[0217] As an optional solution, the device further includes: a fourth acquisition module, used to acquire at least one mechanical index based on the information of the first auxiliary component corresponding to the first auxiliary component, and the height information and design information of the third component when the first auxiliary component is attached to the third component, wherein the mechanical index is used to indicate the load-bearing capacity of the third component, and at least one three-dimensional component includes the third component; a fifth acquisition module, used to acquire at least one mechanical index based on the height information and design information of the third component when the first auxiliary component is not attached to the third component; and a display module, used to display target prompt information when a target mechanical index among the at least one mechanical index meets the load-bearing conditions, wherein the target prompt information is used to indicate that there is an abnormality in the third component.

[0218] For specific implementation examples, please refer to the example shown in the above method for obtaining the basic device model, which will not be repeated here.

[0219] As an optional solution, the acquisition unit 1002 includes: a sixth acquisition module, used to acquire CAD engineering drawings and parse the CAD elements contained in the CAD engineering drawings to obtain at least one columnar projection line, wherein at least one of the two-dimensional images includes at least one of the columnar projection lines; and a fourth generation module, used to generate at least one closed contour map through an objective function, wherein at least one of the two-dimensional images includes at least one of the closed contour maps.

[0220] A scanning module is used to scan the target model, obtain scan data, and obtain at least one component outline based on the scan data, wherein at least one of the two-dimensional images includes at least one component outline.

[0221] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described method for obtaining a device basic model is also provided. This electronic device may, but is not limited to, […]. Figure 1 The user equipment 102 or server 112 shown in the figure, in this embodiment, is taken as an example of an electronic device, namely user equipment 102. Further, as shown in the figure... Figure 11 As shown, the electronic device includes a memory 1102 and a processor 1104. The memory 1102 stores a computer program, and the processor 1104 is configured to execute the steps of any of the above method embodiments via the computer program.

[0222] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.

[0223] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0224] S1, acquire at least one two-dimensional image, and acquire the spatial relationship between at least one two-dimensional image, wherein the spatial relationship is used to indicate the topological relationship between the individual two-dimensional images on the two-dimensional plane;

[0225] S2, generate at least one three-dimensional component based on the height information and design information corresponding to at least one two-dimensional image, traverse each three-dimensional component, and generate each three-dimensional component's corresponding auxiliary component. The height information is used to indicate the height of the three-dimensional component corresponding to the two-dimensional image, and the auxiliary design information is used to indicate the functional attributes and engineering parameters of the three-dimensional component corresponding to the two-dimensional image. The auxiliary component is an additional component that is associated with and attached to the three-dimensional component structure.

[0226] S3, based on the spatial relationship between at least one two-dimensional image, at least one three-dimensional component and its corresponding auxiliary components are spliced ​​together to obtain the basic model of the equipment.

[0227] Alternatively, as those skilled in the art will understand, Figure 11 The structure shown is for illustrative purposes only. Figure 11 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 11 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 11 The different configurations shown.

[0228] The memory 1102 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and apparatus for obtaining the device basic model in this embodiment. The processor 1104 executes various functional applications and data processing by running the software programs and modules stored in the memory 1102, thereby realizing the aforementioned method for obtaining the device basic model. The memory 1102 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1102 may further include memory remotely located relative to the processor 1104, and these remote memories can be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 1102 may be used, but is not limited to, to store CAD engineering drawings, CAD elements, two-dimensional images, height information, spatial relationships, and other information. As an example, such as... Figure 11 As shown, the memory 1102 may include, but is not limited to, the acquisition unit 1002, generation unit 1004, and splicing unit 1006 in the device basic model acquisition device. Furthermore, it may include, but is not limited to, other module units in the device basic model acquisition device, which will not be elaborated further in this example.

[0229] Optionally, the aforementioned transmission device 1106 is used to receive or send data via a network. Specific examples of the network may include wired and wireless networks. In one example, the transmission device 1106 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 1106 is a radio frequency (RF) module used for wireless communication with the Internet.

[0230] In addition, the aforementioned electronic device also includes: a display 1108 for displaying the aforementioned CAD engineering drawings, CAD elements, two-dimensional images, height information, spatial relationships, and other information; and a connection bus 1110 for connecting the various module components in the aforementioned electronic device.

[0231] In other embodiments, the aforementioned user equipment or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer network, and any form of computing device, such as a server, user equipment, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.

[0232] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions provided in embodiments of this application.

[0233] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0234] It should be noted that the computer system of the electronic device is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0235] A computer system includes a Central Processing Unit (CPU), which performs various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) or loaded from RAM. ROM also stores various programs and data required for system operation. The CPU, ROM, and RAM are interconnected via a bus. Input / output interfaces (I / O interfaces) are also connected to the bus.

[0236] The following components are connected to the input / output interface: input sections including keyboards, mice, etc.; output sections including cathode ray tubes (CRTs), liquid crystal displays (LCDs), and speakers; storage sections including hard drives; and communication sections including network interface cards such as LAN cards and modems. The communication section performs communication processing via a network such as the Internet. Drives are also connected to the input / output interface as needed. Removable media, such as disks, optical discs, magneto-optical discs, semiconductor memories, etc., are installed on the drive as needed so that computer programs read from them can be installed into the storage section as required.

[0237] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions defined in the system of this application.

[0238] According to one aspect of this application, a computer-readable storage medium is provided, wherein a processor of a computer device reads computer instructions from the computer-readable storage medium, and executes the computer instructions to cause the computer device to perform the methods provided in the various alternative implementations described above.

[0239] Optionally, in this embodiment, the computer-readable storage medium described above may be configured to store a computer program for performing the following steps:

[0240] S1, acquire at least one two-dimensional image, and acquire the spatial relationship between at least one two-dimensional image, wherein the spatial relationship is used to indicate the topological relationship between the individual two-dimensional images on the two-dimensional plane;

[0241] S2, generate at least one three-dimensional component based on the height information and design information corresponding to at least one two-dimensional image, traverse each three-dimensional component, and generate each three-dimensional component's corresponding auxiliary component. The height information is used to indicate the height of the three-dimensional component corresponding to the two-dimensional image, and the auxiliary design information is used to indicate the functional attributes and engineering parameters of the three-dimensional component corresponding to the two-dimensional image. The auxiliary component is an additional component that is associated with and attached to the three-dimensional component structure.

[0242] S3, based on the spatial relationship between at least one two-dimensional image, at least one three-dimensional component and its corresponding auxiliary components are spliced ​​together to obtain the basic model of the equipment.

[0243] Optionally, in embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0244] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware of an electronic device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0245] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0246] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0247] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0248] In the several embodiments provided in this application, it should be understood that the disclosed user equipment can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.

[0249] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0250] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0251] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for obtaining a basic model of equipment, characterized in that, include: Acquire at least one two-dimensional image and acquire at least one spatial relationship between the two-dimensional images, wherein the spatial relationship is used to indicate the topological relationship between the individual two-dimensional images on a two-dimensional plane; At least one three-dimensional component is generated based on the height information and design information corresponding to at least one of the two-dimensional images, and each three-dimensional component is traversed to generate an auxiliary component corresponding to each three-dimensional component. The height information is used to indicate the height of the three-dimensional component corresponding to the two-dimensional image, the design information is used to indicate the functional attributes and engineering parameters of the three-dimensional component corresponding to the two-dimensional image, and the auxiliary component is an additional component that is associated with and attached to the three-dimensional component structure. Based on the spatial relationship, topological hierarchy information between at least one of the three-dimensional components and spatial location information corresponding to each of the three-dimensional components are determined, wherein the topological hierarchy information is used to indicate the subordinate dependency relationship formed between at least one of the three-dimensional components based on function or physical contact, and the spatial location information is used to indicate the position of the three-dimensional component in three-dimensional space. Based on the topological hierarchy information and the spatial position information corresponding to each of the three-dimensional components, at least one of the three-dimensional components and the corresponding auxiliary components of each three-dimensional component are spliced ​​together to obtain the basic model of the equipment. Based on the topological hierarchy information and the spatial position information corresponding to each of the three-dimensional components, at least one of the three-dimensional components and the corresponding auxiliary components of each three-dimensional component are spliced ​​together to obtain the basic model of the equipment, including: When the topological hierarchy information indicates that there is spatial interference between a first component and a second component in at least one of the three-dimensional components, the three-dimensional spatial relationship between the first component and the second component is obtained, wherein the spatial interference is used to indicate that the first component and the second component occupy the same region in three-dimensional space; Based on the three-dimensional spatial relationship, the target component and the tool component are determined from the first component and the second component; When the three-dimensional spatial relationship indicates that there is a nesting relationship between the target component and the tool component, a first hole is generated in the target component, and the first component and the second component are spliced ​​based on the first hole, wherein the first hole satisfies the target condition, and the three-dimensional spatial relationship includes the nesting relationship; When the three-dimensional spatial relationship indicates that there is a cross-interference relationship between the target component and the tool component, a second hole is generated in the target component, and the first component and the second component are spliced ​​based on the second hole, wherein the second hole and the first cross-interference area are the same size, and the first cross-interference area is used to indicate the cross-interference area between the target component and the tool component, and the three-dimensional spatial relationship includes the cross-interference relationship; When the three-dimensional spatial relationship indicates that there is a cross-interference relationship between the target component and the corresponding auxiliary component, a third hole is generated in the target component, and the first component and the second component are spliced ​​based on the third hole. The third hole and the second cross-interference area are the same size, and the second cross-interference area is used to indicate the cross-interference area between the target component and the corresponding auxiliary component of the tool component.

2. The method according to claim 1, characterized in that, The step of traversing each of the three-dimensional components and generating corresponding auxiliary components for each of the three-dimensional components includes: Iterate through each of the three-dimensional components and perform the following steps on the currently traversed three-dimensional component: Based on the topology hierarchy information, the information of the subordinate components corresponding to the current three-dimensional component is obtained, wherein the information of the subordinate components is used to indicate the subordinate components corresponding to the current three-dimensional component; Based on the auxiliary component type and auxiliary component parameters contained in the auxiliary component information, generate the auxiliary component corresponding to the current three-dimensional component; Based on the topological hierarchy information and the spatial position information corresponding to each of the three-dimensional components, at least one of the three-dimensional components and the corresponding auxiliary components of each three-dimensional component are spliced ​​together to obtain the basic model of the equipment, including: If the attachment information includes an attachment identifier, the attachment component is attached at the position of the current three-dimensional component indicated by the attachment identifier. If the attachment identifier is not included in the attachment component information, the attachment position of the attachment component is determined based on the three-dimensional spatial relationship between the current three-dimensional component and the adjacent three-dimensional component, and the attachment component is attached based on the attachment position, wherein the adjacent three-dimensional component and the current three-dimensional component satisfy a preset distance condition.

3. The method according to claim 1, characterized in that, After the basic device model is obtained by splicing together at least one three-dimensional component and its corresponding auxiliary components based on the topological hierarchy information and the spatial position information of each three-dimensional component, the method further includes: Establish the association relationship between the first component and the second component; Upon obtaining modification information for the first component, the second component is adjusted based on the association and the modification information, wherein the modification information is used to modify the height or position information corresponding to the first component.

4. The method according to claim 1, characterized in that, The generation of at least one three-dimensional component based on the height information and design information corresponding to at least one of the two-dimensional images includes: Based on the spatial relationship, a topological hierarchy graph is obtained, wherein the topological hierarchy graph is a directed acyclic graph, the first target point in the topological hierarchy graph is used to indicate the first projection line, the direction in the topological hierarchy graph is used to indicate the inclusion relationship, and at least one of the two-dimensional images includes the first projection line. Based on the topological hierarchy graph, obtain the traversal order of at least one of the two-dimensional images; Based on the traversal order, traverse at least one of the two-dimensional images and perform the following operations on the currently traversed projection line: The current projection line is pulled up along a direction perpendicular to the two-dimensional plane to the height indicated by the height information corresponding to the current projection line to obtain the current three-dimensional component, wherein the at least one three-dimensional component includes the current three-dimensional component.

5. The method according to any one of claims 1 to 4, characterized in that, After splicing together at least one of the three-dimensional components and the corresponding auxiliary components of each of the three-dimensional components based on the topological hierarchy information and the spatial position information of each of the three-dimensional components to obtain the basic model of the equipment, the method further includes: When a first auxiliary component is attached to a third component, at least one mechanical index is obtained based on the auxiliary component information corresponding to the first auxiliary component, as well as the height information and design information corresponding to the third component. The mechanical index is used to indicate the load-bearing capacity of the third component, and the at least one three-dimensional component includes the third component. In the absence of the first auxiliary component on the third component, at least one mechanical index is obtained based on the height information and design information corresponding to the third component; If at least one of the target mechanical indicators meets the load-bearing conditions, a target prompt message is displayed, wherein the target prompt message is used to indicate that the third component has an abnormality.

6. The method according to any one of claims 1 to 4, characterized in that, The acquisition of at least one two-dimensional image includes at least one of the following: Obtain a CAD engineering drawing and parse the CAD engineering drawing to obtain the CAD elements contained in the CAD engineering drawing, and obtain at least one column projection line, wherein at least one of the two-dimensional images includes at least one column projection line; At least one closed contour map is generated by an objective function, wherein at least one of the two-dimensional images includes at least one of the closed contour maps; The target model is scanned to obtain scan data, and at least one component outline is obtained based on the scan data, wherein at least one of the two-dimensional images includes at least one component outline.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program is executed by an electronic device to perform the method according to any one of claims 1 to 6.

8. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 6 through the computer program.

Citation Information

Patent Citations

  • A three-dimensional rapid modeling system and method based on a building two-dimensional CAD drawing

    CN109710963A

  • Structural planning support system and program

    JP2005256345A

  • CAD system, CAD cooperative system, CAD data managing method, and storage medium

    US6944513B1