Wall treatment method, device, computer device and storage medium in a model

By automatically processing the wall intersection problem in the building model, calculating the initial wall line intersection point and construction end point, the modeling efficiency is improved and the problem of inefficiency in traditional manual processing is solved.

CN114428984BActive Publication Date: 2025-05-30XIAN JIEXINGTONG ELECTRONIC TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011171253.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-28
Publication Date
2025-05-30
Estimated Expiration
2040-10-28

AI Technical Summary

Technical Problem

In traditional architectural models, the two- and three-dimensional intersecting treatment of walls mainly relies on manual processing, resulting in inefficient modeling.

Method used

By obtaining the wall to be processed in the model, selecting the two intersecting initial walls, querying their priority, calculating the intersection point of the initial wall line, determining the construction end point, and determining the sweeping surface based on the construction end point for Boolean calculations to obtain the intersection polygon.

Benefits of technology

It realizes automatic processing of wall intersection problems, improves modeling efficiency, meets the needs of engineering quantity calculation, and makes integrated design and construction models possible.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114428984B_ABST
    Figure CN114428984B_ABST
Patent Text Reader

Abstract

The present application relates to a method, apparatus, computer device, and storage medium for wall treatment in a model. The method includes: obtaining a wall to be treated in the model, and selecting two initial walls that intersect from the walls to be treated; querying the priorities of the initial walls; calculating the intersection points of the initial wall lines of the initial walls, and determining the construction end points of the initial walls according to the intersection points of the initial wall lines and the priorities of the initial walls; determining the sweeping surfaces of the initial walls according to the line segments where the construction end points of the initial walls are located, the wall lines of the initial walls, and the starting end lines of the initial walls; performing a Boolean operation on the obtained sweeping surfaces of the initial walls to obtain the intersecting polygons corresponding to the initial walls. Using this method can improve the modeling efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of building model assisted design, and particularly to a method and apparatus for wall processing in a model, a computer device, and a storage medium. Background Art

[0002] With the development of artificial intelligence technology, the line drawings and architectural renderings drawn by computers have reached a relatively mature stage. As a result, building model assisted design technology has emerged. Through this technology, architectural creation can be carried out on a computer starting from the concept of an architectural design plan, demonstrating that architectural design and presentation are carried out simultaneously. When the design is completed, the architectural presentation is also completed, fundamentally changing the previous creative method in which design and presentation are different during the architectural design process, and ultimately achieving the integration of design and presentation.

[0003] In traditional technologies, during the process of architectural design and building modeling, the two-dimensional and three-dimensional intersection processing of walls is of great significance for engineering quantity calculation, the authenticity of the model, and the aesthetic degree of the model.

[0004] However, currently, the two-dimensional and three-dimensional intersection processing of walls is usually manually handled, which leads to a reduction in modeling efficiency. Summary of the Invention

[0005] Based on this, in view of the above technical problems, it is necessary to provide a method and apparatus for wall processing in a model, a computer device, and a storage medium that can improve modeling efficiency.

[0006] A method for wall processing in a model, the method comprising:

[0007] Obtain the walls to be processed in the model, and select two initial walls that intersect from the walls to be processed;

[0008] Query the priorities of the initial walls;

[0009] Calculate the initial wall line intersection points of the initial walls, and determine the construction end points of the initial walls according to the initial wall line intersection points and the priorities of the initial walls;

[0010] Determine the sweeping surface of the initial walls according to the line segment where the construction end points of the initial walls are located, the wall lines of the initial walls, and the starting end lines of the initial walls;

[0011] Perform a Boolean operation on the obtained sweeping surfaces of the initial walls to obtain the intersecting polygons corresponding to the initial walls.

[0012] In one embodiment, after determining the sweeping surface of the initial wall according to the line segment where the construction end point of the initial wall is located, the wall line of the initial wall, and the starting end line of the initial wall, the method further includes:

[0013] Obtain the construction line segment where the construction end point of the initial wall with a lower priority is located;

[0014] Based on the construction line segment, crop the obtained sweeping surface, and use the side line of the cropped sweeping surface as the two-dimensional graphic display boundary line of the initial wall.

[0015] In one embodiment, after performing a Boolean operation on the obtained sweeping surface of the initial wall to obtain the intersecting polygon corresponding to the initial wall, the method further includes:

[0016] Obtain the next wall to be processed in the model as the current wall, and determine whether the current wall intersects with the walls forming the intersecting polygon;

[0017] When the current wall intersects with the walls forming the intersecting polygon, obtain the priority of the current wall;

[0018] When the priority of the current wall is less than the priority of the walls forming the intersecting polygon, obtain the intersection point of the current wall line of the intersecting polygon and the current wall;

[0019] Determine the construction end line of the current wall according to the current wall line intersection point and the intersecting polygon;

[0020] Determine the sweeping surface of the current wall according to the construction end line of the current wall, the wall line of the current wall, and the starting end line of the current wall;

[0021] Perform a Boolean operation on the obtained sweeping surface of the current wall and the intersecting polygon to obtain the current intersecting polygon;

[0022] Continue to obtain the next wall to be processed in the model as the current wall until all the walls to be processed in the model have been judged.

[0023] In one embodiment, after obtaining the priority of the current wall, the method further includes:

[0024] When the priority of the current wall is greater than the priority of at least one of the walls forming the intersecting polygon, select the two walls with the highest priority ranking from the current wall and the walls forming the intersecting polygon as the initial walls;

[0025] Continue to calculate the intersection points of the initial wall lines of the initial wall body, and after obtaining the intersecting polygon corresponding to the initial wall body, obtain the next wall body to be processed from the current wall body and the wall bodies forming the intersecting polygon according to the priority until the processing of the current wall body and the wall bodies forming the intersecting polygon is completed.

[0026] In one embodiment, the judging whether the current wall body intersects with the wall bodies forming the intersecting polygon includes:

[0027] Judge whether the current wall body intersects with at least one wall body forming the intersecting polygon;

[0028] If so, the current wall body intersects with the wall bodies forming the intersecting polygon, otherwise it does not intersect.

[0029] In one embodiment, before obtaining the current wall line intersection points of the intersecting polygon and the current wall body, it further includes:

[0030] Obtain the reference wall body in the intersecting polygon that intersects with the current wall body, and calculate the intersection point of the midlines of the current wall body and the reference wall body as the design end point of the current wall body;

[0031] Obtain the intersection point of the midline of the current wall body and the boundary line of the intersecting polygon as the construction end point of the current wall body.

[0032] In one embodiment, the judgment method for the intersection of the two initial wall bodies includes:

[0033] Judge whether the boundary lines of the initial wall bodies intersect, and whether the distance from the end point of one initial wall body to the end point of the other initial wall body is less than the average width of the two initial wall bodies;

[0034] If so, the two initial wall bodies intersect, otherwise they do not intersect.

[0035] In one embodiment, the calculating the initial wall line intersection points of the initial wall body and determining the construction end point of the initial wall body according to the initial wall line intersection points and the priority of the initial wall body includes:

[0036] Calculate the reference intersection point of the midline or the extended midline of the initial wall body, and set the direction of the initial wall body to point to the reference intersection point;

[0037] Take the reference intersection point as the design end point of the initial wall body;

[0038] Calculate the initial wall line intersection points of the initial wall body;

[0039] Extend the wall line of the initial wall with a higher priority in the initial wall body to the far intersection point among the initial wall line intersection points along the direction of the initial wall body, and extend the center line of the initial wall with a higher priority to the line segment formed by the far intersection point to obtain the construction end point of the initial wall with a higher priority;

[0040] Indent the wall line of the initial wall with a lower priority in the initial wall body to the near intersection point among the initial wall line intersection points along the direction of the initial wall body, and extend the center line of the initial wall with a lower priority to the line segment formed by the near intersection point to obtain the construction end point of the initial wall with a lower priority.

[0041] In one embodiment, the method for determining the priority of the wall body to be processed includes:

[0042] Determine the priority of the wall body to be processed according to at least one of the function, position, material, and width of the wall body to be processed.

[0043] A wall body processing device in a model, the device includes:

[0044] A wall body acquisition module, configured to acquire the wall body to be processed in the model, and select two intersecting initial wall bodies from the wall bodies to be processed;

[0045] A priority query module, configured to query the priority of the initial wall body;

[0046] A construction end point determination module, configured to calculate the intersection points of the initial wall lines of the initial wall body, and determine the construction end point of the initial wall body according to the intersection points of the initial wall lines and the priority of the initial wall body;

[0047] A first sweeping surface determination module, configured to determine the sweeping surface of the initial wall body according to the line segment where the construction end point of the initial wall body is located, the wall line of the initial wall body, and the starting end line of the initial wall body;

[0048] A first intersecting polygon determination module, configured to perform a Boolean operation on the obtained sweeping surface of the initial wall body to obtain the intersecting polygon corresponding to the initial wall body.

[0049] A computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the steps of the above method are implemented.

[0050] A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0051] In the above-mentioned model's wall treatment method, device, computer device, and storage medium, after obtaining the walls to be processed in the model, two intersecting initial walls are selected, and the construction end point is automatically determined according to the priority of the pre-set initial walls. Then, the sweeping surface of each initial wall is determined based on the construction end point. This can meet the calculation requirements of the workload, and since the processing is carried out according to the priority, based on the actual construction sequence, it makes it possible to integrate the design and construction model, automatically process the walls in the model, and improve the modeling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 FIG. is an application environment diagram of the wall treatment method in the model in one embodiment;

[0053] Figure 2 FIG. is a schematic flowchart of the wall treatment method in the model in one embodiment;

[0054] Figure 3 FIG. is a schematic diagram of the intersection of two walls in one embodiment;

[0055] Figure 4 FIG. is a schematic diagram of the intersection of three walls in one embodiment;

[0056] Figure 5 FIG. is a structural block diagram of the wall treatment device in the model in one embodiment;

[0057] Figure 6 FIG. is an internal structure diagram of a computer device in one embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0058] In order to make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0059] The wall treatment method provided by the present application can be applied as Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The terminal 102 can download the wall treatment plug-in in the model from the server 104 and install it on the terminal 102, so that the terminal can automatically process the walls to be processed in the model. Among them, the terminal 102 obtains the walls to be processed in the model, selects two intersecting initial walls from the walls to be processed, and queries the priorities of the initial walls, so as to calculate the initial wall line intersection points of the initial walls, and determine the construction end points of the initial walls according to the initial wall line intersection points and the priorities of the initial walls; determine the sweeping surface of the initial walls according to the line segment where the construction end points of the initial walls are located, the wall lines of the initial walls, and the starting line segments of the initial walls; perform a Boolean operation on the obtained sweeping surfaces of the initial walls to obtain the intersecting polygons corresponding to the initial walls. This can meet the calculation requirements of the workload, and because the processing is carried out according to the priorities, based on the actual construction sequence, it makes it possible to integrate the design and construction models. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

[0060] In one embodiment, as Figure 2 shown, a method for wall treatment in a model is provided. This method is applicable to buildings with structures such as frame structures, brick-concrete structures, reinforced concrete structures, and brick-wood structures. Taking the application of this method to Figure 1 the terminal in

[0061] S202: Obtain the walls to be processed in the model, and select two intersecting initial walls from the walls to be processed.

[0062] Specifically, the terminal can traverse the model in advance to obtain the walls to be processed in the model, and then select two intersecting initial walls from these walls to be processed.

[0063] Among them, the terminal can sequentially select the walls to be processed according to the order of the priorities of each wall to be processed, and determine whether the walls to be processed intersect. If so, extract them as the initial walls.

[0064] Optionally, the initial wall here refers to the intersection of two initial walls at the endpoints, and there are two conditions for determination: one is that the boundary lines of the two walls intersect, and the other is that the distance from the endpoint of one wall to the endpoint of the other wall is less than the threshold D1, where D1 is defaulted to the average width of the two walls and can also be configured by the user in other embodiments. Therefore, the judgment method for whether the initial walls intersect can include: judging whether the boundary lines of the initial walls intersect, and whether the distance from the endpoint of one initial wall to the endpoint of the other initial wall is less than the average width of the two initial walls; if so, the two initial walls intersect, otherwise they do not intersect.

[0065] S204: Query the priority of the initial wall.

[0066] Specifically, the priority of the wall is determined according to its own attributes. For example, the priority of the wall to be processed is determined according to at least one of the function, position, material, and width of the wall to be processed.

[0067] In practical applications, the terminal pre-ranks the construction priorities of wall types, and the types with higher priorities are constructed first, and the types with lower priorities are constructed later. The determination of priorities needs to consider factors such as the function, position, and material of the wall, and is implemented in the form of a decision table and a decision tree; for any two walls, by comparing the priorities of their types and the widths of the walls, the priorities of the two walls can be determined; for walls of the same type, the wall with a larger width has a higher priority.

[0068] S206: Calculate the intersection points of the initial wall lines of the initial walls, and determine the construction end points of the initial walls according to the intersection points of the initial wall lines and the priorities of the initial walls.

[0069] Specifically, the intersection points of the initial wall lines refer to the intersection points of the boundary lines of the initial walls, such as Figure 3 points A, B, C, and D in

[0070] The terminal determines the construction end points of the initial walls according to the intersection points of the initial wall lines and the priorities of the initial walls, that is, the terminal first determines the construction end points of the initial walls with higher priorities. For example, it first obtains the initial walls with higher priorities, and determines the construction end lines according to the intersection points of the initial wall lines. The intersection point of the indented line of the extended line of the midline of the initial wall line on the construction end line is the construction end point of the initial wall with higher priority. Similarly, for the intersection points of the initial wall lines with lower priorities, the construction end lines are determined according to the intersection points of the initial wall lines, and the intersection point of the indented line of the extended line of the midline of the initial wall line on the construction end line is the construction end point of the initial wall with lower priority.

[0071] In this embodiment, based on the construction sequence of actual construction according to the priority, it is possible to make the integrated design and construction model. In addition, the priority of component intersection can be configured and adjusted according to the construction process and quantity calculation rules during the quantity calculation stage, thereby improving the design drawing efficiency of architects and enhancing the matching between the 3D model and the actual construction situation.

[0072] Optionally, in one of the embodiments, calculate the initial wall line intersection points of the initial wall, and determine the construction end points of the initial wall according to the initial wall line intersection points and the priority of the initial wall, including: calculating the reference intersection points of the center line or the extended center line of the initial wall, and setting the direction of the initial wall to point to the reference intersection point; taking the reference intersection point as the design end point of the initial wall; calculating the initial wall line intersection points of the initial wall; extending the wall line of the initial wall with a higher priority in the initial wall to the far intersection point among the initial wall line intersection points along the direction of the initial wall, and extending the center line of the initial wall with a higher priority to the line segment formed by the far intersection point to obtain the construction end point of the initial wall with a higher priority; indenting the wall line of the initial wall with a lower priority in the initial wall to the near intersection point among the initial wall line intersection points along the direction of the initial wall, and extending the center line of the initial wall with a lower priority to the line segment formed by the near intersection point to obtain the construction end point of the initial wall with a lower priority.

[0073] Combined with Figure 3 As shown, first determine the reference intersection point O12 on the center line or the extended center line of the two initial walls, then set the direction of the terminal initial wall to point to the reference intersection point O12, extend or indent the center lines of the two walls to point O12, and determine the design end points of the two walls; and calculate and obtain 4 intersection points generated by the four side lines of the two initial walls or the extended lines of the side lines in the wall direction: point A, point B, point C, and point D. The terminal extends or indents the side line of the initial wall with a higher priority to the far intersection point in the wall direction (the intersection point with a larger distance from the starting point of the wall). Figure 3 In the case where it is assumed that the priority of the initial wall w1 > the initial wall w2, the end point of the left side line w1l of the initial wall w1 becomes point C, and the end point of the right side line w1r of the initial wall w1 becomes point B. In this way, the center line l1 of the initial wall w1 extends or indents to the intersection point O1 with the line segment BC, and O1 is the construction end point of the initial wall w1.

[0074] Similarly, the side line of the initial wall with a lower priority is extended or indented to the near intersection point in the wall direction (the intersection point with a smaller distance from the starting point of the wall). Figure 3 In the case where the priority of the initial wall w1 > the initial wall w2, the end point of the left side line w2l of the initial wall w2 becomes point A, and the end point of the right side line w2r of the initial wall w1 becomes point B; the center line l2 of the initial wall w2 extends or indents to the intersection point O2 with the line segment AB, and O2 is the construction end point of the initial wall w2.

[0075] S208: Determine the sweeping surface of the initial wall based on the line segment where the construction end point of the initial wall is located, the wall line of the initial wall, and the starting end line of the initial wall.

[0076] Specifically, the sweeping surface is in 3D display and can be used as the basis for volume calculation in workload calculation, suitable for quota quantity calculation and accurate quantity calculation of engineering quantities based on enterprise calculation rules.

[0077] Please refer to Figure 3 As shown, the polygon pg1 enclosed by the starting end line of the initial wall w1, the left side line w1l, the line segment BC, and the right side line w1r serves as the sweeping surface of the initial wall w1 in 3D modeling and also as the basis for volume calculation in engineering quantity calculation; the polygon pg2 enclosed by the starting end line of the initial wall w2, the left side line w2l, the line segment AB, and the right side line w2r serves as the sweeping surface of the initial wall w2 in 3D modeling and also as the basis for volume calculation in engineering quantity calculation. In this embodiment, the engineering quantity calculation requirements for the sweeping surface to meet the wall length and volume are calculated.

[0078] S210: Perform a Boolean operation on the obtained sweeping surface of the initial wall to obtain the intersecting polygon corresponding to the initial wall.

[0079] Specifically, after obtaining the polygon pg1 and the polygon pg2, perform a Boolean union operation on the two polygons pg1 and pg2 to form the intersecting polygon pg corresponding to the nodes of the initial wall, which serves as the geometric calculation basis for subsequent wall intersection processing.

[0080] In addition, after the calculation is completed, the terminal restores the original direction of the wall and generates intersection node data node. The node data includes the walls participating in the intersection processing, the corresponding center line data, end line data, side line data, and intersecting polygon pg data of the walls to complete the automatic processing of the walls.

[0081] In the above wall processing method of the model, after obtaining the walls to be processed in the model, select two intersecting initial walls, and automatically determine the construction end point according to the preset priority of the initial walls, so as to determine the sweeping surface of each initial wall according to the construction end point, which can meet the calculation requirements of the workload. And because the processing is carried out according to the priority, based on the actual construction sequence, it makes it possible to integrate the design and construction model.

[0082] In one embodiment, the sweeping plane of the initial wall is determined according to the line segment where the construction end point of the initial wall is located, the wall line of the initial wall, and the starting end line of the initial wall, further including: obtaining the construction line segment where the construction end point of the initial wall with a lower priority is located; clipping the obtained sweeping plane based on the construction line segment, and using the side line of the clipped sweeping plane as the two-dimensional graphic display boundary line of the initial wall.

[0083] Specifically, in combination with Figure 3 , in order to make the model beautiful, that is, to provide three-dimensional display and also two-dimensional display. In this embodiment, the two-dimensional display is obtained through the above-mentioned sweeping plane calculation, including the terminal clipping the boundary line of the polygon pg1 with the line segment AB, and using the remaining boundary line of the polygon pg1 as the boundary line for the two-dimensional graphic display of the initial wall w1; clipping the boundary line of the polygon pg2 with the line segment AB, and using the remaining boundary line of the polygon pg2 as the boundary line for the two-dimensional graphic display of the initial wall w2.

[0084] In one embodiment, when the number of walls to be processed in the model is greater than 2, other walls to be processed need to be continuously processed. Therefore, after performing a Boolean operation on the sweeping plane of the obtained initial wall to obtain the intersecting polygon corresponding to the initial wall, it further includes: obtaining the next wall to be processed in the model as the current wall, and determining whether the current wall intersects with the walls forming the intersecting polygon; when the current wall intersects with the walls forming the intersecting polygon, obtaining the priority of the current wall. When the priority of the current wall is less than the priority of the walls forming the intersecting polygon, obtaining the intersection point of the intersecting polygon and the current wall line of the current wall; determining the construction end line of the current wall according to the current wall line intersection point and the intersecting polygon; determining the sweeping plane of the current wall according to the construction end line of the current wall, the wall line of the current wall, and the starting end line of the current wall; performing a Boolean operation on the obtained sweeping plane of the current wall and the intersecting polygon to obtain the current intersecting polygon; continuously obtaining the next wall to be processed in the model as the current wall until all the walls to be processed in the model are judged.

[0085] Specifically, in combination with Figure 4 As shown, if the priority of the current wall w3 is less than or equal to all the walls in the node node, that is, the walls forming the intersecting polygon, assuming that after calculation according to the determination condition, the current wall w3 intersects with the initial wall w2 at the end point, the midline l3 of the current wall w3 intersects with the midline l2 of the initial wall w2 at O23, and the midline l3 of the current wall w3 intersects with the intersecting polygon pg at O3. O23 is the design end point of the current wall w3, and O3 is the construction end point of the current wall w3; calculating the intersection points E and F of the side line of the current wall w3 and the intersecting polygon pg, and the intersection points E and F are the end points of the left and right side lines of the current wall w3; the part of the boundary line of the polygon pg12 sheared by the two points E and F ( Figure 4Among them, (E-O3-C-F) is the construction end line of the current wall w3. Together with w3l, w3R and the other end line, it encloses a polygon pg3. The polygon pg3 is the swept surface of the current wall w3 in the three-dimensional model and also serves as the basis for volume calculation in engineering quantity calculation. Perform a Boolean union operation on the intersecting polygon pg and the polygon pg3 to form a new intersecting polygon pg and update the data of the node node.

[0086] In addition, preferably, after obtaining the priority of the current wall, it further includes: when the priority of the current wall is greater than the priority of at least one wall forming the intersecting polygon, select the two walls with the highest priority ranking from the current wall and the walls forming the intersecting polygon as the initial walls; continue to calculate the intersection points of the initial wall lines of the initial walls, and after obtaining the intersecting polygon corresponding to the initial walls, obtain the next wall from the current wall and the walls forming the intersecting polygon according to the priority for processing until the current wall and the walls forming the intersecting polygon are all processed. That is to say, if the priority of the current wall w3 is greater than a certain wall in the node node, take the two walls with the highest priority among the three walls as the initial walls and recalculate. And when the processing of the third wall to be processed is completed and there are still other walls to be processed in the model, the next wall to be processed in the model can be continuously obtained as the current wall, and it is judged whether the current wall intersects with the walls forming the intersecting polygon; when the current wall intersects with the walls forming the intersecting polygon, obtain the priority of the current wall. When the priority of the current wall is less than the priority of the walls forming the intersecting polygon, obtain the intersection points of the current wall lines of the intersecting polygon and the current wall; determine the construction end line of the current wall according to the current wall line intersection points and the intersecting polygon; determine the swept surface of the current wall according to the construction end line of the current wall, the wall line of the current wall and the starting end line of the current wall; perform a Boolean operation on the obtained swept surface of the current wall and the intersecting polygon to obtain the current intersecting polygon until all the walls to be processed in the model are judged.

[0087] Among them, judging whether the current wall intersects with the walls forming the intersecting polygon includes: judging whether the current wall intersects with at least one wall forming the intersecting polygon; if so, the current wall intersects with the walls forming the intersecting polygon, otherwise it does not intersect. That is to say, the determination condition for multiple walls to intersect at the endpoints is: any one of the multiple walls intersects with at least one of the other walls in the type of ins-e-e intersection. When two walls intersect at the endpoints, it is recorded as the ins-e-e type of intersection, that is, the intersection of the initial walls in the above text.

[0088] Preferably, before obtaining the intersection points of the intersecting polygon and the current wall line of the current wall, it further includes: obtaining the reference wall in the intersecting polygon intersecting with the current wall, and calculating the intersection point of the midlines of the current wall and the reference wall as the design end point of the current wall; obtaining the intersection point of the midline of the current wall and the boundary line of the intersecting polygon as the construction end point of the current wall. Combined with Figure 4 , that is to say, assuming that after calculation according to the determination condition, the current wall w3 intersects with the initial wall w2 at the end point, the midline l3 of the current wall w3 intersects with the midline l2 of the initial wall w2 at O23, and the intersection points O3 of the midline l3 of the current wall w3 and the intersecting polygon pg. O23 is the design end point of the current wall w3, and O3 is the construction end point of the current wall w3.

[0089] The wall processing method in the above model meets the engineering quantity calculation requirements of the wall length and volume. Based on the actual construction sequence, it makes the design and construction integration model possible, suitable for quota quantity calculation and accurate quantity calculation based on enterprise calculation rules. The intersection priority of components can be configured, and the quantity calculation stage can be adjusted according to the construction process and quantity calculation rules. It improves the design drawing efficiency of building designers and the matching of the 3D model with the actual construction situation.

[0090] It should be understood that although Figure 2 the steps in the flowchart of Figure 2 are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover,

[0091] In one embodiment, as Figure 5 shown, a wall processing device in a model is provided, including: a wall acquisition module 100, a priority query module 200, a construction end point determination module 300, a first sweeping surface determination module 400, and a first intersecting polygon determination module 500, where:

[0092] The wall acquisition module 100 is configured to acquire the walls to be processed in the model and select two intersecting initial walls from the walls to be processed;

[0093] The priority query module 200 is configured to query the priorities of the initial walls;

[0094] The construction end point determination module 300 is used to calculate the initial wall line intersection points of the initial wall, and determine the construction end point of the initial wall according to the initial wall line intersection points and the priority of the initial wall;

[0095] The first sweeping surface determination module 400 is used to determine the sweeping surface of the initial wall according to the line segment where the construction end point of the initial wall is located, the wall line of the initial wall, and the starting end line of the initial wall;

[0096] The first intersecting polygon determination module 500 is used to perform a Boolean operation on the obtained sweeping surface of the initial wall to obtain the intersecting polygon corresponding to the initial wall.

[0097] In one embodiment, the wall processing device in the above model may further include:

[0098] The construction line segment determination module is used to obtain the construction line segment where the construction end point of the initial wall with a lower priority is located;

[0099] The two-dimensional display determination module is used to clip the obtained sweeping surface based on the construction line segment, and use the side line of the clipped sweeping surface as the two-dimensional graphic display boundary line of the initial wall.

[0100] In one embodiment, the wall processing device in the above model may further include:

[0101] The intersection judgment module is used to obtain the next wall to be processed in the model as the current wall, and judge whether the current wall intersects with the wall forming the intersecting polygon;

[0102] The priority acquisition module is used to obtain the priority of the current wall when the current wall intersects with the wall forming the intersecting polygon;

[0103] The current wall line intersection point determination module is used to obtain the current wall line intersection point of the intersecting polygon and the current wall when the priority of the current wall is less than the priority of the wall forming the intersecting polygon;

[0104] The construction end line determination module is used to determine the construction end line of the current wall according to the current wall line intersection point and the intersecting polygon;

[0105] The second sweeping surface determination module is used to determine the sweeping surface of the current wall according to the construction end line of the current wall, the wall line of the current wall, and the starting end line of the current wall;

[0106] The second intersecting polygon determination module is used to perform a Boolean operation on the obtained sweeping surface of the current wall and the intersecting polygon to obtain the current intersecting polygon;

[0107] The loop module is used to continue to obtain the next wall to be processed in the model as the current wall until all the walls to be processed in the model have been judged.

[0108] In one embodiment, the above-mentioned loop module can also be used to select the two walls with the highest priority from the current wall and the walls forming an intersecting polygon when the priority of the current wall is higher than that of at least one wall forming an intersecting polygon; continue to calculate the intersection points of the initial wall lines of the initial walls, and after obtaining the intersecting polygon corresponding to the initial walls, obtain the next wall from the current wall and the walls forming the intersecting polygon according to the priority for processing until the current wall and the walls forming the intersecting polygon are processed completely.

[0109] In one embodiment, the above-mentioned intersection judgment module is further configured to judge whether the current wall intersects with at least one wall forming an intersecting polygon; if so, the current wall intersects with the wall forming the intersecting polygon, otherwise it does not intersect.

[0110] In one embodiment, the wall processing device in the above-mentioned model may further include:

[0111] A design endpoint determination module, configured to obtain a reference wall in the intersecting polygon that intersects with the current wall, and calculate the intersection point of the center lines of the current wall and the reference wall as the design endpoint of the current wall;

[0112] A construction endpoint determination module, configured to obtain the intersection point of the center line of the current wall and the boundary line of the intersecting polygon as the construction endpoint of the current wall.

[0113] In one embodiment, the wall processing device in the above-mentioned model may further include:

[0114] A wall judgment module, configured to judge whether the boundary lines of the initial walls intersect, and whether the distance from the endpoint of one initial wall to the endpoint of the other initial wall is less than the average width of the two initial walls; if so, the two initial walls intersect, otherwise they do not intersect.

[0115] In one embodiment, the above-mentioned construction end point determination module 300 includes:

[0116] A reference intersection point determination unit, configured to calculate a reference intersection point of the center line or the extended center line of the initial wall, and set the direction of the initial wall to point to the reference intersection point;

[0117] A design end point determination unit, configured to use the reference intersection point as the design end point of the initial wall;

[0118] A wall line intersection point calculation unit, configured to calculate the initial wall line intersection points of the initial walls;

[0119] A construction end point determination unit is configured to extend the wall line of the initial wall with a higher priority in the initial walls to the far intersection point among the intersection points of the initial wall lines along the direction of the initial wall, and extend the midline of the initial wall with a higher priority to the line segment formed by the far intersection point to obtain the construction end point of the initial wall with a higher priority; indent the wall line of the initial wall with a lower priority in the initial walls to the near intersection point among the intersection points of the initial wall lines along the direction of the initial wall, and extend the midline of the initial wall with a lower priority to the line segment formed by the near intersection point to obtain the construction end point of the initial wall with a lower priority.

[0120] In one embodiment, the wall processing device in the above model may further include:

[0121] A priority determination module is configured to determine the priority of the wall to be processed according to at least one of the function, position, material, and width of the wall to be processed.

[0122] For the specific limitations of the wall processing device in the model, reference may be made to the limitations of the wall processing method in the model above, which will not be elaborated here. Each module in the wall processing device in the above model can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory of the computer device in the form of software, so as to facilitate the processor to call and execute the operations corresponding to the above modules.

[0123] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as Figure 6 shown. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner can be achieved through WIFI, a carrier network, NFC (Near Field Communication), or other technologies. The computer program, when executed by the processor, implements a wall processing method in a model. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device may be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, a touchpad, or a mouse, etc.

[0124] Those skilled in the art can understand, Figure 6The structure shown is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0125] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented: obtaining a wall to be processed in the model, and selecting two intersecting initial walls from the walls to be processed; querying the priorities of the initial walls; calculating the intersection points of the initial wall lines of the initial walls, and determining the construction end points of the initial walls according to the intersection points of the initial wall lines and the priorities of the initial walls; determining the sweeping surfaces of the initial walls according to the line segments where the construction end points of the initial walls are located, the wall lines of the initial walls, and the starting line segments of the initial walls; performing a Boolean operation on the obtained sweeping surfaces of the initial walls to obtain the intersecting polygons corresponding to the initial walls.

[0126] In one embodiment, when the processor executes the computer program to determine the sweeping surfaces of the initial walls according to the line segments where the construction end points of the initial walls are located, the wall lines of the initial walls, and the starting line segments of the initial walls, it further includes: obtaining the construction line segments where the construction end points of the initial walls with lower priorities are located, cutting the obtained sweeping surfaces based on the construction line segments, and using the side lines of the cut sweeping surfaces as the two-dimensional graphic display boundary lines of the initial walls.

[0127] In one embodiment, after performing a Boolean operation on the obtained sweeping surfaces of the initial walls to obtain the intersecting polygons corresponding to the initial walls, when the processor executes the computer program, it further includes: obtaining the next wall to be processed in the model as the current wall, and determining whether the current wall intersects with the walls forming the intersecting polygon. When the current wall intersects with the walls forming the intersecting polygon, obtaining the priority of the current wall; when the priority of the current wall is less than the priority of the walls forming the intersecting polygon, obtaining the current intersection points of the intersecting polygon and the current wall line of the current wall; determining the construction end line of the current wall according to the current intersection points and the intersecting polygon; determining the sweeping surface of the current wall according to the construction end line of the current wall, the wall line of the current wall, and the starting line segment of the current wall; performing a Boolean operation on the obtained sweeping surface of the current wall and the intersecting polygon to obtain the current intersecting polygon; continuing to obtain the next wall to be processed in the model as the current wall until all the walls to be processed in the model have been determined.

[0128] In one embodiment, after obtaining the priority of the current wall when the processor executes a computer program, it further includes: when the priority of the current wall is greater than the priorities of at least one wall forming an intersecting polygon, select the two walls with the top two priority rankings from the current wall and the walls forming the intersecting polygon as the initial walls; continue to calculate the intersection points of the initial wall lines of the initial walls, and after obtaining the intersecting polygon corresponding to the initial walls, obtain the next wall from the current wall and the walls forming the intersecting polygon according to the priority for processing until the current wall and the walls forming the intersecting polygon are processed completely.

[0129] In one embodiment, the judgment of whether the current wall intersects with the walls forming the intersecting polygon when the processor executes a computer program includes: judging whether the current wall intersects with at least one wall forming the intersecting polygon; if so, the current wall intersects with the walls forming the intersecting polygon, otherwise it does not intersect.

[0130] In one embodiment, before obtaining the intersection points of the intersecting polygon and the current wall line of the current wall when the processor executes a computer program, it further includes: obtaining the reference wall in the intersecting polygon that intersects with the current wall, and calculating the intersection point of the midlines of the current wall and the reference wall as the design end point of the current wall; obtaining the intersection point of the midline of the current wall and the boundary line of the intersecting polygon as the construction end point of the current wall.

[0131] In one embodiment, the judgment method for the intersection of two initial walls when the processor executes a computer program includes: judging whether the boundary lines of the initial walls intersect, and whether the distance from the end point of one initial wall to the end point of the other initial wall is less than the average width of the two initial walls; if so, the two initial walls intersect, otherwise they do not intersect.

[0132] In one embodiment, when calculating the intersection points of the initial wall lines of the initial walls and determining the construction end points of the initial walls according to the intersection points of the initial wall lines and the priorities of the initial walls, it includes: calculating the reference intersection points of the midlines or the extended midlines of the initial walls, and setting the direction of the initial walls to point to the reference intersection points; taking the reference intersection points as the design end points of the initial walls; calculating the intersection points of the initial wall lines of the initial walls; extending the wall line of the initial wall with a higher priority in the initial walls to the far intersection point among the intersection points of the initial wall lines along the direction of the initial wall, and extending the midline of the initial wall with a higher priority to the line segment formed by the far intersection point to obtain the construction end point of the initial wall with a higher priority; indenting the wall line of the initial wall with a lower priority in the initial walls to the near intersection point among the intersection points of the initial wall lines along the direction of the initial wall, and extending the midline of the initial wall with a lower priority to the line segment formed by the near intersection point to obtain the construction end point of the initial wall with a lower priority.

[0133] In one embodiment, the method for determining the priority of a wall to be processed when a processor executes a computer program includes: determining the priority of the wall to be processed according to at least one of the function, location, material, and width of the wall to be processed.

[0134] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining the walls to be processed in the model, and selecting two intersecting initial walls from the walls to be processed; querying the priorities of the initial walls; calculating the intersection points of the initial wall lines of the initial walls, and determining the construction end points of the initial walls according to the intersection points of the initial wall lines and the priorities of the initial walls; determining the sweeping surfaces of the initial walls according to the line segments where the construction end points of the initial walls are located, the wall lines of the initial walls, and the starting line segments of the initial walls; performing a Boolean operation on the obtained sweeping surfaces of the initial walls to obtain the intersecting polygons corresponding to the initial walls.

[0135] In one embodiment, when determining the sweeping surfaces of the initial walls according to the line segments where the construction end points of the initial walls are located, the wall lines of the initial walls, and the starting line segments of the initial walls when the computer program is executed by a processor, it further includes: obtaining the construction line segments where the construction end points of the initial walls with lower priorities are located, cutting the obtained sweeping surfaces based on the construction line segments, and using the side lines of the cut sweeping surfaces as the two-dimensional graphic display boundary lines of the initial walls.

[0136] In one embodiment, after performing a Boolean operation on the obtained sweeping surfaces of the initial walls to obtain the intersecting polygons corresponding to the initial walls when the computer program is executed by a processor, it further includes: obtaining the next wall to be processed in the model as the current wall, and determining whether the current wall intersects with the walls forming the intersecting polygon. When the current wall intersects with the walls forming the intersecting polygon, obtaining the priority of the current wall; when the priority of the current wall is less than the priority of the walls forming the intersecting polygon, obtaining the intersection points of the current wall lines of the intersecting polygon and the current wall; determining the construction end lines of the current wall according to the intersection points of the current wall lines and the intersecting polygon; determining the sweeping surfaces of the current wall according to the construction end lines of the current wall, the wall lines of the current wall, and the starting line segments of the current wall; performing a Boolean operation on the obtained sweeping surfaces of the current wall and the intersecting polygon to obtain the current intersecting polygon; continuing to obtain the next wall to be processed in the model as the current wall until all the walls to be processed in the model have been determined.

[0137] In one embodiment, after obtaining the priority of the current wall when the computer program is executed by a processor, it further includes: when the priority of the current wall is greater than the priorities of at least one wall forming an intersecting polygon, select the two walls with the top two priority rankings from the current wall and the walls forming the intersecting polygon as the initial walls; continue to calculate the intersection points of the initial wall lines of the initial walls, and after obtaining the intersecting polygon corresponding to the initial walls, obtain the next wall from the current wall and the walls forming the intersecting polygon according to the priority for processing until the processing of the current wall and the walls forming the intersecting polygon is completed.

[0138] In one embodiment, the determination of whether the current wall intersects with the walls forming the intersecting polygon when the computer program is executed by a processor includes: determining whether the current wall intersects with at least one wall forming the intersecting polygon; if so, the current wall intersects with the walls forming the intersecting polygon, otherwise it does not intersect.

[0139] In one embodiment, before obtaining the intersection points of the intersecting polygon and the current wall line of the current wall when the computer program is executed by a processor, it further includes: obtaining the reference wall in the intersecting polygon that intersects with the current wall, and calculating the intersection point of the midlines of the current wall and the reference wall as the design endpoint of the current wall; obtaining the intersection point of the midline of the current wall and the boundary line of the intersecting polygon as the construction endpoint of the current wall.

[0140] In one embodiment, the determination method for the intersection of two initial walls when the computer program is executed by a processor includes: determining whether the boundary lines of the initial walls intersect, and whether the distance from the endpoint of one initial wall to the endpoint of the other initial wall is less than the average width of the two initial walls; if so, the two initial walls intersect, otherwise they do not intersect.

[0141] In one embodiment, when calculating the intersection points of the initial wall lines of the initial walls and determining the construction endpoints of the initial walls according to the intersection points of the initial wall lines and the priorities of the initial walls, it includes: calculating the reference intersection points of the midlines or the extended midlines of the initial walls, and setting the direction of the initial walls to point to the reference intersection points; taking the reference intersection points as the design endpoints of the initial walls; calculating the intersection points of the initial wall lines of the initial walls; extending the wall line of the initial wall with a higher priority in the initial walls to the far intersection point among the intersection points of the initial wall lines along the direction of the initial wall, and extending the midline of the initial wall with a higher priority to the line segment formed by the far intersection point to obtain the construction endpoint of the initial wall with a higher priority; indenting the wall line of the initial wall with a lower priority in the initial walls to the near intersection point among the intersection points of the initial wall lines along the direction of the initial wall, and extending the midline of the initial wall with a lower priority to the line segment formed by the near intersection point to obtain the construction endpoint of the initial wall with a lower priority.

[0142] In one embodiment, the method for determining the priority of a wall to be processed when a computer program is executed by a processor includes: determining the priority of the wall to be processed according to at least one of the function, position, material, and width of the wall to be processed.

[0143] Those of ordinary skill in the art can understand that all or part of the processes in the above-described embodiment methods can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-described method embodiments. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0144] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0145] The above-described embodiments only represent several implementation manners of the present application. Their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A method for wall treatment in a model, characterized in that, the method includes: Obtain the walls to be processed in the model, and select two initial walls that intersect from the walls to be processed; Query the priorities of the initial walls; Calculate the initial wall line intersection points of the initial walls, and determine the construction end points of the initial walls according to the initial wall line intersection points and the priorities of the initial walls; Determine the sweeping surface of the initial walls according to the line segment where the construction end points of the initial walls are located, the wall lines of the initial walls, and the starting end lines of the initial walls; Perform a Boolean operation on the obtained sweeping surfaces of the initial walls to obtain the intersecting polygons corresponding to the initial walls; Among them, the determination method for the intersection of the two initial walls includes: Judge whether the boundary lines of the initial walls intersect, and whether the distance from the end point of one initial wall to the end point of the other initial wall is less than the average width of the two initial walls; If so, the two initial walls intersect, otherwise they do not intersect; Among them, the calculation of the initial wall line intersection points of the initial walls, and the determination of the construction end points of the initial walls according to the initial wall line intersection points and the priorities of the initial walls includes: Calculate the reference intersection points of the midlines or extended midlines of the initial walls, and set the directions of the initial walls to point to the reference intersection points; Take the reference intersection points as the design end points of the initial walls; Calculate the initial wall line intersection points of the initial walls; Extend the wall line of the initial wall with a higher priority in the initial walls to the far intersection point among the initial wall line intersection points along the direction of the initial wall, and extend the midline of the initial wall with a higher priority to the line segment formed by the far intersection point to obtain the construction end point of the initial wall with a higher priority; Indent the wall line of the initial wall with a lower priority in the initial walls to the near intersection point among the initial wall line intersection points along the direction of the initial wall, and extend the midline of the initial wall with a lower priority to the line segment formed by the near intersection point to obtain the construction end point of the initial wall with a lower priority.

2. The method according to claim 1, characterized in that, after determining the sweeping surface of the initial walls according to the line segment where the construction end points of the initial walls are located, the wall lines of the initial walls, and the starting end lines of the initial walls, it further includes: Obtain the construction line segment where the construction end point of the initial wall with a lower priority is located; Based on the construction line segment, crop the obtained sweeping surface, and use the side lines of the cropped sweeping surface as the two-dimensional graphic display boundary lines of the initial walls.

3. The method according to claim 1, characterized in that, after performing a Boolean operation on the obtained sweeping surfaces of the initial walls to obtain the intersecting polygons corresponding to the initial walls, it further includes: Obtain the next wall to be processed in the model as the current wall, and judge whether the current wall intersects with the walls forming the intersecting polygon; When the current wall intersects with the walls forming the intersecting polygon, obtain the priority of the current wall; When the priority of the current wall is less than the priority of the walls forming the intersecting polygon, obtain the current wall line intersection points of the intersecting polygon and the current wall; Determine the construction end line of the current wall according to the current wall line intersection points and the intersecting polygon; Determine the sweeping surface of the current wall according to the construction end line of the current wall, the wall line of the current wall, and the starting end line of the current wall; Perform a Boolean operation on the obtained sweeping surface of the current wall and the intersecting polygon to obtain the current intersecting polygon; Continue to obtain the next wall to be processed in the model as the current wall until all the walls to be processed in the model have been judged.

4. The method according to claim 3, wherein, after obtaining the priority of the current wall, it further includes: When the priority of the current wall is greater than the priority of at least one of the walls forming the intersecting polygon, select the two walls with the highest priority ranking from the current wall and the walls forming the intersecting polygon as the initial walls; Continue to calculate the initial wall line intersection points of the initial walls, and after obtaining the intersecting polygon corresponding to the initial walls, obtain the next wall from the current wall and the walls forming the intersecting polygon according to the priority for processing until the current wall and the walls forming the intersecting polygon are all processed.

5. The method according to claim 3, wherein, judging whether the current wall intersects with the walls forming the intersecting polygon includes: Judging whether the current wall intersects with at least one of the walls forming the intersecting polygon; If so, the current wall intersects with the walls forming the intersecting polygon, otherwise it does not intersect.

6. The method according to claim 3, wherein, before obtaining the current wall line intersection points of the intersecting polygon and the current wall, it further includes: Obtain the reference wall in the intersecting polygon that intersects with the current wall, and calculate the intersection point of the midlines of the current wall and the reference wall as the design end point of the current wall; Obtain the intersection point of the midline of the current wall and the boundary line of the intersecting polygon as the construction end point of the current wall.

7. The method according to any one of claims 1 to 6, wherein, the method for determining the priority of the wall to be processed includes: Determine the priority of the wall to be processed according to at least one of the function, position, material, and width of the wall to be processed.

8. A wall processing device in a model, wherein, the device includes: A wall acquisition module, configured to acquire the walls to be processed in the model, and select two intersecting initial walls from the walls to be processed; A priority query module, configured to query the priorities of the initial walls; A construction end point determination module, configured to calculate the initial wall line intersection points of the initial walls, and determine the construction end points of the initial walls according to the initial wall line intersection points and the priorities of the initial walls; The first plastering surface determination module is used to determine the plastering surface of the initial wall according to the line segment where the construction end point of the initial wall is located, the wall line of the initial wall, and the starting end line of the initial wall; The first intersecting polygon determination module is used to perform a Boolean operation on the obtained plastering surface of the initial wall to obtain the intersecting polygon corresponding to the initial wall; Among them, the wall acquisition module includes: The wall judgment module is used to judge whether the boundary lines of the initial walls intersect, and whether the distance from the end point of one initial wall to the end point of another initial wall is less than the average width of the two initial walls; if so, the two initial walls intersect, otherwise they do not intersect; Among them, the construction end point determination module includes: The reference intersection point determination unit is used to calculate the reference intersection point of the center line or the extended line of the center line of the initial wall, and set the direction of the initial wall to point to the reference intersection point; The design end point determination unit is used to use the reference intersection point as the design end point of the initial wall; The wall line intersection point calculation unit is used to calculate the initial wall line intersection points of the initial wall; The construction end point determination unit is used to extend the wall line of the initial wall with a higher priority in the initial wall to the far intersection point among the initial wall line intersection points along the direction of the initial wall, and extend the center line of the initial wall with a higher priority to the line segment formed by the far intersection point to obtain the construction end point of the initial wall with a higher priority; indent the wall line of the initial wall with a lower priority in the initial wall to the near intersection point among the initial wall line intersection points along the direction of the initial wall, and extend the center line of the initial wall with a lower priority to the line segment formed by the near intersection point to obtain the construction end point of the initial wall with a lower priority.

9. A computer device, including a memory and a processor, the memory stores a computer program, Characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, on which a computer program is stored, Characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Architectural-drawing-based automatic identification method for column and wall

    CN108376248A

  • A two-dimensional to three-dimensional house type design method

    CN109711018A