CAD (computer-aided design)-based door and window detail drawing generation method and device and related components

Through the CAD-based door and window details generation method, key blocks in the floor plan are identified and verified, and ventilation and lighting verification are automatically carried out, which solves the problem of low production efficiency of door and window details in the existing technology, and achieves a more efficient and accurate design process.

CN120217495APending Publication Date: 2025-06-27ZHUBO DESIGN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510263234.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

The production efficiency of existing door and window details is low. Designers need to manually divide door and window styles, calculate room area and ventilation and lighting area, which increases work burden and error risk.

Method used

The CAD-based door and window details generation method is adopted. By obtaining the floor plan input by the user, verifying its regularity, identifying the frame blocks, door and window number blocks, room name blocks and area line blocks, confirming the floor plane participating in ventilation and lighting verification, and filtering the door and window styles that meet ventilation and lighting verification from the database based on the input basic parameters, performing ventilation and lighting verification, and generating door and window details and tables.

Benefits of technology

It improves the productivity of door and window details, reduces the work burden of designers, reduces the risk of errors, and ensures the accuracy and consistency of the design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120217495A_ABST
    Figure CN120217495A_ABST
Patent Text Reader

Abstract

The invention discloses a door and window detail drawing generation method and device based on CAD and related components. The method comprises the steps that a plane drawing input by a user is acquired; verifying whether the plane drawing accords with a preset rule; if the plane drawing accords with the preset rule, identifying a drawing frame block, a door and window number block, a room name block and an area line block which accord with the preset rule in the plane drawing; acquiring basic parameters input by a user according to the project condition; according to the picture frame blocks, the door and window number blocks, the room name blocks, the area line blocks and the basic parameters, door and window styles meeting ventilation and lighting are screened from the database, and ventilation and lighting checking calculation is conducted on all rooms according to specification requirements; and if the ventilation and lighting of each room pass checking calculation, exporting a checking calculation table and generating a door and window detail drawing and a door and window table. By identifying the plane drawing, checking calculation of ventilation and lighting can be automatically carried out, meanwhile, door and window styles conforming to ventilation and lighting can be screened, door and window detailed drawings and door and window tables are output, and the production efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of building structure design, and particularly relates to a method, device and related components for generating door and window detail drawings based on CAD. Background Art

[0002] In the stage of architectural construction drawing design, the large-scale drawings of building doors and windows play a crucial role. It is an essential part to ensure the construction accuracy and the realization of design intentions. When architectural designers conceive and plan the building appearance and internal space, they often need to accurately express the specifications, styles and manufacturing processes of doors and windows, so that door and window design units and door and window manufacturers can accurately understand and carry out production and installation accordingly. Therefore, the large-scale drawings of doors and windows become a bridge between designers and actual construction, and their accuracy and integrity directly affect the overall quality and function realization of the building.

[0003] However, in the current working mode, the process of drawing large-scale drawings of doors and windows is relatively cumbersome and inefficient. The traditional process requires that after the building plan is finalized, designers need to manually divide the door and window styles one by one according to the door and window numbers. This step not only takes time and effort, but also is prone to errors due to human factors. Then, designers also need to manually calculate the room area and the opening ventilation area of doors and windows. These data are the basis for subsequent ventilation, lighting and energy conservation calculations. In this process, a large amount of calculation work not only increases the workload of designers, but also raises the risk of errors.

[0004] After completing the cumbersome calculation work, designers also need to check the ventilation and lighting performance and energy conservation effect of doors and windows according to a certain formula. This step is crucial for ensuring that the building meets relevant building codes and energy conservation requirements. However, due to the large amount of calculation and the complex process, it often becomes a key factor restricting the design efficiency. Once the check fails, designers need to go back to the previous steps for modification, which undoubtedly further prolongs the design cycle.

[0005] After completing all the checks and confirming that there are no errors, designers can start drawing the detail drawings of doors and windows. This process also requires a high degree of accuracy and professionalism to ensure that the actual production and installation of doors and windows can be consistent with the design intentions. Summary of the Invention

[0006] The purpose of the present invention is to provide a method, device and related components for generating door and window detail drawings based on CAD, aiming to solve problems such as low production efficiency of existing door and window detail drawings.

[0007] In a first aspect, an embodiment of the present invention provides a method for generating door and window detail drawings based on CAD, including:

[0008] Obtain the plane drawing input by the user;

[0009] Verify whether the plane drawing complies with the predetermined rules;

[0010] If the plane drawing complies with the predetermined rules, identify the frame blocks, door and window number blocks, room name blocks, and area line blocks that comply with the predetermined rules in the plane drawing;

[0011] Confirm the floor plan participating in the ventilation and daylighting calculation;

[0012] Obtain the basic parameters input by the user according to the project situation;

[0013] Screen the door and window styles that meet the ventilation and daylighting requirements from the database according to the frame blocks, door and window number blocks, room name blocks, area line blocks, and basic parameters of the floor plan, and perform ventilation and daylighting calculations on each room of the floor plan according to the specification requirements;

[0014] If the ventilation and daylighting of each room on the floor plan pass the calculation, export the calculation form of the floor plan and generate door and window detail drawings and door and window tables.

[0015] In a second aspect, an embodiment of the present invention provides a CAD-based door and window detail drawing generation device, including:

[0016] A drawing acquisition unit for acquiring the plane drawing input by the user;

[0017] A verification unit for verifying whether the plane drawing complies with the predetermined rules;

[0018] An identification unit for identifying the frame blocks, door and window number blocks, room name blocks, and area line blocks that comply with the predetermined rules in the plane drawing if the plane drawing complies with the predetermined rules;

[0019] A confirmation unit for confirming the floor plan participating in the ventilation and daylighting calculation;

[0020] A parameter acquisition unit for acquiring the basic parameters input by the user according to the project situation;

[0021] A calculation unit for screening the door and window styles that meet the ventilation and daylighting requirements from the database according to the frame blocks, door and window number blocks, room name blocks, area line blocks, and basic parameters of the floor plan, and performing ventilation and daylighting calculations on each room of the floor plan according to the specification requirements;

[0022] A generation unit for exporting the calculation form of the floor plan and generating door and window detail drawings and door and window tables if the ventilation and daylighting of each room on the floor plan pass the calculation.

[0023] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method for generating door and window detail drawings based on CAD described in the above first aspect is implemented.

[0024] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, in which the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating door and window detail drawings based on CAD described in the above first aspect is implemented.

[0025] The present invention discloses a method, device and related components for generating door and window detail drawings based on CAD. The method includes: obtaining a plane drawing input by a user; verifying whether the plane drawing conforms to a predetermined rule; if the plane drawing conforms to the predetermined rule, identifying the drawing frame block, door and window number block, room name block and area line block that conform to the predetermined rule in the plane drawing; confirming the floor plan participating in the ventilation and daylighting calculation; obtaining basic parameters input by the user according to the project situation; screening door and window styles that meet ventilation and daylighting requirements from a database according to the drawing frame block, door and window number block, room name block, area line block and basic parameters of the floor plan, and performing ventilation and daylighting calculations on each room of the floor plan according to specification requirements; if the ventilation and daylighting of each room of the floor plan passes the calculation, exporting the calculation table of the floor plan and generating door and window detail drawings and door and window tables. By identifying the relevant door and window numbers, room names, contour information and area lines of the plane drawing that conform to the corresponding rules, the present invention can automatically perform ventilation and daylighting calculations according to the identified information, recommend door and window styles that meet ventilation and daylighting requirements, and output door and window detail drawings and door and window tables, greatly improving production efficiency. Embodiments of the present invention also provide a device for generating door and window detail drawings based on CAD, a computer-readable storage medium and a computer device, which have the above beneficial effects and will not be elaborated here. Description of the Drawings

[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0027] Figure 1 It is a flowchart of the method for generating door and window detail drawings based on CAD;

[0028] Figure 2 It is another flowchart of the method for generating door and window detail drawings based on CAD;

[0029] Figure 3 Schematic diagram of basic parameters;

[0030] Figure 4 Schematic block diagram of a CAD-based window and door detail drawing generation device. Specific embodiments

[0031] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0032] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0033] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in this specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.

[0034] It should be further understood that the term "and / or" used in this specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0035] Please refer to Figure 1 and Figure 2 , this embodiment provides a CAD-based window and door detail drawing generation method, including:

[0036] S101: Obtain the plane drawing input by the user;

[0037] In this embodiment, before obtaining the plane drawing input by the user, it includes:

[0038] Lock the basic component units of the doors and windows to form a basic library of doors and windows;

[0039] Reverse-exhaustively list various sizes and types of door shapes to form a door shape library;

[0040] Reverse-exhaustively list various sizes and types of window shapes to form a window shape library;

[0041] Integrate the basic library of doors and windows, the door shape library, and the window shape library to obtain a database.

[0042] Complete these operations before obtaining the floor plan input by the user. When designing doors and windows later, designers do not need to conceive the component composition, size and type of doors and windows from scratch. They can directly select appropriate elements from the library, which greatly reduces the design time. Improvement, by locking the basic component units of doors and windows, exhaustively enumerating the sizes and types of door and window types, and integrating and building libraries, a unified specification is established for door and window design. This standardization avoids differences and conflicts in door and window design and ensures the overall quality of the project.

[0043] S102: Verify whether the plan drawing complies with a predetermined rule;

[0044] Specifically, the reservation rules include:

[0045] The plan drawing has a nested drawing frame and is defined as a CAD block, and the block name contains the drawing frame;

[0046] The room area and apartment outline in the floor plan are in separate blocks, and the block name includes the area line;

[0047] The room names and apartment numbers in the floor plan are in separate blocks, and the block names include the room names;

[0048] The door and window numbers in the plan drawing are in separate blocks, and the block names include the door and window numbers, and the door and window numbers comply with the preset numbering rules.

[0049] By clearly defining the block format and naming rules for various types of information, design tools can accurately locate and extract the required data. When performing ventilation and lighting verification, the software can quickly identify the frame to determine the floor information, obtain the room area data based on the "area line" block, and read the door and window size and type information based on the "door and window number" block, avoiding recognition errors caused by inconsistent information formats, greatly improving the accuracy of data extraction, and ensuring the reliability of design calculations.

[0050] In this embodiment, when the plan drawing is nested in a drawing frame and defined as a CAD block, and the block name contains a drawing frame, the following requirements need to be met: First, when operating a single-layer plan drawing or a multi-layer plan drawing with a set of door and window numbers, each layer of the plan drawing should be enclosed in a drawing frame; secondly, the name of the layer where the drawing frame is located should contain the two Chinese characters "drawing frame", such as "A-drawing frame" or "standard drawing frame"; in addition, the drawing name in the drawing label should include floor information: such as floor plan of floor X, Building XX; in addition, the drawing frame does not have to use a standard drawing frame, but should be in a block format and cannot be identified for reference for the time being.

[0051] Each floor plan is enclosed by a drawing frame and its name contains "drawing frame", which facilitates quick screening and positioning of specific drawing frames among a large number of drawing files. When a large construction project contains hundreds or thousands of drawings, by searching for the keyword "drawing frame", all the content related to the drawing frames can be quickly found, improving the efficiency of drawing management. At the same time, it is stipulated that the name of the layer where the drawing frame is located contains "drawing frame", providing a clear identification mark for the system. When performing operations related to door and window design, such as ventilation and daylighting calculation and generation of door and window details, the system can accurately locate the drawing frame based on this specification, accurately obtain relevant information such as the floor of the drawing, ensuring the smooth progress of the subsequent design process and reducing calculation errors or design deviations caused by incorrect identification of the drawing frame.

[0052] In this embodiment, when separating the floor area within the room and the household type contour line into individual blocks with the block name containing "area line", the following requirements need to be met: There is only one block per floor, and the area lines of different household types can be included in one drawing block; Secondly, the block name should contain the three characters "area line", such as "area line" and "area line of XX floor", etc.; In addition, two types of line types need to be distinguished in the block: One is the room area line, which is recommended to be drawn with a solid line; The other is the household type contour, used to distinguish the different ownership of rooms with the same name. For example, for rooms with the same name of kitchen that belong to Type A and Type B household types respectively, it is recommended to be drawn with a dashed line; In addition, rooms and areas of non-residential household types can also be divided by drawing the household type contour line, and the corresponding names need to be marked in the room name block. With contours and names, the next step is to group doors and windows according to the area. If not drawn and distinguished, it will be automatically classified as "unpartitioned space".

[0053] Separating the floor area within the room and the household type contour line into individual blocks and standardizing the naming enables the system to accurately locate and extract area data. When performing ventilation and daylighting calculations, the area information of each room can be quickly obtained, providing an accurate basis for calculating the ventilation and daylighting ratios. For example, when calculating the proportion of ventilation area of each room on a certain floor, data can be quickly extracted from the "area line of XX floor" drawing block, improving the calculation efficiency and accuracy and avoiding design mistakes caused by incorrect data extraction.

[0054] In this embodiment, when separating the room names and unit type numbers in the floor plan into individual blocks and the block name contains the room name, the following requirements need to be met: Only one block is required for each floor, and the room names and unit type numbers on the same floor can be included in one block; Secondly, the block name should contain the four characters "room name", such as "room name" or "room name of XX unit type", etc.; In addition, the block should contain the room name corresponding to the room area line (such as living room, dining room, balcony, core tube, public area, etc.) and the unit type number corresponding to the unit type outline. The unit type number should include the two characters "unit type" (such as unit type A, unit type C2, etc.), and the system will automatically recognize it through the two characters "unit type"; In addition, the text in the block can be cad single-line text and cad multi-line text, or Tianzheng single-line text and Tianzheng multi-line text. Recognition of text in nested blocks, attribute blocks, and T3-disconnected text is not supported for the time being.

[0055] Integrating the room names and unit type numbers on the same floor into a block named containing "room name" facilitates the unified management of spatial information within the floor. When processing the drawings of complex building projects, designers can quickly find all the room and unit type information on a specific floor without having to search through a large number of drawing elements one by one, reducing the information search time and improving work efficiency.

[0056] In this embodiment, when separating the door and window numbers in the floor plan into individual blocks and the block name contains the door and window numbers, the following requirements need to be met: Only one block is required for each floor, and the room names and unit type numbers on the same floor can be included in one block; Secondly, the block name should contain the four characters "door and window numbers", such as "door and window numbers of XXX floor" or "door and window numbers 1", etc.; In addition, the text in the block can be cad single-line text and cad multi-line text, or Tianzheng single-line text and Tianzheng multi-line text. Recognition of text in nested blocks, attribute blocks, and T3-disconnected text is not supported for the time being; In addition, the door and window numbers in the block should comply with the door and window number rules in Table 1. The door and window number plug-in outside the block is not read.

[0057] Concentrating the door and window numbers on the same floor in a block named containing "door and window numbers" facilitates the design tool to quickly locate and read the door and window number information. When performing operations such as ventilation and daylighting calculation, door and window quantity statistics, and door and window detail drawing generation, the system can accurately identify the number of each door and window, avoiding recognition errors caused by scattered numbers or inconsistent formats, and ensuring the accuracy of subsequent design calculations.

[0058] Among them, the door and window number rules are shown in Table 1. The currently listed door and window types include flat windows, bay windows, sliding windows, sliding doors, French windows, corner windows, fire windows, fixed windows, and non-opening doors and windows on the refuge floor.

[0059] Table 1

[0060]

[0061]

[0062] It should be noted that when there are fractional numbers in the window and door number sizes, a suffix expression method is added (consistent with the standardization requirements): for fractional width numbers, the suffix is "a"; for fractional height numbers, the suffix is "b"; for both fractional height and width numbers, the suffix is "c".

[0063] For example, if the size of a certain door opening is 1050*2100, the number should be: M1021a;

[0064] If the size of a certain door opening is 1000*2150, the number should be: M1021b;

[0065] If the size of a certain door opening is 1050*2150, the number should be: M1021c.

[0066] S103: If the said plane drawing conforms to the predetermined rules, then identify the drawing frame blocks, door and window number blocks, room name blocks, and area line blocks in the plane drawing that conform to the predetermined rules;

[0067] S104: Confirm the floor plan participating in the ventilation and daylighting calculation;

[0068] Specifically, frame the floor plan participating in the ventilation and daylighting calculation, and click on the position of the drawing name in any drawing frame, so as to confirm the floor plan participating in the ventilation and daylighting calculation. Then, the system will automatically extract relevant building data according to the selected floor plan for subsequent ventilation and daylighting calculations.

[0069] S105: Obtain the basic parameters input by the user according to the project situation;

[0070] Specifically, please refer to Figure 3 , the basic parameters include: the height of the lower horizontal bar of the bay window, the height of the ordinary window sill, the height of the bay window sill, the storey height, and the ventilation calculation principle.

[0071] Among them, the height of the lower horizontal bar of the bay window is the height from the upper side of the lower horizontal bar to the lower edge of the opening. The height of the ordinary window sill is the height from the lower edge of the opening to the storey height line. The height of the bay window sill is the height from the lower edge of the bay window opening to the storey height line. The storey height is the height between two floors.

[0072] In this embodiment, the ventilation calculation principle includes: calculating according to the actual size of the opening fan or calculating by 0.8 times the size of the middle bar.

[0073] Specifically, calculating according to the actual size of the opening fan includes: calculating the opening fan according to the actual opening size, that is, the area of a single opening fan = the width × height of the actual opening fan.

[0074] Calculation based on 0.8 times the size of the center stile includes: the opening slat is calculated as 0.8 times the centerline outline of the center stile of the door and window. In the figure, the area of ​​a single opening slat = (actual opening slat width + 50mm) × (actual opening slat height + 50mm) × 0.8.

[0075] S106: Filtering door and window styles that meet ventilation and lighting requirements from a database according to the frame block, door and window number block, room name block, area line block and basic parameters of the floor plan, and performing ventilation and lighting verification calculations for each room on the floor plan according to specification requirements;

[0076] In this embodiment, door and window styles that meet the requirements of ventilation and lighting are screened from the database based on the frame block, door and window number block, room name block, area line block and basic parameters of the floor plan, and ventilation and lighting calculations are performed on each room on the floor plan according to the specifications, and then the room ventilation and lighting calculation table will be displayed according to the floor type.

[0077] In the search bar at the top of the ventilation and lighting calculation table, you can enter data to perform a fuzzy query on the "Door and Window Number" column in the table. The query results will bring out the rooms where the doors and windows that meet the conditions are located, and display the door and window information of the room. The input box is not case-sensitive.

[0078] Furthermore, in the ventilation and lighting calculation table, the floor, apartment type, room name, door and window number in the ventilation and lighting calculation table are automatically identified from the frame block, room name block, and door and window number block in the previous floor plan preparation; and the floor and apartment type columns cannot be modified, the floor column is sorted from small to large according to the floor number, and the apartment type column on the same floor is sorted from small to large according to the apartment type number; the door and window number column data can be modified.

[0079] Furthermore, in the ventilation and lighting accounting table, the new door and window number column cannot be manually edited. The initial data of the new door and window number is consistent with the door and window number by default. When the door and window number is edited (for example, the door and window type and opening size are modified), the new door and window number will be automatically adjusted to be consistent with the door and window number column; when the style picture, opening sash width or opening / fixing of the door and window is modified, the new door and window number will have two adjustment results depending on whether the unified modification of all windows with the same number is checked: if the unified modification of all windows with the same number is not checked, the style picture, opening sash width or opening / fixing of the door and window is modified, and the doors and windows with the same number in the table will automatically add the suffix "_1" and "_2" in the new door and window number column to distinguish the modification results; when the unified modification of all windows with the same number is checked, the doors and windows with the same number are modified in conjunction, and the style picture, opening sash width, and opening / fixing of the doors and windows will remain consistent.

[0080] Furthermore, in the ventilation and daylighting calculation form, the "Type" column shows the result of the system identifying the window and door types based on the window and door numbers. The system identification rules correspond to the window and door numbering rules in the drawing preparation. Types that do not conform to the rules are classified as "unidentifiable"; after the window and door numbers are modified, the data in the "Type" column is automatically synchronized and updated; currently, the "Type" column includes: casement window, bay window, sliding door, sliding window, corner window, and ordinary door.

[0081] Furthermore, in the ventilation and daylighting calculation form, the initial data in the "Inner Door / Outer Door" column is identified and determined by the system according to certain rules and can be modified; among them, inner windows and doors do not participate in the ventilation and daylighting calculation; when switching between inner and outer windows and doors, the ventilation area of the room will be automatically recalculated, and the data in the ventilation check column will be synchronized and updated without changing the drawing; if it does not conform to the window and door numbering rules, switching the inner and outer doors is invalid.

[0082] Furthermore, in the ventilation and daylighting calculation form, the style picture options are automatically generated based on the window and door numbers and the system-built style recommendation logic. The first style is recommended by default, and different styles can be selected; after switching the style picture column options, the data in each column such as the width of the opening sash, the number of grids, the grid number, opening / fixed, width, height, window sash area, and ventilation check in the subsequent list table will be synchronized and updated according to the selected style.

[0083] When the window and door numbers are modified (i.e., the window and door types and the opening sizes are modified), the data in the style picture column will be re-recommended and updated according to the rules.

[0084] Furthermore, in the ventilation and daylighting calculation form, the data in the three columns of "Opening Width", "Opening Height", and "Opening Area" are automatically filled in and calculated by the system according to the window and door numbers; after the window and door numbers are modified, the data in these three columns will also be synchronized and updated.

[0085] Furthermore, in the ventilation and daylighting calculation form, the value of the opening sash width is default set by the system as 650mm and can be modified; after switching the style pictures in the front columns of the table, the value of the opening sash width will be automatically updated; after the opening sash width is modified, the ventilation area of the room will be automatically checked and updated, and the width, height, window sash area, etc. of each divided window sash will be modified synchronously; it should be noted that when the data of the opening sash width is empty under certain window and door styles, modification is not supported, such as single-sash casement windows (the relationship between the opening window width and the opening is fixed), sliding windows and doors, or when the window and door type cannot be identified.

[0086] Further, in the ventilation and daylighting calculation form, the six columns of data, namely the number of grids, grid numbers, open / fixed, width, height, and window sash area, are automatically generated based on the selected style picture in the previous column. After the style picture is switched, these six columns of data will be automatically updated; when the width of the opening sash is modified, the width, height, and window sash area will be automatically updated; among them, the open / fixed column can be manually modified, and after the open / fixed column is modified, the room area and ventilation check in the subsequent columns will be automatically updated; it should be noted that in the following two cases, the data in the open / fixed column is empty or not allowed to be modified:

[0087] 1) When the door and window type cannot be recognized, the data in the open / fixed column will be empty;

[0088] 2) For certain specific types of door and window styles, the open / fixed column is not allowed to be modified, such as single-sash casement windows.

[0089] Further, in the ventilation and daylighting calculation form, the room area is automatically calculated and filled in by the system by recognizing the area line blocks in the drawing and does not support modification.

[0090] In this embodiment, the ventilation and daylighting checks for each room on the floor plan according to the specification requirements include:

[0091] The ratio of the sum of the opening areas of all external doors and windows in the room to the room area is not less than 1 / 7;

[0092] Kitchens and bathrooms are not involved in the daylighting check;

[0093] For rooms other than kitchens, the ventilation area is not less than 10% of the room area;

[0094] The ventilation area of the kitchen is not less than 10% of the room area and shall not be less than 0.6 ㎡.

[0095] It should be noted that in the ventilation and daylighting calculation form, the ventilation check column currently shows three items of data, namely the ratio of the ventilation area to the room area, the ventilation area, and the judgment result of whether the ventilation is satisfied.

[0096] S107: If the ventilation and daylighting of each room on the floor plan pass the check, then export the calculation form of the floor plan and generate door and window details and door and window tables.

[0097] Among them, the calculation form is usually an excel form, and it can also be a table in other formats. For example, a Markdown table, which will not be elaborated here.

[0098] In this embodiment, the naming format of the exported calculation excel form is: Taking the standard floors from the 3rd to the 24th floors as an example: Standard Floor Calculation Form (3 - 24 floors).

[0099] In this embodiment, when the ventilation and daylighting of each room on the floor plan pass the calculation, the system will retrieve the door and window component units, then assemble, label, and arrange the drawings by itself, and then generate the door and window details.

[0100] In this embodiment, the system will pick up the door and window numbers, automatically identify all the texts under the layer where this door and window number is located, and then generate a door and window table according to the text statistics.

[0101] Furthermore, when the door and window details are successfully generated and the user modifies the door and window numbers in the ventilation and daylighting calculation form, the system automatically adds a note containing the new number beside the original number on the drawing. For example, the note layer is "A - Door and Window Number Modification".

[0102] When the door and window numbers in the calculation form are modified, the annotation function can synchronously display the new numbers on the drawing, avoiding the inconsistency between the drawing and the calculation data caused by untimely or omitted manual modification, ensuring the accuracy of the design, and reducing construction errors caused by data inconsistency.

[0103] In this embodiment, when the generation of the door and window details fails, the system will display the following content to remind the user, and the content is: There may be blocks with the same name as the component blocks for generating the door and window details in the drawing. In this case, please consider replacing the drawing or using the purge command to clean the drawing.

[0104] It should be noted that the above is the method for generating the door and window details and the door and window table for a single - layer floor. This embodiment has other methods for generating the door and window details and the door and window table for multi - layer floors, which are as follows:

[0105] This embodiment also includes: obtaining multiple standard - layer ventilation calculation forms, and merging the multiple standard - layer ventilation calculation forms to obtain multi - floor data; performing verification on different styles of the same door and window numbers and verification on the consistency of basic parameters for the multi - floor data; if the verification passes, generating the door and window details and the door and window table for the multi - floor; if the verification fails, generating a reminder message.

[0106] Merging the standard - layer ventilation calculation forms to obtain multi - floor data avoids the cumbersome data sorting and analysis work for each floor one by one. In high - rise residential projects, if there are multiple standard floors, only the ventilation calculation data of the standard floors need to be processed, and after merging, unified verification and generation of the door and window details and tables are carried out, which greatly saves the design time. After the verification passes, the results are directly generated without repeated checking and modification, further improving the design efficiency and enabling the project to enter the construction stage faster.

[0107] Furthermore, when obtaining the floor information, the system automatically brings out the floor name and the number of floors of the selected drawing frame, and sorts them in ascending order of floors; and the data in the floor height column defaults to 2900 and can be modified;

[0108] Next, you need to obtain the basic parameters. If you do not obtain the standard floor ventilation calculation Excel table, you need to set four parameters in the basic parameters: the height of the lower crossbar of the bay window, the height of the ordinary window sill, the height of the bay window sill, and the width of the opening sash. If you obtain the standard floor ventilation calculation Excel table, the system automatically reads the data of the lower crossbar of the bay window, the height of the ordinary window sill, and the height of the bay window sill, and updates them to the basic parameter section synchronously, and highlights the basic parameter section. The basic parameters cannot be modified.

[0109] After obtaining the basic parameters, the system will generate door and window details. When generating door and window details, it will give priority to generating door and window samples according to the same door and window number style records in the ventilation and lighting calculation Excel table; if there is no corresponding door and window number record in the Excel table, the system will automatically generate door and window samples according to the built-in door and window default style.

[0110] In some embodiments, based on the ventilation and lighting verification, the door and window design is automatically evaluated for the overall energy-saving effect of the building and the compliance with the green building standards, specifically including:

[0111] Obtain detailed parameters of door and window materials, heat transfer coefficient, shading coefficient, air tightness level, size, etc. Collect basic building information, including the building's geographical location, orientation, shape coefficient, usage function, building area, etc. Obtain local climate zoning, sunshine hours, solar radiation intensity, wind speed, wind direction and other meteorological data.

[0112] Then, the heat transfer coefficient (K value) is used to calculate the heat exchange caused by heat conduction of doors and windows in different seasons, and then the heating and cooling loads of the building are calculated. The formula is: Q1 = K × A × ΔT, where Q1 is the heat conduction heat, K is the heat transfer coefficient, A is the door and window area, and ΔT is the indoor and outdoor temperature difference.

[0113] Then, the solar heat of doors and windows in different seasons and different directions is calculated through the shading coefficient (SC), and then the increase in the building's cooling load is calculated. The formula is: Q2 = SC × I × A, where Q2 is the solar heat, SC is the shading coefficient, I is the solar radiation intensity, and A is the area of ​​doors and windows.

[0114] The heat conduction energy consumption and solar energy consumption of doors and windows are then incorporated into the overall energy consumption calculation model of the building. Combined with the building's usage function, personnel activities, equipment operation and other factors, the building's annual energy consumption indicators, such as heating energy consumption, cooling energy consumption, lighting energy consumption, etc., are calculated.

[0115] The calculated building energy consumption index will then be compared with the relevant energy-saving standards in the "General Specification for Energy Conservation and Renewable Energy Utilization in Buildings" (GB55015-2021) to determine whether the building meets the energy-saving standards.

[0116] Then, according to the airtightness grade of the doors and windows and the indoor-outdoor pressure difference of the building, the ventilation volume is calculated using the formula Q3 = n × V × ΔP, where Q3 is the ventilation volume, n is the number of air changes, V is the room volume, and ΔP is the indoor-outdoor pressure difference.

[0117] Next, according to the size, position, orientation of the doors and windows, and the local meteorological data, the daylighting coefficient is calculated using the formula C = Ei / Eo, where C is the daylighting coefficient, Ei is the indoor illuminance, and Eo is the outdoor illuminance.

[0118] Then, the evaluation results of the natural ventilation performance and daylighting performance of the doors and windows are quantified to generate a green building evaluation report. The report content includes the contribution of the door and window design to the natural ventilation and daylighting performance of the building, as well as the satisfaction of the green building evaluation criteria.

[0119] Finally, the data generated during the evaluation process, such as the energy consumption index, ventilation volume, daylighting coefficient of the doors and windows, etc., are sorted into a data report to provide detailed data support for building design.

[0120] This embodiment realizes the automation of door and window design evaluation without manual calculation and analysis. The user only needs to input relevant parameters and data, and the system can automatically complete the evaluation process, greatly improving work efficiency. At the same time, through automated evaluation, designers can quickly obtain the impact of door and window design on the overall performance of the building, providing timely data support for design optimization. This not only saves time but also improves design efficiency and quality.

[0121] This embodiment maximally meets the usage habits of designers by summarizing the drawing methods and logics of door and window details in the conventional business process of building construction drawings. With the built-in CAD workflow, it is more convenient to use. Secondly, the user only needs to simply input parameters and select the door and window styles to quickly generate door and window details, greatly improving work efficiency. In addition, it can automatically check calculations by reading the drawing area lines and door and window numbers, supporting users to make custom adjustments to meet the custom requirements of special projects.

[0122] Please refer to Figure 4 , this embodiment provides a CAD-based door and window detail drawing generation device 200, including:

[0123] A drawing acquisition unit 201 for acquiring the plane drawing input by the user;

[0124] A verification unit 202 for verifying whether the plane drawing conforms to a predetermined rule;

[0125] An identification unit 203 for, if the plane drawing conforms to the predetermined rule, identifying the frame blocks, door and window number blocks, room name blocks, and area line blocks that conform to the predetermined rule in the plane drawing;

[0126] A confirmation unit 204, configured to confirm the floor plan participating in the ventilation and daylighting calculation;

[0127] A parameter acquisition unit 205, configured to acquire the basic parameters input by the user according to the project situation;

[0128] A calculation unit 206, configured to screen out the door and window styles that meet the ventilation and daylighting requirements from the database according to the drawing frame block, door and window number block, room name block, area line block and basic parameters of the floor plan, and perform ventilation and daylighting calculations on each room of the floor plan according to the specification requirements;

[0129] A generation unit 207, configured to, if the ventilation and daylighting of each room of the floor plan pass the calculation, export the calculation form of the floor plan and generate door and window detail drawings and door and window tables.

[0130] Furthermore, the drawing acquisition unit 201 includes:

[0131] A door and window basic library formation sub-unit, configured to lock the basic component units of the doors and windows to form a door and window basic library;

[0132] A door type library formation sub-unit, configured to perform reverse splicing and exhaustive enumeration of various dimensions and types of door types to form a door type library;

[0133] A window type library formation sub-unit, configured to perform reverse splicing and exhaustive enumeration of various dimensions and types of window types to form a window type library;

[0134] An integration sub-unit, configured to integrate the door and window basic library, the door type library and the window type library to obtain a database.

[0135] Wherein, the predetermined rules include:

[0136] The plane drawing nests a drawing frame and is defined as a CAD block, and the block name contains the drawing frame;

[0137] The room interior area and the household type contour line in the plane drawing are separately formed into blocks, and the block name contains the area line;

[0138] The room name and the household type number in the plane drawing are separately formed into blocks, and the block name contains the room name;

[0139] The door and window numbers in the plane drawing are separately formed into blocks, and the block name contains the door and window numbers, and the door and window numbers conform to the preset numbering rules.

[0140] Furthermore, the basic parameters include: the position height of the lower horizontal bar of the bay window, the height of the ordinary window sill, the height of the bay window sill, the storey height and the ventilation calculation principle.

[0141] Furthermore, the ventilation calculation principle includes: calculating according to the actual opening fan size or calculating according to 0.8 times the size of the middle stile.

[0142] Further, the ventilation and daylighting check of each room on the floor plan according to the specification requirements includes:

[0143] The ratio of the sum of the opening areas of all external doors and windows in the room to the room area is not less than 1 / 7;

[0144] For rooms other than the kitchen, the ventilation area is not less than 10% of the room area;

[0145] The ventilation area of the kitchen is not less than 10% of the room area and shall not be less than 0.6 ㎡.

[0146] Further, it also includes:

[0147] A merging unit, used to obtain multiple standard floor ventilation calculation tables and merge the multiple standard floor ventilation calculation tables to obtain multi-floor data;

[0148] A verification unit, used to verify different styles with the same door and window numbers and the consistency of basic parameters for the multi-floor data;

[0149] A detail drawing generation unit, used to generate door and window detail drawings and door and window tables for multiple floors if the verification passes;

[0150] A reminder unit, used to generate a reminder message if the verification fails.

[0151] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-mentioned devices and units can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0152] The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the method provided by the above-mentioned embodiments can be implemented. The storage medium may include: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.

[0153] The present invention also provides a computer device, which may include a memory and a processor. When the processor calls the computer program in the memory, the method provided by the above-mentioned embodiments can be implemented. Of course, the computer device may also include various network interfaces, power supplies and other components.

[0154] The various embodiments in the specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

[0155] It should also be noted that in this specification, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion.

[0156] Inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, article or device. Without more limitations, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including the said element.

Claims

1. A method for generating door and window details based on CAD, characterized in that: include: Get the floor plan input by the user; Verifying whether the plan drawing complies with predetermined rules; If the plan drawing meets the predetermined rules, identifying the frame blocks, door and window number blocks, room name blocks and area line blocks in the plan drawing that meet the predetermined rules; Confirm the floor plan involved in ventilation and lighting calculations; Obtain basic parameters entered by the user based on the project situation; According to the frame block, door and window number block, room name block, area line block and basic parameters of the floor plan, the door and window styles that meet the ventilation and lighting requirements are selected from the database, and ventilation and lighting verification is performed on each room of the floor plan according to the specification requirements; If the ventilation and lighting of each room on the floor plan passes the verification, the calculation table of the floor plan is exported and the door and window details and door and window table are generated.

2. The method for generating door and window details based on CAD according to claim 1, characterized in that: The process of obtaining the plane drawing input by the user includes: Lock the basic component units of doors and windows to form a basic library of doors and windows; Reverse spelling to exhaustively list various sizes and types of door types to form a door type library; Reverse spelling to exhaustively list various sizes and types of windows to form a window type library; The door and window basic library, the door type library and the window type library are integrated to obtain a database.

3. The method for generating door and window details based on CAD according to claim 1, characterized in that: The predetermined rules include: The plan drawing has a nested drawing frame and is defined as a CAD block, and the block name includes the drawing frame; The room area and apartment outline in the floor plan are in separate blocks, and the block name contains the area line; The room names and apartment numbers in the floor plan are in separate blocks, and the block names include the room names; The door and window numbers in the plan drawing are in separate blocks, and the block names include the door and window numbers, and the door and window numbers comply with preset numbering rules.

4. The method for generating door and window details based on CAD according to claim 1, characterized in that: The basic parameters include: the height of the lower crossbar of the bay window, the height of the ordinary window sill, the height of the bay window sill, the floor height and the ventilation calculation principle.

5. The method for generating door and window details based on CAD according to claim 4, characterized in that: The ventilation calculation principles include: calculating according to the actual opening fan size or calculating according to 0.8 times the middle wall size.

6. The method for generating door and window details based on CAD according to claim 1, characterized in that: According to the requirements of the specification, the ventilation and lighting calculations for each room on the floor plan include: The ratio of the sum of the opening areas of all external doors and windows in the room to the room area shall not be less than 1 / 7; For rooms other than kitchens, the ventilation area shall not be less than 10% of the room area; The kitchen ventilation area shall not be less than 10% of the room area and shall not be less than 0.6 m2.

7. The method for generating door and window details based on CAD according to claim 1, characterized in that: Also includes: Acquire multiple standard floor ventilation calculation tables, and merge the multiple standard floor ventilation calculation tables to obtain multi-floor data; Verifying different styles of the same door and window numbers and basic parameter consistency of the multi-floor data; If the verification is passed, the door and window details and door and window tables for multiple floors will be generated; If the verification fails, a reminder message is generated.

8. A CAD-based door and window detail drawing generation device, characterized in that: include: A drawing acquisition unit, used to acquire a plane drawing input by a user; A verification unit, used to verify whether the plan drawing complies with a predetermined rule; an identification unit, for identifying, if the plan drawing complies with a predetermined rule, a frame block, a door and window number block, a room name block, and an area line block in the plan drawing that complies with the predetermined rule; Confirmation unit, used to confirm the floor plan involved in ventilation and lighting verification; A parameter acquisition unit, used to acquire basic parameters input by the user according to the project situation; A calculation unit is used to select door and window styles that meet ventilation and lighting requirements from a database according to the frame block, door and window number block, room name block, area line block and basic parameters of the floor plan, and to perform ventilation and lighting calculations for each room on the floor plan according to specification requirements; A generating unit is used to export the calculation table of the floor plan and generate door and window details and door and window tables if the ventilation and lighting of each room of the floor plan pass the verification.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for generating door and window details based on CAD according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, enables the processor to perform the CAD-based door and window detail generation method according to any one of claims 1 to 7.