Normalization instantiation method for BIM model components
By normalizing and instantiating BIM model components, the problems of component differences and inconsistencies between different BIM software are solved, seamless exchange and sharing of components are realized, and collaboration efficiency and model reusability are improved.
Patent Information
- Application Number
- CN202410921575.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-12
AI Technical Summary
The differences and inconsistencies in components between different BIM software lead to difficulties in exchange, sharing and reuse. The prior art cannot provide a unified and universal method to achieve seamless exchange and sharing of components in different BIM software.
Convert BIM model components into standardized forms through normalization methods, including removing scaling, rotation transformation, repositioning and normalization of normals, ensuring the portability and interactivity of the model on different platforms, and in the scene through instantiation methods Create multiple examples of model with different positions, rotations, and scaling, augmented reality and diversity.
Improve collaboration efficiency and data consistency, simplify model management, reduce information loss and incompleteness, improve model reusability and interactivity, realize seamless exchange and sharing of components in different software, saving Resources and time.
Smart Images

Figure CN118940355A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a normalized instantiation method for BIM model components. Background Art
[0002] In Building Information Modeling (BIM), the normalization and instantiation of components is one of the core challenges that needs to be solved urgently. As an integrated digital design and construction method, BIM aims to improve the efficiency of building design, construction and operation. However, the differences, inconsistencies and inconsistent representations of components between different BIM software have brought great difficulties to the exchange, sharing and reuse of components.
[0003] At present, components in BIM systems usually exist in the form of parametric models, which leads to problems of incompatibility and interoperability between components. For example, a component represented by specific properties, parameters and constraints in one BIM software may be completely incompatible in another software, which makes it extremely difficult to exchange and share components across platforms, hindering the widespread application and promotion of BIM technology. In addition, existing BIM component management tools usually face problems such as inconvenient component version management and difficulty in updating component libraries. Although some standardized model representation formats and some component conversion tools already exist on the market, they still cannot completely solve the problem of component normalization and instantiation because they fail to provide a unified and universal method to achieve seamless exchange and sharing of components in different BIM software. Summary of the invention
[0004] The present invention aims at the deficiencies of the prior art and provides the following technical solutions: a normalization and instantiation method for BIM model components: comprising a normalization method and an instantiation method;
[0005] Normalization method: Normalization is the process of converting BIM model components into a standardized form to enhance the portability and interactivity of the model so that it can be used and processed in different software or environments; it includes the following steps:
[0006] A1, convert the original BIM model components into a unified format, standard data structure or file format;
[0007] A2, ensure that the data and attributes of the model conform to the selected standard specifications so that they can be correctly interpreted and processed on other platforms;
[0008] Instantiation method: The process of creating multiple identical or similar model instances in a scene using normalized BIM model components; used to generate multiple instances with different positions, rotations, and scales in a BIM scene to increase the realism and diversity of the scene; including the following steps:
[0009] B1, copy the normalized model to generate multiple model instances;
[0010] B2, assigns a unique position, rotation angle, and scale to each instance;
[0011] B3, each instance can be further customized or adapted as needed to suit specific BIM design or analysis needs.
[0012] As an improvement to the above technical solution, the process of converting a BIM model component into a standardized form includes the following steps:
[0013] C1, remove scaling transformation to ensure that the proportions of BIM model components are consistent and not affected by scaling; realize scaling of BIM model components to a standard size, using cubes or unit spheres as standard units;
[0014] C2, remove the rotation transformation and ensure the model's orientation is consistent. The model should be aligned in a consistent direction, and the bottom of the model should face the negative direction of the Z axis;
[0015] C3, repositioning, moves the center point of the model to the origin (0,0,0) to ensure that the model can be freely rotated and scaled around it;
[0016] C4, normalized normals, ensures that the normal vectors on the model surface are consistent; for each vertex, the normals on the model surface are recalculated or averaged to ensure that they are consistent;
[0017] C5, removes unnecessary data and unnecessary information in the model, such as hidden faces and invisible parts.
[0018] As an improvement of the above technical solution, in step C1, the scaling factor of the model is first calculated, that is, the ratio between the maximum length, width, and height of the model and the expected standard size unit cube or unit sphere; wherein the formula for scaling each vertex in the model is as follows:
[0019] scale_factor=length_new / length_old;
[0020] vertex_new=vertex_old*scale_factor;
[0021] Among them, length_new represents the expected standard scale of the normalized BIM model component length, length_old represents the maximum length of the original BIM model component, scale_factor represents the scaling factor, vertex_new represents the scaled standard size model component, and vertex_old represents the original size model component.
[0022] As an improvement of the above technical solution, in step C2, each vertex in the model is subjected to a reverse rotation transformation, so that the bottom of the model faces the negative direction of the Z axis; the formula is as follows:
[0023] x_new=x_old*cos(angle)+y_old*sin(angle);
[0024] y_new=-x_old*sin(angle)+y_old*cos(angle);
[0025] z_new = z_old;
[0026] Where angle represents the rotation angle.
[0027] As an improvement of the above technical solution, in step C3, for each vertex (x, y, z), the repositioning can be expressed as:
[0028] x_new = x_old - center_x;
[0029] y_new = y_old - center_y;
[0030] z_new = z_old - center_z;
[0031] Where center_x, center_y, center_z are the coordinates of the center of mass of the model.
[0032] As an improvement of the above technical solution, instantiating the normalized BIM model component includes the following steps:
[0033] D1, select the model to be instantiated, and select one from the normalized BIM model components as the instantiated prototype;
[0034] D2, determine the number and location of instantiations, determine the number of model instances to be created in the scene, and determine the location of each instance. The location can be predefined coordinates or randomly generated. Set the location of the model in the scene as needed to create a specific layout or pattern;
[0035] D3, determine the rotation and scaling of the instance, determine the rotation angle and scaling factor of each instance to make each instance look different and increase the variability of the scene, choose fixed rotation and scaling parameters, or generate them randomly to make each instance have a different appearance;
[0036] D4, create instances, for each instance, perform position, rotation and scale transformations on the normalized model and add it to the scene;
[0037] D5, repeat the above steps for each model that needs to be instantiated.
[0038] As an improvement of the above technical solution, in step D4, creating an instance includes position transformation, rotation transformation, and scaling transformation.
[0039] As an improvement to the above technical solution, position transformation: for each instance, its position (x, y, z) is transformed to a new position (x', y', z'), which can be achieved by simply adding the original position to the displacement vector:
[0040] x' = x + dx;
[0041] y'=y+dy;
[0042] z'=z+dz;
[0043] Where (dx, dy, dz) is a displacement vector representing the displacement of the instance on the three coordinate axes.
[0044] As an improvement to the above technical solution, rotation transformation: For each instance, the rotation transformation can be implemented by applying a rotation matrix to each vertex; if (x, y, z) is the original vertex coordinate, the rotated new coordinate (x', y', z') can be calculated by the following formula:
[0045] (x',y',z')=quaternion_rotation*(x,y,z);
[0046] Where quaternion_rotation is the quaternion representing the rotation.
[0047] As an improvement of the above technical solution, scaling transformation: Scaling transformation is achieved by multiplying the coordinates of each vertex by the scaling factor. If (x, y, z) is the original vertex coordinate and (sx, sy, sz) is the scaling factor, the scaled new coordinate (x', y', z') can be calculated by the following formula:
[0048] x'=x*sx;
[0049] y'=y*sy;
[0050] z'=z*sz;
[0051] Repeat the above steps: Repeat the above steps for each model that needs to be instantiated.
[0052] Beneficial effects of the present invention:
[0053] 1. The BIM model component normalization method improves collaboration efficiency. Normalized BIM model components use the same standard, thereby reducing communication barriers, promoting information sharing and accelerating decision-making, and improving collaboration and communication efficiency; enhancing data consistency. Through normalization, the structure and naming conventions of the model are unified to ensure data consistency and reliability, and reduce information loss and incompleteness; optimizing model management. Standardized models simplify their management and maintenance processes, reduce duplication of work and management costs, and improve the overall efficiency of the project; increasing the reusability of models. Normalized models can be reused in different projects and stages, saving time and resources and improving design and construction efficiency; improving model interactivity and portability. Standardized models are easy to exchange and port in different software and environments, which enhances the flexibility and operability of the model.
[0054] 2. The BIM model component instantiation method saves model space and resources. Through instantiation, the same component instance can be used multiple times in the BIM model instead of creating a new copy each time. This can significantly reduce the size of the model file, reduce the burden of software processing, and save hardware resources; improve the performance of the model, because instantiation reduces duplicate geometric data, BIM software is faster and more responsive when loading and operating the model, which is especially important for large projects and complex models; convenient maintenance and updating, once the component in the model needs to be modified or updated, only its instance needs to be modified, and all places that reference the instance will be automatically updated, which simplifies the maintenance process and reduces the possibility of human error; maintain model consistency and accuracy: instantiation ensures that all places using the same instance are consistent, reducing errors and problems caused by differences between different copies and improving the accuracy of the model; enhance collaboration and communication efficiency, team members can share and use the same component through instantiation, ensuring that everyone is seeing the same version and instance, thereby reducing misunderstandings and communication costs, and realizing seamless exchange and sharing of components in different BIM software. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a flow chart of the normalization method of the present invention;
[0056] Figure 2 The figure is a flow chart of an example method of the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0058] See also Figure 1-2 The present invention provides a technical solution: a normalization and instantiation method for BIM model components: including a normalization method and an instantiation method; simplifying data exchange between different BIM software and improving the execution efficiency of engineering projects; making the updating, maintenance and management of component libraries simpler and more efficient; reducing errors and duplication of work caused by inconsistent component representations; improving component consistency and accuracy, and improving design quality and efficiency.
[0059] Normalization method: Normalization is the process of converting BIM model components into a standardized form to enhance the portability and interactivity of the model so that it can be used and processed in different software or environments; it includes the following steps:
[0060] A1, convert the original BIM model components into a unified format, standard data structure or file format;
[0061] A2, ensure that the data and attributes of the model conform to the selected standard specifications so that they can be correctly interpreted and processed on other platforms;
[0062] The BIM model component normalization method improves collaboration efficiency. Normalized BIM model components use the same standard, thereby reducing communication barriers, promoting information sharing and accelerating decision-making, and improving collaboration and communication efficiency; enhances data consistency. Through normalization, the structure and naming conventions of the model are unified to ensure data consistency and reliability, and reduce information loss and incompleteness; optimizes model management. Standardized models simplify their management and maintenance processes, reduce duplication of work and management costs, and improve the overall efficiency of the project; increases the reusability of models. Normalized models can be reused in different projects and stages, saving time and resources and improving design and construction efficiency; improves model interactivity and portability. Standardized models are easy to exchange and port in different software and environments, enhancing the flexibility and operability of the model.
[0063] Instantiation method: The process of creating multiple identical or similar model instances in a scene using normalized BIM model components; used to generate multiple instances with different positions, rotations, and scales in a BIM scene to increase the realism and diversity of the scene; including the following steps:
[0064] B1, copy the normalized model to generate multiple model instances;
[0065] B2, assigns a unique position, rotation angle, and scale to each instance;
[0066] B3, each instance can be further customized or adapted as needed to suit specific BIM design or analysis needs;
[0067] The BIM model component instantiation method saves model space and resources. Through instantiation, the same component instance can be used multiple times in the BIM model instead of creating a new copy each time. This can significantly reduce the size of the model file, reduce the burden of software processing, and save hardware resources; improve the performance of the model, because instantiation reduces duplicate geometric data, BIM software is faster and more responsive when loading and operating the model, which is especially important for large projects and complex models; convenient maintenance and updating, once the component in the model needs to be modified or updated, only its instance needs to be modified, and all places that reference the instance will be automatically updated, which simplifies the maintenance process and reduces the possibility of human error; maintain model consistency and accuracy: instantiation ensures that all places where the same instance is used are consistent, reducing errors and problems caused by differences between different copies and improving the accuracy of the model; enhance collaboration and communication efficiency, team members can share and use the same component through instantiation, ensuring that everyone is seeing the same version and instance, thereby reducing misunderstandings and communication costs.
[0068] The process of converting a BIM model component into a standardized form includes the following steps:
[0069] C1, remove scaling transformation to ensure that the proportions of BIM model components are consistent and not affected by scaling; realize scaling of BIM model components to a standard size, using cubes or unit spheres as standard units;
[0070] In step C1, the scaling factor of the model is first calculated, that is, the ratio between the maximum length, width, and height of the model and the expected standard size unit cube or unit sphere; the formula for scaling each vertex in the model is as follows:
[0071] scale_factor=length_new / length_old;
[0072] vertex_new=vertex_old*scale_factor;
[0073] Among them, length_new represents the expected standard scale of the normalized BIM model component length, length_old represents the maximum length of the original BIM model component, scale_factor represents the scaling factor, vertex_new represents the scaled standard size model component, and vertex_old represents the original size model component.
[0074] C2, remove the rotation transformation and ensure the model's orientation is consistent. The model should be aligned in a consistent direction, and the bottom of the model should face the negative direction of the Z axis;
[0075] In step C2, perform a reverse rotation transformation on each vertex in the model to turn the bottom of the model toward the negative direction of the Z axis; the formula is as follows:
[0076] x_new=x_old*cos(angle)+y_old*sin(angle);
[0077] y_new=-x_old*sin(angle)+y_old*cos(angle);
[0078] z_new = z_old;
[0079] Where angle represents the rotation angle.
[0080] C3, repositioning, moves the center point of the model to the origin (0,0,0) to ensure that the model can be freely rotated and scaled around it;
[0081] In step C3, for each vertex (x, y, z), the repositioning can be expressed as:
[0082] x_new = x_old - center_x;
[0083] y_new = y_old - center_y;
[0084] z_new = z_old - center_z;
[0085] Where center_x, center_y, center_z are the coordinates of the center of mass of the model.
[0086] C4, normalized normals, ensures that the normal vectors on the model surface are consistent; for each vertex, the normals on the model surface are recalculated or averaged to ensure that they are consistent;
[0087] C5, removes unnecessary data and unnecessary information in the model, such as hidden faces and invisible parts.
[0088] Specifically, instantiating the normalized BIM model component includes the following steps:
[0089] D1, select the model to be instantiated, and select one from the normalized BIM model components as the instantiated prototype;
[0090] D2, determine the number and location of instantiations, determine the number of model instances to be created in the scene, and determine the location of each instance. The location can be predefined coordinates or randomly generated. Set the location of the model in the scene as needed to create a specific layout or pattern;
[0091] D3, determine the rotation and scaling of the instance, determine the rotation angle and scaling factor of each instance to make each instance look different and increase the variability of the scene, choose fixed rotation and scaling parameters, or generate them randomly to make each instance have a different appearance;
[0092] D4, create instances, for each instance, perform position, rotation and scale transformations on the normalized model and add it to the scene;
[0093] D5, repeat the above steps for each model that needs to be instantiated.
[0094] In step D4, creating an instance includes position transformation, rotation transformation, and scaling transformation;
[0095] Position transformation: For each instance, transform its position (x,y,z) to a new position (x',y',z'). This can be achieved by simply adding the original position to the displacement vector:
[0096] x' = x + dx;
[0097] y'=y+dy;
[0098] z'=z+dz;
[0099] Where (dx, dy, dz) is the displacement vector, representing the displacement of the instance on the three coordinate axes;
[0100] Rotation transformation: For each instance, the rotation transformation can be implemented by applying the rotation matrix to each vertex; if (x, y, z) is the original vertex coordinate, then the new coordinate (x', y', z') after rotation can be calculated by the following formula:
[0101] (x',y',z')=quaternion_rotation*(x,y,z);
[0102] Where quaternion_rotation is the quaternion representing the rotation;
[0103] Scaling transformation: Scaling transformation is achieved by multiplying the coordinates of each vertex by the scaling factor. If (x, y, z) is the original vertex coordinate and (sx, sy, sz) is the scaling factor, the scaled new coordinates (x', y', z') can be calculated by the following formula:
[0104] x'=x*sx;
[0105] y'=y*sy;
[0106] z'=z*sz;
[0107] Repeat the above steps: Repeat the above steps for each model that needs to be instantiated.
[0108] The above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them.
Claims
1. A normalized instantiation method for BIM model components, characterized in that: Includes normalization method and instantiation method; Normalization method: Normalization is the process of converting BIM model components into a standardized form to enhance the portability and interactivity of the model so that it can be used and processed in different software or environments; it includes the following steps: A1, convert the original BIM model components into a unified format, standard data structure or file format; A2, ensure that the data and attributes of the model conform to the selected standard specifications so that they can be correctly interpreted and processed on other platforms; Instantiation method: The process of creating multiple identical or similar model instances in a scene using normalized BIM model components; used to generate multiple instances with different positions, rotations, and scales in a BIM scene to increase the realism and diversity of the scene; including the following steps: B1, copy the normalized model to generate multiple model instances; B2, assigns a unique position, rotation angle, and scale to each instance; B3, each instance can be further customized or adapted as needed to suit specific BIM design or analysis needs.
2. The normalized instantiation method of a BIM model component according to claim 1, characterized in that: The process of converting a BIM model component into a standardized form includes the following steps: C1, remove scaling transformation to ensure that the proportions of BIM model components are consistent and not affected by scaling; realize scaling of BIM model components to a standard size, using cubes or unit spheres as standard units; C2, remove the rotation transformation and ensure the model's orientation is consistent. The model should be aligned in a consistent direction, and the bottom of the model should face the negative direction of the Z axis; C3, repositioning, moves the center point of the model to the origin (0,0,0) to ensure that the model can be freely rotated and scaled around it; C4, normalized normals, ensures that the normal vectors on the model surface are consistent; for each vertex, the normals on the model surface are recalculated or averaged to ensure that they are consistent; C5, removes unnecessary data and unnecessary information in the model, such as hidden faces and invisible parts.
3. A normalized instantiation method for BIM model components according to claim 2, characterized in that: In step C1, the scaling factor of the model is first calculated, that is, the ratio between the maximum length, width, and height of the model and the expected standard size unit cube or unit sphere; the formula for scaling each vertex in the model is as follows: scale_factor=length_new / length_old; vertex_new=vertex_old*scale_factor; Among them, length_new represents the expected standard scale of the normalized BIM model component length, length_old represents the maximum length of the original BIM model component, scale_factor represents the scaling factor, vertex_new represents the scaled standard size model component, and vertex_old represents the original size model component.
4. The normalization instantiation method of a BIM model component according to claim 2, characterized in that: In step C2, perform a reverse rotation transformation on each vertex in the model to turn the bottom of the model toward the negative direction of the Z axis; the formula is as follows: x_new=x_old*cos(angle)+y_old*sin(angle); y_new=-x_old*sin(angle)+y_old*cos(angle); z_new = z_old; Where angle represents the rotation angle.
5. The normalized instantiation method of a BIM model component according to claim 2, characterized in that: In step C3, for each vertex (x, y, z), the repositioning can be expressed as: x_new = x_old - center_x; y_new = y_old - center_y; z_new = z_old - center_z; Where center_x, center_y, center_z are the coordinates of the center of mass of the model.
6. The normalization instantiation method of a BIM model component according to claim 1, characterized in that: Instantiating the normalized BIM model components includes the following steps: D1, select the model to be instantiated, and select one from the normalized BIM model components as the instantiated prototype; D2, determine the number and location of instantiations, determine the number of model instances to be created in the scene, and determine the location of each instance. The location can be predefined coordinates or randomly generated. Set the location of the model in the scene as needed to create a specific layout or pattern; D3, determine the rotation and scaling of the instance, determine the rotation angle and scaling factor of each instance to make each instance look different and increase the variability of the scene, choose fixed rotation and scaling parameters, or generate them randomly to make each instance have a different appearance; D4, create instances, for each instance, perform position, rotation and scale transformations on the normalized model and add it to the scene; D5, repeat the above steps for each model that needs to be instantiated.
7. A normalized instantiation method for BIM model components according to claim 6, characterized in that: In step D4, creating an instance includes position transformation, rotation transformation, and scaling transformation.
8. A normalized instantiation method for BIM model components according to claim 7, characterized in that: Position transformation: For each instance, transform its position (x,y,z) to a new position (x',y',z'). This can be achieved by simply adding the original position to the displacement vector: x' = x + dx; y'=y+dy; z'=z+dz; Where (dx, dy, dz) is a displacement vector representing the displacement of the instance on the three coordinate axes.
9. The normalized instantiation method of a BIM model component according to claim 7, characterized in that: Rotation transformation: For each instance, the rotation transformation can be implemented by applying the rotation matrix to each vertex; if (x, y, z) is the original vertex coordinate, then the new coordinate (x', y', z') after rotation can be calculated by the following formula: (x',y',z')=quaternion_rotation*(x,y,z); Where quaternion_rotation is the quaternion representing the rotation.
10. The normalized instantiation method of a BIM model component according to claim 7, characterized in that: Scaling transformation: Scaling transformation is achieved by multiplying the coordinates of each vertex by the scaling factor. If (x, y, z) is the original vertex coordinate and (sx, sy, sz) is the scaling factor, the scaled new coordinates (x', y', z') can be calculated by the following formula: x'=x*sx; y'=y*sy; z'=z*sz; Repeat the above steps: Repeat the above steps for each model that needs to be instantiated.
