Cross-tab-page-based model copying method and device, terminal equipment and storage medium
A technology of terminal equipment and copying method, which is applied in the computer field, can solve the problems of high cost, long preparation time, and low design efficiency, and achieve the effect of facilitating model copying, saving time and cost, and convenient operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] see figure 1 , figure 1 It is a schematic flowchart of a cross-tab-based model replication method disclosed in this application, the method is applied to a terminal device, wherein the terminal device includes a first client terminal and a second client terminal located in the same browser, and the method includes steps :
[0057] 101. When opening a model, the first client acquires model data of at least one 3D model object;
[0058] 102. The first client writes the model data into the xml object;
[0059] 103. The first client creates a message carrying an xml object;
[0060] 104. The first client calls the message manager to send the information carrying the xml object to the communication manager, and the communication manager uses the browser's localStorage object as a data storage medium;
[0061] 105. The second client polls the communication manager according to a preset time to obtain a message carrying an xml object;
[0062] 106. The second client parse...
Embodiment 2
[0087] see figure 2 , figure 2 It is a schematic structural diagram of a model replication device based on cross-tab pages disclosed in the embodiment of this application. The device is applied to the first client, such as figure 2 As shown, the device includes:
[0088] An acquisition module 201, configured to acquire model data of at least one 3D model object when the model is opened;
[0089] Write module 202, for writing model data in the xml object;
[0090] Create module 203, for creating the message that carries xml object;
[0091] The calling module 204 is used to call the message manager to send the information carrying the xml object to the communication manager, so that the second client polls the communication manager according to the preset time to obtain the message carrying the xml object and parse the xml The object information obtains the model data and reconstructs the 3D model object according to the model data. The communication manager uses the bro...
Embodiment 3
[0094] see image 3 , image 3 It is a schematic structural diagram of a model replication device based on cross-tab pages disclosed in the embodiment of this application. Wherein, the device is applied to the second client. Such as image 3 As shown, the device includes:
[0095] The polling module 301 is used to poll the communication manager according to the preset time to obtain the message carrying the xml object;
[0096] The parsing module 302 is configured to parse the information of the xml object to obtain model data, and reconstruct the 3D model object according to the model data.
[0097]In this embodiment of the application, the second client uses the localStorage object of the browser to realize data interaction across tabs, thereby facilitating model replication. At the same time, compared with the prior art, this application does not need to generate panoramas and The depth map does not need to go through operations such as putting it on the shelf, and it ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


