Automatic seam-aligning method and device for laying
Through the automatic seam adjustment method, the starting position of the laying method is analyzed and moved to the end position under the same coordinate system, and the problems of low seam efficiency and poor accuracy in the existing technology are solved, and efficient and accurate seam adjustment effect is achieved.
Patent Information
- Application Number
- CN202210231338.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2042-03-10
AI Technical Summary
In the existing home decoration design, the paving method has low efficiency and poor accuracy, and the manual alignment cost is high, which can easily lead to poor overall alignment effect.
By obtaining the end point of the room coordinate system marked by the user, analyzing the layout of the laying array, moving the starting position of the laying method to the end point position under the paving coordinate system, realizing automatic seam adjustment of the paving method.
It improves the efficiency and accuracy of the seam laying method, reduces the number of manual adjustments by users, reduces the workload of designers, and enhances the applicability of home decoration design software.
Smart Images

Figure CN114756923B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of home decoration design, and in particular relates to an automatic seam-matching method and device for laying. Background Art
[0002] In the existing home decoration design, after the basic apartment design, the hard decoration design stage begins. The basic step of the hard decoration design stage is to divide the apartment surface into multiple areas to construct a series of relatively complex laying methods, and to show the tile laying methods and effects in the actual construction environment through laying methods. Since laying methods can be superimposed on each other and there are many different types of laying methods, this leads to different seam matching behaviors in the laying method design.
[0003] In order to improve the aesthetics of hard decoration design and avoid wasting hard decoration materials, paving seam alignment is an indispensable step. In the prior art, seam alignment is usually achieved by manual adjustment by the user. However, the size of the paving gap is generally small. Manual alignment will inevitably result in a slight error in the naked eye, which interferes with the subsequent process to a certain extent. In addition, when paving seams between multiple areas, the user is required to align the seams one by one. If it is found that the effect of one seam alignment is not satisfactory, it is necessary to go back and change the previous paving method, which undoubtedly greatly increases the workload of the designer. There are even some paving methods, such as wave lines, which can be considered as a combination of multiple paving methods. In most cases, the sides of the wave line cannot be aligned through a unified offset to achieve the overall gap effect, and the user needs to manually align them by edge. In this case, the cost of seam alignment for the user is too high, and the overall alignment effect after seam alignment will be poor because of the accumulated errors on each side when manually aligning by edge. Summary of the invention
[0004] One of the purposes of the present invention is to provide an automatic seam-aligning method for laying to improve seam-aligning efficiency and accuracy.
[0005] To achieve the above object, the technical solution adopted by the present invention is:
[0006] An automatic seam alignment method for a paving method, wherein the paving method is formed by paving methods or object arrays, and the starting point of the array arrangement of each paving method is taken as the starting position of the paving method, and the automatic seam alignment method for the paving method comprises:
[0007] Get the coordinates marked by the user based on the apartment coordinate system as the end point;
[0008] Analyze and obtain the paving method formed by the object array, and move the starting position of the paving method to the end position converted to the paving method coordinate system.
[0009] Several optional methods are also provided below, but they are not intended to be additional limitations on the above-mentioned overall solution, but are merely further supplements or preferences. Under the premise that there are no technical or logical contradictions, each optional method can be combined with the above-mentioned overall solution separately, and multiple optional methods can also be combined.
[0010] Preferably, the end point position converted to the paving method coordinate system is the same as the starting position of at least one of the paving methods to be aligned.
[0011] Preferably, the parsing to obtain the paving method formed by arranging the object array includes:
[0012] If the current paving method is formed by a paving method array arrangement, the paving method with array arrangement is used as the lower paving method, the paving method formed by the array arrangement is used as the upper paving method, and the lower paving method is taken as the current paving method to continue the analysis;
[0013] If the current paving method is arranged by an array of objects, the parsing is completed, and the current paving method is taken as the paving method arranged by an array of objects.
[0014] Preferably, the step of moving the starting position of the paving method to the end position converted into the paving method coordinate system comprises:
[0015] If the current paving method has a lower paving method but does not have an upper paving method, the end point position based on the house type coordinate system is converted to the coordinate system of the current paving method, and the lower paving method is taken as the current paving method to continue the coordinate system conversion of the end point position;
[0016] If the current paving method has a lower paving method and an upper paving method, the end point position in the coordinate system based on the upper paving method is converted to the coordinate system of the current paving method, and the lower paving method is taken as the current paving method to continue the coordinate system conversion of the end point position;
[0017] If the current paving method does not have a lower paving method but has an upper paving method, the end point position in the coordinate system based on the upper paving method is converted to the coordinate system of the current paving method, and the starting position of the current paving method is moved to the end point position converted to the coordinate system of the paving method;
[0018] If the current paving method does not have a lower paving method and does not have an upper paving method, the end point position based on the apartment coordinate system is converted to the coordinate system of the current paving method, and the starting position of the current paving method is moved to the end point position converted to the coordinate system of the paving method.
[0019] Preferably, the upper layer laying method has one or more parallel lower layer laying methods, and the array arrangements of the multiple parallel lower layer laying methods are different.
[0020] The automatic seam alignment method for paving methods provided by the present invention can quickly align the gap effects between different paving methods and greatly improve the accuracy of seam alignment. At the same time, in order to improve the flexibility of seam alignment, the user is allowed to set an end point, and the overall paving effect is continuously adjusted based on the end point selected by the user, avoiding the situation where multiple operations are required when performing seam alignment operations using wavy lines and other paving methods, thereby avoiding the user from manually and repeatedly adjusting the starting position of each paving method, greatly improving the user's work efficiency and enhancing the applicability of home decoration design software.
[0021] The second purpose of the present invention is to provide an automatic seam-aligning device for laying to improve seam-aligning efficiency and accuracy.
[0022] To achieve the above object, the technical solution adopted by the present invention is:
[0023] An automatic seam-aligning device for paving comprises a processor and a memory storing a plurality of computer instructions. When the computer instructions are executed by the processor, the steps of the automatic seam-aligning method for paving are implemented.
[0024] The automatic seam alignment device for paving methods provided by the present invention can quickly align the gap effects between different paving methods and greatly improve the accuracy of seam alignment. At the same time, in order to improve the flexibility of seam alignment, the user is allowed to set an end point, and the overall paving effect is continuously adjusted based on the end point selected by the user, avoiding the situation where multiple operations are required when performing seam alignment operations using wavy lines and other paving methods, thereby avoiding the user manually repeatedly adjusting the starting position of each paving method, greatly improving the user's work efficiency and enhancing the applicability of home decoration design software. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flow chart of the automatic seam-aligning method of the paving method of the present invention;
[0026] Figure 2 A schematic diagram of a rectangular paving method according to an example of the present invention;
[0027] Figure 3 This is a schematic diagram of a paving method without seams according to an example of the present invention;
[0028] Figure 4 for Figure 3 Schematic diagram of laying method after seaming according to the method of the present invention. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0031] In order to solve the problems of low efficiency and poor seam alignment accuracy between various paving methods in different scenarios when using home improvement software, this embodiment proposes an automatic seam alignment method for paving methods, which realizes fast and accurate batch seam alignment.
[0032] In order to facilitate the understanding of the method of this embodiment, the laying method and seam alignment in this application are first described:
[0033] Paving method: A script is constructed by constructing position information and parameters. In a program description language, a script is composed of one script or multiple scripts superimposed in an array placed in a certain step. In this application, the paving method is described with reference to the definition of the script, that is, the paving method is arranged by an array of paving methods or objects. An object is the smallest unit of a paving method. Different types of objects constitute different types of paving methods. For example, a brick is taken as an object and arranged in an array in two rows and two columns in the first step to form a paving method. Taking the paving method and arranging it in an array in three rows and three columns in the second step can get a new paving method.
[0034] When the paving is arranged by a paving array, the paving can be arranged by one or more paving arrays. That is, the upper paving has one or more parallel lower pavings, and the array arrangement modes of the multiple parallel lower pavings are different. In this embodiment, there is no limit to the number and type of pavings. The focus of this embodiment is to obtain the paving and perform seam matching according to the known paving data.
[0035] Alignment: It is a change to the starting point, which can ensure that the gaps can be aligned when multiple polygons are combined in equal shapes between two paving methods. The number of paving methods is determined by the layer interval.
[0036] like Figure 1 As shown, an automatic seam-aligning method of a paving method in this embodiment includes the following steps:
[0037] S1. Obtain the coordinates marked by the user based on the apartment coordinate system as the end point.
[0038] This embodiment supports the user to set the end point position by himself when aligning the seams to improve the flexibility of aligning the seams, and the marking coordinates are achieved through interactive behavior, which can be keyboard input, touch operation, etc.
[0039] In order to reduce the amount of data processing, in this embodiment, it is preferred that the end position converted to the paving method coordinate system is the same as the starting position of at least one of the paving methods to be aligned. In this case, the paving methods with the same starting position and the same end position in the same coordinate system do not need to be aligned.
[0040] S2. Analyze and obtain the paving method formed by the object array, and move the starting position of the paving method to the end position converted into the paving method coordinate system.
[0041] The core of the seam alignment in this embodiment is to move the starting position of each paving method to the end position in the same coordinate system. Since the paving method is arranged in an array, the starting point of the array arrangement of each paving method is taken as the starting position of the paving method, and the entire paving method is moved by aligning the starting position as the target, which not only improves the alignment efficiency, but also avoids the need to align each object in the paving method one by one.
[0042] In this embodiment, the position movement specifically includes the following steps:
[0043] S2.1、Analysis of laying method.
[0044] Since the paving method may be composed of multiple layers of paving methods nested or arranged in parallel, and each paving method has its own starting position, the paving method needs to be analyzed in this embodiment to obtain the bottom layer of paving methods.
[0045] Take one of the paving methods to be aligned as the current paving method. The parsing process is as follows:
[0046] If the current paving method is formed by a paving method array arrangement, the paving method with array arrangement is taken as the lower paving method, the paving method formed by the array arrangement is taken as the upper paving method, and the lower paving method is taken as the current paving method to continue analysis; if the current paving method is formed by an object array arrangement, the analysis is completed, and the current paving method is taken as the paving method formed by the object array arrangement.
[0047] S2.2, position movement and alignment.
[0048] The analysis of the paving method obtains each paving method structure, and the seam alignment is completed by displacement according to the paving method structure. The specific seam alignment process in this embodiment is as follows:
[0049] If the current paving method has a lower paving method but does not have an upper paving method, the end point position based on the house type coordinate system is converted to the coordinate system of the current paving method, and the lower paving method is taken as the current paving method to continue the coordinate system conversion of the end point position;
[0050] If the current paving method has a lower paving method and an upper paving method, the end point position in the coordinate system based on the upper paving method is converted to the coordinate system of the current paving method, and the lower paving method is taken as the current paving method to continue the coordinate system conversion of the end point position;
[0051] If the current paving method does not have a lower paving method but has an upper paving method, the end point position in the coordinate system based on the upper paving method is converted to the coordinate system of the current paving method, and the starting position of the current paving method is moved to the end point position converted to the coordinate system of the paving method;
[0052] If the current paving method does not have a lower paving method and does not have an upper paving method, the end point position based on the apartment coordinate system is converted to the coordinate system of the current paving method, and the starting position of the current paving method is moved to the end point position converted to the coordinate system of the paving method.
[0053] By executing steps S2.1 and S2.2 for each paving method to be aligned, the movement of all paving methods can be completed to align the gaps of each paving method. This embodiment is mainly used to increase the alignment ability between various paving methods in home decoration design, so as to improve the work efficiency of designers and give home decoration design software better flexibility.
[0054] In the above embodiment, for ease of understanding, the analysis of the laying method and the movement of the position are described separately. In actual application, the two can be executed separately or integrated with each other. The following further describes the method steps when the two are integrated with each other:
[0055] 1) First, obtain the end point position marked by the user through interactive behavior.
[0056] 2) Search for all specified paving methods that need to be aligned in the paving method database, and remove the relevant data of paving methods with the same starting position and end position in the same coordinate system.
[0057] 3) Choose a paving method as the current paving method;
[0058] 4) If the current paving method is formed by an array of paving methods, the paving method with array arrangement is used as the lower paving method, and the current paving method is used as the upper paving method. The end position based on the apartment coordinate system is converted to the coordinate system of the current paving method. The lower paving method is taken as the current paving method and step 5) is executed; if the current paving method is formed by an object array, the analysis is completed, the end position based on the apartment coordinate system is converted to the coordinate system of the current paving method, and the starting position of the current paving method is moved to the end position converted to the paving method coordinate system.
[0059] 5) If the current paving method is formed by a paving method array arrangement, the paving method with array arrangement is used as the lower paving method, and the current paving method is used as the upper paving method. The end point position in the coordinate system based on the upper paving method is converted to the coordinate system of the current paving method. The lower paving method is taken as the current paving method and step 5) is executed; if the current paving method is formed by an object array arrangement, the analysis is completed, the end point position in the coordinate system based on the upper paving method is converted to the coordinate system of the current paving method, and the starting position of the current paving method is moved to the end point position converted to the coordinate system of the paving method.
[0060] 6) Determine whether all the paving methods obtained in step 2) have completed the seam alignment. If so, end the seam alignment process; otherwise, take one of the new paving methods as the current paving method and execute step 5).
[0061] It should be noted that the above description is based on the example that each layer has one paving method. If a layer contains multiple parallel paving methods, each paving method can be used as the execution object to execute the logic in the corresponding layer. Figure 2 The upper paving method is referred to as the rectangular paving method in the following text. Since the paving arrays corresponding to each side are not the same, they cannot be directly composed of a single array, that is, they cannot be satisfied by the single-layer paving method. Therefore, the four sides need to be used as a kind of rectangular paving method. The lower paving method is referred to as the single-side paving method in the following text. The end position is first converted to the coordinate system of the rectangular paving method and then to the coordinate system of the single-side paving method. Then, the starting position of the corresponding single-side paving method is moved to the end position converted to the coordinate system of the side. When there are multiple layers of paving, the end position is converted from the original coordinate system layer by layer.
[0062] by Figure 3 The seam alignment method of this embodiment is performed as an example in the state where the seam is not aligned. The result after the seam alignment is as follows Figure 4 As shown in the figure, Figure 3 The gap of the paving method shown in the gray part (the thick white line in the gray part) is not aligned with the gap of the paving method shown in the black part (the thin white line in the black part. In this embodiment, the gaps of different paving methods are distinguished by thick and thin white lines for direct indication. In actual operation, the gaps are generally the same thickness). After the method of this embodiment, Figure 4 The gap between the two is precisely aligned.
[0063] In another embodiment, the present invention further provides an automatic seam-aligning device for paving, comprising a processor and a memory storing a plurality of computer instructions, wherein the computer instructions, when executed by the processor, implement the steps of the automatic seam-aligning method for paving.
[0064] For the specific limitations on the automatic seam-aligning device for paving, please refer to the limitations on the automatic seam-aligning method for paving mentioned above, which will not be repeated here.
[0065] The memory and the processor are electrically connected directly or indirectly to achieve data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The memory stores a computer program that can be run on the processor, and the processor implements the network topology layout method in the embodiment of the present invention by running the computer program stored in the memory.
[0066] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory is used to store a program, and the processor executes the program after receiving an execution instruction.
[0067] The processor may be an integrated circuit chip with data processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0068] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0069] The above-mentioned embodiments only express several implementation modes of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. An automatic seam-aligning method for laying, characterized in that: The paving method is formed by paving methods or object arrays, and the starting point of the array arrangement of each paving method is taken as the starting position of the paving method. The automatic seam alignment method of the paving method includes: Get the coordinates marked by the user based on the apartment coordinate system as the end point; Analyze and obtain the paving method formed by the object array, and move the starting position of the paving method to the end position converted to the paving method coordinate system; The parsing to obtain the layout of the object array includes: If the current paving method is formed by a paving method array arrangement, the paving method with array arrangement is used as the lower paving method, the paving method formed by the array arrangement is used as the upper paving method, and the lower paving method is taken as the current paving method to continue the analysis; If the current paving method is arranged by an array of objects, the parsing is completed, and the current paving method is taken as the paving method arranged by an array of objects; The step of moving the starting position of the paving method to the end position converted into the paving method coordinate system includes: If the current paving method has a lower paving method but does not have an upper paving method, the end point position based on the house type coordinate system is converted to the coordinate system of the current paving method, and the lower paving method is taken as the current paving method to continue the coordinate system conversion of the end point position; If the current paving method has a lower paving method and an upper paving method, the end point position in the coordinate system based on the upper paving method is converted to the coordinate system of the current paving method, and the lower paving method is taken as the current paving method to continue the coordinate system conversion of the end point position; If the current paving method does not have a lower paving method but has an upper paving method, the end point position in the coordinate system based on the upper paving method is converted to the coordinate system of the current paving method, and the starting position of the current paving method is moved to the end point position converted to the coordinate system of the paving method; If the current paving method does not have a lower paving method and does not have an upper paving method, the end point position based on the apartment coordinate system is converted to the coordinate system of the current paving method, and the starting position of the current paving method is moved to the end point position converted to the coordinate system of the paving method.
2. The automatic seam-aligning method of paving as claimed in claim 1, characterized in that: The end point position converted to the paving method coordinate system is the same as the starting position of at least one of the paving methods to be aligned.
3. The automatic seam-aligning method of paving as claimed in claim 1, characterized in that: The upper layer laying method has one or more parallel lower layer laying methods, and the array arrangement modes of the multiple parallel lower layer laying methods are different.
4. An automatic seam-aligning device for laying, comprising a processor and a memory storing a plurality of computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method described in any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Virtual paving tile design-oriented realization method, electronic equipment and storage medium
CN108335360A
Space seam aligning method and device for 3D cloud design, electronic equipment and medium
CN113379917A