CN116932799A - Method, device, computer equipment and storage medium for three-dimensional model display - Google Patents

Method, device, computer equipment and storage medium for three-dimensional model display Download PDF

Info

Publication number
CN116932799A
CN116932799A CN202210369723.3A CN202210369723A CN116932799A CN 116932799 A CN116932799 A CN 116932799A CN 202210369723 A CN202210369723 A CN 202210369723A CN 116932799 A CN116932799 A CN 116932799A
Authority
CN
China
Prior art keywords
construction section
primitive
graphic element
dimensional model
graphic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210369723.3A
Other languages
Chinese (zh)
Inventor
权家乐
张树禹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Glodon Co Ltd
Original Assignee
Glodon Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202210369723.3A priority Critical patent/CN116932799A/en
Publication of CN116932799A publication Critical patent/CN116932799A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/535Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/532Query formulation, e.g. graphical querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method, a device, computer equipment and a storage medium for displaying a three-dimensional model, wherein the method for displaying the three-dimensional model comprises the following steps: creating a mapping relation between the construction section graphic elements and the associated graphic elements, receiving selection information of the construction section, and determining the current selected construction section graphic elements according to the selection information; traversing the associated primitives contained in the three-dimensional model, and judging whether the traversed associated primitives belong to the currently selected construction stage primitives according to the mapping relation; and displaying the associated graphic elements belonging to the currently selected construction section graphic elements. According to the method, the corresponding graphic elements of the construction section selected by the user are traversed based on the mapping relation between the graphic elements of the construction section and the associated graphic elements, so that the graphic elements contained in the independent construction section are displayed, the requirement that the user views the graphic elements in each construction section rapidly, accurately and flexibly is met, the user experience is good, and the user satisfaction is very high.

Description

Method, device, computer equipment and storage medium for three-dimensional model display
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for displaying a three-dimensional model.
Background
With the development of information technology, more and more users begin to use the three-dimensional model provided by the three-dimensional model software to perform image comparison with the condition of the construction site, so that the users can better grasp the condition of the construction site. However, the conventional three-dimensional model display function is presented to the user from the three-dimensional model overall display mode, and the user can view the three-dimensional model of the whole project, however, most of the actual demands of the user often take the construction section as a measurement unit, and the user needs to be able to view the partial model of one or more construction sections of current interest in a targeted manner, so that optimization or improvement on the conventional three-dimensional model display mode is needed.
Disclosure of Invention
In order to solve the problem that the traditional three-dimensional model display scheme cannot meet the requirement of checking each construction section of the three-dimensional model, the invention provides a three-dimensional model display method, a three-dimensional model display device, computer equipment and a storage medium, so as to achieve the purposes of displaying associated graphic elements in selected construction sections and the like.
To achieve the above technical object, 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.
And creating a mapping relation between the construction stage graphic elements and the associated graphic elements.
And receiving selection information of the construction section, and determining the current selected construction section graphic element according to the selection information.
Traversing the association primitives contained in the three-dimensional model, and judging whether the traversed association primitives belong to the currently selected construction stage primitive according to the mapping relation.
And displaying the associated graphic elements belonging to the currently selected construction section graphic element.
To achieve the above technical purpose, the present invention also provides a device for displaying a three-dimensional model, where the device for displaying a three-dimensional model may include, but is not limited to, a mapping relation creation module, a selection information receiving module, an association primitive filtering module, and an association primitive display module.
And the mapping relation creation module is used for creating the mapping relation between the construction section graphic elements and the association graphic elements.
The selection information receiving module is used for receiving the selection information of the construction section and determining the current selected construction section graphic element according to the selection information.
And the association primitive screening module is used for traversing association primitives contained in the three-dimensional model and judging whether the traversed association primitives belong to the currently selected construction stage primitives according to the mapping relation.
And the associated graphic primitive display module is used for displaying the associated graphic primitives belonging to the currently selected construction section graphic primitive.
To achieve the above object, the present invention also provides a computer apparatus, which may include a memory and a processor, where the memory stores computer readable instructions that, when executed by the processor, cause the processor to perform the steps of the method for three-dimensional model display in any of the embodiments of the present invention.
To achieve the above technical object, the present invention may further provide a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the method for three-dimensional model display in any of the embodiments of the present invention.
The beneficial effects of the invention are as follows:
the invention can traverse the graphic elements corresponding to the construction section selected by the user based on the mapping relation between the graphic elements of the construction section and the associated graphic elements, thereby realizing the display of the graphic elements contained in the independent construction section, further meeting the requirement that the user can quickly, accurately and flexibly check the graphic elements in each construction section, having better user experience and very high user satisfaction. The technical scheme provided by the invention can meet the requirement that a user can intuitively check the model and the reinforcement condition of all the primitives in the construction section, realize the high unification of the three-dimensional model and the on-site image progress, meet the requirement of the user on the on-site image progress, facilitate the user to compare the construction section model with the on-site image progress, and greatly improve the working efficiency.
Drawings
FIG. 1 illustrates a flow diagram of a method of three-dimensional model display in one or more embodiments of the invention.
FIG. 2 illustrates a flow diagram for cutting a three-dimensional model in accordance with one or more embodiments of the invention.
Fig. 3 is a schematic diagram of an implementation principle of whether a reinforcing bar line is visible in one or more embodiments of the present invention.
Fig. 4 is a schematic diagram showing a condition of refreshing a reinforcing bar line in one or more embodiments of the present invention.
FIG. 5 is a schematic diagram showing the composition of an apparatus for three-dimensional model display in one or more embodiments of the invention.
FIG. 6 is a schematic diagram showing the internal structural components of a computer device in one or more embodiments of the invention.
Detailed Description
The method, the device, the computer equipment and the storage medium for displaying the three-dimensional model provided by the invention are explained and illustrated in detail below with reference to the attached drawings.
As shown in FIG. 1, one or more embodiments of the present invention can provide a method of three-dimensional model display, which can include, but is not limited to, at least one of the following steps.
Step 100, creating a mapping relation between the construction segment graphic elements and the associated graphic elements. The three-dimensional model comprises a plurality of construction section graphic elements, wherein the construction section graphic elements comprise at least one association graphic element.
Optionally, creating the mapping relationship between the construction segment primitives and the associated primitives according to the embodiment of the present invention includes: screening graphic element record information associated with the graphic element of the construction section from a database to create a first mapping relation between the graphic element of the construction section and the associated graphic element; the first mapping relationship is used for representing the inclusion relationship between the construction section graphic elements and the associated graphic elements, namely, the current construction section contains the graphic elements; the database of the embodiment of the invention can be a steel bar database, and the first mapping relation can be a mapping list (< construction section primitives, association primitive list >); the embodiment of the invention can screen out construction section graphic element record information corresponding to the association graphic element in the first mapping relation from the database to create a second mapping relation between the association graphic element and the construction section graphic element, wherein the second mapping relation can be a mapping list (< association graphic element, construction section graphic element list >); the second mapping relationship is used for representing the membership relationship between the associated primitive and the primitive of the construction section, namely whether a primitive belongs to the current construction section.
For example, prefabricated walls related to specific engineering belong to father and son primitives, tiger windows belong to main bodies and partial primitives, and beams belong to front and rear stage primitives. For the parent-child element, the steel bar database calculates all records as the parent element when the engineering quantity is stored; similarly, all records of the subject and part of the primitives are counted in the subject primitive, and all records of the preceding and following stage primitives are counted in the first stage primitive. The invention can accurately determine the engineering quantity record of each associated graphic element based on the mapping relation between the graphic element of the construction section and the associated graphic element. For example, for a single reinforcement member, the cast-in-situ slab stress rib has the reinforcement amount, the embodiment can obtain an associated slab primitive list from one attribute in the cast-in-situ slab stress rib, the slab stress rib maps which construction sections, and the slab primitives also need to be mapped to the construction sections; for example, the cast-in-situ plate negative bar has the steel bar quantity, one attribute in the cast-in-situ plate negative bar is required to obtain a dependent plate graphic element, the plate graphic element on which the plate negative bar depends is also required to map the construction section corresponding to the plate negative bar. The invention can accurately distinguish the graphic elements associated with each construction section from the construction section angle.
Step 200, receiving selection information of the construction section, and determining the current selected construction section graphic element according to the selection information. When the method is used by a user, the three-dimensional model displayed can be selected by using a mouse or screen touch and the like or selected in a construction section list, and other construction section selection modes can be adopted, so that the selection information of the construction section can be automatically generated on the basis of selection operation, and the currently selected construction section is determined to be the construction section to be specially checked. It should be understood that the selected construction site may be one or more in the practice of the present invention, i.e., the currently selected construction site primitives may be one or more. Wherein, when the current selected construction section graphic element is a plurality of, a selected construction section graphic element set can be formed.
And 300, traversing the associated primitives contained in the three-dimensional model, and judging whether the traversed associated primitives belong to the currently selected construction stage primitives according to the mapping relation. The embodiment of the invention can specifically judge whether the traversed associated graphic element belongs to the graphic element of the currently selected construction section according to the second mapping relation, namely judging whether the graphic element belongs to any graphic element of the three-dimensional model until all graphic elements in the three-dimensional model are traversed, so as to determine all associated graphic elements contained in the graphic element of the currently selected construction section.
Step 400, displaying the associated graphic elements belonging to the graphic elements of the currently selected construction section. The method and the device display the primitives in the construction section to be displayed based on the technical scheme, so that the requirement of a user for checking part of the model of the construction section is met, and the method and the device are convenient to compare with the on-site construction section better.
As shown in fig. 2, the embodiment of the present invention further includes a process of cutting the primitive. Specifically, displaying the associated primitives belonging to the currently selected construction segment primitive includes: judging the primitive types of the associated primitives belonging to the currently selected construction section primitives, and determining the cutting mode of the associated primitives according to the primitive types so as to cut the associated primitives; and displaying the related graphic elements which are cut and belong to the graphic element range of the construction section. Based on the improved technical scheme, the invention can adopt different cutting modes for the graphic primitive according to the graphic primitive types belonging to the construction section so as to effectively display the associated graphic primitive belonging to the currently selected construction section graphic primitive.
Specifically, the method for determining the cutting mode of the associated primitive according to the primitive type comprises the following steps: according to the method, the intersection point of the line primitive and the construction section primitive is determined as a cutting point, the equivalent cutting is carried out at the intersection point of the line primitive and the construction section primitive in a point cutting mode, when the method is implemented, the intersection points of the line primitive midline and the construction sections are determined, then rectangles are constructed in each construction section according to the distance between the midline and the line primitive left side line and the distance between the line primitive right side line and the midline, and the range in the rectangles is used as the range to be displayed by the line primitive. According to the method, the device and the system, the type of the graphic element is a face graphic element, the intersecting line of the face graphic element and the graphic element at the construction section is determined to be used as a cutting line, and the line cutting mode is adopted to cut at the intersecting line of the polygon where the face graphic element is located and the polygon where the graphic element at the construction section is located. For dot primitives, the embodiment of the invention does not cut, and a complete model of the dot primitive is also displayed at the construction site boundary. Based on the improved graphic element cutting technical scheme, the graphic element cutting method and the graphic element cutting device can effectively display the point graphic element, the line graphic element and the surface graphic element and meet the viewing requirement of the graphic element in the construction section of a user.
Alternatively, the present invention is also capable of creating a construction site shutdown button. Specifically, the method for displaying a three-dimensional model provided by the embodiment of the invention can further include: generating and displaying a closing button corresponding to the current selected construction section graphic element, and receiving click information of the closing button; and changing the associated graphic elements belonging to the currently selected construction section graphic element from display to hiding according to the click information. The closing button in the embodiment of the invention is arranged at the upper right corner of the displayed construction section model so as to be convenient for a user to check and click. The generating the close button corresponding to the currently selected construction section graphic element in the embodiment specifically comprises: traversing the current construction section graphic element, finding out the vertex closest to the maximum point of the bounding box of the construction section graphic element in all vertexes of the current construction section, generating a displayable closing button at the vertex, and storing the mapping relation between the closing button and the current construction section graphic element, so that the corresponding construction section graphic element can be found when clicking a closing button again after a plurality of construction sections are selected to enter the three-dimensional model of the construction section. After a user clicks a closing button, removing the current construction section graphic element from the current selected construction section graphic element set according to the mapping relation between the closing button and the current construction section graphic element so as to remove the construction section graphic element corresponding to the closing button; the primitives are then re-traversed, and at least one of the construction segment primitives corresponding to the clicked shutdown button changes from displayed to hidden since the construction segment primitive corresponding to the clicked shutdown button no longer belongs to the selected construction segment primitive set. Based on the improved technical scheme, the hidden operation can be carried out on the current construction section graphic elements which are independently displayed in a mode of clicking the closing button, particularly when a plurality of construction section graphic elements are simultaneously displayed, the hidden operation meets the requirement that a user closes at least one construction section graphic element, and can also meet the requirement that the user displays the closed construction section graphic elements again.
The present invention also enables the display of the rebar as shown in fig. 3. The method for displaying the three-dimensional model provided by one or more embodiments of the present invention may further include: determining the reinforcement line of the associated primitive of the currently selected construction section primitive according to the mapping relation between the construction section primitive and the associated primitive; and the reinforcement lines are displayed or hidden according to the position relation between the associated graphic elements and the graphic elements of the construction section. According to the embodiment of the invention, the associated graphic elements contained in the graphic elements of the currently selected construction section can be determined according to the first mapping relation, and the reinforcement line is created and displayed.
As shown in fig. 4, in the embodiment of the present invention, displaying or hiding a reinforcement wire according to a positional relationship between an associated primitive and a construction section primitive includes: hiding the reinforcement wire of the associated graphic element according to the fact that the associated graphic element is completely inside the graphic element in the construction section; and displaying the reinforcement wire of the associated graphic element according to the part of the associated graphic element in the graphic element of the construction section. Based on the reinforcement wire display and hidden processing mode, the reinforcement wire display method and the reinforcement wire display device can display reinforcement wires in a targeted manner according to actual requirements, avoid the problems of screen refreshing influence frame rate, screen flickering and the like possibly caused by simultaneously displaying the reinforcement wires of all the primitives under a construction section, and improve the use experience of users. In addition, the invention can display whether the reinforcing steel bars are accurately disconnected at the boundary of the construction section on the construction section model according to the method, and accurately generate the throwing bars according to the arrangement on the basis, and the method is not limited to the method.
As shown in fig. 3 and 4, before the reinforcing steel bar line is created, judging whether the graphic element is completely inside the construction section according to the geometric relationship between the graphic element and the construction section, and if the polygon of the graphic element under the world coordinate system is inside the polygon of the construction section, judging that the graphic element is completely inside the construction section; otherwise, judging that the graphic primitive is not completely inside the construction section. If the graphic element is completely inside the construction section, creating a graphic element corresponding reinforcement line, but setting the created reinforcement line to be hidden, and displaying the part of the reinforcement line hidden by default when the user switches the display mode from the entity display mode to the wire frame display mode. In an entity display mode, the embodiment of the invention can display the corresponding steel bar lines of the incomplete inside of the construction section of the graphic element, the steel bar lines visible by the current component and the steel bar lines of the incomplete inside of the construction section; for example, for a particular primitive of larger size (e.g., a face primitive), embodiments of the present invention can determine which rebar of such primitives is completely inside the construction site and which rebar intersects the construction site when calculating the amount of rebar, and in the solid display mode, rebar that is completely inside the construction site will not be displayed. Based on the response to the user operation, the embodiment of the invention displays or hides the reinforcement wire according to the position relation between the associated graphic element and the graphic element of the construction section, and the method further comprises the following steps: refreshing the display state of the reinforcement wire under the condition of closing one construction section or switching the display mode or modifying the display setting, and of course, the embodiment of the invention can also refresh the display state of the model under the condition of closing one construction section or switching the display mode or modifying the display setting. For example, the embodiment of the invention can realize the switching of four states of an entity display mode, a wire frame display mode, an edge display mode and a transparent display mode through a display state switching tool; for example, after the wire frame display mode is switched, the three-dimensional display of all components can be realized in the construction section, and the arrangement of the steel bars in the construction section is more visual. In addition, on the basis of the method, the device and the system, the steel bar information can be checked and edited, when a user clicks the steel bar line, namely when the steel bar line selection information is received, the steel bar is set to be in a selected state, and the steel bar can be stored in a steel bar selection set object; in this embodiment, each steel bar stores length information, character string information such as a steel bar length formula, position information of a steel bar line, and the like; the text display node is created according to the character string information, the color can be set to be a preset color, for example, green, then the position of the text display node is set, and the functions of editing the steel bar, checking the detailed engineering quantity of the steel bar and the like can be synchronously matched, but the method is not limited to the method.
Based on the three-dimensional model display technical scheme provided by the invention, the purpose of checking the models of all the primitives in the construction section at the same time can be realized, the models are cut at the boundary of the construction section, and the purpose of checking the reinforcing steel bars of all the primitives in the construction section at the same time is realized. The invention can meet the requirement of the related calculation amount user for the construction project on the subsection extraction of the construction site, help the user to divide the block diagram extraction of the construction section rapidly, accurately and flexibly, provide the working efficiency and reduce the calculation amount difficulty, thereby improving the project management level for lean production, reducing the waste of manpower and material resources and increasing the project profit, and has better user experience and higher user satisfaction.
As shown in fig. 5, the method of displaying a three-dimensional model is based on the same inventive concept, and one or more embodiments of the present invention can also provide an apparatus for displaying a three-dimensional model. The device for displaying the three-dimensional model according to the embodiment of the invention can comprise, but is not limited to, a mapping relation creation module, a selection information receiving module, an associated primitive screening module and an associated primitive display module, and the composition of the device is specifically described as follows.
And the mapping relation creation module can be used for creating the mapping relation between the construction section graphic elements and the association graphic elements.
Optionally, the mapping relation creating module is used for screening out the graphic element record information associated with the graphic element of the construction section from the database so as to create a first mapping relation between the graphic element of the construction section and the associated graphic element; the first mapping relation is used for representing the inclusion relation between the construction section graphic elements and the association graphic elements; the mapping relation creation module can also be used for screening out construction section graphic element record information corresponding to the association graphic element in the first mapping relation from the database so as to create a second mapping relation between the association graphic element and the construction section graphic element; the second mapping relationship is used for representing the membership relationship of the associated primitive and the construction section primitive.
The selection information receiving module is used for receiving the selection information of the construction section and determining the current selected construction section graphic element according to the selection information.
The association primitive screening module is used for traversing association primitives contained in the three-dimensional model and judging whether the traversed association primitives belong to the currently selected construction stage primitives according to the mapping relation.
And the associated graphic primitive display module can be used for displaying associated graphic primitives belonging to the currently selected construction section graphic primitive.
Optionally, the associated primitive display module is used for judging the primitive type of the associated primitive belonging to the currently selected construction section primitive, and determining the cutting mode of the associated primitive according to the primitive type, so as to cut the associated primitive; the associated graphic primitive display module is used for displaying the associated graphic primitives which are cut and belong to the graphic primitive range of the construction section. Specifically, the associated primitive display module may be configured to determine, as a cutting point, an intersection point of the line primitive and the construction section primitive according to the primitive type being the line primitive, and to adopt a point cutting manner; or the associated graphic element display module is used for determining the intersection line of the graphic element and the construction section graphic element as a cutting line according to the graphic element type as the face graphic element and adopting a linear cutting mode.
Optionally, the apparatus for displaying a three-dimensional model according to the embodiment of the present invention may further include an association primitive closing module. The associated primitive closing module can be used for generating and displaying a closing button corresponding to the currently selected construction section primitive and receiving clicking information of the closing button; the associated primitive closing module may be configured to change an associated primitive belonging to the currently selected construction stage primitive from display to hidden according to the click information.
Optionally, the device for displaying the three-dimensional model according to the embodiment of the invention may further include a reinforcement bar display and hidden control module. The reinforcement bar display and hidden control module can be used for determining reinforcement bar lines of the associated graphic elements of the currently selected construction section graphic elements according to the mapping relation between the construction section graphic elements and the associated graphic elements; the steel bar display and hidden control module can be used for displaying or hiding steel bar lines according to the position relation between the associated graphic elements and the graphic elements of the construction section. Specifically, the reinforcement bar hiding control module can be used for hiding reinforcement bar lines of the associated graphic elements according to the fact that the associated graphic elements are completely inside the graphic elements in the construction section; or the reinforcement bar display and hidden control module can be used for displaying and processing reinforcement bar lines of the associated graphic elements in the graphic elements of the construction section according to the associated graphic element parts.
It should be understood that the method for displaying a three-dimensional model and/or the device for displaying a three-dimensional model provided by the invention can be integrated into engineering calculation software to realize that the primitives contained in each construction section in the model are displayed independently, so that the user can conveniently view the primitives and compare the primitives with the construction sections on site.
Based on the three-dimensional model display technical scheme provided by the invention, all the primitives in the three-dimensional model can be traversed based on the mapping relation between the construction section and the primitives, so that the primitives corresponding to the construction section selected by a user can be determined, the primitives contained in the independent construction section can be further determined to be displayed, and the requirements of a dangerous user for accurately and rapidly checking all the primitives in the construction section are met. The invention can meet the requirement of the related calculation amount user for the construction project on the subsection extraction of the construction site, so as to help the user to divide the construction section rapidly, accurately and flexibly, provide the working efficiency and reduce the calculation amount difficulty, thereby reducing the waste of manpower and material resources and increasing the project profit, and has better user experience and higher user satisfaction.
As shown in fig. 6, the method of displaying a three-dimensional model is based on the same inventive concept, and one or more embodiments of the present invention can also provide a computer apparatus, which may include a memory and a processor, the memory storing computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of the method of displaying a three-dimensional model in any of the embodiments of the present invention. It should be understood that the detailed implementation of the method for displaying the three-dimensional model is already described in detail in this specification, and will not be described in detail herein.
As shown in fig. 6, the same technical concept as the method of three-dimensional model display is based on the same technical idea, and one or more embodiments of the present invention can 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 of three-dimensional model display in any of the embodiments of the present invention. It should be understood that the detailed implementation of the method in which the three-dimensional model is displayed is already described in detail in the present specification, and will not be described in detail herein.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection (electronic device) with one or more wires, a portable computer cartridge (magnetic device), a random access Memory (RAM, random Access Memory), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (EPROM, erasable Programmable Read-Only Memory, or flash Memory), an optical fiber device, and a portable compact disc Read-Only Memory (CDROM, compact Disc Read-Only Memory). In addition, the computer-readable storage medium may even be paper or other suitable medium upon which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits with logic gates for implementing logic functions on data signals, application specific integrated circuits with appropriate combinational logic gates, programmable gate arrays (PGA, programmable Gate Array), field programmable gate arrays (FPGA, field Programmable Gate Array), and the like.
In the description of the present specification, a description referring to the terms "present embodiment," "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
The above description is only of the preferred embodiments of the present invention, and is not intended to limit the invention, but any modifications, equivalents, and simple improvements made within the spirit of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for three-dimensional model display, comprising:
creating a mapping relation between the construction stage graphic elements and the associated graphic elements;
receiving selection information of a construction section, and determining a current selected construction section graphic element according to the selection information;
traversing the association primitives contained in the three-dimensional model, and judging whether the traversed association primitives belong to the currently selected construction stage primitives according to the mapping relation;
and displaying the associated graphic elements belonging to the currently selected construction section graphic element.
2. The method of three-dimensional model display according to claim 1, wherein said displaying associated primitives that belong to the currently selected construction segment primitive comprises:
judging the primitive types of the associated primitives belonging to the currently selected construction section primitives;
determining a cutting mode of the associated primitive according to the primitive type so as to cut the associated primitive;
and displaying the related graphic elements which are cut and belong to the graphic element range of the construction section.
3. The method for three-dimensional model display according to claim 2, wherein determining the cutting mode of the associated primitive according to the primitive type comprises:
determining the intersection point of the line primitive and the construction section primitive as a cutting point according to the primitive type as the line primitive, and adopting a point cutting mode;
and determining the intersection line of the surface type graphic element and the construction section graphic element as a cutting line according to the graphic element type as the surface type graphic element, and adopting a linear cutting mode.
4. The method of three-dimensional model display of claim 1, further comprising:
generating and displaying a closing button corresponding to the currently selected construction section graphic element;
receiving click information of the closing button;
and changing the associated graphic elements belonging to the currently selected construction section graphic element from display to hiding according to the click information.
5. The method of three-dimensional model display of claim 1, further comprising:
determining a reinforcement line of the associated primitive of the currently selected construction section primitive according to the mapping relation between the construction section primitive and the associated primitive;
and displaying or hiding the reinforcement wire according to the position relation between the associated graphic element and the construction section graphic element.
6. The method of three-dimensional model display according to claim 5, wherein displaying or hiding the reinforcement wire according to a positional relationship of the associated primitive and the construction section primitive comprises:
hiding the reinforcement wire of the associated graphic element according to the fact that the associated graphic element is completely inside the graphic element in the construction section;
and displaying the reinforcement wire of the associated graphic element according to the part of the associated graphic element in the graphic element of the construction section.
7. The method of three-dimensional model display of claim 1, wherein creating a mapping relationship of a construction segment primitive and an associated primitive comprises:
screening graphic element record information associated with the graphic element of the construction section from a database to create a first mapping relation between the graphic element of the construction section and the associated graphic element; the first mapping relation is used for representing the inclusion relation between the construction section graphic element and the association graphic element;
screening out construction section graphic element record information corresponding to the associated graphic element in the first mapping relation from a database to create a second mapping relation between the associated graphic element and the construction section graphic element; the second mapping relation is used for representing the membership relation of the associated primitive and the construction section primitive.
8. An apparatus for three-dimensional model display, comprising:
the mapping relation creation module is used for creating the mapping relation between the construction section graphic elements and the association graphic elements;
the selection information receiving module is used for receiving the selection information of the construction section and determining the current selected construction section graphic element according to the selection information;
the association primitive screening module is used for traversing association primitives contained in the three-dimensional model and judging whether the traversed association primitives belong to the currently selected construction stage primitives according to the mapping relation;
and the associated graphic primitive display module is used for displaying the associated graphic primitives belonging to the currently selected construction section graphic primitive.
9. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the method of three-dimensional model display according to any one of claims 1 to 7.
10. 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 of three-dimensional model display of any one of claims 1 to 7.
CN202210369723.3A 2022-04-08 2022-04-08 Method, device, computer equipment and storage medium for three-dimensional model display Pending CN116932799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210369723.3A CN116932799A (en) 2022-04-08 2022-04-08 Method, device, computer equipment and storage medium for three-dimensional model display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210369723.3A CN116932799A (en) 2022-04-08 2022-04-08 Method, device, computer equipment and storage medium for three-dimensional model display

Publications (1)

Publication Number Publication Date
CN116932799A true CN116932799A (en) 2023-10-24

Family

ID=88374400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210369723.3A Pending CN116932799A (en) 2022-04-08 2022-04-08 Method, device, computer equipment and storage medium for three-dimensional model display

Country Status (1)

Country Link
CN (1) CN116932799A (en)

Similar Documents

Publication Publication Date Title
US5058042A (en) Method for employing a hierarchical display list in global rendering
US6411862B1 (en) Apparatus and method for managing and distributing design and manufacturing information throughout a sheet metal production facility
US7266419B2 (en) Search for similar sheet metal part models
US6308144B1 (en) Method and apparatus for providing three-dimensional model associativity
US20140278283A1 (en) Editable clipping planes for cad systems
EP2282245B1 (en) Cutting process simulation display device, method for displaying cutting process simulation, and cutting process simulation display program
US7978192B2 (en) Method and apparatus for evaluating sight distance
US20030071810A1 (en) Simultaneous use of 2D and 3D modeling data
CN106296779A (en) A kind of threedimensional model rendering indication method and system
CN114004006B (en) Building group arrangement method, device, equipment and storage medium
CN115017569A (en) Two-dimensional and three-dimensional linked bridge parametric modeling and plotting method, device, equipment and medium
CN110569580A (en) Urban street space vitality simulation method, system, computer equipment and storage medium
CN104462682A (en) Interactive welding joint groove graph drawing and parameter tagging method
US20050068315A1 (en) Surface construction audit trail and manipulation
CN113553453A (en) Two-dimensional drawing marking method and device and electronic equipment
CN116778129B (en) Marking method and device for coal mine three-dimensional roadway page
US7561990B2 (en) Interactive triangulated irregular network (TIN) surfaces design
CN116932799A (en) Method, device, computer equipment and storage medium for three-dimensional model display
CN111429587A (en) Display method, terminal and storage medium of three-dimensional design model
JP4425734B2 (en) How to provide a vector image with hidden lines removed
CN115859412B (en) Curtain wall rapid generation method, device and equipment based on BIM
CN115062564B (en) Method, device and equipment for realizing surface two-dimensional hydrodynamic simulation based on cloud platform
JPH07271847A (en) Method and device for modeling formation ground
CN113254127A (en) Processing method for large-data-volume graphic elements in power transmission line engineering measurement software
Bronsvoort An algorithm for visible-line and visible-surface display of CSG models

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination