Roof slope layer model generation method, device, equipment and storage medium

The three-dimensional model of the roof slope layer is generated through BIM technology, which solves the time-consuming problem of manually confirming the distribution and thickness of the setting-out points during roof construction, improves the construction efficiency and accuracy, and realizes the automatic calculation of the setting-out point distribution.

CN117972862BActive Publication Date: 2024-10-29BEIJING FOURTH CONSTR & ENG
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410249300.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-05
Publication Date
2024-10-29
Estimated Expiration
2044-03-05

AI Technical Summary

Technical Problem

During the construction of the roof slope layer, technicians need to manually confirm the distribution of setting points and the thickness of the slope layer at each point, resulting in low construction efficiency and accuracy.

Method used

Using BIM technology, by obtaining the three-dimensional model and basic parameters of the roof, the first and second extension solid models are generated, their intersection is determined, and then a three-dimensional model of the slope layer is generated, and the distribution of setting points is automatically calculated to improve construction efficiency and Accuracy.

Benefits of technology

The automatic generation of roof slope layer models is realized, which improves construction efficiency and accuracy, reduces manual operation time, and enhances the deepening efficiency of construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117972862B_ABST
    Figure CN117972862B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, device, equipment and storage medium for generating a roof slope layer model. The method comprises: obtaining a BIM three-dimensional model of a roof and basic parameters of the slope layer of the roof; generating a first extended entity model and a second extended entity model of the roof according to the BIM three-dimensional model of the roof and the basic parameters of the slope layer of the roof; determining the intersection of the first extended entity model and the second extended entity model; generating a three-dimensional model of the slope layer of the roof according to the intersection of the first extended entity model and the second extended entity model. The technical solution of the present application, using BIM technology, can automatically generate a BIM three-dimensional model of the slope layer of the roof, and generate a distribution map of the layout points of the roof slope layer, thereby improving the generation efficiency of the slope layer model and the accuracy of the slope layer construction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of roof slope leveling layers, and in particular to a method, device, equipment and storage medium for generating a roof slope leveling layer model. Background Art

[0002] In the related art, during the construction of the roof slope layer, technicians are often required to manually confirm the distribution of the layout points and the thickness of the slope layer at each point according to the roof design slope. This technical work is time-consuming and affects the efficiency and accuracy of the deepening of the slope layer. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a roof slope layer model generation method, device, equipment and storage medium to solve the above problems.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for generating a roof slope layer model is provided, comprising:

[0005] Obtaining a BIM three-dimensional model of the roof and basic parameters of the slope layer of the roof, the basic parameters at least including: the number of reference points in the first direction and the number of reference points in the second direction of the slope layer, and the slope value of the slope layer;

[0006] Generate a first extended solid model and a second extended solid model of the roof respectively according to the BIM three-dimensional model of the roof and basic parameters of the slope finding layer of the roof;

[0007] determining an intersection of the first extended solid model and the second extended solid model;

[0008] Generate a three-dimensional model of the slope layer of the roof according to the intersection of the first extended solid model and the second extended solid model;

[0009] Generate the first extended solid model of the roof based on the BIM 3D model of the roof, including:

[0010] Generate a roof boundary model that wraps the BIM three-dimensional model of the roof according to the BIM three-dimensional model of the roof;

[0011] Generate a reference point set according to the number of reference points in the first direction and the number of reference points in the second direction in the roof boundary model;

[0012] Determine the rainwater inlet in the slope layer;

[0013] Determine the horizontal distance from each reference point in the reference point set to the stormwater inlet;

[0014] Determine the longitudinal offset of each reference point according to the slope value of the slope finding layer and the horizontal distance from each reference point to the rainwater outlet;

[0015] Each reference point is longitudinally offset according to the longitudinal offset of each reference point to generate a first extended solid model of the roof;

[0016] Generate a second extended solid model of the roof, including:

[0017] Determine the top surface of the roof and the predetermined distance of the top surface extending in the vertical direction of the roof;

[0018] The top surface is extended according to a predetermined distance to obtain a second extended solid model of the roof.

[0019] In one embodiment, a reference line group is generated on the bottom surface of the roof; wherein the reference lines in the reference line group are parallel to each other; and the distance between any two reference lines is equal;

[0020] Generate layout points on each reference line.

[0021] In one embodiment, in the reference line group, the first and last reference lines are respectively moved inward of the reference line group by a predetermined distance along a direction perpendicular to the reference line.

[0022] In one embodiment, generating a set-off point on each reference line includes:

[0023] For any reference line, determine the distance between any two adjacent set-off points on the reference line;

[0024] The number of laying-out points on the reference line is determined according to the length of each reference line and the distance between any two adjacent laying-out points;

[0025] Generate the layout points on the reference line according to the number of layout points and the position of each layout point.

[0026] In one embodiment, the method further comprises: translating each set-out point by a predetermined distance along a first direction perpendicular to the roof to obtain a set-out reference point;

[0027] Project each reference point of the layout toward the roof to determine the layout point position on the roof;

[0028] Generate marks and annotations for each layout point;

[0029] According to the marking and annotation of each layout point, a drawing is produced to obtain the distribution map of the layout points of the roof slope layer.

[0030] In one embodiment, the method further includes determining a maximum value in a set of longitudinal offsets of each reference point as a maximum value of the thickness of the slope finding layer.

[0031] In one embodiment, generating a three-dimensional model of a slope layer of a roof according to the intersection includes:

[0032] Determine the family name, model category and slope layer material;

[0033] Generate a three-dimensional model of the slope layer based on the intersection, family name, model category, and slope layer material.

[0034] In a second aspect, the present application proposes a device for generating a roof slope layer model, comprising:

[0035] An acquisition module is used to acquire a BIM three-dimensional model of the roof and basic parameters of the slope layer of the roof, the basic parameters at least including: the number of reference points in the first direction and the number of reference points in the second direction of the slope layer, and the slope value of the slope layer;

[0036] An intermediate model generation module is used to generate a first extended entity model and a second extended entity model of the roof according to the BIM three-dimensional model of the roof and basic parameters of the slope layer of the roof;

[0037] An intersection module, used to determine the intersection of the first extended entity model and the second extended entity model;

[0038] A slope layer model generation module is used to generate a three-dimensional model of the slope layer of the roof according to the intersection of the first extended entity model and the second extended entity model;

[0039] The intermediate model generation module is further used to generate a roof boundary model that wraps the BIM three-dimensional model of the roof according to the BIM three-dimensional model of the roof;

[0040] Generate a reference point set according to the number of reference points in the first direction and the number of reference points in the second direction in the roof boundary model;

[0041] Determine the rainwater inlet in the slope layer;

[0042] Determine the horizontal distance from each reference point in the reference point set to the stormwater inlet;

[0043] Determine the longitudinal offset of each reference point according to the slope value of the slope finding layer and the horizontal distance from each reference point to the rainwater outlet;

[0044] Each reference point is longitudinally offset according to the longitudinal offset of each reference point to generate a first extended solid model of the roof;

[0045] The intermediate model generation module is also used to determine the top surface of the roof and the predetermined distance of the top surface extending in the vertical direction of the roof;

[0046] The top surface is translated according to a predetermined distance to obtain a second extended solid model of the roof.

[0047] In a third aspect, the present application proposes an electronic device, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to run the executable instructions to implement any of the above methods.

[0048] In a fourth aspect, the present application proposes a computer-readable storage medium, which contains one or more program instructions, and the one or more program instructions are used to execute the steps of the above method.

[0049] The technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: the above-mentioned technical solution of the present application, by obtaining the BIM three-dimensional model of the roof and the basic parameters of the roof slope layer; using BIM technology, respectively generating the first extended entity model and the second extended entity model of the roof according to the BIM three-dimensional model and the basic parameters of the roof. The BIM three-dimensional model of the slope layer can be automatically generated, and the distribution map of the layout points of the roof slope layer can be generated, thereby improving the generation efficiency of the slope layer model and the construction accuracy of the slope layer.

[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0052] Figure 1 is a flow chart of a method for generating a roof slope layer model according to an exemplary embodiment;

[0053] Figure 2 is a schematic diagram of a BIM three-dimensional model of a roof according to an exemplary embodiment;

[0054] Figure 3 is a schematic diagram of a roof boundary model according to an exemplary embodiment;

[0055] Figure 4 is a side view of a first extended solid model of a roof according to an exemplary embodiment;

[0056] Figure 5 is a side view of a second extended solid model of a roof according to an exemplary embodiment;

[0057] Figure 6 is a side view of an intersection of a first extended solid model and a second extended solid model according to an exemplary embodiment;

[0058] Figure 7is a schematic diagram of a slope finding layer according to an exemplary embodiment;

[0059] Figure 8 is a schematic diagram showing the distribution of reference lines on the bottom surface of a roof according to an exemplary embodiment;

[0060] Fig. 9 is a schematic diagram of a line-laying point mark according to an exemplary embodiment;

[0061] Fig.10 is a schematic diagram of the distribution of line-laying points according to an exemplary embodiment;

[0062] Fig.11 is a structural schematic diagram of a device for generating a roof slope layer model according to an exemplary embodiment;

[0063] Fig.12 The present invention is a structural schematic diagram of a device for generating a roof slope layer model according to an exemplary embodiment. DETAILED DESCRIPTION

[0064] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0065] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.

[0066] This application proposes a method for generating a roof slope layer model based on BIM technology. Figure 1 A flow chart of a method for generating a roof slope layer model based on BIM technology is shown, and the method may include the following steps:

[0067] In step S101, a BIM three-dimensional model of the roof and basic parameters of the slope layer of the roof are obtained. The basic parameters include at least the number of reference points in the first direction and the number of reference points in the second direction of the slope layer, and the slope value of the slope layer.

[0068] In this embodiment, see the attached Figure 2 A schematic diagram of a BIM three-dimensional model of a roof is shown. Based on the BIM three-dimensional model of the roof, a slope leveling layer can be further generated.

[0069] See attached Figure 3 A schematic diagram of a roof boundary model is shown, based on the BIM three-dimensional model 31 of the roof, a roof boundary model 32 of the BIM three-dimensional model 31 of the roof is generated. The size outline of the roof boundary model 32 is larger than the size outline of the BIM three-dimensional model 31 of the roof. Specifically, the BIM three-dimensional model 31 of the roof and the roof boundary model 32 are respectively used to generate a slope layer. One or more rainwater outlets are provided in the roof.

[0070] The slope value of the slope finding layer is the tangent value of the inclination angle of the slope finding layer. The first direction and the second direction are perpendicular to each other. The first direction may be the X-axis, the second direction may be the Y-axis, and the Z-axis is the direction perpendicular to the roof and upward.

[0071] In step S102, a first extended solid model and a second extended solid model of the roof are generated respectively according to the BIM three-dimensional model of the roof and basic parameters of the slope leveling layer of the roof.

[0072] In this embodiment, a dynamo program may be preset, and by running the dynamo program, a first extended solid model and a second extended solid model of the roof may be generated according to the BIM three-dimensional model of the roof.

[0073] In some embodiments, see Appendix Figure 4 The side view of the first extended solid model of a roof is shown; in the side view of the first extended solid model 01, the vertex on the left side of the roof is the rainwater outlet, and the farther away from the rainwater outlet, the greater the thickness of the slope layer, forming a right triangle shape in the side cross-sectional view.

[0074] The step of generating the first extended entity model of the roof according to the BIM three-dimensional model of the roof may further include the following steps:

[0075] A roof boundary model that wraps the BIM three-dimensional model of the roof is generated according to the BIM three-dimensional model of the roof.

[0076] A reference point set is generated according to the number of reference points in the first direction and the number of reference points in the second direction in the roof boundary model.

[0077] In this embodiment, first, the top surface of the roof needs to be determined, and then a reference point set is generated on the top surface of the roof.

[0078] In some embodiments, when determining the top surface of the roof, the Surface.NormalAtParameter node can be used to determine any point in the top surface of the roof. Exemplarily, the first input end of the Surface.NormalAtParameter node can input horizontal parameters, and the second input end can input vertical parameters, so that the position of the point in the top surface can be determined. The Vector.Z node can be used. The input end of the Vector.Z node is connected to the output end of the above-mentioned Surface.NormalAtParameter node. The Vector.Z node determines the vector in the Z direction. Use the judgment node to filter out the top surface. Specifically. The second input end of the judgment node inputs 1, and the first input end inputs the above-mentioned Z direction vector of the above-mentioned point. It is judged whether the Z component of the Z direction vector of the above-mentioned point is 1. If it is -1, it means it is the bottom surface. If it is 1, it means it is the top surface, and the output end outputs the top surface.

[0079] When generating a reference point set on the top surface of the roof, a Surface.PointAtParameter node may be used. The first input terminal of the Surface.PointAtParameter node inputs the top surface, the second input terminal inputs the number of reference points in the first direction, and the third input terminal inputs the number of reference points in the second direction.

[0080] Determine the rainwater inlet in the slope layer.

[0081] The horizontal distance from each reference point in the reference point set to the gully is determined.

[0082] In this embodiment, the Geometry.DistanceTo node can be used to determine the horizontal distance from each reference point to the gully. Specifically, the first input terminal of the Geometry.DistanceTo node inputs the gully model, the second input terminal inputs each reference point, and the output terminal outputs the horizontal distance from each reference point to the gully.

[0083] The longitudinal offset of each reference point is determined according to the slope value of the slope finding layer and the horizontal distance from each reference point to the rainwater outlet.

[0084] In this embodiment, a multiplication node may be used to determine the longitudinal offset of each reference point according to the slope value of the slope finding layer and the horizontal distance from each reference point to the rainwater outlet.

[0085] Specifically, the first input end of the multiplication node inputs the horizontal distance from each reference point to the rainwater outlet, and the second input end inputs the slope value, where the slope value is the tangent value of the inclination angle. The horizontal distance from each reference point to the rainwater outlet is multiplied by the slope value, and the product is the longitudinal offset of each reference point.

[0086] Each reference point is longitudinally offset according to the longitudinal offset of each reference point to generate a first extended solid model of the roof.

[0087] In this embodiment, each reference point is located on the top surface of the above-mentioned roof. After determining the longitudinal offset of each of the above-mentioned reference points, each reference point is longitudinally offset to obtain the outer contour range of the inclined surface of the slope finding layer, and then generate the first extended solid model of the roof.

[0088] Specifically, the first Gemotry.Translate node can be used to longitudinally offset each reference point according to the longitudinal offset of each reference point. The first input end of the first Gemotry.Translate node inputs the longitudinal offset of each node, the second input end inputs the offset direction as the Z axis direction, and the third input end inputs each reference point.

[0089] In some embodiments, see Appendix Figure 5 A side view of a second extended solid model of the roof is shown.

[0090] The second extended entity model 02 is located above the top surface of the roof, and is obtained by shifting the top surface of the roof upward. The second extended entity model 02 has an intersection with the first extended entity model 01. Generating the second extended entity model of the roof may further include the following steps:

[0091] The top surface of the roof and a predetermined distance of the top surface extending in a vertical direction of the roof are determined, and the top surface is extended according to the predetermined distance to obtain a second extended solid model of the roof.

[0092] It is worth emphasizing that the second extended entity model 02 is extended based on the BIM three-dimensional model of the roof, while the first extended entity model 01 is extended based on the roof boundary model of the BIM three-dimensional model that wraps the roof. Therefore, the size of the second extended entity model 02 is smaller than that of the first extended entity model 01. The purpose of the second extended entity model 02 is to cut out a portion corresponding to the size of the roof from the first extended entity model 01 as a slope layer.

[0093] In this embodiment, the aforementioned predetermined distance can be set to 100 mm.

[0094] In step S103, the intersection of the first extended entity model and the second extended entity model is determined.

[0095] See attached Figure 6 A side view of the intersection of a first extended solid model and a second extended solid model is shown. In this embodiment, the Geometry.intersect node can be used to determine the intersection 03 of the first extended solid model and the second extended solid model. The intersection 03 is used as a slope finding layer.

[0096] Specifically, the first input terminal of the Geometry.intersect node inputs the first extended entity, the second input terminal inputs the second extended entity, and the output terminal outputs the intersection 03 of the first extended entity and the second extended entity. In step S104, a three-dimensional model of the slope layer of the roof is generated according to the intersection of the first extended entity model and the second extended entity model.

[0097] See attached Figure 7 Shown with Figure 1 Schematic diagram of the corresponding slope finding layer. As shown in the figure, the three-dimensional model of the slope finding layer is the intersection of the first extended entity model and the second extended entity model.

[0098] In this embodiment, the Springs.FamilyInstance.ByGeometry node may be used to generate a three-dimensional model of the slope layer of the roof according to the intersection of the first extended entity model and the second extended entity model.

[0099] Specifically, the first input terminal of the Springs.FamilyInstance.ByGeometry node inputs the intersection of the first extended entity model and the second extended entity model. The second input terminal inputs the preset family template path, the third input terminal inputs the family name, the fourth input terminal inputs the model type, and the fifth input terminal inputs the material; according to the above multiple parameters, the output terminal of the Springs.FamilyInstance.ByGeometry node outputs the generated three-dimensional model of the slope layer.

[0100] The above technical solution of the present application uses BIM technology to obtain the BIM three-dimensional model of the roof, and generates a first extended entity model and a second extended entity model of the roof according to the BIM three-dimensional model of the roof; determines the intersection of the first extended entity model and the second extended entity model, and uses the intersection as the three-dimensional model of the slope layer of the roof; improves the efficiency of the staff and improves the accuracy of the slope layer.

[0101] In some embodiments, the above method further comprises the following steps:

[0102] Generate a reference line group on the bottom surface of the roof; wherein the reference lines in the reference line group are parallel to each other. wherein the distance between any two reference lines is equal. Generate a line-laying point on each reference line.

[0103] See attached Figure 8 , a set of mutually parallel reference lines are generated on the bottom surface of the roof. The distance between any two parallel reference lines can be set arbitrarily.

[0104] In this embodiment, multiple nodes can be used to determine the bottom surface of the roof, because the Z component of the normal vector of the bottom surface of the roof in the Z direction is -1, and an equal judgment node can be used to determine the bottom surface. In the equal judgment node, the first input terminal inputs the bottom surface normal vector, and the second input terminal inputs -1. When the selected surface is the bottom surface of the roof, the output terminal of the equal judgment node outputs 1, and when the selected surface is not the bottom surface of the roof, the output terminal of the equal judgment node outputs -1. In this way, the bottom surface of the roof is determined.

[0105] In order to ensure that the group of reference lines can be completely located in the first physical model, in some embodiments, in the reference line group, the first and last reference lines are respectively moved a predetermined distance inward of the reference line group along a direction perpendicular to the reference lines.

[0106] In this embodiment, the predetermined distance can be flexibly set, for example, it can be set to 1 mm, 0.5 mm. The purpose of the above adjustment is to allow the first and last reference lines of the group of reference lines to completely enter the first entity model.

[0107] In this embodiment, a second Gemotry.Translate node can be used to translate the reference line of the head. The first input end of the second Gemotry.Translate node inputs the reference line of the head, the second input end inputs the direction of translation, which is the inner direction perpendicular to the group of reference lines, the third input end inputs the translation distance, and the output end outputs the translated reference line of the head.

[0108] The third Gemotry.Translate node can be used to translate the reference line of the tail. The first input terminal of the third Gemotry.Translate node inputs the reference line of the tail, the second input terminal inputs the direction of translation, which is perpendicular to the inner direction of the group of reference lines, and the third input terminal inputs the translation distance.

[0109] A first replacement node is used, and the first replacement node is used to realize the function of replacing the original head reference line with the translated head reference line. Specifically, the first input end of the first replacement node inputs the group of reference lines, the second input end inputs the index number in the group of reference lines, wherein the index number is set to 0, indicating the head curve, and the third input end inputs the translated head reference line.

[0110] A second replacement node is used, and the second replacement node is used to realize the function of replacing the original tail reference line with the translated tail reference line. The first input end of the second replacement node inputs the group of reference lines, and the second input end inputs the index number in the group of reference lines, wherein the index number is set to n-1, indicating the tail curve, wherein n represents the number of reference lines. The third input end inputs the translated tail reference line.

[0111] In some embodiments, generating the placement points on each reference line may further include the following steps:

[0112] For any reference line, determine the distance between any two adjacent layout points on the reference line.

[0113] In this embodiment, the distance between any two adjacent laying-out points mentioned above can be flexibly set.

[0114] The number of the laying-out points on the reference line is determined according to the length of each reference line and the distance between any two adjacent laying-out points.

[0115] In this embodiment, a line segment length determination node may be used to determine the length of each reference line. Exemplarily, the line segment length determination node may be a Curve.Length node.

[0116] In this embodiment, a division operation node may be used to determine the number of the laying-out points on the reference line according to the length of each reference line and the distance between any two adjacent laying-out points.

[0117] Specifically, the first input terminal of the division operation node inputs the length of each reference line, and the second input terminal inputs the distance between any two adjacent laying points. The length of each reference line is divided by the distance between any two adjacent laying points to obtain the number of laying points on each reference line.

[0118] Considering that the calculation result of the division operation may be a decimal, a rounding node is used to round the calculation result of the above division operation. When the calculation result of the division operation is a decimal greater than 1, the rounding node can round the calculation result of the above division operation to obtain an integer. Exemplarily, the above rounding node can be a Math.Round node.

[0119] In the case where the calculation result of the above division operation is a decimal less than 0.5, after the integer node rounds off the decimal less than 1, the number output at the output end is 0, and a replacement node can be set, the first input end of the replacement node inputs the output end of the above integer node, the second input end inputs 1, and the third input end inputs a replacement condition; the setting condition is that when the output end of the integer node outputs 0, 0 is replaced by 1. Exemplarily, the above replacement node is a ReplaceByCondition node.

[0120] Generate a set-off point on the reference line according to the number of set-off points and the position of each set-off point.

[0121] In some embodiments, the above method may further include the following steps: translating each set-off point along a first direction perpendicular to the roof by a predetermined distance to obtain a set-off reference point. The first direction is the upward direction of the roof. In this embodiment, the predetermined distance can be flexibly set, for example, it can be set to 1500 mm.

[0122] Project each layout reference point in the direction of the above-mentioned roof to determine the layout point position on the above-mentioned roof.

[0123] In this embodiment, the first two points can be used to generate a straight line node, and a line segment between the set-out point and the set-out reference point can be generated. The graphic element where the above line segment intersects with the roof is determined; and it is determined whether the above graphic element is a line segment. If the above graphic element is a line segment, the endpoint of the line segment is determined as the set-out point. If the above graphic element is not a line segment but an intersection point, the intersection point is the set-out point.

[0124] Specifically, the String.Contains node can be used to determine whether the above-mentioned graphic element is a straight line. Specifically, the above-mentioned graphic element is input into the first input terminal of the String.Contains node, and the string "Line" is input into the second input terminal. If the above-mentioned graphic element is a line segment, the graphic element will contain the string Line, and the output terminal of the String.Contains node outputs 1. If the above-mentioned graphic element is an intersection point and not a line segment, it will not contain the string Line, and the output terminal of the String.Contains node outputs 0.

[0125] The output end of the String.Contains node is connected to the second input end of the List.FilterByBoolMask node, the first input end of the List.FilterByBoolMask node inputs the above-mentioned primitive, and the two output ends of the List.FilterByBoolMask node output a straight line and a point respectively. The above-mentioned primitives are classified. Among them, the first output end outputs the line segment primitive, and the second output end outputs the point primitive. The first output end of the above-mentioned List.FilterByBoolMask node is connected to the input end of the line endpoint determination node, and the output end of the line endpoint determination node outputs the endpoint of the line segment. Specifically, the endpoint is the end of the line segment, which is also the intersection of the line segment and the top surface of the roof.

[0126] Generate marks and annotations for each layout point.

[0127] The mark is the thickness of the slope layer at the layout point. Each layout point is indicated by a cross star.

[0128] See attached Fig. 9 The marking and annotation diagram of a layout point is shown. The thickness of the slope layer at this layout point is 50 mm.

[0129] In this embodiment, a second two-point line node may be used to generate a line segment in the above mark. A third two-point line node may be used to generate another line segment in the above mark.

[0130] Taking the second two-point straight line node as an example, the first input terminal of the second two-point straight line node inputs the starting point, and the second input terminal inputs the end point, and a line segment can be generated according to the above starting point and the above end point.

[0131] In this embodiment, a circle node can be used to generate the circle in the above mark. The first input end of the circle node inputs the center point, the second input end inputs the radius of the circle. The third input end inputs the normal vector as the Z axis. The above center point is the intersection of the above two line segments.

[0132] A drawing is produced based on the marking and annotation of each of the above-mentioned layout points to obtain a distribution map of the layout points of the slope leveling layer of the above-mentioned roof.

[0133] See attached Fig.10 A schematic diagram of the distribution of the laying-out points is shown, which includes the marks of multiple laying-out points. Of course, annotations can also be set next to the marks.

[0134] The above-mentioned technical solution of the present application can draw a map based on the markings and annotations of each of the above-mentioned layout points to obtain the layout point distribution map of the slope layer of the above-mentioned roof. Compared with the existing technology, the efficiency of drawing the slope layer is significantly improved.

[0135] In some embodiments, considering the case where there are multiple rainwater inlets, the method may further include the following steps:

[0136] For any reference point, determine the distance from the reference point to each rainwater outlet, determine the longitudinal offset set of the reference point based on the above distance set and slope value; determine the minimum longitudinal offset as the longitudinal offset of the reference point.

[0137] In this embodiment, the above-mentioned minimum longitudinal offset can indicate that the reference point corresponds to the gully, while other longitudinal offsets can be ignored because they are not the minimum longitudinal offsets.

[0138] The number of stormwater inlets can be counted using the Quantity Count node.

[0139] A greater than judgment node can be used to judge the number of rainwater outlets. The first input end of the greater than judgment node inputs the above-mentioned number of rainwater outlets, and the second input end inputs the constant 1. When the number of rainwater outlets is greater than 1, the greater than judgment node outputs 1; when the number of rainwater outlets is equal to 1, the greater than judgment node outputs zero.

[0140] An IF node may be selected, wherein the first input terminal of the IF node is connected to the output terminal of the greater than judgment node, the second input terminal inputs the minimum longitudinal offset list, and the third input terminal inputs the longitudinal offset list of each reference point;

[0141] The function of the selection IF node is that when the first input terminal is 1, the output terminal outputs the content of the second input terminal; when the first input terminal input is 0, the output terminal outputs the content of the third input terminal.

[0142] That is, when the number of gullies is equal to 1, the select IF node outputs the longitudinal offset of each reference point. When the number of gullies is greater than 1, the select IF node outputs the minimum longitudinal offset list of each reference point.

[0143] The output end of the above-mentioned selected IF node is respectively connected to the first input end of the above-mentioned Gemotry.Translate node and the thickness analysis unit.

[0144] Among them, the thickness analysis unit is used to analyze and calculate the maximum thickness value of the slope finding layer.

[0145] Specifically, a maximum value node unit is provided in the thickness analysis unit, the input end of the maximum value node unit is connected to the output end of the above-mentioned selected IF node, and the maximum value node unit is used to determine the maximum value in the longitudinal offset set output by the output end of the selected IF node.

[0146] In the thickness analysis unit, an addition node CodeBlock is provided, which is used to perform addition operation on the above-mentioned maximum value and the roof thickness value to obtain a sum value. The first input end of the addition node CodeBlock inputs the maximum value in the longitudinal offset set, and the second input end inputs the thickness value of the roof. The addition node CodeBlock implements the addition operation, and the output end outputs the above-mentioned sum value. The above-mentioned sum value is used as the maximum thickness value. The above-mentioned maximum thickness value has significant guiding significance for construction, and is a very important parameter in the construction of the slope layer.

[0147] In some embodiments, in step S102, before respectively generating the first extended entity model and the second extended entity model of the roof according to the BIM three-dimensional model of the roof and the basic parameters of the slope layer of the roof, the method may further include the following steps:

[0148] Obtain the bounding box BoundingBox of the three-dimensional model of the roof, and each face in the bounding box. Generate a roof boundary model based on the above bounding box. Determine the center point of the above roof boundary model, and the minimum point in the above bounding box. Determine the offset direction and offset distance of the minimum point; according to the above offset direction and offset distance, based on the above center point, offset the above minimum point to reduce the above bounding box. Generate a composite surface of the entity, and split the composite surface into multiple surfaces.

[0149] In this embodiment, the BoundingBox.MinPoint node can be used to determine the above minimum point. The Geometry.Translate node can be used to offset the above minimum point. The first input end of the Geometry.Translate node inputs the above minimum point, the second input end inputs the offset direction, and the third input end inputs the offset distance. Among them, the offset distance can be set flexibly, for example, it can be set to 2 mm. The offset direction can be the angle bisector of the two sides of the minimum point, and the direction is the opposite direction of the angle bisector vector, that is, toward the inside of the bounding box. Specifically, the Vector.Add node can be used to determine the vector of the above angle bisector, the first input end of the Vector.Add node inputs the vector of the first side of the minimum point, the second input end inputs the vector of the second side of the minimum point, and the output end outputs the angle bisector vector of the first side and the second side. The Vector.reverse node is used to determine the reverse direction vector of the above angle bisector vector, the input end of the Vector.reverse node inputs the above angle bisector vector, and the output end outputs the reverse direction vector of the angle bisector vector, that is, the offset direction.

[0150] After the above-mentioned offset operation, the range of the roof boundary model can be reduced, so that the edge of the roof boundary model and the edge of the slope layer entity will not overlap as much as possible, so as to avoid the problem of errors that are easy to cause when the roof boundary model cuts the slope layer entity due to the overlap of the edges of the two entities.

[0151] In the second aspect, the present application also proposes a roof slope layer model generation device based on BIM technology, see the attached Fig.11 , the device comprises:

[0152] The acquisition module 81 is used to obtain the BIM three-dimensional model of the roof and the basic parameters of the slope layer of the roof, and the basic parameters include at least: the number of reference points in the first direction and the number of reference points in the second direction of the slope layer, and the slope value of the slope layer.

[0153] The intermediate model generation module 82 is used to generate a first extended solid model and a second extended solid model of the roof according to the BIM three-dimensional model of the roof and basic parameters of the slope leveling layer of the roof.

[0154] The intersection module 83 is used to determine the intersection of the first extended entity model and the second extended entity model.

[0155] The slope layer model generating module 84 is used to generate a three-dimensional model of the slope layer of the roof according to the intersection of the first extended entity model and the second extended entity model.

[0156] The intermediate model generation module 82 is further used to generate a roof boundary model that wraps the BIM three-dimensional model of the roof according to the BIM three-dimensional model of the roof;

[0157] Generate a reference point set according to the number of reference points in the first direction and the number of reference points in the second direction in the roof boundary model;

[0158] Determine the rainwater inlet in the slope layer.

[0159] The horizontal distance from each reference point in the reference point set to the gully is determined.

[0160] The longitudinal offset of each reference point is determined according to the slope value of the slope finding layer and the horizontal distance from each reference point to the rainwater outlet.

[0161] Each reference point is longitudinally offset according to the longitudinal offset of each reference point to generate a first extended solid model of the roof.

[0162] The intermediate model generation module 82 is further used to determine the top surface of the roof and a predetermined distance of the top surface extending in a vertical direction of the roof.

[0163] The top surface is extended according to the predetermined distance to obtain a second extended solid model of the roof.

[0164] In some embodiments, a line laying module is further included, which is used to generate a reference line group on the bottom surface of the roof; wherein the reference lines in the reference line group are parallel to each other; and the distance between any two reference lines is equal;

[0165] Generate layout points on each reference line.

[0166] In some embodiments, the line-laying module is further used to move the first and last reference lines in the reference line group respectively by a predetermined distance inward of the reference line group along a direction perpendicular to the reference line.

[0167] In some embodiments, the laying-out module is further used to determine, for any reference line, the distance between any two adjacent laying-out points on the reference line;

[0168] Determine the number of the laying-out points on the reference line according to the length of each reference line and the distance between any two adjacent laying-out points;

[0169] A pay-off point is generated on the reference line according to the number of the pay-off points and the position of each pay-off point.

[0170] In some embodiments, the laying-out module is further used to translate each laying-out point by a predetermined distance along a first direction perpendicular to the roof to obtain a laying-out reference point;

[0171] Projecting each setting-out reference point toward the roof direction to determine the setting-out point position on the roof;

[0172] Generate marks and annotations for each layout point;

[0173] A drawing is produced based on the marking and annotation of each layout point to obtain a distribution map of the layout points of the slope leveling layer of the roof.

[0174] In some embodiments, a maximum thickness determination module is further included, which is used to determine the maximum value in the set of longitudinal offsets of each reference point as the maximum value of the thickness of the slope finding layer.

[0175] In some embodiments, the above-mentioned slope layer model generation module 84 is also used to determine the family name, model category and slope layer material;

[0176] A three-dimensional model of the slope layer is generated according to the intersection, the family name, the model category, and the slope layer material.

[0177] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0178] In a third aspect, the present application also proposes an electronic device, see attached Fig.12 The electronic device comprises: a processor 91; a memory 92 for storing processor executable instructions; wherein the processor 91 is configured to run the executable instructions to implement any of the above-mentioned methods.

[0179] According to the fourth aspect of the embodiments of the present application, the present application also proposes a computer-readable storage medium, which contains one or more program instructions, and the one or more program instructions are used to execute the steps of the above method.

[0180] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0181] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for generating a roof slope layer model. It is characterized in that include: Obtaining a BIM three-dimensional model of the roof and basic parameters of the slope layer of the roof, wherein the basic parameters include at least: the number of reference points in the first direction and the number of reference points in the second direction of the slope layer, and the slope value of the slope layer; Generate a first extended entity model and a second extended entity model of the roof respectively according to the BIM three-dimensional model of the roof and basic parameters of the slope leveling layer of the roof; determining an intersection of the first extended solid model and the second extended solid model; Generate a three-dimensional model of the slope layer of the roof according to the intersection of the first extended solid model and the second extended solid model; The step of generating a first extended entity model of the roof according to the BIM three-dimensional model of the roof comprises: Generate a roof boundary model that wraps the BIM three-dimensional model of the roof according to the BIM three-dimensional model of the roof; Generate a reference point set according to the number of reference points in the first direction and the number of reference points in the second direction in the roof boundary model; Determining a rainwater inlet in the slope layer; Determine the horizontal distance from each reference point in the reference point set to the gully; Determine the longitudinal offset of each reference point according to the slope value of the slope finding layer and the horizontal distance from each reference point to the rainwater outlet; Performing a longitudinal offset on each reference point according to the longitudinal offset of each reference point to generate a first extended solid model of the roof; Generating a second extended solid model of the roof, comprising: Determining a top surface of the roof and a predetermined distance that the top surface extends in a vertical direction of the roof; The top surface is extended according to the predetermined distance to obtain a second extended solid model of the roof.

2. The method for generating a roof slope layer model according to claim 1, It is characterized in that Generate a reference line group on the bottom surface of the roof; wherein the reference lines in the reference line group are parallel to each other; and the distance between any two reference lines is equal; Generate layout points on each reference line.

3. The method for generating a roof slope layer model according to claim 2, It is characterized in that In the reference line group, the first and last reference lines are respectively moved inward of the reference line group by a predetermined distance along a direction perpendicular to the reference line.

4. The method for generating a roof slope layer model according to claim 2, It is characterized in that Generate the layout points on each reference line, including: For any reference line, determine the distance between any two adjacent laying-out points on the reference line; Determine the number of the laying-out points on the reference line according to the length of each reference line and the distance between any two adjacent laying-out points; A pay-off point is generated on the reference line according to the number of the pay-off points and the position of each pay-off point.

5. The method for generating a roof slope layer model according to claim 4, It is characterized in that The method further comprises: Each setting-out point is translated by a predetermined distance along a first direction perpendicular to the roof to obtain a setting-out reference point; Projecting each setting-out reference point toward the roof direction to determine the setting-out point position on the roof; Generate marks and annotations for each layout point; A drawing is produced based on the marking and annotation of each layout point to obtain a distribution map of the layout points of the slope leveling layer of the roof.

6. The method for generating a roof slope layer model according to claim 1, It is characterized in that The method further comprises: The maximum value in the set of longitudinal offsets of each reference point is determined as the maximum value of the thickness of the slope finding layer.

7. The method for generating a roof slope layer model according to claim 6, It is characterized in that The step of generating a three-dimensional model of the slope layer of the roof according to the intersection includes: Determine the family name, model category and slope layer material; A three-dimensional model of the slope layer is generated according to the intersection, the family name, the model category, and the slope layer material.

8. A device for generating a roof slope layer model, It is characterized in that include: An acquisition module is used to acquire a BIM three-dimensional model of a roof and basic parameters of a slope layer of the roof, wherein the basic parameters include at least the number of reference points in a first direction and a second direction of the slope layer, and a slope value of the slope layer; An intermediate model generation module, used to generate a first extended entity model and a second extended entity model of the roof according to the BIM three-dimensional model of the roof and basic parameters of the slope layer of the roof; An intersection module, configured to determine an intersection of the first extended entity model and the second extended entity model; A slope layer model generating module, used for generating a three-dimensional model of the slope layer of the roof according to the intersection of the first extended entity model and the second extended entity model; The intermediate model generation module is further used to generate a roof boundary model that wraps the BIM three-dimensional model of the roof according to the BIM three-dimensional model of the roof; Generate a reference point set according to the number of reference points in the first direction and the number of reference points in the second direction in the roof boundary model; Determining a rainwater inlet in the slope layer; Determine the horizontal distance from each reference point in the reference point set to the gully; Determine the longitudinal offset of each reference point according to the slope value of the slope finding layer and the horizontal distance from each reference point to the rainwater outlet; Performing a longitudinal offset on each reference point according to the longitudinal offset of each reference point to generate a first extended solid model of the roof; The intermediate model generation module is further used to determine the top surface of the roof and the predetermined distance that the top surface extends in the vertical direction of the roof; The top surface is extended according to the predetermined distance to obtain a second extended solid model of the roof.

9. An electronic device, It is characterized in that include: processor; A memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium contains one or more program instructions, and the one or more program instructions are used to execute the steps of any one of claims 1 to 7.

Citation Information

Patent Citations

  • Base layer leveling design system and design method, and electronic device

    CN108108514A

  • Three-dimensional house model generation method and device and computer readable storage medium

    CN113379895A

  • Roof sloping map deepening design method based on BIM (Building Information Modeling)

    CN116257921A

  • Computer program for generating a occupancy plan for a roof surface

    DE202019005900U1

  • Systems, methods, and devices for making a three-dimensional design

    US20240029595A1