Wall processing method and device, computer equipment and storage medium

By detecting and analyzing the properties of the wall in the building model, calculating its connection relationship and distance, and performing interruption processing, the problems of low efficiency and large errors when connecting walls are solved, and higher accuracy and integrity are achieved.

CN120030640APending Publication Date: 2025-05-23深圳市万翼数字技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411998284.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

During the architectural model design process, wall connections often have problems such as low work efficiency, large errors and low accuracy, resulting in incomplete or excessive intersecting of the walls, affecting the integrity and aesthetics of the model.

Method used

By detecting the properties of the wall itself, the connection relationship between the walls is obtained, the intersection state and parallel relationship of the wall are determined, the wall distance is calculated, and the wall is interrupted based on the preset tolerance to achieve accurate connection.

Benefits of technology

It improves the accuracy of wall connections, reduces errors, improves work efficiency, and ensures the integrity and aesthetics of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120030640A_ABST
    Figure CN120030640A_ABST
Patent Text Reader

Abstract

The invention relates to a wall processing method. The method comprises the steps that the connection relation between a first wall and a second wall is obtained; determining an intersection state of the first wall body and the second wall body according to the connection relationship, and if the first wall body and the second wall body are intersected, obtaining a first wall center line of the first wall body and a second wall center line of the second wall body; determining a parallel relationship between the first wall body and the second wall body according to the first wall center line and the second wall center line, and if the first wall center line and the second wall center line are not parallel, obtaining a first wall body structure of the first wall body and a second wall body structure of the second wall body; calculating a wall body distance according to the first wall body structure and the second wall body structure; and breaking the first wall body and the second wall body based on the wall body distance and a preset tolerance. According to the method, accurate connection of the wall bodies is achieved by detecting the attributes of the wall bodies, and the geometrical shapes of the wall bodies are displayed more accurately from the attributes of the wall bodies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of building model-aided design, and in particular to a method, device, computer equipment and storage medium for wall processing. Background Art

[0002] During the modeling process, users usually need to perform connection operations on walls to ensure the integrity of the structure and the accuracy of the design. However, in actual operations, the connection results of walls are not satisfactory. Specifically, when the user intends to achieve a precise intersection connection between two wall elements (for example, when building a room corner or a complex building structure), the system often cannot accurately meet the user's instructions, resulting in the inability to accurately connect the two walls. For example, the walls do not intersect completely, that is, there are gaps at the connection, which affects the integrity and aesthetics of the model; or the walls intersect too much, resulting in unnecessary overlap between the walls, which not only increases the complexity of the model, but also violates the design principles. Summary of the invention

[0003] The embodiments of the present application provide a wall processing method, device, computer equipment and storage medium, which aim to solve the problems of low work efficiency, large errors and low precision when connecting walls. By detecting the properties of the wall itself, accurate connection of the wall is achieved, and based on the properties of the wall itself, the geometric shape of the wall is displayed more accurately.

[0004] In a first aspect, an embodiment of the present application provides a wall treatment method, which includes:

[0005] Acquire a connection relationship between a first wall and a second wall;

[0006] Determine the intersection state of the first wall and the second wall according to the connection relationship, and if the first wall and the second wall intersect, obtain a first wall centerline of the first wall and a second wall centerline of the second wall;

[0007] Determine the parallel relationship between the first wall and the second wall according to the center line of the first wall and the center line of the second wall, and if the first wall and the second wall are not parallel, obtain a first wall structure of the first wall and a second wall structure of the second wall;

[0008] Calculating a wall distance according to the first wall structure and the second wall structure;

[0009] The first wall and the second wall are interrupted based on the wall distance and a preset tolerance.

[0010] In a second aspect, an embodiment of the present application further provides a wall treatment device, which includes a unit for executing the above method.

[0011] In a third aspect, an embodiment of the present application further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.

[0012] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0015] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0016] Figure 1 A flow chart of a wall treatment method provided in an embodiment of the present application;

[0017] Figure 2a-2b A schematic diagram of a wall structure provided in an embodiment of the present application;

[0018] Figure 3 A schematic diagram of another wall structure provided in an embodiment of the present application;

[0019] Figure 4a-4b A schematic diagram of the intersection state of a first side edge line and a second side edge line provided in an embodiment of the present application;

[0020] Figure 5a-Figure 5b A schematic diagram showing that the connection relationship between the first wall and the second wall provided in the embodiment of the present application meets the preset interruption condition;

[0021] Figure 5c A schematic diagram showing that the connection relationship between the first wall and the second wall provided in the embodiment of the present application does not meet the preset interruption condition;

[0022] Figure 6a-6b A schematic diagram of a cross-shaped interruption process provided in an embodiment of the present application;

[0023] Figure 7a-Figure 7b A schematic diagram of a T-shaped interruption process provided in an embodiment of the present application;

[0024] Figure 8 A schematic diagram of the structure of a wall treatment device provided in an embodiment of the present application;

[0025] Fig. 9 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0027] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0028] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0029] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0030] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0031] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0032] In order to solve the technical problems of low work efficiency, large errors and low precision in wall connection in the prior art, the present application provides a wall processing method, which can achieve precise connection of walls by detecting the properties of the wall itself, and based on the properties of the wall itself, more accurately display the geometric shape of the wall.

[0033] Figure 1 A wall treatment method provided in an embodiment of the present application includes:

[0034] Step S100: obtaining a connection relationship between a first wall and a second wall.

[0035] Wherein, the first wall may be a straight wall or a curved wall with a rectangular wall outline, and the second wall may be another straight wall or a curved wall with a rectangular wall outline. In a specific embodiment, as shown in FIG2 , the first wall may be wall A, and the second wall may be wall B. Taking wall A as an example, wall A includes: a wall center line a1, a side line b1, a side line c1, a starting end line d1, and an end end line e1; wall B includes: a wall center line a2, a side line b2, a side line c2, a starting end line d2, and an end end line e2. The connection relationship between the first wall and the second wall may be the initial connection state of the wall outline of the first wall and the wall outline of the second wall. For example, wall A and wall B may be in an intersecting connection state or a non-intersecting connection state. In some specific embodiments, it is determined whether the first wall and the second wall intersect. If the two intersect, step S110 is entered.

[0036] Step S110, determining the intersection state of the first wall and the second wall according to the connection relationship, and if the first wall and the second wall intersect, obtaining a first wall centerline of the first wall and a second wall centerline of the second wall.

[0037] The first wall centerline may be the centerline of the first wall or the baseline of the first wall. Referring to FIG. 2 , the centerline of the first wall may be the centerline of wall A. The second wall centerline may be the centerline of the second wall or the baseline of the second wall. Referring to FIG. 2 , the centerline of the second wall may be the centerline of wall B. In some specific embodiments, if it is confirmed that the first wall and the second wall are in an intersecting state, it is necessary to further determine whether the centerlines of the two walls are also in an intersecting state, and then it can be determined whether the first wall and the second wall need to be interrupted. Therefore, it is necessary to obtain the centerline of the first wall and the centerline of the second wall to confirm a more accurate connection relationship between the first wall and the second wall. In other specific embodiments, if it is confirmed that the first wall and the second wall are not in an intersecting state, it is not necessary to interrupt the first wall and the second wall.

[0038] Step S120, determining the parallel relationship between the first wall and the second wall according to the center line of the first wall and the center line of the second wall, and if the first wall and the second wall are not parallel, obtaining the first wall structure of the first wall and the second wall structure of the second wall.

[0039] The parallel relationship between the first wall and the second wall may refer to a geometric relationship in which the first wall and the second wall are parallel or non-parallel. The parallel relationship refers to that when the two walls are straight walls, the judgment is made based on whether the wall centerline segments are parallel, and when the two walls are arc walls, the judgment is made based on whether the wall centerlines are concentric. The first wall structure may be the shape of the first wall. For example, the first wall structure may be that the first wall is a curved wall or a straight wall; the second wall structure may be that the second wall is a curved wall or a straight wall. In some specific embodiments, if the centerline of the first wall is not parallel to the centerline of the second wall, it can be confirmed that the first wall and the second wall are not parallel either. At this time, the first wall and the second wall are in a corner joint state. The corner joint state may be that the two walls are parallel / the intersection of the wall centerlines is not on the centerline of the two walls, or the intersection of the wall centerlines is at the end points of the two walls. For example, if there are two walls (parallel relationship) and both are straight walls, the center line of the short wall is projected onto the center line of the long wall (the straight line created by the line segments), and whether they are parallel is determined based on whether the intervals of the line segments on the straight line overlap; the judgment of the arc wall is similar. If they meet the requirements of parallelism and non-overlapping, they are corner-joined. When the first wall and the second wall are in a corner-joined state, the two walls need to be interrupted for logical judgment to further improve the accuracy of modeling.

[0040] Step S130: calculating the wall distance according to the first wall structure and the second wall structure.

[0041] Among them, when finding the intersection point, the (starting point or end point) of the intersection of the two walls will be recorded, and then the distance between the two walls and the intersection point will be calculated based on the recorded end points. The wall distance can be the distance between the intersection of the center line of the first wall and the center line of the second wall and the starting end line / end end line of the first wall and the starting end line / end end line of the second wall. When finding the intersection point, the starting point or end point of the intersection of the two walls can be recorded, and then the distance between the two walls and the intersection point can be calculated based on the recorded points. Optionally, if either the first wall structure or the second wall structure is a curved wall, or the first wall structure and the second wall structure are not both straight walls, it is necessary to determine whether the first wall and the second wall need to be interrupted by calculating the wall distance to reduce the design error.

[0042] Step S140: interrupting the first wall and the second wall based on the wall distance and the preset tolerance.

[0043] Among them, the preset tolerance can be a tolerance standard value calculated according to a preset tolerance calculation rule. Optionally, assuming that the first wall structure of the first wall A is a curved wall, the second wall structure of the second wall B is a straight wall, the center line of the first wall is a1, and the center line of the second wall is a2. The tolerance calculation rule is used to determine whether the two walls need to be connected and interrupted. The tolerance can be used to exclude useless point information. At the same time, the distances between the endpoints of the two walls and the intersection point have tolerances. The tolerance of wall A is calculated through the thickness of wall B, and the thickness of wall B is calculated through the thickness of wall A. In some specific embodiments, the wall distance is compared with the preset tolerance. If the wall distance is less than the preset tolerance, the first wall and the second wall need to be interrupted. The interruption processing includes cross interruption and T-shaped interruption. Reference Figure 3 As shown in the figure, when the tangent angle is less than 2° or greater than 178°, the tolerance distance from the end point of wall B to the intersection of the wall centerline is 0.5 times the thickness of wall A. The calculation of the tolerance of wall A is similar, which is 0.5 times the thickness of wall B. When the tangent angle is between 2° and 178°, the tolerance of wall B is 0.5 times the thickness of wall A divided by sin (i.e. the tangent angle value).

[0044] The above-mentioned wall processing method realizes accurate connection of the wall by detecting the properties of the wall itself, and displays the geometric shape of the wall more accurately based on the properties of the wall itself.

[0045] In some specific embodiments of the present application, the first wall and the second wall are interrupted based on the wall distance and the preset tolerance, including:

[0046] Determine whether the wall distance is less than the preset tolerance.

[0047] Optionally, the wall distance can be compared with a preset tolerance to determine whether the wall distance is less than the preset tolerance. The determination result can be that the wall distance is greater than the preset tolerance or that the wall distance is less than the preset tolerance. If the determination result is that the wall distance is less than the preset tolerance, proceed to the next step.

[0048] If the wall distance is less than the preset tolerance, a first side edge line of the first wall and a second side edge line of the second wall are obtained.

[0049] The first side line may be one or both of the two side lines of the first wall, and the second side line may be one or both of the two side lines of the second wall. In some specific embodiments, if the judgment result is that the wall distance is less than the preset tolerance, the first wall and the second wall need to be interrupted. For details, refer to Figure 4a-4b , the first wall is wall A, the second wall is wall B, the first side lines obtained are b1 and c1, and the second side lines obtained are b2 and c2.

[0050] The first wall and the second wall are interrupted according to the intersection state of the first side edge line and the second side edge line.

[0051] Optionally, the interruption type may be determined based on the intersection state of the first side line and the second side line, for example, whether the first side line and the second side line intersect, and then the first wall and the second wall may be interrupted based on the interruption type. Figure 4a , Figure 4b , the first side line is b1 and c1, the second side line is b2 and c2, if b1, c1, b2, c2 intersect each other (such as Figure 4a As shown), it can be confirmed that the interruption type is a cross interruption, and the first wall and the second wall are interrupted according to the interruption type of the cross interruption. If b1 intersects with b2 and c2, but none of the three intersects with c1 (as shown Figure 4b As shown); in other embodiments of the present application, c1 may intersect with b2 and c2, but none of the three may intersect with c2; or b2 may intersect with b1 and c1, but none of the three may intersect with c2; or c2 may intersect with b1 and c1, but none of the three may intersect with b2, then the interruption type may be confirmed to be a T-shaped interruption, and the first wall and the second wall may be interrupted according to the interruption type of the T-shaped interruption. By comparing the wall distance and the size of the preset tolerance and confirming the interruption type to interrupt the first wall and the second wall, the inefficiency of manually adjusting the wall may be avoided, the error may be reduced, and the accuracy of the wall connection may be improved.

[0052] In some specific embodiments of the present application, the first wall structure includes: a first straight wall structure and a first curved wall structure; the second wall structure includes: a second straight wall structure and a second curved wall structure; before calculating the wall distance according to the first wall structure and the second wall structure, it also includes:

[0053] It is determined whether the first wall structure is a first curved wall structure and whether the second wall structure is a second curved wall structure.

[0054] Among them, the first straight line structure means that the first wall is a straight line wall, and the first curved line structure means that the first wall is a curved line wall; the second straight line structure means that the second wall is a straight line wall, and the second curved line structure means that the second wall is a curved line wall. Optionally, it can be determined whether the first wall structure and the second wall structure are both straight line wall structures. The judgment result can be: the first wall structure is the first straight line structure, and the second wall is the second straight line structure; or, the first wall structure is the first straight line structure, and the second wall is the second curved line structure; or, the first wall structure is the first curved line structure, and the second wall is the second straight line structure; or, the first wall is the first curved line structure, and the second wall is the second curved line structure.

[0055] If the first wall structure is a first curved wall structure; or the second wall structure is a curved wall structure, the process proceeds to a step of calculating the wall distance according to the first wall structure and the second wall structure.

[0056] In some specific embodiments, the wall distance between the first wall and the second wall needs to be calculated only when the judgment result is that the first wall structure is a first curved structure, or the second wall structure is a second curved structure, that is, the first wall and the second wall are not both straight line structures; otherwise, if the first wall structure is a first straight line structure and the second wall structure is a second straight line structure, that is, the first wall structure and the second wall structure are both straight line structures, then there is no need to interrupt the first wall and the second wall.

[0057] In some specific embodiments of the present application, after determining the parallel relationship between the first wall and the second wall according to the center line of the first wall and the center line of the second wall, the method further includes:

[0058] If the first wall and the second wall are parallel, the projection of the centerline of the first wall on the centerline of the second wall is obtained.

[0059] The wall centerline projection may be a projection of the first wall centerline onto the second wall centerline, or a shadow of the first wall centerline in the direction of the second wall centerline. In some specific embodiments, if the first wall centerline is parallel to the second wall centerline, that is, the first wall and the second wall are parallel, then the first wall and the second wall are in an edge connection state, and the edge connection state may be a state in which the starting end line / end end line of one wall overlaps with the side line of the other wall, or the starting end line / end end line of one wall overlaps with the starting end line / end end line of the other wall.

[0060] Determine whether the wall centerline projection meets the preset interruption conditions.

[0061] The preset interruption condition may be a preset interruption requirement for a straight wall or a preset interruption requirement for a curved wall. Taking a straight wall as an example, the preset interruption condition may be that the short wall centerline is projected onto the long wall centerline, and the resulting wall centerline projection does not overlap with the long wall centerline; in other embodiments, taking a curved wall as an example, the preset interruption condition may be whether the endpoint of the arc with a large radius is on the endpoint of the arc with a small radius. It is determined whether the wall centerline projection meets the preset interruption condition. If so, proceed to the next step.

[0062] If the projection of the centerline of the wall meets the preset interruption condition, the first wall and the second wall are interrupted.

[0063] Optionally, taking a straight wall as an example, assuming that the first wall is shorter than the second wall, the centerline of the first wall can be projected onto the centerline of the second wall to obtain the centerline projection of the wall. If the centerline projection of the wall does not overlap with the centerline projection of the second wall, such as Figure 5a As shown in FIG. 1 , the projection of the centerline a1 of the first wall A does not overlap with the centerline a2 of the second wall B. Therefore, the first wall A and the second wall B need to be interrupted. In other embodiments, taking a curved wall as an example, Figure 5b As shown, assuming that the first wall A is an arc with a large radius and the second wall B is an arc with a small radius, if the endpoint of the arc with a large radius is not on the endpoint of the arc with a small radius, the preset interruption condition is met, and the first wall and the second wall need to be interrupted. The above interruption processing includes cross interruption processing and T-shaped interruption processing. By accurately detecting the properties of the wall itself, the problem of mismatched connection relationships can be solved and accurate connection of the walls can be achieved.

[0064] In some specific embodiments of the present application, after determining the parallel relationship between the first wall and the second wall according to the first wall center line and the second wall center line, the wall processing method further includes:

[0065] If the projection of the centerline of the wall does not meet the preset interruption condition, the first wall and the second wall are not interrupted.

[0066] Optionally, taking a straight wall as an example, assuming that the first wall is shorter than the second wall, the centerline of the first wall can be projected onto the centerline of the second wall to obtain a wall centerline projection. If the wall centerline projection overlaps with the centerline of the second wall, there is no need to interrupt the first wall and the second wall. In some specific embodiments, the connection relationship between the first wall A and the second wall B is as follows: Figure 5c As shown, at this time, the wall centerline projection of the first wall centerline a1 of the first wall A overlaps with the second wall centerline a2 of the second wall B, so the first wall A and the second wall B do not need to be interrupted.

[0067] In some specific embodiments of the present application, the interruption process includes a cross-shaped interruption process, and the cross-shaped interruption process includes:

[0068] The first side edge line and the second side edge line of the first wall are obtained, and the third side edge line and the fourth side edge line of the second wall are obtained.

[0069] The first side edge line and the second side edge line are two side edges of the first wall, respectively. Figure 6a The first side line may be b1, and the second side line may be c1; the third side line and the fourth side line are two side lines of the second wall respectively, the third side line may be b2, and the fourth side line may be c2.

[0070] The intersection states of the first side line, the second side line, the third side line and the fourth side line are determined.

[0071] Optionally, the type of interruption between the first wall and the second wall can be determined by determining the intersection state of the four side lines. Figure 6a , the first wall is wall A, the second wall is wall B, the center line of the first wall is a1, the center line of the second wall is a2, the first side line can be b1, the second side line can be c1, the third side line can be b2, and the fourth side line can be c2, then the judgment results include but are not limited to: Figure 6a As shown, the four side lines b1, c1, b2, and c2 intersect each other.

[0072] If the first side line, the second side line, the third side line and the fourth side line intersect each other, then the cross intersection point of the first wall center line and the second wall center line is obtained.

[0073] The cross intersection point may be an intersection point formed when the first wall center line and the second wall center line intersect. Figure 6a As shown, the four side lines b1, c1, b2, and c2 intersect each other, so it can be confirmed that the interruption type of the first wall and the second wall is a cross interruption, and then the intersection point f of the center line a1 of the first wall and the center line a2 of the second wall is obtained as the cross intersection point.

[0074] The first wall and the second wall are interrupted in a cross shape according to the cross intersection point.

[0075] In some specific embodiments, Figure 6a As shown, if the interruption type is a cross interruption, the first wall A and the second wall B can be interrupted according to the cross intersection point f. At this time, the first wall A is the main wall, and the second wall B is the interrupted wall. After the first wall A is used to interrupt the second wall B, the following is obtained: Figure 6b Shown are wall Aa, wall Ab (wall Aa and wall Ab are connected), and wall Ba and wall Bb.

[0076] In some specific embodiments, in order to reduce the generation of broken walls, it can be determined whether the distance between the center line of the two walls and the intersecting end is less than a preset thickness (optionally, the preset thickness can be 0.5 times the thickness of the interrupted wall + 0.5 times the thickness of the main wall) to check whether broken walls will be generated. If the judgment result is less than, broken walls may be generated. In this case, no interruption process is performed, but the two walls are converted to an edge-connected state. In other embodiments, if a wall is interrupted by multiple walls, it can be determined whether the distance between the interruption points is less than the preset thickness. When it is less than the preset thickness, broken walls may be generated, and no interruption process is performed, but the two walls are converted to an edge-connected state.

[0077] In some specific embodiments of the present application, the interruption process further includes a T-shaped interruption process, and the T-shaped interruption process includes:

[0078] If only any three lines among the first side line, the second side line, the third side line, and the fourth side line intersect each other and form at least one intersection point, and the remaining line does not intersect with any of the three lines, then the intersection point is obtained as the T-shaped intersection point.

[0079] The T-shaped intersection point may be an intersection point formed when three side lines, namely, the first side line, the second side line, the third side line, and the fourth side line, intersect. Optionally, there is at least one T-shaped intersection point. Figure 7a As shown, b1 intersects with b2 and c2, but none of the three intersects with c1. It can be confirmed that the interruption type of the first wall and the second wall is a T-shaped interruption, and the intersection points g and h of b1, b2, and c2 are obtained as cross intersection points.

[0080] The first wall and the second wall are interrupted in a T shape according to the T-shaped intersection point.

[0081] In some specific embodiments, Figure 7bAs shown, if the interruption type is T-shaped interruption, the first wall can be T-shaped interrupted according to the line segment formed by connecting the T-shaped intersection points g and h. At this time, the first wall A is the interrupted wall, and the second wall B is the main wall. After the first wall A is interrupted by the second wall B, the following is obtained: Figure 7b Shown are wall Aa, wall Ab (wall Aa and wall Ab are connected), and wall B.

[0082] See also Figure 8 , Figure 8 : is a schematic block diagram of a wall treatment device provided in an embodiment of the present application. Corresponding to the above wall treatment method, the present application also provides a wall treatment device. The wall treatment device includes a unit for executing the above wall treatment method, and the wall treatment device can be configured in a desktop computer, a tablet computer, a laptop computer, and other terminals. Specifically, the wall treatment device includes a first acquisition unit, a first judgment unit, a second judgment unit, a calculation unit, and a processing unit.

[0083] A first acquisition unit 700 is used to acquire a connection relationship between a first wall and a second wall;

[0084] A first judgment unit 710 is used to determine the intersection state of the first wall and the second wall according to the connection relationship, and if the first wall and the second wall intersect, obtain a first wall center line of the first wall and a second wall center line of the second wall;

[0085] A second judgment unit is used to determine the parallel relationship between the first wall and the second wall according to the center line of the first wall and the center line of the second wall, and if the first wall and the second wall are not parallel, obtain a first wall structure of the first wall and a second wall structure of the second wall;

[0086] A calculation unit 720, configured to calculate a wall distance according to the first wall structure and the second wall structure;

[0087] The processing unit 730 is used to perform interruption processing on the first wall and the second wall based on the wall distance and a preset tolerance.

[0088] like Fig. 9 As shown, the embodiment of the present application provides a computer device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0089] Memory 113, used for storing computer programs;

[0090] In one embodiment of the present application, the processor 111 is used to execute the program stored in the memory 113 to implement the control method of wall processing provided by any of the above method embodiments, including:

[0091] Acquire a connection relationship between a first wall and a second wall;

[0092] Determine the intersection state of the first wall and the second wall according to the connection relationship, and if the first wall and the second wall intersect, obtain a first wall centerline of the first wall and a second wall centerline of the second wall;

[0093] Determine the parallel relationship between the first wall and the second wall according to the center line of the first wall and the center line of the second wall, and if the first wall and the second wall are not parallel, obtain the first wall structure of the first wall and the second wall structure of the second wall;

[0094] Calculating a wall distance based on the first wall structure and the second wall structure;

[0095] The first wall and the second wall are interrupted based on the wall distance and a preset tolerance.

[0096] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0097] Therefore, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the wall processing method provided in any of the aforementioned method embodiments are implemented.

[0098] The storage medium is a physical, non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which can store program codes. The computer-readable storage medium can be non-volatile or volatile.

[0099] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0100] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0101] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present application can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.

[0103] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0104] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0105] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A wall treatment method, characterized in that: The method comprises: Acquire a connection relationship between a first wall and a second wall; Determine the intersection state of the first wall and the second wall according to the connection relationship, and if the first wall and the second wall intersect, obtain a first wall centerline of the first wall and a second wall centerline of the second wall; Determine the parallel relationship between the first wall and the second wall according to the center line of the first wall and the center line of the second wall, and if the first wall and the second wall are not parallel, obtain a first wall structure of the first wall and a second wall structure of the second wall; Calculating a wall distance according to the first wall structure and the second wall structure; The first wall and the second wall are interrupted based on the wall distance and a preset tolerance.

2. The method according to claim 1, characterized in that: The interrupting process of the first wall and the second wall based on the wall distance and a preset tolerance includes: Determining whether the wall distance is less than the preset tolerance; If the wall distance is less than the preset tolerance, obtaining a first side edge line of the first wall and a second side edge line of the second wall; The first wall and the second wall are interrupted according to the intersection state of the first side line and the second side line.

3. The method according to claim 1, characterized in that: The first wall structure includes: a first straight wall structure and a first curved wall structure; the second wall structure includes: a second straight wall structure and a second curved wall structure; before calculating the wall distance according to the first wall structure and the second wall structure, it also includes: Determining whether the first wall structure is the first curved wall structure and whether the second wall structure is the second curved wall structure; If the first wall structure is the first curved wall structure; or, If the second wall structure is the second curved wall structure, the process proceeds to the step of calculating the wall distance according to the first wall structure and the second wall structure.

4. The method according to claim 1, characterized in that: After determining the parallel relationship between the first wall and the second wall according to the first wall center line and the second wall center line, the method further includes: If the first wall and the second wall are parallel, obtaining a wall centerline projection of the first wall centerline on the second wall centerline; Determine whether the wall centerline projection meets the preset interruption condition; If the wall centerline projection meets the preset interruption condition, an interruption operation is performed on the first wall and the second wall.

5. The method according to claim 4, characterized in that The method further comprises: If the wall centerline projection does not meet the preset interruption condition, the first wall and the second wall are not interrupted.

6. The method according to claim 1, characterized in that The interruption process includes a cross interruption process, and the cross interruption process includes: Acquire a first side edge line and a second side edge line of the first wall, and acquire a third side edge line and a fourth side edge line of the second wall; Determining the intersection state of the first side line, the second side line, the third side line and the fourth side line; If the first side line, the second side line, the third side line and the fourth side line intersect each other, then obtain the cross intersection point of the first wall center line and the second wall center line; The first wall and the second wall are interrupted in a cross shape according to the cross intersection point.

7. The method according to claim 6, characterized in that The interruption process further includes a T-shaped interruption process, and the T-shaped interruption process includes: If only any three of the first side line, the second side line, the third side line, and the fourth side line intersect each other and form at least one intersection point, and the remaining one does not intersect any of the three, then the intersection point is obtained as the T-shaped intersection point; The first wall and the second wall are interrupted in a T shape according to the T-shaped intersection point.

8. A wall treatment device, characterized in that: include: A first acquiring unit, used to acquire a connection relationship between the first wall and the second wall; a first judgment unit, configured to determine an intersection state of the first wall and the second wall according to the connection relationship, and if the first wall and the second wall intersect, obtain a first wall center line of the first wall and a second wall center line of the second wall; a second judgment unit, configured to determine the parallel relationship between the first wall and the second wall according to the center line of the first wall and the center line of the second wall, and if the first wall and the second wall are not parallel, obtain a first wall structure of the first wall and a second wall structure of the second wall; a calculation unit, configured to calculate a wall distance according to the first wall structure and the second wall structure; A processing unit is used to interrupt the first wall and the second wall based on the wall distance and a preset tolerance.

9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.