Factory building three-dimensional modeling method and system based on module library

Through the module library-based 3D modeling method, efficient, accurate updating and coordination of factory building 3D modeling are achieved, solving the problems of low efficiency and difficult data interaction in existing technologies and improving the accuracy and adaptability of factory building models.

CN120764041AActive Publication Date: 2025-10-10SUZHOU GUHA SAFETY TECH CO LTD

Patent Information

Application Number
CN202511012142.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-22
Publication Date
2025-10-10
Estimated Expiration
2045-07-22

AI Technical Summary

Technical Problem

Existing 3D modeling technology is inefficient when dealing with factory buildings. It cannot fully reflect the details and complexity of the actual production process, is difficult to update quickly, and data exchange between different professional fields is difficult, which cannot meet the flexible and changing development needs of factory buildings.

Method used

It adopts a 3D modeling method based on a module library, realizes standardized storage and transmission of data through a unified shared module library, supports collaborative work in different professional fields, uses the module library to convert and edit the format of sub-components, establishes associations between devices to keep applications active, and improves the efficiency of human-computer interaction.

Benefits of technology

It achieves efficient, accurate updating and collaboration of 3D modeling of factory buildings, improves data interaction efficiency, reduces resource consumption, improves model accuracy and consistency, and adapts to the rapidly changing needs of factory buildings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120764041A_ABST
    Figure CN120764041A_ABST
Patent Text Reader

Abstract

The invention provides a factory building three-dimensional modeling method and system based on a module library, and belongs to the technical field of three-dimensional modeling and human-computer interaction. The method comprises the following steps: opening a first factory building three-dimensional modeling structural body file on first equipment based on a first three-dimensional modeling application program; after a first sub-assembly in the structure body file is subjected to first editing, the first sub-assembly is uploaded to a module library in a first format; the second device downloads the first sub-component from the module library for second editing; the second device configures a second three-dimensional modeling application program, and the second three-dimensional modeling application program executes the second edition; the system comprises a shared module library, a first device and a second device, wherein the first device and the second device can communicate with each other, and the first device and the second device are configured with three-dimensional modeling application programs supporting different editing formats; according to the invention, based on the unified shared module library, the technical problems of difficult data interaction and unsmooth information circulation caused by deficiencies of the existing three-dimensional modeling technology in the aspects of data sharing and collaboration are overcome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of three-dimensional modeling and human-computer interaction, and in particular relates to a three-dimensional modeling method and system for factory buildings based on a module library. Background Art

[0002] With the development of modern industry, the design, construction, and subsequent operation and maintenance of factory buildings are increasingly reliant on digital technologies. Compared to ordinary residential buildings, factory buildings have unique structural and functional requirements, such as large production workshops, complex equipment layouts, specialized logistics channels, and various supporting facilities. 3D modeling technology, as a key means of digitally representing factory buildings, can provide visualization support throughout the factory lifecycle. Examples include a visualization editing method for 3D virtual factory production scheduling proposed in Chinese Invention Patent Publication No. CN115374641A, and a rendering method for industrial 3D models proposed in Chinese Invention Patent Publication No. CN118193451A.

[0003] However, existing 3D architectural modeling technologies present numerous challenges when applied to factory buildings. For one thing, existing factory models are often simplifications and abstractions of the real world. Factory buildings are complex internal structures, with numerous and diverse equipment. Traditional modeling methods are inefficient in processing this complex information and cannot fully reflect the details and complexities of the actual production process. This simplification can lead to discrepancies between the model's predictions or simulations in certain situations. Furthermore, factory buildings undergo frequent renovations, expansions, and equipment upgrades. With changes in production and technological advancements, models require regular maintenance and updates. Existing technologies struggle to quickly and effectively modify and adjust models in real time, failing to meet the flexible and ever-changing needs of factories. Furthermore, the full lifecycle management of factory buildings involves collaborative work across multiple disciplines, such as architectural design, structural engineering, equipment installation, and production operations. Existing 3D modeling technologies lack data sharing and collaboration. Different disciplines utilize varying modeling software and data formats, making data exchange difficult and information flow sluggish.

[0004] Therefore, there is an urgent need for a three-dimensional rapid modeling method specifically for factory buildings to solve the problems of low efficiency, difficulty in updating, and poor coordination in the existing technology when dealing with factory modeling, and to achieve efficient, accurate, easy-to-update and collaborative three-dimensional rapid modeling of factory buildings, providing strong support for the design, construction, operation and maintenance management of the factory. Summary of the Invention

[0005] In response to the above technical problems, the present invention proposes a three-dimensional modeling method and system for factory buildings based on a module library.

[0006] In a first aspect of the present invention, a method for three-dimensional modeling of a factory building based on a module library is provided, wherein the method is applied to a first device configured with a first three-dimensional modeling application;

[0007] The method comprises the following steps:

[0008] Opening a first factory building 3D modeling structure file based on the first 3D modeling application on the first device;

[0009] After performing a first edit on the first subcomponent in the structure file, uploading the first subcomponent to the module library in a first format;

[0010] The second device downloads the first subcomponent from the module library for second editing;

[0011] The second device is configured with a second three-dimensional modeling application, and the second three-dimensional modeling application performs the second editing.

[0012] In one scenario, the first subcomponent is uploaded to the module library by the first device in response to a request from the second device;

[0013] After uploading the first subcomponent to the module library in a first format, the module library converts the first subcomponent in the first format into a second format;

[0014] The second device downloads the first subcomponent in the second format from the module library for second editing.

[0015] In another scenario, the first subcomponent is actively uploaded to the module library by the first device;

[0016] After uploading the first subcomponent to the module library in a first format, the module library converts the first subcomponent in the first format into a third format;

[0017] The third format is determined based on statistical data of attributes of devices that have historically downloaded the first sub-component.

[0018] In a second aspect of the present invention, a method for three-dimensional modeling of a factory building based on a module library is provided, wherein the method is applied to a second device configured with a second three-dimensional modeling application;

[0019] The method comprises the following steps:

[0020] After establishing a real-time communication request with the first device, the second device sends an update request for the first subcomponent to the first device;

[0021] The first device uploads the first subcomponent after the first edit to the module library in response to the update request,

[0022] The module library converts the first subcomponent into a second editing format;

[0023] The second device downloads the first subcomponent in the second format from the module library for second editing;

[0024] After the first device uploads the first subcomponent after the first edit to the module library based on the first three-dimensional modeling application, the first device switches the first three-dimensional modeling application to the background, and keeps the first three-dimensional modeling application alive based on the association relationship established between the second device and the first device.

[0025] After the second device performs the second editing on the first subcomponent, the association relationship between the second device and the first device is established.

[0026] The first 3D modeling application supports a first editing format; the second 3D modeling application supports a second editing format, and the first editing format is different from the second editing format.

[0027] In a third aspect of the present invention, a module library-based 3D modeling system for factory buildings is provided. The system includes a shared module library, a first device and a second device capable of communicating with each other, wherein the first device and the second device are configured with 3D modeling applications that support different editing formats.

[0028] Opening a first factory building 3D modeling structure file on the first device using a first 3D modeling application;

[0029] After performing a first edit on the first subcomponent in the structure file, the first device uploads the first subcomponent to the shared module library in a first edited format, and switches the first three-dimensional modeling application to the background;

[0030] The shared module library converts the first subcomponent into a second editing format;

[0031] The second device downloads the first subcomponent in the second editing format from the module library for second editing;

[0032] After the second device performs the second editing on the first subcomponent, an association relationship is established between the second device and the first device, and the first three-dimensional modeling application is kept alive based on the association relationship.

[0033] The system further includes a component self-drawing module, and the first device or the second device calls the component self-drawing module to draw a third subcomponent, where the third subcomponent is a component of the first factory building three-dimensional modeling structure file.

[0034] The system further includes a visualization module, and the first device or the second device calls the visualization module to visually execute the first editing or the second editing.

[0035] Due to the lack of a unified data interaction standard and sharing platform, traditional three-dimensional modeling technology often requires complex format conversion for data transmission between different devices and software, which is prone to problems such as data loss and incomplete information, resulting in low interaction efficiency. The present invention is based on a unified shared module library to achieve standardized storage and transmission of data. The first device uploads the edited first subcomponent to the module library in the first format, and the second device can download it directly from the library without the need for additional data format conversion operations. The collaborative working mode based on the shared module library enables personnel from different professions and fields to give full play to their respective advantages and optimize the three-dimensional modeling results in multiple dimensions. At the same time, the first device and the second device in the technical solution of the present invention automatically keep the application alive based on the association relationship created based on the editing correspondence, which can avoid the related modeling program from being recycled and improve the efficiency of human-computer interaction. Its specific advantages and implementation principles will be further reflected in detail in the specific embodiment part in conjunction with the drawings in the specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 This is a schematic diagram of the main execution flow of a module library-based factory building three-dimensional modeling method on a first device side according to an embodiment of the present invention;

[0038] Figure 2 yes Figure 1 A schematic diagram of a flow chart of the method in which the first device and the second device interact with each other;

[0039] Figure 3 yes Figure 1 A flowchart of the method in which the first device does not interact with other devices;

[0040] Figure 4 This is a schematic diagram of the main execution flow of a module library-based factory building three-dimensional modeling method on the second device side according to an embodiment of the present invention;

[0041] Figure 5 The present invention is a schematic diagram of the hardware unit composition of a module library-based factory building three-dimensional modeling system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In the specific implementation of this application, if the embodiments of the relevant technical solutions involve user-related data, when the embodiments of this application are applied to specific products or technologies, user permission or consent must be obtained, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0043] The embodiments of this section include method embodiments and system (product) embodiments, wherein the method embodiments include method steps of "applying to a first device" and "applying to a second device".

[0044] It should be understood that the terms "first device" and "second device" herein are used only to distinguish between two different interacting users (e.g., a first user and a second user). Therefore, the first device corresponds to the first user, and the second device corresponds to the second user. In subsequent embodiments, "first user" and "first device" may be equivalent, and "second user" and "second device" may be equivalent, and the two may be used interchangeably. In different contexts, the term "first user" or "first device" may be used based on different descriptive contexts.

[0045] Similarly, in subsequent embodiments, “format”, “editing format”, “editable format”, etc. are the same concepts.

[0046] Furthermore, when a method is "applied to a first device" or "applied to a second device," it simply means that the method is primarily described from the perspective of the "first device" or "second device," and does not necessarily mean that all steps of the method are performed exclusively by the first device or second device. In fact, unless otherwise specified, the implementation process of most method embodiments involves interaction between the first and second devices.

[0047] The device attributes of the first device and the second device may be the same or different. It is understandable that when the attributes of the first device and the second device are exactly the same, data interaction between the two is usually relatively simple, for example, there is no need to perform the format conversion process of the method.

[0048] Therefore, the embodiments of the present invention are mainly aimed at situations where the properties of the first device and the second device are not exactly the same, for example, the first device and the second device have different types of three-dimensional modeling applications installed, the display formats of the three-dimensional modeling objects supported by the first device and the second device are different, the terminal types of the first device and the second device are different (desktop terminal → mobile terminal; Android terminal → non-Android terminal, etc., ...), etc.

[0049] Based on the above description, various embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0050] See also Figure 1 , Figure 1 The present invention is a schematic diagram of a main body execution process of a factory building three-dimensional modeling method based on a module library on the first device side according to an embodiment of the present invention.

[0051] exist Figure 1 In the embodiment, the method is applied to a first device, and the configuration of a first 3D modeling application by the first device includes the following three main steps S1-S3 (step numbers are omitted in the drawings):

[0052] S1: Opening a first factory building 3D modeling structure file on the first device using the first 3D modeling application;

[0053] S2: After performing a first edit on the first subcomponent in the structure file, uploading the first subcomponent to the module library in a first format;

[0054] S3: The second device downloads the first subcomponent from the module library for second editing; the second device configures a second three-dimensional modeling application, and the second three-dimensional modeling application executes the second editing.

[0055] In various embodiments of the present invention, different fields / devices have different 3D modeling applications. For example, the first user (first device) is an architectural designer, and the second user (second device) is an electrical engineer, a mechanical engineer, or a chemical engineer.

[0056] In the 3D modeling of factory buildings, after the architectural designer completes the basic building structure design of a component, the electrical engineers and mechanical engineers continue to edit the electrical wiring, mechanical equipment layout and other aspects of the component respectively.

[0057] SketchUp is a popular choice among architectural designers due to its ease of use and rich plugin resources, enabling them to quickly build architectural models. SketchUp supports exporting files in the SKP format, its native format that fully preserves the model's structure, materials, and other information. It also supports formats like DWG and DXF, facilitating interaction with software like CAD. For example, in the design of a commercial complex, designers used SketchUp to quickly construct the building's exterior and interior layout. After completing the preliminary design, they exported the model to DWG format and handed it over to the in-depth design team for further refinement.

[0058] Revit is also very popular among architectural designers. It is a professional building information modeling (BIM) software that can realize the full life cycle management of buildings. The native format of Revit is RVT, which can integrate various professional information of the building, such as structure, water supply and drainage, electricity, etc. In the design of large hospital projects, architectural designers use Revit to build the main building model and share the design results with various professional teams in RVT format. Professionals conduct collaborative design based on this. Revit also supports exporting IFC format. As a common data standard format in the construction industry, IFC can promote data exchange between different BIM software and facilitate docking with other professional teams or software platforms.

[0059] For electrical engineers, EPLAN Pro Panel is specifically designed for electrical control system design. It primarily supports importing 3D models in STP format. When designing factory electrical equipment layouts, engineers can import 3D equipment models in STP format into EPLAN Pro Panel. Using the software's intelligent component library and collision detection features, engineers can rationally layout electrical equipment, optimize cabinet design, and ensure stable electrical system operation.

[0060] As a plug-in for SOLIDWORKS, CircuitWorks is widely used in the field of electrical design. It supports industry-standard intermediate data formats (IDFs), such as IDF 2.0, IDF 3.0, and IDF 4.0, as well as the PADS ASCII file format used by PowerPCB and the ProStep EDMD collaborative format used by Mentor Graphics and ProStep EDMD. With these formats, electrical engineers can use files written by most electrical computer-aided design (ECAD) systems to create 3D models of printed circuit boards (PCBs) in the SOLIDWORKS environment, facilitating collaborative design with mechanical engineers.

[0061] Pro / ENGINEER (Pro / E for short) is a commonly used tool for mechanical engineers in their work, especially in mold design. Pro / E's native formats include PRT and ASM. PRT is used for part modeling, and ASM is used for assembly modeling. They can precisely control model parameters and implement complex mechanical structure design. For example, in the design of automotive parts molds, after engineers complete part and assembly modeling in Pro / E, they use its native format to save the design data, providing an accurate basis for subsequent mold manufacturing. At the same time, Pro / E also supports exporting to multiple common formats, such as STL format, which can be used for 3D printing verification models, and IGES format, which facilitates data exchange with other CAD software.

[0062] Autodesk Fusion 360 is a comprehensive 3D modeling software that integrates design, manufacturing, engineering analysis and other functions. It supports importing multiple formats such as DWG, DXF, STEP, IGES, etc., which can meet the integration needs of data from different sources. In mechanical product design, mechanical engineers can import DWG drawings provided by other departments or STEP format part models obtained from external suppliers, and perform overall product design in Autodesk Fusion 360. The rich functions of the software can be used to optimize the design, and finally the design results can be saved in the F3D format supported by the software, which is convenient for subsequent manufacturing process.

[0063] It can be seen that different users (devices / models) in different fields support different editable formats, and different devices can support different display formats, so it is not possible to directly download the first format data file edited by the first user based on the first application to the second device based on the second application for further editing.

[0064] In related technologies, the solution to such problems is usually to perform data version (format conversion), that is, after the first user generates a first format data file, the first data file in the first format is converted into a second data file in the second format, or it is converted into a general data format or an intermediate data format, etc.

[0065] For example, common formats such as STL, I GES, STEP, etc. are widely used between different software. STL format is commonly used in 3D printing field, almost all three-dimensional modeling software supports importing and exporting this format, which is commonly used for model appearance display and simple shape transmission, but does not contain detailed information such as material and texture. I GES (Initial Graphics Exchange Specification) format can be used to transmit geometric graphics, dimension marks and other information, and is more commonly used in mechanical design field, but there may be certain limitations in the transmission of complex model surface information. STEP (Product Model Data Exchange Specification) format is an international standard product data exchange format, which can completely retain the geometric shape, topological structure, material properties and other information of the model, and can well realize data exchange between different software in mechanical, architectural and other fields, and is commonly used for product design whole process data transmission;

[0066] For another example, some software uses specific intermediate data formats for data exchange. For example, in the collaboration between electrical and mechanical design, IDF (an industry-standard intermediate data format) is often used for data exchange between printed circuit board (PCB) design software and mechanical design software. It can transfer information such as PCB layout and wiring to mechanical design software, thus achieving collaboration between electrical and mechanical design. There is also the OBJ format, which is commonly used between 3D modeling and animation software. It supports the transfer of information such as vertices, faces, and texture coordinates, making it easier for models to process materials and textures between different software.

[0067] However, the above methods are all aimed at converting the overall format of the target file. However, in the 3D modeling scenario of factory buildings, compared with ordinary civilian buildings, factory buildings have unique structural and functional requirements, such as large production workshops, complex equipment layouts, special logistics channels, and various supporting facilities. The internal structure of factory buildings is complex, and the equipment is numerous and diverse. The corresponding 3D modeling structure file of the factory building is relatively large, and the file requires a large storage space. If a comprehensive conversion is performed, the resources required will be large and there will be a large delay.

[0068] At the same time, factory buildings undergo frequent renovations, expansions, and equipment upgrades. As production changes and technology advances, models require regular maintenance and updates. Converting the entire model structure file after every edit (even a minor subcomponent update) can cause frequent system freezes, severely impacting the user experience.

[0069] Furthermore, during the modeling preparation phase, the invented 3D modeling system supports importing multiple data sources, including architectural design drawings, structural drawings, and equipment layout drawings of the factory. By establishing a unified coordinate system and linking multiple points with the map, this data is spatially aligned and matched, eliminating positional errors and forming the base map location data, laying the foundation for subsequent modeling.

[0070] The system includes a built-in module library that covers models of various buildings and structures. Each model includes detailed dimensional parameters, material properties, and animations. This module library is built using a classified storage system, categorizing and storing models according to multiple dimensions such as building type, function, and size range. For example, building type is divided into production (factory buildings, workshops, etc.), storage (warehouses), office (office buildings), and auxiliary facilities (chimneys, distribution rooms, etc.); further subdivisions are made by function, such as factory buildings can be divided into mechanical processing plants, petrochemical refineries, etc.; size ranges serve as an auxiliary classification basis, allowing users to quickly filter models of specific specifications.

[0071] The classified models are stored in a specially constructed database using an efficient indexing algorithm for fast retrieval. Detailed metadata is also created for each model, including model name, size, category, creation time, and model source, to facilitate management and maintenance.

[0072] The system's built-in module library provides users with some building models, and users can also create their own model library by uploading model data in various formats. Similarly, the uploaded models will be stored in a specially constructed database, with detailed data records for each model.

[0073] Whether it's a built-in model or a user-defined model, the system provides parameterized adjustment capabilities. You can add adjustable parameters to each model and set reasonable parameter ranges. For example, for a factory building model, you can set the length parameter range to 50-200 meters and the width parameter range to 30-100 meters.

[0074] For 3D modeling of building interiors, users can quickly draw walls, columns, doors, windows, openings, staircases, and other structures by clicking and dragging. Click the corresponding wall or column creation tool in the module library and select the starting point with a mouse click. The system automatically identifies the drawing path and generates the corresponding 3D model. Parameters can also be modified in the property box. Users can modify attributes such as size, material, and color in real time and preview the results in real time.

[0075] When multiple walls intersect, the software automatically associates them, ensuring seamless connections. When one wall is subsequently modified, the associated walls automatically adjust to maintain the rationality of the overall structure. A built-in collision detection mechanism also provides prompts when a newly drawn wall collides with existing structures such as columns, doors, and windows, offering solutions such as automatic avoidance or manual adjustments to prevent structural conflicts in the model.

[0076] The module library covers a variety of common door and window types. Users can directly select the desired model from the module library and insert it into the wall with one click. The system supports parameter modification, allowing users to adjust parameters such as door and window width, height, opening method, material style, etc., while previewing the modified effects in real time.

[0077] For doors and windows, when users place them on the wall, the system automatically detects the thickness of the wall and intelligently adapts the installation position and depth to ensure that the doors and windows fit perfectly with the wall. At the same time, users can also specify the installation location themselves.

[0078] The module library also covers various common stair types. Users can adjust the starting point of the stairs, number of steps, step height, width and other basic parameters. The system will automatically update the stair model based on these parameters.

[0079] In addition, the system provides basic geometric drawing tools developed based on a 3D graphics engine, with corresponding drawing logic code written for each drawing tool. For example, the rectangle drawing tool obtains the coordinates of the two diagonal points of the rectangle through mouse clicks and drag-and-drop events, calculates the coordinates of the rectangle's vertices, and draws them in the modeling scene. Editing operations such as stretching, rotating, and moving graphics are implemented by modifying the graphics' vertex coordinates and transformation matrix. Boolean operations utilize the algorithm library provided by the 3D graphics engine to perform union, difference, and intersection operations on two or more geometric shapes to generate new geometric shapes. During the operation process, the system automatically handles intersections and overlaps between graphics to ensure the accuracy of the operation results.

[0080] During the modeling implementation phase, users can use drawing tools such as points, lines, rectangles, circles, polygons and other simple geometric shapes to draw. For example, if a rectangular factory building needs to be drawn in the modeling scene, the user can click the mouse to determine the starting point of the rectangle, hold down the left mouse button, drag and drop it to the appropriate position and release it to draw a rectangle representing the factory building. Then enter the relevant parameters (such as building height, building type, building materials, etc.) in the property box to generate a basic three-dimensional model framework. At the same time, basic geometric figures can also be combined to obtain the required complex shape basic model. According to actual needs, the created three-dimensional model framework can be edited and modified, such as adjusting the size, adding or deleting details, modifying properties, etc.

[0081] On the plane where the user needs to create a hole, they can use the above method to click on the dedicated hole drawing tool and draw basic closed shapes (such as circles, rectangles, polygons, etc.) to define the shape of the hole. For irregularly shaped holes, the outline of the hole can be freely adjusted by editing the control points. For example, a rectangular hole can be changed to a trapezoidal hole by dragging the control points. The system allows users to set the depth of the hole, creating a through hole that runs through the entire plane or a blind hole on only one side of the plane.

[0082] The system provides geometric constraints, dimension measurement, and annotation functions to ensure that the size and position of drawn geometric figures meet design requirements. Geometric constraints can be achieved by establishing constraint relationships between graphic elements. When the user selects the geometric constraint tool and specifies a graphic element, the system records the constraint conditions and automatically adjusts the graphic position and size to meet the constraint requirements when the user edits the graphic. The dimension annotation function is implemented by adding annotation text boxes to the drawing. For example, by adding horizontal and vertical constraints, the alignment of walls with other building components is ensured; dimension measurement and annotation are used to assist users in modeling.

[0083] Whether it's a model from the system's built-in module library or a model drawn from basic geometry, the system can assign materials and textures to the model. Users select a pre-built basic geometry model, browse the material types in the style material, select the appropriate material type (such as concrete, metal, etc.), and add the corresponding texture map (such as concrete texture, brushed metal texture). If you need to adjust the material parameters, such as adjusting the roughness and color of the concrete material, adjust the corresponding parameters in the property panel and preview the effect in real time. Textures can also be adjusted by adjusting the scaling and tiling parameters to make the texture appear more realistic on the model surface.

[0084] Users can combine the above modeling methods, use the module library to drag and drop to quickly build a general factory model, and then create basic or special models through basic geometric modeling, and finally form a complete 3D model of the factory building.

[0085] Throughout the modeling process, the system automatically records every user operation and model data, storing the user's operation data and model update data in real time to the corresponding storage location, and maintaining real-time synchronization between the data. When a user drags and drops a new model into the modeling scene from the model block library, the system immediately records the model's relevant information in the operation data file, loads the model's geometry information and material texture data from the model library storage location into the memory cache, and creates a corresponding reference record in the model data storage area of ​​the current project. When the user edits the model, the system synchronously updates the model data in memory and the related stored data to ensure data consistency.

[0086] It can be seen that the embodiments of the present invention involve three-dimensional modeling objects, which require a hybrid modeling mode that integrates model reuse and geometric generation, ensures model accuracy through dynamic topological relationship analysis, and improves the modeling efficiency of large-scale factory scenes by combining lightweight rendering technology. For such scenes, the above-mentioned overall conversion method is no longer applicable.

[0087] Based on this, the attached Figure 1 The method embodiment embodies an improvement of the present invention in step S2:

[0088] The first device opens the first factory building three-dimensional modeling structure file based on the first three-dimensional modeling application; after performing a first edit on the first subcomponent in the structure file, the first subcomponent is uploaded to the module library in a first format.

[0089] It can be seen that the embodiment of the present invention does not upload / save the first factory building three-dimensional modeling structure file as a whole, nor does it subsequently perform overall structural conversion on the first factory building three-dimensional modeling structure file. Instead, it monitors the first editing operation on the first subcomponent in the structure file and only uploads the edited first subcomponent for subsequent conversion.

[0090] The first subcomponent herein may be a component of the first factory building 3D modeling structure file. For example, if the first user (architect) performs a first edit on a window in the factory building 3D modeling structure file, the first subcomponent may be a component of a partial area containing the window in the (building model); the first edit may be any editing operation, such as a selection operation, a size adjustment operation, a position adjustment operation, etc.

[0091] Compared with the entire 3D modeling structure file of the first factory building, the first sub-assembly is smaller in size, and the resources required for uploading it and even subsequent conversion will be greatly reduced.

[0092] The module library may be a module library shared by a first user and a second user (including more other users), and the first user and the second user (including more other users) are a user group that collaborates to perform different types of three-dimensional modeling operations on the first factory building.

[0093] Next, Figure 2 and Figure 3 They are Figure 1 A flowchart of the method in which the first device interacts with the second device and the first device does not interact with other devices.

[0094] First Look Figure 2 , Figure 2 The method flow is as follows:

[0095] S11: Opening a first factory building 3D modeling structure file on a first device using a first 3D modeling application;

[0096] S12: After performing a first edit on the first subcomponent in the structure file, receiving a second edit request from a second device for the first subcomponent;

[0097] S13: In response to the second editing request of the second device, the first device uploads the first subcomponent to the module library in a first format;

[0098] S14: The module library converts the first subcomponent in the first format into a second format;

[0099] S15: The second device downloads the first subcomponent in the second format from the module library

[0100] Make a second edit.

[0101] Preferably, Figure 2 In an embodiment, after the second device performs a second edit on the first subcomponent, the first subcomponent after the second edit is uploaded to the module library.

[0102] Preferably, Figure 2 In an embodiment, after establishing a real-time communication request with the first device, the second device sends an update request for the first subcomponent to the first device, where the update request includes an edit request.

[0103] exist Figure 2 In an embodiment, there is interaction between the first device and the second device, so that the module library can know in advance that the target device will request an update for the first sub-component. Therefore, the module library determines the target conversion format based on the pre-saved properties of multiple user devices (including device hardware properties, device software properties, etc.), so that after the first device uploads the first sub-component in the first format to the module library, the module library converts the first sub-component in the first format into the target conversion format in advance, that is, the second format supported for editing by the second device.

[0104] See next Figure 3 , Figure 3 The method flow is as follows:

[0105] S21: Opening a first factory building 3D modeling structure file on the first device using a first 3D modeling application;

[0106] S22: After performing a first edit on the first subcomponent in the structure file, uploading the first subcomponent to the module library in a first format;

[0107] S23: The module library determines a target conversion format based on statistical data of device attributes of historical downloads of the first sub-component;

[0108] S24: The module library converts the first subcomponent in the first format into a target conversion format.

[0109] exist Figure 3 In the embodiment, the first device does not interact with other devices, and the module library cannot know exactly which device (user) will have an update or edit request for the first sub-component next.

[0110] At this point, another improvement of the present invention is that in step S23 , the module library determines the target conversion format based on the statistical data of the device attributes of the historical download of the first sub-component.

[0111] The statistical data of the device attributes of the historical download of the first sub-component include:

[0112] Device attribute data of the first sub-component downloaded during the same period;

[0113] The device attribute data that has downloaded the first sub-component the most times;

[0114] The device attribute data of the first subcomponent has been recently downloaded.

[0115] Based on the statistical data of the device attributes of the above-mentioned historical downloads of the first sub-component, a device type prediction model can be pre-trained. The device prediction model is used to predict that after the first device uploads the first sub-component to the module library in the first format, there will be a third device type that performs an edit update request on the first sub-component, and the third editable format supported by the third device type is used as the target conversion format. Then, the module library converts the first sub-component in the first format into the target conversion format in advance, that is, the third editable format supported by the third device.

[0116] It can be understood that the third device type can be of multiple types. At this time, there are also multiple requirements for the target conversion format. At this time, the module library converts the first subcomponent of the first format into multiple target conversion formats in advance for subsequent direct editing and downloading by multiple third devices of multiple types.

[0117] Based on the above embodiments, the shared module library design of the present invention has good scalability and can continuously incorporate new components and formats to adapt to the needs of different projects and different technological developments. At the same time, the first device and the second device that support three-dimensional modeling applications in different editing formats can be flexibly connected to the system. Whether it is new modeling software or traditional modeling tools, data interaction and collaborative work can be achieved through the shared module library. This enables the technical solution to always maintain strong adaptability in the face of constantly updated and iterative three-dimensional modeling technologies and diversified project requirements, and can continue to provide efficient and stable data sharing and collaborative solutions for the field of three-dimensional modeling of factory buildings, promoting the development and progress of industry technology. The professional knowledge and experience of various professionals are integrated with each other, which can discover and solve potential conflicts and unreasonable aspects in the design in advance, such as the spatial interference problem of electrical lines and mechanical equipment, thereby greatly improving the integrity and accuracy of the modeling results, making the final three-dimensional modeling results more in line with actual needs, and providing a more reliable basis for the design, construction and later operation of factory buildings.

[0118] As a further improvement of the present invention, the applicant also found in the process of implementing the relevant technical solutions that since the three-dimensional modeling application of the present invention is a hybrid modeling mode that integrates model reuse and geometric generation, it ensures model accuracy through dynamic topological relationship analysis, and requires a large amount of system resource support during operation.

[0119] After the first device uploads the first subcomponent after the first edit to the module library based on the first three-dimensional modeling application, if the second user does not provide feedback in a timely manner, the first user will usually switch the first three-dimensional modeling application to the background (for example, minimize the first three-dimensional modeling application).

[0120] In this case, based on traditional resource recycling mechanisms (such as the background resource recycling mechanism of the Android system), if the first user keeps the 3D modeling application in the background for a long time, the system will automatically recycle the first 3D modeling application after a period of time. In this case, if the second user returns relevant interactive messages after a period of time, the first user will need to wait a long time to reopen the first 3D modeling application, which affects the user experience.

[0121] If the user switches the first 3D modeling application to the background, that is, it stays on the front-end interface for a long time, it will also affect the user's other work. The user can only wait fearlessly, and the user experience will be worse.

[0122] Based on this, the problem of keeping the first three-dimensional modeling application alive after switching to the background is faced.

[0123] In related technologies, background programs are typically kept alive by proactively setting up a whitelist. However, once a first 3D modeling application is added to the keep-alive whitelist, it will remain alive for a long time after switching to the background, occupying a large amount of resources. If the second user does not interact during this period, the keep-alive process is still useless and wastes resources. Protection is only effective when the second user is interacting.

[0124] Specifically, another improvement of the present invention is embodied in Figure 4 In the embodiment of . Figure 4 A schematic diagram of the main execution process of a module library-based factory building 3D modeling method on the second device side according to an embodiment of the present invention is shown, which includes the following process:

[0125] S41: After establishing a real-time communication request with the first device, the second device sends an update request for the first subcomponent to the first device;

[0126] S42: The first device uploads the first subcomponent after the first edit to the module library in response to the update request;

[0127] S43: the module library converts the first subcomponent into a second editing format;

[0128] S44: The second device downloads the first subcomponent in the second format from the module library for second editing;

[0129] S45: After the first device uploads the first subcomponent after the first edit to the module library based on the first three-dimensional modeling application, the first device switches the first three-dimensional modeling application to the background, and keeps the first three-dimensional modeling application alive based on the association relationship established between the second device and the first device.

[0130] Specifically, after the second device performs the second editing on the first subcomponent, the association relationship between the second device and the first device is established.

[0131] In each of the above embodiments, the first 3D modeling application supports a first editing format; the second 3D modeling application supports a second editing format, and the first editing format is different from the second editing format.

[0132] The first three-dimensional modeling application and the second three-dimensional modeling application share the module library;

[0133] In the above embodiment, after the second device performs the second editing on the first subcomponent, an association relationship is established between the second device and the first device, and the first three-dimensional modeling application is kept alive based on the association relationship.

[0134] Since the second device performs a second edit on the first subcomponent, and the second edit is after the first edit, the second edit and the first edit also need to be updated to the first subcomponent, that is, the first user needs to receive the first subcomponent after the second edit.

[0135] At this time, after the second device performs the second editing on the first subcomponent, the first subcomponent after the second editing is uploaded to the module library, and the first device downloads the first subcomponent after the second editing from the module library.

[0136] At this time, the module library has already converted the first subcomponent after the second editing from the second editing format to the first editing format.

[0137] Therefore, the association relationship is established after the second device performs the second editing on the first subcomponent, and terminates when the first device downloads the first subcomponent after the second editing from the module library, that is, the association relationship is terminated after the first device downloads the first subcomponent after the second editing from the module library.

[0138] When the associated relationship is terminated, the keep-alive relationship is also terminated accordingly, thereby effectively solving the problem of keeping the first 3D modeling application alive after switching to the background, thereby improving the user experience and saving system resources.

[0139] exist Figures 1-4 Based on the method embodiment, Figure 5 A schematic diagram of the hardware unit composition of a factory building three-dimensional modeling system based on a module library according to an embodiment of the present invention is given.

[0140] exist Figure 5 , a module library-based factory building 3D modeling system is shown, comprising a shared module library, a first device and a second device that can communicate with each other, wherein the first device and the second device are configured to support 3D modeling applications in different editing formats;

[0141] Opening a first factory building 3D modeling structure file on the first device using a first 3D modeling application;

[0142] After performing a first edit on the first subcomponent in the structure file, the first device uploads the first subcomponent to the shared module library in a first edited format, and switches the first three-dimensional modeling application to the background;

[0143] The shared module library converts the first subcomponent into a second editing format;

[0144] The second device downloads the first subcomponent in the second editing format from the module library for second editing;

[0145] After the second device performs the second editing on the first subcomponent, an association relationship is established between the second device and the first device, and the first three-dimensional modeling application is kept alive based on the association relationship.

[0146] Preferably, the system further includes a component self-drawing module, and the first device or the second device calls the component self-drawing module to draw a third subcomponent, and the third subcomponent is a component of the first factory building three-dimensional modeling structure file.

[0147] The system further includes a visualization module, and the first device or the second device calls the visualization module to visually execute the first editing or the second editing.

[0148] The entire system utilizes modern front-end development technologies and a 3D graphics engine, providing a concise and intuitive visual modeling interface. This interface adheres to the principles of simplicity and ease of use, with a rational layout of functional areas ensuring smooth user operation. The modeling scene occupies the majority of the interface, displaying a 3D and 2D view switching method. Users can manipulate the scene using input devices such as a mouse and keyboard. A wealth of interactive prompts are also provided. For example, when the mouse hovers over a model in the model library, the model's name, function overview, and key parameters are displayed; while dragging and dropping a model, a preview of the model's placement and alignment guidelines are displayed.

[0149] During the modeling implementation phase, users can quickly search for and select the desired model by accessing the system's built-in module library, dragging and dropping it into the modeling scene. For example, when modeling on a master plan map, users simply click Add Building to launch the module library. Enter "factory" in the search bar to filter out factory models that meet their needs. Left-click to select the main factory model, hold down the left mouse button, and drag and drop it to the appropriate location in the scene. Release the mouse button to place the model in the scene, and the model's property bar will be displayed to assist users in reviewing the model.

[0150] According to the base map location data, the location information of this model can be quickly obtained. If you need to calibrate the parameters and position of the model dragged and dropped into the scene. Select the model, and accurately adjust the model position by dragging or entering the coordinate value in the property box; if the model does not match the actual required size, the system provides a custom modification function, and the user can use scaling tools, such as a scale or zoom command, and then enter the corresponding scaling ratio as needed. Finally, click Confirm or Apply to complete the proportional scaling of the model. The whole process is efficient and intelligent, without the need for tedious manual adjustments. In addition to proportional scaling, users can also use the system's parameter editing function to modify the length, width, height and other data information of this model separately, enter the new size value in the property box and confirm the modification, or enter the model editing mode and click and drag the "vertices" and "edges" to accurately adjust the size. All operation results will be synchronized with real-time feedback.

[0151] Although not shown in the accompanying drawings, further preferred product embodiments may include an electronic device comprising a memory and one or more processors. The memory stores one or more application programs, and the one or more application programs are adapted to be executed by the one or more processors in the aforementioned module library-based 3D modeling method for factory buildings.

[0152] Although not shown in the drawings, more embodiments also include a computer-readable storage medium that stores a computer program. When the computer program is executed, the steps of the aforementioned method for three-dimensional modeling of factory buildings based on a module library are implemented.

[0153] It can be understood that the system, product, device, medium embodiments and method implementations correspond to each other and can reference each other. Their principles are similar or the same, so they will not be repeated.

[0154] For other technologies, principles, algorithms or models not elaborated in detail in this application, please refer to the existing technology.

[0155] The present invention ensures data consistency and accuracy through a shared module library, reducing duplication of work caused by data errors. For example, in a factory building renovation project, if the first device of the design team and the second device of the construction team cannot effectively share data, the construction team may construct based on erroneous design data, which may require demolition and reconstruction later. Under the solution of the present invention, the sub-components edited by the design team are accurately transmitted to the construction teams of different professions through the shared module library. The construction team carries out construction based on accurate data, avoiding the waste of materials, manpower and time caused by rework. It is estimated that the overall cost of the project can be reduced by 15%-25%. At the same time, the unified shared module library can also realize the reuse of components, reduce unnecessary modeling work, and further save resources and costs.

[0156] Furthermore, this invention optimizes traditional mechanisms to address the issue of background keepalive in 3D modeling applications, resulting in significant improvements. By dynamically controlling keepalives through association relationships, it accurately balances user experience and system resource usage. Related benefits include:

[0157] 1. Resolve delays and freezes, and improve user experience: Under the traditional resource recycling mechanism, if the first user places a 3D modeling application in the background and it is recycled by the system, if the second user responds with an interactive message, the first user will have to wait a long time to reopen the application. If the application remains in the front-end for a long time, it will affect other work. The present invention establishes a keep-alive association related to the second user's interaction, keeps the application alive during the interaction, and avoids being recycled by the system. This ensures that the first user can quickly respond to the second user's interaction without having to wait for a long time for the application to reload, greatly improving the fluency and convenience of users working collaboratively with the 3D modeling application.

[0158] 2. Avoid resource waste and improve system efficiency: In related technologies, the whitelist-based keepalive method causes programs to occupy a large amount of resources for a long time, and continues to consume system resources even when there is no interaction. However, based on the interactive association between the second user and the first user, the present invention only keeps the program alive during the period when there is actual interaction. When the association terminates, that is, the interaction ends, the keepalive relationship also terminates accordingly. This effectively avoids the ineffective use of resources and frees up system resources for other tasks. While ensuring user interaction needs, it improves the overall resource utilization efficiency of the system and reduces the system operation burden.

[0159] The foregoing has shown and described the method embodiments and system of the present invention, but it is understood by those skilled in the art that various changes, modifications, substitutions and variations may be made to these embodiments without departing from the principles and spirit of the present invention, and the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for three-dimensional modeling of a factory building based on a module library, wherein the method is applied to a first device, the first device is configured with a first three-dimensional modeling application, and is characterized in that: The method comprises the following steps: Opening a first factory building 3D modeling structure file based on the first 3D modeling application on the first device; After performing a first edit on the first subcomponent in the structure file, uploading the first subcomponent to the module library in a first format; The second device downloads the first subcomponent from the module library for second editing; The second device is configured with a second three-dimensional modeling application, and the second three-dimensional modeling application performs the second editing.

2. A three-dimensional modeling method for factory buildings based on a module library as claimed in claim 1, characterized in that: The first subcomponent is uploaded to the module library by the first device in response to a request from the second device; After uploading the first subcomponent to the module library in a first format, the module library converts the first subcomponent in the first format into a second format; The second device downloads the first subcomponent in the second format from the module library for second editing.

3. The method for three-dimensional modeling of factory buildings based on a module library according to claim 1, wherein: The first subcomponent is actively uploaded to the module library by the first device; After uploading the first subcomponent to the module library in a first format, the module library converts the first subcomponent in the first format into a third format; The third format is determined based on statistical data of attributes of devices that have historically downloaded the first sub-component.

4. A method for 3D modeling of factory buildings based on a module library, the method being applied to a second device configured with a second 3D modeling application, characterized in that: The method comprises the following steps: After establishing a real-time communication request with the first device, the second device sends an update request for the first subcomponent to the first device; The first device uploads the first subcomponent after the first edit to the module library in response to the update request, The module library converts the first subcomponent into a second editing format; The second device downloads the first subcomponent in the second editing format from the module library for second editing; After the first device uploads the first subcomponent after the first edit to the module library based on the first three-dimensional modeling application, the first device switches the first three-dimensional modeling application to the background, and keeps the first three-dimensional modeling application alive based on the association relationship established between the second device and the first device.

5. The method for three-dimensional modeling of factory buildings based on a module library according to claim 4, characterized in that: After the second device performs a second edit on the first subcomponent, the association relationship between the second device and the first device is established.

6. The method for three-dimensional modeling of factory buildings based on a module library according to claim 5, characterized in that: The first 3D modeling application supports a first editing format; the second 3D modeling application supports a second editing format, and the first editing format is different from the second editing format.

7. The method for three-dimensional modeling of factory buildings based on a module library according to claim 5, characterized in that: The first three-dimensional modeling application and the second three-dimensional modeling application share the module library; After the second device performs a second edit on the first subcomponent, the first subcomponent after the second edit is uploaded to the module library.

8. A module library-based 3D modeling system for factory buildings, comprising a shared module library, a first device and a second device capable of communicating with each other, wherein the first device and the second device are configured with 3D modeling applications supporting different editing formats, characterized in that: Opening a first factory building 3D modeling structure file on the first device using a first 3D modeling application; After performing a first edit on the first subcomponent in the structure file, the first device uploads the first subcomponent to the shared module library in a first edited format, and switches the first three-dimensional modeling application to the background; The shared module library converts the first subcomponent into a second editing format; The second device downloads the first subcomponent in the second editing format from the module library for second editing; After the second device performs the second editing on the first subcomponent, an association relationship is established between the second device and the first device, and the first three-dimensional modeling application is kept alive based on the association relationship.

9. The three-dimensional modeling system for factory buildings based on a module library according to claim 8, characterized in that: The system further includes a component self-drawing module, and the first device or the second device calls the component self-drawing module to draw a third subcomponent, where the third subcomponent is a component of the first factory building three-dimensional modeling structure file.

10. The factory building 3D modeling system based on module library according to claim 8, characterized in that: The system further includes a visualization module, and the first device or the second device calls the visualization module to visually execute the first editing or the second editing.

Citation Information

Patent Citations

  • Visual editing method suitable for three-dimensional virtual factory production scheduling

    CN115374641A

  • Industrial three-dimensional model rendering method and device, equipment and storage medium

    CN118193451A

  • Concealed structure management method of building, building pipeline management method and server

    CN109214950A

  • Cooperative working method and device based on three-dimensional modeling, storage medium and computer equipment

    CN112907732A

  • Website building method and device, medium, and electronic equipment

    CN114036439A

Cited By

  • Method for automatically generating vertical power distribution system diagram based on BIM (Building Information Modeling) in forward design

    CN121031121A