Ship model processing method, system, equipment, medium and program product

By obtaining the basic attribute information of the ship model from Smart3D software, converting the format and displaying it on the front-end of the web, the problem of processing and displaying complex ship model in the web environment is solved, and efficient loading, rich interaction and personalized display are achieved.

CN119475600APending Publication Date: 2025-02-18SHANGHAI WAIGAOQIAO SHIP BUILDING CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411636257.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art is difficult to efficiently process and display complex marine CAD models in a Web environment, resulting in huge files, slow loading speed, lack of interactive functions and personalized display capabilities.

Method used

By obtaining the two-dimensional basic attribute information of the ship model, the initial ship file information is generated, and the format conversion is performed to generate the target ship file information, and finally display and interact in the preset web page. The specific steps include using Smart3D software to generate IGES files, using FreeCAD software to convert formats to OBJ files, and using Vue.js and Three.js to implement model display and interaction on the web front-end.

Benefits of technology

It significantly reduces the size of the model file, improves the web loading performance, provides rich interactive functions and personalized display capabilities, and enhances the readability and analytical value of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119475600A_ABST
    Figure CN119475600A_ABST
Patent Text Reader

Abstract

The invention provides a ship model processing method, system and device, a medium and a program product, and the method comprises the steps: obtaining two-dimensional basic attribute information corresponding to a ship model, and generating three-dimensional initial ship file information; performing format conversion processing on the initial ship file information to generate target ship file information of the ship model; and displaying the ship model in a preset webpage based on the target ship file information. According to the ship model processing method provided by the invention, the loading and rendering performance of the model is improved, rich interaction functions and personalized display capability are provided, and meanwhile, a complex model which can only be opened in professional CAD software originally can be smoothly viewed and operated in a common Web browser, so that the processing efficiency of the ship model is improved. And the application range and accessibility of the three-dimensional model are greatly expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention discloses the field of ship design technology, and in particular relates to a ship model processing method, system, device, medium and program product. Background Art

[0002] With the widespread application of computer-aided design (such as CAD, an image processing software) technology, 3D models are playing an increasingly important role in engineering design, product display and other fields. However, it is difficult to apply these complex CAD models, especially the models output by Smart3D (a 3D processing software), to the Web environment. First of all, traditional CAD file formats (such as IGES, a file format) usually contain a lot of detailed information, resulting in large file sizes that are not suitable for direct transmission and use in a network environment. A typical IGES model of a ship component may reach hundreds of MB (megabytes), which seriously affects the loading speed of the Web page.

[0003] Secondly, existing Web 3D model display solutions often lack effective interactive functions and cannot meet users' needs for dynamic viewing and operation of models. Most simple rendering solutions based on WebGL (Web Graphics Library, a 3D drawing protocol) can only provide basic rotation and scaling functions, making it difficult to implement complex model analysis and operation.

[0004] In addition, when a large number of models need to be processed and displayed (such as thousands of parts in ship design), the existing technology lacks an efficient batch processing method, resulting in long processing time and high labor costs. At the same time, personalized display needs are difficult to meet, and the display effect of the model cannot be flexibly adjusted according to different display needs. Summary of the invention

[0005] The technical problem to be solved by the present disclosure is to overcome the defects in the prior art and to provide a method, system, device, medium and program product for processing a ship model.

[0006] The present invention solves the above technical problems through the following technical solutions:

[0007] According to a first aspect of the present disclosure, a method for processing a ship model is provided, the processing method comprising:

[0008] Obtain the two-dimensional basic attribute information corresponding to the ship model and generate three-dimensional initial ship file information;

[0009] Performing format conversion processing on the initial ship file information to generate target ship file information of the ship model;

[0010] Based on the target ship file information, the ship model is displayed in a preset web page.

[0012] Preferably, the initial ship file information is file information in IGES format;

[0013] The step of obtaining basic attribute information corresponding to the ship model and generating initial ship file information includes:

[0014] The basic attribute information corresponding to the ship model is obtained based on Smart3D software, and the initial ship file information is generated.

[0015] Preferably, the target ship file information is file information in OBJ format;

[0016] The step of converting the format of the initial ship file information to generate target ship file information includes:

[0017] Obtaining the initial ship document information;

[0018] The initial ship file information is input into a preset software to generate the target ship file information corresponding to the initial ship file information.

[0019] Preferably, the preset software is FreeCAD software;

[0020] and / or,

[0021] After the step of generating the target ship file information of the ship model, the processing method further includes:

[0022] The initial ship file information and the target ship file information are stored in a target storage unit.

[0023] Preferably, after the step of displaying the ship model in a preset webpage based on the target ship file information, the processing method further comprises:

[0024] Based on preset modification conditions, the ship model is modified on the preset webpage.

[0025] Preferably, after the step of modifying the ship model on the preset webpage, the processing method further comprises:

[0026] Generate ship modification information;

[0027] And record the ship modification information into the log recording unit.

[0028] According to a second aspect of the present disclosure, a ship model processing system is provided, the processing system comprising:

[0029] The ship information acquisition module is used to obtain the two-dimensional basic attribute information corresponding to the ship model and generate three-dimensional initial ship file information;

[0030] A file format conversion module, used for performing format conversion processing on the initial ship file information to generate target ship file information of the ship model;

[0031] The information display module is used to display the ship model in a preset web page based on the target ship file information.

[0032] Preferably, the initial ship file information is file information in IGES format;

[0033] The ship information acquisition module is used for:

[0034] Based on Smart3D software, basic attribute information corresponding to the ship model is obtained, and initial ship file information is generated.

[0035] Preferably, the target ship file information is file information in OBJ format;

[0036] The file format conversion module is used to obtain the initial ship file information;

[0037] The initial ship file information is input into a preset software to generate the target ship file information corresponding to the initial ship file information.

[0038] Preferably, the preset software is FreeCAD software;

[0039] and / or,

[0040] The processing system further comprises an information storage unit, and the information storage unit is used to store the initial ship file information and the target ship file information in a target storage unit.

[0041] Preferably, the processing system further comprises a ship modification module, and the ship modification module is used for modifying the ship model on the preset web page based on preset modification conditions after the ship model is displayed on the preset web page based on the target ship file information.

[0042] Preferably, the processing system further comprises a recording module, wherein the recording module is used to generate ship modification information after the ship model is modified on the preset webpage; and record the ship modification information into a log recording unit.

[0043] According to a third aspect of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein when the processor executes the computer program, the method for processing the ship model described in the first aspect of the present disclosure is implemented.

[0044] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for processing a ship model described in the first aspect of the present disclosure is implemented.

[0045] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method for processing a ship model according to the first aspect of the present disclosure is implemented.

[0046] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.

[0047] The positive and progressive effects of this disclosure are:

[0048] In the ship model processing method provided by the present disclosure, the volume of the ship model file is greatly reduced through efficient model lightweight processing, and the loading performance of the preset web page (such as a web page) is significantly improved; secondly, based on the rich interactive functions that can be achieved based on the preset web page, the user can smoothly rotate, zoom and translate the model; finally, the flexible personalized display function of the preset web page allows the user to quickly adjust the model display effect according to needs, which greatly enhances the readability and analysis value of the ship model. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic flow chart of a method for processing a ship model provided in Embodiment 1 of the present disclosure;

[0050] Figure 2 This is a flowchart of the format conversion provided in Embodiment 1 of the present disclosure;

[0051] Figure 3 This is a schematic diagram of the structure of the front-end viewer provided in Embodiment 1 of the present disclosure;

[0052] Figure 4 This is a flow chart of a specific implementation of the ship processing method provided in Example 1 of the present disclosure;

[0053] Figure 5 This is a schematic diagram of the structure of a ship model processing system provided in Embodiment 2 of the present disclosure;

[0054] Figure 6 This is a schematic diagram of the structure of the electronic device provided in Embodiment 3 of the present disclosure. DETAILED DESCRIPTION

[0055] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.

[0056] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.

[0057] Example 1

[0058] Figure 1 A schematic diagram of a process flow of a ship model processing method provided in Embodiment 1 of the present disclosure is shown as follows: Figure 1 As shown, this embodiment provides a method for processing a ship model, and the processing method includes:

[0059] S11: Acquire two-dimensional basic attribute information corresponding to the ship model, and generate three-dimensional initial ship file information.

[0060] In this embodiment, basic attribute information corresponding to the ship model is obtained based on Smart3D software, and initial ship file information is generated.

[0061] The initial ship file information in this embodiment is file information in IGES format.

[0062] S12: Performing format conversion processing on the initial ship file information to generate target ship file information of the ship model.

[0063] The target ship file information in this embodiment is file information in OBJ format.

[0064] like Figure 2 As shown, the steps of converting the format of the initial ship file information to generate the target ship file information specifically include:

[0065] S21: Obtain initial ship document information.

[0066] S22: Inputting the initial ship file information into a preset software to generate target ship file information corresponding to the initial ship file information.

[0067] Among them, the preset software in this embodiment is FreeCAD software.

[0068] In one embodiment, an automated process is based on FreeCAD, an open source parametric 3D modeling and CAD (computer-aided design) software. The process uses FreeCAD's Python API ((Application Programming Interface) is an interface provided by software components written in Python) to achieve programmatic control of FreeCAD through custom scripts.

[0069] The processing includes importing the IGES file generated by Smart3D, generating model clones, scaling and recalculating the model, converting the solid model into a mesh model, and finally exporting it to a Web-friendly OBJ format. This process not only greatly reduces the size of the model file, but also retains the key geometric information of the ship model, laying the foundation for efficient loading and rendering on the Web side (web page).

[0070] After the step of generating the target ship file information of the ship model, the processing method further comprises: storing the initial ship file information and the target ship file information in a target storage unit.

[0071] In one implementation manner, the target storage unit in this embodiment is a MySQL database. Of course, the database in this embodiment is not limited to the MySQL database, and other databases capable of storing information are within the protection scope of this disclosure.

[0072] The information is saved by using a database, which mainly contains three key tables: a data table for storing the original IGES model information, including the model's unique identifier and file path; a data table for storing the processed OBJ model information, including the model identifier, OBJ file path, and processing timestamp; a data table for recording model attribute information, including the model identifier and other attribute information. This database-based management method not only improves data security and consistency, but also makes it possible to efficiently retrieve and manage large-scale models.

[0073] S13: Based on the target ship file information, the ship model is displayed in a preset web page.

[0074] In one implementation, the preset web page is a Web front end (web page front end).

[0075] like Figure 3In the embodiment shown, a highly interactive 3D model viewer is developed based on the Vue.js framework and the Three.js library. The viewer supports dynamic loading, rendering and various interactive operations (such as rotation, scaling, translation, etc.) of the model. By implementing functions such as model grouping, color control, and texture switching, a flexible model display and analysis tool is provided for the user. At the same time, an intuitive GUI (Graphical User Interface) control panel is developed, which enables the user to easily adjust the display effect of the model, such as switching different texture information, controlling the visibility of the model group, etc.

[0076] After the step of displaying the target ship file information in the target storage unit via a preset web page, the processing method further includes:

[0077] Based on the preset modification conditions, the ship model is modified on the preset web page.

[0078] After the ship model is modified on the preset webpage, ship modification information is generated; and the ship modification information is recorded in a log recording unit.

[0079] In addition, in the Web front end, asynchronous loading and progressive rendering are used to optimize the model processing process, and WebWorker (multi-threading technology) is used for complex calculations to avoid blocking the main thread, and dynamic loading and unloading of models based on the view range are realized, thereby ensuring the system's response speed and smoothness when processing a large number of models. At the same time, the Web front end also implements the automatic centering and scaling functions of the model to ensure the best display effect of the model in the view.

[0080] In this embodiment, efficient model lightweight processing is used to greatly reduce the size of the model file and significantly improve the Web loading performance. For example, in the test, a 484KB IGES file can be compressed to 197KB. Under standard LAN conditions, the Web loading speed of the model is significantly improved.

[0081] The rich interactive functions implemented based on Three.js in this embodiment enable users to smoothly rotate, zoom, and translate the model, and the response time is less than 50ms, achieving a real-time interactive experience.

[0082] The automated batch processing capability in this embodiment greatly improves work efficiency. For example, in a test, the time for processing more than 1,000 IGES models was shortened from several hours of manual operation to less than 10 minutes of automated processing.

[0083] The flexible personalized display function of the Web front end in this embodiment allows users to quickly adjust the model display effect according to their needs, greatly enhancing the readability and analysis value of the model.

[0084] The following is a specific implementation method to illustrate the implementation principle of the ship model processing method in the embodiment of the present disclosure:

[0085] First, the implementation of this disclosure recommends installing FreeCAD 0.19.2 version for model processing, Python 3.8.5 environment for running automation scripts, Node.js v14.15.0 for front-end development, MySQL 8.0 or higher for data management, and Nginx 1.19.3 as a web server. In the Python environment, you need to install the mysql-connector-python library for database connection, the Pillow library for image processing, and the numpy library for numerical calculations. In the database setting, a project database is included, and three main tables are created in it. The first table is used to store the original IGES model information, including the Oid (model unique identifier) ​​and IgsPath (IGES file path) fields. The second table is used to store the processed OBJ model information, including the Oid, ObjPath (OBJ file path) and TimeStamp (processing timestamp) fields. The third table is used to store all required model data information, including the Oid field.

[0086] The specific technical solution of the present invention can be divided into the following main steps, as follows: Figure 4 As shown:

[0087] S41: Develop model processing scripts to read database models and perform lightweight and format conversion in FreeCAD.

[0088] The model processing script is a Python-based script. The script is responsible for connecting to the MySQL database, reading the model information to be processed from the IGES model data table, calling the FreeCAD command line to perform model conversion, and updating the processing results to the OBJ model information data table. The FreeCAD execution script is responsible for the specific model processing process, including importing the IGES file generated by Smart3D, generating model clones, performing model scaling and recalculation, converting the solid model to a mesh model, and finally exporting it to OBJ format.

[0089] S42: By executing the main script, the database connection and model lightweight and format conversion process is completed in one click, and the conversion results are recorded at the same time.

[0090] Among them, by running the FreeCAD execution script, the script will automatically connect to the database, obtain the list of models to be processed, and then execute the processing flow for each model. The specific process includes generating a temporary FreeCAD processing script, calling FreeCAD to perform model conversion, checking whether the OBJ file generation is successful, and updating the processing results to the database. During the whole process, the script will also record detailed processing logs, including success and failure.

[0091] S43: Involves the Web front-end page, integrating ThreeJS to display lightweight models and realize optimized model loading, rendering and interactive control functions.

[0092] The Vue.js framework was used to initialize the project, the ModelViewer component was developed, and Three.js was integrated to implement 3D rendering. Model loading, rendering, and interactive control functions were implemented, including rotation, scaling, translation, etc. A GUI control panel was developed to provide model operation and display adjustment functions. Model grouping management and dynamic loading / unloading mechanisms were implemented to optimize the display effects of a large number of models.

[0093] S44: Comprehensively optimize the performance of Web applications to speed up model loading and rendering.

[0094] Among them, comprehensive performance optimization of Web applications is carried out, including implementing asynchronous loading and progressive rendering of models, using WebWorker to handle complex computing tasks, implementing dynamic loading and unloading of models based on view range, and optimizing rendering loops to improve frame rate.

[0095] S45: Build the production version of the Vue.js project, configure the Nginx server, and perform comprehensive functional and performance testing.

[0096] Specifically, we build the production version of the Vue.js project, configure the Nginx server, set appropriate routing and resource access rules to ensure that the server can access the model file storage directory, and configure database connection parameters. We also conduct comprehensive functional and performance tests to ensure that the system can run stably under various conditions.

[0097] S46: Implement system logging mechanism to track model processing and loading status and continuously optimize user experience.

[0098] By monitoring and maintaining the ship model processing process, we implement a system log recording mechanism to track model processing and loading, and regularly back up databases and model files, monitor system performance, and handle abnormal situations in a timely manner. We continuously optimize and update the system based on user feedback to provide a better user experience.

[0099] The present invention provides an efficient Smart3D three-dimensional model lightweight and Web display solution. By combining FreeCAD's automated processing, database data management, Vue.js and Three.js front-end implementation, it successfully solves the display and interaction problems of large CAD models in the Web environment. It not only significantly improves the model loading and rendering performance, but also provides rich interactive functions and personalized display capabilities. In addition, the design of this solution provides a good foundation for future functional expansion and optimization.

[0100] The ship model processing method provided by the present disclosure is suitable for application scenarios where a large number of complex three-dimensional models need to be displayed and interacted in a Web environment, such as online product display, engineering design collaboration, education and training, etc. Users can smoothly view and operate complex models that can only be opened in professional CAD software in ordinary Web browsers, which greatly expands the application scope and accessibility of three-dimensional models.

[0101] Example 2

[0102] Corresponding to the aforementioned embodiment of the method for processing a ship model, the present disclosure also provides an embodiment of a system for processing a ship model.

[0103] like Figure 5 As shown, the processing system includes:

[0104] The ship information acquisition module 100 is used to acquire the two-dimensional basic attribute information corresponding to the ship model and generate three-dimensional initial ship file information;

[0105] The file format conversion module 200 is used to perform format conversion processing on the initial ship file information to generate target ship file information of the ship model;

[0106] The information display module 300 is used to display the ship model in a preset web page based on the target ship file information.

[0107] The initial ship file information in this embodiment is file information in IGES format;

[0108] The ship information acquisition module is used to obtain the basic attribute information corresponding to the ship model based on Smart3D software and generate initial ship file information.

[0109] The target ship file information in this embodiment is file information in OBJ format;

[0110] The file format conversion module is used to obtain the initial ship file information;

[0111] The initial ship file information is input into the preset software to generate target ship file information corresponding to the initial ship file information.

[0112] The preset software in this embodiment is FreeCAD software.

[0113] The processing system in this embodiment further includes an information storage unit 400, which is used to store the initial ship file information and the target ship file information in a target storage unit.

[0114] like Figure 5 As shown, the processing system in this embodiment also includes a ship modification module 500, which is used to modify the ship model on the preset web page based on preset modification conditions after displaying the ship model on the preset web page based on the target ship file information.

[0115] like Figure 5 As shown, the processing system in this embodiment further includes a recording module 600, which is used to generate ship modification information after the ship model is modified on a preset web page; and record the ship modification information to a log recording unit.

[0116] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, in which the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution.

[0117] In the ship model processing system provided by the present invention, the size of the ship model file is greatly reduced through efficient model lightweight processing, and the loading performance of the preset web page (such as a web page) is significantly improved; secondly, the rich interactive functions that can be achieved based on the preset web page enable the user to smoothly rotate, zoom and translate the model; finally, the flexible personalized display function of the preset web page allows the user to quickly adjust the model display effect according to needs, which greatly enhances the readability and analysis value of the ship model.

[0118] Example 3

[0119] Figure 6 The present invention is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the method in the above embodiment is implemented when the processor executes the program. Figure 6 The electronic device 30 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0120] like Figure 6 As shown, the electronic device 30 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).

[0121] The bus 33 includes a data bus, an address bus, and a control bus.

[0122] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read-only memory (ROM) 323 .

[0123] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0124] The processor 31 executes various functional applications and data processing by running the computer programs stored in the memory 32, such as the method in the above-mentioned embodiment of the present disclosure.

[0125] The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the model generating device 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. Figure 6 As shown, the network adapter 36 communicates with other modules of the model-generated device 30 via the bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated device 30, 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, etc.

[0126] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present 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 into multiple units / modules to be embodied.

[0127] Example 4

[0128] The embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method provided in the above embodiment 1 is implemented.

[0129] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0130] Example 5

[0131] The embodiment of the present disclosure also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the method provided in the above embodiment 1 is implemented.

[0132] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0133] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.

Claims

1. A method for processing a ship model, characterized in that: The processing method comprises: Obtain the two-dimensional basic attribute information corresponding to the ship model and generate three-dimensional initial ship file information; Performing format conversion processing on the initial ship file information to generate target ship file information of the ship model; Based on the target ship file information, the ship model is displayed in a preset web page.

2. The method for processing a ship model according to claim 1, characterized in that: The initial ship file information is file information in IGES format; The step of obtaining basic attribute information corresponding to the ship model and generating initial ship file information includes: The basic attribute information corresponding to the ship model is obtained based on Smart3D software, and the initial ship file information is generated.

3. The method for processing a ship model according to claim 2, characterized in that: The target ship file information is file information in OBJ format; The step of converting the format of the initial ship file information to generate target ship file information includes: Obtaining the initial ship document information; The initial ship file information is input into a preset software to generate the target ship file information corresponding to the initial ship file information.

4. The method for processing a ship model according to claim 3, characterized in that: The preset software is FreeCAD software; and / or, After the step of generating the target ship file information of the ship model, the processing method further includes: The initial ship file information and the target ship file information are stored in a target storage unit.

5. The method for processing a ship model according to claim 1, characterized in that: After the step of displaying the ship model in a preset webpage based on the target ship file information, the processing method further includes: Based on preset modification conditions, the ship model is modified on the preset webpage.

6. The method for processing a ship model according to claim 5, characterized in that: After the step of modifying the ship model on the preset webpage, the processing method further includes: Generate ship modification information; And record the ship modification information into the log recording unit.

7. A ship model processing system, characterized in that: The processing system comprises: The ship information acquisition module is used to obtain the two-dimensional basic attribute information corresponding to the ship model and generate three-dimensional initial ship file information; A file format conversion module, used for performing format conversion processing on the initial ship file information to generate target ship file information of the ship model; The information display module is used to display the ship model in a preset web page based on the target ship file information.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the method for processing the ship model according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for processing a ship model according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for processing a ship model according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • WebGL-based tunnel live-action three-dimensional detection method

    CN115238342A

  • Method for lightweight rendering display of CAD model on webpage based on Open Cascade

    CN115659445A

  • Cigarette packaging design 3D display model system and method

    CN117744184A