Method for reusing same building in component reference mode
The cross-space position reference and spatial transformation of the same building in the building are achieved through component reference, which solves the problems of cumbersome operations and complex model logic in the existing technology, and improves model management efficiency and application scenarios.
Patent Information
- Application Number
- CN202411072556.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-11-05
AI Technical Summary
When handling the reuse of the same building, the existing three-dimensional modeling software is cumbersome to operate, which can easily lead to missed selection and missed selection. The model logic is complex and difficult to trace, and lacks considerations for construction and cost calculation, and the model application scenarios are limited.
The component reference method is adopted, and multiple multiplexing is achieved in one-time modeling through cross-space position reference. The entire building is transformed in space such as moving, mirroring, and rotating as a whole, and editing and synchronizingly mapped to objects with reference relationships.
It has achieved simplified operations, reduced missed selection, improved model management efficiency, supported construction and cost calculation considerations, and expanded model application scenarios.
Smart Images

Figure CN118898103A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of three-dimensional modeling and engineering quantity calculation of construction engineering, and in particular to a method for reusing the same building of a building by means of component reference. Background Art
[0002] There will be multiple "buildings" in a construction project, so when designing a building, these buildings will be managed as "sub-items", which means: sub-projects under a project. In the software for calculating the quantity of construction projects, these "sub-items" are called "single projects".
[0003] In some projects, there will be multiple buildings that are exactly the same, or just have different spatial relationships (such as mirror images or rotations). Therefore, for digital building modeling, modelers hope that the same building only needs to be modeled once, and the rest of the same content is just a reference copy of the built model, and some editing (movement, rotation, mirroring, etc.) to obtain the target building, so as to reduce duplication of work.
[0004] The mainstream 3D modeling software on the market generally uses the following methods to deal with this scenario:
[0005] Use blocks, components, etc. to group a building, and then the user (modeler) can copy the group and rotate and mirror the copied target to achieve the scene of multiple buildings reuse. It is commonly seen in mainstream 3D modeling software such as AutoCAD, Rhinoceros, Sketchup, etc.
[0006] Problems with this approach:
[0007] The operation is cumbersome. Every time you edit, you have to double-click to "enter" the block or component to edit the object;
[0008] Since a group represents a building in a business, it contains a huge number of components. Therefore, when creating a block or component, you need to select multiple components and primitives (such as box selection, continuous click multi-selection, etc.) to add them to the group. This operation itself is very easy to cause missed selection, wrong selection, multiple selection, etc.
[0009] Due to the complex hierarchical relationship between building components, modelers will create a variety of different blocks (or components) based on their own modeling habits, and there will even be nested relationships between blocks (or components). In actual projects, a building contains a huge number of components, so the number of blocks (or components) and the nested hierarchical relationship will become very complex. After a period of time, the modeling logic will become impossible to trace and affect understanding. Subsequent personnel can only re-model according to their own modeling habits, which is completely not conducive to the long-term management of model data.
[0010] This type of software is mostly used for modeling architectural design, so its model data lacks consideration of the construction stage and the quantity and cost calculation stage. The model data is mostly geometric information and lacks other business information; therefore, the scenarios in which the model can be applied are limited. Summary of the invention
[0011] The present disclosure provides a method for reusing the same building in a component reference manner, which can achieve multiple reuses of modeling once by referencing the cross-spatial positions of the building; the entire building can be edited as a whole for spatial transformations such as movement, mirroring, alignment, and rotation; and the editing of a model can be synchronously mapped to objects with a reference relationship.
[0012] The method for reusing the same building in a component reference manner provided by the present disclosure mainly includes the following steps:
[0013] S1, create a new empty single project and set floor information. The empty single project is a single project that has no defined components and no modeling, i.e., no instantiation of defined components;
[0014] S2, modeling each floor of the empty single project to complete the modeling of the single project;
[0015] S3, taking other empty single projects as reference targets, selecting single project models with the same floor information from the list of completed single projects as reference sources, and setting the target position and rotation angle for the entire building model;
[0016] The same floor information means: the same total number of floors, the same number of above-ground floors, the same number of underground floors, and the same height of the corresponding floors, but the bottom elevation of the first floor is not necessarily the same, that is, the reference source model is allowed to be adjusted in the height direction in the reference target;
[0017] S4, referencing the model data of the reference source, and generating a model of the reference target at a set target position;
[0018] S5: When any model that is a reference source or a reference target is modified, the remaining reference sources and reference targets are modified synchronously.
[0019] Furthermore, in step S1, the floor information includes: which floors there are, how high each floor is, and how high the bottom elevation of the first floor is.
[0020] Furthermore, the specific method of step S2 includes:
[0021] In the floor modeling interface of an empty single project, create new building components, which include one or more of the following: axis grid, column, wall, beam;
[0022] Set the properties of the component;
[0023] Component instantiation and component layout are performed to complete the model content of a floor;
[0024] Complete the modeling of all floors of the entire single project in the same way.
[0025] Furthermore, in step S2, the method for setting the target location for placing the entire building model includes:
[0026] In the modeling interface of a single project that is a reference target:
[0027] Take the entire building model as a whole, and set the insertion point by capturing the point where the mouse cursor is clicked. In this process, the cursor is always constrained on the xy coordinate plane where the bottom elevation of the first floor of the current building is located, that is, the user's mouse cursor is constrained in the z-axis direction.
[0028] Furthermore, the model used as a reference target can be further referenced as a reference source. When the reference target model is modified, its related reference source and reference target models are modified synchronously.
[0029] Furthermore, the method further comprises the following steps:
[0030] Taking the entire building as a unit, the spatial position and rotation angle of the referenced target model are transformed.
[0031] Compared with the prior art, the beneficial effects of the present invention are: (1) it can realize multiple reuse of modeling once by referencing the cross-spatial position of the building; (2) it can treat the entire building as a whole and perform editing of spatial transformations such as movement, mirroring, alignment, and rotation; (3) the editing of a model is synchronously mapped to the object with the reference relationship. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present disclosure.
[0033] Figure 1 is a flow chart of an exemplary embodiment according to the present disclosure;
[0034] Figure 2 For the hierarchical relationship in the engineering building model;
[0035] Figure 3 An exemplary relationship between a reference source and a reference target;
[0036] Figure 4 FIG. 4 is a single project manager interface under an exemplary embodiment. DETAILED DESCRIPTION
[0037] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0038] The present disclosure provides a method for reusing the same building in a component reference manner. In an exemplary implementation, the flow chart is as shown in the attached Figure 1 As shown, it mainly includes the following steps:
[0039] 1. New single project:
[0040] 1.1 In the single project list interface of the floor setting module, click "Add" to create a new single project;
[0041] 1.2 In the single project list, select the corresponding single project and set the floor information in its floor list, including: which floors there are, how high each floor is, how high the bottom elevation of the first floor is, etc.;
[0042] 1.3 At this time, these single projects are empty projects; "empty" here refers to single projects that have no defined components (including attributes) and no modeling (no instantiation of defined components).
[0043] 2. Switch to each floor of the current single project and model it according to the existing logic (the existing logic refers to the common modeling logic in the industry):
[0044] Switch to the corresponding floor, create new building components such as axis grids, columns, walls, beams, etc.; set the properties of the components; arrange (instantiate) the components in the drawing area through the arrangement class command; thus complete the model content of a floor; complete the modeling of all floors of the entire single project in the same way; thus complete the modeling of a single project, as shown in the attached figure. Figure 2 shown.
[0045] 3. Switch to other empty single projects that have been created as "reference targets":
[0046] 3.1 Open the single project manager:
[0047] 3.1.1 As attached Figure 4 As shown, in the manager, it is displayed in the form of a list: Figure 1 Created in step 1 of Figure 1The model has been built in step 2 (there are instantiated components), and the single project currently being edited is not included;
[0048] The single project in the 3.1.2 manager interface displays: the name of each single project in 3.1.1; a small window model preview of each single project; when a single project is selected in the list, the model preview window below is refreshed synchronously to display the model preview of the currently selected object;
[0049] 3.1.3 In the small window model preview, only the following operations are allowed: (1) switching between 2D / 3D viewing and previewing the model; (2) setting the insertion point of the entire building model; in addition, other editing operations on the model are not allowed. Such operations are still the same as the existing technology, and must be performed in the drawing area of the corresponding floor.
[0050] 3.1.4 Switch between 2D and 3D to view the preview model; in 3D, it supports viewing the entire model (displaying all floors) in 3D; in 2D, it supports viewing the plan view of each single floor;
[0051] 3.2 Set the insertion point of the entire building model:
[0052] The business meaning is: when the entire building model is inserted into the drawing area of the target building as a whole, there must be a base point. Put the base point on the target position point in the drawing area (the point where the mouse cursor is clicked), and the entire building is placed at the target position.
[0053] 3.2.1 Activate the "Set Insertion Point" command, click the point in the model to be used as the insertion point, and a mark will appear on the clicked point, indicating that this is the insertion point; you can continue to click other points continuously, and each time you click, a mark will appear on the clicked point and the mark of the previous point will be cancelled at the same time, because a model can only have one insertion point; the user right-clicks to confirm the insertion point and exit the command to complete the setting of the insertion point;
[0054] 3.2.2 The user can set the insertion point in 2D or 3D state; however, no matter in which view or on which floor, when clicking, the cursor is constrained to the xy coordinate plane where the floor bottom elevation of the first floor of the current building is located, that is, the user's mouse cursor is constrained in the z-axis direction;
[0055] 3.2.3 Support setting the insertion point by snapping points;
[0056] 3.3 Return to the list interface of the single project manager:
[0057] 3.3.1 Select the object as the "reference source"; then activate the "layout single project" command and move the cursor to the drawing area; then the preview of the reference source model will be displayed and follow the cursor;
[0058] 3.3.2 Click the point where the model is to be placed, and the model insertion point and the placement point clicked by the cursor coincide with each other;
[0059] 3.3.3 At this time, the user needs to click the second point in the drawing area to determine the final placement angle of the model. The principle is: take the point in 3.3.2 as the "rotation axis"; draw a ray through the rotation axis and parallel to the x-axis of the model's own coordinate system and pointing in the positive direction of the x-axis, and use this ray as the "rotation rod"; the rotation rod also passes through the user's mouse cursor;
[0060] Therefore, when the user clicks on the second point, a straight line is essentially determined through the second point and the rotation axis. The straight line coincides with the x-axis of the model's own coordinate system. This process is equivalent to rotating the entire model until the x-axis coincides with the aforementioned straight line, thus completing the determination of the model's rotation angle.
[0061] 3.3.2-3.3.4 Work together to complete the layout of the model;
[0062] 3.3.5 At this time, the "Arrange Single Project" command is grayed out and disabled.
[0063] 3.3.6 When placing the model in 3.3.2 and 3.3.3, the cursor is always constrained to the xy plane where the floor bottom elevation of the first floor of the reference target is located, and cannot be moved in the z-axis direction;
[0064] 3.3.7 If the floor information of the reference target and the reference source are different, a pop-up window will prompt "The floor information of the two individual projects is different and cannot be referenced", and the layout operations of 3.3.2 and 3.3.3 will be exited;
[0065] The same floor information means: the same total number of floors, the same number of above-ground floors, the same number of underground floors, and the same height of the corresponding floors; but the bottom elevation of the first floor is not necessarily the same. That is, the reference source can have an overall movement in the height direction in the reference target.
[0066] 4. Reference the data of the "reference source" as in step 3 and create a new model at the target location of the reference target.
[0067] 5. The user continues to use the commands such as mirror, rotate, move, and align in the single project manager interface to edit the entire building; (rather than the commands such as mirror, rotate, move, and align in the modeling function of the main interface; because the two are aimed at different objects; these commands in the manager here are aimed at the entire single project, that is, the single project is treated as a whole to perform position transformation; if the commands of the main interface are used directly, all components and elements of the entire single project must be selected first to achieve "whole" transformation; and the action of "selecting all" itself is easy to cause omissions or wrong selections.)
[0068] 5.1 Activate the command, and the entire model in the drawing area of the main interface will be selected and highlighted;
[0069] 5.2 The component navigation, layout command, editing command, and switching of single project in the main interface are all grayed out and disabled; however, the operation of switching floors can be performed; and no matter which floor is switched to, no matter whether it is switched to 2D view or 3D view, all components of the building are selected and highlighted, and cannot be unselected;
[0070] 5.3 According to the activated corresponding command, the spatial position of the entire building (all the components included) is transformed as a whole;
[0071] 5.4 ends the command, cancels the highlighted selection in 5.1, and restores the status of each disabled item in 5.2 to enabled.
[0072] 6. When the model is modified in the drawing area of any model of the reference source or reference target, the other reference sources and reference targets will be modified synchronously.
[0073] 7. Other notes:
[0074] 7.1 Inheritance of reference relationship:
[0075] Example:
[0076] Take A as the source and cite B, C, and D;
[0077] Again, taking B as the source, E and F are cited;
[0078] Using C as the source, L, M, and N are cited
[0079] …
[0080] Then, A, B, C, D, E, F, L, M, and N all have the same reference relationship. If any one of them is modified, the rest will be modified synchronously, instead of: if E is modified, only B and F will be modified;
[0081] 7.2 A reference target can only carry one reference source (all the models it contains), that is, a single project can only "install" one, but not multiple other single projects.
[0082] The above technical scheme is only an exemplary embodiment of the present invention. For those skilled in the art, it is easy to make various types of improvements or modifications based on the application methods and principles disclosed in the present invention, and it is not limited to the method described in the above specific embodiment of the present invention. Therefore, the method described above is only preferred and does not have a restrictive meaning.
Claims
1. A method for reusing the same building in a component reference manner, comprising the following steps: S1, create a new empty single project and set floor information. The empty single project is a single project that has no defined components and no modeling, i.e., no instantiation of defined components; S2, modeling each floor of the empty single project to complete the modeling of the single project; S3, taking other empty single projects as reference targets, selecting single project models with the same floor information from the list of completed single projects as reference sources, and setting the target position and rotation angle for the entire building model; The same floor information means: the same total number of floors, the same number of above-ground floors, the same number of underground floors, and the same height of the corresponding floors, but the bottom elevation of the first floor is not necessarily the same, that is, the reference source model is allowed to be adjusted in the height direction in the reference target; S4, referencing the model data of the reference source, and generating a model of the reference target at a set target position; S5: When any model that is a reference source or a reference target is modified, the remaining reference sources and reference targets are modified synchronously.
2. The method according to claim 1, characterized in that In step S1, the floor information includes: which floors there are, how high each floor is, and how high the bottom elevation of the first floor is.
3. The method according to claim 1, characterized in that The specific method of step S2 includes: In the floor modeling interface of an empty single project, create new building components, which include one or more of the following: axis grid, column, wall, beam; Set the properties of the component; Component instantiation and component layout are performed to complete the model content of a floor; Complete the modeling of all floors of the entire single project in the same way.
4. The method according to claim 1, characterized in that: In step S2, the method for setting the target location for placing the entire building model includes: In the modeling interface of a single project that is a reference target: Take the entire building model as a whole, and set the insertion point by capturing the point where the mouse cursor is clicked. In this process, the cursor is always constrained on the xy coordinate plane where the bottom elevation of the first floor of the current building is located, that is, the user's mouse cursor is constrained in the z-axis direction.
5. The method according to claim 1, characterized in that The model used as the reference target can be further referenced as the reference source. When the reference target model is modified, the related reference source and reference target models are modified synchronously.
6. The method according to any one of claims 1 to 5, characterized in that: The following steps are also included: Taking the entire building as a unit, the spatial position and rotation angle of the referenced target model are transformed.
