A method for automatic dimensioning of building planes centered on rooms

By projecting the relevant components in the design drawings onto the room outline and sorting them, automatic labeling of building plane dimensions is realized, solving the problems of time-consuming and labor-intensive manual labeling and easy omissions in the existing technology, and improving efficiency and accuracy.

CN113486425BActive Publication Date: 2024-09-13欧鹏
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110763645.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-06
Publication Date
2024-09-13
Estimated Expiration
2041-07-06

AI Technical Summary

Technical Problem

Existing design software lacks automation in the dimensioning of building planes, causing designers to manually mark segment by segment and point by point, which consumes a lot of labor and is prone to omissions.

Method used

Using a room-centered method, the relevant door and window components in the design drawings are projected onto the room outline, the projection points are recorded, and sorted along the direction of the room outline to form a point pair list to achieve automatic dimensioning.

Benefits of technology

Automatic dimensioning of building walls, doors and windows is realized, saving a lot of labor costs and reducing error rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113486425B
    Figure CN113486425B
Patent Text Reader

Abstract

A method for automatically marking the dimensions of a building plane centered on a room, recording the two end points of the projected line segment obtained by projecting the door and window components related to each room in the design drawing onto the room outline into a point list; recording the corner points of the room outline into a point list; sorting the points in the point list along the direction of the room outline; forming a point pair list with two consecutive points in the sorted point list, and the last point and the first point forming a point pair; and marking the dimensions of each group of point pairs according to the direction of the room outline. This solution projects the relevant door and window components in a room in the design drawing onto the wall of the room, i.e., the room outline, and then marks the dimensions on the wall. The automatic marking tool formed by this method realizes the automatic dimensioning of the wall and door and window components, saving a lot of labor costs, and having a lower error rate than manual marking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of architectural design, and in particular to a method for automatically marking architectural plane dimensions centered on a room. Background Art

[0002] Designers use computer-aided design software such as AutoCAD and Revit or online design platforms (hereinafter referred to as design software) to draw architectural planes. After the elements of the architectural plane, such as walls, doors, and windows, are determined, the dimensions of the walls, openings, and other room objects and other information must be annotated. Dimensioning is the main part of the annotation work. Designers generally use the dimensioning and annotation of the design software to annotate the elements segment by segment and point by point.

[0003] Existing design software provides point-to-point dimensioning. After the designer determines two points, they drag a certain distance to form the dimensioning. Each building has different shapes, internal divisions, and connections. Designers can only manually mark the drawings based on their personal understanding to express the positioning of walls, doors and windows, and room information. This marking process has no fixed pattern, which not only consumes a lot of manpower, but also inevitably leads to omissions. Summary of the invention

[0004] The purpose of the present invention is to provide a method for automatically marking the dimensions of a building plane centered on a room, projecting the relevant door and window components in a room in a design drawing onto the room outline of the room, introducing the corner points of the room outline itself, and then marking the dimensions of these points. This method can form an automatic marking tool to achieve automatic dimensioning of building walls, door and window components, thereby solving the above-mentioned problem.

[0005] The technical solution adopted by the present invention is as follows:

[0006] A method for automatically marking the dimensions of a building plane centered on a room comprises the following steps:

[0007] Step S1: Project the door and window components of each room in the design drawing onto the room outline to obtain the two end points of the projected line segment and record them in the point list List <points>;

[0008] Step S2: Record the corner points of the room outline into the point list List <points>;

[0009] Step S3: List the points along the direction of the room contour <points>Sort the points in ;

[0010] Step S4: List the sorted points <points>Points in the list, two consecutive points form a point pair, and the last point and the first point form a point pair to form a point pair list List <pointspair>;

[0011] Step S5: Mark the dimensions of each point pair according to the direction of the room outline.

[0012] In order to better implement this solution, further, the specific method of obtaining the projection line segment in step S1 is: projecting the endpoints of the objectified door and window components with recorded endpoints onto the room contour line to obtain projection points, and recording the projection points of the objectified door and window components into the point list List <points>; Project the scattered door and window components without recorded endpoints onto the room outline, and record the endpoints of the projected line segments of the scattered door and window components into the point list List <points>.

[0013] In order to better implement this solution, further, the specific method of projecting scattered door and window components without recorded endpoints onto the room outline is: use the boundingBox module of the design software to establish a rectangular frame or a cuboid frame for the discrete door and window components, and then project the established rectangular frame or cuboid frame onto the room outline.

[0014] In order to better implement this solution, further, the specific method of obtaining the projection line segment in step S1 is: projecting the endpoints of the objectified door and window components with recorded endpoints onto the room contour line, and recording the projection points of the objectified door and window components into the point list List <points>; For scattered door and window components without recorded endpoints, create a minimum rectangular frame that wraps the scattered door and window components with the line segment of the room outline where the scattered door and window components are located as the X-axis, and record the projection point of the minimum rectangular frame of each scattered door and window component on the room outline into the point list List <points>.

[0015] In order to better implement this solution, further, the method of creating the minimum rectangular frame is specifically as follows: find the specific line segment of the room outline where the scattered door and window components are located, establish the X-axis with the vector represented by the line segment, take any point on the line segment of the room outline where the scattered door and window components are located as the origin, and take the vector after the X-axis is rotated 90 degrees counterclockwise around the world coordinate Z axis as the Y-axis to establish a local rectangular coordinate system;

[0016] Mapping the graphics of scattered door and window components to the local rectangular coordinate system obtains the minimum and maximum extreme values ​​of the X axis and the minimum and maximum extreme values ​​of the Y axis;

[0017] In the local coordinate system, two straight lines parallel to the Y axis of the local coordinate system are determined by the two extreme values ​​of the X axis, and two straight lines parallel to the X axis of the local working coordinate system are determined by the two extreme values ​​of the Y axis;

[0018] A minimum rectangular frame that encloses the scattered door and window components based on a local working coordinate system is determined by the determined four straight lines.

[0019] In order to better implement this solution, further, step S3 is specifically: along the path and direction of the room contour line, the point list List <points>The points in are sorted in ascending order according to their distance to the starting point of the room outline.

[0020] In order to better implement the present solution, further, the distance to the starting point of the room outline is: the distance that the point moves along the room outline from the starting point of the room outline to the point.

[0021] In order to better implement the present solution, further, step S5 is specifically as follows: if the room outline is counterclockwise, then the dimension is marked on the left side of the line segment formed by the marked point pairs; if the room outline is clockwise, then the dimension is marked on the right side of the line segment formed by the marked point pairs, and the dimension line is established on the inside of the room.

[0022] This method is based on an important understanding and fact, that is, all indoor walls are located in the room, all doors and windows are located on the wall, and the size information of all walls and door and window components of the room can be calibrated along the edges of the room's contour, taking the room as a unit. Therefore, in the preliminary preparation of this solution, when we draw the design drawings, we need to select each door and window component related to the room in the design drawings and assign it to a room. Here, the commonly used classification method in the prior art can be used to set each room as a set, and each door and window component is assigned to a room set. It is also possible to use the room contour line and the graphics of the wall, door and window components for intersection judgment to determine whether the door and window component belongs to the room.

[0023] The door and window components mentioned here refer to all components that are attached to the wall, such as doors, windows, door openings, window openings, etc. Some furniture placed against the wall can also be included when necessary, such as beds, toilets, televisions, etc. When it is necessary to mark the dimensions of these furniture on the wall, these furniture can also be included in the door and window components.

[0024] In this solution, the room outline is a closed polyline drawn manually or automatically using design software in the previous work, and the sub-segments in the polyline correspond to the edge lines of each wall segment of the room. For example, in the prior art, the room outline is automatically formed by drawing the wall. As a closed polyline, the room outline has a direction, which may be counterclockwise or clockwise.

[0025] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0026] 1. The method of automatic dimensioning of a building plane centered on a room described in the present invention projects the relevant door and window components in a room in a design drawing onto the room outline of the room, and then dimensions are dimensioned on the wall. The automatic dimensioning tool formed by the method realizes automatic dimensioning of the wall and door and window components;

[0027] 2. The method of automatic dimensioning of a room-centered building plane described in the present invention projects the relevant door and window components in a room in the design drawing onto the room outline of the room, and then performs dimensioning on the wall. The automatic dimensioning tool formed by this method can realize automatic dimensioning of walls and door and window components, saving a lot of manpower costs and having a lower error rate than manual dimensioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solution, the following briefly introduces the drawings required for use in the embodiments. It should be understood that for ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work, among which:

[0029] Figure 1 It is an example diagram of the design drawing of the present invention;

[0030] Figure 2 It is a schematic diagram of the projection of objectified door and window components in an example room in the example diagram of the design drawing of the present invention;

[0031] Figure 3 It is a schematic diagram of a minimum cuboid created by scattered door and window components in an example room of the present invention;

[0032] Figure 4 is a schematic diagram of projecting door and window components related to an example room of the present invention onto the outline of the room;

[0033] Figure 5 is a schematic diagram of a corner point joining point list of an example room of the present invention;

[0034] Figure 6 is a schematic diagram of the present invention after sorting the point list of an example room;

[0035] Figure 7 is a schematic diagram of an example room point pair of the present invention after dimensioning;

[0036] Figure 8 It is a schematic diagram of an example room of the present invention and its surrounding rooms after dimensioning. DETAILED DESCRIPTION

[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be understood that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and therefore should not be regarded as limiting the scope of protection. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in this field without making creative work are within the scope of protection of the present invention.

[0038] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "related", "recorded", and "belonging" should be understood in a broad sense. For example, "related" may mean that the geometric figure of the door and window components intersects with the outline of the room, or that the door and window components are located on the wall that serves as the boundary of the room, or that they logically belong to the room. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0039] Combine the following Figures 1 to 8 The present invention is described in detail.

[0040] Embodiment 1:

[0041] A method for automatically marking the dimensions of a building plane centered on a room comprises the following steps:

[0042] Step S1: Project the door and window components of each room in the design drawing onto the room outline to obtain the two end points of the projected line segment and record them in the point list List <points>,like Figures 2 to 4 ;

[0043] Step S2: Record the corner points of the room outline into the point list List <points>,like Figure 5 ;

[0044] Step S3: List the points along the direction of the room contour <points>The order of points in Figure 6 , get the sorted point set in the example room (P 0 , P 1 , P 2 ,…,P 23 );

[0045] Step S4: List the sorted points <points>Points in the list, two consecutive points form a point pair, and the last point and the first point form a point pair to form a point pair list List <pointspair>,like Figure 6 The point pair list obtained for the example room shown is [(P 0 , P 1 ), (P 1 , P 2 ), (P 2 , P 3 ),…,(P 22 , P 23 ), (P 23 , P 0 )];

[0046] Step S5: Dimension each set of point pairs according to the direction of the room outline, such as Figure 7 and Figure 8 .

[0047] Working principle: This method is based on an important understanding and fact, that is, the door and window components of all indoor parts always appear in or belong to a certain room. Taking the room as a unit, the size information of all walls and door and window components of the room can be calibrated along the edges of the room's contour. Therefore, in the pre-preparation of this scheme, when we draw the design drawings, we need to select each door and window component related to the room in the design drawings and attribute it to a room. Here, we can use the common classification method in the prior art to set each room as a set and attribute each door and window component to a set of rooms. It is also possible to use the room contour line and the graphics of the wall and door and window components to make an intersection judgment to determine whether the door and window components belong to the room. The door and window components we mentioned here refer to all components that exist on the wall, such as doors, windows, door openings, window openings, etc. Some furniture set against the wall can also be included when necessary, such as beds, toilets, TVs, etc. When these furniture need to be dimensioned on the wall, these furniture can also be included in the door and window components.

[0048] In this solution, the room outline is a closed polyline drawn manually or automatically using design software in the previous work, and the sub-segments in the polyline correspond to the edge lines of each wall segment of the room. For example, in the prior art, the room outline is automatically formed by drawing the wall. As a closed polyline, the room outline has a direction, which may be counterclockwise or clockwise.

[0049] Embodiment 2:

[0050] Based on Example 1, in order to better implement this solution, the specific method of obtaining the projection line segment in step S1 is as follows: projecting the objectified door and window components with recorded endpoints onto the room contour line, and recording the projection points of the door and window components into the point list List <points>; For scattered door and window components without recorded endpoints, create a minimum rectangular frame that wraps the scattered door and window components with the line segment of the wall contour line where the scattered door and window components are located as the X-axis, and record the projection point of the minimum rectangular frame of each scattered door and window component on the room contour line into the point list List <points>The specific method of projecting the scattered door and window components without recorded endpoints onto the room outline is: using the boundingBox module of the design software, establishing a rectangular frame or a cuboid frame for the discrete door and window components, and then projecting the established rectangular frame or cuboid frame onto the room outline.

[0051] Here we calculate the projection points of the door and window components with endpoints recorded and those without endpoints recorded. For objectified door and window components with endpoints, since we know the endpoints of the objectified door and window components, we only need to project the endpoints of the objectified door and window components onto the room outline to get the projection points of the objectified door and window components. For scattered door and window components without endpoints recorded, we need to construct the minimum rectangular frame that wraps this object.

[0052] The method for creating the minimum rectangular frame is specifically to find the specific line segment of the room outline where the scattered door and window components are located, establish the X-axis with the vector represented by the line segment, take any point on the line segment of the room outline where the scattered door and window components are located as the origin, and take the vector after the X-axis is rotated 90 degrees counterclockwise around the world coordinate Z axis as the Y-axis to establish a local rectangular coordinate system;

[0053] Mapping the graphics of scattered door and window components to the local rectangular coordinate system obtains the minimum and maximum extreme values ​​of the X axis and the minimum and maximum extreme values ​​of the Y axis;

[0054] In the local coordinate system, two straight lines parallel to the Y axis of the local coordinate system are determined by the two extreme values ​​of the X axis, and two straight lines parallel to the X axis of the local working coordinate system are determined by the two extreme values ​​of the Y axis;

[0055] A minimum rectangular frame that encloses the scattered door and window components based on a local working coordinate system is determined by the determined four straight lines.

[0056] The step S3 is specifically as follows: along the path and direction of the room contour line, the point list List <points>The points in the room are sorted in ascending order according to the distance to the starting point of the room contour line. The distance to the starting point of the room contour line is: the distance along the room contour line from the starting point of the room contour line to the point. The distance to the starting point of the room contour line is: the distance along the room contour line from the starting point of the room contour line to the point. 0 The distance to this point, Figure 6 Midpoint P 10 To the starting point P 0 The distance is D P0P1 +D P1P6 +D P6P7 +D P7P10 , where D P0P1 For line segment P 0 P 1 Length, D P1P6 For line segment P 1 P 6 The length, D P6P7 For line segment P 6 P 7 Length, D P7P10 For line segment P 7 P 10 Length.

[0057] Specifically, step S5 is as follows: if the room outline is in the counterclockwise direction, the dimension is marked on the left side of the line segment formed by the marked point pair; if the room outline is in the clockwise direction, the dimension is marked on the right side of the line segment formed by the marked point pair, and the dimension line is established on the inside of the room. Figure 7 , Figure 7 The direction of the room outline of the example room is counterclockwise, so the dimension is marked on the left side of the line segment formed by the marked point pair, so that all dimension lines of the room are built inside the room. This setting ensures that all dimensions of the room are marked inside the room, and the dimensions of adjacent rooms will not affect each other.

[0058] The other parts of this embodiment are the same as those of the above-mentioned embodiment 1, and thus will not be described in detail.

[0059] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.< / points> < / points> < / points> < / pointspair> < / points> < / points> < / points> < / points> < / points> < / points> < / points> < / points> < / points> < / pointspair> < / points> < / points> < / points> < / points>

Claims

1. A method for automatically marking the dimensions of a building plane centered on a room, characterized in that: The following steps are involved: Step S1: Project the door and window components of each room in the design drawing onto the room outline to obtain the two end points of the projected line segment and record them in the point list List <points> ;< / points> Step S2: Record the corner points of the room outline into the point list List <points> ;< / points> Step S3: List the points along the direction of the room contour <points> Sort the points in ;< / points> Step S4: List the sorted points <points>Points in the list, two consecutive points form a point pair, and the last point and the first point form a point pair to form a point pair list List <pointspair> ;< / pointspair> < / points> Step S5: Mark the dimensions of each point pair according to the direction of the room outline.

2. The method for automatically marking the dimensions of a room-centered building plane according to claim 1, characterized in that: The specific method of obtaining the projection line segment in step S1 is: projecting the endpoints of the objectified door and window components with recorded endpoints onto the room contour line to obtain projection points, and recording the projection points of the objectified door and window components into the point list List <points>; Project the scattered door and window components without recorded endpoints onto the room outline, and record the endpoints of the projected line segments of the scattered door and window components into the point list List <points> 。< / points> < / points> 3. The method for automatically marking the dimensions of a room-centered building plane according to claim 2, characterized in that: The specific method for projecting scattered door and window components without recorded endpoints onto the room outline is: using the boundingBox module of the design software, establishing a rectangular frame or a cuboid frame for the discrete door and window components, and then projecting the established rectangular frame or cuboid frame onto the room outline.

4. The method for automatically marking the dimensions of a room-centered building plane according to claim 1, characterized in that: The specific method of obtaining the projection line segment in step S1 is: projecting the endpoints of the objectified door and window components with recorded endpoints onto the room contour line, and recording the projection points of the objectified door and window components into the point list List <points>; For scattered door and window components without recorded endpoints, create a minimum rectangular frame that wraps the scattered door and window components with the line segment of the room outline where the scattered door and window components are located as the X-axis, and record the projection point of the minimum rectangular frame of each scattered door and window component on the room outline into the point list List <points> 。< / points> < / points> 5. The method for automatically marking the dimensions of a building plane centered on a room according to claim 4, characterized in that: The method for creating the minimum rectangular frame is specifically to find the specific line segment of the room outline where the scattered door and window components are located, establish the X-axis with the vector represented by the line segment, take any point on the line segment of the room outline where the scattered door and window components are located as the origin, and take the vector after the X-axis is rotated 90 degrees counterclockwise around the world coordinate Z axis as the Y-axis to establish a local rectangular coordinate system; Mapping the graphics of scattered door and window components to the local rectangular coordinate system obtains the minimum and maximum extreme values ​​of the X axis and the minimum and maximum extreme values ​​of the Y axis; In the local coordinate system, two straight lines parallel to the Y axis of the local coordinate system are determined by the two extreme values ​​of the X axis, and two straight lines parallel to the X axis of the local working coordinate system are determined by the two extreme values ​​of the Y axis; A minimum rectangular frame that wraps the scattered door and window components based on a local working coordinate system is determined by the determined four straight lines.

6. The method for automatically marking the dimensions of a building plane centered on a room according to claim 1, characterized in that: The step S3 is specifically as follows: along the path and direction of the room contour line, the point list List <points> The points in are sorted in ascending order according to their distance to the starting point of the room outline.< / points> 7. The method for automatically marking the dimensions of a building plane centered on a room according to claim 6, characterized in that: The distance to the starting point of the room outline is: the distance the point moves along the room outline from the starting point of the room outline to the point.

8. The method for automatically marking the dimensions of a building plane centered on a room according to claim 1, characterized in that: Specifically, step S5 is as follows: if the room outline is counterclockwise, the dimension is marked on the left side of the line segment formed by the marked point pairs; if the room outline is clockwise, the dimension is marked on the right side of the line segment formed by the marked point pairs, and the dimension line is established on the inside of the room.