A method, device and medium for generating a schematic diagram of a sewage system

By automatically identifying the type of sewage and wastewater pipes in the 3D model and generating elevation lines, the problem of tedious and time-consuming drawing of sewage and wastewater system schematic diagrams has been solved, achieving efficient and accurate drawing of sewage and wastewater system schematic diagrams and reducing the risk of construction rework and design changes.

CN121437663BActive Publication Date: 2026-03-17HEFEI LIANGZHEN CONSTR TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202512019293.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-30
Publication Date
2026-03-17
Estimated Expiration
2045-12-30

AI Technical Summary

Technical Problem

In existing technologies, drawing schematic diagrams for wastewater systems is cumbersome and time-consuming, and it is difficult to update them synchronously, leading to construction rework and design changes, which increases project costs and risks.

Method used

By identifying the types of sewage and wastewater pipes in the 3D model, elevation lines and pipe lines are generated, and equipment legends and annotations are added to the pipe lines. The schematic diagram of the sewage and wastewater system is then automatically drawn using a computer.

Benefits of technology

It improved drawing efficiency, ensured the accuracy of pipe connection relationships and elevations, avoided errors in manual drawing, and enabled synchronous updates of schematic diagrams and 3D models, reducing the risk of construction rework and design changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121437663B_ABST
    Figure CN121437663B_ABST
Patent Text Reader

Abstract

The application discloses a kind of sewage system schematic diagram generation method, equipment and medium, it is related to electric digital data processing technical field.The method comprises the following steps: identifying the sewage pipeline corresponding to sewage system in three-dimensional model, and determining the pipeline type corresponding to sewage pipeline according to the topological relation of sewage pipeline;Wherein, pipeline type includes vertical pipe main pipe, horizontal pipe main pipe and instrument branch pipe;Read the elevation information in the link model of three-dimensional model, and based on the base point selected by user, according to elevation information, generate elevation line and the elevation name corresponding to each elevation line;From the first elevation line as drawing starting point, generate the pipeline graph line corresponding to each pipeline type;At the preset position of pipeline graph line, generate the end device legend connected with pipeline graph line, and carry out pipe diameter annotation and vertical pipe numbering annotation to pipeline graph line, obtain the schematic diagram corresponding to sewage system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic digital data processing technology, specifically to a method, equipment, and medium for generating schematic diagrams of a wastewater system. Background Technology

[0002] In wastewater system design, the creation of system schematic diagrams is a crucial step in building water supply and drainage engineering. These diagrams need to clearly represent the spatial relationship between wastewater pipes and the building plan, as well as the topological connections between pipes, to ensure accurate construction by the contractor. However, current technologies primarily rely on manual drawing of wastewater system schematic diagrams, or only provide tools for generating isometric system diagrams. Designers must spend considerable time and effort drawing pipe, elevation, and equipment symbols one by one based on the floor plan. This process is tedious, time-consuming, and inefficient. Furthermore, when the floor plan is modified, the system schematic diagram often cannot be updated synchronously, leading to omissions or inconsistencies. This results in frequent rework and design changes after construction, increasing project costs and risks. Summary of the Invention

[0003] To address the aforementioned problems, this application proposes a method for generating a schematic diagram of a wastewater system, comprising:

[0004] Identify the wastewater pipes corresponding to the wastewater system in the 3D model, and determine the pipe type corresponding to the wastewater pipes based on the topological relationship of the wastewater pipes; wherein, the pipe type includes riser main pipes, horizontal main pipes, and appliance branch pipes;

[0005] Read the elevation information from the linked model of the 3D model, and based on the base point selected by the user, generate elevation lines and the elevation names corresponding to each elevation line according to the elevation information;

[0006] Starting from the first elevation line, generate pipe lines corresponding to each pipe type;

[0007] At a preset location on the pipeline diagram, a diagram of the end equipment connected to the pipeline diagram is generated, and the pipeline diagram is labeled with pipe diameter and riser number to obtain the schematic diagram corresponding to the wastewater system.

[0008] In one implementation of this application, the pipeline diagrams corresponding to each pipeline type are generated starting from the first elevation line, specifically including:

[0009] Using the first elevation line as the starting point for drawing, and according to the numbering order of the riser main pipes in the three-dimensional model, multiple riser lines corresponding to the riser main pipes are generated sequentially according to the preset layout interval.

[0010] Based on the riser diagram, generate a horizontal pipe diagram corresponding to the horizontal main pipe that is connected to the riser main pipe;

[0011] Identify the number of appliances connected to the appliance branch pipe in the three-dimensional model, and generate the appliance diagram corresponding to the appliance branch pipe at the connection position of the riser diagram or the horizontal pipe diagram according to the layout rules corresponding to the number of appliances.

[0012] In one implementation of this application, according to the layout rules corresponding to the number of appliances, an appliance diagram corresponding to the appliance branch pipe is generated at the connection position of the riser diagram or the horizontal pipe diagram, specifically including:

[0013] When the number of appliances is one, an appliance diagram corresponding to the appliance branch pipe is generated at the connection position of the riser diagram or the horizontal pipe diagram; the appliance diagram is composed of a broken line extending from the riser diagram or the horizontal pipe diagram, and a horizontal line connecting the broken line;

[0014] When there are multiple appliances, at the connection position of the riser line or the horizontal line, an appliance line corresponding to the appliance branch is generated, and a break symbol is placed at the end of the appliance line to lead out other appliance branches through the break symbol.

[0015] In one implementation of this application, based on the user-selected base point and the elevation information, elevation lines and corresponding elevation names for each elevation line are generated, specifically including:

[0016] Based on the user-selected base point, the position of the first elevation line is determined, and the first elevation line is generated based on a preset line style;

[0017] Based on the number of riser mains and the preset number of buffers, the number of occupancy positions of the riser mains is determined. Based on the number of occupancy positions and the occupancy width corresponding to each riser main, the length of the elevation line corresponding to the elevation line is determined.

[0018] Based on the elevation position relationship and elevation spacing contained in the elevation information, multiple elevation lines with a length equal to the length of the first elevation line are generated sequentially upwards.

[0019] Based on the names of each elevation line read from the 3D model, the elevation name corresponding to the elevation line is generated.

[0020] In one implementation of this application, generating an end-device illustration connected to the pipeline diagram at a preset position on the pipeline diagram specifically includes:

[0021] Based on the type of sanitary ware connected by the branch pipe in the three-dimensional model, a sanitary ware legend connected to the sanitary ware line is generated at the end of the branch pipe of the sanitary ware line;

[0022] Determine the floor where the appliance branch pipe is installed, and generate an inspection port diagram connected to the riser line at a preset position above the floor's elevation line;

[0023] At the top of the riser line, generate a vent cap legend.

[0024] In one implementation of this application, the pipe diameter and riser number are labeled on the pipeline diagram, specifically including:

[0025] For the riser main pipe, starting from the top floor and going down according to a preset floor interval, the corresponding mark point of the riser main pipe is determined, and the pipe diameter label of the riser main pipe is generated based on the mark point;

[0026] For the appliance branch pipe, a pipe diameter label corresponding to the appliance branch pipe is generated at the horizontal pipeline of the appliance branch pipe;

[0027] The serial numbers of each riser main are obtained from the three-dimensional model, and the pipe diameter labels corresponding to the riser main are generated based on the serial numbers.

[0028] In one implementation of this application, the number of occupancy positions for the riser mains is determined based on the number of riser mains and a preset buffer quantity, specifically including:

[0029] If the schematic diagram contains multiple systems, determine the total number of riser mains in the multiple systems;

[0030] The number of occupancy positions for the riser main is determined based on the total number and the preset buffer quantity.

[0031] In one implementation of this application, determining the pipe type corresponding to the wastewater pipe based on the topological relationship of the wastewater pipe specifically includes:

[0032] Pipes whose geometric direction forms an angle with the horizontal line of not less than a first angle and whose length is greater than a preset length are identified as riser mains.

[0033] Pipelines whose geometric direction forms an angle no greater than a second angle with the horizontal line and which satisfy a specified pipe topology are identified as horizontal main pipes.

[0034] Pipes that connect to sanitary fixtures or floor drains and are connected to the riser or horizontal main pipe are identified as fixture branch pipes.

[0035] This application provides a device for generating a schematic diagram of a wastewater system, the device comprising:

[0036] At least one processor;

[0037] And, a memory communicatively connected to the at least one processor;

[0038] The memory stores instructions that can be executed by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform a method for generating a schematic diagram of a wastewater system as described in any of the preceding claims.

[0039] This application provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:

[0040] A method for generating a schematic diagram of a wastewater system as described in any of the preceding items.

[0041] The method for generating a schematic diagram of a wastewater system proposed in this application can bring the following beneficial effects:

[0042] The system automatically identifies pipes and generates elevation lines from the 3D model, and automatically draws pipe diagrams corresponding to different pipe types. This significantly improves the efficiency of drawing wastewater system schematics. Since the schematics are entirely derived from the 3D model data, the accuracy of pipe connections and elevations is guaranteed, reducing the error rate of manual drawing. Furthermore, when the 3D model is modified, the wastewater system schematics are updated synchronously, avoiding omissions or inconsistencies that may occur during manual drawing. This reduces the risk of rework and design changes after construction, thereby effectively reducing project costs. Attached Figure Description

[0043] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0044] Figure 1 A schematic flowchart illustrating a method for generating a schematic diagram of a wastewater system provided in this application embodiment;

[0045] Figure 2 A pipeline schematic diagram provided for an embodiment of this application;

[0046] Figure 3 This is a schematic diagram of a branch pipe floor drain legend generation provided in an embodiment of this application;

[0047] Figure 4 This application provides a schematic diagram of an inspection port legend generation method.

[0048] Figure 5 This application provides a schematic diagram of a ventilation cap illustration generation method.

[0049] Figure 6 A schematic diagram of pipe diameter marking provided in this application embodiment;

[0050] Figure 7 This is a schematic diagram of a device for generating a wastewater system schematic diagram, provided as an embodiment of this application. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0052] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.

[0053] like Figure 1 As shown in the embodiment of this application, a method for generating a schematic diagram of a wastewater system includes:

[0054] S101: Identify the wastewater pipes in the 3D model corresponding to the wastewater system, and determine the pipe type corresponding to the wastewater pipes based on the topological relationship of the wastewater pipes; wherein, the pipe type includes riser main pipes, horizontal main pipes and appliance branch pipes.

[0055] A 3D model is a virtual model constructed using computer technology that comprehensively presents a water supply and drainage system. Through a 3D model, the layout of the sewage and wastewater system in a real-world scenario can be realistically reflected, including the routing of pipes on each floor and the connection methods between different sanitary fixtures and pipes. The process involves reading sewage and wastewater pipes in the 3D model whose system type names contain "sewage" or "wastewater," and determining the different types of pipes based on the topological relationships between them. These pipe types include riser mains, horizontal mains, and appliance branch pipes.

[0056] In one embodiment, pipe type identification is based on the topological relationships between pipes. Specifically, since riser mains are typically vertical or nearly vertical to the ground and are used to connect sewage and wastewater discharges between different floors, when identifying sewage and wastewater pipes, riser mains are first identified based on pipes whose geometric direction makes an angle of not less than a first angle with the horizontal line and whose length is greater than a preset length. Here, the first angle is 85° and the length is 1m. Then, pipes whose geometric direction makes an angle of not more than a second angle with the horizontal line and satisfy a specified pipe topological relationship are identified as horizontal mains. The second angle is 45°. Horizontal mains are generally laid horizontally or nearly horizontally and are used to connect riser mains and appliance branch pipes within the same floor. Therefore, their angle with the horizontal line is small, and they must satisfy a specific specified pipe topological relationship. This specified pipe topological relationship includes three types: connecting two riser mains; connecting one end to a riser main and having no connection at the other end; and connecting one end to an appliance branch pipe and having no connection at the other end. After identifying the riser and horizontal main pipes, the pipes that connect to sanitary fixtures or floor drains and are connected to the riser or horizontal main pipe are identified as appliance branch pipes. The function of appliance branch pipes is to introduce wastewater from various sanitary fixtures or floor drains into the riser or horizontal main pipe, therefore their connection relationships have clear characteristics.

[0057] Accurate identification of different pipe types lays the foundation for generating subsequent wastewater system schematics. Accurate pipe type identification ensures that the layout and connections of the pipes in the generated schematics accurately reflect the actual wastewater system conditions.

[0058] S102: Read the elevation information from the linked model of the 3D model, and based on the base point selected by the user, generate elevation lines and the elevation names corresponding to each elevation line.

[0059] After identifying the pipe type, the next step is to read the elevation information from the linked model of the 3D model. Elevation information records the height and position of each floor and pipe in the wastewater system, which is crucial for accurately drawing the wastewater system schematic. Users can select a base point on the current drawing plane according to their actual needs; this base point will serve as the starting reference point for generating elevation lines. Based on the user-selected base point and the elevation information, elevation lines and their corresponding elevation names can be generated.

[0060] Specifically, first, read the elevations in the linked model whose names do not begin with "S" and whose names do not contain "BOF". In the construction industry, especially when using BIM software such as Revit, the letter "S" usually represents a structural elevation, which refers to the elevation of the upper surface of the structural floor slab. However, plumbing, HVAC, and electrical systems typically use architectural elevations, i.e., finished surface elevations, which include the total thickness of the floor slab, leveling layer, and finishing layer. There is a height difference between architectural and structural elevations. If the structural elevation is used to generate the system diagram, the height positioning of pipes will be inaccurate and will not match the actual building space. Therefore, excluding elevations starting with "S" ensures that the system schematic is generated based on the correct architectural elevation, guaranteeing the accuracy of the drawings. "BOF" refers to the ground floor elevation. These elevations are usually not standard functional floors and may be used to represent equipment foundations, pit bottoms, pipe trench bottoms, etc. They do not belong to the regular floor sequence. Excluding "BOF" maintains the clarity and standardization of the system schematic, showing only the main, habitable, or usable floor spaces. By filtering out irrelevant elevation information, the automatically generated system diagram is ensured to include only the main building floors related to the wastewater system design, and structural levels and reference surfaces with special constructions are filtered out, thereby guaranteeing the accuracy and professionalism of the generated results.

[0061] After reading the elevations, these elevations are sorted in ascending order according to their Z-coordinate values ​​to determine the vertical position of each elevation in the system, i.e., which is above and which is below. Then, the elevation spacing is determined, and the spacing between each elevation is equal.

[0062] Furthermore, the user-selected baseline is used as the location of the first elevation line. The user-selected baseline refers to the designer clicking a designated point in a blank area of ​​the 2D view using the mouse during the automatic drawing generation process. By allowing users to independently choose the starting point, they can decide which blank area to place the system schematic diagram in based on the overall layout of the drawing, avoiding overlap with floor plans, other system diagrams, or annotations. When multiple system schematic diagrams need to be generated for the same project (such as sewage systems, wastewater systems, and ventilation systems), users can select different baselines for each system to avoid mutual interference.

[0063] The first elevation line is generated using a preset line style, "P_Elevation Line," which corresponds to the lowest elevation line in the model. Then, based on the number of risers and main pipes and the preset buffer quantity, the space allocated to each riser is determined. The buffer quantity reserves space between risers; typically, it can be set to 2, meaning one riser width is reserved to the left of the leftmost riser and to the right of the rightmost riser, providing sufficient space for elevation labels, axis numbers, or other annotations at both ends, preventing text and graphics from crowding together. Each riser on the drawing needs a allocated space width to ensure sufficient space between adjacent risers and prevent overlap; typically, this space width can be set to 3000mm. Thus, based on the number and width of riser spaces, the elevation line length can be determined; the elevation line length is expressed as the product of the number and width of riser spaces. For example, if a system has 3 risers, then the elevation line length = (3 + 2) x 3000mm = 15000mm. This means that on the drawing, a horizontal line 15000mm long will be generated, and the 3 risers will be roughly evenly distributed on this line, with a blank margin of about 3000mm on each side.

[0064] It should be noted that if the schematic diagram includes multiple systems in addition to the wastewater system, the number of risers and main pipes to be occupied by the risers and main pipes in the multiple systems and the number of preset buffers should be determined when determining the length of the elevation line.

[0065] After determining the elevation line length, based on the elevation positional relationships and spacing contained in the elevation information, multiple elevation lines of the same length need to be generated sequentially upwards from the first elevation line. After generating the elevation lines, the corresponding elevation names are generated based on the names of each elevation line read from the 3D model. When generating the elevation names, an illustration is first generated at the leftmost endpoint of the elevation line, and then the elevation family is mirrored and copied to the right based on the vertical position of the detail line center.

[0066] S103: Starting from the first elevation line, generate the pipe lines corresponding to each pipe type.

[0067] After generating the elevation lines, the first elevation line serves as the starting point for drawing, and the corresponding pipe lines for each pipe type are generated sequentially. First, for riser mains, based on the previously identified riser main information, the sewage / wastewater pipe with riser number 1 is selected as the first riser to be drawn. If no number exists, any riser is automatically selected as the starting point. During riser drawing, a line with the same detail line type name as the pipe type name (i.e., the same Chinese characters) is used at the base point to draw the riser, and the riser length is consistent with the riser in the 3D model. After drawing the first riser, multiple riser lines corresponding to the riser main are generated sequentially according to the numbering order of the riser mains in the 3D model and the preset layout intervals, ensuring a certain horizontal spacing between each riser.

[0068] For horizontal main pipes, draw the horizontal main pipe lines at the corresponding elevation lines based on their connection relationships with vertical main pipes. For appliance branch pipes, identify the number of appliances connected to the appliance branch pipes in the 3D model, and then generate the appliance lines corresponding to the appliance branch pipes at the connection points of the vertical or horizontal main pipe lines according to the layout rules corresponding to the number of appliances.

[0069] Specifically, when there is only one appliance, a corresponding appliance line is generated at the connection point of the riser or horizontal pipe line. The appliance line consists of a broken line extending from the riser or horizontal pipe line and a horizontal line connecting the broken line. Generally, the appliance line can use a 45° 150mm broken line and a 1000mm horizontal line. When there are multiple appliances, a corresponding appliance line is also generated at the connection point of the riser or horizontal pipe line. The difference from connecting a single appliance is that a break symbol "P_Break Diagram_Standard_Plane" is placed at the end of the appliance line. The break symbol indicates that the line is not yet finished and other appliances can be connected later. Therefore, other appliance branches can be led out using the break symbol to continue connecting multiple sanitary appliances. For example... Figure 2 The diagram shows a pipeline. The leftmost appliance branch pipe connects to an appliance, and only broken lines and horizontal lines are used as appliance lines. The three appliance branch pipes on the right each have a broken symbol at the end, indicating that other appliances can be connected to them later.

[0070] S104: At the preset position of the pipeline diagram, generate the terminal equipment legend connected to the pipeline diagram, and mark the pipe diameter and riser number on the pipeline diagram to obtain the schematic diagram corresponding to the wastewater system.

[0071] After generating pipelines corresponding to different pipe types, it is necessary to generate terminal equipment legends connected to the pipeline lines at preset locations on the pipeline diagram. Terminal equipment legends are an important component of the wastewater system schematic diagram, showing the location and type of each terminal device in the system. For example, for appliance branch pipes connecting to sanitary fixtures, corresponding sanitary fixture legends are generated at their ends based on the type of sanitary fixture connected, such as toilets, washbasins, and floor drains. For pipes connecting specific equipment, corresponding equipment legends are generated, such as sewage lift pumps and wastewater treatment equipment. Simultaneously, pipe diameter and riser number markings are required on the pipeline diagram. Pipe diameter marking clarifies the size and specifications of each pipe, ensuring accurate selection of appropriate pipe materials during construction. When marking, the pipe diameter should be clearly indicated above or beside the pipeline line, such as "DN50" or "DN100". Riser number markings facilitate accurate identification and installation of each riser by construction personnel on-site. Riser pipes are numbered according to certain rules, and the riser numbers are marked above or next to the riser lines on the riser diagram, such as "WL-1" and "FL-2," where "WL" indicates a sewage riser and "FL" indicates a wastewater riser. These markings allow construction workers to clearly understand the pipe diameter and riser number of each pipe in the wastewater system, providing accurate guidance for construction.

[0072] In one embodiment, based on the type of sanitary appliance connected by the branch pipe in the 3D model, a sanitary appliance legend connected to the appliance diagram line is generated at the end of the branch pipe. For example... Figure 3 The diagram shows a branch pipe floor drain generation method, with a floor drain icon connected to the end of the appliance diagram.

[0073] An inspection port is a device used for inspecting and cleaning pipes, typically installed on risers or horizontal mains. In wastewater system schematics, inspection port symbols need to be generated at the corresponding locations on the pipe lines. Therefore, as... Figure 4 As shown, for floors with appliance branch pipes, an inspection port diagram is generated at a preset position (e.g., 1m) above the floor elevation line, connecting to the riser line. A vent cap is a device installed at the top of the riser to expel harmful gases from the pipe and ensure the normal operation of the drainage system. Therefore, as... Figure 5 As shown, in the schematic diagram of the wastewater system, a vent cap symbol needs to be generated at the top of the riser line to indicate that the riser is connected to the atmosphere.

[0074] In one embodiment, when marking pipe diameters on a pipeline diagram, the location of the markings needs to be determined first. Generally, for riser mains, marking points can be determined from the top floor downwards according to a preset floor interval. For example, a marking point can be set every two floors, with each floor determined based on the elevation difference between floors. Based on the marking points, the pipe diameter markings corresponding to the riser mains are generated. For appliance branch pipes, since their diameters are relatively small and their numbers are large, the specific pipe diameters can be marked dispersedly on the horizontal pipeline of each appliance branch pipe to ensure that construction personnel can accurately install each appliance branch pipe. When marking pipe diameters, a uniform marking format should be used, such as "DN" followed by the specific pipe diameter value. Figure 6 The diagram shows a pipe diameter marking scheme. The pipe diameter marking for appliance branch pipes is DN50, and the pipe diameter marking for riser main pipes is DN100.

[0075] After labeling is completed, a thorough check and review are necessary. This includes verifying that the labeled pipe diameter values ​​match the actual pipe diameter in the 3D model, confirming the accuracy of the labeling location, and ensuring the labeling format is standardized. The review process can be conducted jointly by designers and reviewers to ensure the accuracy and completeness of the pipe diameter labeling, providing a reliable basis for the construction of the wastewater system.

[0076] After generating the terminal equipment diagrams, labeling the pipe diameters, and labeling the risers, the corresponding schematic diagram of the wastewater system is obtained. This schematic diagram intuitively shows the layout, connection relationships, location of terminal equipment, pipe diameters, and riser numbers of each pipe in the wastewater system.

[0077] The above are embodiments of the methods proposed in this application. Based on the same idea, some embodiments of this application also provide devices and non-volatile computer storage media corresponding to the above methods.

[0078] Figure 7 This is a schematic diagram of a device for generating a wastewater system schematic diagram, provided as an embodiment of this application. (See attached diagram.) Figure 7 As shown, it includes:

[0079] At least one processor; and,

[0080] At least one processor-communication-connected memory; wherein,

[0081] The memory stores instructions that can be executed by at least one processor, and the instructions, when executed by at least one processor, enable at least one processor to:

[0082] Identify the wastewater pipes corresponding to the wastewater system in the 3D model, and determine the pipe type corresponding to the wastewater pipes based on the topological relationship of the wastewater pipes; wherein, the pipe type includes riser main pipes, horizontal main pipes, and appliance branch pipes;

[0083] Read the elevation information from the linked model of the 3D model, and based on the base point selected by the user, generate elevation lines and the elevation names corresponding to each elevation line according to the elevation information;

[0084] Starting from the first elevation line, generate pipe lines corresponding to each pipe type;

[0085] At a preset location on the pipeline diagram, a diagram of the end equipment connected to the pipeline diagram is generated, and the pipeline diagram is labeled with pipe diameter and riser number to obtain the schematic diagram corresponding to the wastewater system.

[0086] This application provides a non-volatile computer storage medium storing computer-executable instructions, which are configured as follows:

[0087] Identify the wastewater pipes corresponding to the wastewater system in the 3D model, and determine the pipe type corresponding to the wastewater pipes based on the topological relationship of the wastewater pipes; wherein, the pipe type includes riser main pipes, horizontal main pipes, and appliance branch pipes;

[0088] Read the elevation information from the linked model of the 3D model, and based on the base point selected by the user, generate elevation lines and the elevation names corresponding to each elevation line according to the elevation information;

[0089] Starting from the first elevation line, generate pipe lines corresponding to each pipe type;

[0090] At a preset location on the pipeline diagram, a diagram of the end equipment connected to the pipeline diagram is generated, and the pipeline diagram is labeled with pipe diameter and riser number to obtain the schematic diagram corresponding to the wastewater system.

[0091] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.

[0092] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0093] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0094] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0095] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0096] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0097] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0098] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0099] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0100] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0101] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of this application should be included within the scope of the claims of this application.

Claims

1. A method of generating a schematic of a sewage system, characterized by, The method comprises: identifying sewage pipes in a three-dimensional model corresponding to a sewage system, and determining pipe types corresponding to the sewage pipes according to a topological relationship of the sewage pipes; wherein the pipe types comprise vertical pipe trunks, horizontal pipe trunks and fixture branch pipes, and the three-dimensional model comprises the layout of pipes in each floor and the connection mode of different sanitary fixtures and pipes; reading elevation information in a link model of the three-dimensional model, and generating elevation lines and elevation names corresponding to each elevation line according to the elevation information based on a base point selected by a user; the base point refers to a point specified by a designer by clicking a mouse in a blank area of a two-dimensional view during automatic generation of a drawing; generating pipe drawing lines corresponding to each pipe type from a first elevation line as a drawing starting point; generating end device legends connected to the pipe drawing lines at preset positions of the pipe drawing lines, and performing pipe diameter labeling and vertical pipe numbering labeling on the pipe drawing lines to obtain a principle diagram corresponding to the sewage system; generating elevation lines and elevation names corresponding to each elevation line according to the elevation information based on a base point selected by a user, specifically comprising: determining the position of the first elevation line based on the base point selected by the user, and generating the first elevation line based on a preset line style; determining the number of vertical pipe trunks according to the number of vertical pipe trunks and a preset buffer number, and determining the length of the elevation line corresponding to the elevation line through the number of vertical pipe trunks and the width of each vertical pipe trunk; the buffer number refers to the number of blank positions reserved for vertical pipe trunks; generating a plurality of elevation lines with a length of the length of the elevation line in sequence upward based on the first elevation line according to the elevation position relationship and the elevation interval contained in the elevation information; generating the elevation names corresponding to the elevation lines based on the names of the elevation lines read from the three-dimensional model; determining the number of vertical pipe trunks according to the number of vertical pipe trunks and a preset buffer number, specifically comprising: if the principle diagram contains a plurality of systems, determining the total number of vertical pipe trunks in the plurality of systems; determining the number of vertical pipe trunks according to the total number and the preset buffer number.

2. The method of generating a schematic of a wastewater system according to claim 1, wherein, generating pipe drawing lines corresponding to each pipe type from a first elevation line as a drawing starting point, specifically comprising: taking the first elevation line as a drawing starting point, and generating a plurality of vertical pipe drawing lines corresponding to the vertical pipe trunks in sequence according to a preset layout interval through the numbering order of the vertical pipe trunks in the three-dimensional model; generating horizontal pipe drawing lines corresponding to horizontal pipe trunks having a connection relationship with the vertical pipe trunks based on the vertical pipe drawing lines; identifying the number of fixtures connected to the fixture branch pipes in the three-dimensional model, and generating fixture drawing lines corresponding to the fixture branch pipes at the connection positions of the vertical pipe drawing lines or the horizontal pipe drawing lines according to a layout rule corresponding to the number of fixtures.

3. The method of generating a schematic of a wastewater system according to claim 2, wherein, generating fixture drawing lines corresponding to the fixture branch pipes at the connection positions of the vertical pipe drawing lines or the horizontal pipe drawing lines according to a layout rule corresponding to the number of fixtures, specifically comprising: In the case of one utensil, the utensil graph corresponding to the utensil branch is generated at the connection position of the riser graph or the cross pipe graph; the utensil graph is composed of a broken line drawn from the riser graph or the cross pipe graph and a horizontal line connecting the broken line; In the case of multiple utensils, the utensil graph corresponding to the utensil branch is generated at the connection position of the riser graph or the cross pipe graph, and a broken symbol is placed based on the end of the utensil graph to draw other utensil branches through the broken symbol.

4. The method for generating a schematic diagram of a sewage system according to claim 1, wherein, At a preset position of the pipe graph, an end device legend connected with the pipe graph is generated, specifically including: According to the type of sanitary appliance connected by the utensil branch in the three-dimensional model, a sanitary appliance legend connected with the utensil graph is generated at the end of the utensil branch; Determine the floor where the utensil branch is arranged, and generate an inspection port legend connected with the riser graph at a preset position above the elevation line of the floor; Generate a vent cap legend at the top end of the riser graph.

5. The method for generating a schematic diagram of a sewage system according to claim 1, wherein, The pipe diameter annotation and riser number annotation of the pipe graph are generated, specifically including: For the riser trunk, determine the marking point corresponding to the riser trunk according to the preset floor interval from the highest layer downward, and generate the pipe diameter annotation corresponding to the riser trunk based on the marking point; For the utensil branch, generate the pipe diameter annotation corresponding to the utensil branch at the horizontal line of the utensil branch; Obtain the number of each riser trunk from the three-dimensional model, and generate the pipe diameter annotation corresponding to the riser trunk according to the number.

6. The method for generating a schematic diagram of a sewage system according to claim 1, wherein, According to the topological relationship of the sewage pipe, the pipe type corresponding to the sewage pipe is determined, specifically including: The pipe with a geometric direction angle with the horizontal line not less than a first angle and a length greater than a preset length is identified as a riser trunk; The pipe with a geometric direction angle with the horizontal line not greater than a second angle and satisfying a specified pipe topological relationship is identified as a cross pipe trunk: The pipe connected with a sanitary appliance or a floor drain and connected with the riser trunk or the cross pipe trunk is identified as a utensil branch.

7. A device for generating a schematic of a sewage system, characterized in that The device includes: At least one processor; And a memory in communication connection with the at least one processor; Wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for generating a sewage system schematic diagram according to any one of claims 1-6.

8. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, The computer executable instructions are set as: The method for generating a sewage system schematic diagram according to any one of claims 1-6.

Citation Information

Patent Citations

  • BIM technology-based output method for editable water supply and drainage pipeline axonometric drawing

    CN105956244A

  • Water supply schematic diagram generation method and device, equipment and storage medium

    CN115906227A