A method, device and medium for marking a house number
Through the interactive interface and vector angle calculation, the household pipe number marking is automatically completed, which solves the problem of cumbersome and inefficient household pipe number marking in the existing technology and realizes efficient circular numbering sorting.
Patent Information
- Application Number
- CN202511030274.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-25
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2045-07-25
AI Technical Summary
In the existing technology of building water supply and drainage design, the process of marking the household pipe numbers is cumbersome and inefficient. It is impossible to complete the ring numbering of different systems in one go, and multiple manual adjustments or the use of CAD plug-ins to set the direction are required.
By determining the numbering information based on the interactive interface, obtaining the elevation and floor of the building model, generating the building area, screening the household pipelines and calculating the vector angle, automatic clockwise and counterclockwise sorting and labeling can be achieved.
No manual adjustments are required, and the household pipe number marking is completed automatically, which improves efficiency, avoids tedious workload and the limitations of fixed sorting direction, and realizes the circular numbering of pipelines in different systems.
Smart Images

Figure CN120524622B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electrical digital data processing, and in particular to a method, device and medium for marking household pipe numbers. Background Art
[0002] In building water supply and drainage design, each inlet and outlet pipe needs to be numbered to correspond to the pipes in the plumbing system. Generally, pipe numbers are assigned based on the system, and the numbers increase according to a certain rule, such as clockwise around the building, counterclockwise around the building, etc.
[0003] There are currently three numbering methods. The first is a completely manual drawing method, the second is a manual drawing method based on a CAD plug-in, and the third is an automatic drawing of household pipe numbers based on a CAD plug-in. Among them, manual drawing requires manual adjustment after copying or drawing a number, and the manual drawing method based on a CAD plug-in also requires specifying the pipe system and number value of the number when placing the number. Both methods require a lot of work to complete the marking of household pipe numbers. In addition, the method of automatically drawing household pipe numbers through a CAD plug-in requires the use of the household sorting function to number after all the pipe systems are placed. However, the household sorting function only supports the order from left to right, from right to left, from top to bottom, and from bottom to top. It is impossible to generate and arrange all numbers at once. The number sorting can only be completed step by step by setting different directions during multiple runs. The operation is cumbersome and inefficient. Summary of the Invention
[0004] In order to solve the above problems, this application proposes a method for marking household pipe numbers, including:
[0005] Based on a preset interactive interface, determine the numbering information corresponding to the household pipeline to be marked; wherein the numbering information includes at least one or more of the following: numbering sequence, numbering starting point, and pipeline system;
[0006] Obtain the elevation and floor corresponding to a specified floor in the building model; wherein the specified floor refers to a floor where entry can occur;
[0007] Generating a building area corresponding to the designated floor according to the contour boundary corresponding to the floor slab;
[0008] Filtering pipelines matching the building model from the pipeline view of the interactive interface, and determining entry pipelines and corresponding crossing points of the entry pipelines based on a spatial relationship between the pipelines and the building area;
[0009] Determine a reference point among the crossing points, and calculate the angle between a vector between the reference point and each crossing point and a preset reference vector;
[0010] According to the order of change of the angle, the pipeline ends at the crossing points are sorted and marked in sequence according to the numbering order to obtain the corresponding household pipe number marking.
[0011] In one implementation of the present application, generating the building area corresponding to the designated floor according to the outline boundary corresponding to the floor slab specifically includes:
[0012] Expanding the outer contours of the floor slabs on the designated floor, and determining a floor slab range corresponding to the designated floor according to a union of the expanded outer contours;
[0013] Determine the horizontal area boundary corresponding to the designated floor according to the difference between the horizontal boundaries of the floor range of the designated floor and the floor at the upper elevation;
[0014] Determining the vertical area boundary corresponding to the designated floor according to the vertical boundaries of the floor range of the designated floor and the floors at adjacent elevations;
[0015] A building area corresponding to the designated floor is generated according to the horizontal area boundary and the vertical area boundary.
[0016] In one implementation of the present application, determining the household pipeline and the corresponding crossing point of the household pipeline based on the spatial relationship between the pipeline and the building area specifically includes:
[0017] determining a starting point and an end point of the pipeline;
[0018] If any one of the starting point and the end point is located within the building area, and the other one is located outside the building area, the pipeline is determined to be a household pipeline;
[0019] The intersection point between the household pipeline and the area boundary of the building area is used as the crossing point corresponding to the household pipeline.
[0020] In one implementation of the present application, the numbering sequence includes counterclockwise and clockwise. According to the order of change of the angle, the pipeline ends of the crossing points are sorted and marked in the numbering sequence to obtain the corresponding household pipe number marking, specifically including:
[0021] When the numbering sequence is counterclockwise, the crossing points are arranged in descending order of the included angles;
[0022] When the numbering sequence is clockwise, the crossing points are arranged in ascending order of the included angles;
[0023] According to the arrangement order of the crossing points, the pipe numbers of the pipeline ends of the crossing points are marked in turn to obtain the corresponding household pipe number markings.
[0024] In one implementation of the present application, after sequentially marking the pipeline ends at the crossing points with pipe numbers, the method further includes:
[0025] Determine the corresponding system abbreviation value according to the pipeline system corresponding to the household pipeline;
[0026] According to the system abbreviation value, the end of the pipeline is marked with the system abbreviation, so as to obtain the corresponding household pipe number marking according to the pipe number marking and the system abbreviation marking.
[0027] In one implementation of the present application, determining the vertical area boundary corresponding to the designated floor according to the vertical boundary of the floor range of the designated floor and the floors at adjacent elevations specifically includes:
[0028] If the designated floor is the lowest floor, the vertical boundary of the floor range in the designated floor is extended downward by a preset distance to obtain the vertical area boundary corresponding to the designated floor.
[0029] In one implementation of the present application, determining the reference point in the crossing point specifically includes:
[0030] Obtain the coordinates corresponding to each crossing point, and use the crossing point with the largest horizontal coordinate among the crossing points as the reference point;
[0031] If there are multiple crossing points with the same horizontal coordinate, the crossing point with the largest vertical coordinate among the crossing points is used as the reference point.
[0032] In one implementation of the present application, before sequentially sorting and marking the pipeline ends of the crossing points in the numbering order according to the change order of the included angle, the method further includes:
[0033] If the numbering starting point is not specified in the interactive interface, the upper left point of the crossing point is used as the numbering starting point;
[0034] Starting from the numbering starting point, according to the order of change of the angle, the pipeline ends of the crossing points are sorted and marked in sequence according to the numbering sequence.
[0035] The present application provides a device for marking household pipe numbers, the device comprising:
[0036] at least one processor;
[0037] and, a memory communicatively coupled to the at least one processor;
[0038] Wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a household management number marking method as described in any one of the above items.
[0039] An embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to:
[0040] A method for marking household pipe numbers as described in any of the above items.
[0041] The method for marking household pipe numbers proposed in this application can bring the following beneficial effects:
[0042] The elevation and floor slab of a specified floor of a building are obtained to generate the three-dimensional building area boundary. Incoming pipelines and crossing points are screened based on spatial relationships, and then automatic clockwise and counterclockwise sorting and labeling are achieved based on vector angle calculations. This eliminates the need to manually adjust the numbering or run the plug-in multiple times to set the direction, avoiding the tedious workload of manual drawing and the limitations of fixed sorting directions. Ring numbering of pipelines from different systems can be completed in one go, significantly improving the efficiency of incoming pipe number labeling. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0044] Figure 1 A flowchart of a method for marking household pipe numbers provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of an interactive interface provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of a building area provided in an embodiment of the present application;
[0047] Figure 4 An example numbering diagram provided for an embodiment of the present application;
[0048] Figure 5 A schematic structural diagram of a household pipe number marking device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0050] The following describes in detail the technical solutions provided by various embodiments of the present application in conjunction with the accompanying drawings.
[0051] like Figure 1 As shown, the embodiment of the present application provides a method for marking household pipe numbers, including:
[0052] S101: Based on a preset interactive interface, determine the numbering information corresponding to the household pipeline to be marked; wherein the numbering information includes at least one or more of the following: numbering sequence, numbering starting point and pipeline system.
[0053] Before marking the household pipeline number, the pre-designed interactive interface is used to determine the numbering rules that need to be followed, so that the marked numbers are clear and standardized. In this way, when managing the pipeline later, the basic situation of the pipeline can be quickly understood through the number. Figure 2 The following is a schematic diagram of an interactive interface. Based on this exchange interface, the numbering information corresponding to the household pipeline to be tagged needs to be determined. The numbering information includes at least one or more of the following: numbering sequence, numbering starting point, and pipeline system. The numbering sequence refers to counterclockwise or clockwise numbering. The numbering starting point can be set manually or use the default upper left point as the starting point. The system type is extracted from the project file and is used to specify the pipeline system corresponding to the household pipeline to be tagged, such as CX flushing water pipeline, F wastewater pipeline, HY siphon rainwater pipeline, and J water supply pipeline. Each pipeline corresponds to a different system abbreviation value.
[0054] S102: Obtain the elevation and floor corresponding to a specified floor in the building model; wherein the specified floor refers to a floor where entry can occur.
[0055] The building model is a virtual model designed using BIM software, architectural design software, etc., which contains information such as the building's floor height, floor location, and pipeline direction. After setting the label information based on the interactive interface, it is necessary to obtain the elevation and floor corresponding to the specified floor in the corresponding building from the pre-designed building model. The elevation is used to indicate the height position of this floor. For example, the ground elevation of the first floor may be ±0.000, and the elevation of the first underground floor may be -3.000. The elevation can indicate the specific height value of the floor. The floor refers to the horizontal dividing component of the floors in a building. A floor can be the bottom plate of the upper floor and the top plate of the lower floor at the same time.
[0056] It should be noted that the designated floor refers to the floor where a home entry can occur. A home entry refers to the movement of pipelines from outside the building into the building. The entry pipe number annotation only applies to views or drawings of the underground and above-ground floors. For the underground floor, home entry / exit occurs on this floor, and the entry point is through a wall or floor slab. For the above-ground floor, the pipeline is drawn in the above-ground views or drawings, but the home entry occurs underground, and the entry point is still through a wall or floor slab. Therefore, the first floor floor and the basement ceiling, along with their projected outlines, represent the home entry point. Therefore, when obtaining elevations, simply filter for elevations with names containing "_1F" and "_B0F." The "_1F" floor slab is the above-ground floor slab, and the "_B0F" floor slab is the basement ceiling with soil cover. When obtaining floor slabs, simply filter for floor slabs with a base elevation equal to the above-mentioned elevations.
[0057] S103: Generate a building area corresponding to a designated floor according to the contour boundary corresponding to the floor slab.
[0058] The essence of the household pipeline is to pass from the outside of the building to the inside of the building, but the building drawings only show pipelines and floor slabs, and do not provide clear boundaries between the inside and outside of the building, making it impossible to determine whether the pipeline is entering or leaving the house. In addition, the pipelines on the ground floor are drawn on this floor, but the actual wall penetration point is on the outer wall of the basement. The wall penetration point of the underground pipeline is on the outer wall of this floor. Relying on manual judgment of the wall penetration position is inefficient and prone to errors. Therefore, the embodiment of the present application generates the building area corresponding to the specified floor according to the contour boundary corresponding to the floor slab, converts the building space into the geometric relationship between the pipeline and the virtual building area, and locates the household pipeline through the geometric boundary. It is possible to judge the pipeline entry behavior without relying on the complete building model, thereby improving the efficiency of identifying the wall penetration position.
[0059] In one embodiment, in order to take into account the thickness of the building envelope (such as curtain wall, external wall), the outer contour of the floor in the specified floor is expanded. Because the floor structure edge is usually on the inside, the real indoor space boundary is the inner surface of the external wall, and the expansion of the outer contour can make the building area closer to the actual horizontal projection range of the indoor space. When expanding, 500mm is generally selected. If there are multiple unconnected floor areas on the same floor, the expanded outer contours are unioned to merge into a single contour representing the maximum possible indoor range of the floor. The merged outer contour is the floor range corresponding to the specified floor.
[0060] Considering the shielding of the upper building to the lower space, it is necessary to ensure that the calculated indoor space boundary of each floor does not intrude into the area of the upper building entity. Therefore, it is necessary to perform a difference set operation on the horizontal boundary of the floor range in the specified floor and the floor above it. The difference set operation is to remove all overlapping parts in the upper floor from the specified floor, and the final difference set is the horizontal area boundary corresponding to the specified floor. For any two adjacent floors, according to the vertical boundary of the floor range in the specified floor and the floor above it, that is, the vertical floor edge, the vertical area boundary corresponding to the specified floor can be determined. For example, the vertical boundary of the floor between the first floor above ground and the first floor below ground is the vertical area boundary corresponding to the first floor above ground. According to the horizontal area boundary and the vertical area boundary, the building area corresponding to the specified floor can be generated, and the building area is the top cover type building area boundary with the upper part sealed and the lower part open. Figure 3 A building area diagram provided by an embodiment of the present application can be obtained according to the horizontal boundary and the vertical boundary in the building area after expanding the floor contour.
[0061] It should be noted that when determining the vertical area boundary, if the specified floor is the lowest floor, that is, the first floor below ground, the vertical boundary of the floor range in the specified floor is directly extended downward by a preset distance to obtain the vertical area boundary corresponding to the specified floor. The preset distance can be 5000mm.
[0062] S104: From the pipeline view of the interactive interface, the pipeline matched with the building model is filtered out, and the access pipeline and the corresponding penetration point of the access pipeline are determined according to the spatial relationship between the pipeline and the building area.
[0063] From the pipeline view of the interactive interface, filter out pipelines that match the building model. Whether a pipeline enters a household essentially depends on whether it passes from outside the building area into the area. Therefore, based on the spatial relationship between the pipeline and the building area, the entry and exit pipelines and the corresponding crossing points of the entry pipelines can be determined. The crossing point refers to the intersection between the entry pipeline and the boundary of the building area. Through the building area, the entry pipeline and its crossing point can be automatically identified based on the three-dimensional spatial relationship. This not only solves the problem of low efficiency and easy omission of hidden crossing points when manually screening pipelines one by one, but also realizes the transformation of the entry pipeline labeling from manual operation relying on experience to intelligent calculation based on algorithms, effectively improving the labeling efficiency.
[0064] In one embodiment, the starting point and end point of each selected pipeline are determined. If either point is within the building area, and the other point is outside the building area, the pipeline is determined to be a residential pipeline. The intersection of the residential pipeline and the boundary of the building area is the crossing point of the residential pipeline.
[0065] S105: Determine a reference point among the crossing points, and calculate the angle between the vector between the reference point and each crossing point and the preset reference vector.
[0066] After determining the crossing point, it is necessary to number the household pipelines according to the crossing point. In order to solve the problem that the existing numbering method cannot complete the numbering of all pipelines at one time, the embodiment of the present application establishes a direction coordinate system for the crossing point by calculating the vector angle, and clarifies the labeling order of the pipelines corresponding to each crossing point, thereby realizing automatic clockwise and counterclockwise sorting. In this way, all household pipe numbers can be automatically and completely labeled without setting the numbering running direction multiple times, which effectively improves the labeling efficiency. Before calculating the angle corresponding to the crossing point, it is necessary to first determine the reference origin for sorting, that is, the reference point. Then, starting from the numbering starting point, the angle between the vector between the reference point and each crossing point and the preset reference vector is calculated in sequence. Set vertically downward as the reference direction, and the preset reference vector can be (0, -1, 0).
[0067] It should be noted that when selecting a reference point, the coordinates of each crossing point must be obtained. Generally, the crossing point with the largest horizontal coordinate is selected as the reference point, which is the rightmost crossing point on the building area outline. If multiple crossing points with the same horizontal coordinate are selected based on the horizontal coordinate, the crossing point with the largest vertical coordinate should be selected as the reference point.
[0068] S106: According to the change sequence of the included angle, the pipeline ends at the crossing points are sorted and marked in sequence according to the numbering sequence to obtain the corresponding household pipe number marking.
[0069] After obtaining the angle corresponding to each crossing point, the crossing points will be arranged in a clockwise or counterclockwise order around the building, depending on the order of the angle changes. Therefore, after the user sets the numbering sequence in advance, the pipeline ends at the crossing points will be sorted and labeled in the order of the angle changes, completing the pipe numbering of all household pipelines at once.
[0070] Before marking the household pipe number, you first need to determine the starting point of the numbering. If the user does not specify the starting point of the numbering in the interactive interface, the upper left point of the crossing point will be used as the starting point of the numbering by default. In this way, starting from the starting point of the numbering, the pipeline ends of the crossing points can be sorted and marked in the order of numbering according to the order of change of the angle.
[0071] like Figure 4 In the example numbering diagram shown, point A is the reference point. The closer the crossing point is to the reference direction (vertically downward), the smaller the angle, and vice versa. Therefore, if the angle between the crossing points increases, it means the crossing points are arranged clockwise, i.e., 1-2-...-7. Otherwise, they are arranged counterclockwise, i.e., 7-6-...-1.
[0072] Therefore, when numbering according to the order of angle changes, first determine whether the user-set numbering order is counterclockwise or clockwise. If the numbering order is counterclockwise, the crossing points need to be arranged in descending order of angle; conversely, if the numbering order is clockwise, the crossing points need to be arranged in ascending order of angle. After the crossing points are arranged according to the numbering order, the numbering can be stopped from the starting point and the pipe end of each crossing point can be marked with the pipe number in turn to obtain the corresponding household pipe number.
[0073] It should be noted that in addition to including the number corresponding to each pipeline, the labeling instance also includes the corresponding pipeline system abbreviation value. Therefore, after completing the pipe number labeling of the household pipeline, it is necessary to determine the corresponding system abbreviation value based on the pipeline system corresponding to the household pipeline. Then, based on the system abbreviation value, the system abbreviation value is labeled at the end of the pipeline. Based on the pipe number labeling and the system abbreviation labeling, the corresponding household pipe number labeling is obtained. For example, the household pipe number corresponding to the household pipeline is 7-YL-1, where YL represents the rainwater system and 1 is the number of the household pipeline.
[0074] The embodiment of the present application realizes automatic clockwise or counterclockwise sorting of crossing points based on the order of angle changes. Combined with the flexible setting of the default numbering starting point and the user-defined starting point, the pipe number marking of all household pipelines can be completed at one time, avoiding the tedious operations of manually adjusting the number or running the plug-in to set the direction multiple times in the prior art.
[0075] The above is a method embodiment provided by the present application. Based on the same idea, some embodiments of the present application also provide a device and a non-volatile computer storage medium corresponding to the above method.
[0076] Figure 5 A structural schematic diagram of a household pipe number marking device provided by an embodiment of the present application is shown in FIG. 1. As shown in FIG. 1, the device comprises: Figure 5
[0077] at least one processor; and
[0078] a memory in communication with the at least one processor; wherein
[0079] 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 perform the household pipe number marking method according to any one of the above.
[0080] An embodiment of the present application provides a non-volatile computer storage medium, which stores computer executable instructions, and the computer executable instructions are configured to:
[0081] perform the household pipe number marking method according to any one of the above.
[0082] Each of the embodiments of the present application is described in a progressive manner, and the same or similar parts of each of the embodiments can be referred to each other. Each of the embodiments mainly describes the difference from other embodiments. In particular, the device and medium embodiments are described simply because they are basically similar to the method embodiments, and the relevant parts can be referred to the part of the description of the method embodiments.
[0083] The device and medium provided by the embodiments of the present application are one-to-one corresponding to the method, and therefore, the device and medium also have the similar beneficial technical effects as the method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the device and medium will not be described here.
[0084] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
[0085] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0086] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0087] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0088] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0089] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0090] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules 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, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.
[0091] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not only include those elements, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.
[0092] The above only describes the embodiments of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the scope of claims of the present application.
Claims
1. A method for marking household pipe numbers, characterized in that: The method comprises: Based on a preset interactive interface, determine the numbering information corresponding to the household pipeline to be marked; wherein the numbering information includes at least one or more of the following: numbering sequence, numbering starting point, and pipeline system; Obtain the elevation and floor corresponding to a specified floor in the building model; wherein the specified floor refers to a floor where entry can occur; Generating a building area corresponding to the designated floor according to the contour boundary corresponding to the floor slab; Filtering pipelines matching the building model from the pipeline view of the interactive interface, and determining entry pipelines and corresponding crossing points of the entry pipelines based on a spatial relationship between the pipelines and the building area; Determine a reference point among the crossing points, and calculate the angle between a vector between the reference point and each crossing point and a preset reference vector; According to the order of change of the angle, the pipeline ends at the crossing points are sorted and marked in sequence according to the numbering sequence to obtain the corresponding household pipe number marking; the numbering sequence includes counterclockwise and clockwise.
2. A household management number marking method according to claim 1, characterized in that: Generating a building area corresponding to the designated floor according to the contour boundary corresponding to the floor slab specifically includes: Expanding the outer contours of the floor slabs on the designated floor, and determining a floor slab range corresponding to the designated floor according to a union of the expanded outer contours; Determine the horizontal area boundary corresponding to the designated floor according to the difference between the horizontal boundaries of the floor range of the designated floor and the floor at the upper elevation thereof; Determining the vertical area boundary corresponding to the designated floor according to the vertical boundaries of the floor range of the designated floor and the floors at adjacent elevations; A building area corresponding to the designated floor is generated according to the horizontal area boundary and the vertical area boundary.
3. A household pipe number marking method according to claim 1, characterized in that: Determining the household pipeline and the corresponding crossing point of the household pipeline based on the spatial relationship between the pipeline and the building area specifically includes: determining a starting point and an end point of the pipeline; If any one of the starting point and the end point is located within the building area, and the other one is located outside the building area, the pipeline is determined to be a household pipeline; The intersection point between the household pipeline and the area boundary of the building area is used as the crossing point corresponding to the household pipeline.
4. A household pipe number marking method according to claim 1, characterized in that: According to the change order of the angle, the pipeline ends of the crossing points are sorted and marked in sequence according to the numbering order to obtain the corresponding household pipe number marking, specifically including: When the numbering sequence is counterclockwise, the crossing points are arranged in descending order of the included angles; When the numbering sequence is clockwise, the crossing points are arranged in ascending order of the included angles; According to the arrangement order of the crossing points, the pipe numbers of the pipeline ends of the crossing points are marked in turn to obtain the corresponding household pipe number markings.
5. A household pipe number marking method according to claim 4, characterized in that: After sequentially marking the pipeline ends at the crossing points with pipe numbers, the method further includes: Determine the corresponding system abbreviation value according to the pipeline system corresponding to the household pipeline; According to the system abbreviation value, the end of the pipeline is marked with the system abbreviation, so as to obtain the corresponding household pipe number marking according to the pipe number marking and the system abbreviation marking.
6. A household management number marking method according to claim 3, characterized in that: Determining the vertical area boundary corresponding to the designated floor according to the vertical boundary of the floor range of the designated floor and the floors at adjacent elevations includes: If the designated floor is the lowest floor, the vertical boundary of the floor range in the designated floor is extended downward by a preset distance to obtain the vertical area boundary corresponding to the designated floor.
7. A household pipe number marking method according to claim 1, characterized in that: Determining a reference point in the crossing point specifically includes: Obtain the coordinates corresponding to each crossing point, and use the crossing point with the largest horizontal coordinate among the crossing points as the reference point; If there are multiple crossing points with the same horizontal coordinate, the crossing point with the largest vertical coordinate among the crossing points is used as the reference point.
8. A household management number marking method according to claim 1, characterized in that: Before sequentially sorting and marking the pipeline ends of the crossing points in the numbering order according to the change order of the included angles, the method further includes: If the numbering starting point is not specified in the interactive interface, the upper left point of the crossing point is used as the numbering starting point; Starting from the numbering starting point, according to the order of change of the angle, the pipeline ends of the crossing points are sorted and marked in sequence according to the numbering sequence.
9. A household pipe number marking device, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; In which, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a household management number marking method as described in any one of claims 1-8.
10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: A method for marking household pipe numbers according to any one of claims 1 to 8.
Citation Information
Patent Citations
Water supply and drainage system diagram generation method and device, equipment and storage medium
CN117494291A
Pipeline diagram annotation method and device, equipment and storage medium
CN117745883A