A method for quickly drawing the cross section of special-shaped aluminum plates based on existing drawing software

By developing a method of automatically drawing aluminum plate cross-sections on existing drawing software, the problem of time and manpower waste for curtain wall designers when drawing complex aluminum plate curtain walls is solved, and a fast and efficient design process is achieved.

CN114491713BActive Publication Date: 2025-04-04TONGCHUANG JINTAI CONSTR TECH (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210023400.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-10
Publication Date
2025-04-04
Estimated Expiration
2042-01-10

AI Technical Summary

Technical Problem

Curtain wall designers need to manually draw the section of aluminum plates step by step when drawing complex aluminum plate curtain walls, resulting in a lot of time and manpower being wasted for simple and repetitive work.

Method used

Based on the method developed by existing drawing software, the outer contour line of the aluminum plate is drawn through the polyline command, and the aluminum plate thickness and bending parameters are entered. The program automatically draws the aluminum plate and rounds the corners and draws the edge lines at the bend.

Benefits of technology

It greatly improves the work efficiency and accuracy of curtain wall designers, reduces simple and repetitive labor, and realizes the rapid drawing of complex special-shaped aluminum plate cross-sections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114491713B_ABST
    Figure CN114491713B_ABST
Patent Text Reader

Abstract

The present invention provides a method for quickly drawing the cross section of a special-shaped aluminum plate based on existing drawing software, S1, use the polyline command in the existing drawing software to draw the outer contour line of the required special-shaped aluminum plate, and use it as the input condition of the program; S2, click to start the command to draw the aluminum plate, and click the outer contour line of the drawn aluminum plate, the program will prompt to enter the thickness of the aluminum plate; S3, after the aluminum plate thickness parameter is entered, the program will prompt whether the aluminum plate needs to be bent, and the parameters of the aluminum plate bending can be entered at this time; S4, after all the parameters are entered, the program will automatically draw the aluminum plate according to the input parameters; S5, after the outer polyline of the aluminum plate is offset, the corner points of the offset polyline and the outer polyline need to be connected to draw a complete aluminum plate. The present invention saves the logic of the designer drawing the special-shaped aluminum plate through a computer program, and then controls the shape of the cross section of the aluminum plate through the variable parameters therein, thereby achieving the purpose of fast drawing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of computer-aided design, and more specifically, particularly relates to a method for quickly drawing a cross section of a special-shaped aluminum plate based on existing drawing software. Background Art

[0002] With the development of computer software technology and the application of computer-aided design in the field of architecture, the functions of the software itself can no longer meet the needs of designers. This requires secondary development based on the existing software and targeted development in related fields to improve the work efficiency of designers.

[0003] There is no secondary development of this technical point in the existing drawing software plug-ins for the curtain wall industry, and there is no targeted solution to the problems of the curtain wall industry. Especially when curtain wall designers draw complex aluminum plate curtain walls, they need to spend a lot of time drawing aluminum plate cross-sections, doing a lot of simple repetitive work, and the work efficiency is not high.

[0004] Therefore, in view of this, the existing structure and deficiencies are studied and improved, and a method for quickly drawing special-shaped aluminum plate cross-sections based on existing drawing software is provided. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a method for quickly drawing the cross section of a special-shaped aluminum plate based on existing drawing software, so as to solve the problem that the current curtain wall designers need to draw the cross section of the aluminum plate manually step by step when drawing complex aluminum plate curtain walls, and the simple repetitive work wastes a lot of time and manpower. The method is specifically achieved by the following specific technical means:

[0006] A method for quickly drawing a cross section of a special-shaped aluminum plate based on existing drawing software includes the following steps:

[0007] S1. Use the polyline command in the existing drawing software to draw the outer contour of the required special-shaped aluminum plate, and use it as the input condition of the program;

[0008] S2. Click to start the aluminum plate drawing command, and click the outer contour line of the drawn aluminum plate. The program will prompt you to enter the thickness of the aluminum plate.

[0009] S3. After the aluminum plate thickness parameters are entered, the program will prompt whether the aluminum plate needs to be bent. At this time, the parameters for bending the aluminum plate can be entered;

[0010] S4. After entering all the parameters, the program will automatically draw the aluminum plate according to the input parameters, and fillet the corners and draw the folding line at each bend of the aluminum plate;

[0011] S5. After offsetting the outer polyline of the aluminum plate, you need to connect the corner points of the offset polyline and the outer polyline to draw a complete aluminum plate.

[0012] Furthermore, the procedure in S1 is as follows:

[0013] for (int i = 1; i < polyFold.NumberOfVertices - 1; i++)

[0014] {

[0015] Point3d pt3 = polyFold.GetPoint3dAt(i);

[0016] double minDist = double.MaxValue;

[0017] Point3d pt2 = pt3;

[0018] for (int j = 1; j < poly2.NumberOfVertices - 2; j++)

[0019] {

[0020] if (poly2.GetSegmentType(j) == SegmentType.Arc)

[0021] {

[0022] CircularArc3d arc = poly2.GetArcSegmentAt(j);

[0023] double dist1 = poly2.GetDistAtPoint(arc.StartPoint);

[0024] double dist2 = poly2.GetDistAtPoint(arc.EndPoint);

[0025] double distMid = (dist1 + dist2) / 2;

[0026] Point3d ptMid = poly2.GetPointAtDist(distMid);

[0027] double dist = ptMid.DistanceTo(pt3);

[0028] if (dist < minDist)

[0029] {

[0030] pt2 = ptMid;

[0031] minDist = dist;

[0032] }

[0033] }

[0034] }

[0035] Line line = new Line(pt2, pt3);

[0036] AcdCommandExecutor.AddEntity(line);

[0037] }

[0038] Furthermore, in S2, if the thickness of the aluminum plate is a positive number, the thickness will be offset inward, and if it is a negative number, the thickness will be offset outward. At the same time, the program will automatically offset the thickness of the aluminum plate according to the input parameters and automatically round the corners at the bending point of the aluminum plate.

[0039] Furthermore, in S3, the default value is 0, which means no bending is required. The program will automatically offset the polyline according to the input parameters and draw the outer folding line of the aluminum plate. At the same time, the program will prompt you to enter the minimum bending length, and the default value of the minimum bending length is 35mm.

[0040] Furthermore, the method of S5 is specifically as follows: traverse all the corner points of the offset polyline, select the nearest arc midpoint in the outer polyline for connection, and if the distance between the corresponding corner points is closer, select the corresponding corner point for connection.

[0041] Compared with the prior art, the present invention has the following beneficial effects:

[0042] The present invention is a secondary development based on the existing drawing software, so it is convenient, fast, simple and easy to learn. You can click the icon on the interface, and it also supports shortcut key command startup. After starting the command, you only need to select and enter the corresponding parameters according to the command prompt steps, and the program can instantly draw the aluminum plate cross-section shape required by the designer, which greatly improves work efficiency and accuracy and reduces a large amount of simple repetitive labor. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a program flow chart of the present invention. DETAILED DESCRIPTION

[0044] The following embodiments of the present invention are described in further detail in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0045] In the description of the present invention, unless otherwise specified, "plurality" means two or more than two; the orientations or positional relationships indicated by the terms "upper", "lower", "left", "right", "inner", "outer", "front end", "rear end", "head", "tail", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0046] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0047] Example:

[0048] In order to realize the function of quickly drawing complex special-shaped aluminum plate cross-sections, Python programming language is used for secondary development based on the existing drawing software, and the API (Application Programming Interface) of the drawing software is combined with the program to interact and realize the corresponding functions.

[0049] As attached Figure 1 As shown:

[0050] The present invention provides a method for quickly drawing a cross section of a special-shaped aluminum plate based on existing drawing software, comprising the following steps:

[0051] S1. Classify and summarize the aluminum plate systems of the project, mainly distributed in the roof parapet edge aluminum plate system and the first and second floor canopy aluminum plate system. Then use the polyline command in the existing drawing software to draw the outer contour line of the required special-shaped aluminum plate, and use it as the input condition of the program;

[0052] S2. Click to start the aluminum plate drawing command, and click the outer contour line of the drawn aluminum plate. The program will prompt you to enter the thickness of the aluminum plate.

[0053] S3. After the aluminum plate thickness parameters are entered, the program will prompt whether the aluminum plate needs to be bent. At this time, the parameters for bending the aluminum plate can be entered;

[0054] S4. After entering all the parameters, the program will automatically draw the aluminum plate according to the input parameters, and fillet the corners and draw the folding line at each bend of the aluminum plate;

[0055] S5. After offsetting the outer polyline of the aluminum plate, you need to connect the corner points of the offset polyline and the outer polyline to draw a complete aluminum plate.

[0056] The procedures in S1 are as follows:

[0057] for (int i = 1; i < polyFold.NumberOfVertices - 1; i++)

[0058] {

[0059] Point3d pt3 = polyFold.GetPoint3dAt(i);

[0060] double minDist = double.MaxValue;

[0061] Point3d pt2 = pt3;

[0062] for (int j = 1; j < poly2.NumberOfVertices - 2; j++)

[0063] {

[0064] if (poly2.GetSegmentType(j) == SegmentType.Arc)

[0065] {

[0066] CircularArc3d arc = poly2.GetArcSegmentAt(j);

[0067] double dist1 = poly2.GetDistAtPoint(arc.StartPoint);

[0068] double dist2 = poly2.GetDistAtPoint(arc.EndPoint);

[0069] double distMid = (dist1 + dist2) / 2;

[0070] Point3d ptMid = poly2.GetPointAtDist(distMid);

[0071] double dist = ptMid.DistanceTo(pt3);

[0072] if (dist < minDist)

[0073] {

[0074] pt2 = ptMid;

[0075] minDist = dist;

[0076] }

[0077] }

[0078] }

[0079] Line line = new Line(pt2, pt3);

[0080] AcdCommandExecutor.AddEntity(line);

[0081] }

[0082] Among them, in S2, if the thickness of the aluminum plate is a positive number, the aluminum plate will be offset inward, and if it is a negative number, the aluminum plate will be offset outward. At the same time, the program will automatically offset the thickness of the aluminum plate according to the input parameters, and automatically round the corners at the bending point of the aluminum plate.

[0083] Among them, in S3, the default value is 0, which means no bending is required. The program will automatically offset the polyline according to the input parameters and draw the outer folding line of the aluminum plate. At the same time, the program will prompt you to enter the minimum bending length, and the default value of the minimum bending length is 35mm.

[0084] The method of S5 is as follows: traverse all the corner points of the offset polyline, select the nearest arc midpoint in the outer polyline for connection, and if the distance between the corresponding corner points is closer, select the corresponding corner point for connection.

[0085] In summary, the present invention saves the logic of the designer drawing the special-shaped aluminum plate through a computer program, and then controls the shape of the cross section of the aluminum plate through the variable parameters therein, thereby achieving the purpose of rapid drawing.

[0086] The embodiments of the present invention are given for the purpose of illustration and description, and are not intended to be exhaustive or to limit the invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.

Claims

1. A method for quickly drawing the cross section of a special-shaped aluminum plate based on existing drawing software, characterized in that: The steps include: S1. Use the polyline command in the existing drawing software to draw the outer contour of the required special-shaped aluminum plate, and use it as the input condition of the program; S2. Click to start the aluminum plate drawing command, and click the outer contour line of the drawn aluminum plate. The program will prompt you to enter the thickness of the aluminum plate. S3. After the aluminum plate thickness parameters are entered, the program will prompt whether the aluminum plate needs to be bent. At this time, the parameters for bending the aluminum plate can be entered; S4. After entering all the parameters, the program will automatically draw the aluminum plate according to the input parameters, and fillet the corners and draw the folding line at each bend of the aluminum plate; S5. After the outer polyline of the aluminum plate is offset, the corner points of the offset polyline and the outer polyline need to be connected to draw a complete aluminum plate; In S2, if the thickness of the aluminum plate is a positive number, the aluminum plate will be offset inwards, and if it is a negative number, the aluminum plate will be offset outwards. At the same time, the program will automatically offset the thickness of the aluminum plate according to the input parameters, and automatically round the corners at the bends of the aluminum plate; In S3, the default value is 0, which means no bending is required. The program will automatically offset the polyline according to the input parameters and draw the outer edge line of the aluminum plate. At the same time, the program will prompt you to enter the minimum bending length, and the default value of the minimum bending length is 35mm. The method of S5 is specifically as follows: traverse all the corner points of the offset polyline, select the nearest arc midpoint in the outer polyline for connection, and if the distance between the corresponding corner points is closer, select the corresponding corner point for connection.

Citation Information

Patent Citations

  • Urban open cut tunnel cross section drawing method based on ObjectARX

    CN113139222A