Methods, apparatus, computer equipment and storage media for displaying 3D models
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-08
- Publication Date
- 2026-08-14
AI Technical Summary
[0003]为解决传统的三维模型显示方案无法满足对三维模型各施工段分别进行查看的问题,本发明提供了一种三维模型显示的方法、装置、计算机设备及存储介质,以达到被选中的施工段中的关联图元进行显示等目的
[0017]本发明能够基于施工段图元与关联图元的映射关系遍历出用户选择的施工段对应的图元,从而实现了对单独施工段包含的图元的显示,进而满足用户快速、准确、灵活地查看各个施工段中图元的需求,用户体验较佳,用户满意度非常高。本发明提供的技术方案能够满足用户直观地查看施工段内所有图元的模型以及钢筋情况,实现了三维模型与现场形象进度的高度统一,满足用户所见即所得的要求,方便用户将施工段模型与施工现场形象进度做对比,极大地提高了工作效率。
Smart Images

Figure CN116932799B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically, it provides a method, apparatus, computer device, and storage medium for displaying three-dimensional models. Background Technology
[0002] With the development of information technology, more and more users are using 3D modeling software to visually compare 3D models with the actual construction site, thus facilitating a better understanding of the construction situation. However, traditional 3D model display functions present the model to users as a whole, allowing them to view the entire project's 3D model. But most users' actual needs are often measured in construction sections, and they urgently require the ability to view specific parts of the model focusing on one or more construction sections. Therefore, there is a pressing need to optimize or improve the traditional 3D model display method. Summary of the Invention
[0003] To address the problem that traditional 3D model display solutions cannot allow for separate viewing of each construction section of a 3D model, this invention provides a method, apparatus, computer equipment, and storage medium for displaying 3D models, thereby achieving the purpose of displaying associated graphic elements in the selected construction section.
[0004] To achieve the above-mentioned technical objectives, the present invention provides a method for displaying a three-dimensional model, which may include, but is not limited to, at least one of the following steps.
[0005] Create a mapping relationship between construction section elements and related elements.
[0006] Receive the selection information of the construction section, and determine the currently selected construction section graphic element based on the selection information.
[0007] Traverse the associated primitives contained in the 3D model, and determine whether the traversed associated primitives belong to the currently selected construction section primitives based on the mapping relationship.
[0008] Display the associated elements that belong to the currently selected construction section element.
[0009] To achieve the above-mentioned technical objectives, the present invention can also provide a three-dimensional model display device, which may include, but is not limited to, a mapping relationship creation module, a selection information receiving module, an associated graphic element filtering module, and an associated graphic element display module.
[0010] The mapping relationship creation module is used to create mapping relationships between construction section elements and associated elements.
[0011] The selection information receiving module is used to receive selection information for construction sections and to determine the currently selected construction section elements based on the selection information.
[0012] The associated element filtering module is used to traverse the associated elements contained in the 3D model and determine whether the traversed associated elements belong to the currently selected construction section element based on the mapping relationship.
[0013] The associated graphic element display module is used to display associated graphic elements belonging to the currently selected construction section graphic element.
[0014] To achieve the above-mentioned technical objectives, the present invention can also provide a computer device, which may include a memory and a processor. The memory stores computer-readable instructions, which, when executed by the processor, cause the processor to perform the steps of the method for displaying a three-dimensional model as described in any embodiment of the present invention.
[0015] To achieve the above-mentioned technical objectives, the present invention may also provide a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the method for displaying a three-dimensional model as described in any embodiment of the present invention.
[0016] The beneficial effects of this invention are as follows:
[0017] This invention can traverse the elements corresponding to the user-selected construction segment based on the mapping relationship between construction segment elements and related elements, thereby realizing the display of elements contained in a single construction segment. This satisfies the user's need for quick, accurate, and flexible viewing of elements in each construction segment, resulting in a superior user experience and very high user satisfaction. The technical solution provided by this invention allows users to intuitively view the model of all elements and reinforcement details within a construction segment, achieving a high degree of consistency between the 3D model and the actual on-site progress. It meets the user's WYSIWYG requirement, facilitating comparison between the construction segment model and the actual construction progress, and greatly improving work efficiency. Attached Figure Description
[0018] Figure 1 A flowchart illustrating a method for displaying a three-dimensional model in one or more embodiments of the present invention is shown.
[0019] Figure 2 The diagram illustrates a process for cutting a three-dimensional model in one or more embodiments of the present invention.
[0020] Figure 3 A schematic diagram illustrating the implementation principle of whether the reinforcing bar line is visible in one or more embodiments of the present invention is shown.
[0021] Figure 4This diagram illustrates the refresh of the visible / hidden state of reinforcing bars in one or more embodiments of the present invention.
[0022] Figure 5 A schematic diagram of a device for displaying a three-dimensional model is shown in one or more embodiments of the present invention.
[0023] Figure 6 A schematic diagram of the internal structure of a computer device is shown in one or more embodiments of the present invention. Detailed Implementation
[0024] The following detailed explanation and description, with reference to the accompanying drawings, of a method, apparatus, computer device, and storage medium for displaying a three-dimensional model provided by the present invention.
[0025] like Figure 1 As shown, one or more embodiments of the present invention can provide a method for displaying a three-dimensional model, which may include, but is not limited to, at least one of the following steps.
[0026] Step 100: Create a mapping relationship between construction segment elements and associated elements. The three-dimensional model involved in this invention includes multiple construction segment elements, and each construction segment element includes at least one associated element.
[0027] Optionally, the creation of a mapping relationship between construction segment elements and associated elements in this embodiment of the invention includes: filtering element record information associated with construction segment elements from a database to create a first mapping relationship between construction segment elements and associated elements; the first mapping relationship is used to represent the inclusion relationship between construction segment elements and associated elements, that is, which elements are included in the current construction segment; the database in this embodiment of the invention may be a reinforcement database, and the first mapping relationship may specifically be a mapping list (<construction segment elements, associated element list>); this embodiment of the invention can filter construction segment element record information corresponding to associated elements in the first mapping relationship from the database to create a second mapping relationship between associated elements and construction segment elements, the second mapping relationship may specifically be a mapping list (<associated elements, construction segment element list>); the second mapping relationship is used to represent the membership relationship between associated elements and construction segment elements, that is, whether a certain element belongs to the current construction segment.
[0028] For example, in a specific project, precast walls belong to parent-child elements, dormer windows belong to main and partial elements, and beams belong to front and rear segment elements. For parent-child elements, the reinforcement database counts all records in the parent element when storing quantities; similarly, all records of main and partial elements are counted in the main element, and all records of front and rear segment elements are counted in the first segment element. This invention can accurately determine the quantity records of each associated element based on the mapping relationship between construction segment elements and associated elements. For example, for a single-reinforcement member, the cast-in-place slab reinforcement has a quantity of reinforcement. This embodiment can obtain a list of associated slab elements from an attribute of the cast-in-place slab reinforcement. Which construction segments are mapped to the slab reinforcement? These slab elements also need to be mapped to these construction segments. For example, the cast-in-place slab negative reinforcement has a quantity of reinforcement. It is necessary to obtain the dependent slab elements from an attribute of the cast-in-place slab negative reinforcement. The slab elements dependent on the negative reinforcement also need to be mapped to the construction segments corresponding to the negative reinforcement. It can be seen that this invention can accurately distinguish the elements associated with each construction segment from the perspective of construction segments.
[0029] Step 200: Receive the selection information for the construction segment and determine the currently selected construction segment element based on the selection information. When using this invention, the user can select on the displayed 3D model using a mouse or screen touch, or select from the construction segment list. Other feasible construction segment selection methods can also be used. Based on the selection operation, the selection information for the construction segment is automatically generated, confirming that the currently selected construction segment is the one to be specifically viewed. It should be understood that in specific implementations of this invention, one or more construction segments can be selected, meaning one or more construction segment elements can be currently selected. When multiple construction segment elements are currently selected, a set of selected construction segment elements can be formed.
[0030] Step 300: Traverse the associated primitives contained in the 3D model and determine whether the traversed associated primitives belong to the currently selected construction segment primitives based on the mapping relationship. Specifically, in this embodiment of the invention, the determination of whether the traversed associated primitives belong to the currently selected construction segment primitives can be based on the second mapping relationship. That is, for any primitive in the 3D model, it is determined whether the primitive belongs to the currently selected construction segment, until all primitives in the 3D model have been traversed, thereby determining all associated primitives contained in the currently selected construction segment primitives.
[0031] Step 400: Display the associated elements belonging to the currently selected construction section. This invention, based on the above technical solution, displays the elements within the construction section that need to be shown, to meet the user's need to view a portion of the construction section model and facilitate better comparison with the actual construction section.
[0032] like Figure 2As shown, this embodiment of the invention also includes a process of cutting graphic elements. Specifically, displaying associated graphic elements belonging to the currently selected construction segment graphic element includes: determining the graphic element type of the associated graphic elements belonging to the currently selected construction segment graphic element; determining the cutting method of the associated graphic elements according to the graphic element type; cutting the associated graphic elements; and displaying the cut associated graphic elements that belong to the construction segment graphic element range. Based on the above improved technical solution, this invention can effectively display associated graphic elements belonging to the currently selected construction segment graphic element by using different cutting methods according to the graphic element type belonging to the construction segment.
[0033] Specifically, the embodiment of the present invention determines the cutting method of associated graphic elements based on the graphic element type as follows: If the graphic element type is a linear graphic element, the intersection point of the linear graphic element and the construction section graphic element is determined as the cutting point. A point cutting method is used to perform equivalent cutting at the intersection point of the linear graphic element and the construction section. In practice, the embodiment of the present invention determines the intersection point of the centerline of the linear graphic element with multiple construction sections. Then, in each construction section, rectangles are constructed based on the distances from the centerline to the left and right lines of the linear graphic element, and the area within the rectangle is the area to be displayed for the linear graphic element. If the graphic element type is a surface graphic element, the intersection line of the surface graphic element and the construction section graphic element is determined as the cutting line. A line cutting method is used to cut at the intersection line of the polygon containing the surface graphic element and the polygon containing the construction section graphic element. In practice, the embodiment of the present invention calculates the intersection of the polygon containing the surface graphic element and the polygon containing the construction section graphic element, and the intersecting part is the area to be displayed for the surface graphic element. For point-type graphic elements, this embodiment of the invention does not perform cutting, and the complete model of the point-type graphic element is displayed even at the boundary of the construction section. Based on the above-mentioned improved graphic element cutting technology, this invention can effectively display point-type graphic elements, line-type graphic elements, and surface-type graphic elements, meeting the user's viewing needs for graphic elements within the construction section.
[0034] Optionally, the present invention can also create a construction section close button. Specifically, the method for displaying a 3D model provided in the embodiments of the present invention may further include: generating and displaying a close button corresponding to the currently selected construction section element, and receiving click information of the close button; and changing the associated elements belonging to the currently selected construction section element from displayed to hidden according to the click information. In the embodiments of the present invention, the close button is set in the upper right corner of the displayed construction section model for easy viewing and clicking by the user. The specific steps for generating a close button corresponding to the currently selected construction section element in this embodiment include: traversing the current construction section elements, finding the vertex among all vertices of the current construction section that is closest to the maximum distance of the bounding box of the construction section element, generating a displayable close button at that vertex, and saving the mapping relationship between the close button and the current construction section element, so that when multiple construction sections are selected to enter the 3D model of the construction section, clicking a close button again can find the corresponding construction section element. As can be seen, after the user clicks the close button, this invention removes the construction segment element corresponding to the close button from the currently selected construction segment element set according to the mapping relationship between the close button and the current construction segment element. Then, the elements are traversed again. Since the construction segment element corresponding to the clicked close button no longer belongs to the selected construction segment element set, at least one construction segment element corresponding to the clicked close button changes from displayed to hidden. Based on the above improved technical solution, this invention can hide currently independently displayed construction segment elements by clicking the close button. Especially when multiple construction segment elements are displayed simultaneously, this invention satisfies the user's need to close at least one construction segment element and also satisfies the user's need to re-display the closed construction segment element.
[0035] like Figure 3 As shown, the present invention can also display reinforcing bars. The method for displaying a three-dimensional model provided in one or more embodiments of the present invention may further include: determining the reinforcing bar lines of the associated elements of the currently selected construction segment element based on the mapping relationship between construction segment elements and associated elements; and displaying or hiding the reinforcing bar lines based on the positional relationship between the associated elements and the construction segment element. Embodiments of the present invention can determine the associated elements contained in the currently selected construction segment element based on a first mapping relationship, create and display reinforcing bar lines, thus demonstrating that the present invention can also provide users with a three-dimensional display function for construction segment reinforcing bars.
[0036] like Figure 4As shown, in this embodiment of the invention, displaying or hiding rebar lines based on the positional relationship between associated elements and construction section elements includes: hiding the rebar lines of the associated elements when they are completely within the construction section elements; and displaying the rebar lines of the associated elements when they are partially within the construction section elements. Based on the above rebar line display / hiding methods, this invention can selectively display rebar lines according to actual needs, avoiding problems such as affecting screen refresh rate and causing screen flickering that may occur when displaying rebar lines of all elements under a construction section simultaneously, thus improving the user experience. Furthermore, this invention can also display whether the rebar is precisely broken at the construction section boundary on the construction section model, and accurately generate additional rebar according to settings. Of course, it is not limited to this; this embodiment of the invention can implement additional functions under the current construction section.
[0037] like Figure 3 , 4As shown, before creating reinforcement lines, this embodiment of the invention determines whether a graphic element is completely inside a construction segment based on its geometric relationship with the construction segment. If the polygon of the graphic element in the world coordinate system is inside the polygon of the construction segment, the graphic element is determined to be completely inside the construction segment; otherwise, the graphic element is determined to be not completely inside the construction segment. If the graphic element is completely inside the construction segment, a corresponding reinforcement line is created, but the created reinforcement line is set to hidden. When the user switches the display mode from solid display mode to wireframe display mode, this part of the default hidden reinforcement line is displayed. In solid display mode, this embodiment of the invention can display reinforcement lines corresponding to graphic elements not completely inside the construction segment, reinforcement lines visible to the current component, and reinforcement lines not completely inside the construction segment. For example, for special graphic elements with large dimensions (e.g., surface graphic elements), this embodiment of the invention can determine which reinforcements of such graphic elements are completely inside the construction segment and which reinforcements intersect with the construction segment when calculating the amount of reinforcement. In solid display mode, reinforcements completely inside the construction segment will not be displayed. Based on the response to user operations, this embodiment of the invention further includes displaying or hiding rebar lines according to the positional relationship between associated graphic elements and construction section graphic elements: refreshing the display / hiding state of rebar lines when a construction section is closed, the display mode is switched, or the display settings are modified. Of course, this embodiment of the invention can also refresh the display / hiding state of the model when a construction section is closed, the display mode is switched, or the display settings are modified. For example, this embodiment of the invention can use a display state switching tool to switch between four states: solid display mode, wireframe display mode, edge display mode, and transparent display mode. For example, after switching to wireframe display mode, a full 3D display of the entire component can be achieved within the construction section, making the rebar arrangement within the construction section more intuitive. Furthermore, based on this invention, it is also possible to view and edit rebar information. When a user clicks on a rebar line, i.e., when the rebar line selection information is received, the rebar is set to the selected state. In this embodiment, the rebar can be saved into a rebar selection set object. Each rebar in this embodiment stores string information such as length information and rebar length formula, as well as rebar line position information. A text display node is created based on the string information, and the color can be set to a preset color, such as green. Then the position of the text display node is set, and it can be used in conjunction with functions such as editing rebar and viewing detailed rebar quantities, but it is not limited to these functions.
[0038] Based on the 3D model display technology provided by this invention, the invention enables simultaneous viewing of the model of all elements within a construction section, cutting the model at the boundary of the construction section, and simultaneously viewing the reinforcement of all elements within the construction section. This invention meets the needs of quantity surveying users in construction projects for segmented quantity calculations at the construction site, helping users quickly, accurately, and flexibly divide construction section diagrams for quantity calculation, improving work efficiency while reducing the difficulty of quantity calculation. This, in turn, enhances project management for lean production, reduces waste of human and material resources, and increases project profits, resulting in a better user experience and higher user satisfaction.
[0039] like Figure 5 As shown, based on the same inventive concept as the method for displaying 3D models, one or more embodiments of the present invention can also provide a device for displaying 3D models. The device for displaying 3D models involved in the embodiments of the present invention may include, but is not limited to, a mapping relationship creation module, a selection information receiving module, an associated graphic element filtering module, and an associated graphic element display module. The specific composition of this device is described below.
[0040] The mapping relationship creation module can be used to create mapping relationships between construction section elements and associated elements.
[0041] Optionally, the mapping relationship creation module is used to filter out the element record information associated with the construction section elements from the database to create a first mapping relationship between the construction section elements and the associated elements; the first mapping relationship is used to represent the inclusion relationship between the construction section elements and the associated elements; the mapping relationship creation module can also be used to filter out the construction section element record information corresponding to the associated elements in the first mapping relationship from the database to create a second mapping relationship between the associated elements and the construction section elements; the second mapping relationship is used to represent the membership relationship between the associated elements and the construction section elements.
[0042] The selection information receiving module can be used to receive selection information for construction sections, and to determine the currently selected construction section elements based on the selection information.
[0043] The associated element filtering module can be used to traverse the associated elements contained in the 3D model and determine whether the traversed associated elements belong to the currently selected construction section elements based on the mapping relationship.
[0044] The associated element display module can be used to display associated elements belonging to the currently selected construction section element.
[0045] Optionally, the associated element display module is used to determine the element type of the associated elements belonging to the currently selected construction segment element, and to determine the cutting method of the associated elements according to the element type, so as to cut the associated elements; the associated element display module is used to display the associated elements that have been cut and belong to the construction segment element range. Specifically, the associated element display module can be used to determine the intersection point of the line element and the construction segment element as the cutting point if the element type is a line element, and to use the point cutting method; or the associated element display module can be used to determine the intersection line of the surface element and the construction segment element as the cutting line if the element type is a surface element, and to use the line cutting method.
[0046] Optionally, the three-dimensional model display device of this embodiment may further include an associated element closing module. The associated element closing module can be used to generate and display a close button corresponding to the currently selected construction section element, and to receive click information of the close button; the associated element closing module can be used to change the associated elements belonging to the currently selected construction section element from displayed to hidden according to the click information.
[0047] Optionally, the three-dimensional model display device of this embodiment may further include a rebar display / concealment control module. The rebar display / concealment control module can be used to determine the rebar lines of the associated elements of the currently selected construction segment element based on the mapping relationship between construction segment elements and associated elements; the rebar display / concealment control module can be used to display or hide the rebar lines based on the positional relationship between the associated elements and the construction segment element. Specifically, the rebar display / concealment control module can be used to hide the rebar lines of the associated element if the associated element is completely inside the construction segment element; or, the rebar display / concealment control module can be used to display the rebar lines of the associated element if the associated element is partially inside the construction segment element.
[0048] It should be understood that the three-dimensional model display method and / or three-dimensional model display device provided by the present invention can be integrated into engineering quantity calculation software to realize the individual display of the graphic elements contained in each construction section in the model, thereby facilitating user viewing and comparison with the on-site construction section.
[0049] Based on the 3D model display technology provided by this invention, the invention can traverse all elements within the 3D model based on the mapping relationship between construction sections and graphic elements to determine the graphic elements corresponding to the construction section selected by the user. This allows for the display of the graphic elements contained in a single construction section, fulfilling the user's need for accurate and rapid viewing of each graphic element within a construction section. This invention not only enables simultaneous viewing of the model of all graphic elements within a construction section and the cutting of the model at the boundary of the construction section, but also enables simultaneous viewing of the reinforcing steel bars of all graphic elements within the construction section. This invention can meet the needs of quantity calculation users related to construction projects for segmented quantity calculation on the construction site, helping users to quickly, accurately, and flexibly divide construction sections, improving work efficiency while reducing the difficulty of quantity calculation. This reduces waste of human and material resources while increasing project profits, resulting in a better user experience and higher user satisfaction.
[0050] like Figure 6 As shown, based on the same inventive concept as the method for displaying three-dimensional models, one or more embodiments of the present invention can also provide a computer device, which may include a memory and a processor. The memory stores computer-readable instructions, which, when executed by the processor, cause the processor to perform the steps of the method for displaying three-dimensional models in any embodiment of the present invention. It should be understood that the detailed execution process of the method for displaying three-dimensional models has been described in detail in this specification and will not be repeated here.
[0051] like Figure 6 As shown, based on the same inventive concept as the method for displaying a 3D model, one or more embodiments of the present invention can also provide a storage medium storing computer-readable instructions. When these computer-readable instructions are executed by one or more processors, they cause the one or more processors to perform the steps of the method for displaying a 3D model in any embodiment of the present invention. It should be understood that the detailed execution process of the method for displaying a 3D model has been described in detail in this specification and will not be repeated here.
[0052] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable storage medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable storage media include: electrical connections (electronic devices) having one or more wires, portable computer disks (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM, or flash memory), fiber optic devices, and compact disc read-only memory (CDROM). Furthermore, computer-readable storage media can even be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0053] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0054] In the description of this specification, the references to terms such as "this embodiment," "an embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0055] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0056] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and simple improvements made on the substantive content of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for displaying a three-dimensional model, characterized in that, include: Create a mapping relationship between construction section elements and related elements in a 3D model. The mapping relationship is used to represent the inclusion relationship between construction section elements and related elements and the membership relationship between related elements and construction section elements. The selection method involves selecting a construction segment on the 3D model or from a list of construction segments, generating and receiving selection information for the construction segment, and determining the currently selected construction segment element based on the selection information to identify the construction segment to be specifically viewed. Traverse the associated primitives contained in the 3D model, and determine whether the traversed associated primitives belong to the currently selected construction segment primitives according to the mapping relationship, so as to determine the associated primitives contained in the currently selected construction segment primitives. Display the associated elements belonging to the currently selected construction section to view the construction section model in the 3D model; The step of displaying associated elements belonging to the currently selected construction segment includes: determining the element type of the associated elements belonging to the currently selected construction segment; using different cutting methods to cut the associated elements belonging to the construction segment according to the element type; cutting the associated elements in the three-dimensional model at the boundary of the construction segment; and displaying the associated elements that are cut and belong to the scope of the construction segment elements.
2. The method for displaying a three-dimensional model according to claim 1, characterized in that, The method of using different cutting methods for associated graphic elements belonging to the construction section according to the graphic element type includes: Based on the fact that the graphic element type is a linear graphic element, the intersection point of the linear graphic element and the construction section graphic element is determined as the cutting point, and the point cutting method is adopted. Based on the fact that the graphic element type is a surface graphic element, the intersection line between the surface graphic element and the construction section graphic element is determined as the cutting line, and the line cutting method is adopted.
3. The method for displaying a three-dimensional model according to claim 1, characterized in that, The method further includes: Generate and display the close button corresponding to the currently selected construction section element; Receive the click information of the close button; Based on the click information, the associated graphic elements belonging to the currently selected construction section are changed from being displayed to being hidden.
4. The method for displaying a three-dimensional model according to claim 1, characterized in that, The method further includes: Based on the mapping relationship between the construction segment elements and related elements, determine the reinforcement lines of the related elements of the currently selected construction segment element; The steel reinforcement lines can be shown or hidden based on the positional relationship between the associated graphic elements and the construction section graphic elements.
5. The method for displaying a three-dimensional model according to claim 4, characterized in that, The step of displaying or hiding the rebar lines based on the positional relationship between associated graphic elements and construction section graphic elements includes: Based on the fact that the associated graphic elements are completely inside the construction section graphic elements, the rebar lines of the associated graphic elements are hidden. Based on the related graphic elements within the construction section graphic elements, the rebar lines of the related graphic elements are displayed.
6. The method for displaying a three-dimensional model according to claim 1, characterized in that, The mapping relationship between construction section elements and associated elements in the created 3D model includes: The database is used to filter out the graphic element records associated with the construction section graphic elements to create a first mapping relationship between the construction section graphic elements and the associated graphic elements; the first mapping relationship is used to represent the inclusion relationship between the construction section graphic elements and the associated graphic elements. The database is used to filter out construction section graphic element records that correspond to the associated graphic elements in the first mapping relationship, so as to create a second mapping relationship between the associated graphic elements and the construction section graphic elements; the second mapping relationship is used to represent the membership relationship between the associated graphic elements and the construction section graphic elements.
7. A device for displaying a three-dimensional model, characterized in that, include: The mapping relationship creation module is used to create mapping relationships between construction section elements and related elements in a 3D model. The mapping relationship is used to represent the inclusion relationship between construction section elements and related elements and the membership relationship between related elements and construction section elements. The selection information receiving module is used to select construction segments on the three-dimensional model or from the list of construction segments, generate and receive selection information for construction segments, and determine the currently selected construction segment elements based on the selection information to identify the construction segments to be specifically viewed. The associated graphic element filtering module is used to traverse the associated graphic elements contained in the 3D model and determine whether the traversed associated graphic elements belong to the currently selected construction section graphic elements according to the mapping relationship, so as to determine the associated graphic elements contained in the currently selected construction section graphic elements. The associated element display module is used to display associated elements belonging to the currently selected construction section element, so as to view the construction section model in the three-dimensional model; The associated graphic element display module is used to determine the graphic element type of the associated graphic element belonging to the currently selected construction section graphic element, and to use different cutting methods to cut the associated graphic elements belonging to the construction section according to the graphic element type. The associated graphic elements in the three-dimensional model are cut at the boundary of the construction section, and the associated graphic elements that are cut and belong to the construction section graphic element range are displayed.
8. A computer device, characterized in that, The system includes a memory and a processor, wherein the memory stores computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of the method for displaying a three-dimensional model as claimed in any one of claims 1 to 6.
9. A storage medium storing computer-readable instructions, characterized in that, When the computer-readable instructions are executed by one or more processors, the one or more processors cause the processors to perform the steps of the method for displaying the three-dimensional model as claimed in any one of claims 1 to 6.
Citation Information
Patent Citations
Electrical device drawing method and system and terminal device
CN110222391A