An automated method and system for modeling of roof and dormer windows

The automated drawing and modeling system enables a rapid and simplified drawing process for roofs and dormer windows, supports dynamic expansion and linkage adjustment, solves the problems of high complexity and poor linkage in existing technologies, and improves design efficiency and user experience.

CN119720345BActive Publication Date: 2026-05-01HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
Filing Date
2024-12-06
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The existing technology involves a complex process for drawing roofs and dormer windows, which is costly for users to learn and has a long adjustment cycle. It cannot automatically identify the placement area, and the linkage between dormer windows and roofs is poor, with preset fixed settings that cannot be expanded.

Method used

An automatic drawing and modeling system for roofs and dormer windows is provided, including a roof drawing module and a dormer window drawing module. The system automatically searches for placeable areas, generates parameters, and visualizes the roof. The dormer windows are strongly linked to the roof and adjusted in conjunction with it. The system uses a cloud-based dynamic expansion module to update and maintain the roof and dormer window types and their parameters.

Benefits of technology

It enables a quick and simplified process for automatically drawing roofs and dormer windows, reducing user intervention, supporting dynamic expansion, and allowing dormer windows to be adjusted in conjunction with the roof, thereby improving design efficiency and effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119720345B_ABST
    Figure CN119720345B_ABST
Patent Text Reader

Abstract

The application discloses a kind of automatic drawing modeling method and system of roof and tiger window, including the roof drawing module in client, it is used to search the horizontal plane or base and the wall top contour in it that can place roof in three-dimensional scene, and after search success and according to the roof type selected to generate roof parameter bar parameter, and convert to roof geometric parameter, automatically draw roof and visual display;It also includes tiger window drawing module, it is used to automatically identify the roof that can be selected and placed tiger window, and automatically set tiger window parameter based on user selected roof, generate overall tiger window model based on tiger window parameter, user adjusts tiger window position, and automatically adjust tiger window always vertical in slope ridge line, deduct overall tiger window model from roof to make modeling fit.This application can realize the automatic drawing modeling of the quick and simple process of roof and tiger window, and can realize dynamic expansion, tiger window is strongly bound with roof, and is adjusted in linkage.
Need to check novelty before this filing date? Find Prior Art

Description

An automatic drawing and modeling method and system for roofs and dormer windows. Technical Field

[0001] This invention belongs to the field of building design technology, specifically relating to an automatic drawing and modeling method and system for roofs and dormer windows. Background Technology

[0002] In building design, roof creation and dormer window creation are essential. Roof creation includes: selecting a roof location, automatically identifying suitable areas, selecting the roof type, generating the roof, and adjusting parameters. Dormer window creation includes: selecting a preset dormer window shape, dragging and moving it onto the roof, and adjusting parameters after placement.

[0003] However, when creating rooftops, manually drawing rooftops is too complicated, has a high learning cost for users, and a long adjustment cycle. Rooftop placement requires active user intervention, which has a certain understanding cost. It cannot automatically identify placeable areas, and the rooftop drawing mode is relatively fixed and cannot be expanded.

[0004] However, when creating dormer windows, the roof style of the dormer window is preset with few adjustable parameters. The dormer window and the roof cannot be linked, and the preset dormer window is relatively fixed and cannot be expanded. Summary of the Invention

[0005] In view of the above, the purpose of this invention is to provide an automatic drawing and modeling method and system for roofs and dormer windows, which can realize a fast and simplified automatic drawing and modeling process for roofs and dormer windows, and can achieve dynamic expansion. The dormer windows are strongly bound to the roof and can be adjusted in conjunction with it.

[0006] To achieve the above-mentioned objectives, an embodiment provides an automatic drawing and modeling system for roofs and dormer windows, including a roof drawing module and a dormer window drawing module located on the client side;

[0007] The roof drawing module is used to automatically search for horizontal planes or bases where the roof can be placed and the outlines of the walls and tops within them in the 3D scene based on the roof drawing request. After the search is successful and the roof parameter bar parameters are generated according to the roof type selected through the user interface, the roof parameter bar parameters are converted into roof geometric parameters and the roof is automatically drawn to obtain the roof drawing modeling result and visualized.

[0008] The dormer window drawing module is used to automatically identify selectable roofs and roofs where dormer windows can be placed based on dormer window drawing requests, and automatically set dormer window parameters based on the roof selected by the user. After automatically drawing the model based on the dormer window parameters, it provides intermediate data describing the sub-components of the dormer window, generates sub-components based on the intermediate parameters, and combines all sub-components into an overall dormer window model for user operation. The user adjusts the position of the dormer window on the selected roof slope based on constraints, and automatically adjusts the dormer window to always be perpendicular to the ridge line of the slope. The overall dormer window model is subtracted from the roof to make the model fit.

[0009] Preferably, the system further includes a cloud-based rooftop dynamic expansion module, which is used to add and update rooftop types and their parameter columns.

[0010] Preferably, the roof dynamic expansion module is also used to add and update the roof automatic generation strategy corresponding to each type of roof, and the roof drawing module performs automatic roof drawing according to the roof automatic drawing strategy.

[0011] Preferably, in the roof drawing module, automatically searching for a horizontal plane or base suitable for placing the roof includes:

[0012] The system searches for closed areas enclosed by all walls and columns on each floor. Based on the outline of the closed area, it determines whether a loop is formed. If a loop is not formed, the user can manually add the unconnected parts to form a loop. Once a loop is formed, it is expanded outward to form a new outline. All new and old outlines are merged to form a large outline. After deducting unnecessary outlines, the system obtains a horizontal plane or base and multiple outlines on which the roof can be placed for the user to choose from.

[0013] Preferably, the system also includes a cloud-based dynamic expansion module for tiger windows, which is used to add, update, and maintain tiger window types and their parameters.

[0014] Preferably, the system further includes the linkage modification of dormer windows with the roof, specifically including: deleting the dormer windows on the roof when the roof type is modified to not support the type of dormer windows; and modifying the dormer windows on the roof to the same type as the roof when the roof type is modified to another type that supports the placement of dormer windows.

[0015] Preferably, the modification of the dormer window in conjunction with the roof also includes adjusting the dormer window in conjunction with the geometric changes of the roof. If it is determined that the dormer window does not intersect with the new roof after the geometric change, the dormer window on it is deleted. If it intersects and it is determined that the orientation of the dormer window is perpendicular to the ridge line of the slope, the dormer window geometry is regenerated and then trimmed by the new roof. If it intersects and it is determined that the orientation of the dormer window is not perpendicular to the ridge line of the slope, the orientation is adjusted to be perpendicular to the ridge line of the slope, and then the dormer window geometry is regenerated and then trimmed by the new roof.

[0016] To achieve the above-mentioned objectives, this invention also provides an automatic drawing and modeling method for roofs and dormer windows. The method employs the aforementioned automatic drawing and modeling system and includes the following steps:

[0017] Draw the roof using the roof drawing module;

[0018] Based on the roof drawing, the dormer window drawing module is used to draw the dormer windows.

[0019] To achieve the above-mentioned objectives, the embodiments also provide a computing device, including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, they implement the steps of the above-mentioned automatic drawing and modeling method for roofs and dormer windows.

[0020] To achieve the above-mentioned objectives, the embodiments also provide a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps of the above-described method for automatically drawing and constructing roofs and dormer windows.

[0021] Compared with the prior art, the beneficial effects of the present invention include at least the following:

[0022] This invention enables rapid and automatic modeling of roofs and dormer windows through roof drawing modules and dormer window drawing modules. The roof type and its automatic generation drawing strategy are dynamically expanded and maintained by professionals in the cloud, reducing the adjustment parameters required by users during the drawing process. Modifications to the roof are linked to modifications to the dormer windows, improving adjustment efficiency. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 is a schematic diagram of the automatic drawing and modeling system for roofs and dormer windows provided in the embodiment;

[0025] Figure 2 is a flowchart of interactive roof drawing using the roof drawing module provided in the embodiment;

[0026] Figure 3 is a flowchart of the roof drawing module on the client side and the dynamic expansion module on the cloud side, provided in the embodiment, for drawing the roof.

[0027] Figure 4 is a flowchart of the automatic search and identification of the roof area provided in the embodiment;

[0028] Figure 5 is a flowchart of interactively drawing a dormer window using the dormer window drawing module provided in the embodiment;

[0029] Figure 6 is a flowchart of the linkage between the dormer window and the roof provided in the embodiment;

[0030] Figure 7 is a flowchart of the automatic drawing and modeling method provided in the embodiment. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the scope of protection of this invention.

[0032] As shown in Figure 1, the automatic drawing and modeling system for roofs and dormer windows provided in this embodiment includes a roof drawing module and a dormer window drawing module on the client side, as well as a roof dynamic expansion module and a dormer window dynamic expansion module in the cloud.

[0033] In this embodiment, the roof drawing module provides a roof creation function. Users can draw the roof by interacting with the roof creation function. The specific roof drawing process includes: automatically searching for horizontal planes or bases and the outlines of walls and tops within the three-dimensional scene that can be placed on the roof based on the roof drawing request; generating roof parameter bar parameters according to the roof type selected through the user interface after the search is successful and the roof parameter bar parameters are converted into roof geometric parameters; and then automatically drawing the roof to obtain the roof drawing modeling result and displaying it visually.

[0034] The process of users interacting with the roof drawing module to draw a roof is shown in Figures 2 and 3. Users enter the roof creation mode of the roof drawing module by clicking the roof button. In the roof creation mode, the cloud design's automatic search tool will automatically search the 3D scene for a horizontal plane or base where the roof can be placed and the outline of the wall and top within it. If no suitable roof base is found, it will prompt that there is no suitable roof base. If the search is successful, it will prompt the user to select the roof type. After the user selects the roof type, the roof parameter bar parameters are generated according to the selected roof type. The roof parameter bar parameters are converted into roof geometric parameters, which include the roof outline, straight frame, edge slope, etc. Then, the roof building algorithm is executed according to the roof geometric parameters to automatically draw the roof and obtain the roof drawing modeling result, which is then visualized.

[0035] The drawable roof types and their parameters presented in the roof drawing module, as well as the automatic generation strategy for adding roof types, are all managed and configured by the cloud-based roof dynamic expansion module, which manages the project through a strategy model. Specifically, as shown in Figure 3, development and operations personnel add, expand, and update roof types and their parameter columns in the roof dynamic expansion module. They also add, expand, and update the automatic roof generation strategy corresponding to each roof type and then deploy the application. This allows users to immediately select new roof types directly in the roof drawing module, and the automatic roof generation strategy corresponding to the new roof type can be automatically executed to draw the roof.

[0036] The roof types include flat roof, single-slope roof, gable roof, flat-sloping roof, custom roof, and flat-drawn roof. Corresponding roof parameter parameters include overhang, height, slope, and thickness. When selecting a custom roof, users can manually set the parameter values; similarly, other roof types can also have their parameter values ​​modified. When selecting a flat-drawn roof, users can manually draw the roof on a horizontal plane searched within the 3D scene.

[0037] When drawing roofs, this invention uses a roof dynamic expansion module to dynamically expand and maintain roof types. After the dynamically expanded types are published, users can immediately use the latest maintained roof types and automatic roof generation strategies.

[0038] In the roof drawing module, the automatic search function supports placing the roof on a horizontal plane or base. This includes: searching for closed areas enclosed by all walls and columns on each floor; determining whether a loop is formed based on the outline of the closed area; manually adding unconnected parts to form a loop if no loop is formed; expanding outwards to form a new outline after a loop is formed; merging all the old and new outlines to form a large outline; and deducting unnecessary outlines to obtain the horizontal plane or base and multiple outlines on which the roof can be placed for the user to choose from.

[0039] In practice, there is an elevation in the scene where design work is underway, which is called the current floor. The automatic search tool will start calculations based on this current floor. Since a room is a closed area enclosed by walls and columns, during the automatic search, as shown in Figure 4, it searches for the room outlines enclosed by all walls and columns on the current floor, and at the same time searches for the room outlines on floors whose elevation difference with the next floor is within a certain range (e.g., [0, 1500]). It finds all closed areas enclosed by walls, and determines whether the outlines of the closed areas form a loop. If they do not form a loop, the user intervenes to fill in the unconnected parts to form a loop. Then, the outline is expanded according to the overhang parameter to form a new outline (GemoFace 2d). All new outlines are then merged into a large outline by Boolean union operation. Then, unnecessary outlines are removed by Boolean subtraction to obtain the final closed area composed of multiple outlines that can generate the roof, which is then selected by the user.

[0040] The present invention provides an automatic identification function for roof placement areas, which can accurately identify closed areas enclosed by walls and columns, and can also support the identification of closed areas enclosed by multiple complex components. It is more intelligent and greatly reduces the need for manual intervention by users.

[0041] In this embodiment, the dormer window drawing module provides a dormer window creation function. Users can draw dormer windows through the interactive dormer window creation function, as shown in Figure 5. The specific dormer window drawing process includes: automatically identifying selectable roofs and roofs for placing dormer windows based on the dormer window drawing request, automatically setting dormer window parameters based on the roof selected by the user, automatically drawing and modeling according to the dormer window parameters, providing intermediate data describing the dormer window sub-components, generating sub-components based on the intermediate parameters, combining all sub-components into an overall dormer window model for user operation, adjusting the dormer window position on the selected roof slope based on constraints, and automatically adjusting the dormer window to always be perpendicular to the ridge line of the slope, and subtracting the overall dormer window model from the roof to make the model fit.

[0042] In practice, as shown in Figure 5, after the user draws the roof, the user clicks on the dormer window to enter the dormer window creation mode of the dormer window drawing module. In the dormer window creation mode, a list of dormer windows is provided for the user to select. The information in these dormer window lists is updated and maintained by the dormer window dynamic expansion module. Specifically, professionals use the dormer window dynamic expansion module located in the cloud to add, expand, update and maintain dormer window types and their parameters.

[0043] After the user selects a dormer window from the list, the tool automatically searches and identifies roofs where the dormer window can be placed. The user then selects the specific roof where the dormer window will be placed, and the dormer window type is set to be the same as the roof type by default. Simultaneously, other default parameters corresponding to the dormer window type are set. Based on the dormer window parameters, intermediate data describing the dormer window sub-components is generated. This intermediate data includes roof type, window type, roof parameters, window parameters, wall parameters, slab parameters, and opening parameters. Then, based on these intermediate parameters, sub-components such as roof, window, opening, wall, and slab are generated and bound into a single dormer window model for user operation. It should be noted that the sub-component roof refers to the portion of the roof included in the dormer window. The user can adjust the dormer window position on the roof slope based on the overall dormer window model, but due to constraints, it cannot deviate from the roof slope. When adjusting the dormer window, it must always be perpendicular to the ridge line of the slope. This process is automatically adjusted by the built-in design tool, specifically determining the direction of dragging the ridge line of the roof slope and then adjusting the overall dormer window model to be perpendicular to the ridge line of the roof slope. Finally, the roof slope is used to subtract from the overall dormer window model, specifically subtracting walls, roof, and slabs, to ensure the dormer window model fits the roof perfectly. If the user is satisfied, the dormer window setup is complete; otherwise, the dormer window parameters are adjusted, and intermediate dormer window data is generated again.

[0044] This invention achieves consistency between the adjusted dormer window and the roof by establishing a strong connection between them, thus improving design efficiency and effectiveness through intelligent adjustment.

[0045] The dormer window drawing module also features a function that links the dormer window to the roof. In this linked modification function, the dormer window can only be linked to the roof; adjustments to the dormer window will not affect the roof. Modifying the roof type or causing the roof geometry to detach from the dormer window after modification will result in the dormer window being deleted because there is no reasonable way to maintain its existence at this point. Changes to the roof geometry require re-trimming the dormer window; therefore, the dormer window needs to be re-parametrically modeled before it can be correctly trimmed. During linkage, the orientation of the dormer window is automatically adjusted, and the linkage will preserve the dormer window on the roof as much as possible.

[0046] The dormer window system is updated in tandem with the roof design. Specifically: if the roof type is changed to one that does not support dormer windows, the dormer windows on the roof are deleted; if the roof type is changed to another type that supports dormer windows, the dormer windows on the roof are changed to the same type as the roof. It also includes adjustments to the dormer windows based on changes in roof geometry. If the dormer window does not intersect with the new roof after the geometry change, it is deleted. If they intersect and the dormer window's orientation is perpendicular to the ridge line of the slope, the dormer window geometry is regenerated and then trimmed by the new roof. If they intersect and the dormer window's orientation is not perpendicular to the ridge line of the slope, the orientation is adjusted to be perpendicular to the ridge line, the dormer window geometry is regenerated, and then trimmed by the new roof.

[0047] As shown in Figure 6, in practice, the roof parameters are adjusted to determine if the roof type will be modified. If the roof type is modified, it is further determined whether to change to a type without dormer windows. If so, the dormer windows on the roof are directly deleted; otherwise, the dormer windows on the roof are adjusted to the same type as the modified roof type. Then, if the roof type is not modified, the corresponding roof geometry is adjusted according to the roof parameters to adjust the dormer windows accordingly. Specifically, the bounding box of the dormer window is calculated, and it is determined whether the bounding box of the dormer window intersects with the new roof. If they do not intersect, the dormer window on the roof is deleted. If they intersect, it is further determined whether the dormer window is perpendicular to the ridge line of the roof slope. If they are not perpendicular, the orientation is adjusted to be perpendicular to the ridge line. If they are perpendicular, the geometry of the dormer window is regenerated and then trimmed by the new roof to fit the model. Finally, the adjusted dormer window is displayed.

[0048] This invention links the roof and dormer windows together. By using a design tool, the dormer windows and the roof are linked together. Functionally, the dormer windows are part of the roof. By using the design tool, the dormer windows on the roof can be retained and linked in a reasonable way, simplifying the adjustment process and improving design efficiency while ensuring design rationality.

[0049] As shown in Figure 7, the embodiment also provides a method for automatic drawing and modeling using the above-mentioned automatic drawing and modeling system, including the following steps:

[0050] S1, draw the roof using the roof drawing module;

[0051] S2, based on the roof drawing, uses the dormer window drawing module to draw the dormer window.

[0052] It should be noted that the specific details involved in the execution process of steps S1 and S2 are detailed in the above-mentioned automatic drawing and modeling system, and will not be repeated here.

[0053] The automatic drawing and modeling system and method for roofs and dormer windows provided by this invention greatly simplifies the roof placement operation process. The design tool automatically identifies the roof areas that can be placed, minimizing the number of user interventions and making it highly user-friendly. The roof drawing and generation strategy can be dynamically maintained and expanded in the roof dynamic expansion module. More adjustable parameters for dormer windows and roofs are supported, enabling more roof and dormer window shapes, and they can be dynamically updated by the cloud-based dynamic expansion module. The dormer windows and roofs are strongly bound together, and the roof type on the dormer window is consistent with the type of the roof being placed. The dormer windows move in tandem with the roof, intelligently adjusting their geometry to preserve the dormer windows on the roof as much as possible.

[0054] Based on the same inventive concept, the embodiment also provides a computing device, including a memory and one or more processors. The memory stores executable code, and when the one or more processors execute the executable code, it is used to implement the above-mentioned automatic drawing and modeling method for roofs and dormer windows, specifically including the following steps:

[0055] S1, draw the roof using the roof drawing module;

[0056] S2, based on the roof drawing, uses the dormer window drawing module to draw the dormer window.

[0057] The computing device provided in this embodiment, at the hardware level, includes not only a processor and memory, but also internal buses, network interfaces, memory, and other hardware required for business operations. The memory is non-volatile memory. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to implement the automatic drawing and modeling method for roofs and dormer windows described in S1-S2 above. Of course, besides software implementation, this invention does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution entity of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.

[0058] Based on the same inventive concept, the embodiments also provide a computer-readable storage medium storing a program that, when executed by a processor, implements the above-described automatic drawing and modeling method for roofs and dormer windows, specifically including the following steps:

[0059] S1, draw the roof using the roof drawing module;

[0060] S2, based on the roof drawing, uses the dormer window drawing module to draw the dormer window.

[0061] In this embodiment, the computer-readable medium includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data.

[0062] The specific embodiments described above illustrate the technical solution and beneficial effects of the present invention in detail. It should be understood that the above description is only the most preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, additions, and equivalent substitutions made within the scope of the principles of the present invention should be included within the protection scope of the present invention.

Claims

1. An automatic drawing and modeling system for roofs and dormer windows, characterized in that, This includes a roof drawing module and a dormer window drawing module on the client side. The roof drawing module automatically searches the 3D scene for a suitable horizontal plane or base for the roof and the outline of the walls and ceiling within it, based on a roof drawing request. Upon successful search and based on the roof type selected via the user interface, it generates roof parameter parameters, converts these parameters into roof geometric parameters, and then automatically draws the roof to obtain the modeling result, which is then visualized. The dormer window drawing module automatically identifies selectable roofs for placing dormer windows based on a dormer window drawing request. It automatically sets dormer window parameters based on the user-selected roof, automatically draws the model based on these parameters, and provides intermediate data describing the dormer window sub-components. Sub-components are generated based on these intermediate parameters, and all sub-components are combined into a single dormer window model for user manipulation. The user adjusts the dormer window position on the selected roof slope based on constraints, and the module automatically adjusts the dormer window to always be perpendicular to the ridgeline of the slope. The entire dormer window model is subtracted from the roof to ensure a proper fit. (The last sentence appears to be incomplete and possibly refers to a cloud-based feature.) The system includes a roof dynamic expansion module at the terminal, used to add and update roof types and their parameter columns; and a dormer window dynamic expansion module in the cloud, used to add and update dormer window types and their parameters. The dormer window is modified in conjunction with the roof, specifically including: deleting dormer windows on the roof when the roof type is changed to one that does not support dormer window placement; modifying dormer windows on the roof to the same type as the roof when the roof type is changed to another type that supports dormer windows. The modification also includes adjusting dormer windows in conjunction with roof geometry changes. If a dormer window does not intersect with the new roof after the geometry change, it is deleted. If they intersect and the dormer window's orientation is perpendicular to the ridge line of the slope, the dormer window geometry is regenerated and then trimmed by the new roof. If they intersect and the dormer window's orientation is not perpendicular to the ridge line of the slope, the orientation is adjusted to be perpendicular to the ridge line of the slope, and then the dormer window geometry is regenerated and trimmed by the new roof.

2. The automatic drawing and modeling system for roofs and dormer windows according to claim 1, characterized in that, The roof dynamic expansion module is also used to add and update the roof automatic generation strategy corresponding to each type of roof, and the roof drawing module performs automatic roof drawing based on the roof automatic drawing strategy.

3. The automatic drawing and modeling system for roofs and dormer windows according to claim 1, characterized in that, The roof drawing module automatically searches for a horizontal plane or base on which a roof can be placed, including: searching for a closed area enclosed by all walls and columns on each floor; determining whether a loop is formed based on the outline of the closed area; if a loop is not formed, the user can manually add the unconnected parts to form a loop; after a loop is formed, it is expanded to form a new outline; and all the new and old outlines are merged to form a large outline and unnecessary outlines are deducted to obtain a horizontal plane or base and multiple outlines on which a roof can be placed for the user to choose from.

4. An automatic drawing and modeling method for roofs and dormer windows, characterized in that, The method employs the automatic drawing and modeling system described in any one of claims 1-3, and includes the following steps: drawing the roof using the roof drawing module; and drawing the dormer window using the dormer window drawing module based on the roof drawing.

5. A computing device comprising a memory and one or more processors, wherein the memory stores executable code, characterized in that, When the one or more processors execute the executable code, they implement the steps of the automatic drawing and modeling method for roofs and dormer windows as described in claim 4.

6. A computer-readable storage medium, characterized in that, It stores a program that, when executed by a processor, implements the steps of the automatic drawing and modeling method for roofs and dormer windows as described in claim 4.