Building model calling system, method, equipment and medium
By providing a calling system for building models in building information model (BIM), the problem of low efficiency in calling models in the prior art is solved, efficient model call and management is realized, and modeling efficiency and project quality are improved.
Patent Information
- Application Number
- CN202411740758.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-11-29
AI Technical Summary
The inefficiency of calling models in existing building information models (BIMs) leads to duplicate modeling and waste of human resources, and the level differences between different modeling personnel affect project quality and consistency.
It provides a calling system for architectural models, including building entity group module, building entity group list display module and calling building entity group module. By obtaining the component information of the building model and the screen coordinates of the insertion point, deeply copying and inserting the target building entity group to the current model, realizing efficient calling and management of the model.
It improves modeling efficiency, reduces duplicate modeling and human resource waste, ensures project quality and consistency, and solves the problem of inefficient calling models in the existing technology.
Smart Images

Figure CN119760809A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of building information modeling, and in particular to a system, method, device and medium for calling a building model. Background Art
[0002] In architectural models, especially in the same community or the same area, the contents of the drawing designs are often completely or partially consistent. This leads to repeated modeling of the same or similar contents, wasting a lot of human resources and being inefficient. In addition, the differences in the levels of different modelers also make the model building results of the same design base map very different, affecting the quality and consistency of the project. Therefore, it is necessary to call the model in the building information model (BIM) to solve the problem of wasting human resources and low efficiency.
[0003] However, the existing model calling methods in Building Information Modeling (BIM) have the problem of low calling efficiency. Summary of the invention
[0004] The embodiments of the present application provide a system, method, device and medium for calling a building model, so as to at least solve the problem of low calling efficiency of the model calling method in the related art.
[0005] In a first aspect, an embodiment of the present application provides a building model calling system, the system comprising a building entity group module, a building entity group list display module and a building entity group calling module; wherein:
[0006] The building entity group module is used to obtain component information of the building model and screen coordinates of the insertion point of the building model according to the building model in the selected range, and deep copy the component information and the screen coordinates to a blank file to create a building entity group;
[0007] The building entity group list display module is used to create a building entity group list according to the plurality of building entity groups, wherein when a building entity group is selected in the building entity group list, component information of the building entity group is loaded and a thumbnail is displayed;
[0008] The calling building entity group module is used to obtain the target building entity group in the building entity group list, and based on the screen coordinates of the insertion point, deeply copy the target building entity group, insert the target building entity group into the current model, and complete the calling of the target building entity group.
[0009] In one embodiment, the building entity group module, when obtaining the screen coordinates of the building model insertion point, deeply copies the component information and the screen coordinates into a blank file, and creates a building entity group, is used to:
[0010] Read the world coordinates of the insertion point, and convert the world coordinates of the insertion point into the screen coordinates of the insertion point;
[0011] The component information and the screen coordinates are deeply copied into a blank file to create a building entity group, wherein the component information includes basic building information, civil engineering information, reinforcement information, location information and link information.
[0012] In one embodiment, when the building entity group module deeply copies the component information and the screen coordinates into a blank file to create a building entity group, it is used to:
[0013] Determine in advance whether the name of the created building entity group exists in the building entity group list file.
[0014] If it exists, it will prompt whether to give up the exit operation or rename the building entity group name.
[0015] If it does not exist, the current building entity group name is used as the name for creating the building entity group.
[0016] In one embodiment, when creating a building entity group list according to the plurality of building entity groups, the building entity group list display module is used to:
[0017] storing the plurality of building entity groups in a building entity group folder;
[0018] Traversing and reading the building entity group files with a suffix of pmblock in the building entity group;
[0019] The names of the building entity groups are arranged and displayed in a list format to obtain a list of building entity groups.
[0020] In one embodiment, the calling building entity group module obtains the target building entity group in the building entity group list, and based on the screen coordinates of the insertion point, deeply copies the target building entity group, inserts the target building entity group into the current model, and completes the calling of the target building entity group, for:
[0021] Selecting a desired target building entity group from the building entity group list, and reading a file corresponding to the target building entity group;
[0022] Determine the target components with the same names in the target building entity group file and the current model file;
[0023] Based on the screen coordinates of the insertion point, according to a preset insertion method, the target component of the target building entity group is deeply copied, and the mapping relationship table is read and called into the current model.
[0024] In one embodiment, the preset insertion method includes:
[0025] Insert the target component and convert it into the existing old component attributes;
[0026] Overwriting the target component into the original component attribute table;
[0027] A new component is created, and the target component is stored in a document.
[0028] In one embodiment, the system further comprises:
[0029] Exporting a building entity group module, used to select a single or multiple building entity groups in the building entity group list, find a file with a suffix of pmblock according to the name, compress the selected building entity group module into a zip file through a compression tool, and store the compressed zip file;
[0030] Import the building entity group module, which is used to read external zip file data, decompress the building entity group file to the target folder, and update the entity group list display.
[0031] In a second aspect, an embodiment of the present application provides a method for calling a building model, the method comprising:
[0032] Obtaining component information of the building model and screen coordinates of an insertion point of the building model, deep copying the component information and the screen coordinates to a blank file, and creating a building entity group;
[0033] Creating a building entity group list according to the plurality of building entity groups, wherein when a building entity group is selected in the building entity group list, component information of the building entity group is loaded and a thumbnail is displayed;
[0034] The target building entity group is obtained from the building entity group list, and based on the screen coordinates of the insertion point, the target building entity group is deeply copied, and the target building entity group is inserted into the current model to complete the call of the target building entity group.
[0035] In a third aspect, an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a building model calling system as described in the first aspect above is implemented.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a building model calling system as described in the first aspect above.
[0037] The embodiments of the present application provide a system, method, device and medium for calling a building model, which have at least the following technical effects.
[0038] The building entity group module is used to obtain the component information of the building model according to the building model in the selected range, and obtain the screen coordinates of the insertion point of the building model, and deeply copy the component information and the screen coordinates to a blank file to create a building entity group. The building entity group list display module is used to create a building entity group list according to multiple building entity groups, wherein when a building entity group is selected in the building entity group list, the component information of the building entity group is loaded and a thumbnail is displayed. The calling building entity group module is used to obtain the target building entity group in the building entity group list, and based on the screen coordinates of the insertion point, deeply copy the target building entity group, insert the target building entity group into the current model, and complete the calling of the target building entity group. The storage, calling, transmission, model matching of the entire model or regional model are realized, and the modeling efficiency is improved. The packaged entity group information is small in size, high in information content and visual. When calling, it matches the new model according to the selection, improves the calling efficiency, and updates the model information. The problem of low calling efficiency in the model calling method in the related technology is solved.
[0039] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0041] Figure 1 is a system structure block diagram of calling a building model according to an exemplary embodiment;
[0042] Figure 2 is a schematic diagram of a building entity group list display module according to an exemplary embodiment;
[0043] Figure 3 is a schematic diagram showing a method of calling a preset insertion mode in a building entity group module according to an exemplary embodiment;
[0044] Figure 4 is a call flow chart of a building model according to an exemplary embodiment;
[0045] Figure 5 It is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated 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 intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0047] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as the content disclosed in this application is insufficient.
[0048] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0049] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the positional relationship of the associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0050] In architectural models, especially in the same community or the same area, the contents of the drawing designs are often completely or partially consistent. This leads to repeated modeling of the same or similar contents, wasting a lot of human resources and being inefficient. In addition, the differences in the levels of different modelers also make the model building results of the same design base map very different, affecting the quality and consistency of the project. Therefore, it is necessary to call the model in the building information model (BIM) to solve the problem of wasting human resources and low efficiency.
[0051] Existing modeling software has many deficiencies and defects when storing and calling models, which are as follows:
[0052] Unable to meet the matching requirements of different buildings: Existing software cannot flexibly match the specific needs of different buildings, resulting in unnecessary duplication of work during the modeling process.
[0053] Unable to store multiple entity groups at the same time: Existing modeling software can usually only import and export one entity group in a database, without an entity group list, which limits the efficiency of multi-model management.
[0054] Unable to transfer and share entity groups across projects: Entity groups cannot be easily transferred and shared between different projects, which affects team collaboration and project management.
[0055] Unable to process in batches: The existing software can only process one entity group at a time, and can only import and export one entity at a time. It cannot process in batches, which reduces work efficiency.
[0056] Therefore, the embodiments of the present application provide a system, method, device and medium for calling a building model to solve the above-mentioned problems.
[0057] In a first aspect, an embodiment of the present application provides a system for calling a building model. Figure 1 is a system structure diagram of calling a building model according to an exemplary embodiment. Figure 1 As shown, a building model calling system includes a building entity group module 110, a building entity group list display module 120 and a building entity group calling module 130; wherein,
[0058] The building entity group module 110 is used to obtain the component information of the building model and the screen coordinates of the insertion point of the building model according to the building model in the selected range, and to deep copy the component information and the screen coordinates to a blank file to create a building entity group;
[0059] A building entity group list display module 120 is used to create a building entity group list according to a plurality of building entity groups, wherein when a building entity group is selected in the building entity group list, component information of the building entity group is loaded and a thumbnail is displayed;
[0060] The building entity group calling module 130 is used to obtain the target building entity group in the building entity group list, and based on the screen coordinates of the insertion point, deeply copy the target building entity group, insert the target building entity group into the current model, and complete the calling of the target building entity group.
[0061] In summary, a building model calling system provided by an embodiment of the present application is used to obtain the component information of the building model according to the building model in the selected range, and obtain the screen coordinates of the insertion point of the building model, and deeply copy the component information and screen coordinates to a blank file to create a building entity group. A building entity group list display module is used to create a building entity group list according to multiple building entity groups, wherein when a building entity group is selected in the building entity group list, the component information of the building entity group is loaded and a thumbnail is displayed. A building entity group calling module is used to obtain a target building entity group in the building entity group list, and based on the screen coordinates of the insertion point, deeply copy the target building entity group, insert the target building entity group into the current model, and complete the calling of the target building entity group. The storage, calling, transmission, and model matching of the entire model or regional model are realized, and the modeling efficiency is improved. The packaged entity group information is small in size, high in information content, and visual. When calling, it matches the new model according to the selection, improves the calling efficiency, and updates the model information. The problem of low calling efficiency in the model calling method in the related art is solved.
[0062] In one embodiment, the building entity group module is used to obtain component information of the building model and screen coordinates of the insertion point of the building model according to the building model in the selected range, and deep copy the component information and screen coordinates to a blank file to create a building entity group.
[0063] Optionally, read the world coordinates of the insertion point and convert the world coordinates of the insertion point to the screen coordinates of the insertion point;
[0064] Deep copy the component information and screen coordinates to a blank file to create a building entity group, where the component information includes basic building information, civil engineering information, reinforcement information, location information, and link information.
[0065] Specifically, you can use the mouse to select all the building component properties within the selected range, and read the world coordinates of the insertion point and convert them into screen coordinates. Deep copy the component information and screen coordinates to a blank file to create a building entity group. You can create multiple building entity groups. The path of the blank file can be customized. Among them, the component information includes basic building information (for example, component name, section size, elevation, concrete type, formwork type, pouring method, concrete mixing requirements, material, concrete strength and other basic information), civil engineering information, steel bar information (for example, specific reinforcement, specific large-scale drawings of components used, lap settings, anchor value settings, seismic registration, protective layer, steel bar hook form, steel bar settings, etc.), location information link information and practice information (for example, which province or city's template is selected, calculation rules, deduction relationship, calculation method, etc.).
[0066] It is worth noting that world coordinates refer to the absolute position of an object in three-dimensional space. The position of each point is represented by three coordinate values (x, y, z), which are relative to the world origin (usually (0, 0, 0)). World coordinates are used to accurately describe the position of points in three-dimensional space to ensure accurate positioning in three-dimensional models. Screen coordinates refer to coordinates displayed on a two-dimensional screen. The position of each point is represented by two coordinate values (x, y), which are relative to the upper left corner of the screen (usually (0, 0)). Screen coordinates are used to display the position of points on the user interface, providing intuitive visual feedback and facilitating user operation and confirmation. Convert world coordinates in three-dimensional space to two-dimensional screen coordinates so that the position of the insertion point can be intuitively displayed on the user interface.
[0067] The Building Entity Group module obtains detailed component information to ensure that all relevant information is complete and accurate when creating a building entity group. By reading the world coordinates of the insertion point and converting them to screen coordinates, the insertion point is accurately positioned in three-dimensional space, improving modeling accuracy. By deep copying data, each building entity group file is ensured to be independent, and modifying one entity group will not affect other entity groups. Multiple building entity groups can be created to facilitate user management and reuse of different model parts. Building entity group files are stored in a specified path to facilitate users to share and use in different projects.
[0068] In one embodiment, when creating a building entity group by deep copying component information and screen coordinates into a blank file, the building entity group module is used to:
[0069] Pre-determine whether the name of the created building entity group exists in the building entity group list file.
[0070] If it exists, it will prompt whether to abandon the exit operation or rename the building entity group name.
[0071] If it does not exist, the current building entity group name will be used as the name of the created building entity group.
[0072] Optionally, for the newly created building entity group, it is pre-judged whether the name of the created building entity group exists in the List file. If it exists, it is prompted whether to abandon the exit operation or rename the building entity group name. If it does not exist, the current building entity group name is used as the name of the created building entity group. The named building entity group file is saved.
[0073] By pre-judging whether the name of the created building entity group exists in the building entity group list file, the name of each building entity group is ensured to be unique, avoiding data confusion caused by name conflicts. When the system detects a building entity group with the same name, it will promptly prompt the user to choose to give up the exit operation or rename it, ensuring the transparency and controllability of user operations.
[0074] In one embodiment, when creating a building entity group list according to a plurality of building entity groups, the building entity group list display module is used to:
[0075] Store multiple building entity groups in building entity group folders;
[0076] Traverse and read the building entity group files with the suffix pmblock in the building entity group;
[0077] The names of the building entity groups are displayed in a list format, and the building entity group list is obtained.
[0078] Optionally, Figure 2 is a schematic diagram of a building entity group list display module according to an exemplary embodiment. Figure 2 As shown, multiple building entity groups are stored in a building entity group folder, and the building entity group files with the suffix pmblock are traversed and read, and the display names are arranged in a List list, and the name information is stored to obtain the building entity group list. When a building entity group is selected in the building entity group list, the component information of the building entity group is loaded and a thumbnail is displayed.
[0079] Specifically, click on the building entity group, and the established building entity group will be displayed on the left. Click on the entity group name to preview it on the right. The established entity group can be transferred with the software, or it can be transferred by importing and exporting the entity group data separately. You can create a new entity group in the open model, select the range and components, and then name and store them; all the building entity groups in the software (not limited to projects, it can be multiple projects) will be displayed on the left, and you can also delete the unused entity groups. Inserting an entity group is to insert the currently selected entity group into the current model. The position of the insertion point can be set when creating a new entity group. The entity groups in the entity group list are stored in the project model by default, and can be upgraded with the project. You can choose whether to transfer with the project. In addition, a project model can store the entity groups of this project, and can also import entity groups of external projects, but all entity groups are ultimately displayed in the entity group list. Switch the entity groups in the entity group list, and each entity group will have a visual preview of the original model, and support the zooming in and out operation of the mouse wheel, intuitively displaying the model layout and included components of the entity group, as well as local information. The entity groups in the building entity group list can be deleted and renamed. They can also be imported and exported for external storage and transfer. They can also be reused and transferred between different versions of the same software.
[0080] The building entity group list display module can switch different building entity group names to view thumbnails when calling the building entity group, preview multiple building entity groups, and intuitively display the content of the building entity group, which is convenient for users to confirm and operate. It is helpful to solve the problem that most software stores only data names without thumbnail previews. As time goes by, users tend to forget the specific information of the stored content, resulting in inconvenience. By creating a building entity group list, it effectively solves the problem that existing modeling software can usually only import and export one entity group in a database, and there is no entity group list, which limits the efficiency of multi-model management, thereby improving the efficiency of model management. The entity groups in the entity group list are stored in the project model by default, which can ensure the integrity and consistency of the data as the project is upgraded.
[0081] In one embodiment, the building entity group module is called to obtain the target building entity group in the building entity group list, and based on the screen coordinates of the insertion point, the target building entity group is deeply copied and inserted into the current model. When the call of the target building entity group is completed, it is used to:
[0082] Select the desired target building entity group in the building entity group list, and read the file corresponding to the target building entity group;
[0083] Determine the target components with the same names in the target building entity group file and the current model file;
[0084] Based on the screen coordinates of the insertion point, according to the preset insertion method, the target component of the target building entity group is deeply copied, and the mapping relationship table is read and called into the current model.
[0085] Optionally, after selecting the required entity group in the List table, read the file of the corresponding building entity group, and store the component information in a red-black tree data structure. Compared with other storage methods, this storage method has the advantage of fast reading speed. And determine the components with the same name in the building entity group file and the current model file. Figure 3 is a schematic diagram showing a method of calling a preset insertion method in a building entity group module according to an exemplary embodiment. Figure 3As shown in the figure, when calling the building entity group, you can use the preset insertion method (use, overwrite and create) and read the insertion point. Deep copy the component information of the entity group file and read the mapping relationship table to the components in this document. When using the use method, the inserted component is directly converted into the existing old component attributes; in the case of overwriting, the new component information is overwritten into the original component attribute table; in the case of creating, the new component information should be created and the component information to be copied is obtained and stored in the document. It also supports continuous insertion, lists all components of the entity group file as a whole and inserts them into the large component, and adjusts the continuous insertion according to the insertion point movement. The entire entity group model follows the insertion point of the original model and is inserted into the engineering model, and the interface display of the newly created component is updated. The inserted building entity group constitutes part of the new engineering model, and components can be added or deleted or component information can be changed in the new model. The modified model can also be rebuilt into an entity group for storage, call and transfer. When needed, directly insert the building entity group and place the block where it is needed by selecting the insertion point. It can also be improved (add or subtract components or change information, etc.) The block can be stored and called again.
[0086] Specifically, when the inserted building entity group encounters components with the same name in the current project, that is, when inserting a building entity group, if there are components with the same name in the current building entity group and the original building entity group, the component information with the same name in the original entity group can be used, overwritten, or added. There are three options: use, overwrite, and add. Choose to adapt the relationship between the components in the building entity group and the model to be inserted as needed: you can completely overwrite the component information in the model, update or overwrite according to the information. For example, there are multiple buildings in the model, Building 1, Building 2, Building 1 has concrete columns, and Building 2 does not have concrete columns. If there are concrete columns in the entity group to be inserted, you can choose to keep the concrete column information of Building 1 in Building 1 according to the selection box when importing, and use the information contained in the entity group in Building 2. Different preset insertion methods are to meet the matching of the new and old models according to the actual situation to the greatest extent and refresh the model information. It can meet different matching methods for different buildings in the same project.
[0087] It should be noted that the mapping relationship is mainly a component handle (ID) information conversion table or correspondence table. The component handle (ID) is the unique identification information of the component in each project, and the handle information in each independent project is not repeated. For example, each component in the target building entity group has a unique identification ID, which may be data from 0 to 100, and this data is independent; and each component in the current model file also has a unique identification ID, which may also contain data from 0 to 100; in order to ensure that the id information in the target entity group and the current model file is not repeated, the newly added entity group component will be re-handled according to the handle in the current model file, so that the newly added component will have two handle codes, one in the entity group and one in the current model, and these two handles have a corresponding relationship, forming a mapping relationship table.
[0088] The module for calling building entity groups provides three preset insertion methods (use, overwrite, and create). Users can choose the appropriate processing method according to actual needs to ensure the flexibility and accuracy of the insertion operation. When inserting a building entity group, if there are components with the same name in the current building entity group and the original building entity group, the component information with the same name in the original entity group can be used, overwritten, or added to ensure the matching of the new and old models. It can meet the different matching methods of different buildings in the same project and improve the efficiency of building model calling.
[0089] In one embodiment, the system also includes an export building entity group module, which is used to select a single or multiple building entity groups in the building entity group list, find the file with the suffix pmblock according to the name correspondence, compress the selected building entity group module into a zip file through a compression tool, and store the compressed zip file.
[0090] Optionally, the exported file can select single or multiple entity group components in the entity group list, find the building entity group file with the suffix "pmblock" according to the name correspondence, and use the Zip Archive library to compress the file and store it as a zip file.
[0091] The export building entity group module can easily select one or more building entity groups in the building entity group list for export, which is easy to operate. The selected building entity group file is compressed into a zip file through the compression tool to reduce the file size and improve the transmission efficiency. The compressed file is stored in the specified path for easy user management and sharing.
[0092] In one embodiment, the system further includes a building entity group importing module for reading external zip file data, decompressing the building entity group file into a target folder, and updating the entity group list display.
[0093] Optionally, use a decompression tool (such as Zip Archive library) to ensure the efficiency and reliability of the decompression process. After the system decompresses the file, it immediately updates the entity group list display to ensure that users can quickly view and use the newly imported building entity groups. Users can select multiple zip files for import, providing flexible management.
[0094] In summary, a building model calling system provided by an embodiment of the present application is used to obtain the component information of the building model according to the building model in the selected range, and obtain the screen coordinates of the insertion point of the building model, and deeply copy the component information and screen coordinates to a blank file to create a building entity group. A building entity group list display module is used to create a building entity group list according to multiple building entity groups, wherein when a building entity group is selected in the building entity group list, the component information of the building entity group is loaded and a thumbnail is displayed. A building entity group calling module is used to obtain a target building entity group in the building entity group list, and based on the screen coordinates of the insertion point, deeply copy the target building entity group, insert the target building entity group into the current model, and complete the calling of the target building entity group. The storage, calling, transmission, and model matching of the entire model or regional model are realized, and the modeling efficiency is improved. The packaged entity group information is small in size, high in information content, and visual. When calling, it matches the new model according to the selection, improves the calling efficiency, and updates the model information. The problem of low calling efficiency in the model calling method in the related art is solved.
[0095] Specifically, the built models are selected by box selection and other methods and then packaged to form an "entity group"; the entity group includes all the information of the packaged components (attributes, reinforcement, list quota, civil engineering rules, reinforcement settings, calculation methods, position relationships, link relationships, etc.). The entity group is stored in the user's custom or specific path and can be shared or saved. When needed, the visual block component can be directly extracted, and the block can be placed where needed by selecting the insertion point. The block can also be improved (adding or subtracting components or changing information, etc.) and then stored and called again. The storage, calling, transmission and model matching of the entire model or regional model are realized. Improve modeling efficiency. The packaged entity group information is small in size, high in information content and visualized. When calling, it matches the new model according to the selection and updates the model information. It is similar to the compressed package of Xiao Er Jing, which does not need to be transmitted and shared through software, and is visualized in the cloud.
[0096] In a second aspect, an embodiment of the present application provides a method for calling a building model. Figure 4 It is a call flow chart of a building model. Figure 4 As shown, the method includes:
[0097] Step S101, obtaining component information of a building model and screen coordinates of an insertion point of the building model, deep copying the component information and screen coordinates to a blank file, and creating a building entity group;
[0098] Step S102: creating a building entity group list according to the plurality of building entity groups, wherein when a building entity group is selected in the building entity group list, loading component information of the building entity group and displaying a thumbnail;
[0099] Step S103: Obtain the target building entity group from the building entity group list, and based on the screen coordinates of the insertion point, deeply copy the target building entity group, insert the target building entity group into the current model, and complete the call of the target building entity group.
[0100] In summary, the present application provides a method for calling a building model, which obtains the component information of the building model and the screen coordinates of the insertion point of the building model, deeply copies the component information and the screen coordinates to a blank file, and creates a building entity group. A building entity group list is created based on multiple building entity groups, wherein when a building entity group is selected in the building entity group list, the component information of the building entity group is loaded and a thumbnail is displayed. The target building entity group is obtained in the building entity group list, and based on the screen coordinates of the insertion point, the target building entity group is deeply copied, and the target building entity group is inserted into the current model to complete the calling of the target building entity group. The storage, calling, transmission, and model matching of the entire model or regional model are realized, and the modeling efficiency is improved. The packaged entity group information is small in size, high in information content, and visual. When calling, it matches the new model according to the selection, improves the calling efficiency, and updates the model information. The problem of low calling efficiency in the model calling method in the related art is solved.
[0101] It should be noted that the system for calling a building model provided in this embodiment is used to implement the above implementation mode, and the descriptions that have been made will not be repeated. As used above, the terms "module", "unit", "subunit" and the like can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the above embodiment is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0102] In a third aspect, an embodiment of the present application provides an electronic device, Figure 5 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 5 As shown, the electronic device may include a processor 51 and a memory 52 storing computer program instructions.
[0103] Specifically, the processor 51 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0104] Among them, the memory 52 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 52 may include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 52 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 52 may be inside or outside the data processing device. In a specific embodiment, the memory 52 is a non-volatile memory. In a specific embodiment, the memory 52 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable ProgrammableRead-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable ProgrammableRead-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.
[0105] The memory 52 may be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor 51 .
[0106] The processor 51 reads and executes the computer program instructions stored in the memory 52 to implement any one of the building model calling methods in the above embodiments.
[0107] In one embodiment, a device for calling a building model may further include a communication interface 53 and a bus 50. Figure 5 As shown, the processor 51, the memory 52, and the communication interface 53 are connected via a bus 50 and communicate with each other.
[0108] The communication interface 53 is used to implement communication between the modules, devices, units and / or equipment in the embodiment of the present application. The communication port 53 can also implement data communication with other components such as: external devices, image / data acquisition equipment, databases, external storage, and image / data processing workstations.
[0109] The bus 50 includes hardware, software or both, and couples the components of the equipment called by a building model to each other. The bus 50 includes but is not limited to at least one of the following: data bus, address bus, control bus, expansion bus, and local bus. By way of example and not limitation, bus 50 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, bus 50 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0110] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a program stored thereon, and when the program is executed by a processor, a method for calling a building model provided in the first aspect is implemented.
[0111] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0112] In a possible implementation, the present invention can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of a method for calling a building model provided in the first aspect.
[0113] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0114] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0115] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A building model calling system, characterized in that: The system includes a building entity group module, a building entity group list display module and a building entity group calling module; wherein, The building entity group module is used to obtain component information of the building model and screen coordinates of the insertion point of the building model according to the building model in the selected range, and deep copy the component information and the screen coordinates to a blank file to create a building entity group; The building entity group list display module is used to create a building entity group list according to the plurality of building entity groups, wherein when a building entity group is selected in the building entity group list, component information of the building entity group is loaded and a thumbnail is displayed; The calling building entity group module is used to obtain the target building entity group in the building entity group list, and based on the screen coordinates of the insertion point, deeply copy the target building entity group, insert the target building entity group into the current model, and complete the calling of the target building entity group.
2. The system according to claim 1, characterized in that The building entity group module obtains the screen coordinates of the building model insertion point, deeply copies the component information and the screen coordinates to a blank file, and creates a building entity group, for: Read the world coordinates of the insertion point, and convert the world coordinates of the insertion point into the screen coordinates of the insertion point; The component information and the screen coordinates are deeply copied into a blank file to create a building entity group, wherein the component information includes basic building information, civil engineering information, reinforcement information, location information and link information.
3. The system according to claim 2, characterized in that The building entity group module, when creating a building entity group by deep copying the component information and the screen coordinates into a blank file, is used to: Determine in advance whether the name of the created building entity group exists in the building entity group list file. If it exists, it will prompt whether to give up the exit operation or rename the building entity group name. If it does not exist, the current building entity group name is used as the name for creating the building entity group.
4. The system according to claim 1, characterized in that When creating a building entity group list according to the plurality of building entity groups, the building entity group list display module is used to: storing the plurality of building entity groups in a building entity group folder; Traversing and reading the building entity group files with a suffix of pmblock in the building entity group; The names of the building entity groups are arranged and displayed in a list format to obtain a list of building entity groups.
5. The system according to claim 1, characterized in that The calling building entity group module obtains the target building entity group in the building entity group list, and based on the screen coordinates of the insertion point, deeply copies the target building entity group, inserts the target building entity group into the current model, and completes the calling of the target building entity group, which is used to: Selecting a desired target building entity group from the building entity group list, and reading a file corresponding to the target building entity group; Determine the target components with the same names in the target building entity group file and the current model file; Based on the screen coordinates of the insertion point, according to a preset insertion method, the target component of the target building entity group is deeply copied, and the mapping relationship table is read and called into the current model.
6. The system according to claim 5, characterized in that The preset insertion method includes: Insert the target component and convert it into the existing old component attributes; Overwriting the target component into the original component attribute table; A new component is created, and the target component is stored in a document.
7. The system according to claim 1, characterized in that The system further comprises: Exporting a building entity group module, used to select a single or multiple building entity groups in the building entity group list, find a file with a suffix of pmblock according to the name, compress the selected building entity group module into a zip file through a compression tool, and store the compressed zip file; Import the building entity group module, which is used to read external zip file data, decompress the building entity group file to the target folder, and update the entity group list display.
8. A method for calling a building model, characterized in that: The method comprises: Obtaining component information of the building model and screen coordinates of an insertion point of the building model, deep copying the component information and the screen coordinates to a blank file, and creating a building entity group; Creating a building entity group list according to the plurality of building entity groups, wherein when a building entity group is selected in the building entity group list, component information of the building entity group is loaded and a thumbnail is displayed; The target building entity group is obtained from the building entity group list, and based on the screen coordinates of the insertion point, the target building entity group is deeply copied, and the target building entity group is inserted into the current model to complete the call of the target building entity group.
9. An electronic device, characterized in that: The invention comprises a memory and a processor, a computer program stored in the memory and executable on the processor, and the processor implements a calling system of a building model as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a calling system for a building model according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Mapping system and method used between BIM model and GIS model
CN108319616A
A method of integrating BIM data and GIS data based on glTF
CN109408044A
Building floor facade extraction method based on Revit API
CN113674436A
Method for importing building information model data into Cesium
CN115391902A
Construction scene graphical management method and device based on BIM
CN116663098A