CN111428165A - Three-dimensional model display method and device and electronic equipment - Google Patents

Three-dimensional model display method and device and electronic equipment Download PDF

Info

Publication number
CN111428165A
CN111428165A CN201911405594.3A CN201911405594A CN111428165A CN 111428165 A CN111428165 A CN 111428165A CN 201911405594 A CN201911405594 A CN 201911405594A CN 111428165 A CN111428165 A CN 111428165A
Authority
CN
China
Prior art keywords
dimensional model
browser
displaying
target file
page
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
CN201911405594.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.)
Shenzhen Gongzhiyi Technology Co ltd
Original Assignee
Shenzhen Gongzhiyi Technology 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 Shenzhen Gongzhiyi Technology Co ltd filed Critical Shenzhen Gongzhiyi Technology Co ltd
Priority to CN201911405594.3A priority Critical patent/CN111428165A/en
Publication of CN111428165A publication Critical patent/CN111428165A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics

Abstract

The embodiment of the disclosure provides a method and a device for displaying a three-dimensional model and electronic equipment, belonging to the technical field of image processing, wherein the method comprises the following steps: identifying a target file of a three-dimensional model to be displayed in a browser; converting the initial format of the target file into a preset format recognized by the browser; analyzing the target file with the preset format to obtain an inclusion relation between the three-dimensional model and the internal parts; and displaying the assembly relation between the three-dimensional model and the internal parts on a page of the browser. By the scheme, the function of displaying the 3D model by the browser is realized, version control, multi-person cooperation and customization are further realized, and requirements under different scenes can be met.

Description

Three-dimensional model display method and device and electronic equipment
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to a method and an apparatus for displaying a three-dimensional model, and an electronic device.
Background
The existing three-dimensional (3-Dimension, 3D for short) model based on Web browser is realized by cooperation among multiple platforms. At present, the 3D model is usually displayed through professional three-dimensional model software, the display cost is high, and the process is complex.
Therefore, the existing three-dimensional model display scheme has the technical problems of high display cost and complex process.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a method and an apparatus for displaying a three-dimensional model, and an electronic device, which at least partially solve the problems in the prior art.
In a first aspect, an embodiment of the present disclosure provides a method for displaying a three-dimensional model, including:
identifying a target file of a three-dimensional model to be displayed in a browser;
converting the initial format of the target file into a preset format recognized by the browser;
analyzing the target file with the preset format to obtain an inclusion relation between the three-dimensional model and the internal parts;
and displaying the assembly relation between the three-dimensional model and the internal parts on a page of the browser.
According to a specific implementation manner of the embodiment of the present disclosure, the step of converting the format of the target file into the preset format recognized by the browser includes:
converting the format of the target file into a JSON format;
the step of displaying the assembly relationship between the three-dimensional model and the internal parts on the page of the browser comprises the following steps:
and displaying the assembly relation between the three-dimensional model and the internal parts on a page of the browser through a structure tree.
According to a specific implementation manner of the embodiment of the present disclosure, after the step of displaying the assembly relationship between the three-dimensional model and the internal part on the page of the browser, the method further includes:
capturing a dynamic event acting on a page of the browser;
determining an operation object and an operation type corresponding to the dynamic event;
and controlling the operation object to execute the display action corresponding to the operation type.
According to a specific implementation manner of the embodiment of the present disclosure, the operation object includes the three-dimensional model, a part in the three-dimensional model, or a plane of the three-dimensional model;
the operation type includes zooming, translating or rotating.
According to a specific implementation manner of the embodiment of the present disclosure, the operation object is a target view of the three-dimensional model, and the operation type is a sectioning operation;
the step of controlling the operation object to execute the display action corresponding to the operation type includes:
and taking the target view of the three-dimensional model as a cutting plane, carrying out cutting operation on the three-dimensional model, and displaying a cutting picture of the target view.
According to a specific implementation manner of the embodiment of the present disclosure, the operation object is at least two target elements, the target elements are point elements, line elements or surface elements, and the operation type is a calculation operation;
the step of controlling the operation object to execute the display action corresponding to the operation type includes:
and calculating a parameter value corresponding to the target element according to the target element, wherein the parameter value comprises an area value and/or a volume value.
According to a specific implementation manner of the embodiment of the present disclosure, before the step of displaying the assembly relationship between the three-dimensional model and the internal part on the page of the browser, the method includes:
performing triangular surface tiling processing on the three-dimensional model in the initial format through a Delaunay algorithm to obtain a triangular surface patch on the surface of the three-dimensional model;
after the step of presenting the assembly relationship between the three-dimensional model and the internal part on the page of the browser, the method comprises:
coloring all triangular patches of the three-dimensional surface; and/or the presence of a gas in the gas,
and displaying all wire frames forming the three-dimensional model by combining the triangular surface patches on the surface of the three-dimensional model.
In a second aspect, an embodiment of the present disclosure provides a display apparatus for a three-dimensional model, including:
the identification module is used for identifying a target file of the three-dimensional model to be displayed in the browser;
the conversion module is used for converting the format of the target file into a preset format recognized by the browser;
the analysis module is used for analyzing the target file in the preset format and acquiring the inclusion relation between the three-dimensional model and the internal parts;
and the display module is used for displaying the assembly relation between the three-dimensional model and the internal parts on the page of the browser.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for displaying a three-dimensional model of the first aspect or any implementation manner of the first aspect.
In a fourth aspect, the disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method for displaying a three-dimensional model in the first aspect or any implementation manner of the first aspect.
In a fifth aspect, the present disclosure also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method for displaying a three-dimensional model in the foregoing first aspect or any implementation manner of the first aspect.
The scheme for displaying the three-dimensional model in the embodiment of the disclosure comprises the following steps: identifying a target file of a three-dimensional model to be displayed in a browser; converting the initial format of the target file into a preset format recognized by the browser; analyzing the target file with the preset format to obtain an inclusion relation between the three-dimensional model and the internal parts; and displaying the assembly relation between the three-dimensional model and the internal parts on a page of the browser. By the scheme, the function of displaying the 3D model by the browser is realized, version control, multi-person cooperation and customization are further realized, and requirements under different scenes can be met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for displaying a three-dimensional model according to an embodiment of the present disclosure;
FIG. 2 is a partial schematic flow chart of another three-dimensional model display method provided in the embodiments of the present disclosure;
FIG. 3 is a partial schematic flow chart of another three-dimensional model display method provided in the embodiments of the present disclosure;
FIG. 4 is a schematic structural diagram of a device for displaying a three-dimensional model according to an embodiment of the present disclosure;
fig. 5 is a schematic view of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
The embodiment of the disclosure provides a method for displaying a three-dimensional model. The method for displaying a three-dimensional model provided by the embodiment may be executed by a computing device, where the computing device may be implemented as software, or implemented as a combination of software and hardware, and the computing device may be integrally disposed in a server, a terminal device, or the like.
Referring to fig. 1, a schematic flow chart of a method for displaying a three-dimensional model according to an embodiment of the present disclosure is shown. As shown in fig. 1, the method mainly includes:
s101, identifying a target file of a three-dimensional model to be displayed in a browser;
the method for displaying the three-dimensional model provided by the embodiment is used for displaying the three-dimensional model on a browser, and a user can realize related operations such as browsing and transformation of the three-dimensional model without downloading and installing specific three-dimensional software. Specifically, a file of the three-dimensional model to be displayed is defined as a target file, and the target file is in an initial format, that is, an initial storage format of the three-dimensional software, such as an STP format.
And uploading the target file of the three-dimensional model to a browser, and identifying and processing the current target file by the browser. When the browser processes a plurality of three-dimensional models, different three-dimensional models can be distinguished by file suffix names of the three-dimensional models.
S102, converting the initial format of the target file into a preset format recognized by the browser;
and the browser identifies the three-dimensional model to be displayed at present and processes the target file of the three-dimensional model. First, the initial format of the target file needs to be converted into a preset format, such as JSON format, which can be recognized by the browser, so that the browser can parse and extract the relevant data in the target file.
S103, analyzing the target file with the preset format to obtain an inclusion relation between the three-dimensional model and the internal parts;
after the electronic equipment performs format conversion on the target file of the three-dimensional model according to the steps, the data in the file converted into the preset format can be directly read, and the data is analyzed. In the process, information of the three-dimensional model and internal parts thereof is mainly extracted, and particularly, the inclusion relation between the whole three-dimensional model and all contained parts is extracted. For example, it is determined which parts the three-dimensional model contains in total, what the attribute parameters of each part are, and how the adjacent parts fit together.
S104, displaying the assembly relation between the three-dimensional model and the internal parts on the page of the browser.
After the steps, the browser analyzes the inclusion between the three-dimensional model and the internal part, namely, the assembling mode between the adjacent parts can be displayed through the related inclusion relation, and a user can conveniently and directly browse the assembling mode between the three-dimensional model and the internal part on the browser.
According to a specific implementation manner of the embodiment of the present disclosure, the step of converting the format of the target file into the preset format recognized by the browser includes:
converting the format of the target file into a JSON format;
the step of displaying the assembly relationship between the three-dimensional model and the internal parts on the page of the browser comprises the following steps:
and displaying the assembly relation between the three-dimensional model and the internal parts on a page of the browser through a structure tree.
And the electronic equipment converts the target file to be processed into JSON data which can be recognized by the browser, and displays the inclusion relation between the model and each part by using the structure tree through the nesting relation of the JSON data. Therefore, most browsers can identify and analyze the target file, and the three-dimensional model is displayed by the closer structure tree model.
The above display scheme of the three-dimensional model in the embodiment of the present disclosure includes: identifying a target file of a three-dimensional model to be displayed in a browser; converting the initial format of the target file into a preset format recognized by the browser; analyzing the target file with the preset format to obtain an inclusion relation between the three-dimensional model and the internal parts; and displaying the assembly relation between the three-dimensional model and the internal parts on a page of the browser. By the scheme, the function of displaying the 3D model by the browser is realized, version control, multi-person cooperation and customization are further realized, and requirements under different scenes can be met.
On the basis of the foregoing embodiment, according to a specific implementation manner of the embodiment of the present disclosure, as shown in fig. 2, after the step of displaying the assembly relationship between the three-dimensional model and the internal part on the page of the browser, the method may further include:
s201, capturing a dynamic event acting on a page of the browser;
s202, determining an operation object and an operation type corresponding to the dynamic event;
s203, controlling the operation object to execute the display action corresponding to the operation type.
Specifically, the operation object may include the three-dimensional model, a part within the three-dimensional model, or a plane of the three-dimensional model;
the operation type includes zooming, translating or rotating.
The electronic equipment can capture the position of a click event acting on a browser page by using a ray tracing method, and can determine an operation object and an operation type corresponding to the click event by dynamically capturing the event, so that the processing of zooming, translating or rotating a body or a local structure in the three-dimensional model and the like can be realized. Therefore, the user can perform follow-up control transformation on the three-dimensional model on the browser, and the cooperation performance and the convenience performance of the display scheme are improved. As shown in fig. 3, the operation of two click events will be exemplified below.
In a specific implementation manner, the operation object is a target view of the three-dimensional model, and the operation type is a sectioning operation;
the step of controlling the operation object to execute the display action corresponding to the operation type may include:
and taking the target view of the three-dimensional model as a cutting plane, carrying out cutting operation on the three-dimensional model, and displaying a cutting picture of the target view.
In this embodiment, the browser may cut the three-dimensional model according to the view selected by the user triggered by the click event, thereby implementing the function of reviewing the corresponding view.
In another specific implementation manner, the operation object is at least two target elements, the target elements are point elements, line elements or surface elements, and the operation type is a calculation operation;
the step of controlling the operation object to execute the display action corresponding to the operation type includes:
and calculating a parameter value corresponding to the target element according to the target element, wherein the parameter value comprises an area value and/or a volume value.
In this embodiment, the browser may further calculate the surface area and the volume of the three-dimensional model according to the distance between the point, the point line, the point plane, and the line selected by the user, or label any position in the three-dimensional model.
According to another specific implementation manner of the embodiment of the present disclosure, as shown in fig. 3, before the step of displaying the assembly relationship between the three-dimensional model and the internal part on the page of the browser, the method includes:
performing triangular surface tiling processing on the three-dimensional model in the initial format through a Delaunay algorithm to obtain a triangular surface patch on the surface of the three-dimensional model;
after the step of presenting the assembly relationship between the three-dimensional model and the internal part on the page of the browser, the method comprises:
coloring all triangular patches of the three-dimensional surface; and/or the presence of a gas in the gas,
and displaying all wire frames forming the three-dimensional model by combining the triangular surface patches on the surface of the three-dimensional model.
In this embodiment, the browser may perform triangle tiling on the three-dimensional model in the initial STP format in the background by using the delaunay algorithm, so as to perform coloring on different surfaces of the three-dimensional model, that is, to color all triangle tiles constituting the current surface. Further, by analyzing the patch, the skeleton of the model, that is, all the wire frames constituting the model can be displayed.
In addition, the electronic equipment can further realize version saving and rollback according to user operation through a version control algorithm of the server so as to prevent misoperation and facilitate comparison and improvement schemes.
In addition, in the method, different light sources can be added to the three-dimensional model in the browser, so that the real impression of the three-dimensional model during display is enhanced.
In correspondence with the above method embodiment, referring to fig. 4, the present disclosure also provides a display apparatus 40 for a three-dimensional model, including:
the identification module 401 is configured to identify a target file of a three-dimensional model to be displayed in a browser;
a converting module 402, configured to convert the format of the target file into a preset format recognized by the browser;
the analysis module 403 is configured to analyze the target file in the preset format to obtain an inclusion relationship between the three-dimensional model and an internal part;
a displaying module 404, configured to display an assembly relationship between the three-dimensional model and the internal part on a page of the browser.
The apparatus shown in fig. 4 can correspondingly execute the content in the above method embodiment, and details of the part not described in detail in this embodiment refer to the content described in the above method embodiment, which is not described again here.
Referring to fig. 5, an embodiment of the present disclosure also provides an electronic device 50, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of presenting a three-dimensional model of the method embodiments described above.
The disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method for displaying the three-dimensional model in the foregoing method embodiments.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of presenting a three-dimensional model in the aforementioned method embodiments.
Referring now to FIG. 5, a schematic diagram of an electronic device 50 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 50 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 50 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, input devices 506 including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc., output devices 507 including, for example, liquid crystal displays (L CD), speakers, vibrators, etc., storage devices 508 including, for example, magnetic tape, hard disks, etc., and communication devices 509. communication devices 509 may allow electronic device 50 to communicate wirelessly or wiredly with other devices to exchange data.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, enable the electronic device to implement the schemes provided by the method embodiments.
Alternatively, the computer readable medium carries one or more programs, which when executed by the electronic device, enable the electronic device to implement the schemes provided by the method embodiments.
Computer program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A method for displaying a three-dimensional model is characterized by comprising the following steps:
identifying a target file of a three-dimensional model to be displayed in a browser;
converting the initial format of the target file into a preset format recognized by the browser;
analyzing the target file with the preset format to obtain an inclusion relation between the three-dimensional model and the internal parts;
and displaying the assembly relation between the three-dimensional model and the internal parts on a page of the browser.
2. The method of claim 1, wherein the step of converting the format of the target file into a preset format recognized by the browser comprises:
converting the format of the target file into a JSON format;
the step of displaying the assembly relationship between the three-dimensional model and the internal parts on the page of the browser comprises the following steps:
and displaying the assembly relation between the three-dimensional model and the internal parts on a page of the browser through a structure tree.
3. The method of claim 2, wherein after the step of presenting the assembly relationship between the three-dimensional model and the interior part on the page of the browser, the method further comprises: capturing a dynamic event acting on a page of the browser;
determining an operation object and an operation type corresponding to the dynamic event;
and controlling the operation object to execute the display action corresponding to the operation type.
4. The method of claim 3, wherein the operation object comprises the three-dimensional model, a part within the three-dimensional model, or a plane of the three-dimensional model;
the operation type includes zooming, translating or rotating.
5. The method according to claim 4, wherein the operation object is a target view of the three-dimensional model, and the operation type is a sectioning operation;
the step of controlling the operation object to execute the display action corresponding to the operation type includes:
and taking the target view of the three-dimensional model as a cutting plane, carrying out cutting operation on the three-dimensional model, and displaying a cutting picture of the target view.
6. The method according to claim 4, wherein the operation object is at least two target elements, the target elements are point elements, line elements or surface elements, and the operation type is a calculation operation;
the step of controlling the operation object to execute the display action corresponding to the operation type includes:
and calculating a parameter value corresponding to the target element according to the target element, wherein the parameter value comprises an area value and/or a volume value.
7. The method according to any one of claims 1 to 5, wherein the step of presenting the assembly relationship between the three-dimensional model and the interior part on a page of the browser is preceded by the method comprising:
performing triangular surface tiling processing on the three-dimensional model in the initial format through a Delaunay algorithm to obtain a triangular surface patch on the surface of the three-dimensional model;
after the step of presenting the assembly relationship between the three-dimensional model and the internal part on the page of the browser, the method comprises:
coloring all triangular patches of the three-dimensional surface; and/or the presence of a gas in the gas,
and displaying all wire frames forming the three-dimensional model by combining the triangular surface patches on the surface of the three-dimensional model.
8. A device for displaying a three-dimensional model, comprising:
the identification module is used for identifying a target file of the three-dimensional model to be displayed in the browser;
the conversion module is used for converting the format of the target file into a preset format recognized by the browser;
the analysis module is used for analyzing the target file in the preset format and acquiring the inclusion relation between the three-dimensional model and the internal parts;
and the display module is used for displaying the assembly relation between the three-dimensional model and the internal parts on the page of the browser.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of displaying a three-dimensional model according to any of the preceding claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of displaying a three-dimensional model according to any one of claims 1 to 7.
CN201911405594.3A 2019-12-31 2019-12-31 Three-dimensional model display method and device and electronic equipment Pending CN111428165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911405594.3A CN111428165A (en) 2019-12-31 2019-12-31 Three-dimensional model display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911405594.3A CN111428165A (en) 2019-12-31 2019-12-31 Three-dimensional model display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111428165A true CN111428165A (en) 2020-07-17

Family

ID=71546939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911405594.3A Pending CN111428165A (en) 2019-12-31 2019-12-31 Three-dimensional model display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111428165A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560189A (en) * 2020-12-25 2021-03-26 深圳壹账通创配科技有限公司 Page display method and device, computer equipment and readable storage medium
CN112948221A (en) * 2021-03-31 2021-06-11 西安诺瓦星云科技股份有限公司 Hardware system monitoring method and device
CN113032698A (en) * 2021-02-26 2021-06-25 深圳壹账通创配科技有限公司 3D image display method and device, computer equipment and readable storage medium
CN114357555A (en) * 2022-03-17 2022-04-15 中国建筑第五工程局有限公司 Model display method, device, medium and server based on material transfer platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909640A (en) * 2017-02-16 2017-06-30 杭州新迪数字工程系统有限公司 Threedimensional model lightweight display technique based on webgl
CN107818594A (en) * 2017-09-06 2018-03-20 北京矩阵空间科技有限公司 Threedimensional model file format system and read method
CN109635161A (en) * 2018-12-20 2019-04-16 武汉海王科技有限公司 A kind of cross-domain Collaborative Design method under mass data environment
CN110503726A (en) * 2019-07-22 2019-11-26 武汉理工大学 Page end threedimensional model markup information shows browsing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909640A (en) * 2017-02-16 2017-06-30 杭州新迪数字工程系统有限公司 Threedimensional model lightweight display technique based on webgl
CN107818594A (en) * 2017-09-06 2018-03-20 北京矩阵空间科技有限公司 Threedimensional model file format system and read method
CN109635161A (en) * 2018-12-20 2019-04-16 武汉海王科技有限公司 A kind of cross-domain Collaborative Design method under mass data environment
CN110503726A (en) * 2019-07-22 2019-11-26 武汉理工大学 Page end threedimensional model markup information shows browsing method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560189A (en) * 2020-12-25 2021-03-26 深圳壹账通创配科技有限公司 Page display method and device, computer equipment and readable storage medium
CN113032698A (en) * 2021-02-26 2021-06-25 深圳壹账通创配科技有限公司 3D image display method and device, computer equipment and readable storage medium
CN112948221A (en) * 2021-03-31 2021-06-11 西安诺瓦星云科技股份有限公司 Hardware system monitoring method and device
CN114357555A (en) * 2022-03-17 2022-04-15 中国建筑第五工程局有限公司 Model display method, device, medium and server based on material transfer platform
CN114357555B (en) * 2022-03-17 2022-06-03 中国建筑第五工程局有限公司 Model display method, device, medium and server based on material transfer platform

Similar Documents

Publication Publication Date Title
CN109634598B (en) Page display method, device, equipment and storage medium
CN111428165A (en) Three-dimensional model display method and device and electronic equipment
US11875437B2 (en) Image drawing method based on target template image, apparatus, readable medium and electronic device
CN109857486B (en) Method, device, equipment and medium for processing program page data
CN111177617A (en) Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment
CN110189394B (en) Mouth shape generation method and device and electronic equipment
CN111198859B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN110287810B (en) Vehicle door motion detection method, device and computer readable storage medium
CN111290737B (en) Method and device for application program development and electronic equipment
CN111813641A (en) Method, device, medium and equipment for collecting crash information
CN109657249B (en) Automatic text replacement method and device for application program and electronic equipment
CN111258998A (en) Data verification method, device, medium and electronic equipment
CN111176707A (en) Templated automatic operation and maintenance method and device and electronic equipment
CN110673886B (en) Method and device for generating thermodynamic diagrams
CN111383329B (en) Three-dimensional image display method and device based on browser and electronic equipment
CN112492399B (en) Information display method and device and electronic equipment
CN109992698B (en) Data processing method and device, electronic equipment and readable storage medium
CN112487883A (en) Intelligent pen writing behavior characteristic analysis method and device and electronic equipment
CN111625291A (en) Automatic iteration method and device of data processing model and electronic equipment
CN108133029B (en) Map element adjusting method, device and equipment and computer-readable storage medium
CN111832354A (en) Target object age identification method and device and electronic equipment
CN116775174A (en) Processing method, device, equipment and medium based on user interface frame
CN111274104B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN107180073B (en) POI recommendation method, device, equipment and computer readable storage medium
CN111275828B (en) Data processing method and device of three-dimensional assembly and electronic equipment

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