Modeling methods, systems, devices, media, and program products
By selecting the corresponding object model for electrical construction from the 3D ship model, performing geometric simplification and attribute parameter processing, a lightweight electrical construction model is generated. Through approval, encryption, and visualization technologies, the problem of numerous drawings in electrical construction is solved, improving construction efficiency and accuracy.
Patent Information
- Application Number
- CN202611286270.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-27
AI Technical Summary
During the ship design and construction process, electrical work requires consulting a large number of complex drawings, which leads to problems of low construction efficiency and low accuracy.
By selecting the object model corresponding to electrical construction from the 3D ship model, performing geometric simplification, and selecting the attribute parameters corresponding to electrical construction, a lightweight electrical construction model is generated. The model is then visualized using approval, encryption, tile-based algorithms, and an octree structure.
It achieves lightweight compression of 3D ship models, ensuring the efficiency and accuracy of construction, providing convenient data acquisition and secure data transmission, and improving the efficiency and accuracy of construction sites.
Smart Images

Figure CN123181711A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electrical construction technology, and more particularly to a method, system, device, medium, and program product for visualizing a model. Background Technology
[0002] In the process of ship design and construction, three-dimensional design data is crucial for on-site construction. Traditionally, on-site construction is guided mainly by data lists and two-dimensional drawings. Construction units mainly obtain construction parameters such as location, size, and materials by interpreting drawings. However, at present, when facing the construction of large-scale projects such as large cruise ships, cross-regional construction, especially in the electrical cable laying work of ship construction, requires checking information such as nodes, cabin penetrations, and structural backgrounds for cross-regional cable laying. The model data of large projects is huge and complex, covering a variety of data such as size, location, color, material, and weight. It is often necessary to consult dozens of drawings to obtain all the information required for construction, which poses a great challenge to the efficiency and accuracy of construction. Summary of the Invention
[0003] The technical problem to be solved by this disclosure is to overcome the shortcomings of existing technologies, such as the need to consult too many drawings and the large and complex data in electrical construction, resulting in low construction efficiency and low accuracy. This disclosure provides a method, system, equipment, medium, and program product for visualizing models.
[0004] This disclosure solves the above-mentioned technical problems through the following technical solution:
[0005] This disclosure provides a method for visualizing a model, the visualization method comprising:
[0006] Obtain a 3D ship model from a pre-designed 3D design software;
[0007] The three-dimensional ship model includes several types of object models;
[0008] Select several object models corresponding to electrical construction from the three-dimensional ship model;
[0009] The object models described herein are geometrically simplified to obtain simplified object models;
[0010] Select the attribute parameters corresponding to electrical construction in the simplified object model to obtain the electrical construction model;
[0011] The electrical construction model is visualized.
[0012] Optionally, the step of geometrically simplifying the plurality of object models includes:
[0013] The first preset feature of the object model is deleted;
[0014] The first preset feature includes at least one of rounded corners, small holes, chamfers, slits, and welds;
[0015] And / or,
[0016] Remove the internal structural information of the second preset feature of the object model, while retaining the external contour information;
[0017] The second preset feature includes at least one of bolts, nuts, washers, retaining rings, hull reinforcing ribs, equipment nozzles, internal wiring channels, virtual brackets, and virtual nodes;
[0018] And / or,
[0019] The third preset feature of the object model is compressed.
[0020] The third preset feature includes at least one of repeating holes and a grid array.
[0021] Optionally, the step of visualizing the electrical construction model includes:
[0022] Transmit the electrical construction model to a mobile device;
[0023] The electrical construction model is visualized on the mobile device.
[0024] Optionally, the step of transmitting the electrical construction model to the mobile device includes:
[0025] The electrical construction model is subject to a step-by-step approval process.
[0026] The electrical construction model that has passed the approval process is encrypted, transmitted to the mobile device through an encrypted channel, and stored in a preset area of the mobile device.
[0027] Optionally, the step of visualizing the electrical construction model on the mobile device includes:
[0028] On the mobile device, the electrical construction model is segmented using a tile-based algorithm;
[0029] The segmented electrical construction model is displayed from the user's perspective.
[0030] Optionally, the step of displaying the segmented electrical construction model based on the user's viewpoint includes:
[0031] The electrical construction model after segmentation is spatially indexed based on an octree structure, and model information outside the field of view corresponding to the user's viewpoint is removed.
[0032] And / or,
[0033] The level of detail of the electrical construction model is switched based on the distance between the electrical construction model and the user's viewpoint.
[0034] This disclosure also provides a visualization system for a model, the visualization system comprising:
[0035] The ship model acquisition module is used to acquire 3D ship models from preset 3D design software.
[0036] The three-dimensional ship model includes several types of object models;
[0037] The object model selection module is used to select several object models corresponding to electrical construction from the three-dimensional ship model;
[0038] The model simplification module is used to perform geometric simplification on several of the object models to obtain simplified object models;
[0039] The attribute parameter selection module is used to select the attribute parameters corresponding to electrical construction in the simplified object model to obtain the electrical construction model;
[0040] The model display module is used to visualize the electrical construction model.
[0041] Optionally, the model simplification module is further configured to delete a first preset feature of the object model;
[0042] The first preset feature includes at least one of rounded corners, small holes, chamfers, slits, and welds;
[0043] And / or,
[0044] Remove the internal structural information of the second preset feature of the object model, while retaining the external contour information;
[0045] The second preset feature includes at least one of bolts, nuts, washers, retaining rings, hull reinforcing ribs, equipment nozzles, internal wiring channels, virtual brackets, and virtual nodes;
[0046] And / or,
[0047] The third preset feature of the object model is compressed.
[0048] The third preset feature includes at least one of repeating holes and a grid array.
[0049] Optionally, the model display module includes:
[0050] A model transmission unit is used to transmit the electrical construction model to a mobile terminal device;
[0051] The model display unit is used to visualize the electrical construction model on the mobile device.
[0052] Optionally, the model transmission unit includes:
[0053] The model approval subunit is used to perform step-by-step approval processing on the electrical construction model.
[0054] The model encryption subunit is used to encrypt the electrical construction model that has passed the approval process, transmit it to the mobile terminal device through the encryption channel, and store it in a preset area of the mobile terminal device.
[0055] Optionally, the model display unit includes:
[0056] The model segmentation subunit is used to segment the electrical construction model on the mobile device using a tile-based algorithm.
[0057] The model display sub-unit is used to display the segmented electrical construction model from the user's viewpoint.
[0058] Optionally, the model display subunit is also used to perform spatial indexing on the segmented electrical construction model based on an octree structure, and remove model information outside the field of view corresponding to the user's viewpoint;
[0059] And / or,
[0060] The level of detail of the electrical construction model is switched based on the distance between the electrical construction model and the user's viewpoint.
[0061] This disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and for running on the processor, wherein the processor executes the computer program to implement the visualization method of the model described above.
[0062] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the visualization method of the model described above.
[0063] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements a visualization method for the model as described above.
[0064] Based on common knowledge in the field, the above-mentioned preferred conditions can be combined arbitrarily to obtain various preferred embodiments of this disclosure.
[0065] The positive and progressive effects of this disclosure are as follows:
[0066] This disclosure achieves lightweight compression of the 3D ship model by selecting the object model corresponding to electrical construction from the 3D ship model, performing geometric simplification, and selecting attribute parameters corresponding to electrical construction. This ensures that important electrical construction data is not lost, and the resulting lightweight electrical construction model is easy to present and use on the equipment side, thus guaranteeing the efficiency and accuracy of construction. Attached Figure Description
[0067] Figure 1 A flowchart illustrating a model visualization method provided as an exemplary embodiment of this disclosure;
[0068] Figure 2 A flowchart of step S105 in a model visualization method provided as an exemplary embodiment of this disclosure;
[0069] Figure 3 A flowchart of step S1051 in a model visualization method provided for an exemplary embodiment of this disclosure;
[0070] Figure 4 A schematic diagram illustrating the transmission of an electrical construction model in a model visualization method provided as an exemplary embodiment of this disclosure;
[0071] Figure 5 A flowchart of step S1052 in a model visualization method provided as an exemplary embodiment of this disclosure;
[0072] Figure 6 A specific example diagram illustrating a model visualization method provided as an exemplary embodiment of this disclosure;
[0073] Figure 7 A schematic diagram of the first module of a model visualization system provided for an exemplary embodiment of this disclosure;
[0074] Figure 8 A schematic diagram of the second module of a model visualization system provided for an exemplary embodiment of this disclosure;
[0075] Figure 9 This is a schematic diagram of the structure of an electronic device provided as an exemplary embodiment of the present disclosure. Detailed Implementation
[0076] The present disclosure is further illustrated below by way of embodiments, but the present disclosure is not limited to the scope of the embodiments described herein.
[0077] The prefixes such as "first" and "second" used in this disclosure are merely for distinguishing different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. The use of ordinal numbers and other prefixes used to distinguish descriptive objects in this disclosure does not constitute a limitation on the described objects. The description of the described objects is given in the context of the embodiments, and the use of such prefixes should not constitute unnecessary restrictions. Furthermore, in the description of this embodiment, unless otherwise stated, "multiple" means two or more.
[0078] Example 1
[0079] This embodiment provides a method for visualizing a model, such as... Figure 1 As shown, the visualization method includes:
[0080] S101. Obtain a three-dimensional ship model from a pre-set three-dimensional design software;
[0081] Among them, the three-dimensional ship model includes several types of object models;
[0082] S102. Select several object models corresponding to electrical construction from the three-dimensional ship model;
[0083] S103. Perform geometric simplification on several object models to obtain simplified object models;
[0084] S104. Select the attribute parameters corresponding to electrical construction in the simplified object model to obtain the electrical construction model;
[0085] S105. Visualize the electrical construction model.
[0086] Specifically, the default 3D design software is Smart3D (a 3D engineering design software). The design models for each discipline, i.e., the 3D ship models, are diverse in object type and level of detail. Besides the dimensions, location, and weight of the design models, other related parameters such as grade and pressure testing packages need to be considered, resulting in a massive and complex dataset. Therefore, the visualization method for the models involves first customizing each discipline's model type individually using the 3D design software, eliminating unnecessary models such as virtual components and virtual spaces, and implementing lightweight model settings. Secondly, the attribute parameters of each model type are configured to ensure the necessary attribute parameters for construction, especially retaining cable tray, cable information, and node information, while removing redundant information to improve the lightweighting rate. Finally, the models from each discipline are integrated and uniformly output from the 3D design software, thereby obtaining the lightweight electrical visualization construction model files required.
[0087] In this solution, by selecting the object model corresponding to electrical construction from the 3D ship model, performing geometric simplification, and selecting the attribute parameters corresponding to electrical construction, the 3D ship model is compressed to a lightweight form without losing important electrical construction data. The resulting lightweight electrical construction model is easy to present and use on the equipment side, ensuring the efficiency and accuracy of construction.
[0088] In one feasible solution, step S103, geometric simplification of several object models, includes:
[0089] Delete the first preset feature of the object model;
[0090] The first preset feature includes at least one of rounded corners, pinholes, chamfers, slits, and welds.
[0091] Specifically, minor features of the object model, such as fillets, small holes, chamfers, cuts, and welds, can be suppressed or deleted directly without affecting on-site construction. Small holes are holes with an actual diameter smaller than the preset diameter, which can be set or adjusted according to actual conditions.
[0092] In this solution, by deleting the first preset feature of the object model, the geometric simplification and lightweighting of the originally heavy and complex object model is achieved, ensuring the efficiency and accuracy of construction.
[0093] In one feasible solution, step S103, geometric simplification of several object models, includes:
[0094] Remove the internal structural information of the second preset feature of the object model, while retaining the external contour information;
[0095] The second preset feature includes at least one of bolts, nuts, washers, retaining rings, hull reinforcing ribs, equipment nozzles, internal wiring channels, virtual brackets, and virtual nodes.
[0096] Specifically, simplify standard parts. Fasteners such as bolts, nuts, washers, and retainers are simplified by retaining only their outer contours and removing details.
[0097] Merge entities and remove internal details. For example, delete information such as hull stiffeners, equipment nozzles, internal wiring channels, virtual brackets, and virtual nodes, retaining only the external surface geometry.
[0098] In this solution, by removing the internal structural information of the second preset feature of the object model while retaining the external contour information, the geometric simplification and lightweighting of the originally heavy and complex object model is achieved, ensuring the efficiency and accuracy of construction.
[0099] In one feasible solution, step S103, geometric simplification of several object models, includes:
[0100] The third preset feature of the object model is compressed;
[0101] The third preset feature includes at least one of repeating holes and grid array.
[0102] Specifically, the system identifies repeating array structures in the object model and replaces them with a single representative geometry. For example, dense object models with many repeating holes or grid arrays are geometrically simplified and compressed using methods such as single holes.
[0103] In this solution, by compressing the third preset feature of the object model, the geometric simplification and lightweighting of the originally heavy and complex object model are achieved, ensuring the efficiency and accuracy of construction.
[0104] In a feasible solution, such as Figure 2 As shown, step S105 involves visualizing the electrical construction model, including:
[0105] S1051. Transmit the electrical construction model to the mobile device;
[0106] S1052. Visualize the electrical construction model on mobile devices.
[0107] In this solution, the electrical construction model required for electrical construction is transmitted to an electronic mobile device, which not only achieves real-time data transmission but also meets the needs of the construction site for obtaining various information.
[0108] In a feasible solution, such as Figure 3 As shown, step S1051, transmitting the electrical construction model to the mobile device, includes:
[0109] S10511. Conduct step-by-step approval and signing of electrical construction models;
[0110] S10512. The electrical construction model that has passed the approval process is encrypted, transmitted to the mobile device through an encrypted channel, and stored in the preset area of the mobile device.
[0111] Specifically, once the electrical lightweight model data, i.e. the electrical construction model, is fully prepared, it is necessary to use a rigorous and safe process and appropriate technology to exchange the data between multiple systems, and finally send it offline to mobile devices such as tablets for use by on-site construction personnel.
[0112] like Figure 4As shown, the transmission of the electrical construction model involves two network domains, three systems, three services, and five databases. The two network domains are the design domain and the IT (Information Technology) domain. The three systems are the S3D (Simple Sloppy Semantic Database) server system, the IMC (3D Lightweight Platform) web server system, and the proxy server system. The three services are the Model Service, the IMC Adapter Service, and the Proxy Service. The five databases are the CDB (Centralized Database), MDB (Multidimensional Database), and ADB (Active Database) databases on the S3D database server, the IMC DB database of the IMC system, and the Pad database. The transmission of the electrical construction model also involves designers, IT personnel, managers, site personnel, and construction team personnel. Data transmission between the IMC platform conversion service and the IMC web server, between the IMC web server and the DSP (Ship Design Service Platform), and between the IMC web server and the agent service is conducted via API (Application Programming Interface).
[0113] The specific data transmission process is as follows: On the S3D database server, a model synchronization service and an IMC platform conversion service are set up to synchronize and convert the S3D CDB and MDB databases; design users can view the model synchronization status required for electrical construction in the IMC model synchronization management interface (3D Drawing Manager); design users then use DSP to perform design drawing, approval, review and verification, and publishing processes on the synchronized data; finally, through the proxy server, users of the on-site construction team can synchronize and view the published lightweight model data on the Pad terminal through the App (application).
[0114] 3D Drawing Manager enables the creation, viewing, publishing, revision, retrieval, and version comparison of 3D models. DSP enables data distribution and viewing.
[0115] The transmission of electrical construction models involves three management terminals: a visualization management terminal, a review and approval management terminal, and a visualization mobile terminal. The visualization management terminal handles data reception and processing, including receiving lightweight model data, managing mobile device levels, managing user registration, encrypting lightweight models, setting data validity periods, and distributing lightweight models. The review and approval management terminal is responsible for reviewing and approving the distributed lightweight model files at each level to ensure the integrity and accuracy of the model data. The visualization mobile terminal obtains the corresponding model data files through a separate encrypted channel, encrypts and stores them in a specific area and format, and allows designated users to browse and view a specified range of lightweight model files within the data validity period, according to their assigned permissions.
[0116] In this solution, the electrical construction model is transferred to mobile devices in a reasonable and secure manner through technologies such as signature verification, encryption, and independent storage. This allows on-site construction personnel to quickly, safely, and conveniently obtain the required data, achieving efficient application of the electrical construction model and ensuring its accuracy, reliability, and safety.
[0117] In a feasible solution, such as Figure 5 As shown, step S1052, visualizing the electrical construction model on a mobile device, includes:
[0118] S10521. On mobile devices, the electrical construction model is segmented using a tile-based algorithm;
[0119] S10522. Display the segmented electrical construction model from the user's perspective.
[0120] Specifically, for large-scale electrical construction models, model loading and efficient rendering pose significant challenges to both software and hardware. To reduce hardware costs, a tile-based algorithm is used to segment the model space, followed by dynamic loading and rendering based on the user's field of view and needs. This achieves the goals of reducing memory usage, accelerating rendering speed, and improving the user experience. The tile-based algorithm primarily relies on a standard coordinate system to uniquely identify each tile, employing an XYZ scheme.
[0121] In a coordinate system, there is a zoom level (z).
[0122] Zoom level 0: Represents the smallest zoomed-out view; typically, the entire world map is represented by a 256x256 tile.
[0123] Each time the zoom level increases by 1, the map scale doubles, and a tile in the previous layer is divided into 4 tiles.
[0124] The total number of tiles at scaling level z is 2^z * 2^z. For example, level 2 has 4 x 4 = 16 tiles.
[0125] Using X&Y tile coordinates, at a certain scaling level z, x and y together identify the position of a tile. x starts from 0 and increases from left to right; y starts from 0 and increases from top to bottom.
[0126] The steps of the tile-based algorithm are as follows:
[0127] Determine the current view parameters. Obtain the latitude and longitude of the current map's center point, zoom level (z), and the width and height of the map container;
[0128] Calculate the required tile range. Based on the current view parameters, calculate the geographic range covered by the current viewport. Use a conversion formula to convert the boundaries of the geographic range to tile coordinates at the current zoom level z; this yields a range of tile coordinates: x_min, x_max, y_min, y_max, where x_min represents the minimum x-coordinate, x_max represents the maximum x-coordinate, y_min represents the minimum y-coordinate, and y_max represents the maximum y-coordinate.
[0129] Loading and rendering. Check if the tile is already in the cache. If so, read it directly from the cache; if the cache is not found, initiate an asynchronous network request to fetch the corresponding tile image. Calculate the precise pixel position of the tile on the screen based on its coordinates, and then draw the tile image as part of the DOM (Document Object Model) element arrangement.
[0130] In this solution, the electrical construction model space is divided using a tile-based algorithm, and then dynamically loaded and rendered according to the user's field of view. This reduces hardware costs, decreases memory usage, speeds up rendering, and improves the interactive experience.
[0131] In one feasible solution, step S10522, based on the user's viewpoint, displays the segmented electrical construction model, including:
[0132] The electrical construction model after segmentation is spatially indexed based on an octree structure, and model information outside the user's viewpoint is removed.
[0133] Specifically, relying on spatial index structures such as octrees, combined with view frustum culling, hardware occlusion query, and PVS pre-computation, information about models outside the user's field of view and those that are occluded is quickly filtered out.
[0134] In this solution, by removing model information outside the user's viewpoint, memory usage is reduced, rendering speed is accelerated, and the interactive experience is improved.
[0135] In one feasible solution, step S10522, based on the user's viewpoint, displays the segmented electrical construction model, including:
[0136] The level of detail of the electrical construction model is switched based on the distance between the electrical construction model and the user's viewpoint.
[0137] Specifically, a multi-level LOD (Level of Detail) layering and screen space error judgment are adopted. The precision is automatically switched according to the camera distance and the model's screen ratio. When the distance is far, the model's material is downgraded, high-consumption effects and high-definition images are turned off. Low-poly placeholders are loaded first, and high-precision models are refined when there is no time. Finally, the rendering instructions are reduced by instantiating rendering, static / dynamic batching, and merging textures. The fine structure is only presented when the user is viewing the model up close and in detail. In addition, frame time budget scheduling is used to coordinate the control of facets, rendering calls and memory usage to ensure smooth rendering of 3D browsing.
[0138] In this solution, the level of detail of the electrical construction model is switched based on the distance between the electrical construction model and the user's viewpoint, enabling dynamic loading and rendering of the electrical construction model based on the user's viewpoint. This reduces memory usage, speeds up rendering, and improves the interactive experience.
[0139] The working principle of the model visualization method in this embodiment is explained below with specific examples, such as... Figure 6 As shown:
[0140] A 3D ship model is obtained from Smart3D. The 3D ship model is then lightweighted, including selecting several object models corresponding to electrical construction from the 3D ship model; geometric simplification is performed on the several object models to obtain a simplified object model; and attribute parameters corresponding to electrical construction are selected from the simplified object model to obtain the electrical construction model.
[0141] The electrical construction model is synchronized and converted using a model conversion service, and then processed through a step-by-step approval process.
[0142] The electrical construction model that has passed the approval process is encrypted, transmitted to the mobile device through an encrypted channel, and stored in a preset area of the mobile device.
[0143] On mobile devices, the electrical construction model is segmented using a tile-based algorithm; based on the user's viewpoint, the segmented electrical construction model is loaded and rendered efficiently, enabling interaction between the user and the electrical construction model.
[0144] This embodiment streamlines the design model of a complex 3D ship model. Utilizing data interaction between various systems, and employing technologies such as approval, encryption, and independent storage, data is securely and efficiently transferred to mobile devices. Authorized users and devices can quickly view the lightweight model, including the electrical construction model and related information such as dimensions and locations. This model visualization method represents a revolutionary shift from traditional extensive to intensive management and technological upgrades. Through both digitalization and lightweighting, it brings comprehensive optimization to the entire shipbuilding industry in terms of quality, efficiency, cost, and safety.
[0145] Example 2
[0146] Corresponding to the aforementioned visualization method embodiments of the model, this disclosure also provides a visualization system for the model, such as... Figure 7 As shown, the visualization system includes:
[0147] Ship model acquisition module 1 is used to acquire a three-dimensional ship model from a preset three-dimensional design software;
[0148] Among them, the three-dimensional ship model includes several types of object models;
[0149] Object model selection module 2 is used to select several object models corresponding to electrical construction from the three-dimensional ship model;
[0150] Model simplification module 3 is used to perform geometric simplification on several object models to obtain simplified object models;
[0151] Attribute parameter selection module 4 is used to select attribute parameters corresponding to electrical construction in the simplified object model to obtain the electrical construction model;
[0152] Model display module 5 is used to visualize electrical construction models.
[0153] In one feasible solution, the model simplification module 3 is also used to delete a first preset feature of the object model;
[0154] The first preset feature includes at least one of rounded corners, pinholes, chamfers, slits, and welds;
[0155] And / or,
[0156] Remove the internal structural information of the second preset feature of the object model, while retaining the external contour information;
[0157] The second preset feature includes at least one of bolts, nuts, washers, retaining rings, hull reinforcing ribs, equipment nozzles, internal wiring channels, virtual brackets, and virtual nodes;
[0158] And / or,
[0159] The third preset feature of the object model is compressed;
[0160] The third preset feature includes at least one of repeating holes and grid array.
[0161] In a feasible solution, such as Figure 8 As shown, model display module 5 includes:
[0162] Model transmission unit 51 is used to transmit the electrical construction model to a mobile terminal device;
[0163] Model display unit 52 is used to visualize electrical construction models on mobile devices.
[0164] In one feasible embodiment, the model transfer unit 51 includes:
[0165] Model approval subunit 511 is used to perform step-by-step approval processing of electrical construction models;
[0166] The model encryption subunit 512 is used to encrypt the electrical construction model that has passed the approval process, transmit it to the mobile terminal device through the encryption channel, and store it in the preset area of the mobile terminal device.
[0167] In one feasible embodiment, the model display unit 52 includes:
[0168] Model segmentation subunit 521 is used to segment the electrical construction model on mobile devices using a tile-based algorithm;
[0169] Model display subunit 522 is used to display the segmented electrical construction model from the user's viewpoint.
[0170] In one feasible solution, the model display subunit 522 is also used to perform spatial indexing on the segmented electrical construction model based on an octree structure, removing model information outside the viewpoint corresponding to the user's viewpoint.
[0171] And / or,
[0172] The level of detail of the electrical construction model is switched based on the distance between the electrical construction model and the user's viewpoint.
[0173] In this embodiment, by selecting the object model corresponding to electrical construction from the 3D ship model, performing geometric simplification, and selecting the attribute parameters corresponding to electrical construction, lightweight compression of the 3D ship model is achieved without losing important electrical construction data. The resulting lightweight electrical construction model is easy to present and use on the equipment side, ensuring the efficiency and accuracy of construction.
[0174] For the system embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs.
[0175] Example 3
[0176] Figure 9 This is a schematic diagram of the structure of an electronic device according to an example embodiment of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, it implements the visualization method of the model described in any of the above embodiments. Figure 9 The electronic device 90 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0177] like Figure 9 As shown, the electronic device 90 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including memory 92 and processor 91).
[0178] Bus 93 includes a data bus, an address bus, and a control bus.
[0179] The memory 92 may include volatile memory, such as random access memory (RAM) 921 and / or cache memory 922, and may further include read-only memory (ROM) 923.
[0180] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) program module 924, such program module 924 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0181] The processor 91 executes various functional applications and data processing by running computer programs stored in the memory 92, such as the model visualization method provided in any of the above embodiments.
[0182] Electronic device 90 can also communicate with one or more external devices 94 (e.g., keyboard, pointing device, etc.). This communication can be performed via input / output (I / O) interface 95. Furthermore, electronic device 90 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 96. Figure 9 As shown, network adapter 96 communicates with other modules of electronic device 90 via bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0183] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0184] Example 4
[0185] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the visualization method of the model provided in any of the above embodiments.
[0186] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0187] Example 5
[0188] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the visualization method of the model described in any of the preceding claims.
[0189] The program code for executing the computer program product of this disclosure can be written in any combination of one or more programming languages, and the program code can be executed entirely on a user device, partially on a user device, as a stand-alone software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0190] While specific embodiments of this disclosure have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of this disclosure is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of this disclosure, but all such changes and modifications fall within the scope of protection of this disclosure.
Claims
1. A method for visualizing a model, characterized in that, The visualization method includes: Obtain a 3D ship model from a pre-designed 3D design software; The three-dimensional ship model includes several types of object models; Select several object models corresponding to electrical construction from the three-dimensional ship model; The object models described herein are geometrically simplified to obtain simplified object models; Select the attribute parameters corresponding to electrical construction in the simplified object model to obtain the electrical construction model; The electrical construction model is then visualized.
2. The visualization method for the model as described in claim 1, characterized in that, The step of geometrically simplifying the several object models includes: The first preset feature of the object model is deleted; The first preset feature includes at least one of rounded corners, small holes, chamfers, slits, and welds; And / or, Remove the internal structural information of the second preset feature of the object model, while retaining the external contour information; The second preset feature includes at least one of bolts, nuts, washers, retaining rings, hull reinforcing ribs, equipment nozzles, internal wiring channels, virtual brackets, and virtual nodes; And / or, The third preset feature of the object model is compressed. The third preset feature includes at least one of repeating holes and a grid array.
3. The visualization method for the model as described in claim 1, characterized in that, The steps for visualizing the electrical construction model include: Transmit the electrical construction model to a mobile device; The electrical construction model is visualized on the mobile device.
4. The visualization method for the model as described in claim 3, characterized in that, The step of transmitting the electrical construction model to the mobile device includes: The electrical construction model is subject to a step-by-step approval process. The electrical construction model that has passed the approval process is encrypted, transmitted to the mobile device through an encrypted channel, and stored in a preset area of the mobile device.
5. The visualization method for the model as described in claim 3 or 4, characterized in that, The step of visualizing the electrical construction model on the mobile device includes: On the mobile device, the electrical construction model is segmented using a tile-based algorithm; The segmented electrical construction model is displayed from the user's perspective.
6. The visualization method for the model as described in claim 5, characterized in that, The step of displaying the segmented electrical construction model from the user's perspective includes: The electrical construction model after segmentation is spatially indexed based on an octree structure, and model information outside the field of view corresponding to the user's viewpoint is removed. And / or, The level of detail of the electrical construction model is switched based on the distance between the electrical construction model and the user's viewpoint.
7. A model visualization system, characterized in that, The visualization system includes: The ship model acquisition module is used to acquire 3D ship models from preset 3D design software. The three-dimensional ship model includes several types of object models; The object model selection module is used to select several object models corresponding to electrical construction from the three-dimensional ship model; The model simplification module is used to perform geometric simplification on several of the object models to obtain simplified object models; The attribute parameter selection module is used to select the attribute parameters corresponding to electrical construction in the simplified object model to obtain the electrical construction model; The model display module is used to visualize the electrical construction model.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that, When the processor executes the computer program, it implements the visualization method of the model according to any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the visualization method of the model according to any one of claims 1-6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the visualization method of the model as described in any one of claims 1-6.
