A floor heating coil design method and system

By using the spindle expansion method and computer algorithms to generate floor heating coils, the problem of complex floor heating wiring in decoration and design software is solved, and the floor heating wiring is made automated, fast, accurate and neat to meet the needs of different house types and users.

CN114970062BActive Publication Date: 2025-09-05HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210598413.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-30
Publication Date
2025-09-05
Estimated Expiration
2042-05-30

AI Technical Summary

Technical Problem

The existing decoration and renovation design software lacks intelligent generation capabilities for floor heating wiring, resulting in complex, uneven, and easily crossed floor heating coil designs, making it difficult to meet the needs of different apartment types and users.

Method used

The main axis expansion method based on the apartment type is adopted. The abstract main axis point of the coil is set through a computer algorithm to generate the main axis path. The offset path is generated according to the offset point, and the offset path is adjusted to achieve the neat arrangement of the floor heating coils.

Benefits of technology

It realizes the automation, speed and accuracy of floor heating wiring, ensures that pipelines do not cross, adapts to different apartment types and user needs, and the algorithm is easy to understand and expand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114970062B_ABST
    Figure CN114970062B_ABST
Patent Text Reader

Abstract

The present invention relates to a method and system for designing floor heating coils, wherein the method comprises: setting an abstract principal axis point for the coil; traversing the abstract principal axis point to generate an abstract principal axis path for the coil; generating an offset point based on the abstract principal axis point; generating an offset path based on the principal axis path and the offset point; and adjusting the offset path to obtain a coil path. The present invention utilizes a computer algorithm to automatically achieve neat, fast, and accurate floor heating wiring without intersecting pipelines. The algorithm is highly abstract, reusable, stable, and easy to understand and expand, and can be customized based on specific apartment types and other business needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent decoration technology, and in particular to a floor heating coil design method and system. Background Art

[0002] Plumbing and electrical installations are concealed works within the interior design industry, invisible and irreversible. The placement of plumbing models and the layout of their piping must comply with national standards and industry practices, and are typically completed on-site by experienced plumbers. This demand has driven the emergence of interior design software, and with the advancement of computer graphics and computer vision technologies, its application is expanding. This software applies computer graphics to the interior design field.

[0003] When using interior design software, the vast majority of designs rely on manual design and lack intelligent generation capabilities. This is particularly true for plumbing and electrical installations within interior design software, where users must expend considerable effort on model placement and adjustment, establishing and adjusting relationships between models, and routing and adjusting pipelines. Different national standards exist for different wiring types, and different layout methods apply to different apartment types. Different users have varying needs, and even regional and customary practices can lead to differing layout rules. These diverse intelligent generation methods are not explicitly restricted by national standards.

[0004] Floor heating wiring is a very important function in the field of water and electricity decoration. It is suitable for various complex house types, with a large number of wire pipes and high technical requirements. These wire pipes must be uniform, horizontal and vertical, and cannot cross. Therefore, it is necessary to use computer algorithms to automatically realize floor heating wiring. Floor heating coil design belongs to the core function of floor heating wiring. How to arrange floor heating coils neatly, quickly, accurately, and without crossing pipelines, there is currently no better solution. The purpose of the present invention is to provide a floor heating coil design method and system, which uses decoration design software to generate floor heating coils based on the house type using the main axis expansion method to solve the above technical problems. Summary of the Invention

[0005] In order to solve the technical problem of floor heating coil design, the technical solution adopted by the present invention is:

[0006] The present invention provides a floor heating coil design method, comprising the following steps: setting the coil abstract main axis point; setting the coil abstract main axis point comprises: gridding the floor heating coil laying area, and the vertices of the grid constitute the coil abstract main axis point; traversing the abstract main axis point to generate the coil abstract main axis path; generating an offset point according to the abstract main axis point; generating an offset path according to the main axis path and the offset point; and adjusting the offset path to obtain the coil path.

[0007] Furthermore, gridding the floor heating coil laying area specifically includes: setting a plurality of parallel horizontal straight lines and vertical straight lines that cover the floor heating coil laying area; the spacing between adjacent horizontal straight lines and adjacent vertical straight lines is the main axis spacing; the horizontal straight lines and vertical straight lines intersect, and the intersection constitutes the abstract main axis point of the coil; wherein, the main axis spacing is greater than the coil spacing.

[0008] Preferably, the main shaft spacing is equal to twice the coil spacing.

[0009] Furthermore, traversing the abstract main axis points to generate the coil abstract main axis path includes: using a path search algorithm to generate the abstract main axis path.

[0010] Furthermore, the use of a path search algorithm to generate the abstract main axis path specifically includes: using a depth search algorithm, starting from a main axis point, traversing adjacent points in a counterclockwise direction, and finally returning to the starting main axis point to obtain the abstract main axis path.

[0011] Preferably, when the coil main axis is spiral, generating the abstract main axis path specifically includes: taking one of the grid vertices, finding the adjacent grid vertices along a straight line edge, rotating 90 degrees after finding one straight line edge, and finding the adjacent grid vertices along the next straight line edge, storing all the found points without duplication in the path set, and obtaining the spiral coil main axis path.

[0012] Furthermore, generating an offset point based on the abstract main axis point includes: selecting 2-3 adjacent abstract main axis points to form a main axis point group, and 2-3 consecutive main axis traversal points to form a corner. According to the angle of the corner, the offset method and offset distance are set to obtain an offset point corresponding to the corner, wherein the offset distance = coil spacing / 2.

[0013] Furthermore, generating the offset path specifically includes: using a depth search algorithm, starting from an offset point, traversing adjacent points in a counterclockwise direction, and finally returning to the starting offset point to obtain the offset path.

[0014] Furthermore, if the offset path is an oblique path relative to the main axis path, it is adjusted to a straight path.

[0015] The present invention also proposes a floor heating coil design system, which includes: a coil abstract main axis point setting unit, used to set the coil abstract main axis point; a coil abstract main axis path generation unit, used to traverse the abstract main axis point to generate a coil abstract main axis path; an offset point generation unit, used to generate an offset point according to the abstract main axis point; an offset path generation unit, used to generate an offset path according to the main axis path and the offset point; and an offset path adjustment unit, used to adjust the offset path to obtain a coil path.

[0016] The present invention also proposes an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the computer program is characterized in that when the computer program is executed by the processor, the processor executes the above-mentioned floor heating coil design method.

[0017] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above-mentioned floor heating coil design method when executed by a processor.

[0018] The beneficial effects of the present invention are: with the help of computer algorithms, the floor heating wiring can be automatically realized in a neat, fast, accurate and non-crossing manner; the algorithm is highly abstract, reusable, stable in performance, easy to understand, easy to expand, and can be personalized according to different businesses such as specific house types. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 : Flowchart of the floor heating coil design method of the present invention;

[0020] Figure 2 : Schematic diagram of the abstract main axis of the spiral coil according to an embodiment of the present invention;

[0021] Figure 3 : Schematic diagram of an abstract main axis of a circuitous coil according to another embodiment of the present invention;

[0022] Figure 4 : Schematic diagram of the abstract main axis of a spirally wound coil according to another embodiment of the present invention;

[0023] Figure 5 : Schematic diagram of the relationship between the coil spacing and the main shaft spacing of the present invention;

[0024] Figure 6 : Schematic diagram of the present invention generating a spiral spindle path;

[0025] Figure 7 : Schematic diagram of the position of the offset point corresponding to the 90-degree corner of the present invention;

[0026] Figure 8 : Schematic diagram of the position of the offset point corresponding to the 180-degree corner of the present invention;

[0027] Figure 9 : Schematic diagram of the position of the offset point corresponding to the 270-degree corner of the present invention;

[0028] Figure 10 : Schematic diagram of the position of the offset point corresponding to the 360-degree corner of the present invention;

[0029] Figure 11 : Schematic diagram of the spindle path and offset path of the present invention;

[0030] Figure 12 : Schematic diagram of the offset path adjustment of the present invention;

[0031] Figure 13 : Schematic diagram of the design effect of the floor heating coil of the present invention;

[0032] Figure 14 : The structural diagram of the floor heating coil design system of the present invention. DETAILED DESCRIPTION

[0033] The present invention will now be further described with reference to the embodiments and accompanying drawings:

[0034] The purpose of the present invention is to provide a method and system for generating floor heating coils based on the house type using the main axis expansion method in decoration design software, which can automatically achieve neat, fast, accurate and non-crossing floor heating wiring with the help of computer algorithms.

[0035] The present invention provides a method for designing floor heating coils. Figure 1 , including: setting the abstract main axis point of the coil; traversing the abstract main axis point to generate an abstract main axis path of the coil; generating an offset point according to the abstract main axis point; generating an offset path according to the main axis path and the offset point; and adjusting the offset path to obtain a coil path.

[0036] first, Figure 2-4 Schematic diagrams of the spiral coil, the circuitous coil, and the abstract main axis of the spiral circuitous coil are respectively given. Figure 2 As shown in the figure, taking the spiral coil as an example, it introduces how to abstract the main axis of the floor heating coil. First, draw the real coil, and then fill in the loop. The loop is a very thick path; draw the main axis on the center line of this very thick path; then only keep the main axis and delete the other parts. In this way, the complex coil is abstracted into a simple main axis. Figure 3-4 The process of abstracting the main axis of the circuitous coil and the spiral circuitous coil is given respectively, which is similar to that of the spiral coil and will not be repeated here.

[0037] Figure 5 The diagram shows the relationship between the coil spacing and the main shaft spacing. Figure 5 As shown in the figure, the coil spacing refers to the distance between two parallel coils, and the spindle spacing refers to the distance between two parallel spindles. Figure 5 It can be seen that the spindle spacing is equal to twice the coil spacing.

[0038] The following describes how to set the coil's abstract principal axis point. The coil area is abstracted into a grid area, grid lines, and grid points. Using the principal axis spacing, draw many parallel horizontal and vertical lines to form the grid lines. Intersecting horizontal and vertical lines form grid points. These grid points constitute the coil's abstract principal axis point. A path-finding algorithm is used to find a path within the grid area, connecting the grid points. Numerous path-finding algorithms are available, and they can be customized, providing great flexibility.

[0039] Figure 6 The method of generating a spiral spindle path according to an embodiment of the present invention is illustrated. Figure 6 As you can see, a rectangular region has four vertices. Take one vertex and continue searching for adjacent points along a straight line. After searching for a straight line, turn 90 degrees and continue searching for adjacent points along the next straight line. Already found points are stored in the path set and cannot be accessed again. By analogy, we can obtain a spiral main axis path.

[0040] After obtaining the principal axis point and generating the principal axis path, you need to further obtain offset points. A principal axis point can have multiple adjacent principal axis points, arranged in a counterclockwise order. Offset distances are set for each principal axis point. Consecutive adjacent principal axis points can generate counterclockwise corners. Corners are limited to 90 degrees, 180 degrees, 270 degrees, and 360 degrees. Using the principal axis point, corner, and offset distance, one or two corresponding offset points can be generated. Figure 7-10 Schematic diagrams of the positions of the offset points corresponding to the 90-degree, 180-degree, 270-degree, and 360-degree corners are given respectively.

[0041] like Figure 7 As shown, corner CBA = 90 degrees, generating inner corner point B. Point B is moved along direction BA by offset distance offset to obtain point M. Point M is moved along direction BC by offset distance offset to obtain point N, which is the offset point. The offset distance offset = coil spacing / 2.

[0042] like Figure 8 As shown, corner DEF = 180 degrees, generating a parallel point E. Point E rotates 90 degrees counterclockwise along direction DE and moves by offset distance offset to obtain point L, which is the offset point. The offset distance offset = coil spacing / 2.

[0043] like Figure 9 As shown, corner GHK = 270 degrees, generating an outer corner point H. Point H is moved along direction GH by offset distance offset to obtain point R. Point R is moved along direction KH by offset distance offset to obtain point S, which is the offset point. The offset distance offset = coil spacing / 2.

[0044] like Figure 10 As shown, corner PQP = 360 degrees, generating an exterior corner point Q. Point Q is moved by offset distance offset along direction PQ to obtain point U; point U is moved by offset distance offset along direction PQ rotated 90 degrees counterclockwise to obtain point V; point U is moved by offset distance offset along direction PQ rotated 90 degrees clockwise to obtain point W. Points V and W are offset points.

[0045] Based on the offset points generated above, an offset path is further generated. Figure 11 As shown, the thick line shows the spindle path, and the outer contour composed of the thin line shows the offset path.

[0046] The following describes how to generate an offset path using a main axis path. The main axis path is represented using the main axis adjacent point notation: point A, adjacent point B; point B, adjacent point ACE; point C, adjacent point BD; point D, adjacent point C; and point E, adjacent point B. The main axis points are traversed counterclockwise using a depth-based search algorithm, starting from a point and traversing the adjacent points in a counterclockwise direction. A point may be visited multiple times. Starting from point A, the main axis path is ABCDCBEBA.

[0047] Three consecutive points along the main axis form a corner. ABC forms a 180-degree corner, BCD forms a 90-degree corner, CDC forms a 360-degree corner, DCB forms a 270-degree corner, and so on.

[0048] Use corners to generate offset points and bind the offset points to the corners. The offset point of corner ABC = B1, the offset point of corner BCD = C1, the offset point of corner CDC = D1, D2, the offset point of corner DCB = C2, the offset point of corner CBE = B3, the offset point of corner BEB = E2, E1, the offset point of corner EBA = B2, and the offset point of corner BAB = A2, A1.

[0049] Next, traverse the offset points counterclockwise. The previous step already yielded the results of counterclockwise traversal of the corners, as well as the correspondence between corners and offset points. While traversing the corners counterclockwise, collecting the offset points, we obtain the results of counterclockwise traversal of the offset points. This yields the offset path: B1C1D1D2C2B3E2E1B2A2A1.

[0050] Finally, adjust the offset path. If different main axis points have multiple different offset paths, it will result in the generation of diagonal lines. Traverse the offset path, and if you encounter a diagonal line, adjust the diagonal path to a straight path. Figure 12As shown in the figure, the original offset path includes diagonal lines EJ and KG. For diagonal line KG, determine the point G2 that is closest to line GH from point K. Adjust G and move it to G2 to eliminate diagonal line KG. For diagonal line JE, determine the point E2 that is closest to line EF from point J. Adjust E and move it to E2 to eliminate diagonal line JE.

[0051] After adjustment, the design of the entire floor heating coil is completed, and the offset path is the layout path of the floor heating coil. Figure 13 As shown, the final effect of the floor heating coil layout is shown.

[0052] The present invention also proposes a floor heating coil design system, which includes: a coil abstract main axis point setting unit, used to set the coil abstract main axis point; a coil abstract main axis path generation unit, used to traverse the abstract main axis point to generate a coil abstract main axis path; an offset point generation unit, used to generate an offset point according to the abstract main axis point; an offset path generation unit, used to generate an offset path according to the main axis path and the offset point; and an offset path adjustment unit, used to adjust the offset path to obtain a coil path. Figure 13 The structure diagram of the system is shown, and its execution process corresponds to the above-mentioned floor heating coil design method, which will not be repeated here.

[0053] The present invention also proposes an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the computer program is characterized in that when the computer program is executed by the processor, the processor executes the above-mentioned floor heating coil design method.

[0054] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above-mentioned floor heating coil design method when executed by a processor.

[0055] Through the above-mentioned floor heating coil design method and system settings, with the help of computer algorithms, floor heating wiring is automatically realized, and floor heating coils are automatically generated using the main axis expansion method, so that floor heating wiring is neat, fast, accurate, and pipelines do not cross.

[0056] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0057] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0058] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk, and other media that can store program code.

[0059] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.

Claims

1. A floor heating coil design method, characterized in that: include: Setting the abstract main axis point of the coil includes: meshing the laying area of ​​the coil, wherein the mesh vertices constitute the abstract main axis point of the coil; Traversing the abstract main axis points to generate an abstract main axis path of the coil includes: using a path search algorithm to generate the abstract main axis path, including: using a depth search algorithm, starting from a main axis point, traversing adjacent points in a counterclockwise direction, and finally returning to the starting main axis point to obtain the abstract main axis path; when the main axis of the coil is spiral, generating the abstract main axis path specifically includes: taking one of the mesh vertices, searching for adjacent mesh vertices along a straight line edge, rotating 90 degrees after searching for adjacent mesh vertices along the next straight line edge, and storing all found mesh vertices without duplication in a path set to obtain the abstract main axis path of the spiral coil; Generating an offset point according to the abstract main axis point includes: selecting 2-3 adjacent abstract main axis points to form a main axis point group, and selecting 2-3 consecutive main axis traversal points to form a corner. According to the angle of the corner, setting an offset mode and an offset distance to obtain an offset point corresponding to the corner, wherein the offset distance = coil spacing / 2; Generating an offset path according to the main axis path and the offset point, including: using a depth search algorithm, starting from an offset point, traversing adjacent points in a counterclockwise direction, and finally returning to the starting offset point to obtain the offset path; The offset path is adjusted to obtain a coiled tube path.

2. The floor heating coil design method according to claim 1, characterized in that: The gridding of the coil laying area specifically includes: A plurality of parallel horizontal and vertical lines are arranged to cover the entire coil laying area; the spacing between adjacent horizontal lines and adjacent vertical lines is the principal axis spacing; the horizontal and vertical lines intersect, and the intersection constitutes the abstract principal axis point of the coil; wherein the principal axis spacing is greater than the coil spacing.

3. The floor heating coil design method according to claim 2, characterized in that: The main shaft spacing is equal to twice the coil spacing.

4. The floor heating coil design method according to claim 1, characterized in that: If the offset path is an oblique path relative to the main axis path, it is adjusted to a straight path.

5. A floor heating coil design system, characterized in that: The system comprises: The coil pipe abstract main axis point setting unit is used to set the coil pipe abstract main axis point, including: meshing the laying area of ​​the coil pipe, and the mesh vertices constitute the abstract main axis point of the coil pipe; a coil abstract spindle path generating unit, configured to traverse the abstract spindle points to generate a coil abstract spindle path; an offset point generating unit, configured to generate an offset point according to the abstract principal axis point; an offset path generating unit, configured to generate an offset path according to the spindle path and the offset point; an offset path adjustment unit, configured to adjust the offset path to obtain a coil path; The step of traversing the abstract spindle points to generate the coil abstract spindle path includes: A path search algorithm is used to generate the abstract main axis path; The generating of the abstract main axis path by using the path search algorithm specifically includes: using a depth search algorithm, starting from a main axis point, traversing adjacent points in a counterclockwise direction, and finally returning to the starting main axis point to obtain the abstract main axis path; When the coil main axis is spiral, generating the abstract main axis path specifically includes: taking one of the mesh vertices, searching for adjacent mesh vertices along a straight line, rotating 90 degrees after searching for adjacent mesh vertices along the next straight line, and storing all found mesh vertices without duplication in a path set to obtain the spiral coil main axis path; Generating an offset point according to the abstract main axis point includes: selecting 2-3 adjacent abstract main axis points to form a main axis point group, and selecting 2-3 consecutive main axis traversal points to form a corner. According to the angle of the corner, setting an offset mode and an offset distance to obtain an offset point corresponding to the corner, wherein the offset distance = coil spacing / 2; Generating an offset path according to the main axis path and the offset point includes: using a depth search algorithm, starting from an offset point, traversing adjacent points in a counterclockwise direction, and finally returning to the starting offset point to obtain the offset path.

6. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the computer program is executed by the processor, the processor is caused to execute the floor heating coil design method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the floor heating coil design method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Grid wiring method and device and storage medium

    CN113486484A

  • Robot navigation path width acquisition system and method, robot and storage medium

    CN113607161A