CN115641427A - Method, system and device for generating hole flanging coating deepening design model and storage medium - Google Patents

Method, system and device for generating hole flanging coating deepening design model and storage medium Download PDF

Info

Publication number
CN115641427A
CN115641427A CN202210970832.0A CN202210970832A CN115641427A CN 115641427 A CN115641427 A CN 115641427A CN 202210970832 A CN202210970832 A CN 202210970832A CN 115641427 A CN115641427 A CN 115641427A
Authority
CN
China
Prior art keywords
entity
difference set
geometric
window
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210970832.0A
Other languages
Chinese (zh)
Inventor
肖霞
朱晶
张�成
陈俊
袁鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Sanyuanse Energy Saving Architectural Engineering Co ltd
Original Assignee
Chongqing Sanyuanse Energy Saving Architectural Engineering Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Sanyuanse Energy Saving Architectural Engineering Co ltd filed Critical Chongqing Sanyuanse Energy Saving Architectural Engineering Co ltd
Priority to CN202210970832.0A priority Critical patent/CN115641427A/en
Publication of CN115641427A publication Critical patent/CN115641427A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to the technical field of building three-dimensional model construction, and particularly discloses a method for generating a hole flanging-type coating deepening design model, which is used for acquiring a geometric entity of a current door/window member and a geometric entity of a building main body structure model member where the door/window is located; stretching each surface of the geometric solid based on the layer thickness in the preset layer parameters to generate a plurality of stretched solids, and storing each surface and the stretched solids obtained based on the surface in a one-to-one correspondence manner, wherein the surface is called the current surface of the stretched solids; finding out a stretching entity which has intersection with the geometric entity of the current door/window; respectively carrying out difference set processing on the geometric entity of the current front door/window and each stretching entity, and removing half results positioned at the inner side of the door/window in difference set results; performing overlap subtraction on the rest difference set results, and removing the overlapped parts of the rest difference set results and other components to obtain a new difference set entity; and generating a hole flanging class-coating deepening design model component based on the layer parameters and the difference entity.

Description

Method, system and device for generating hole flanging coating deepening design model and storage medium
Technical Field
The invention relates to the technical field of building three-dimensional model construction, and particularly discloses a method, a system, a device and a storage medium for generating a hole flanging coating deepening design model.
Background
As an application of the BIM technology in the field of exterior wall coating deepening design, three-dimensional models such as a heat preservation layer, a coating layer and lines on an exterior wall need to be generated on the basis of a building main structure model consisting of main structure model components, the three-dimensional models are collectively called exterior wall coating deepening design three-dimensional models, and the three-dimensional models can provide important help for engineering cost accounting and construction of a subsequent exterior wall coating deepening design layer.
When the structure of the door, the window and other openings exists on the outer wall of the current building, the outer wall coating layer extends into the opening and covers the part from the edge of the opening to the installation position of the door and window structure, and the part of the outer wall coating layer is called opening flanging; therefore, in the coating deepening design model, the part of the outer wall coating also needs to generate a corresponding component so as to be consistent with the actual engineering. However, such members have the characteristics of large quantity and small area, are mainly generated manually at present, and have extremely low working efficiency.
Disclosure of Invention
One of the purposes of the invention is to provide a method for generating an opening flanging coating deepening design model, which utilizes relevant data given by the existing building main body structure model to realize automatic generation of an opening flanging coating deepening design model component, avoids the dependence on manual generation of a model and further improves the working efficiency.
The method for generating the hole flanging coating deepening design model comprises the following steps:
step 1, acquiring a geometric entity of a current door/window member and a geometric entity of a building main body structure model member where the door/window is located;
step 2 stretching each face of the geometric solid based on the layer thickness in the layer parameters given in advance, generating a plurality of stretched solids,
step 3, finding out a stretching entity which has intersection with the geometric entity of the current door/window;
step 4, respectively carrying out difference set processing on the geometric entity of the current front door/window and each stretching entity, and removing half results positioned at the inner side of the door/window in the difference set results;
step 5, performing overlap deduction on the rest difference set results, and removing the overlapped parts of the rest difference set results and other components to obtain a new difference set entity;
and 6, generating a hole flanging coating deepening design model component based on the layer parameters and the difference entity.
Further, in step 4, the difference set result to be removed is found as follows:
and calculating the distance from the central point of the difference set result to a surface of the structural member where the door/window is positioned, wherein the normal direction of the structural member is consistent with the normal direction of the structural member, and excluding the half of all the structural members where the distance is larger.
Further, step 2 further includes storing each surface and the stretched entity obtained based on the surface in a one-to-one correspondence manner, and referring the surface as the current surface of the stretched entity;
step 6 also comprises the steps of taking the normal vector of the surface of the difference set entity opposite to the current surface, judging whether the surface is oriented transversely or vertically,
if the normal direction is positioned on the X-Y axis plane, the orientation of the plane is considered to be transverse, and the difference set entity is created into a component with the attribute of a wall according to the layer parameters;
if the normal direction position is the same direction or opposite direction to the Z axis, the orientation of the surface is considered to be vertical, and the difference set entity is created as a member with the attribute of a floor slab according to the layer parameters.
Further, the overlap subtraction comprises: and finding out all members which have an overlapping part with the difference set part in the current model range based on the outline of the difference set part of the stretched entity to obtain an overlapping member list containing all the members with the overlapping part, and removing the overlapping part in the difference set part by carrying out difference set Boolean operation on the geometric entities of all the members in the overlapping member list to further obtain a final difference set entity.
Another object of the present invention is to provide a system for generating a hole flanging coating deepening design model, comprising:
the entity acquisition module is used for acquiring the geometric entity of the current door/window member and the geometric entity of the building main body structure model member where the door/window is positioned;
a stretching module for stretching each face of the geometric solid based on a layer thickness in a layer parameter given in advance to generate a plurality of stretched solids;
the searching module is used for finding out a stretching entity which has intersection with the geometric entity of the current door/window;
the difference set processing module is used for respectively carrying out difference set processing on the geometric entity of the current door/window and each stretching entity and removing half results positioned at the inner side of the door/window in the difference set results;
the overlap deduction module is used for carrying out overlap deduction on the rest difference set results and removing the overlapped parts of the rest difference set results and other components to obtain a new difference set entity;
and the generation module is used for generating a hole flanging class coating deepening design model component based on the layer parameters and the difference entity.
Further, the difference set processing module is further configured to calculate a distance from a center point of the difference set result to a surface of the component where the door/window is located, where a normal direction of the geometric entity is consistent with a normal direction of the geometric entity, and exclude a half of all entities with a larger distance.
Further, the stretching module is further configured to store each surface and the stretching entity obtained based on the surface in a one-to-one correspondence manner, and the surface is referred to as a current surface of the stretching entity;
the generating module is also used for taking the normal vector of the surface of the difference set entity opposite to the current surface and judging whether the surface is oriented transversely or vertically,
if the normal direction is positioned on the X-Y axis plane, the orientation of the plane is considered to be transverse, and the difference set entity is created into a component with the attribute of a wall according to the layer parameters;
if the normal direction position is the same direction or opposite direction to the Z axis, the orientation of the surface is considered to be vertical, and the difference set entity is created as a member with the attribute of a floor slab according to the layer parameters.
Further, the overlap subtraction module is configured to find all members having an overlapping portion with the difference set portion in the current model range based on the profile of the difference set portion of the stretched entity, obtain an overlapping member list including all members having the overlapping portion, perform difference set boolean operation with the geometric entities of each member in the overlapping member list, remove the overlapping portion in the difference set portion, and further obtain a final difference set entity.
The invention also aims to provide a device for generating the hole flanging coating deepening design model, which comprises a processor and a memory;
the memory has stored therein a computer program for execution by the processor to implement the steps of the method as previously described.
It is a further object of the present invention to provide a computer storage medium storing a computer program which, when executed, implements the steps of the aforementioned method.
According to the invention, the data of each component in the model is analyzed through the existing related data of each component, and the generation position of the hole flanging coating deepening design model is automatically judged and positioned.
Drawings
Fig. 1 is a flowchart of a method for generating a hole flanging class-coating deepening design model in the embodiment of the invention.
FIG. 2 is a flowchart of the overlap reduction step in an embodiment of the present invention.
FIG. 3 is a schematic block diagram illustrating generation of a hole flanging similar-coating deepening design model according to an embodiment of the present invention.
Detailed Description
The automatic extension method for the paint-and-protect design model in this embodiment is implemented after generating the original geometric entities of the components of the paint-and-protect design model, as shown in fig. 1.
Based on the definition rule of the software itself used for operating the current model, all relevant data of the geometric entities of all the model components are uniquely determined and can be read, for example, the geometric entity data of the components can be obtained through get _ Geometry function command in Revit software, including but not limited to the defined orientation, contour, point cloud, surface, and orientation of each surface of the geometric entities, and the orientation information is generally given in the form of the normal direction in the normal vector.
Firstly, acquiring a geometric entity of a current door/window member and a geometric entity of a building main body structure model member where the door/window is positioned;
stretching each surface of the geometric solid based on the layer thickness in the layer parameters given in advance to generate a plurality of stretching solids, and storing each surface and the stretching solids obtained based on the surface in a one-to-one correspondence manner, namely the surface is the current surface of the stretching solids;
finding out the stretching entities which have intersection with the geometric entities of the current door/window, wherein the specific implementation can be, but is not limited to, traversing all the stretching geometric entities, performing intersection Boolean operation on the geometric entities of the current door/window and each stretching entity at present, and if the result is not empty, the stretching entities are required, and then storing the stretching entities by using an intersection entity set; it is easy to think that the stretching entity which can be intersected with the geometric entity of the door/window must be the stretching entity which is stretched from the inner side surface of the hole where the door/window is positioned, and is the prototype of the entity required for building the flanging part deepening design layer model component of the door or window.
Traversing all stretching entities in the intersection entity set, firstly taking the current surface of the current stretching entity as a plane to create a surface, and then taking Difference processing, namely Difference Boolean operation, between the geometric entity of the current door/window and the current stretching entity, wherein the Difference processing can be completed by adopting a function of software, such as 'Boolean operation Utils, execution Boolean operation (Difference') in review software; because the geometric solid of the door/window is usually not positioned at the tail end of the opening but in the middle, the tensile solid is just cut off, so that the difference set operation result of each tensile solid and the geometric solid of the door/window comprises a front geometric solid and a rear geometric solid which are bounded by the geometric solid of the door/window, namely two difference set results, and only the geometric solid positioned between the geometric solid of the door/window and the edge on the upper outer wall surface side of the opening needs to be reserved and the other geometric solid needs to be deleted according to the engineering requirement of opening flanging. In practice, it is possible, but not limited to, to calculate the distance from the center point of the difference set result to a surface of the component where the door/window is located, where the normal direction of the geometric entity is consistent with the normal direction of the geometric entity, and to exclude the entity with the larger distance.
Next, performing an overlap subtraction step shown in fig. 2 on the difference set part of the remaining stretched entity to obtain a new difference set entity, specifically:
finding out all members which have an overlapping part with the difference set part in the range of the current model based on the outline of the difference set part of the stretching entity; in specific implementation, this step can be implemented by a screening or filtering function of software itself, for example, but not limited to, functional commands such as bounding boxintersectacts filter, elementClassFilter, and wheepass in Revit software, and by this step, an overlapped component list including all components of the overlapped portion can be obtained.
Next, performing difference set boolean operation on the geometric entities of the components in the overlapping component list to remove the overlapping part in the difference set part, thereby obtaining a final difference set entity;
in a specific implementation, members in the list of overlapping members may be traversed through a loop; in each cycle, reading corresponding geometric entity related data according to current component information, performing difference set Boolean operation on the geometric entity and the original geometric entity, removing an overlapped part in the original geometric entity, and obtaining a new difference set part covering the original difference set part for the next cycle;
if no overlapping part exists in the actual operation (the operation return value is null), directly entering the next cycle, and outputting a final difference set part as a difference set entity after traversing all the components in the overlapping component list; in some embodiments, after traversing all the members in the overlapping member list, a checking step is performed to compare whether there is a difference between the input difference portion and the output difference entity, and if so, re-traversing the members in the overlapping member list, but using the last updated difference portion in the previous set of cycles in the set of cycles; conceivably, in the first set of loops, if the overlapped part is removed, the difference between the input original geometric entity and the output final geometric entity must exist, so that the second set of loops must be entered, and if no overlapped part is removed, the inspection step is smoothly passed, and the final geometric entity is output; in the second group of cycles, the return values of difference set Boolean operations in each time are also required to be null, namely, no part needing to be deducted exists, and the check step can be successfully passed; by the design, the final geometric solid is completely free of the part needing to be deducted, and the condition of missing deduction possibly is avoided.
Then, taking the normal vector of the surface of the difference set entity opposite to the current surface, and judging whether the surface is oriented transversely or vertically,
if the normal direction is positioned on the X-Y axis plane, the orientation of the plane is considered to be transverse, and the difference set entity is created into a component with the attribute of a wall according to the layer parameters;
if the normal direction position is the same direction or opposite direction to the Z axis, the orientation of the surface is considered to be vertical, and the difference entity is created as a member with the property of a floor slab according to the layer parameters.
In some embodiments, the method of the present invention is implemented by a system for generating an opening flanging similar-coating deepening design model, and fig. 3 illustrates a system for generating an opening flanging similar-coating deepening design model, which includes:
the entity acquisition module is used for acquiring the geometric entity of the current door/window member and the geometric entity of the building main body structure model member where the door/window is positioned;
the stretching module is used for stretching each surface of the geometric entity based on the layer thickness in the preset layer parameters to generate a plurality of stretched entities, and storing each surface and the stretched entities obtained based on the surface in a one-to-one correspondence manner, wherein the surface is called the current surface of the stretched entity;
the searching module is used for finding out a stretching entity which has intersection with the geometric entity of the current door/window;
the difference set processing module is used for respectively carrying out difference set processing on the geometric entity of the current front door/window and each stretching entity and removing half results positioned at the inner side of the door/window in the difference set results; specifically, the method comprises the steps of calculating the distance from the center point of the difference set result to a surface of the structural member where the door/window is located, wherein the normal direction of the structural member is consistent with the normal direction of the structural member, and excluding the half of all the structural members where the distance is larger.
And the overlap deduction module is used for performing overlap deduction on the rest difference set results, removing the overlapped parts of the rest difference set results and other components to obtain a new difference set entity.
A generating module for generating a hole flanging coating-like deepening design model component based on the layer parameters and the difference entity, wherein a normal vector of a surface of the difference entity opposite to the current surface is taken, and whether the direction of the surface is transverse or vertical is judged,
if the normal direction is positioned on the X-Y axis plane, the orientation of the plane is considered to be transverse, and the difference set entity is created into a component with the attribute of a wall according to the layer parameters;
if the normal direction position is the same direction or opposite direction to the Z axis, the orientation of the surface is considered to be vertical, and the difference set entity is created as a member with the attribute of a floor slab according to the layer parameters.
The invention further provides a device for generating a hole flanging coating deepening design model, which comprises a processor and a memory;
the memory has stored therein a computer program for execution by the processor to perform the various steps previously described.
Further embodiments of the invention are in the form of a computer storage medium storing a computer program that, when executed, performs the various steps described above.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. The method for generating the hole flanging coating deepening design model is characterized by comprising the following steps of:
step 1, acquiring a geometric entity of a current door/window member and a geometric entity of a building main body structure model member where the door/window is located;
step 2, stretching each surface of the geometric solid based on the layer thickness in the layer parameters given in advance to generate a plurality of stretched solids;
step 3, finding out a stretching entity which has intersection with the geometric entity of the current front door/window;
step 4, respectively carrying out difference set processing on the geometric entity of the current front door/window and each stretching entity, and removing half results positioned at the inner side of the door/window in the difference set results;
step 5, performing overlap deduction on the rest difference set results, and removing the overlapped parts of the rest difference set results and other components to obtain a new difference set entity;
and 6, generating a hole flanging class-coating deepening design model component based on the layer parameters and the difference entity.
2. The method of claim 1, wherein the difference set result to be removed is found in step 4 by:
and calculating the distance from the central point of the difference set result to a surface of the structural member where the door/window is positioned, wherein the normal direction of the structural member is consistent with the normal direction of the geometric entity, and excluding the half of all the entities with larger distance.
3. The method of claim 1, wherein step 2 further comprises storing each surface in a one-to-one correspondence with the stretched entity obtained based on the surface, and the surface is called a current surface of the stretched entity;
step 6 also comprises the steps of taking the normal vector of the surface of the difference set entity opposite to the current surface, judging whether the surface is oriented transversely or vertically,
if the normal direction is positioned on the X-Y axis plane, the orientation of the plane is considered to be transverse, and the difference set entity is created into a component with the attribute of a wall according to the layer parameters;
if the normal direction position is the same direction or opposite direction to the Z axis, the orientation of the surface is considered to be vertical, and the difference entity is created as a member with the property of a floor slab according to the layer parameters.
4. The method of claim 1, wherein the overlap subtraction comprises: and finding out all members which have an overlapping part with the difference set part in the current model range based on the outline of the difference set part of the stretched entity to obtain an overlapping member list containing all the members with the overlapping part, and removing the overlapping part in the difference set part by carrying out difference set Boolean operation on the geometric entities of all the members in the overlapping member list to further obtain a final difference set entity.
5. A generation system of a hole flanging-type coating deepening design model is characterized by comprising the following steps:
the entity acquisition module is used for acquiring the geometric entity of the current door/window member and the geometric entity of the building main body structure model member where the door/window is positioned;
a stretching module for stretching each face of the geometric solid based on a layer thickness in a layer parameter given in advance to generate a plurality of stretched solids;
the searching module is used for finding out a stretching entity which has intersection with the geometric entity of the current door/window;
the difference set processing module is used for respectively carrying out difference set processing on the geometric entity of the current door/window and each stretching entity and removing half results positioned at the inner side of the door/window in the difference set results;
the overlap deduction module is used for carrying out overlap deduction on the rest difference set results and removing the overlapped parts of the rest difference set results and other components to obtain a new difference set entity;
and the generating module is used for generating the hole flanging coating deepening design model component based on the layer parameters and the difference entity.
6. The system of claim 5, wherein the difference processing module is further configured to calculate a distance from a center point of the difference result to a surface of the door/window component where a normal direction of the geometric entity is consistent with a normal direction of the geometric entity, and exclude a half of all entities having a larger distance.
7. The system of claim 5, wherein the stretching module is further configured to store each surface in a one-to-one correspondence with the stretching entity obtained based on the surface, and to refer to the surface as a current surface of the stretching entity;
the generating module is also used for taking the normal vector of the surface of the difference set entity opposite to the current surface, judging whether the surface is oriented transversely or vertically,
if the normal direction is positioned on the X-Y axis plane, the orientation of the plane is considered to be transverse, and the difference set entity is created into a component with the attribute of a wall according to the layer parameters;
if the normal direction position is the same direction or opposite direction to the Z axis, the orientation of the surface is considered to be vertical, and the difference set entity is created as a member with the attribute of a floor slab according to the layer parameters.
8. The system of claim 5, wherein the overlap subtraction module is configured to find all members within the current model range that have an overlap with the difference portion based on the contour of the difference portion of the stretched entity, obtain an overlap member list including all members having the overlap, and remove the overlap in the difference portion by performing a difference Boolean operation with the geometric entities of each member in the overlap member list, thereby obtaining a final difference entity.
9. The device for generating the hole flanging coating deepening design model is characterized by comprising a processor and a memory;
the memory has stored therein a computer program for execution by the processor to implement the steps of the method as previously described.
10. A computer storage medium, characterized in that it stores a computer program which, when executed, implements the steps of the aforementioned method.
CN202210970832.0A 2022-08-13 2022-08-13 Method, system and device for generating hole flanging coating deepening design model and storage medium Pending CN115641427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210970832.0A CN115641427A (en) 2022-08-13 2022-08-13 Method, system and device for generating hole flanging coating deepening design model and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210970832.0A CN115641427A (en) 2022-08-13 2022-08-13 Method, system and device for generating hole flanging coating deepening design model and storage medium

Publications (1)

Publication Number Publication Date
CN115641427A true CN115641427A (en) 2023-01-24

Family

ID=84940323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210970832.0A Pending CN115641427A (en) 2022-08-13 2022-08-13 Method, system and device for generating hole flanging coating deepening design model and storage medium

Country Status (1)

Country Link
CN (1) CN115641427A (en)

Similar Documents

Publication Publication Date Title
JP3962109B2 (en) How to display data dependencies in a software modeling system
US6822195B2 (en) Automated weld location system for vehicles
US8405655B2 (en) Geometric modeling system and optimization method for geometric fitting
EP0768624A2 (en) Roll-back during regeneration in a computer-aided design system
US20060129259A1 (en) Automatic calculation of minimum and maximum tolerance stack
KR101185093B1 (en) Project management device and method for architecture modeling tool of application software on AUTOSAR
Pinfold et al. The application of KBE techniques to the FE model creation of an automotive body structure
CN108762749B (en) System object diagram automatic generation method based on code analysis
US20130211806A1 (en) Computerized tool and method for the automated creation of a cutter ramp curve
CN108491592A (en) CAE simulation results automatic processing method and system
US7539603B2 (en) Detection of component hole gaps for weld beads in a computer-implemented solid modeling system
JP2003288372A (en) Analytic result data processor for cad, analytic result data processing method for cad, and analytic result data processing program for cad
US7107193B1 (en) Defining parameters for a finite elements analysis calculation in a computer-assisted drafting program
CN102177518A (en) Method and device for producing a finite element model
Nielsen et al. Capturing and using designer intent in a design-with-features system
CN115641427A (en) Method, system and device for generating hole flanging coating deepening design model and storage medium
US20050128198A1 (en) Method and apparatus for generating three-dimensional finite element mesh
CN113064674B (en) Method and device for expanding state machine logic, storage medium and electronic device
US20050071136A1 (en) Knowledge management system with interactive rule changes for computer-aided design modeling
KR102021018B1 (en) Apparatus and method for defining rules for checking BIM quality
CN115098957B (en) Method and device for generating connection point of vehicle body part and electronic equipment
US6597355B1 (en) Automatic recognition and suppression of complex interacting holes
CN111680412A (en) BIM electromechanical and structural collision inspection method based on Revit
CN115578545A (en) Automatic extension method and device for coating deepened design model and storage medium
JP2905225B2 (en) Three-dimensional shape design history management method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination