A Parametric-Based Intelligent Design Optimization Method and System for Construction Drawings
By identifying the geometric boundaries of building components and the annotation information on the drawings, and adjusting the direction of the edge lines and the contact range, the problem of chaotic component connection logic in construction drawing design is solved, and efficient and accurate generation of construction drawings is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SICHUAN NEW DIPING ARCHITECTURAL DESIGN CONSULTING CO LTD
- Filing Date
- 2025-11-18
- Publication Date
- 2026-06-30
Smart Images

Figure CN121659407B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of parametric modeling technology, and in particular to a method and system for intelligent design optimization of construction drawings based on parametric modeling. Background Technology
[0002] Parametric modeling technology involves techniques for constructing and managing geometric models using parameter-driven methods. Core aspects include parametric rule definition, model construction logic, automated graphic generation, and dynamic adjustment mechanisms. This technology is widely used in various engineering design scenarios such as architectural design, mechanical design, and product modeling. By controlling the form and structure of the model through preset parameters and rules, it achieves rapid modeling, change response, and scheme optimization, exhibiting high flexibility and scalability. The development of this field relies on the continuous advancement of computer-aided design software, geometric modeling algorithms, and model data structures. Its essence lies in establishing a parameter constraint system to achieve the correlation control and linked deformation between graphic elements. Traditional construction drawing design refers to the process in which designers manually draw construction drawings of building structures, water, electricity, and heating systems based on design intent and specification requirements, using computer-aided design tools. The methods typically involve inputting component dimensions, arranging positioning lines, setting layers, and inserting component symbols through 2D drawing commands to gradually complete the drawing content. Although this process relies on CAD software for graphic drawing, the lack of parameter correlation between the constituent elements of the drawing leads to repetitive operations for drawing modifications, easily causing data errors and omissions, and resulting in low efficiency. To address the aforementioned issues, the relevant patents optimize construction drawing design based on a parameter-driven mechanism. The core of this approach is to introduce parameters to express the geometric features and positioning relationships of components, and to automatically generate construction drawing content through rule-based logic, thereby reducing manual operations and repetitive drawing processes.
[0003] When drawing component primitives step by step based on graphical commands, existing technologies lack the ability to deeply identify the geometric relationships between components. In scenarios where components have different orientations or fitting requirements, it is difficult to accurately handle the consistency of edge arrangement and connection direction. The component numbering order is disconnected from the graphic generation order, which can easily lead to confusion in the component connection logic. Especially when drawing across pages, due to the unclear page positioning method, component blocks are prone to problems such as splicing misalignment and boundary loss. At the same time, the lack of a sequential guidance mechanism between components makes it impossible to efficiently support the combination reasoning of components and the continuous layout of drawings, resulting in a lack of system support for global coordination and spatial organization in the drawing generation process. Summary of the Invention
[0004] To achieve the above objectives, the present invention adopts the following technical solution: a parameterized intelligent design optimization method for construction drawings, comprising the following steps:
[0005] S1: Extract the geometric boundaries and drawing annotation information of building components, determine the orientation and fitting relationship of components by the direction of boundary overlap, identify the upper and lower belonging structures based on the number prefix, and generate the spatial organization and classification results of components by combining the closed position and the subordinate number;
[0006] S2: Based on the component spatial organization and classification results, analyze the deviation between the edge endpoint coordinates and the target direction, adjust the edge order and offset the contact line position, calculate the actual space occupation of the edge, and obtain the component edge spatial mapping and positioning results.
[0007] S3: Based on the spatial mapping and positioning results of the component edges, analyze the position of the first occurrence of the component intersection, determine the relationship of the preceding nodes, and generate the drawing order of the components in combination with the boundary line coverage.
[0008] S4: Extract the drawing order of the components, analyze the contact range through the distribution of intersection points, filter the fitting segments according to the continuity of line segments, and evaluate the connection strength through the connection angle and the number of intersection points to form the edge contact combination division result;
[0009] S5: Based on the edge contact combination division results, extract the starting coordinates and arrangement direction of the components, determine whether they are close to the edge of the drawing, combine the page number and the path extension direction to determine the page number distribution, and generate the parameterized construction drawing optimization results.
[0010] As a further aspect of the present invention, the component spatial organization and classification results include the component orientation identification results, fitting position relationships, and upper and lower classification types; the component edge spatial mapping and positioning results include edge direction correction parameters, contact line offset, and connection segment occupancy intervals; the component drawing order includes component number sorting, intersection point priority determination, and preceding node relationships; the edge contact combination division results include contact range boundaries, fitting segment sets, and connection strength levels; and the parametric construction drawing optimization results include drawing page number distribution, block component aggregation methods, and cross-page drawing strategies.
[0011] As a further aspect of the present invention, the filtering of fitting segments based on line segment continuity refers to identifying a sequence of line segments that are closely fitted between components by judging the continuity of adjacent line segments in direction and position.
[0012] As a further aspect of the present invention, the connection strength refers to the assessment of the tightness and stability of the edge connection between components based on the angle change of the connecting line segments and the number of intersections.
[0013] As a further aspect of the present invention, the specific steps of S1 are as follows:
[0014] S101: Obtain the geometric boundary lines and drawing annotation information of building components, extract the connection vectors based on the geometric coordinate sequence of the boundary line segments, determine the angle direction and extension relationship between adjacent line segments, filter the combination of line segments with the same direction, and generate the component orientation vector set;
[0015] S102: Call the component orientation vector set, extract the number prefix according to the component number in the drawing and determine the nesting structure. If there is a prefix nesting relationship, record the number belonging correspondence and generate a component belonging number mapping table.
[0016] S103: Call the component attribution number mapping table and boundary line data, retrieve the boundary line coordinate range between the attribution components, calculate the overlap rate, and compare it with the sequence number of the subordinate number. If the conditions of continuous overlap and adjacent sequence number are met, the component spatial organization classification result is generated.
[0017] As a further aspect of the present invention, the specific steps of S2 are as follows:
[0018] S201: Call the component spatial organization and classification results, extract the endpoint coordinates of the current contour edge of the component, and calculate the angle between the two according to the unit vector sequence of the target spatial direction. Determine whether the angle exceeds the direction difference threshold. If it does, rearrange the sequence of edge endpoint coordinates to generate the edge direction correction coordinate group.
[0019] S202: Call the edge direction correction coordinate group, combine the number sequence of the fitting relationship between the component and the adjacent component, adjust the start and end coordinates corresponding to the original contact line, determine the offset direction according to the fitting sequence number in the component number, and calculate the coordinate span between the start and end points after offset to obtain the connection segment occupancy interval value.
[0020] S203: Call the connection segment occupancy interval value and the edge direction correction coordinate group to perform positioning processing on each edge, record the start and end positions and direction attributes of the edge in the drawing coordinate system, construct the positioning index matrix of the component edge in the drawing space, and obtain the spatial mapping positioning result of the component edge.
[0021] As a further aspect of the present invention, the specific steps of S3 are as follows:
[0022] S301: Call the spatial mapping and positioning result of the component edge line, read the arrangement sequence of the component annotation number, and detect the first appearance position of the component edge line intersection point in the drawing. Based on the coordinate index of the intersection point and the corresponding matching with the number sequence position, calculate the drawing index value of the first appearance of each component number and generate a component number appearance sequence matrix.
[0023] S302: Call the component number occurrence sequence matrix, and for the occurrence order of adjacent component numbers, count the frequency of the preceding component in the intersection. Determine the connection order between components by the difference between the frequency and the number order. If the frequency is higher than the set node threshold, generate the component preceding node set.
[0024] S303: Call the spatial mapping and positioning results of the component's preceding node set and component edge line, calculate the coverage ratio of the preceding node component boundary line segment and the component boundary line segment, and number and sort them according to the coverage ratio. Based on the coverage ratio distribution, establish a drawing order table of the component in the drawing to obtain the drawing order of the component.
[0025] As a further aspect of the present invention, the specific steps of S4 are as follows:
[0026] S401: Call the drawing order of the component, extract the component boundary line segment combination, and retrieve the serial number index of the component intersection point in the corresponding contour line coordinate group. By statistically analyzing the distribution position of the intersection point in the contour line segment sequence, calculate the ratio of the number of intersection points to the total number of points of the component contour, and generate an intersection point coverage ratio table.
[0027] S402: Call the intersection point coverage ratio table and, in conjunction with the continuity status of the contact segments in the boundary segment combination, extract the continuously distributed intersection point areas, filter out isolated points and discontinuous segments, and obtain a set of boundary fitting segments.
[0028] S403: Call the set of boundary fitting segments, determine the strength of the connection relationship between components based on the connection angle and the number of intersection points of the boundary line segments within the fitting segment, record the component combination pairs whose strength scores are greater than the set contact strength threshold, and establish the edge contact combination division result.
[0029] As a further aspect of the present invention, the specific steps of S5 are as follows:
[0030] S501: Call the edge contact combination division result, extract the drawing start coordinates and arrangement direction of the components in the continuous connected component group, compare the component start coordinates with the drawing edge coordinate boundary value, determine whether the component boundary is close to the drawing edge range, and generate a component boundary proximity status table.
[0031] S502: Call the component boundary proximity status table, extract the starting page index and extension angle according to the page number of the component's starting point and the component's direction vector, determine whether the direction crosses the drawing boundary range, and if the component path extends across the page edge, establish a cross-page position distribution mapping table.
[0032] S503: Call the cross-page position distribution mapping table, combine the starting coordinate spacing between component combination groups, calculate the spatial distance in the two-dimensional drawing coordinate system, and perform clustering and grouping according to whether the spacing is less than the set block aggregation threshold to obtain the parameterized construction drawing optimization results.
[0033] A parametric intelligent design optimization system for construction drawings includes:
[0034] The component classification and identification module is used to achieve S1: extract the geometric boundaries and drawing annotation information of building components, determine the orientation and fitting relationship of components by the direction of boundary overlap, identify the upper and lower belonging structures according to the number prefix, and generate the component spatial organization classification results by combining the closed position and the subordinate number;
[0035] The edge line mapping and positioning module is used to implement S2: based on the component spatial organization and classification results, analyze the deviation between the edge line endpoint coordinates and the target direction, adjust the edge line order and offset the contact line position, calculate the actual space occupancy of the edge line, and obtain the component edge line spatial mapping and positioning results.
[0036] The component drawing sequence module is used to implement S3: based on the spatial mapping and positioning results of the component edge lines, analyze the position of the first occurrence of the component intersection point, determine the relationship of the preceding nodes, and generate the drawing order of the components in combination with the boundary line coverage;
[0037] The edge contact analysis module is used to implement S4: extract the drawing order of the components, analyze the contact range through the distribution of intersection points, filter the fitting segments according to the continuity of line segments, and evaluate the connection strength through the connection angle and the number of intersection points to form the edge contact combination division result;
[0038] The construction drawing optimization module is used to achieve S5: based on the edge contact combination division results, extract the starting coordinates and arrangement direction of the components, determine whether they are close to the edge of the drawing, combine the page number and the path extension direction to determine the page number distribution, and generate parametric construction drawing optimization results.
[0039] Compared with the prior art, the advantages and positive effects of the present invention are as follows:
[0040] In this invention, the spatial ownership relationship of components is established through geometric boundaries and annotation information, the direction is adjusted according to the difference in the included angle of the edge lines, the connection strength is identified by combining the intersection angle and the contact range, the drawing order is derived according to the numbering order and the sequence of intersection points, the component combination is divided by the continuity of the fitting segment, and the page number distribution of the drawing is located based on the starting point of the component and the path direction. This achieves dynamic coordination of component arrangement, sequential organization and drawing splicing, thereby improving the accuracy of component structural expression and the completeness of construction drawing generation. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This is a schematic diagram of the steps of the present invention;
[0043] Figure 2 This is a detailed schematic diagram of S1 of the present invention;
[0044] Figure 3 This is a detailed schematic diagram of S2 of the present invention;
[0045] Figure 4 This is a detailed schematic diagram of S3 of the present invention;
[0046] Figure 5 This is a detailed schematic diagram of S4 of the present invention;
[0047] Figure 6 This is a detailed schematic diagram of S5 of the present invention;
[0048] Figure 7 This is a system module diagram of the present invention. Detailed Implementation
[0049] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0050] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.
[0051] In the embodiments of this invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, their intended meanings are consistent. Similarly, the terms "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction between them, their intended meanings are consistent.
[0052] In this embodiment of the invention, sometimes a subscript such as W1 may be written in a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.
[0053] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0054] Please see Figure 1 This invention provides a parameterized intelligent design optimization method for construction drawings, comprising the following steps:
[0055] S1: Obtain the geometric boundary lines and drawing annotation information of building components, extract the orientation, fitting position and vertical relationship of components in the drawings, determine the directional guidance between components by identifying the overlapping direction of adjacent component line segments, determine the vertical belonging type by the prefix structure of component annotation numbers, and analyze the fitting relationship by comparing the closing position of the boundary line with the attached number to obtain the spatial organization and classification results of components.
[0056] S2: Call the component spatial organization and classification results, extract the endpoint coordinates of the current contour edge of the component, compare them with the corresponding state of the target spatial direction, determine whether the component edge direction deviates from the preset orientation based on the angle difference between coordinate groups, adjust the edge arrangement direction by resetting the endpoint order, offset the original contact line position according to the bonding relationship and calculate the actual occupancy range of the connecting segment to obtain the component edge spatial mapping and positioning results.
[0057] S3: Call the spatial mapping and positioning results of component edges, read the order of component annotation numbers and the order of first appearance of component edge intersections in the drawing, compare the component intersection positions with the number order, determine whether they constitute a preceding node according to the frequency of the preceding component, and form the drawing order of components according to the boundary line coverage.
[0058] S4: Call the drawing order of the components, extract the combination of boundary line segments between the components, determine the contact range by calculating the distribution of the intersection point in the component outline, filter the boundary fitting segments based on the continuity of the contact line segments, determine the connection strength based on the boundary line connection angle and intersection point value, and generate the edge contact combination division result.
[0059] S5: Call the edge contact combination division results, extract the starting coordinates and arrangement direction of all components in the continuous connected component group, determine whether the boundary is close to the edge of the drawing, locate the page number distribution of the drawing by the page number of the component starting point and the extension direction of the component path, aggregate the components in the block and draw the cross-page boundary according to the position spacing between the combination groups, and generate the parametric construction drawing optimization results.
[0060] The component spatial organization and classification results include the component orientation identification results, fitting position relationship and upper and lower classification type; the component edge spatial mapping and positioning results include edge direction correction parameters, contact line offset and connection segment occupancy range; the component drawing order includes component number sorting, intersection point priority determination and predecessor node relationship; the edge contact combination division results include contact range boundary, fitting segment set and connection strength level; the parametric construction drawing optimization results include drawing page number distribution, block component aggregation method and cross-page drawing strategy.
[0061] Please see Figure 2 The specific steps of S1 are as follows:
[0062] S101: Obtain the geometric boundary lines and drawing annotation information of building components, extract the connection vectors based on the geometric coordinate sequence of the boundary line segments, determine the angle direction and extension relationship between adjacent line segments, filter the combination of line segments with the same direction, and generate the component orientation vector set;
[0063] To obtain the geometric boundary lines and drawing annotation information of building components, it is necessary to first import and recognize vector drawing formats such as DWG or DXF. Then, through element classification, line segment elements are extracted, and text, annotations, and dimension auxiliary elements are filtered out, retaining only valid geometric elements such as polygonal lines and polylines used to express the outer contour of the components. The start and end coordinates of each line segment are read one by one to form a set of boundary line segment coordinates. Then, according to the connection order of adjacent coordinate points of each line segment, the difference between the start and end coordinates of any pair of adjacent line segments is extracted to determine the change in orientation. The continuity of the line segment is assessed by comparing the angular changes between the direction vectors of adjacent line segments. During this process, the angle difference between any two vectors is used as a criterion. An angle difference less than a certain angular tolerance threshold is considered to indicate consistent orientation. This angular tolerance threshold should be set based on common structural deviations of building components, and it is recommended to set it within 15 degrees. For example, in reinforced concrete structures, drawing errors are often controlled within 5 degrees. Within a 10-degree range, 15 degrees is set as the upper limit for determining consistent direction. If the angle between two line segments is 12 degrees, they are determined to be consistent in direction and included in the same direction sequence. At the same time, the length ratio of adjacent line segments needs to be judged. If the length ratio of two adjacent line segments is between 0.75 and 1.33, they are determined to be similar in length and are retained in the continuity recognition. This length ratio range should be set in combination with the actual changes in the component size ratio to avoid recognition errors caused by line segments that are too short or too long. For example, if the lengths of a group of continuous wall edge line segments are 1.0 meters and 1.2 meters respectively, their length ratio is 1.2, which meets the set conditions and is ultimately retained in the same direction group. For line segment groups with consistent direction and matching length, the overall vector direction between the first and last segments is selected as the orientation vector of the component. If there are multiple line segment combinations with similar vector directions, their average vector direction is extracted as multiple possible orientation values and recorded under the component identifier, finally generating the component orientation vector set.
[0064] S102: Call the component orientation vector set, extract the number prefix according to the component number in the drawing and determine the nesting structure. If there is a prefix nesting relationship, record the number belonging correspondence and generate a component belonging number mapping table.
[0065] The component number text information is structured. All component numbers marked on the drawings are obtained, and the prefix structure is extracted using regular expression matching or string parsing. For example, the number "ZL05-01-03" is broken down into the main number "ZL05", the first-level number "01", and the second-level number "03". Nested number structures are expressed using "-" or other separators. After sequential segmentation, a component hierarchy number list is formed. Then, the prefix relationships are combined to determine whether nested affiliation exists. When determining affiliation, it can be confirmed by whether the number is contained in the prefix of another number and whether the number of hierarchical levels of the number structure increases progressively. For example, in the number "ZL05-01", "ZL05" is the superior affiliation number. "ZL05-01-03" belongs to the former. These correspondences are recorded sequentially to construct a component number attribution mapping table. When setting the attribution judgment rules, the minimum number length, separator structure, and number depth must be clearly defined. For example, the number depth should not exceed three levels to limit the number complexity. Each segment in the number should not be less than two characters. At the same time, non-standard number format data should be excluded. For example, the number "RB8" or "X1-" does not meet the hierarchical structure and should not be included in the attribution mapping relationship. After the number attribution relationship is established, the component instance data corresponding to each number should be established in combination with the orientation vector set. The number attribution relationship should be mapped and bound to the geometric identifier of the component to ensure that the spatial information and logical attribution of the component are consistent. Finally, the component attribution number mapping table is output.
[0066] S103: Call the component attribution number mapping table and boundary line data, retrieve the boundary line coordinate range between the attribution components, calculate the overlap rate, and compare it with the sequence number of the subordinate number. If the conditions of continuous overlap and adjacent sequence number are met, the component spatial organization classification result is generated.
[0067] Based on the mapping relationship, each group of components with a hierarchical relationship is retrieved. For each group of components, its boundary coordinate set in the drawing is located, and its minimum boundary rectangle outline is extracted. The overlap rate between components is calculated by dividing the area of the overlapping part of the boundary by the area of the overlapping part of component A and its parent component B. If the ratio is greater than a set threshold, they are considered to have a spatial hierarchical relationship. This overlap rate threshold should be set based on the proportion of the area of the attached area of a regular component, and it is usually recommended to set it to 75%. For example, the outer contour of component B02 overlaps with the area of component A01 by 0.9 square meters, while the total area of B02 is 1.1 square meters. Its overlap rate is 0.82, which meets the condition of being greater than 75%, and it is confirmed as a spatially subordinate component. Next, the numerical part of the last level number in the numbering is further analyzed, and the number digit is extracted to determine whether the component number has a spatial hierarchical relationship. The sequence number is considered to be continuous. For example, if the numerical parts of the numbers "A01", "A02", and "A03" are 1, 2, and 3 respectively, the difference between adjacent numbers is used to determine whether the absolute difference is 1. This difference threshold is set to 1 to ensure that the component groups are numbered consecutively. If the difference between numbers A02 and A03 is 1, they are considered adjacent numbers. In addition, the collinearity between their boundary contours needs to be checked. This is done by checking whether the start and end coordinates of their shared edge segments coincide and calculating the percentage of the length of the overlapping line segments. If the overlapping length accounts for more than 80% of the short line segment, it is considered to be a shared edge. For example, if a boundary line segment is 0.9 meters and the overlap with the boundary of another component is 0.78 meters, then its percentage is 0.78 ÷ 0.9 = 0.866, which exceeds 80% and meets the condition. It is then included in the continuous component group. Finally, the component groups that meet the above two conditions are extracted and classified into the same spatial component organization category, generating the component spatial organization classification result.
[0068] Please see Figure 3 The specific steps of S2 are as follows:
[0069] S201: Call the component spatial organization and classification results, extract the endpoint coordinates of the current contour edge of the component, and calculate the angle between the two based on the unit vector sequence of the target spatial direction. Determine whether the angle exceeds the direction difference threshold. If it does, rearrange the sequence of edge endpoint coordinates to generate the edge direction correction coordinate group.
[0070] First, the current outline of the categorized components needs to be extracted. Each outline is described by the coordinates of its start and end points. To ensure accurate extraction, all outline data must be traversed according to the order of the elements in the drawing coordinate data, and a corresponding sequence of endpoint coordinates must be generated for each line segment. For example, if the start point of an outline is (3.00, 1.00) and the end point is (6.00, 4.00), the direction vector of the outline can be generated as (3.00, 1.00) pointing to (6.00, 4.00). Then, the angle between this direction vector and the target spatial direction is compared. The target spatial direction refers to the component layout direction required in the architectural design, which can be set as a horizontal direction, a vertical direction, or a specific angle direction. Its unit vector is determined by the actual application. For example, if the component orientation should be parallel to the horizontal direction, then its unit vector direction is along the positive x-axis, i.e., (1, 0). When comparing the angle difference with the target direction, a direction difference threshold needs to be set as a judgment standard. It is recommended that this threshold be set according to the error tolerance of the building component layout. Generally, 15 degrees is taken as the upper limit for judging whether direction correction is needed. If the angle is less than or equal to 15 degrees, it is considered that the direction is basically consistent and no correction is required. If it is greater than the threshold, it is considered that the direction is deviated and needs to be corrected. For example, if the angle between the edge line direction and the target direction is 18 degrees, and it exceeds 15 degrees, the correction process is initiated. In the correction process, it is necessary to judge whether the order of the edge line's start and end points needs to be adjusted based on the directionality of the edge line's start and end points. If the edge line is closer to the target direction from the end point to the start point, the coordinates of its start and end points are swapped so that the overall direction of the edge line conforms to the target direction. This judgment and adjustment process is completed for all edge lines in turn. Finally, the coordinate points of all edge lines are arranged in the order consistent with the target spatial direction to obtain the edge line direction correction coordinate group.
[0071] S202: Call the edge line direction correction coordinate group, combine the number sequence of the fitting relationship between the component and the adjacent component, adjust the start and end coordinates corresponding to the original contact line, determine the offset direction according to the fitting sequence number in the component number, and calculate the coordinate span between the start and end points after offset to obtain the value of the connection segment occupancy interval.
[0072] Further adjustments to the coordinate offset are needed based on the fit between components. Before this process, the fit sequence in the component numbers must be analyzed. Component numbers typically contain embedded splicing order information; for example, "03" in "P01-02-03" indicates that it is the third-order splicing component. After extracting the component number, the splicing direction relationship between the current component and adjacent components is determined by comparing their number values. If the last digit of the current component number is greater than the last digit of the adjacent component number, the current component is considered to be in a later position in the splicing direction. During offset, it needs to be moved sequentially towards the target direction. The offset amount should be set with reference to the standard splicing gap design width between components. This width is set to 10-30 mm according to industry standards. In this implementation, it is set as follows: The offset is 20 mm, corresponding to 0.02 meters in the drawing unit. During the adjustment process, the offset axis is determined by the direction of the edge line. If the edge line is horizontal, the offset is performed in the x-axis direction; if it is vertical, the offset is performed in the y-axis direction. For example, if the original edge line start point is (2.00, 4.00) and the end point is (5.00, 4.00), after the offset, the new start point is (2.02, 4.00) and the end point is (5.02, 4.00). After the offset is completed, the coordinate span between the start and end points is calculated, that is, the distance between the two points is calculated as the actual occupied length of the connection segment on the drawing. For example, after the offset, the length between the start and end points is 3.00 meters. After the above offset and span confirmation of the edge lines between all components, the complete set of connection segment occupied interval values is obtained.
[0073] S203: Call the connection segment occupancy interval value and the edge direction correction coordinate group to perform positioning processing on each edge, record the start and end positions and direction attributes of the edge in the drawing coordinate system, construct the positioning index matrix of the component edge in the drawing space, and obtain the spatial mapping positioning result of the component edge.
[0074] First, read the starting and ending coordinates of each edge line sequentially. For example, if the starting point of an edge line is (1.00, 2.00) and the ending point is (4.00, 2.00), record its positions at both ends in the drawing space. Then, combine this with the coordinates of the points in the direction correction coordinate group after direction adjustment to confirm the orientation attribute of the edge line. This attribute is determined based on the difference between the x-axis and y-axis values of the starting and ending points of the edge line. For example, if the y-coordinates of the starting and ending points are the same, the edge line is horizontal; if the x-coordinates are the same, it is vertical; if both x and y coordinates are different, it is diagonal. Simultaneously, it is necessary to determine the spatial region in which the edge line is located based on its actual position in the drawing coordinate system, dividing the drawing into several coordinate regions. Each block is marked with a number based on the drawing coordinate axis. For example, if each block is 1 meter, then the starting point (1.00, 2.00) of the edge line belongs to block (1, 2), and the ending point (4.00, 2.00) belongs to block (4, 2). When recording, the block number of the starting and ending points of the edge line is integrated with the direction attribute, component number, connection segment length, and other data into an edge line positioning record. After all edges have undergone this positioning process, they are classified and summarized according to the component number to establish a coordinate mapping matrix of the edge line in the drawing space. Each item of the matrix records the positioning information of an edge line segment in the drawing space, and finally forms the spatial mapping positioning result of the component edge line.
[0075] Please see Figure 4 The specific steps of S3 are as follows:
[0076] S301: Call the spatial mapping and positioning results of component edge lines, read the arrangement sequence of component annotation numbers, and detect the first appearance position of the component edge line intersection point in the drawing. Based on the coordinate index of the intersection point and the corresponding matching with the number sequence position, calculate the drawing index value of the first appearance of each component number, and generate a component number appearance sequence matrix.
[0077] First, extract the component numbering sequence from the drawing. Each component number corresponds one-to-one with its spatial position on the drawing. It is necessary to traverse all component numbers and generate a numbered list according to the scanning order from left to right and top to bottom in the drawing. At the same time, based on the edge spatial mapping record, the intersection points of all component edges are identified. The detection of intersection points depends on the coincidence of endpoints or the intersection information between edges of different components. When determining the first occurrence position of an intersection point, the joint index of the x-axis and y-axis in the drawing coordinate system is used as the scanning basis. For example, the coordinates (3.00, 4.00) are converted into the drawing index value (300, 400). The results are then merged into a unique index value of 300400, which represents the first occurrence position of the intersection. All intersections are encoded and stored one by one. By comparing the sequence of component numbers with the intersection index, the position where a certain number first appears at the intersection is determined and recorded as the drawing index value of the first occurrence of the number. For example, the number "G01" first intersects at coordinates (5.00, 6.00), and the corresponding index value is 500600. The index information of the first occurrence of all numbers is summarized in the order of the numbers, and a correspondence table between the number and its first occurrence coordinate index is constructed. Finally, the component number occurrence sequence matrix is formed according to the drawing scanning logic.
[0078] S302: Call the component number occurrence sequence matrix. Based on the occurrence order of adjacent component numbers, count the frequency of the preceding component in the intersection. Determine the connection order between components by the difference between the frequency and the number order. If the frequency is higher than the set node threshold, generate the component's preceding node set.
[0079] The occurrence relationships between adjacent component numbers are processed sequentially. For each pair of adjacent numbers, the preceding component number is extracted, and its frequency at intersections is counted. The frequency is counted by finding the number of times the edge of the component corresponding to the current number intersects with other components. For example, if the number "G01" intersects with four different numbered components in the drawing, with a total of 5 intersections, then the frequency of this number is recorded as 5. This frequency is compared with the order of the number in the numbering sequence to determine whether it is in a preceding position in the connection relationship. This determination requires setting a frequency threshold, and the setting of the frequency threshold should be combined with the drawing. The overall crossover density of components is adjusted relative to the total number of components. It is recommended to set it to 1.2 times the average crossover frequency of components in the current drawing. For example, if the average frequency is 3 times, the threshold is 3 × 1.2 = 3.6. After rounding, the threshold is set to 4, which means that if the crossover frequency of a component number is greater than or equal to 4, it is considered to have a higher frequency connection relationship with other components and can be recorded as a preceding component node. Next, this judgment operation is performed on all component numbers in sequence. The numbers that meet the frequency exceeding the node threshold are collected and organized into a group, and their numbers, frequency values and crossover component lists are recorded to form the preceding node set of the component.
[0080] S303: Call the spatial mapping and positioning results of the component's predecessor node set and component edge line, calculate the coverage ratio of the component boundary line segment of the predecessor node and the component boundary line segment, and number and sort them according to the coverage ratio. Based on the coverage ratio distribution, establish a drawing order table of the component in the drawing to obtain the drawing order of the component.
[0081] First, for each preceding component node, extract the position and direction information of all its boundary segments and compare them with the corresponding subsequent component boundary segments to calculate the overlapping area. This calculation requires determining whether the start and end coordinates of any pair of preceding and subsequent component boundary segments are within the same drawing area. If the two segments are consistent in their start and end coordinate directions and position ranges, or are similar within the error tolerance range, then they can be considered to have an overlapping relationship. The coverage ratio is determined by the ratio of the overlapping length of the preceding component boundary segment in the subsequent component boundary segment to the total length of the preceding segment. For example, if a preceding boundary segment is 2.00 meters long and its overlapping length with the subsequent component boundary segment is 1.60 meters, then… Its coverage rate is 80%, which is used as the quantitative basis for the tightness of component connection. The coverage ratio between all edges of the preceding node component and the target component is calculated in this way. After completion, all results are archived by component number and sorted from largest to smallest coverage rate. In the sorted results, the coverage rate range can be divided into three levels: high coverage (≥80%), medium coverage (50%~79%), and low coverage (<50%). Only component numbers with medium coverage or above are retained for determining the drawing order. The priority is based on the coverage rate. The earlier the number ranks, the earlier it is drawn in the drawing. All component numbers and their drawing order are output in sequence to form the final drawing order of the components.
[0082] Please see Figure 5 The specific steps of S4 are as follows:
[0083] S401: Call the drawing order of the components, extract the component boundary line segment combination, and retrieve the serial number index of the component intersection point in the corresponding contour line coordinate group. By statistically analyzing the distribution position of the intersection point in the contour line segment sequence, calculate the ratio of the number of intersection points to the total number of points in the component contour, and generate an intersection point coverage ratio table.
[0084] The boundary line segment combination information corresponding to each component is read sequentially. This information consists of a set of points composed of the component's edge coordinates arranged in the order of the drawing. For example, the outline line segment of component A is composed of 12 consecutive coordinate points, so the total number of outline points for this component is 12. After obtaining the edge coordinate set, the intersection points of the components need to be located and identified. The criterion for determining the intersection point is that a point coordinate exists simultaneously in the outline coordinate sets of two different components. It is necessary to cross-compare all component outline point sets to find duplicate point coordinates and mark them as intersection points. At the same time, the index of the intersection point in the sequence of outline line segments of each component needs to be recorded. For example, the outline point of component B... Points 5 and 6 in the sequence intersect with component C, so their indices are recorded as 5 and 6. Then, the proportion of all intersection points in the component's outline point set is calculated, that is, the coverage ratio is obtained by dividing the number of intersection points by the total number of outline points. For example, if a component has 15 outline points, of which 5 are intersection points, then its intersection point coverage ratio is 5 ÷ 15 = 33.3%. This ratio reflects the density of physical intersections between components and other components at the boundary. Each component number and its corresponding coverage ratio are paired to form a data pair, which is then summarized into a table recording the relationship between all component numbers and the proportion of intersection points, ultimately forming an intersection point coverage ratio table.
[0085] S402: Call the intersection point coverage ratio table and combine it with the continuity status of the contact segments in the boundary segment combination to extract the continuously distributed intersection point area, filter out isolated points and discontinuous segments, and obtain the boundary fitting segment set.
[0086] Continuity analysis is performed based on the actual distribution of intersection points in the boundary line segment combinations of each component. First, the intersection points are sorted according to their index positions in the contour coordinate sequence. The index spacing between adjacent intersection points is then determined. If the difference between two indices is 1, they are considered continuous; if the spacing exceeds 1 (e.g., adjacent indices 5 and 8), a discontinuity is considered. Segments formed by continuous intersection point combinations are extracted as candidate regions. Simultaneously, the length of each continuous intersection point segment needs to be assessed to eliminate isolated points. Isolated points are defined as segments with only a single intersection point and no adjacent continuous intersection points, with a length equal to 1. Isolated points are directly discarded and not used as a basis for processing into bonding segments. In addition, discontinuous segments consisting of multiple intersection points but with breaks are not retained. Only intersection point segments with uninterrupted index sequences and a length of not less than 3 are retained as valid boundary bonding segments. For example, in the outline segment index sequence of component D, points 3 to 6 are all intersection points with indices 3, 4, 5, and 6 respectively, forming a continuous segment with a length of 4, which meets the retention condition. This segment is bound to the component number and recorded in the bonding segment set data. Finally, the boundary contact areas that meet the continuity requirements in all components are summarized to obtain the boundary bonding segment set.
[0087] S403: Call the boundary fitting segment set, determine the strength of the connection relationship between components based on the connection angle and the number of intersection points of the boundary line segments within the fitting segment, record the component combination pairs whose strength score is greater than the set contact strength threshold, and establish the edge contact combination division result;
[0088] Angle analysis and point count are performed on the boundary line segment combinations in each segment sequentially. First, the connection relationship of all edge lines in the continuous fitting segment is read, and the included angle between adjacent edge lines is measured. The connection angle is defined as the angle between the current edge line and the direction vector of the next edge line segment. The linearity is judged by comparing the average value of all angles in each segment. For example, if there are 3 continuous edge lines in a fitting segment with included angles of 10 degrees, 12 degrees, and 8 degrees respectively, then its average connection angle is 10 degrees, indicating that the linear connection degree of this area is relatively high. The total number of intersection points in the segment also needs to be counted as the connection density index. When the average connection angle in the boundary fitting segment of a component is less than a specified angle threshold, and the number of intersection points is greater than a specified number threshold, the connection density is determined. When determining whether a component has a strong connection with the opposite component, the angle threshold should be set according to the edge assembly error when the components are connected, generally within 15 degrees. The number of points threshold is recommended to be determined according to the minimum assembly length. For example, a strong connection component group is defined as having more than 3 intersection points. If the average angle in a certain fitting section is 12 degrees and the number of intersection points is 5, both exceeding the threshold, the component number pair is recorded as a valid edge contact combination, and the strength value of the combination is established. The strength value can be determined by the functional relationship between the number of intersection points and the average connection angle. For example, the smaller the connection angle and the more intersection points, the higher the strength value. All component combination pairs with strength values exceeding the set contact strength threshold are summarized and recorded, and finally the edge contact combination division result is established.
[0089] Please see Figure 6 The specific steps of S5 are as follows:
[0090] S501: Call the edge contact combination division result, extract the drawing start coordinates and arrangement direction of the components in the continuous connected component group, compare the component start coordinates with the drawing edge coordinate boundary value, determine whether the component boundary is close to the drawing edge range, and generate a component boundary proximity status table.
[0091] Each group of continuously connected components is decomposed, and the starting coordinates of its outline edge are extracted from each component. These coordinates represent the coordinates of the first point in the component's edge coordinate group. The starting point of a component is usually determined by its outline line segment on the drawing. The starting point data is obtained by reading the component boundary information structure field. For example, the starting point of a component's edge is (12.00, 5.00). After obtaining the starting coordinates, the orientation of the component on the drawing also needs to be extracted. This orientation is described by the direction vector formed by the connection order of the component edges. For example, the starting point (12.00, 5.00) and the ending point (16.00, 5.00) represent a horizontal orientation. Next, the starting coordinates of the component are compared with the overall boundary range of the drawing. In comparison, the boundary coordinate values of the drawing need to be determined by the drawing size. For example, if the X-axis range of the drawing is 0 to 20 meters and the Y-axis range is 0 to 15 meters, then it is determined whether the starting point of the component is within 5% of the boundary. The 5% edge threshold is set according to the distribution range of common components at the edge of architectural drawings. If the X coordinate of the starting point of the component is less than 1.0 meters or greater than 19.0 meters, or the Y coordinate is less than 0.75 meters or greater than 14.25 meters, it is determined to be close to the drawing boundary. The boundary proximity judgment is performed on the starting point of all components through the above judgment rules, and the component number, starting point coordinates and boundary proximity status label (such as "close to the left edge", "close to the lower right corner", etc.) are recorded. Finally, a component boundary proximity status table is formed.
[0092] S502: Call the component boundary proximity status table, extract the starting page index and extension angle based on the page number of the component's starting point and the component's direction vector, determine whether the direction crosses the drawing boundary range, and if the component path extends across the page edge, establish a cross-page position distribution mapping table.
[0093] Using the page number of the component's starting point as the initial positioning point, and combining the direction vector of each component's arrangement, its extension path in the drawing is derived. The starting point of this path is the component's starting coordinate, and the direction is the principal vector of the edge line. For example, if the starting point is (2.00, 3.00) and the direction is skewed to the upper right, then the extension direction is the vector in the first quadrant. The extension vector is superimposed on the boundary of the starting page to determine whether it exceeds the current page range. If the extension direction points outside the maximum value of the X-axis or Y-axis of the drawing, it is considered that a page crossing has occurred. When making this judgment, the boundary range of the drawing page must be set as the judgment condition. For example, if each page of the drawing is 20 meters wide and 15 meters high, then a page crossing occurs once the extended coordinates exceed (20.00, 15.00). In addition, the page number information needs to be combined for extension calculation. For example, if the current component is on page 1 and extends to page 2 or page 3, the page crossing correspondence between its starting page and target page should be further established. Finally, a table is established for all components that cross the page boundary to establish the relationship between their extension direction, crossing angle, starting page and target page number, and component number. This table organizes all component page crossing trajectories into a page crossing position distribution mapping table according to spatial continuity.
[0094] S503: Call the cross-page location distribution mapping table, combine the starting coordinate spacing between component groups, calculate the spatial distance in the two-dimensional drawing coordinate system, and perform clustering and grouping according to whether the spacing is less than the set block aggregation threshold to obtain the parametric construction drawing optimization results.
[0095] Further comparison of the starting coordinates between cross-page component groups is required. The starting coordinate spacing between any two component groups should be calculated in the 2D drawing coordinate system. First, extract the representative starting coordinates of each group. For example, group A's starting point is (3.00, 5.00), and group B's starting point is (6.00, 8.00). Calculate the difference between the two points on the X and Y axes, sum the squares, and then take the square root to obtain the spatial distance. The obtained spatial distance is then compared with a set block aggregation threshold. This aggregation threshold is recommended to be set based on the actual component density in the drawing, and is generally set to 5. Within 0 meters means that if the starting distance between two groups is less than or equal to 5.0 meters, they are considered to belong to the same block and can be merged and classified. If the distance is 7.0 meters, they are not classified. If it is 4.2 meters, they are classified into the same group. Based on this judgment rule, the spacing data of all groups are compared one by one. The component groups that meet the conditions are clustered and divided. Each clustering result generates a block group label. Finally, these classification results are bound and organized with component number, starting coordinates, and cluster number, and the output is the clustering optimization result of parametric construction drawing, which finally forms the parametric construction drawing optimization result.
[0096] Please see Figure 7 A parameterized intelligent design optimization system for construction drawings, including:
[0097] The component classification and identification module is used to achieve S1: extract the geometric boundaries and drawing annotation information of building components, determine the orientation and fitting relationship of components by the direction of boundary overlap, identify the upper and lower belonging structures according to the number prefix, and generate the component spatial organization classification results by combining the closed position and the subordinate number;
[0098] The edge line mapping and positioning module is used to implement S2: based on the component spatial organization and classification results, analyze the deviation between the edge line endpoint coordinates and the target direction, adjust the edge line order and offset the contact line position, calculate the actual space occupation of the edge line, and obtain the component edge line spatial mapping and positioning results.
[0099] The component drawing sequence module is used to implement S3: based on the spatial mapping and positioning results of component edges, analyze the position of the first occurrence of component intersection points, determine the relationship of preceding nodes, and generate the drawing order of components in combination with the boundary line coverage;
[0100] The edge contact analysis module is used to implement S4: extract the drawing order of components, analyze the contact range through the distribution of intersection points, filter the fitting segments based on the continuity of line segments, and evaluate the connection strength through the connection angle and the number of intersection points to form the edge contact combination division result;
[0101] The construction drawing optimization module is used to implement S5: based on the edge contact combination division results, extract the starting coordinates and arrangement direction of the components, determine whether they are close to the edge of the drawing, combine the page number and the path extension direction to determine the page number distribution, and generate parametric construction drawing optimization results.
[0102] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A parameterized intelligent design optimization method for construction drawings, characterized in that, Includes the following steps: S1: Extract the geometric boundaries and drawing annotation information of building components, determine the orientation and fitting relationship of components by the direction of boundary overlap, identify the upper and lower belonging structures based on the number prefix, and generate the spatial organization and classification results of components by combining the closed position and the subordinate number; S101: Obtain the geometric boundary lines and drawing annotation information of building components, extract the connection vectors based on the geometric coordinate sequence of the boundary line segments, determine the angle direction and extension relationship between adjacent line segments, filter the combination of line segments with the same direction, and generate the component orientation vector set; S102: Call the component orientation vector set, extract the number prefix according to the component number in the drawing and determine the nesting structure. If there is a prefix nesting relationship, record the number belonging correspondence and generate a component belonging number mapping table. S103: Call the component attribution number mapping table and boundary line data, retrieve the boundary line coordinate range between the attribution components, calculate the overlap rate, and compare it with the sequence number of the subordinate number. If the conditions of continuous overlap and adjacent sequence number are met, generate the component spatial organization classification result. S2: Based on the component spatial organization and classification results, analyze the deviation between the edge endpoint coordinates and the target direction, adjust the edge order and offset the contact line position, calculate the actual space occupation of the edge, and obtain the component edge spatial mapping and positioning results. S3: Based on the spatial mapping and positioning results of the component edges, analyze the position of the first occurrence of the component intersection, determine the relationship of the preceding nodes, and generate the drawing order of the components in combination with the boundary line coverage. S301: Call the spatial mapping and positioning result of the component edge line, read the arrangement sequence of the component annotation number, and detect the first appearance position of the component edge line intersection point in the drawing. Based on the coordinate index of the intersection point and the corresponding matching with the number sequence position, calculate the drawing index value of the first appearance of each component number and generate a component number appearance sequence matrix. S302: Call the component number occurrence sequence matrix, and for the occurrence order of adjacent component numbers, count the frequency of the preceding component in the intersection. Determine the connection order between components by the difference between the frequency and the number order. If the frequency is higher than the set node threshold, generate the component preceding node set. S303: Call the spatial mapping and positioning results of the component's preceding node set and component edge line, calculate the coverage ratio of the preceding node component boundary line segment and the component boundary line segment, and number and sort them according to the coverage ratio. Based on the coverage ratio distribution, establish a drawing order table of the component in the drawing to obtain the drawing order of the component. S4: Extract the drawing order of the components, analyze the contact range through the distribution of intersection points, filter the fitting segments according to the continuity of line segments, and evaluate the connection strength through the connection angle and number of intersection points of the boundary line segments within the fitting segments to form the edge contact combination division result; S5: Based on the edge contact combination division results, extract the starting coordinates and arrangement direction of the components, determine whether they are close to the edge of the drawing, combine the page number and the path extension direction to determine the page number distribution, and generate the parameterized construction drawing optimization results.
2. The intelligent design optimization method for construction drawings based on parameterization according to claim 1, characterized in that, The component spatial organization and classification results include the component orientation identification results, fitting position relationship and upper and lower classification type; the component edge spatial mapping and positioning results include edge direction correction parameters, contact line offset and connection segment occupancy range; the component drawing order includes component number sorting, intersection point priority determination and preceding node relationship; the edge contact combination division results include contact range boundary, fitting segment set and connection strength level; the parameterized construction drawing optimization results include drawing page number distribution, block component aggregation method and cross-page drawing strategy.
3. The intelligent design optimization method for construction drawings based on parameterization according to claim 1, characterized in that, The method of filtering fitting segments based on line segment continuity refers to identifying a sequence of line segments that fit tightly between components by judging the continuity of adjacent line segments in direction and position.
4. The intelligent design optimization method for construction drawings based on parameterization according to claim 1, characterized in that, The connection strength refers to the strength of the connection based on the angle of the connecting line segments and the number of intersections.
5. The intelligent design optimization method for construction drawings based on parameterization according to claim 1, characterized in that, The specific steps of S2 are as follows: S201: Call the component spatial organization and classification results, extract the endpoint coordinates of the current contour edge of the component, and calculate the angle between the two according to the unit vector sequence of the target spatial direction. Determine whether the angle exceeds the direction difference threshold. If it does, rearrange the sequence of edge endpoint coordinates to generate the edge direction correction coordinate group. S202: Call the edge direction correction coordinate group, combine the number sequence of the fitting relationship between the component and the adjacent component, adjust the start and end coordinates corresponding to the original contact line, determine the offset direction according to the fitting sequence number in the component number, and calculate the coordinate span between the start and end points after offset to obtain the connection segment occupancy interval value. S203: Call the connection segment occupancy interval value and the edge direction correction coordinate group to perform positioning processing on each edge, record the start and end positions and direction attributes of the edge in the drawing coordinate system, construct the positioning index matrix of the component edge in the drawing space, and obtain the spatial mapping positioning result of the component edge.
6. The intelligent design optimization method for construction drawings based on parameterization according to claim 1, characterized in that, The specific steps of S4 are as follows: S401: Call the drawing order of the component, extract the component boundary line segment combination, and retrieve the serial number index of the component intersection point in the corresponding contour line coordinate group. By statistically analyzing the distribution position of the intersection point in the contour line segment sequence, calculate the ratio of the number of intersection points to the total number of points of the component contour, and generate an intersection point coverage ratio table. S402: Call the intersection point coverage ratio table and, in conjunction with the continuity status of the contact segments in the boundary segment combination, extract the continuously distributed intersection point areas, filter out isolated points and discontinuous segments, and obtain a set of boundary fitting segments. S403: Call the set of boundary fitting segments, determine the strength of the connection relationship between components based on the connection angle and the number of intersection points of the boundary line segments within the fitting segment, record the component combination pairs whose strength scores are greater than the set contact strength threshold, and establish the edge contact combination division result.
7. The intelligent design optimization method for construction drawings based on parameterization according to claim 1, characterized in that, The specific steps of S5 are as follows: S501: Call the edge contact combination division result, extract the drawing start coordinates and arrangement direction of the components in the continuous connected component group, compare the component start coordinates with the drawing edge coordinate boundary value, determine whether the component boundary is close to the drawing edge range, and generate a component boundary proximity status table. S502: Call the component boundary proximity status table, extract the starting page index and extension angle according to the page number of the component's starting point and the component's direction vector, determine whether the direction crosses the drawing boundary range, and if the component path extends across the page edge, establish a cross-page position distribution mapping table. S503: Call the cross-page position distribution mapping table, combine the starting coordinate spacing between component combination groups, calculate the spatial distance in the two-dimensional drawing coordinate system, and perform clustering and grouping according to whether the spacing is less than the set block aggregation threshold to obtain the parameterized construction drawing optimization results.
8. A parameterized intelligent design optimization system for construction drawings, characterized in that: The system is used to implement the parameterized intelligent design optimization method for construction drawings according to any one of claims 1-7, and the system includes: The component classification and identification module is used to achieve S1: extract the geometric boundaries and drawing annotation information of building components, determine the orientation and fitting relationship of components by the direction of boundary overlap, identify the upper and lower belonging structures according to the number prefix, and generate the component spatial organization classification results by combining the closed position and the subordinate number; S101: Obtain the geometric boundary lines and drawing annotation information of building components, extract the connection vectors based on the geometric coordinate sequence of the boundary line segments, determine the angle direction and extension relationship between adjacent line segments, filter the combination of line segments with the same direction, and generate the component orientation vector set; S102: Call the component orientation vector set, extract the number prefix according to the component number in the drawing and determine the nesting structure. If there is a prefix nesting relationship, record the number belonging correspondence and generate a component belonging number mapping table. S103: Call the component attribution number mapping table and boundary line data, retrieve the boundary line coordinate range between the attribution components, calculate the overlap rate, and compare it with the sequence number of the subordinate number. If the conditions of continuous overlap and adjacent sequence number are met, generate the component spatial organization classification result. The edge line mapping and positioning module is used to implement S2: based on the component spatial organization and classification results, analyze the deviation between the edge line endpoint coordinates and the target direction, adjust the edge line order and offset the contact line position, calculate the actual space occupancy of the edge line, and obtain the component edge line spatial mapping and positioning results. The component drawing sequence module is used to implement S3: based on the spatial mapping and positioning results of the component edge lines, analyze the position of the first occurrence of the component intersection point, determine the relationship of the preceding nodes, and generate the drawing order of the components in combination with the boundary line coverage; S301: Call the spatial mapping and positioning result of the component edge line, read the arrangement sequence of the component annotation number, and detect the first appearance position of the component edge line intersection point in the drawing. Based on the coordinate index of the intersection point and the corresponding matching with the number sequence position, calculate the drawing index value of the first appearance of each component number and generate a component number appearance sequence matrix. S302: Call the component number occurrence sequence matrix, and for the occurrence order of adjacent component numbers, count the frequency of the preceding component in the intersection. Determine the connection order between components by the difference between the frequency and the number order. If the frequency is higher than the set node threshold, generate the component preceding node set. S303: Call the spatial mapping and positioning results of the component's preceding node set and component edge line, calculate the coverage ratio of the preceding node component boundary line segment and the component boundary line segment, and number and sort them according to the coverage ratio. Based on the coverage ratio distribution, establish a drawing order table of the component in the drawing to obtain the drawing order of the component. The edge contact analysis module is used to implement S4: extract the drawing order of the components, analyze the contact range through the distribution of intersection points, filter the fitting segments according to the continuity of line segments, and evaluate the connection strength through the connection angle and number of intersection points of the boundary line segments within the fitting segments, thus forming the edge contact combination division result; The construction drawing optimization module is used to achieve S5: based on the edge contact combination division results, extract the starting coordinates and arrangement direction of the components, determine whether they are close to the edge of the drawing, combine the page number and the path extension direction to determine the page number distribution, and generate parametric construction drawing optimization results.