3D model online display method and device, electronic equipment and storage medium
By obtaining the basic model and parameter table of the 3D model and modifying and displaying the 3D model online according to the parameters entered by the user, the pressure of storage space and computing resources during the display of 3D models and the inconsistent cross-platform display effects are solved, and a fast, unified and efficient 3D model display is achieved.
Patent Information
- Application Number
- CN202411372035.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-03-28
AI Technical Summary
In online malls and display platforms, 3D model display requires saving multiple versions of the model to adapt to the display of different materials, colors and sizes, which leads to huge pressure on storage space and computing resources. At the same time, different devices and browsers support different levels of 3D graphics rendering, resulting in inconsistent display effects and requires multiple adjustments and optimization of the model.
By obtaining the basic model and parameter table of the 3D model, display the parameter table on the page and modify the basic model according to the parameters entered by the user, generate and display the modified 3D model, reduce the use of background storage space and achieve a unified cross-platform display effect.
It realizes the model modeling and display effect of 3D models quickly displayed online according to different needs, reducing the use of storage space and computing resources, ensuring the best results on various terminals, and reducing development complexity and workload.
Smart Images

Figure CN119722917A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of 3D models, and in particular to a method and device for online display of 3D models, an electronic device and a storage medium. Background Art
[0002] With the increase in the variety of industrial parts and components and the growth in customization needs, in online shopping malls, platform e-commerce and online display platforms, each part requires multiple versions of 3D models to display different materials, colors, sizes and other attributes. Therefore, the display background must save or cache 3D models of different shapes, occupying storage space and computing resources, which puts huge pressure on the computing resources of the server during peak hours, affecting page loading speed and user experience. In addition, due to the different support levels of 3D graphics rendering for different devices and browsers, the display effect varies from platform to platform. In order to ensure the best effect on various terminals, developers need to adjust and optimize the 3D model multiple times, which increases the workload and complexity. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to propose a 3D model online display method and device, electronic device and storage medium, aiming to quickly display the model shape and display effect of the 3D model online according to different needs.
[0004] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a 3D model online display method, the method comprising:
[0005] Obtaining a basic model of a 3D model and a parameter table of the basic model;
[0006] Display the parameter table on the page, and obtain input parameters corresponding to the parameter table;
[0007] Modify the basic model according to the input parameters to generate a modified 3D model;
[0008] The modified 3D model is displayed on the page.
[0009] In some embodiments, the input parameters include material, color, size, function, and performance.
[0010] In some embodiments, the method further comprises:
[0011] Obtaining initial parameters of the parameter table;
[0012] Initialize the basic model based on the initial parameters to generate an initial 3D model;
[0013] The initial 3D model is displayed on the page.
[0014] In some embodiments, the step of modifying the basic model according to the input parameters to generate a modified 3D model specifically includes:
[0015] It is determined that the input parameter is within a preset parameter range, and the basic model is modified according to the input parameter to generate a modified 3D model.
[0016] In some embodiments, the method further comprises:
[0017] Obtaining historical modification parameters of the parameter table;
[0018] Modify the basic model according to the historical modification parameters to generate a historical 3D model;
[0019] The historical 3D model is displayed on the page.
[0020] In some embodiments, the method further comprises:
[0021] Obtaining a selected component of the 3D model selected on the page;
[0022] According to the serial number of the selected component, obtaining the coordinates of the input parameter corresponding to the selected component on the page;
[0023] The input parameter is highlighted according to the coordinates.
[0024] In some embodiments, the method further comprises:
[0025] A model export instruction and a model export format are obtained, and the 3D model is output according to the model export format.
[0026] In some embodiments, the method further comprises:
[0027] Obtain parameter export instructions and output input parameters of the 3D model.
[0028] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application proposes a 3D model online display device, the device comprising:
[0029] A model acquisition module, used to acquire a basic model of a 3D model and a parameter table of the basic model;
[0030] A parameter display module is used to display the parameter table on the page and obtain the input parameters corresponding to the parameter table;
[0031] A model modification module, used to modify the basic model according to the input parameters to generate a modified 3D model;
[0032] A model display module is used to display the modified 3D model on the page.
[0033] To achieve the above-mentioned purpose, a third aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned 3D model online display method when executing the computer program.
[0034] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned 3D model online display method is implemented.
[0035] The 3D model online display method and device, electronic device and storage medium proposed in the present application obtain input parameters input into the cloud server, modify the attribute parameters corresponding to the basic model in real time, generate a modified 3D model, and display the modified 3D model on the page, thereby reducing the occupation of background storage space by derived models of the same basic model, and solving the problem that the 3D model display often needs to be adjusted multiple times according to different platforms and requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a flow chart of a 3D model online display method provided in an embodiment of the present application;
[0037] Figure 2 It is an interaction diagram of a 3D model cloud server and a networked device provided in an embodiment of the present application;
[0038] Figure 3 It is a structural schematic diagram of a 3D model online display device provided in an embodiment of the present application;
[0039] Figure 4 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0041] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0043] First, some nouns involved in this application are analyzed:
[0044] 3D model: A 3D model is a model with three-dimensional data that is constructed in a virtual three-dimensional space using three-dimensional software. It is usually used in fields such as three-dimensional printing, computer graphics, movies, television, video games, and virtual reality. These models define the shape, size, position, and surface characteristics of objects in a three-dimensional coordinate system through a series of geometric elements such as points, lines, and surfaces; 3D models can represent objects or scenes in the real world in great detail, including their shape, texture, color, light and shadow effects, etc. They can be created using various 3D modeling software, such as Blender, 3ds Max, Maya, Cinema 4D, SketchUp, etc. The process of creating a 3D model usually involves steps such as design, modeling, texture mapping, lighting, and rendering.
[0045] Cloud Server: A cloud server is a virtual server based on cloud computing technology that users can access and use through the Internet. Through virtualization technology, cloud servers divide the resources of physical servers (such as CPU, memory, storage, etc.) and allocate them to users on demand. This technology enables users to use computing resources flexibly and efficiently without having to worry about the maintenance and management of physical servers.
[0046] Basic model: In online shopping malls, platform e-commerce and online display platforms that sell parts in the industrial field, the basic model (also called base model or basic model) refers to the initial, standardized or universal three-dimensional (3D) digital representation of a part. This model contains the basic shape, structure and some initial attribute parameters of the part, but does not include all possible configuration changes (such as different materials, colors, sizes, etc.). The basic model is the basis for subsequent parametric design and customization. By adjusting the parametric variable attribute parameters in the basic model, 3D models with different configurations and appearances can be generated to meet the needs of different customers. This parametric design method can greatly reduce the storage space and computing resources occupied, because only one basic model and its parametric variables need to be saved, rather than multiple static, fixed-configuration models. In the process of industrial design and manufacturing, the basic model is usually created by professional CAD (computer-aided design) software and can be exported to a 3D model format suitable for network transmission and display. In the online shopping mall or display platform, users can interact with the basic model through the interface, adjust the parameters to view the effects of parts with different configurations, and finally choose the products that meet their needs for purchase.
[0047] Parameter table: In online shopping malls, platform e-commerce and online display platforms that sell parts in the industrial field, the parameter table of the basic model usually includes geometric dimension parameters, material characteristic parameters, color and texture parameters, assembly and positioning parameters and performance parameters. Among them, the geometric dimension parameters describe the basic dimension information of the parts such as length, width, height, diameter, radius, etc., which determine the size of the external contour and internal structure of the parts; the material characteristic parameters include the physical properties of the parts such as material, density, elastic modulus, Poisson's ratio, etc., which have an important influence on the mechanical properties, durability, weight, etc. of the parts; the color and texture parameters are used to define the visual effects such as the appearance color and surface texture of the parts, and these parameters can be adjusted according to the personalized needs of customers; the assembly and positioning parameters describe the requirements of the position, direction, clearance, etc. of the parts during the assembly process, which are crucial to ensure the correct fit and overall performance between the parts; the performance parameters include the functional indicators such as the load-bearing capacity, working temperature range, wear resistance, corrosion resistance, etc. of the parts, which reflect the performance of the parts under specific conditions of use.
[0048] In online shopping malls, platform e-commerce and online display platforms for selling parts in the industrial field, 3D models have become a key element to improve user experience and promote sales. However, the current display technology still has some significant defects and shortcomings in practical applications. The traditional method requires the display background to save or cache a variety of 3D models of different shapes to meet the diverse viewing needs of users. This "one-size-fits-all" storage method leads to huge storage space consumption, especially when there are many types of models and complex shapes. At the same time, the frequent model loading and rendering process also puts a heavy pressure on the server's computing resources, affecting the response speed and stability of the system. At the same time, since the 3D model is pre-made and statically stored, it often needs to be adjusted multiple times according to different platforms and device characteristics when it is displayed. This not only increases the complexity of technical implementation, but also leads to differences in display effects between different platforms, affecting the consistency of user experience. In addition, with the changes in market demand and the continuous launch of new products, frequent updates and adjustments to models have also become a time-consuming and labor-intensive task.
[0049] Based on this, the embodiment of the present application provides a method for online display of 3D models, which aims to achieve the goals of simplification, customization, optimization of storage and computing resource utilization, and cross-platform display of model production and display through the innovative control mechanism of parameter table, bringing revolutionary changes to the online sales and display of parts in the industrial field.
[0050] The 3D model online display method provided in the embodiment of the present application relates to the field of 3D model technology. The 3D model online display method provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or it can be configured as a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can realize the application of the 3D model online display method, etc., but is not limited to the above forms.
[0051] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0052] It should be noted that in each specific implementation of the present application, when it is necessary to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0053] Figure 1 is an optional flow chart of the 3D model online display method provided in the embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S104.
[0054] Step S101, obtaining a basic model of a 3D model and a parameter table of the basic model;
[0055] Step S102, displaying the parameter table on the page, and obtaining input parameters corresponding to the parameter table;
[0056] Step S103, modifying the basic model according to the input parameters to generate a modified 3D model;
[0057] Step S104: displaying the modified 3D model on the page.
[0058] In steps S101 to S104 shown in the embodiment of the present application, a modeling tool is entered on a web interface page through a networked device, and a basic model is established based on components of the same type; at the same time, a parameter table corresponding to the basic model is constructed using the networked device, and the parameter table is uploaded to the web platform; the web platform displays the properties corresponding to the parameter table and the shape of the 3D model; the user can manually modify different configuration parameters, and the web end will re-display the shape according to the modified configuration parameters in the parameter table.
[0059] Specifically, the cloud server first needs to load a predefined 3D model as the basic model, which is the basis for all subsequent modifications and displays. At the same time, the system also needs to obtain the parameter table associated with this basic model. The parameter table contains the parameters that can be adjusted or configured, their ranges, default values, and other information. These parameters will be used to control the appearance, size, material, and other properties of the 3D model. Then the parameter table will be displayed on the user interface so that users can intuitively see which parameters can be adjusted. Users can modify the parameter values in the parameter table by inputting, selecting, or dragging sliders according to their needs. The system needs to capture these user-entered parameter values in real time so that they can be used to modify the basic model later. After obtaining the parameter values entered by the user, the cloud server will dynamically modify the basic model according to these parameter values, perform 3D graphics processing and rendering, recalculate the model's geometry, material mapping, lighting effects, etc. according to the new parameter values, and generate a modified 3D model that meets user needs. Finally, the cloud server will render the modified 3D model in real time and display it on the user interface. Users can see the 3D model effect obtained by adjusting the parameter table and continue to adjust the parameters or perform other operations as needed. This instant feedback mechanism greatly improves the user experience and enables users to more intuitively feel the impact of different parameter settings on the 3D model.
[0060] In some embodiments, the input parameters include material, color, size, function and performance.
[0061] Specifically, material parameters are used to define the surface texture of a 3D model, such as metal, plastic, wood, glass, etc. Different materials will affect the visual effects and physical properties of the model. Users can change the appearance of the model by selecting or entering specific material parameters to make it more in line with actual needs or design concepts. Color parameters are used to adjust the color or texture of a 3D model. Users can select a preset color scheme or enter a specific color value through a color picker. Changes in color parameters will directly affect the visual appeal of the model, making it more colorful. Size parameters are used to control the size and proportion of a 3D model. Users can adjust the size of the model by entering a specific size value or selecting a preset size ratio. Changes in size parameters will affect the physical size and visual effects of the model, making it adaptable to different application scenarios or display requirements. Functional parameters refer to the functional characteristics of the actual parts or products represented by the 3D model. Although these functional characteristics are usually not directly displayed through the 3D model, users can select or enter specific functional parameters to filter or customize models with specific functions. Performance parameters are used to describe the performance of the product represented by the 3D model in actual use. These parameters include load-bearing capacity, wear resistance, corrosion resistance, operating temperature range, etc.
[0062] In some embodiments, the method further comprises:
[0063] Obtaining initial parameters of the parameter table;
[0064] Initialize the basic model based on the initial parameters to generate an initial 3D model;
[0065] The initial 3D model is displayed on the page.
[0066] Specifically, on the initial display page, the cloud server needs to obtain the initial parameter values of the parameter table from the database, configuration file or server side. These initial parameter values define the default state of the basic model before the user adjusts it, including the default settings of material, color, size, function and performance. Then, the cloud server will use the obtained initial parameter values to initialize the basic model, that is, adjust the various properties of the model according to these parameter values to generate an initial 3D model that meets the initial parameter settings. This initial 3D model will be used as the starting point before the user customizes the adjustment and is displayed to the user on the page. Finally, the system will render and display the generated initial 3D model on the user interface. The user can see the model effect based on the initial parameter settings of the parameter table, and use it as a reference for subsequent parameter adjustments and model customization. By initializing the displayed 3D model, the user can see an initial 3D model with default settings from the beginning, and gradually adjust the parameters according to their needs until a satisfactory display effect is obtained. This method not only improves the user's operating convenience, but also enhances the system's usability and user experience.
[0067] In some embodiments, the step of modifying the basic model according to the input parameters to generate a modified 3D model specifically includes:
[0068] It is determined that the input parameter is within a preset parameter range, and the basic model is modified according to the input parameter to generate a modified 3D model.
[0069] Specifically, in order to ensure that the parameter values entered by the user are reasonable and acceptable, so as to avoid generating invalid or unexpected 3D models, the parameter values entered by the user need to be verified. After obtaining the parameters entered by the user, the cloud server will first verify these parameters to determine that they are within the preset parameter range. The preset parameter range is set in advance based on factors such as the physical limitations, design standards, material properties, and actual application requirements of the model. This range defines the minimum, maximum, or other acceptable restrictions for each parameter. If the input parameters pass the verification, that is, they are all within the preset parameter range, the system will proceed to the next step and generate and render the display 3D model based on the same process.
[0070] In some embodiments, the method further comprises:
[0071] Obtaining historical modification parameters of the parameter table;
[0072] Modify the basic model according to the historical modification parameters to generate a historical 3D model;
[0073] The historical 3D model is displayed on the page.
[0074] Specifically, in order to improve the user experience and enhance the traceability of the model, the cloud server allows users to view previous modifications to the model and restore it to a previous state. The cloud server will record and store every modification made by the user to the parameter table. This is achieved by maintaining a history record table on the server side. The table records the timestamp of each modification, the parameter value before the modification, the parameter value after the modification, and other possible related information. When the user requests to view the historical modification, the cloud server will retrieve the corresponding historical modification parameters from the table. Once the historical modification parameters are obtained, the cloud server can modify the basic model according to these parameters to generate a 3D model of the corresponding historical state. This process is similar to the process of modifying the model according to the user's current input parameters, but uses historical parameter values. The cloud server will display the historical 3D model selected by the user on the user interface, and the user can view the corresponding 3D model by clicking or selecting a specific historical record.
[0075] In some embodiments, the method further comprises:
[0076] Obtaining a selected component of the 3D model selected on the page;
[0077] According to the serial number of the selected component, obtaining the coordinates of the input parameter corresponding to the selected component on the page;
[0078] The input parameter is highlighted according to the coordinates.
[0079] Specifically, in order to improve the intuitiveness and convenience of user interaction, the cloud server also allows users to directly operate or view parameters related to the selected parts on the page without searching in a complex parameter table. Users can select specific parts in the 3D model on the page by clicking the mouse, touching or other interactive methods. The cloud server will recognize the user's operation and determine the selected parts. Each part has a unique number or identifier in the system to distinguish different parts. The cloud service also maintains a mapping relationship in the early stage to associate the part number with the coordinate position of its corresponding input parameter on the page. When a user selects a part, the system can find the coordinates of the corresponding input parameter on the page by querying the mapping relationship based on the number of the part. Once the coordinate position of the input parameter is obtained, the cloud server will highlight these parameters by modifying the style of the page elements. In this way, users can immediately see the parameters related to the selected part, making it more convenient to adjust or view the parameters.
[0080] In some embodiments, the method further comprises:
[0081] A model export instruction and a model export format are obtained, and the 3D model is output according to the model export format.
[0082] Specifically, in order to meet the needs of users to export designed 3D models to other software or platforms for further processing or display, the cloud server can also select a specific export format based on the user, and output the 3D model on the current page in this format. Users can trigger model export instructions through buttons, menus or other interactive elements on the page. Before exporting the model, a format selection list will pop up on the page for the user. The list contains a variety of export formats supported by the system, such as STL, OBJ, FBX, DAE, etc. Users can select one or more formats from the list as export targets. Once the model export instruction and export format are obtained, the system will start the export operation and generate the corresponding files. After the export is completed, the system will provide the generated file to the user, and the user can choose the location and name to save the file as needed.
[0083] In some embodiments, the method further comprises:
[0084] Obtain parameter export instructions and output input parameters of the 3D model.
[0085] Specifically, in order to meet the needs of users to export the input parameters of the 3D model for recording, analysis, or re-creating the same or similar model in other environments, the cloud server can export all the input parameters of the current 3D model. Users can trigger the parameter export command through buttons, menus, or other interactive elements on the page. The cloud service will organize and prepare all the input parameters of the current 3D model, which may include size, color, material, texture, position, rotation angle, scaling, etc., and export them in the form of text files, configuration files, interface displays, API interfaces, etc. The text file form is to save the parameters in a text file in a format such as CSV, TXT, or JSON, and users can view and edit these files in any text editor; the configuration file form is to save the parameters in a configuration file format; the interface display is to display all parameters directly on the user interface and allow users to copy and paste them elsewhere; the API interface is to provide a link that allows external programs to obtain parameters through HTTP requests and other methods.
[0086] Reference Figure 2 The embodiment of the present application also provides an interaction step between a cloud server and a networked terminal. First, the cloud server will use a 3D modeling tool and a cloud interface to display the 3D model based on the model's parameter table and basic model. The user needs to manually modify different configuration parameters on the networked terminal, and the cloud server will regenerate the 3D model display based on the configuration parameters.
[0087] See also Figure 3 The embodiment of the present application further provides a 3D model online display device, the device comprising:
[0088] The model acquisition module 101 is used to acquire a basic model of a 3D model and a parameter table of the basic model;
[0089] A parameter display module 102 is used to display the parameter table on a page and obtain input parameters corresponding to the parameter table;
[0090] A model modification module 103, used to modify the basic model according to the input parameters to generate a modified 3D model;
[0091] The model display module 104 is used to display the modified 3D model on the page.
[0092] The specific implementation of the 3D model online display device is basically the same as the specific implementation of the above-mentioned 3D model online display method, and will not be repeated here.
[0093] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned 3D model online display method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0094] See also Figure 4 , Figure 4 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0095] The processor 401 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0096] The memory 402 may be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 402 may store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 402, and the processor 401 calls and executes the 3D model online display method of the embodiment of this application;
[0097] Input / output interface 403, used to implement information input and output;
[0098] Communication interface 404, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0099] Bus 405 , which transmits information between various components of the device (e.g., processor 401 , memory 402 , input / output interface 403 , and communication interface 404 );
[0100] The processor 401 , the memory 402 , the input / output interface 403 and the communication interface 404 are connected to each other in communication within the device via the bus 405 .
[0101] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned 3D model online display method is implemented.
[0102] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0103] The 3D model online display method, 3D model online display device, electronic device and storage medium provided in the embodiments of the present application obtain the 3D model uploaded by the user in an online manner, convert the 3D model into STL format, and then perform a standardization check, a geometric quality check and a custom check on the 3D model, thereby generating an inspection report for the 3D model, avoiding the occurrence of misjudgment or erroneous judgment by the operator, and ensuring the standardization, uniformity and compliance of the 3D model inspection.
[0104] The description of the embodiments of the present application is intended to more clearly illustrate the technical solutions of the embodiments of the present application and does not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0105] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0106] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0107] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0108] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0109] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0110] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0111] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0112] The preferred embodiments of the present application are described above with reference to the accompanying drawings, but the scope of the rights of the present application is not limited thereto. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present application should be within the scope of the rights of the present application.
Claims
1. A 3D model online display method, characterized in that: The method comprises: Obtaining a basic model of a 3D model and a parameter table of the basic model; Displaying the parameter table on the page, and obtaining input parameters corresponding to the parameter table, wherein the input parameters include material, color, size, function and performance; Modify the basic model according to the input parameters to generate a modified 3D model; The modified 3D model is displayed on the page.
2. The 3D model online display method according to claim 1, characterized in that: The method further comprises: Obtaining initial parameters of the parameter table; Initialize the basic model based on the initial parameters to generate an initial 3D model; The initial 3D model is displayed on the page.
3. The 3D model online display method according to claim 1, characterized in that: The step of modifying the basic model according to the input parameters to generate a modified 3D model specifically includes: It is determined that the input parameter is within a preset parameter range, and the basic model is modified according to the input parameter to generate a modified 3D model.
4. The 3D model online display method according to claim 1, characterized in that: The method further comprises: Obtaining historical modification parameters of the parameter table; Modify the basic model according to the historical modification parameters to generate a historical 3D model; The historical 3D model is displayed on the page.
5. The 3D model online display method according to claim 1, characterized in that: The method further comprises: Obtaining a selected component of the 3D model selected on the page; According to the serial number of the selected component, obtaining the coordinates of the input parameter corresponding to the selected component on the page; The input parameter is highlighted according to the coordinates.
6. The 3D model online display method according to claim 1, characterized in that: The method further comprises: A model export instruction and a model export format are obtained, and the 3D model is output according to the model export format.
7. The 3D model online display method according to claim 1, characterized in that: The method further comprises: Obtain parameter export instructions and output input parameters of the 3D model.
8. A 3D model online display device, characterized in that: The device comprises: A model acquisition module, used to acquire a basic model of a 3D model and a parameter table of the basic model; A parameter display module is used to display the parameter table on the page and obtain the input parameters corresponding to the parameter table; A model modification module, used to modify the basic model according to the input parameters to generate a modified 3D model; A model display module is used to display the modified 3D model on the page.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the 3D model online display method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the 3D model online display method described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Internet-based physical object 3D interactive exhibition system
CN104834672A
WebGL-based webpage establishment and operation method
CN106250023A
Method of customizing and displaying 3D online design of products based on internet
CN107480255A
On-line material replacement method
CN111563968A
Three-dimensional model display method and device, computer equipment and storage medium
CN111724471A