A method and system for arranging and processing rock slabs
By converting the rock slabs into processing data and arranging and outputting them, the problem that existing tools do not have the ability to type and calculate the stone slab stone, and automatically generate accurate typesetting and processing diagrams, simplifying the process and saving costs.
Patent Information
- Application Number
- CN202210074066.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-06
- Filing Date
- 2022-01-21
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2042-01-21
AI Technical Summary
The existing home decoration design tools do not have the ability to type, calculate the quantity processing and tool design of rock slab stone, which leads to the cumbersome processing process of rock slab stone and lack the ability to automatically generate accurate typesetting and processing drawings.
By converting the rock slabs into corresponding processing data, including obtaining rock slab fragment layout data, processing and generating rock slab processing data, and performing rock slab layout and data annotation output based on the processing data, an accurate layout processing diagram is automatically generated.
It realizes the layout capability, calculation processing and tool design capabilities of rock slab stone. The process is simple and easy to operate. It can automatically generate accurate layout processing drawings to guide processing and save costs.
Smart Images

Figure CN114428982B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and more particularly, to a method and system for arranging and processing rock slabs. Background Art
[0002] Rock slabs are a hot topic in the current building ceramics industry. They are super-large-sized new porcelain materials fired at high temperatures by special processes, with characteristics such as high plasticity, flexible customization, high temperature and abrasion resistance, anti-permeation, and environmental protection and health. They can be applied to paving and home furnishing scenarios. Compared with large slabs, rock slabs can be drilled, polished, and more conveniently cut, and are more suitable for making various shapes. At the same time, rock slabs cover most of the scenarios of stone materials.
[0003] Due to its excellent characteristics, rock slabs are not only applied to the traditional building ceramics market, but also can be used in rock slab home furnishing, such as rock slab dining tables, kitchen islands, and customized cabinets, which is a new starting point for the building ceramics industry to cross over to the home furnishing industry. Current home decoration design tools do not have the ability to arrange, calculate quantities, and process rock slabs and stone materials. The industry mainly realizes the arrangement, calculation, and processing through CAD layout, and the generation process is very cumbersome.
[0004] The purpose of the present invention is to endow rock slabs and stone materials with the ability of layout, quantity calculation and processing, and tool design, so that after the tool design, accurate layout and processing drawings can be automatically generated for rock slabs and stone materials to guide processing and save costs. Summary of the Invention
[0005] In order to solve the technical problems of rock slab layout and processing, the technical solution adopted by the present invention is:
[0006] The present invention provides a method for arranging and processing rock slabs, including: converting rock slabs into corresponding processing data; arranging the rock slabs according to the processing data; and outputting the arranged rock slab data after annotation.
[0007] Further, converting the rock slabs into corresponding processing data includes: obtaining rock slab fragment layout data; and processing the rock slab fragment layout data to generate rock slab processing data.
[0008] Further, the obtaining of the rock slab fragment layout data includes: arranging the shaping surface and the rock slabs; and recording the rock slab fragment data paved on each shaping surface; the rock slab fragment data includes, but is not limited to, the rock slab instance ID corresponding to each rock slab fragment, the commodity information of the rock slab, the starting paving point, the rotation angle, and the mirror image direction.
[0009] Further, the processing of the slab fragment layout data to generate slab processing data includes: classifying the slab fragment data according to the slab instance ID; for the slab fragments with the same slab instance ID, constructing a complete slab area based on their slab fragment data; performing a Boolean sum calculation on the slab area and the current modeling surface to obtain the processing data of the slab fragment.
[0010] Further, the slab arrangement according to the processing data includes: drawing the building surface according to the contour information of the building surface; drawing the modeling surface according to the contour information of the modeling surface; obtaining all the slab data on the modeling surface from the slab processing data; numbering all the slab fragments;
[0011] drawing the slabs on the modeling surface; performing external dimension marking according to the contour information of the modeling surface and the building surface; drawing the slab numbers according to the processing data of the slab fragments.
[0012] Further, the marked output of the arranged slab data includes: drawing the complete contour of the slab according to the size of the slab, and drawing the texture map of the slab into the slab area to obtain a complete slab picture; using the processing data of the slab to obtain the processing area of the slab fragment, and drawing the outer contour of the slab fragment processing according to the processing area; performing dimension marking and number marking according to the size of the processing area.
[0013] The present invention also proposes a slab layout processing system, which includes: a processing data acquisition device for converting slabs into corresponding processing data; a slab arrangement device for arranging slabs according to the processing data; and a data marked output device for marked output of the arranged slab data.
[0014] Further, the processing data acquisition device includes: a layout data acquisition unit for acquiring slab fragment layout data; and a processing data generation unit for processing the slab fragment layout data to generate slab processing data.
[0015] Further, the processing data generation unit is also used for: arranging the modeling surface and the slabs; recording the slab fragment data laid on each modeling surface; the slab fragment data includes but is not limited to: the slab instance ID corresponding to each slab fragment, the commodity information of the slab, the starting laying point, the rotation angle, and the mirror direction.
[0016] Further, the processing data acquisition device is also used for: classifying the slab fragment data according to the slab instance ID; for the slab fragments with the same slab instance ID, constructing a complete slab area according to the slab fragment data; performing a Boolean sum calculation on the slab area and the current modeling surface to obtain the processing information of the slab fragment.
[0017] Furthermore, the slate arrangement device is also configured to: draw the building surface according to the contour information of the building surface; draw the shaping surface according to the contour information of the shaping surface; obtain all the slate data on the shaping surface from the slate processing data; label all the slate fragments; draw the slates on the shaping surface; perform external dimension marking according to the contour information of the shaping surface and the building surface; and draw the slate numbers according to the processing data of the slate fragments.
[0018] Furthermore, the data marking and output device is also configured to: draw the complete contour of the slate according to the size of the slate, draw the texture map of the slate into the slate area to obtain a complete slate picture; use the processing data of the slate to obtain the processing area of the slate fragment, and draw the outer contour of the processing of the slate fragment according to the processing area; and perform dimension marking and number marking according to the size of the processing area.
[0019] The present invention also provides an electronic device, including a memory and a processor. The memory stores a computer program. It is characterized in that when the computer program is executed by the processor, the processor executes the above-mentioned slate layout and processing method.
[0020] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned slate layout and processing method is implemented.
[0021] The beneficial effects of the present invention are as follows: Through the above-mentioned slate layout and processing method and system, the slate stone layout ability, quantity calculation and processing, and tool design ability are obtained. The process is simple and the operation is convenient, so that after the tool design, the slate stone can automatically generate an accurate layout processing drawing to guide the processing and save costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 : Flow chart of the slate layout and processing method of the present invention;
[0023] Figure 2 : Schematic diagram of a shaping surface arrangement method in the layout design center of the present invention;
[0024] Figure 3 : Schematic diagram of another shaping surface arrangement method in the layout design center of the present invention;
[0025] Figure 4 : Preview schematic diagram drawn by the present invention;
[0026] Figure 5 : Schematic diagram of the final layout effect generated by the present invention;
[0027] Figure 6: Structure diagram of the slab layout processing system of the present invention. Detailed implementation manners
[0028] The present invention will be further described in combination with embodiments and drawings as follows:
[0029] The problem to be solved by the present invention is to process and layout the slab stone paving in the design tool to form a layout drawing.
[0030] The present invention provides a slab layout processing method, including: converting the slab into corresponding processing data; arranging the slabs according to the processing data; and marking and outputting the arranged slab data.
[0031] For the design of the slab layout scheme, it specifically includes constructing a paving modeling surface and placing the slabs.
[0032] First, for constructing the paving modeling surface, multiple paving modeling surfaces can be designed on the same wall or floor, and then the area of the modeling surface to be paved is selected to enter the slab layout design. As shown in the layout design center Figure 2 , the dotted line represents the selected modeling surface, and the blue line represents the area where the slabs are placed. In the layout design tool, the position of the modeling surface can be changed, and free combination, arrangement, rotation, and translation can be performed. Changing the position of the modeling surface in the slab layout design does not affect the position of the modeling surface in the actual design, and the coordinates of the modeling surface in the actual design have not changed. Figure 3 is another layout diagram of the modeling surface. As shown in Figure 2 and Figure 3 , the positions of the two modeling surfaces A and B in the layout design are exchanged, but in the actual scheme design, the positions of the modeling surfaces have not changed, and the slabs on the modeling surfaces in the actual design are the same as those in the layout design.
[0033] That is, the modeling surface is selected on the actual house design page. The modeling surface can be multiple areas of one wall or multiple areas of multiple walls. After selection, enter the layout design center page. In this page, all selected areas will be arranged in sequence on a plane. The arrangement method, position, angle, and order can all be changed at will, without affecting the position, order, and angle of the selected modeling surface on the actual house design page. It is only for the convenience of the operator to design on a plane and to facilitate the user to adjust the slabs when selecting the slabs, so that adjacent modeling surfaces can be designed with continuous patterns.
[0034] After completing the design of the paving modeling surface, the slabs can be placed on the modeling surface. As shown in Figure 3As shown, the layout design of the rock slab draws the shaping surface. Select the required rock slab and move it to the shaping surface to place it. The rock slab can only be placed on the shaping surface, and the part exceeding the shaping surface will not be used. For the case where the selected rock slab is larger than the shaping surface, it is necessary to calculate the overlapping part of the rock slab placed on the shaping surface, that is, the part of the rock slab actually required.
[0035] After typesetting the shaping surface and the rock slab, obviously, the relationship between the shaping surface and the rock slab is many-to-many. Record the information of the rock slab fragments pasted on each shaping surface. The rock slab fragment information is: the rock slab instance ID corresponding to each rock slab fragment, the commodity information of the rock slab, the starting laying point, the rotation angle, and the mirror image direction. Use the center point of the rock slab as its starting laying point. The starting laying point coordinates of the rock slab are generated based on the shaping surface on which it is pasted. When entering the layout design center, the coordinates of the shaping surface will be passed in together.
[0036] Take Figure 2 the design plan as an example. The same rock slab is placed on two shaping surfaces A and B. Then the finally generated rock slab layout data has two rows, which are the rock slab data generated based on the coordinates of the two shaping surfaces A and B respectively. The corresponding rock slab instance IDs of these two rows of data are the same.
[0037] Simply put, the rock slab instance ID represents the identity of the rock slab, that is, it represents the same rock slab, which is convenient for calculating how many rock slabs are needed; and this rock slab places different parts on two shaping surfaces respectively, so there is one rock slab data for shaping surface A and one rock slab data for shaping surface B.
[0038] After generating the layout data of the rock slab fragments, process the known layout data of the rock slab fragments to generate rock slab processing data. Classify all the rock slab fragments according to the rock slab instance ID. The rock slab fragments with the same instance ID represent that they use the same rock slab. Next, cut the rock slab fragments with the same instance ID. The starting laying point of the rock slab fragment and the shaping surface on which it is pasted are known. Therefore, based on the starting laying point of the rock slab fragment and the length and width of the rock slab, construct the complete rock slab area, and perform a Boolean sum calculation on the rock slab area and the current shaping surface to obtain the specific contour information of the rock slab fragment. After obtaining the contour position of the rock slab fragment, the processing area information of the rock slab fragment is known.
[0039] The processing area information is the information of the part of the rock slab located on the shaping surface, including the length, width, area, and position coordinates of this part. After obtaining the processing area information, it is convenient for drawing, and then according to the layout drawing, the specific cutting method of the rock slab can be carried out.
[0040] After obtaining the above processing area information, the preview drawing can be started. The preview drawing is a construction drawing that guides the designer to know the position of each rock slab fragment and the commodity information of the rock slab it uses. Figure 4 It is a preview schematic diagram.
[0041] The generation process of the preview image is as follows: draw the building surface according to the contour information of the building surface;
[0042] Draw the shaping surface according to the contour information of the shaping surface, and at the same time obtain all the slab data on the shaping surface from the slab processing data;
[0043] Number all the slab fragments, and the numbering rule is: letter + number1 - number2. The letter represents the slab product used in the scheme, starting from letter A and increasing; number1 represents the continuous pattern number of the slab continuous pattern product used by the slab fragment; number2 represents the area where the slab fragment is located, starting from 1 and increasing;
[0044] Draw the slabs on the shaping surface. First, define the canvas as the shaping surface area, then determine the position of the slab according to the starting laying point of the slab fragment, and finally draw the slab texture map on the canvas, perform dimension marking and numbering, and at the same time, according to the contour information of the shaping surface and the building surface, perform external dimension marking. Subsequently, draw the slab number according to the processing area information of the slab fragment.
[0045] Finally, draw the layout diagram. The slab layout diagram can draw the layout information of each slab, which is of great significance for guiding construction. Draw the layout diagram according to the generated processing data of the slab fragments, specifically including:
[0046] Classify the slab processing data according to the slab instance ID;
[0047] Draw the complete contour of the slab according to the length and width of the slab, and draw the texture map of the slab into the slab area to obtain a complete slab picture;
[0048] Next, use the slab processing data to obtain the specific processing area of the slab fragment, and draw the outer contour of the slab fragment processing according to the processing area;
[0049] Perform dimension marking and number marking according to the size of the processing area. The final generated layout diagram effect is as Figure 5 shown.
[0050] Corresponding to the above slab layout processing method, the present invention also proposes a slab layout processing system, Figure 6 The composition diagram of the slab layout processing system of the present invention is shown. The system includes: a processing data acquisition device for converting slabs into corresponding processing data; a slab arrangement device for arranging slabs according to the processing data; and a data marking and output device for marking and outputting the arranged slab data.
[0051] Further, the processing data acquisition device includes: a layout data acquisition unit for acquiring the layout data of the slab fragments; and a processing data generation unit for processing the layout data of the slab fragments to generate slab processing data.
[0052] Further, the processing data generation unit is further configured to: layout the shaping surface and the slab; record the data of the slab fragments laid on each shaping surface; the data of the slab fragments includes, but is not limited to: the slab instance ID corresponding to each slab fragment, the commodity information of the slab, the starting laying point, the rotation angle, and the mirror image direction.
[0053] Further, the processing data acquisition device is further configured to: classify the slab fragment data according to the slab instance ID; for the slab fragments with the same slab instance ID, construct a complete slab area according to the slab fragment data; perform a Boolean sum calculation on the slab area and the current shaping surface to obtain the processing information of the slab fragment.
[0054] Further, the slab arrangement device is further configured to: draw the building surface according to the contour information of the building surface; draw the shaping surface according to the contour information of the shaping surface; obtain all the slab data on the shaping surface from the slab processing data; label all the slab fragments; draw the slabs on the shaping surface; perform external dimension marking according to the contour information of the shaping surface and the building surface; and draw the slab numbers according to the processing data of the slab fragments.
[0055] Further, the data marking and output device is further configured to: draw the complete contour of the slab according to the size of the slab, draw the texture map of the slab into the slab area to obtain a complete slab picture; use the processing data of the slab to obtain the processing area of the slab fragment, and draw the outer contour of the slab fragment processing according to the processing area; and perform dimension marking and number marking according to the size of the processing area.
[0056] The functions of the various devices and units of the above slab layout and processing system correspond to those of the above house type comparison algorithm, which will not be elaborated here.
[0057] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the computer program is executed by the processor, the processor executes the above slab layout and processing method.
[0058] The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above slab layout and processing method is implemented.
[0059] Through the above settings of the slab layout processing method and system, the slab stone layout ability, quantity calculation processing, and tool design ability are obtained. The process is simple and the operation is convenient. The current home decoration design tools do not have the quantity calculation processing ability for slab stones. In the present invention, since an instance ID is set for each slab and records are made, after calculating the specific cutting position information and size information of the slab stones, the slab of the corresponding brand is matched according to the instance ID to obtain a quotation, and the final price required by the user can be obtained by combining the size calculation.
[0060] Those of ordinary skill in the art can realize that the various units and algorithm steps described in the embodiments disclosed herein can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0061] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0062] In 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, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The foregoing storage media include: various media such as USB flash drives, mobile hard disks, read-only memories (hereinafter referred to as ROM), random access memories (hereinafter referred to as RAM), magnetic disks, or optical discs that can store program codes.
[0063] The above is only the specific implementation manner of this application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application and should be covered by the protection scope of this application. The protection scope of this application shall be subject to the protection scope of the claims.
Claims
1. A method for arranging and processing rock slabs, characterized in that, it includes: Converting the rock slab into corresponding processing data; Arranging the rock slabs according to the processing data; Marking and outputting the arranged rock slab data; The conversion of the rock slab into corresponding processing data includes: Obtaining the layout data of rock slab fragments; Processing the layout data of the rock slab fragments to generate rock slab processing data; The obtaining of the layout data of rock slab fragments includes: Arranging the shaping surface and the rock slabs; Recording the data of the rock slab fragments laid on each shaping surface; The data of the rock slab fragments includes: the rock slab instance ID corresponding to each rock slab fragment, the product information of the rock slab, the starting laying point, the rotation angle, and the mirror image direction; The processing of the layout data of the rock slab fragments to generate rock slab processing data includes: Classifying the rock slab fragment data according to the rock slab instance ID; For the rock slab fragments with the same rock slab instance ID, constructing a complete rock slab area according to their rock slab fragment data; Performing a Boolean sum calculation on the rock slab area and the current shaping surface to obtain the processing data of the rock slab fragment.
2. The method for arranging and processing rock slabs according to claim 1, characterized in that, The arranging of the rock slabs according to the processing data includes: Drawing the building surface according to the contour information of the building surface; Drawing the shaping surface according to the contour information of the shaping surface; Obtaining all the rock slab data on the shaping surface from the rock slab processing data; Numbering all the rock slab fragments; Drawing the rock slabs on the shaping surface; Performing external dimension marking according to the contour information of the shaping surface and the building surface; Drawing the rock slab numbers according to the processing data of the rock slab fragments.
3. The method for arranging and processing rock slabs according to claim 2, characterized in that, The marking and outputting of the arranged rock slab data includes: Drawing the complete contour of the rock slab according to the size of the rock slab, and drawing the texture map of the rock slab into the rock slab area to obtain a complete rock slab picture; Using the processing data of the rock slab to obtain the processing area of the rock slab fragment, and drawing the outer contour of the processing of the rock slab fragment according to the processing area; Performing size marking and number marking according to the size of the processing area.
4. A rock slab arranging and processing system, characterized in that, the system includes: A processing data acquisition device for converting the rock slab into corresponding processing data; A rock slab arranging device for arranging the rock slabs according to the processing data; A data marking and output device for marking and outputting the arranged rock slab data; The processing data acquisition device includes: A layout data acquisition unit for acquiring the layout data of rock slab fragments; A processing data generation unit for processing the layout data of the rock slab fragments to generate rock slab processing data; The layout data acquisition unit is further used for: Arranging the shaping surface and the rock slabs; Recording the data of the rock slab fragments laid on each shaping surface; The data of the rock slab fragments includes: the rock slab instance ID corresponding to each rock slab fragment, the product information of the rock slab, the starting laying point, the rotation angle, and the mirror image direction; The processing data acquisition device is further used for: Classifying the rock slab fragment data according to the rock slab instance ID; For the slate fragments with the same slate instance ID, construct a complete slate area according to the slate fragment data; Perform a Boolean sum calculation on the slate area and the current shaping surface to obtain the processing information of the slate fragment.
5. The slate layout processing system according to claim 4, characterized in that, the slate arranging device is further configured to: draw the building surface according to the contour information of the building surface; draw the shaping surface according to the contour information of the shaping surface; obtain all the slate data on the shaping surface from the slate processing data; number all the slate fragments; draw the slates on the shaping surface; perform external dimension marking according to the contour information of the shaping surface and the building surface; draw the slate numbers according to the processing data of the slate fragments.
6. The slate layout processing system according to claim 5, characterized in that, the data marking and output device is further configured to: draw the complete contour of the slate according to the size of the slate, and draw the texture map of the slate into the slate area to obtain a complete slate picture; use the processing data of the slate to obtain the processing area of the slate fragment, and draw the outer contour of the slate fragment processing according to the processing area; perform dimension marking and number marking according to the size of the processing area.
7. An electronic device, including a memory and a processor, and a computer program is stored in the memory, characterized in that, when the computer program is executed by the processor, the processor executes the slate layout processing method according to any one of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the slate layout processing method according to any one of claims 1 to 3 is implemented.