A system, method, apparatus, and medium for invoking a building model
By calling the building model system, component information and screen coordinates are obtained, entity groups are created, and deep copy insertion is performed. This solves the problem of low efficiency in calling models in existing technologies and improves modeling efficiency and model consistency.
Patent Information
- Application Number
- CN202411740758.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2044-11-29
AI Technical Summary
In Building Information Modeling (BIM), existing technologies suffer from low efficiency in calling up models, leading to redundant modeling, wasted human resources, and impacting project quality and consistency.
A building model calling system is provided, including a building entity group module, a list display module, and a calling module. By obtaining component information and screen coordinates, a building entity group is created, and a target entity group is selected in the list for deep copying and insertion. It supports multi-entity group management and visual operation.
It improves modeling efficiency, enables the storage, retrieval, and transfer of models, ensures model matching and updates, and solves the problem of low retrieval efficiency.
Smart Images

Figure CN119760809B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of building information modeling, and in particular to a building model calling system, method, device and medium. BACKGROUND
[0002] In a building model, especially in the same community or the same area, the contents of the design drawings are often completely or partially consistent. This leads to repeated modeling of the same or similar contents, wasting a large amount of human resources and being low in efficiency. In addition, the level difference of different modeling personnel also makes the modeling results different when facing the same design base map, 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 problems of wasting human resources and low efficiency.
[0003] However, the existing model calling method in the building information model (BIM) has the problem of low calling efficiency. SUMMARY
[0004] The embodiments of the present application provide a building model calling system, method, device and medium to at least solve the problem of low calling efficiency of the model calling method in the related art.
[0005] In a first aspect, the embodiments of the present application provide a building model calling system, which comprises a building entity group module, a building entity group list display module and a calling building entity group module; wherein,
[0006] The building entity group module is configured to obtain component information of a building model according to the building model in a selected range, and obtain screen coordinates of an insertion point of the building model, deep copy the component information and the screen coordinates into a blank file, and create a building entity group.
[0007] The building entity group list display module is configured 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, the component information of the building entity group is loaded and a thumbnail is displayed.
[0008] The calling building entity group module is configured to obtain a target building entity group in the building entity group list, and deep copy the target building entity group based on the screen coordinates of the insertion point, insert the target building entity group into a current model, and complete calling of the target building entity group.
[0009] In an embodiment, when the building entity group module obtains the screen coordinates of the insertion point of the building model, deep copies the component information and the screen coordinates into a blank file, and creates a building entity group, it is configured to:
[0010] reading world coordinates of the insertion point and converting the world coordinates of the insertion point into screen coordinates of the insertion point;
[0011] deeply copying the component information and the screen coordinates into a blank file to create a building entity group, wherein the component information comprises building basic information, civil information, steel information, position information and link information.
[0012] In an embodiment, the building entity group module, when deeply copying the component information and the screen coordinates into a blank file to create a building entity group, is configured to:
[0013] pre-judging whether a created building entity group name exists in a building entity group list file,
[0014] if the created building entity group name exists, prompting whether to abandon the exit operation or rename the building entity group name,
[0015] if the created building entity group name does not exist, using the current building entity group name as the created building entity group name.
[0016] In an embodiment, the building entity group list display module, when creating a building entity group list according to a plurality of building entity groups, is configured to:
[0017] storing a plurality of building entity groups in a building entity group folder;
[0018] traversing and reading building entity group files with a suffix of pmblock in the building entity groups;
[0019] arranging and displaying names of the building entity groups in a list form to obtain a building entity group list.
[0020] In an embodiment, the calling building entity group module, when obtaining a target building entity group in the building entity group list and deeply copying the target building entity group based on the screen coordinates of the insertion point to insert the target building entity group into a current model to complete calling of the target building entity group, is configured to:
[0021] selecting a target building entity group needed in the building entity group list and reading a file corresponding to the target building entity group;
[0022] determining a target component with a same name in a target building entity group file and a current model file;
[0023] deeply copying the target component of the target building entity group according to a preset insertion mode based on the screen coordinates of the insertion point and reading a mapping relationship table to call into the current model.
[0024] In an embodiment, the preset insertion mode includes:
[0025] inserting the target component and converting into an existing old component attribute;
[0026] covering the target component into an original component attribute table;
[0027] creating a new component and storing the target component in a document.
[0028] In an embodiment, the system further includes:
[0029] an export building entity group module for selecting one or more building entity groups in the building entity group list, finding a file with a suffix of pmblock according to a name, compressing the selected building entity group module into a zip file by a compression tool, and storing the compressed zip file;
[0030] an import building entity group module for reading external zip file data and decompressing the building entity group file into a target folder, and updating an 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 including:
[0032] obtaining component information of the building model and obtaining screen coordinates of an insertion point of the building model, deep copying the component information and the screen coordinates into a blank file, and creating a building entity group;
[0033] creating 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;
[0034] obtaining a target building entity group in the building entity group list, deep copying the target building entity group based on the screen coordinates of the insertion point, inserting the target building entity group into a current model, and completing calling of the target building entity group.
[0035] In a third aspect, an embodiment of the present application provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a calling system of a building model according to the first aspect.
[0036] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium having a computer program stored thereon, wherein the program is executable on a processor to implement a calling system of a building model according to the first aspect.
[0037] The building model calling system, method, device and medium provided by the embodiment of the application have at least the following technical effects.
[0038] The building entity group module is configured to obtain component information of a building model in a selected range and screen coordinates of a building model insertion point, and to create a building entity group by deep copying the component information and the screen coordinates into a blank file. The building entity group list display module is configured to create a building entity group list according to a plurality of building entity groups, and to load component information of a selected building entity group in the building entity group list and display a thumbnail image. The calling building entity group module is configured to obtain a target building entity group in the building entity group list and deep copy the target building entity group based on the screen coordinates of the insertion point, and to insert the target building entity group into a current model to complete calling of the target building entity group. The storage, calling, transmission and model matching of the entire model or the regional model are implemented, and the modeling efficiency is improved. The packaged entity group information has a small volume, high information content and visualization, and the calling efficiency is improved by matching a new model according to a selection during calling, and the model information is updated. The problem of low calling efficiency in the related art is solved.
[0039] Details of one or more embodiments of the application are presented in the following drawings and description to make other features, objects and advantages of the application more apparent. BRIEF DESCRIPTION OF DRAWINGS
[0040] The accompanying drawings illustrated herein are used to provide further understanding of the application, and constitute a part of the application. The schematic embodiments of the application and the description thereof are used to explain the application, and do not constitute an improper limitation on the application. In the drawings:
[0041] Figure 1 is a system structure block diagram of calling of 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 of a preset insertion mode in a calling building entity group module according to an exemplary embodiment;
[0044] Figure 4 is a calling flowchart of a building model according to an exemplary embodiment;
[0045] Figure 5 is a structure block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0046] In order to make the purposes, technical solutions, and advantages of the present application clearer, the present application is described and explained 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 should not be used to limit the present application. Based on the embodiments provided by the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort belong to the scope of the present application.
[0047] It is obvious that the accompanying drawings in the following description are only some examples or embodiments of the present application, and for those of ordinary skill in the art, the present application can be applied to other similar scenarios without creative effort based on the accompanying drawings. In addition, it can be understood that although the efforts made in the development process can be complex and lengthy, for those of ordinary skill in the art related to the content disclosed in the present application, some design, manufacture or production changes based on the technical content disclosed in the present application are only routine technical means and should not be understood as insufficient disclosure of the content disclosed in the present application.
[0048] In the present application, "embodiments" means that the specific features, structures or properties described in conjunction with the embodiments can be included in at least one embodiment of the present application. The phrase appears at various places in the specification does not necessarily refer to the same embodiment, nor is it mutually exclusive or alternative to other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in the present application can be combined with other embodiments without conflict.
[0049] Unless otherwise defined, technical terms and scientific terms used in the present application shall have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terms "a", "an", "one", "this", and similar referents in the context of describing the application are to be construed to be inclusive, not exclusive. For example, the use of the term "a" or "one" or "the" to refer to an item shall not (except where otherwise expressly so limited) be construed to exclude as having two or more such items present, unless explicitly limited such as "only one". The terms "comprising", "including", "containing", and similar terms are intended to be inclusive and are used in the sense of "including but not limited to". The terms "connected", "coupled", and "pathway" are not restricted to direct or physical connections or couplings, and can include indirect or electrical couplings. The term "multiple" means two or more. The term "and / or" describes a relationship between associated objects, and means that there are three possible relationships: A and / or B means that there can be A alone, A and B together, or B alone. The character " / " generally means an "or" relationship between the associated objects. The terms "first", "second", "third", and the like are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence.
[0050] In architectural modeling, especially in the same community or the same area, the contents of the design drawings are often completely or partially consistent. This leads to repeated modeling of the same or similar content, wasting a large amount of human resources and being inefficient. In addition, the level difference of different modeling personnel also makes the modeling results different when facing the same design base map, which affects 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] The existing modeling software has various deficiencies and defects in storing and calling the model, which is specifically manifested as follows:
[0052] Different building matching processing cannot be met: the existing software cannot perform flexible matching processing according to the specific needs of different buildings, resulting in unnecessary repeated work in the modeling process.
[0053] Multiple entity groups cannot be stored at the same time: the existing modeling software can usually only import and export one entity group in one database, without an entity group list, which limits the efficiency of multi-model management.
[0054] Entity groups cannot be passed and shared between projects: entity groups cannot be conveniently passed and shared between different projects, which affects team collaboration and project management.
[0055] Batch processing is not available: existing software can only process one entity group at a time, and import and export can only be one, which cannot be batch processed, reducing work efficiency.
[0056] Therefore, the embodiments of the present application provide a building model calling system, method, device and medium to solve the above problems.
[0057] In a first aspect, the embodiments of the present application provide a building model calling system, Figure 1 is a system structure block diagram of a building model calling according to an exemplary embodiment, as shown in 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 configured to obtain component information of a building model and screen coordinates of a building model insertion point according to the building model in the selected range, deep copy the component information and the screen coordinates to a blank file, and create a building entity group.
[0059] The building entity group list display module 120 is configured to create a building entity group list according to a plurality of building entity groups, wherein when a building entity group in the building entity group list is selected, the component information of the building entity group is loaded and a thumbnail is displayed.
[0060] The building entity group calling module 130 is configured to obtain a target building entity group in the building entity group list, deep copy the target building entity group based on the screen coordinates of the insertion point, insert the target building entity group into a current model, and complete calling of the target building entity group.
[0061] In summary, the embodiment of the present application provides a building model calling system. The building entity group module is used to obtain component information of a building model according to the building model in a selected range, obtain screen coordinates of a building model insertion point, 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 a plurality of building entity groups. When a selected building entity group is in the building entity group list, the component information of the building entity group is loaded and a thumbnail is displayed. The building entity group calling module is used to obtain a target building entity group in the building entity group list, deep copy the target building entity group based on the screen coordinates of the insertion point, insert the target building entity group into a current model, and complete calling of the target building entity group. The storage, calling, transmission, and model matching of the entire model or the regional model are realized, and the modeling efficiency is improved. The packaged entity group information has small volume, high information content, and visualization. When calling, the new model is matched according to the selection, the calling efficiency is improved, and the model information is updated. The problem of low calling efficiency in the related art model calling method is solved.
[0062] In an embodiment, the building entity group module is used to obtain component information of a building model according to the building model in a selected range, obtain screen coordinates of a building model insertion point, and deep copy the component information and the screen coordinates to a blank file to create a building entity group.
[0063] Optionally, the world coordinates of the insertion point are read, and the world coordinates of the insertion point are converted into screen coordinates of the insertion point.
[0064] The component information and the screen coordinates are deep copied to a blank file to create a building entity group. The component information includes building basic information, civil engineering information, steel bar information, position information, and link information.
[0065] Specifically, all building component attributes in the selected range can be selected by a mouse box, and the world coordinates of the insertion point are read and converted into screen coordinates. The component information and the screen coordinates are deep copied to a blank file to create a building entity group. There can be multiple building entity groups. The path of the blank file can be set by the user. The component information includes building basic information (for example, component name, cross-sectional size, elevation, concrete type, template type, pouring method, concrete mixing requirement, material, concrete strength, and other basic information), civil engineering information, steel bar information (for example, specific reinforcement, specific component detail drawing used, lapping setting, anchoring value setting, seismic registration, protection layer, steel bar hook form, and steel bar setting), position information, link information, and method information (for example, selected template of a province or city, calculation rule, deduction relationship, calculation method, and the like).
[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, ensuring accurate positioning in three-dimensional models. Screen coordinates refer to the 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 top-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 for users to operate and confirm. World coordinates in three-dimensional space are converted to two-dimensional screen coordinates to visually display the position of the insertion point on the user interface.
[0067] The building entity group module ensures that all relevant information is complete and accurate when creating building entity groups by obtaining detailed component information. By reading the world coordinates of the insertion point and converting them to screen coordinates, the position of the insertion point in three-dimensional space is accurately determined, improving the accuracy of modeling. By deep copying data, each building entity group file is 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, making it easy for users to share and use them in different projects.
[0068] In an embodiment, the building entity group module, when creating a building entity group by deep copying component information and screen coordinates to a blank file, is used to:
[0069] pre-judge whether the created building entity group name exists in the building entity group list file,
[0070] if it exists, prompt whether to abandon the exit operation or rename the building entity group name,
[0071] if it does not exist, use the current building entity group name as the created building entity group name.
[0072] Optionally, the newly created building entity group is pre-judged for the existence of the created building entity group name in the List list file. If it exists, prompt whether to abandon the exit operation or rename the building entity group name. If it does not exist, use the current building entity group name as the created building entity group name. And save the named building entity group file.
[0073] By pre-judging whether the created building entity group name exists in the building entity group list file, the uniqueness of each building entity group name is ensured, avoiding data confusion caused by name conflicts. When the system detects a building entity group with the same name, it will prompt the user to choose to abandon the exit operation or rename, ensuring the transparency and controllability of user operations.
[0074] In an embodiment, the building entity group list display module is used for:
[0075] storing the plurality of building entity groups in a building entity group folder;
[0076] traversing and reading the building entity group files with the suffix pmblock in the building entity group folder;
[0077] displaying the names of the building entity groups in a list form to obtain a building entity group list.
[0078] Optionally, Figure 2 is a schematic diagram of a building entity group list display module according to an exemplary embodiment, as Figure 2 shown, the plurality of building entity groups are stored in a building entity group folder, the building entity group files with the suffix pmblock are traversed and read, the names are displayed in a list form, the name information is stored, and a building entity group list is obtained. 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, by clicking a building entity group, the already established building entity groups are displayed on the left side, and the entity group name is clicked to preview on the right side. The already established entity groups can be transferred with the software, or can be imported and exported separately according to the entity group data. A new entity group can be created in the opened model, and the selected range is named and stored after the component. All the building entity groups in the software (not limited to a project, which can be multiple projects) are displayed on the left side, and the unused entity groups can be deleted. Inserting an entity group is to insert the currently selected and displayed entity group into the current model, and the insertion point position can be set when the entity group is created. The entity groups in the entity group list are stored in the project model by default, and can be transferred with the project upgrade. In addition, the entity groups of the project can be stored in the project model, and the entity groups of external projects can be imported, but all the entity groups are finally displayed in the entity group list. Switching the entity groups in the entity group list will have a visual preview of the original model, and the mouse wheel zooming operation is supported, which intuitively displays the model layout and the contained components of the entity group, as well as the local information. The entity groups in the building entity group list can be deleted and renamed, and can be imported and exported for external storage and transmission. The same software can be reused and circulated between different versions.
[0080] The building entity group list display module can switch different building entity group names to view thumbnails when calling building entity groups, preview multiple building entity groups, intuitively display the content of building entity groups, and facilitate user confirmation and operation. It is beneficial to solve the problem that most software stored content only displays data names without thumbnail preview, and users are easy to forget the specific information of the stored content over time, leading to inconvenience. By creating a building entity group list, the problem of existing modeling software that can only import and export one entity group in a database without an entity group list is effectively solved, which improves the efficiency of model management. The entity groups in the entity group list are stored in the engineering model by default, which can be upgraded with the engineering to ensure the integrity and consistency of the data.
[0081] In an embodiment, the building entity group calling module obtains a target building entity group in the building entity group list, and deep copies the target building entity group based on the screen coordinates of the insertion point, inserts the target building entity group into the current model, and completes the calling of the target building entity group, which is used for:
[0082] Selecting the target building entity group needed in the building entity group list and reading the file corresponding to the target building entity group;
[0083] Determining the target component with the same name in the target building entity group file and the current model file;
[0084] Based on the screen coordinates of the insertion point, the target components of the target building entity group are deep copied according to the preset insertion mode, and are called into the current model by reading the mapping relationship table.
[0085] Optionally, after selecting the required entity group in the List table, the file corresponding to the building entity group is read, the component information is stored in the red-black tree data structure, which has the advantage of fast reading speed compared with other storage methods. And judge the name components consistent between the building entity group file and the model file. Figure 3 is a schematic diagram of the preset insertion mode in the building entity group calling module according to an example embodiment, as Figure 3As shown, in the call of the building entity group, the preset insertion mode (follow, cover and new) can be inserted, and the insertion point is read. The component information of the entity group file is deep copied, and the mapping table is read into the component in the document. When following, the inserted component is directly converted into the existing old component attribute; in the case of covering, the new component information is covered into the original component attribute table; in the case of new, the newly built component information is stored in the document, and the component information to be copied is obtained. And support continuous insertion, list all components of the entity group file as a whole to insert into the large component, adjust the continuous insertion according to the insertion point, and insert the whole entity group model into the engineering model following the insertion point of the original model, record the new component, and update the interface display. The inserted building entity group forms part of the new engineering model, and the components can be added or deleted or the component information can be changed in the new model. The modified model can also be newly built into an entity group for storage, call and transmission. When needed, the building entity group is directly inserted, and the block is placed in the required place by selecting the insertion point. The block can also be stored and called again after being improved (adding or deleting components or changing information, etc.).
[0086] Specifically, the processing of the inserted building entity group encountering the same name component in the current engineering, that is, when the building entity group is inserted, if there is a component with the same name in the original building entity group in the current building entity group, the same name component information in the original entity group can be processed differently in the following, covering and adding. There are three choices: follow, cover, add. According to the needs, the components in the building entity group are selected to adapt to the relationship between the model to be inserted: the component information in the model can be completely covered, updated or covered according to the information. For example, there are multiple buildings in the model, building 1, building 2, building 1 has a concrete column, and building 2 does not have a concrete column. The entity group to be inserted has a concrete column, then according to the selection box when importing, the concrete column information of building 1 in building 1 can be retained, and the information contained in the entity group in building 2 is followed. Different preset insertion modes are to maximize the matching of new and old models according to actual conditions, and to refresh the model information. It can satisfy different matching modes of different buildings in the same project.
[0087] It should be noted that the mapping relationship is mainly a handle (ID) information conversion table or correspondence table of the component. The handle (ID) of the component is the unique identification information of each 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 0-100 data, and this data is independent. Each component in the current model file also has a unique identification ID, which may also contain 0-100 data. In order to ensure that the id information in the target entity group and the current model file is not repeated, the handle of the current model file will be re-encoded to the newly added entity group component, so that the newly added component will have two handle encodings, one in the entity group and one in the current model. The two handles have a corresponding relationship, forming a mapping relationship table.
[0088] The building entity group module provides three preset insertion modes (follow, cover, and new), and the user can select the appropriate processing mode according to the actual needs to ensure the flexibility and accuracy of the insertion operation. When inserting the building entity group, if there is a component with the same name in the current building entity group and the original building entity group, the same name component information in the original entity group can be processed differently by following, covering, and adding new, 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 an embodiment, the system further includes an export building entity group module for single or multiple building entity groups in the building entity group list, finding the file with the suffix pmblock according to the name, compressing the selected building entity group module into a zip file through a compression tool, and storing the compressed zip file.
[0090] Optionally, the export file can single-select and multiple-select multiple entity group components in the entity group list, find the building entity group file with the suffix "pmblock" according to the name, and store the compressed file as a zip file using the Zip Archive library.
[0091] The export building entity group module can easily select one or more building entity groups for export in the building entity group list, and the operation is simple. The selected building entity group file is compressed into a zip file through a compression tool, reducing the file size and improving the transmission efficiency. The compressed file is stored in a specified path, which is convenient for user management and sharing.
[0092] In an embodiment, the system further includes an import building entity group module for reading external zip file data and decompressing the building entity group file into a target folder to update the entity group list display.
[0093] Optionally, using decompression tools (such as Zip Archive library) ensures the efficiency and reliability of the decompression process. The system updates the entity group list display immediately after decompressing the file, ensuring that the user can quickly view and use the newly imported building entity group. The user can select multiple zip files for import, providing a flexible management method.
[0094] In summary, the embodiment of the present application provides a building model calling system. The building entity group module is used to obtain component information of a building model according to a building model in a selected range, and obtain screen coordinates of a building model insertion point. The component information and the screen coordinates are deep copied into 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 a plurality of building entity groups. 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 building entity group calling module is used to obtain a target building entity group in the building entity group list, and deep copy the target building entity group based on the screen coordinates of the insertion point. 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, model matching of the entire model or regional model are realized, and the modeling efficiency is improved. The packed entity group information is small in size, high in information content, and visualized. When calling, the new model is matched according to the selection, the calling efficiency is improved, and the model information is updated. The problem of low calling efficiency in the related art calling model method is solved.
[0095] Specifically, the already built model is selected by framing or other methods to form an "entity group". The entity group includes all information of the packed components (attributes, reinforcement, bill of materials, civil rules, reinforcement setting, calculation method, position relationship, link relationship, etc.). The entity group is stored in the user's custom or specific path, can be shared or saved, and the visual block component can be directly extracted when needed. The block can be placed in the required place by selecting the insertion point. The block can also be improved (adding or reducing components or changing information, etc.) and then stored and called again. The storage, calling, transmission, model matching of the entire model or regional model are realized. The modeling efficiency is improved. The packed entity group information is small in size, high in information content, and visualized. When calling, the new model is matched according to the selection, and the model information is updated. It is similar to the compression package of Xiaoerjing, which does not necessarily pass through the software transmission and sharing, and is visualized in the cloud.
[0096] In a second aspect, the embodiment of the present application provides a method for calling a building model. Figure 4 is a flowchart of a building model calling process. As shown in Figure 4 , the method comprises:
[0097] In step S101, component information of the building model is acquired, screen coordinates of a building model insertion point are acquired, the component information and the screen coordinates are deep copied into a blank file, and a building entity group is created.
[0098] In step S102, a building entity group list is created according to a plurality of building entity groups, wherein when a building entity group in the building entity group list is selected, component information of the building entity group is loaded and a thumbnail is displayed.
[0099] In step S103, a target building entity group is acquired in the building entity group list, the target building entity group is deep copied based on the screen coordinates of the insertion point, the target building entity group is inserted into a current model, and calling of the target building entity group is completed.
[0100] In summary, the calling method of the building model provided in the embodiments of the present application acquires component information of a building model and screen coordinates of a building model insertion point, deep copies the component information and the screen coordinates into a blank file, and creates a building entity group. A building entity group list is created according to a plurality of building entity groups, wherein when a building entity group in the building entity group list is selected, component information of the building entity group is loaded and a thumbnail is displayed. A target building entity group is acquired in the building entity group list, the target building entity group is deep copied based on the screen coordinates of the insertion point, the target building entity group is inserted into a current model, and calling of the target building entity group is completed. Storage, calling, transmission, and model matching of the entire model or a regional model are realized, modeling efficiency is improved. The packaged entity group information is small in size, high in information content, and visualized. When calling, the new model is matched according to selection, calling efficiency is improved, and model information is updated. The calling method of the model in the related art has the problem of low calling efficiency.
[0101] It should be noted that the system for calling the building model provided in the embodiments is used to implement the above-described embodiments, and has been described above. As used above, the terms "module", "unit", "sub-unit", and the like can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the above embodiments are preferably implemented in software, hardware or a combination of software and hardware can also be implemented and conceived.
[0102] In a third aspect, the embodiments of the present application provide an electronic device, Figure 5 is a block diagram of an electronic device according to an exemplary embodiment. As Figure 5 indicated, the electronic device can include a processor 51 and a memory 52 storing computer program instructions.
[0103] In particular, the processor 51 can include a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to perform the functions of the embodiments of the present application.
[0104] The memory 52 can include a mass storage for data or instructions. By way of example and not limitation, the memory 52 can include a Hard Disk Drive (HDD), floppy disk drive, a Solid State Drive (SSD), flash memory, a Compact Disc Read Only Memory (CDROM), a Digital Versatile Disk (DVD), a magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. The memory 52 can be removable and / or non-removable (or fixed) as appropriate. The memory 52 can be internal or external as appropriate. In certain embodiments, the memory 52 is a non-volatile memory. In certain embodiments, the memory 52 includes a Read-Only Memory (ROM) and a Random Access Memory (RAM). The ROM can be a mask-programmed ROM, a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Electrically Alterable Read-Only Memory (EAROM), or a FLASH, or a combination of two or more of these, as appropriate. The RAM can be a Static Random-Access Memory (SRAM) or a Dynamic Random Access Memory (DRAM), which 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), or the like, as appropriate.
[0105] The memory 52 can be used to store or buffer various data files required for processing and / or communication, and possible computer program instructions executed by the processor 51.
[0106] The processor 51 realizes the calling method of the building model in any of the above embodiments by reading and executing the computer program instructions stored in the memory 52.
[0107] In an embodiment, the device for calling the building model can further include a communication interface 53 and a bus 50. Wherein, as shown in the figure, the processor 51, the memory 52, the communication interface 53 are connected through the bus 50 and complete the communication among each other. Figure 5
[0108] The communication interface 53 is used to realize the communication among the modules, devices, units and / or equipment in the embodiments of the present application. The communication interface 53 can also realize the data communication between other components, such as: external devices, image / data acquisition devices, databases, external storage and image / data processing workstations, etc.
[0109] Bus 50 includes hardware, software, or both, to couple various components of a device that invokes an architectural model to one another and / or to one or more other devices. For example, bus 50 can be included within a first device that invokes an architectural model and a second device that is coupled to the first device via the bus 50. As an example and not by way of limitation, bus 50 can be included within a first device that invokes an architectural model and a second device that is coupled to the first device via the bus 50. As an example and not by way of limitation, bus 50 can include one or more buses such as a Data Bus, an Address Bus, a Control Bus, an Expansion Bus, a Local Bus, and / or the like. As an example and not by way of limitation, bus 50 can 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 (IB) interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel 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 (VLB) bus, and / or the like. Such can be comprised in bus 50 if appropriate, as is / are well understood by those of ordinary skill in the art. Although this disclosure describes and illustrates a particular bus, this disclosure contemplates any suitable bus or interconnect.
[0110] In a fourth aspect, one embodiment of the present disclosure provides a computer readable storage medium, having a program stored thereon, which, when executed by a processor, implements the method for invoking an architectural model according to the first aspect.
[0111] In particular, the computer readable storage medium can include, but is not limited to, a portable disc, 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 possible implementation manners, the present application can also be implemented in the form of a program product, which comprises program codes for causing a terminal device to perform the steps of the method for calling a building model according to the first aspect when the program product is run on the terminal device.
[0113] The program codes for executing the present application can be written in any combination of one or more programming languages, and can be executed completely on a user device, partially on a user device, as a stand-alone software package, partially on a user device and partially on a remote device, or completely on a remote device.
[0114] The technical features of the above embodiments can be combined in any manner. To make the description concise, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combinations of the technical features do not exist in contradiction, they shall be considered as falling within the scope of the present application.
[0115] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it shall not be understood as a limitation on the patent scope of the present application. It should be noted that, for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present application, and these shall fall within the protection scope of the present application. Therefore, the patent protection scope of the present application shall be subject to the appended claims.
Claims
1. A system for calling architectural models, characterized in that, The system includes a building entity group module, a building entity group list display module, and a building entity group invocation module; wherein... The building entity group module is used to obtain the component information of the building model within the selected range, as well as the screen coordinates of the insertion point of the building model, and to 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 based on multiple building entity groups. 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 module for calling building entity groups is used to retrieve the target building entity group from the list of building entity groups, perform a deep copy of the target building entity group based on the screen coordinates of the insertion point, and insert the target building entity group into the current model, thus completing the invocation of the target building entity group; wherein: When the building entity group module obtains the screen coordinates of the building model insertion point, and deeply copies the component information and the screen coordinates to a blank file, it is used to: 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 screen coordinates are deeply copied to a blank file to create a building entity group. The component information includes basic building information, civil engineering information, reinforcement information, location information, and link information. When creating a building entity group by deep copying the component information and screen coordinates to a blank file, the building entity group module is used for: Pre-check whether the name of the created building entity group exists in the building entity group list file. If it exists, prompt whether to abandon the exit operation or rename the building entity group. If it does not exist, the name of the current building entity group will be used as the name for creating the building entity group; When creating a building entity group list based on the multiple building entity groups, the building entity group display module is used for: Store multiple building entity groups in a building entity group folder; Iterate through and read the building entity group files with the .pmblock extension in the building entity group; The names of the building entity groups are displayed in a list format, and the list of building entity groups is obtained. The module for calling building entity groups retrieves the target building entity group from the list of building entity groups, performs a deep copy of the target building entity group based on the screen coordinates of the insertion point, and inserts the target building entity group into the current model. When the call to the target building entity group is completed, it is used for: Select the desired target building entity group from the list of building entity groups, and read the file corresponding to the target building entity group; Identify target components whose names match those in the target building entity group file and the current model file; 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; The preset insertion methods include: Insert the target component and convert it to the properties of an existing component; Overwrite the target component into the original component attribute table; Create a new component and store the target component in a document.
2. The system according to claim 1, characterized in that, The system also includes: Export the building entity group module, which is used to select one or more building entity groups in the building entity group list, find the file with the suffix .pmblock according to the name, compress the selected building entity group module into a zip file using a compression tool, and save the compressed zip file; The Import Build Entity Group module is used to read data from an external zip file, extract the build entity group files to the target folder, and update the entity group list display.
3. A method for calling a building model, characterized in that, The method includes: Obtain the component information of the building model and the screen coordinates of the insertion point of the building model. Deep copy the component information and the screen coordinates to a blank file and create a building entity group. A list of building entity groups is created based on the multiple building entity groups, wherein when a building entity group is selected in the list of building entity groups, the component information of the building entity group is loaded and a thumbnail is displayed. Retrieve the target building entity group from the list of building entity groups, and based on the screen coordinates of the insertion point, perform a deep copy of the target building entity group. Then, insert the target building entity group into the current model to complete the invocation of the target building entity group; wherein: The screen coordinates of the building model insertion point are used to create a building entity group by deep copying the component information and the screen coordinates to a blank file, including: 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 screen coordinates are deeply copied to a blank file to create a building entity group. The component information includes basic building information, civil engineering information, reinforcement information, location information, and link information. Deep copy the component information and screen coordinates to a blank file to create a building entity group, including: Pre-check whether the name of the created building entity group exists in the building entity group list file. If it exists, prompt whether to abandon the exit operation or rename the building entity group. If it does not exist, the name of the current building entity group will be used as the name for creating the building entity group; Based on the plurality of building entity groups, a list of building entity groups is created, including: Store multiple building entity groups in a building entity group folder; Iterate through and read the building entity group files with the .pmblock extension in the building entity group; The names of the building entity groups are displayed in a list format, and the list of building entity groups is obtained. The target building entity group is retrieved from the list of building entity groups, and based on the screen coordinates of the insertion point, a deep copy of the target building entity group is performed. The target building entity group is then inserted into the current model, completing the retrieval of the target building entity group, including: Select the desired target building entity group from the list of building entity groups, and read the file corresponding to the target building entity group; Identify target components whose names match those in the target building entity group file and the current model file; 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; The preset insertion methods include: Insert the target component and convert it to the properties of an existing component; Overwrite the target component into the original component attribute table; Create a new component and store the target component in a document.
4. An electronic device, characterized in that, The system includes a memory and a processor, a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements a system for calling a building model as described in any one of claims 1 to 2.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements a system for calling a building model as described in any one of claims 1 to 2.
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