A method for calculating and marking building green space area based on CAD

CN114186323BActive Publication Date: 2024-10-18CCTEG CHONGQING ENG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111539269.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-15
Publication Date
2024-10-18
Estimated Expiration
2041-12-15

AI Technical Summary

Technical Problem

该方案通过将面积线绘制在不同的图层上,由图层区分出不同的面积块,画图时的前期操作较繁杂,将面积线置于不同图层的做法也与大多数的面积线绘制标准不符合,在计算完面积后还需要重新调整图层以保证图形绘制符合规范,制图效率仍旧较低

Benefits of technology

[0010]本发明的工作原理及优点在于:绘制线条时按照预设颜色标准绘制成不同颜色的线条,并通过设计好的辅助制图程序自动计算绿地面积并作出标注,利用颜色自动判定区分线条类别,在计算面积时根据线条颜色一次性完成绿地类别线条的选取并据此确认待计算的绿地面积块,进而完成面积计算,以面积块为单位完成面积计算,整体计算具备系统性,操作简单,便捷性强,能有效提升用户的制图体验感。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114186323B_ABST
    Figure CN114186323B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of drawing auxiliary technology, and discloses a method for calculating and marking the building green area based on CAD, comprising the following steps: Step 1: Draw lines in CAD according to standard requirements; the standard requirements are to draw lines of different colors according to preset color standards; Step 2: Input preset instructions in CAD, and the preset instructions call the auxiliary drawing program preset in CAD; Step 3: Select the general plan in CAD; the general plan includes the lines drawn in step 1; Step 4: CAD executes the preset instructions; the auxiliary drawing program automatically determines the line category according to the line color, automatically selects the green area category line, and automatically confirms the green area block to be calculated according to the green area category line, and then calculates the green area and makes corresponding annotations. The present invention can quickly and accurately complete the calculation and annotation of the green area, is simple to operate, and is highly convenient, and can effectively improve the user's mapping efficiency and mapping experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drawing assistance, and in particular to a method for calculating and marking building green space area based on CAD. Background Art

[0002] In the process of architectural drawing, it is often necessary to calculate and mark the building area, green area, etc. In the process of calculating the building area, different area types are involved, such as overhead green space, platform green space, and the area of ​​green space that cannot be calculated 100%, so it is necessary to classify and calculate. In the current CAD software, there is no method to quickly calculate the area of ​​each functional area by partitioning. It is necessary to manually frame various green area lines and then perform manual calculations. The operation is complicated, there are many repetitive steps, the drawing efficiency is low, and the drawing experience is poor.

[0003] An existing method for calculating the shared area of ​​residential buildings based on CAD is to establish a layer database in CAD, name each layer by grouping and classification, outline each functional area box in the building in CAD, place each functional area box in a different layer, and then execute the calculation instruction, select the green area box of each layer in CAD, and then perform manual calculation. This solution draws area lines on different layers, and distinguishes different area blocks by layers. The preliminary operation of drawing is complicated, and the practice of placing area lines on different layers is also inconsistent with most area line drawing standards. After calculating the area, the layers need to be readjusted to ensure that the graphics drawing meets the specifications, and the drawing efficiency is still low. Summary of the invention

[0004] The present invention aims to provide a CAD-based building green space area calculation and marking method, which can quickly and accurately complete the green space area calculation and marking, is simple to operate, highly convenient, and can effectively improve the user's mapping experience.

[0005] The basic solution provided by the present invention is: a method for calculating and marking the building green space area based on CAD, comprising the following steps:

[0006] Step 1: Draw lines in CAD according to standard requirements; the standard requirements are to draw lines of different colors according to preset color standards;

[0007] Step 2: Enter the preset command in CAD, and the preset command calls the auxiliary drawing program preset in CAD;

[0008] Step 3: Select the general plan in CAD; the general plan includes the lines drawn in step 1;

[0009] Step 4: CAD executes preset instructions; the auxiliary drawing program automatically determines the line category according to the line color, automatically selects the green space category line, automatically confirms the green space area block to be calculated based on the green space category line, calculates the green space area and makes corresponding annotations.

[0010] The working principle and advantages of the present invention are as follows: when drawing lines, lines of different colors are drawn according to preset color standards, and the green area is automatically calculated and marked through a designed auxiliary mapping program, and the line categories are automatically determined and distinguished by color. When calculating the area, the green category lines are selected at one time according to the line colors, and the green area blocks to be calculated are confirmed accordingly, and then the area calculation is completed. The area calculation is completed in units of area blocks. The overall calculation is systematic, simple to operate, and highly convenient, which can effectively enhance the user's mapping experience.

[0011] Although the original CAD has the function of area calculation, for draftsmen, especially for draftsmen in the field of architecture, the existing area calculation function is insufficient, probably because the original CAD cannot quickly complete the selection of different area lines, and can only rely on tedious operations such as repeated manual clicks or repeated line selections to complete the selection of area lines before the area calculation can be performed. This solution makes up for the defect of low efficiency in area calculation caused by the inability to quickly complete the selection of different area lines in the original CAD, resulting in low drawing efficiency. It can automatically calculate the green area through a single command and a simple full-picture frame selection, greatly improving the drawing efficiency and drawing experience.

[0012] Moreover, compared with the prior art method of drawing area lines on different layers and calculating the area separately on a single layer basis, this solution uses line color as the distinguishing standard. In actual mapping, changing the line color is more convenient and faster than placing it on different layers, and the mapping efficiency is higher. Moreover, too many layers will lead to inconvenience in drawing and poor distinction. When there are too many lines, it is impossible to confirm the corresponding layer of the lines. It is also easy to forget to switch layers when drawing, so that the lines of a single layer are incomplete or there are redundant lines, and the correct area cannot be calculated. It will also take a lot of time to confirm or modify the line layer later. However, this solution does not have the above problems. There are no additional requirements for layer settings. Lines of different colors are highly distinguishable, and the line type can be clearly displayed. It can also effectively prompt the cartographer. If there is a mapping error, it is easy to trace the source intuitively according to the color of the line.

[0013] In addition, this solution complies with most area line drawing standards, and cleverly applies standards to distinguish line types, defines different area blocks by color, and extracts area blocks by color to quickly complete calculations during calculations, achieving automatic selection and replacing manual selection. This ensures that mapping complies with specifications while effectively improving mapping efficiency and has strong adaptability.

[0014] Further, in step 4, the green area includes overhead green area, platform green area and solid green area.

[0015] This method can calculate the green area of ​​various categories according to the correspondence of lines of different colors. The calculation is comprehensive and multiple green area data can be obtained at one time. The area calculation efficiency is high.

[0016] Further, in step 1, the lines include green space category lines; the green space category lines include green space range boundary lines.

[0017] This setting makes it easier for auxiliary mapping programs to identify the boundaries of green space to ensure the accuracy of green space area calculations.

[0018] Further, in step 2, the auxiliary drawing program is written in AUTOLIS0P language.

[0019] AUTOLIS0P language is a programming language embedded in CAD. It is a programming language specially designed for CAD secondary development. It uses table structure to express non-numerical calculation problems. The implementation technology is simple, which can greatly simplify programming and design, saving time and energy. The auxiliary drawing program written in AUTOLIS0P language has better adaptability with CAD, and the overall method is more reliable.

[0020] Furthermore, in step 4, the corresponding marked content includes the area of ​​each green space and the number of each green space.

[0021] With this setting, the annotation content is complete and can effectively assist cartographers to quickly complete the confirmation of green space related data.

[0022] Further, in step 1, the preset color standard includes that the solid earth green space is drawn in color No. 3; the overhead green space is drawn in color No. 150, color No. 60 or color No. 20, wherein the area of ​​the overhead green space drawn in color No. 150 is calculated as 100% of its drawn area, the area of ​​the overhead green space drawn in color No. 60 is calculated as 60% of its drawn area, and the area of ​​the overhead green space drawn in color No. 20 is calculated as 20% of its drawn area; the deduction area block is drawn in color No. 161.

[0023] This setting establishes a relatively complete preset color standard for green space drawing, and stipulates different overhead green space situations and area blocks that need to be deducted. When the green space area is subsequently calculated, the area data obtained is more reliable.

[0024] Furthermore, in step 4, the auxiliary drawing program calls the area calculation function of CAD to perform calculations when calculating the green area.

[0025] With this setting, area calculation is still completed using CAD's built-in functions. While making full use of existing computing resources, it can effectively reduce the workload of auxiliary drawing programs and help improve the work efficiency of auxiliary drawing programs.

[0026] Furthermore, the method also includes step 5: CAD automatically outputs all green area data and total green area ratio data.

[0027] This setting makes it easy for cartographers to quickly extract area and greening rate data, and then generate standard green area data tables in software such as Excel. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 The present invention is a method flow chart of a method for calculating and marking building green space area based on CAD in Embodiment 1. DETAILED DESCRIPTION

[0029] The following is a further detailed description through specific implementation methods:

[0030] Embodiment 1:

[0031] The embodiment is basically as shown in the attached Figure 1 As shown: A method for calculating and marking the building green area based on CAD, comprising the following steps:

[0032] Step 1: Draw lines in CAD according to standard requirements; the standard requirements are to draw lines of different colors according to preset color standards. Specifically, the lines include green space category lines; the green space category lines include green space range boundary lines. In this embodiment, the green space category lines include overhead green space range boundary lines, solid green space range boundary lines, and platform green space range boundary lines.

[0033] The preset color standard is set with reference to the color standard of architectural graphics entities in the national mapping standard. In particular, the solid green space is drawn in color No. 3; the overhead green space is drawn in color No. 150, color No. 60 or color No. 20, wherein the area of ​​the overhead green space drawn in color No. 150 is calculated as 100% of its drawn area, the area of ​​the overhead green space drawn in color No. 60 is calculated as 60% of its drawn area, and the area of ​​the overhead green space drawn in color No. 20 is calculated as 20% of its drawn area; the deduction area block is drawn in color No. 161. Among them, the color numbers No. 3, No. 150, No. 60 and other color numbers are all color number contents contained in CAD. This solution selects the above color numbers as the preset color standard color numbers, specifies the drawing standards of different types of green space, and distinguishes them in detail, so that the subsequent auxiliary mapping program can distinguish the calculation range of different green spaces to ensure the accuracy of the green space area calculation. Moreover, in terms of color selection, the regulations in the existing architectural graphic entity color standards are effectively circumvented. The green space lines will not have color duplication or color conflicts with other lines, ensuring that the green space category lines can be effectively confirmed and that the auxiliary drawing program will not make misjudgments when making decisions.

[0034] Step 2: Enter the preset instructions in CAD, and the preset instructions call the auxiliary drawing program preset in CAD.

[0035] In this embodiment, the preset instruction is set to LD instruction. After the drafting personnel inputs the LD instruction in CAD, the auxiliary drawing program is in working state. Among them, the auxiliary drawing program is written in AUTOLISP language and can be well compatible with CAD.

[0036] Step 3: Select the general plan in CAD; the general plan includes the lines drawn in step 1.

[0037] Step 4: CAD executes preset instructions; the auxiliary drawing program automatically determines the line category according to the line color, automatically selects the green space category line, automatically confirms the green space area block to be calculated based on the green space category line, calculates the green space area and makes corresponding annotations. Specifically, the green space area includes the overhead green space area, platform green space area and solid green space area.

[0038] Specifically, when the auxiliary drawing program automatically calculates the green area, it first analyzes the colors of all the lines in the general plan, extracts the green category lines drawn according to the preset color standard, and forms different green area blocks according to different green categories. Among them, the determination of the green category is also based on the color. After confirming the green area block, the auxiliary drawing program will call the area calculation function of CAD for calculation, and then extract the calculation results of CAD and automatically output and display them in the form of annotation. Specifically, the corresponding annotation content includes the area of ​​each green space and the number of each green space, and the annotation content is correspondingly marked in each green space.

[0039] The present embodiment provides a method for calculating and marking the area of ​​building green space based on CAD. The line color is used as the distinguishing standard. The auxiliary drawing program automatically extracts the lines according to the line color, automatically determines the area block and calculates the area. The present solution saves the preparation steps of area calculation that previously required repeated selection or drawing of auxiliary lines manually. The drawing standard during electronic drawing is cleverly applied. Different area lines are distinguished and confirmed by color. Automatic selection is completed by color to replace manual selection. This greatly saves the cost of human operation and can effectively improve the drawing efficiency. Compared with the method of using layer distinction to calculate the area separately in the prior art, the method of the present solution is more in line with the actual drawing rules, more convenient to operate during drawing, and will not affect the drawing of the overall graphics. At the same time, the color distinction is stronger, which can remind the drawing personnel to a certain extent whether the drawing is correct or not.

[0040] Embodiment 2:

[0041] A method for calculating and marking building green space area based on CAD, based on the first embodiment, further comprising the following steps:

[0042] Step 5: CAD automatically outputs all green area data and total green area ratio data.

[0043] Specifically, the auxiliary drawing program calls the calculation function of CAD to calculate the total green area ratio, and outputs all green area data and total green area ratio data, which are directly displayed in the drawing interface in the form of text. Cartographers can directly obtain green area ratio data, and can directly copy and paste green area data and total green area ratio data for subsequent other operations, which makes drawing more efficient.

[0044] The CAD-based building green area calculation and annotation method provided in this embodiment, compared with Example 1, adds an output step of all green area data and green rate data, which can provide richer and more complete green space-related calculation data, and is convenient for subsequent rapid generation of green area data tables with the help of Excel and other software. Compared with the method in the prior art that requires cartographers to calculate the green rate separately, this solution has higher calculation efficiency and better mapping experience.

[0045] The above is only an embodiment of the present invention. The common sense such as the known specific structure and characteristics in the scheme is not described in detail here. The ordinary technicians in the relevant field know all the common technical knowledge in the technical field of the invention before the application date or priority date, can obtain all the existing technologies in the field, and have the ability to apply the conventional experimental means before that date. The ordinary technicians in the relevant field can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for ordinary technicians in the relevant field to implement this application. It should be pointed out that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can be made, which should also be regarded as the protection scope of the present invention, which will not affect the effect of the implementation of the present invention and the practicality of the patent. The protection scope required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.

Claims

1. A method for calculating and marking building green space area based on CAD. It is characterized in that The following steps are involved: Step 1: Draw lines in CAD according to standard requirements; the standard requirements are to draw lines of different colors according to preset color standards; Step 2: Enter the preset command in CAD, and the preset command calls the auxiliary drawing program preset in CAD; Step 3: Select the general plan in CAD; the general plan includes the lines drawn in step 1; Step 4: CAD executes preset instructions; the auxiliary drawing program automatically determines the line category according to the line color, automatically selects the green space category line, automatically confirms the green space area block to be calculated based on the green space category line, calculates the green space area and makes corresponding annotations; In step 1, the preset color standard includes that the solid earth green space is drawn in color No. 3; the overhead green space is drawn in color No. 150, color No. 60 or color No. 20, among which the area of ​​the overhead green space drawn in color No. 150 is calculated as 100% of its drawn area, the area of ​​the overhead green space drawn in color No. 60 is calculated as 60% of its drawn area, and the area of ​​the overhead green space drawn in color No. 20 is calculated as 20% of its drawn area; the deduction area block is drawn in color No.

161.

2. According to the CAD-based building green space area calculation and marking method described in claim 1, It is characterized in that In step 4, the green area includes the overhead green area, the platform green area and the solid green area.

3. According to the CAD-based building green space area calculation and marking method described in claim 2, It is characterized in that In step 1, the lines include green space category lines; the green space category lines include green space range boundary lines.

4. The method for calculating and marking building green space area based on CAD according to claim 1, It is characterized in that In step 2, the auxiliary drawing program is written in AUTOLIS0P language.

5. According to the CAD-based building green space area calculation and marking method described in claim 4, It is characterized in that In step 4, the corresponding marked content includes the area of ​​each green space and the number of each green space.

6. The method for calculating and marking building green space area based on CAD according to claim 5, It is characterized in that In step 4, the auxiliary drawing program calls the area calculation function of CAD to calculate the green area.

7. The method for calculating and marking building green space area based on CAD according to claim 5, It is characterized in that Also included is step 5: CAD automatically outputs all green area data and total green area ratio data.

Citation Information

Patent Citations

  • Engineering drawing wall body identification method, device and electronic equipment

    CN109308386A

  • Architectural planar graph display method and related equipment

    CN113590859A