Plane projection and boundary detection-based Rhino curtain wall glass panel size mark automatic generation method and system

By employing planar projection and boundary detection methods within the Rhino environment, the dimension annotations for curtain wall glass panels are automatically generated, solving the problems of insufficient automation and robustness in existing technologies and achieving efficient and stable dimension annotation and data export.

CN121564299APending Publication Date: 2026-02-24CSCEC XINKE DECORATION ENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511672077.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-14
Publication Date
2026-02-24

AI Technical Summary

Technical Problem

In the Rhino environment, existing technologies struggle to automate, batch, and customize the dimensioning of curtain wall glass panels. Furthermore, they are not robust enough in handling non-rectangular, inclined, or curved panels, resulting in large errors and a lack of standardized specifications.

Method used

A method based on planar projection and boundary detection is adopted. Through vertex extraction, orthogonal projection, boundary line detection and least squares fitting, the dimension annotation of the curtain wall glass panel is generated. The boundary line is simplified by using two-dimensional convex hull and Douglas-Puk algorithm to achieve automatic dimension annotation.

Benefits of technology

It automates and batches the dimension annotation of curtain wall glass panels, reduces human error, ensures stable and repeatable annotation, is applicable to various geometric shapes, has a unified annotation style, and facilitates integration with BIM and bill of materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121564299A_ABST
    Figure CN121564299A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic Rhino curtain wall glass panel size mark generation method based on plane projection and boundary detection, and belongs to the field of building information modeling and three-dimensional modeling, and the method comprises the following steps: based on geometric information in Rhino, screening to obtain a set of multiple curved surfaces of all curtain wall glass panels; performing vertex extraction and orthogonal projection on the multiple curved surfaces of each curtain wall glass panel, performing sideline equidistant sampling on the multiple curved surfaces of each curtain wall glass panel, and finally obtaining a projection point set; performing boundary line monitoring based on the projection point set to obtain a boundary point sequence, and performing fitting by adopting a least square method to obtain a boundary line; and obtaining a size value according to the line segment length and direction relationship of the boundary line, and performing automatic size marking according to the size value. View angle errors are eliminated through plane point projection, geometric contour integrity is ensured through boundary line detection, size marks of multiple glass curtain wall panels can be automatically generated at a time, and size data can be exported.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of building information modeling and 3D modeling, and specifically relates to a method and system for automatically generating Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection. Background Technology

[0002] In curtain wall design and drawing, the dimensions of glass panels are usually marked manually piece by piece, or the boundaries are directly mapped to dimensions using limited scripting tools. This has problems such as large workload, easy error generation, lack of unified standards, and difficulty in robustly handling non-rectangular, inclined or curved panels.

[0003] In the Rhino environment, common annotation methods include linear annotation and angular annotation. However, existing solutions often calculate dimensions directly using 3D coordinates without fully considering projection errors on the working plane, robustness of boundary contours (resistance to uncertainties / disturbances), and automation capabilities for large-scale batch generation.

[0004] Therefore, there is an urgent need for an automated, batch, and customizable method for generating curtain wall panel dimensions in Rhino that can achieve "planar point projection + boundary line detection" to improve the consistency, accuracy, and efficiency of the annotation. Summary of the Invention

[0005] The purpose of this invention is to address these problems in the prior art by proposing an automatic generation method for Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection. In the Rhino environment, planar point projection is used to eliminate viewing angle errors, and boundary line detection is used to ensure the integrity of geometric contours. This method can automatically generate dimension annotations for multiple glass curtain wall panels at once and export the dimension data. In particular, the invention describes the method for automatically generating panel dimension annotations in a glass curtain wall model, its implementation logic, and related devices and software implementation.

[0006] According to one aspect of this specification, an automatic generation method for Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection is provided, including:

[0007] Based on the geometric information in Rhino, a set of all multi-surface curtain wall glass panels is obtained by filtering.

[0008] Vertex extraction and orthogonal projection are performed on each multi-surface of the curtain wall glass panel in the set to obtain a first set of projection points; simultaneously, edge equidistant sampling and orthogonal projection are performed on each multi-surface of the curtain wall glass panel in the set to obtain a second set of projection points; based on the first set of projection points and the second set of projection points, a final set of projection points is obtained.

[0009] Boundary line monitoring is performed based on the set of projection points to obtain the boundary point sequence, and the least squares method is used for fitting to obtain the boundary line.

[0010] The dimension values ​​are obtained based on the relationship between the length and direction of the boundary line segments, and automatic dimensioning is performed based on the dimension values.

[0011] Furthermore, the process of obtaining the first set of projection points and the second set of projection points includes:

[0012] Vertex extraction is performed on the multiple curved surfaces of the curtain wall glass panel to obtain the edge corner points, and the edge corner points are orthogonally projected onto the working plane to obtain the first set of projection points.

[0013] Based on the multiple curved surfaces of the curtain wall glass panel, edge line is sampled at equal intervals to generate a three-dimensional point set. The three-dimensional point set is then orthogonally projected onto the working plane to obtain a second projection point set.

[0014] Furthermore, boundary line monitoring is performed based on the set of projection points to obtain a sequence of boundary points, including:

[0015] The outer contour is obtained from the set of projection points using a two-dimensional convex hull.

[0016] The boundary point sequence is obtained by simplifying the outer contour using the Douglas-Puk algorithm.

[0017] Furthermore, the outer contour is simplified using the Douglas-Puk algorithm with polylines, including:

[0018] S1. Based on the outer contour, select any two endpoints and denote them as the starting point s and the ending point t. Calculate the perpendicular distance between all points in the subset formed by the starting point s and the ending point t and the line segment ST; the line segment ST is the shortest line connecting the starting point s and the ending point t.

[0019] S2. If the maximum vertical distance is less than or equal to the set value, then the interval [s,t] has been simplified, and the line segment ST is output.

[0020] S3. If the maximum vertical distance is greater than the set value, perform a bisection on the interval [s,t] to obtain subintervals [s,p_max] and [p_max,t]. Repeat S1-S3 for each subinterval until the recursion ends.

[0021] S4. Connect the starting point of each interval with the last output point of that interval to form a line segment, and gradually piece them together to form a continuous broken line sequence.

[0022] Furthermore, the dimension values ​​are obtained based on the relationship between the length and direction of the boundary line segments, including:

[0023] Two sets of mutually perpendicular directions are determined at the boundary line, and the projection range in the two sets of mutually perpendicular directions is determined as the main dimension of the curtain wall glass panel.

[0024] The length of the line segment connecting the opposite vertices of the curtain wall glass panel is used as an additional dimension of the curtain wall glass panel;

[0025] The dimensions are obtained based on the main and additional dimensions of the curtain wall glass panels.

[0026] Furthermore, automatic dimensioning is performed based on the dimension values, including:

[0027] Based on the dimension values, the center point of the working plane boundary is obtained. The distance is offset along the normal vector of the working plane to determine the placement point of the dimension object. Then, the application programming interface is called to automatically generate the dimension.

[0028] According to one aspect of this specification, an automatic generation system for Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection is provided, comprising:

[0029] The Multi-Surface Filtering module is used to filter and obtain a set of all multi-surfaces of curtain wall glass panels based on geometric information in Rhino.

[0030] The projection point set module is used to extract vertices and orthogonally project each multi-curved surface of the curtain wall glass panel in the set to obtain a first projection point set; at the same time, it performs edge equidistant sampling and orthogonal projection on each multi-curved surface of the curtain wall glass panel in the set to obtain a second projection point set; and obtains a projection point set based on the first projection point set and the second projection point set.

[0031] The boundary line module is used to monitor the boundary line based on the set of projection points, obtain the boundary point sequence, and fit it using the least squares method to obtain the boundary line.

[0032] The dimensioning module is used to obtain dimension values ​​based on the relationship between the length and direction of the boundary line segments, and to automatically dimension based on the dimension values.

[0033] According to one aspect of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the described method for automatically generating Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection.

[0034] According to one aspect of the present invention, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps of the method for automatically generating Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection.

[0035] According to one aspect of the present invention, a computer program product containing instructions is provided, which, when run on a computer, causes the computer to perform the steps of the described method for automatically generating Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection.

[0036] Compared with the prior art, the beneficial effects of the present invention are:

[0037] 1. This invention automates and batches panel size annotation, significantly improving design and drawing efficiency and reducing human error.

[0038] 2. After the present invention projects onto the working plane, the size calculation is not sensitive to the viewing angle and observation angle, and the annotation is more stable and repeatable.

[0039] 3. The boundary detection proposed in this invention improves robustness by simplifying the two-dimensional convex hull and the Ramer-Douglas-Peucker (RDP) polyline. It is applicable to various geometric shapes such as rectangles, inclinations, non-rectangles, and curved surfaces. The annotation style is uniform and the data can be exported, which facilitates integration with workflows such as BIM, bill of materials, and cost accounting. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the 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.

[0041] Figure 1 The flowchart is shown below for the automatic generation method of Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection proposed in this invention.

[0042] Figure 2 This is a schematic diagram of the orthogonal projection proposed in this invention;

[0043] Figure 3 This is a schematic diagram of the two-dimensional convex hull outer contour proposed in this invention;

[0044] Figure 4 This is a simplified schematic diagram of the RDP broken line proposed in this invention;

[0045] Figure 5 This is a schematic diagram of the least squares fitting method proposed in this invention;

[0046] Figure 6 This is a schematic diagram of the boundary closure verification proposed in this invention;

[0047] Figure 7 This is a schematic diagram of the dimensioning proposed in this invention. Detailed Implementation

[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0049] like Figure 1 As shown, this embodiment of the invention provides an automatic generation method for Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection, including: based on geometric information in Rhino, filtering to obtain a set of all curtain wall glass panel multi-surfaces; extracting vertices and orthogonally projecting each multi-surface of the curtain wall glass panel in the set to obtain a first projection point set; simultaneously sampling and orthogonally projecting the edge lines of each multi-surface of the curtain wall glass panel in the set to obtain a second projection point set; obtaining a projection point set based on the first and second projection point sets; monitoring boundary lines based on the projection point set to obtain a boundary point sequence, and fitting it using the least squares method to obtain the boundary edge line; obtaining dimension values ​​based on the relationship between the line segment length and direction of the boundary edge line, and automatically dimensioning based on the dimension values.

[0050] Specifically, this invention relates to the field of building information modeling and 3D modeling, particularly based on the Rhino (Rhinoceros 3D) environment, to a method for automatically generating panel dimension annotations in a glass curtain wall model, its implementation logic, and related devices and software implementation.

[0051] Specifically, the steps for projection plane and orthographic projection include: Figure 2 As shown, by orthogonally projecting three-dimensional points onto a designated working plane—the target plane for orthogonal projection and dimensioning during the work process—dimensions are calculated in an unambiguous planar coordinate system, avoiding reading errors caused by viewing angle. Unambiguity means that when projecting and dimensioning on a designated working plane, differences in dimension readings due to different viewing angles, lens perspectives, and projection methods are avoided.

[0052] Specifically, the robustness of boundary line detection includes: such as Figure 3As shown, the outer contour is first obtained using a two-dimensional convex hull (the smallest convex shape formed by enclosing a set of discrete points with the tightest contour). Then, the Ramer-Douglas-Peucker (RDP) polyline simplification algorithm is used (automatically deleting intermediate points according to a set tolerance threshold while maintaining the error of the original shape within a given tolerance, thus obtaining a polyline with fewer points and less data volume, such as...). Figure 4 As shown, by combining optional least squares fitting methods, robustness to complex shapes, noisy points, or curved surfaces can be improved.

[0053] Specifically, the RDP (Ramer-Douglas-Peucker) algorithm is as follows:

[0054] 1. Select the starting point s and ending point t of the line segment, and calculate the perpendicular distance d(p, ST) of the point set P_line on the line ST. The line segment ST is the shortest line connecting the starting point s and the ending point t. Here, the starting point s and the ending point t can be understood as any segment of the outer contour: they can be any two endpoints on the convex hull edge, or they can be the endpoints of the interval to be simplified. In other words, the selection of s and t is not mandatory to come from the "starting point / ending point" of the convex hull; they are the two endpoints of the interval to be simplified. The point set P_line refers to the subset of points in the contour point set used for fitting that lie on the reference line ST; it can be understood as the subset of points between the starting point s and the ending point t.

[0055] 2. If d_max≤ε: Treat the interval [s,t] as simplified and output the straight line segment ST as the representation of the interval in the simplified polyline.

[0056] 3. If d_max > ε: Divide the interval [s, t] into two subintervals [s, p_max] and [p_max, t]. Repeat steps 1-3 for each subinterval.

[0057] 4. When the recursion ends, connect the starting point of each interval with the last output point of that interval to form a line segment, and gradually piece them together to form a continuous broken line sequence.

[0058] Specifically, automated dimension recognition is performed based on the generated boundaries. Width and length are automatically identified within the projection plane by the length and direction relationship of the edges, and information such as diagonals, area, and tilt angles are provided when needed, reducing manual intervention. Specifically, on the outer contour of the panel, two sets of mutually perpendicular directions are identified, and the length of the projection range in these two directions is determined. These correspond to the panel's "width" and "length," i.e., the main dimensions (W, L). If the panel is approximately rectangular, these correspond to the lengths of the two sides of the rectangle. The length of the line segment connecting the diagonal vertices of the panel is also determined, or the length of the diagonal is obtained by finding the two furthest points from the contour point set. For regular polygons, the polygon area formula is used directly; for irregular contours, triangulation or mesh methods are used to calculate the area enclosed by the contour.

[0059] Specifically, the unified display style and output capability are achieved through DimensionStyle for unified annotation styles and the export function for data integration with BIM, material statistics and other systems.

[0060] Specifically, this embodiment of the invention first performs model reading and panel filtering. It reads the geometric information in the current Rhino document and filters out the set of all glass panel multi-surface Brep based on layer name, material, or user interaction. Then, it extracts vertexes and performs orthogonal projection to obtain a first set of projection points. Simultaneously, it extracts the glass panel edges and samples them at equal intervals to form a three-dimensional point set. This three-dimensional point set is orthogonally projected onto the user-specified working plane A to obtain a second set of projection points. The union of the first and second sets of projection points is then taken to obtain the second set of projection points. This second set of projection points is represented as two-dimensional coordinates in the local coordinate system of A, facilitating subsequent two-dimensional geometric processing. Next, it performs boundary line detection. First, it calculates the two-dimensional convex hull of the projection point set to obtain the outer contour. Then, it performs RDP polyline simplification on the two-dimensional convex hull to remove redundant points, obtaining a boundary point sequence. Optionally, it performs least-squares fitting on the boundary point sequence to obtain a more stable edge line, i.e., the boundary edge line, such as... Figure 5 As shown; Figure 6 As shown, boundary closure verification is performed, with a tolerance of 5mm for contour closure. Dimension calculations are then performed. Based on the relationship between the length and direction of the boundary line segments, the main dimensions of the panel (width W, length L) are identified. Additional dimensions such as diagonals, area, and tilt angles are identified when necessary. For non-rectangular or tilted panels, methods such as the extreme values ​​of the projected width / projected height are used to obtain the corresponding dimension annotations. Dimensioning objects are generated. On the projection plane, the placement point of the dimensioning object is determined by offsetting a certain distance from the midpoint of the boundary line along the plane normal vector (or a custom offset direction), such as... Figure 7As shown, the process involves calling the Rhino Common API to generate linear dimensions (DimLinear) and angular dimensions (DimAngular) when necessary, and uniformly setting the dimension style (DimensionStyle) to ensure consistency in font, units, precision, and other styles. The generated dimension objects are then grouped according to their respective panels for easy editing and management. Finally, the output and interaction involve writing the dimension objects back to Rhino property keys and refreshing the view; the panel's dimension information is exported to CSV, Excel, and other formats for convenient material statistics and BIM integration.

[0061] Specifically, automatic dimensioning includes:

[0062] 1. Locating the midpoint of the boundary on the working plane: that is, the center point of the boundary;

[0063] 2. Offset along the normal vector of the working plane: Used to transfer 2D positional information to 3D space, or to place the dimensioned object at the desired height / depth. The offset distance here usually represents how many units the dimension should protrude from the outline to avoid overlapping with the geometry and create a clear dimension.

[0064] 3. Determine the placement point of the dimension annotation: offset it along the normal direction and then make fine adjustments to avoid occlusion, align it with the main direction of the outline, and ensure that the spacing between it and other annotations meets the specifications.

[0065] 4. Generate dimensions by calling APIs: Generate dimensions by calling APIs (such as RhinoCommon, Grasshopper components, or other CAD APIs). This usually includes specifying the start and end points, dimension text format, units, and whether to automatically align and display arrows.

[0066] The implementation of the various embodiments of the present invention is based on programmed processing by a device with processor functionality. Therefore, in practical engineering, the technical solutions and functions of the various embodiments of the present invention are encapsulated into various modules. Based on this reality, and building upon the above embodiments, the embodiments of the present invention provide an automatic generation system for Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection. This system is used to execute an automatic generation method for Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection from the above method embodiments.

[0067] The system includes: a multi-surface filtering module, used to filter and obtain a set of all multi-surfaces of curtain wall glass panels based on geometric information in Rhino; a projection point set module, used to extract vertices and orthogonally project each multi-surface of curtain wall glass panels in the set to obtain a first projection point set; simultaneously, to perform edge line isometric sampling and orthogonal projection on each multi-surface of curtain wall glass panels in the set to obtain a second projection point set; and to obtain a projection point set based on the first and second projection point sets; a boundary line module, used to monitor boundary lines based on the projection point set, obtain a boundary point sequence, and fit it using the least squares method to obtain the boundary line; and a dimensioning module, used to obtain dimension values ​​based on the relationship between the line segment length and direction of the boundary line, and to automatically dimension based on the dimension values.

[0068] The Rhino curtain wall glass panel dimension annotation automatic generation system provided by this invention addresses existing technical problems by employing several modules. In the Rhino environment, it utilizes planar point projection to eliminate viewing angle errors and boundary line detection to ensure geometric contour integrity. It can automatically generate dimension annotations for multiple glass curtain wall panels at once and export the dimension data. In particular, it describes the method for automatically generating panel dimension annotations in a glass curtain wall model, its implementation logic, and related devices and software implementation.

[0069] Based on the same inventive concept as the foregoing embodiments, this embodiment of the invention also provides an electronic device, including a memory and a processor. The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to realize the automatic generation method for Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection proposed in the above embodiments.

[0070] This invention also provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, the program can automatically generate dimension annotations for multiple glass curtain wall panels at once and export the dimension data. Specifically, it describes a method for automatically generating panel dimension annotations in a glass curtain wall model, its implementation logic, and related devices and software implementation.

[0071] This invention also provides a computer program product containing instructions that, when run on a computer, generate, in whole or in part, the automatic generation method for Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection as proposed in the above embodiments. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.

[0072] Finally, it should be noted that the above specific embodiments are merely representative examples of the present invention. Obviously, the present invention is not limited to the above specific embodiments and many variations are possible. Any simple modifications, equivalent changes, and alterations made to the above specific embodiments based on the technical essence of the present invention should be considered within the protection scope of the present invention.

Claims

1. A method for automatically generating dimension annotations for Rhino curtain wall glass panels based on planar projection and boundary detection, characterized in that, include: Based on the geometric information in Rhino, a set of all multi-surface curtain wall glass panels is obtained by filtering. Vertex extraction and orthogonal projection are performed on each multi-surface of the curtain wall glass panel in the set to obtain a first set of projection points; simultaneously, edge equidistant sampling and orthogonal projection are performed on each multi-surface of the curtain wall glass panel in the set to obtain a second set of projection points; based on the first set of projection points and the second set of projection points, a final set of projection points is obtained. Boundary line monitoring is performed based on the set of projection points to obtain the boundary point sequence, and the least squares method is used for fitting to obtain the boundary line. The dimension values ​​are obtained based on the relationship between the length and direction of the boundary line segments, and automatic dimensioning is performed based on the dimension values.

2. The method for automatically generating Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection according to claim 1, characterized in that, The process of obtaining the first set of projection points and the second set of projection points includes: Vertex extraction is performed on the multiple curved surfaces of the curtain wall glass panel to obtain the edge corner points, and the edge corner points are orthogonally projected onto the working plane to obtain the first set of projection points. Based on the multiple curved surfaces of the curtain wall glass panel, edge line is sampled at equal intervals to generate a three-dimensional point set. The three-dimensional point set is then orthogonally projected onto the working plane to obtain a second projection point set.

3. The method for automatically generating Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection according to claim 1, characterized in that, Boundary line monitoring is performed based on the set of projection points to obtain a sequence of boundary points, including: The outer contour is obtained from the set of projection points using a two-dimensional convex hull. The boundary point sequence is obtained by simplifying the outer contour using the Douglas-Puk algorithm.

4. The method for automatically generating Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection according to claim 3, characterized in that, The outer contour is simplified using the Douglas-Puk algorithm, including: S1. Based on the outer contour, select any two endpoints and denote them as the starting point s and the ending point t. Calculate the perpendicular distance between all points in the subset formed by the starting point s and the ending point t and the line segment ST. The line segment ST is the shortest line connecting the starting point s and the ending point t. S2. If the maximum vertical distance is less than or equal to the set value, then the interval [s,t] has been simplified, and the line segment ST is output. S3. If the maximum vertical distance is greater than the set value, perform a bisection on the interval [s,t] to obtain subintervals [s,p_max] and [p_max,t]. Repeat S1-S3 for each subinterval until the recursion ends. S4. Connect the starting point of each interval with the last output point of that interval to form a line segment, and gradually piece them together to form a continuous broken line sequence.

5. The method for automatically generating Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection according to claim 1, characterized in that, The dimensions are obtained based on the relationship between the length and direction of the boundary line segments, including: Two sets of mutually perpendicular directions are determined at the boundary line, and the projection range in the two sets of mutually perpendicular directions is determined as the main dimension of the curtain wall glass panel. The length of the line segment connecting the opposite vertices of the curtain wall glass panel is used as an additional dimension of the curtain wall glass panel; The dimensions are obtained based on the main and additional dimensions of the curtain wall glass panels.

6. The method for automatically generating Rhino curtain wall glass panel dimension annotations based on planar projection and boundary detection according to claim 1, characterized in that, Automatic dimensioning based on dimension values, including: Based on the dimension values, the center point of the working plane boundary is obtained. The distance is offset along the normal vector of the working plane to determine the placement point of the dimension object. Then, the application programming interface is called to automatically generate the dimension.

7. An automatic generation system for Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection, characterized in that, include: The Multi-Surface Filtering module is used to filter and obtain a set of all multi-surfaces of curtain wall glass panels based on geometric information in Rhino. The projection point set module is used to extract vertices and orthogonally project each multi-curved surface of the curtain wall glass panel in the set to obtain a first projection point set; at the same time, it performs edge equidistant sampling and orthogonal projection on each multi-curved surface of the curtain wall glass panel in the set to obtain a second projection point set; and obtains a projection point set based on the first projection point set and the second projection point set. The boundary line module is used to monitor the boundary line based on the set of projection points, obtain the boundary point sequence, and fit it using the least squares method to obtain the boundary line. The dimensioning module is used to obtain dimension values ​​based on the relationship between the length and direction of the boundary line segments, and to automatically dimension based on the dimension values.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the automatic generation method for Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the automatic generation method for Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection as described in any one of claims 1 to 6.

10. A computer program product containing instructions, characterized in that, When it is run on a computer, it causes the computer to perform the steps of the automatic generation method for Rhino curtain wall glass panel dimension annotation based on planar projection and boundary detection as described in any one of claims 1 to 6.