CN111241643B - Processing method and device of polygonal cabinet body and electronic equipment - Google Patents

Processing method and device of polygonal cabinet body and electronic equipment Download PDF

Info

Publication number
CN111241643B
CN111241643B CN202010087562.XA CN202010087562A CN111241643B CN 111241643 B CN111241643 B CN 111241643B CN 202010087562 A CN202010087562 A CN 202010087562A CN 111241643 B CN111241643 B CN 111241643B
Authority
CN
China
Prior art keywords
polygonal
cabinet
lines
abstract
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010087562.XA
Other languages
Chinese (zh)
Other versions
CN111241643A (en
Inventor
陈嘉莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong 3vjia Information Technology Co Ltd
Original Assignee
Guangdong 3vjia Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong 3vjia Information Technology Co Ltd filed Critical Guangdong 3vjia Information Technology Co Ltd
Priority to CN202010087562.XA priority Critical patent/CN111241643B/en
Publication of CN111241643A publication Critical patent/CN111241643A/en
Application granted granted Critical
Publication of CN111241643B publication Critical patent/CN111241643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention provides a processing method and device of a polygonal cabinet body and electronic equipment, wherein the processing method comprises the following steps: acquiring a target polygonal cabinet model from a preset cabinet model library; identifying the contour line of the mounting surface required by the target polygonal cabinet model, and generating a mask layer; obtaining an abstract mask layer according to the direction of the cabinet body existing on each line of the mask layer, and editing the abstract mask layer; according to the edited abstract mask layer, determining the installation scheme and the materials of the table top and the lines of the target polygonal cabinet model, and installing the table top and the lines; and outputting installation data information and quotation information corresponding to the target polygonal cabinet model to be applied to the production and processing of the polygonal cabinet. The invention can improve the existing cabinet modeling technology, reduce the errors of processing and production and improve the working efficiency.

Description

Processing method and device of polygonal cabinet body and electronic equipment
Technical Field
The invention relates to the technical field of household design, in particular to a processing method and device of a polygonal cabinet body and electronic equipment.
Background
Due to the development of home decoration design technology, more and more irregular cabinet bodies are arranged in home decoration design, and corner cut cabinets, pentagon cabinets and hexagon cabinets are commonly arranged and used for adapting to different house types, so that the maximization of space utilization and the aesthetic degree of scheme design are ensured. However, the modeling, adapting and production of the polygonal cabinet cannot be directly achieved by the traditional modeling and production process, and in the traditional design scheme, when a plurality of cabinet bodies in different directions exist on the same contour line, especially the polygonal cabinet, and when two or more front faces exist, extension and retraction values are judged according to the directions of the independent cabinet bodies, so that the cover layer cannot be kept on the same straight line, and further the generated table board and lines are irregular, and processing and production cannot be performed.
Disclosure of Invention
Accordingly, the present invention is directed to a method, an apparatus, and an electronic device for processing a polygonal cabinet, so as to improve the existing cabinet modeling technology, reduce the errors of processing and production, and improve the working efficiency.
In a first aspect, an embodiment of the present invention provides a method for processing a polygonal cabinet, including: acquiring a target polygonal cabinet model from a preset cabinet model library; identifying the contour line of the mounting surface required by the target polygonal cabinet model, and generating a mask layer; obtaining an abstract mask layer according to the direction of the cabinet body existing on each line of the mask layer, and editing the abstract mask layer; according to the edited abstract mask layer, determining the installation scheme and the materials of the table top and the lines of the target polygonal cabinet model, and installing the table top and the lines; and outputting installation data information and quotation information corresponding to the target polygonal cabinet model to be applied to the production and processing of the polygonal cabinet.
In one embodiment, the polygonal cabinet model is derived based on the steps of: adjusting the positions of the contour points of the plate to obtain an irregular polygonal plate; splicing and combining a plurality of irregular polygonal plates and regular quadrilateral plates to obtain a polygonal cabinet body; determining contour lines of various lines of the polygonal cabinet body according to the point position information of the polygonal cabinet body; wherein, all kinds of lines include at least: foot lines, lamp lines and top lines; determining the direction of the regular quadrilateral plate according to a preset modeling coordinate system; and determining all directions of the polygonal cabinet body according to the contour lines, and determining parameter information, accessories and function piece information of the polygonal cabinet body to obtain a polygonal cabinet body model.
In one embodiment, after determining each direction of the polygonal cabinet according to the contour line, and determining parameter information, accessory and function information of the polygonal cabinet, the step of obtaining the polygonal cabinet model further includes: default extension values of the table top and the lines of the polygonal cabinet model are determined, and standard sizes of the table top and the lines are determined.
In one embodiment, the step of identifying the contour lines of the mounting surface required by the target polygonal cabinet model and generating the mask layer includes: identifying the contour line of the mounting surface required by the target polygonal cabinet model; judging whether the distance between adjacent cabinet bodies is in a preset range or not according to the contour lines; if so, merging the contour lines of the adjacent cabinet bodies to generate a covering layer.
In one embodiment, the steps of obtaining an abstract mask according to the direction of the cabinet body on each line of the mask, and performing mask editing on the abstract mask include: determining the number and types of all directions of the cabinet bodies on each line of the covering layer; according to a preset merging rule, converting the mask layers with multiple directions into abstract mask layers with only one direction; the abstract mask layer is retracted or extended in all directions.
In one embodiment, according to the edited abstract mask layer, determining the installation scheme and the material of the table top and the line of the target polygon cabinet model, and after the step of installing the table top and the line, further including: performing adaptive installation of a polygonal cabinet model according to a pre-established polygonal cabinet adaptive system; wherein, polygon cabinet body adaptation system includes at least: function fitting rule, wall column fitting rule, corner fitting rule and corner cutting face fitting rule.
In one embodiment, before the step of outputting the installation data information and the quotation information corresponding to the target polygonal cabinet model to be applied to the production and processing of the polygonal cabinet, the method further includes: cutting and complementing the table top, and performing overlength breaking calculation on the wire rod; and determining the material information of the table top and the lines according to the sizes of the table top and the lines which are preset.
In a second aspect, an embodiment of the present invention provides a processing apparatus for a polygonal cabinet, including: the model acquisition module is used for acquiring a target polygonal cabinet model from a preset cabinet model library; the covering layer generating module is used for identifying the contour line of the required installation surface of the target polygonal cabinet model and generating a covering layer; the abstract covering layer editing module is used for obtaining an abstract covering layer according to the direction of the cabinet body existing on each line of the covering layer and editing the abstract covering layer; the installation module is used for determining the installation scheme and the materials of the table top and the lines of the target polygonal cabinet model according to the edited abstract mask layer and installing the table top and the lines; and the output module is used for outputting installation data information and quotation information corresponding to the target polygonal cabinet model and applying the installation data information and the quotation information to the production and processing of the polygonal cabinet.
In a third aspect, an embodiment of the present invention provides an electronic device comprising a processor and a memory storing computer executable instructions executable by the processor to perform the steps of the method of any one of the first aspects described above.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs the steps of the method of any of the first aspects provided above.
According to the processing method, the processing device and the electronic equipment for the polygonal cabinet provided by the embodiment of the invention, the target polygonal cabinet model can be obtained from the preset cabinet model library, and the outline of the target polygonal cabinet model is identified to generate a mask layer; then generating a new abstract mask layer according to the direction of the cabinet body existing on each line of the mask layer, and editing the abstract mask layer; according to the edited abstract mask layer, the installation scheme and the materials of the table top and the lines of the target polygonal cabinet model can be determined, and the table top and the lines are installed; and finally, outputting installation data information and quotation information corresponding to the target polygonal cabinet model to be applied to the production and processing of the polygonal cabinet. The processing method of the polygonal cabinet body can model and store the polygonal cabinet body in advance, so that the existing cabinet body modeling technology is improved; meanwhile, the method can adjust the overall direction of the covering layer according to the direction of the cabinet body existing on each line of the covering layer, and a new abstract covering layer is generated, so that the installation of the table top and the lines is more accurate; in addition, the installation data information and quotation information corresponding to the output target polygonal cabinet model can be directly applied to factory production and user quotation, so that the manual work difficulty is simplified, and the work efficiency is improved. Therefore, the embodiment of the invention can effectively improve the existing cabinet modeling technology, reduce errors of processing and production and improve the working efficiency.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a processing method of a polygonal cabinet according to an embodiment of the present invention;
fig. 2 is a schematic illustration of a cover layer of a polygonal cabinet according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a polygonal cabinet modeling process according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of another processing method of a polygonal cabinet according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a processing device for a polygonal cabinet according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
At present, modeling, adaptation and production of a polygonal cabinet cannot be directly achieved by a traditional modeling and production process, in a traditional design scheme, when a plurality of cabinet bodies in different directions exist on the same contour line, especially the polygonal cabinet, and when two or more front faces exist, extension and retraction values are judged according to the directions of the independent cabinet bodies, so that a cover layer cannot be kept on the same straight line, and further the generated table board and lines are irregular and cannot be processed and produced. Based on the method, the device and the electronic equipment for processing the polygonal cabinet body, provided by the embodiment of the invention, the existing cabinet body modeling technology can be improved, the processing and production errors are reduced, and the working efficiency is improved.
For the sake of understanding the present embodiment, first, a detailed description will be given of a processing method of a polygonal cabinet disclosed in the present embodiment, referring to a flow chart of a processing method of a polygonal cabinet shown in fig. 1, the method may be executed by an electronic device, and software for home installation may be installed on the electronic device, and the method mainly includes steps S101 to S105:
step S101: and acquiring a target polygonal cabinet model from a preset cabinet model library.
The polygonal cabinet body can be a corner cut cabinet, a pentagon cabinet, a hexagon cabinet and the like, a warehouse-in person can enter a background system through account login software to carry out modeling of the polygonal cabinet body and enter a page of a foreground designer through login software, a target polygonal cabinet body model can be selected in the page of the designer, and the target polygonal cabinet body model is called from a cabinet body model library completed through background modeling to carry out use and scheme design.
Step S102: and identifying the contour line of the needed installation surface of the target polygonal cabinet model, and generating a covering layer.
Specifically, referring to a schematic illustration of a covering layer of a polygonal cabinet shown in fig. 2, the size of the covering layer is indicated as the range of lines such as a generated table top and skirting line. When the table top and the lines are installed, the outline of the installation surface can be automatically identified, for example: the surface of the table surface, which is automatically identified by the installation, is the uppermost part of the ground cabinet; the top line is arranged to automatically identify the uppermost part of the hanging cabinet; the lamp wire is installed to automatically identify the lowest part of the hanging cabinet; skirting line installation automatic identification cabinet below. After the contour lines are identified, judging whether the distance between adjacent cabinet bodies is within a preset range or not according to the contour lines; if so, the contour lines of the adjacent cabinet bodies are combined to generate a covering layer, namely, the contour lines between the adjacent cabinet bodies can be combined automatically according to whether the interval value of the cabinet bodies is in the combining range, so that the covering layer covering the whole group of schemes is generated.
Step S103: and obtaining an abstract mask layer according to the cabinet body direction existing on each line of the mask layer, and editing the abstract mask layer.
Specifically, the direction of the cabinet body may include the direction of a regular quadrilateral cabinet body and the direction of a polygonal cabinet body, wherein the direction of the regular quadrilateral cabinet body may be established according to that a coordinate point at the lower left of each cabinet body is (X0Y 0Z 0) when modeling and warehousing in the background, i.e., the coordinate point at the lower left of each cabinet body is (0, 0), and then the direction determination may be performed according to the three-dimensional coordinate value at which each line segment is located (i.e., the determination is performed according to a default program of the system); the direction of the polygonal cabinet body can be set by warehouse-in personnel in a self-defining mode according to the contour line.
Considering that the prior art can only identify the direction of a single cabinet body, extend and retract, and when a cabinet with a plurality of directions is arranged on a cover line, an incorrect extension value can appear, so that the method provided by the embodiment of the invention can identify the directions of all cabinet bodies on the cover layer, judge and collect the directions to form a new abstract cover layer, retract and extend the cover layer on the new abstract cover layer, and cut the cover layer with an irregular cover layer, thereby completing the cover layer editing. The abstract coating can ensure that the directions of the retraction and the extension on the same straight line are consistent, the serrated coating does not appear, and the accuracy of processing and quotation is ensured.
Step S104: and determining the installation scheme and the materials of the table top and the lines of the target polygonal cabinet model according to the edited abstract mask layer, and installing the table top and the lines.
Specifically, only one direction is on each line of the edited abstract mask layer and the abstract mask layer is straight, so that the interface scheme and the material of the table top can be determined based on the direction, the table top with the preset pattern is generated, the installation scheme of the lines is determined, and the table top and the lines are installed.
Step S105: and outputting installation data information and quotation information corresponding to the target polygonal cabinet model to be applied to the production and processing of the polygonal cabinet.
The installation data information and the quotation information corresponding to the target polygonal cabinet model can be CAD (computer aided design) documents, XML (extensive markup language) documents, processing information and the like. Specifically, the system may transmit CAD documents and XML documents (XML documents include process XML documents and quote XML documents), drawing drawings including polygonal cabinet body contour values and point location information based on the CAD documents; labeling the drawn CAD drawing; outputting a processing XML document (the processing XML document can comprise information such as plates, accessories, functional parts and the like of the polygonal cabinet) and CAD drawings to a factory for processing; and outputting the quotation XML document to perform quotation of the polygonal cabinet body, and sending the quotation to a user to perform quotation.
According to the processing method of the polygonal cabinet provided by the embodiment of the invention, the target polygonal cabinet model can be obtained from the preset cabinet model library, and the outline of the target polygonal cabinet model is identified to generate a mask layer; then generating a new abstract mask layer according to the direction of the cabinet body existing on each line of the mask layer, and editing the abstract mask layer; according to the edited abstract mask layer, the installation scheme and the materials of the table top and the lines of the target polygonal cabinet model can be determined, and the table top and the lines are installed; and finally, outputting installation data information and quotation information corresponding to the target polygonal cabinet model to be applied to the production and processing of the polygonal cabinet. The processing method of the polygonal cabinet body can model and store the polygonal cabinet body in advance, so that the existing cabinet body modeling technology is improved; meanwhile, the method can adjust the overall direction of the covering layer according to the direction of the cabinet body existing on each line of the covering layer, and a new abstract covering layer is generated, so that the installation of the table top and the lines is more accurate; in addition, the installation data information and quotation information corresponding to the output target polygonal cabinet model can be directly applied to factory production and user quotation, so that the manual work difficulty is simplified, and the work efficiency is improved. Therefore, the embodiment of the invention can effectively improve the existing cabinet modeling technology, reduce errors of processing and production and improve the working efficiency.
Considering that the prior art cannot support the storage of a polygonal cabinet model, modifying a plate and drawing a contour value, the embodiment of the invention provides a polygonal cabinet modeling process, referring to a schematic flow diagram of the polygonal cabinet modeling process shown in fig. 3, the method mainly includes the following steps S301 to S306:
step S301: and adjusting the positions of the contour points of the plate to obtain the irregular polygonal plate.
In specific implementation, the positions of the contour points of the plate can be adjusted on the basis of modeling of the rectangular plate by adding the functions of adding and deleting the points and adding the function of connecting arcs between the points, so that irregular plates in various shapes can be obtained.
Step S302: and splicing and combining the plurality of irregular polygonal plates and the regular quadrilateral plate to obtain the polygonal cabinet body.
Specifically, the method for splicing the irregular polygonal plates comprises the following steps: firstly, presetting a tetragonal model with a self-defined length, width and depth, and then adsorbing plates with different styles on different surfaces of the model, such as an irregular cabinet body, wherein generally, only a bottom plate and a top plate are irregular, and a side plate consists of a plurality of regular cabinet body plates; in the splicing process, the coordinates and the rotation angle of each plate can be independently adjusted, and finally a complete polygonal cabinet body is formed. If the user does not need to compose a complete cabinet, for example, some cabinets have no top plate (water tank is required to be installed), the user can also form the cabinet without the top plate without adsorbing the plate on the top of the model. The splicing mode of the polygonal cabinet body can be modeled according to actual conditions, and is not limited herein.
Step S303: and determining the contour lines of various lines of the polygonal cabinet body according to the point position information of the polygonal cabinet body.
Wherein, all kinds of lines include at least: foot lines, lamp lines and top lines.
Step S304: and determining the direction of the regular quadrilateral plate according to a preset modeling coordinate system.
Specifically, the direction of the regular tetragonal cabinet body can be established according to the coordinate point (X0Y 0Z 0) at the bottom left of each cabinet body when modeling and warehousing in the background, namely, the coordinate point (0, 0) after sitting down, and then the direction judgment can be carried out according to the three-dimensional coordinate value of each line segment.
Step S305: and determining all directions of the polygonal cabinet body according to the contour lines, and determining parameter information, accessories and function piece information of the polygonal cabinet body to obtain a polygonal cabinet body model.
Step S306: default extension values of the table top and the lines of the polygonal cabinet model are determined, and standard sizes of the table top and the lines are determined.
Specifically, the direction of the polygonal cabinet body can be set by a warehouse-in person in a self-defining manner according to the contour line, and the parameter information, the accessory and function information of the polygonal cabinet body, the default extension values and standard sizes of the table top and the lines can also be set by the warehouse-in person in the background.
Further, since the orientation of the polygonal cabinet body is greatly different from that of the general quadrilateral cabinet body, the cabinet bodies with various directions exist on the same straight line, the prior art can only identify the direction of a single cabinet body, and extend and retract, and when a cover line is provided with a cabinet with various directions, an incorrect extension value can occur. Therefore, the embodiment of the invention provides a method for abstracting a mask layer, which mainly comprises the following steps a1 to a3:
step a1: the number and type of all directions in which the cabinet exists on each line of the cover are determined.
Step a2: according to a preset merging rule, the mask layers with multiple directions are converted into abstract mask layers with only one direction.
Step a3: the abstract mask layer is retracted or extended in all directions.
Illustrating: assuming that there are 5 positive directions, 3 negative directions and 2 left directions on one line of the mask, the direction with the largest number is converted into an abstract mask according to a preset merging rule, that is, the line is abstracted into an abstract mask line with only one front side of the direction, and each line segment of the mask is abstracted in sequence to form a new mask. And (3) performing the indentation and extension of the mask layer on the new abstract mask layer, and performing mask cutting on the irregular mask layer to finish mask editing. When the number of the cabinets in the same direction is the same, the abstract covering direction is determined according to the sequence of the positive direction, the left direction, the right direction and the back direction.
Further, the embodiment of the invention also provides an adaptation system of the polygonal cabinet body, and after the step S104, the adaptation installation of the polygonal cabinet body model can be performed according to the pre-established polygonal cabinet body adaptation system; wherein, polygon cabinet body adaptation system includes at least: function fitting rule, wall column fitting rule, corner fitting rule and corner cutting face fitting rule. The adaptation system has good suitability for the design of irregular cabinet bodies such as corner cut cabinets, and the like, can ensure the accuracy of a scheme and improve the accuracy of processing production.
Further, the embodiment of the invention also provides a material calculation scheme which can cut and complement the table top and perform ultra-long breaking calculation on the wire rod; and determining the material information of the table top and the lines according to the sizes of the table top and the lines which are preset. Specifically, cutting and completion calculation can be realized on the table top, and overlength breaking can be automatically carried out on lines (top lines, skirting lines and lamp lines), so that the accuracy of ordering is ensured, and the error rate of factories is reduced. In addition, the embodiment of the invention also provides two calculation schemes of a least-used cutting scheme and a pattern splicing consistent scheme, and can realize different calculation modes of different clients with different requirements.
Further, the embodiment of the invention also provides a flow chart of another processing method of the polygonal cabinet, as shown in fig. 4, the method mainly comprises the following steps S401 to S411:
step S401: and acquiring the cabinet body, and combining the regular quadrilateral cabinet body with the polygonal cabinet body.
Step S402: generating a table surface and various lines, and generating a covering layer according to the contour line of the combined cabinet body.
Wherein, all kinds of lines include: skirting lines, lamp lines, jacketing lines, etc.
Step S403: judging whether the covering layer is a covering layer of the polygonal cabinet body.
If so, step S404 is performed: and generating a covering direction according to the contour line direction.
If not, step S405 is performed: and generating a covering layer direction according to the coordinate system direction.
After step S404 or step S405 is performed, step S406 is performed: the number and types of all directions on the mask are calculated in a merging way.
Step S407: and converting the mask layer into an abstract mask layer according to a preset merging rule.
The preset merging rule is as follows: the direction with the largest number is converted into an abstract covering layer, and when the number of the cabinets in the same direction is the same, the abstract covering layer direction is determined according to the sequence of the positive direction, the left direction, the right direction and the back direction.
Step S408: the indentation value and the extension value of each direction are determined according to the direction of the abstract mask layer.
Step S409: and determining the patterns and the materials to mount the table top and the lines.
Step S410: and (5) cutting the table top and breaking the overlength line.
Step S411: and carrying out material calculation according to the preset standard line size and the standard table-board size.
The processing method of the polygonal cabinet shown in fig. 4 is the same as the foregoing method embodiment in terms of its implementation principle and technical effects, and for brevity, reference may be made to the corresponding contents of the foregoing method embodiment where this embodiment is not mentioned.
In summary, the invention provides an optimization process technology for modeling, designing, butt joint production processing and material quotation of a polygonal cabinet. Firstly, modeling and warehousing functions of an irregular cabinet body are established, wherein the modeling and warehousing functions comprise point position editing, plate hollowed-out and plate rotating process technologies for drawing plates, modeling technologies for freely splicing and wrapping a plurality of plates to form a complete cabinet body, and configuration inlets for customizing outline lines and outline line orientations of a polygonal cabinet body after modeling. After modeling according to the belonging requirements is completed, when the polygonal cabinet participates in scheme design, a plurality of sets of adaptation rules of cabinet body and wall body adaptation of irregular cabinet bodies, cabinet body and cabinet body adaptation and cabinet body and function part adaptation can be considered; meanwhile, the technical scheme of the abstract mask layer is also provided, and the extension and retraction of the integral table top or the skirting line and the top line can be carried out. After the design scheme is completed, the corresponding quotation file, CAD installation file, production and processing point position and contour information can be output and directly applied to factories for processing and production, so that the embodiment of the invention has high automation and standardization, and can reduce the errors of processing and production.
For the processing method of the polygonal cabinet provided in the foregoing embodiment, the embodiment of the present invention further provides a processing device of the polygonal cabinet, referring to a schematic structural diagram of the processing device of the polygonal cabinet shown in fig. 5, where the device may include the following parts:
the model obtaining module 501 is configured to obtain a target polygon cabinet model from a preset cabinet model library.
The mask generation module 502 is configured to identify a contour line of the required installation surface of the target polygonal cabinet model, and generate a mask.
The mask editing module 503 is configured to obtain an abstract mask according to a cabinet direction existing on each line of the mask, and perform mask editing on the abstract mask.
And the installation module 504 is used for determining the installation scheme and the materials of the table top and the lines of the target polygonal cabinet model according to the edited abstract mask layer and installing the table top and the lines.
The output module 505 is configured to output installation data information and quotation information corresponding to the target polygonal cabinet model, where the installation data information and the quotation information are applied to the production and processing of the polygonal cabinet.
The processing device for the polygonal cabinet body provided by the embodiment of the invention can model and store the polygonal cabinet body in advance, thereby improving the existing cabinet body modeling technology; meanwhile, the device can adjust the overall direction of the covering layer according to the direction of the cabinet body on each line of the covering layer, and a new abstract covering layer is generated, so that the installation of the table top and the lines is more accurate; in addition, the installation data information and quotation information corresponding to the output target polygonal cabinet model can be directly applied to factory production and user quotation, so that the manual work difficulty is simplified, and the work efficiency is improved. Therefore, the embodiment of the invention can effectively improve the existing cabinet modeling technology, reduce errors of processing and production and improve the working efficiency.
In one embodiment, the processing device of the polygonal cabinet body further includes a model building module, configured to adjust a position of a plate contour point to obtain an irregular polygonal plate; splicing and combining the irregular polygonal plate and the regular quadrilateral plate to obtain a polygonal cabinet body; determining contour lines of various lines of the polygonal cabinet body according to the point position information of the polygonal cabinet body; wherein, all kinds of lines include at least: foot lines, lamp lines and top lines; determining the direction of the regular quadrilateral plate according to a preset modeling coordinate system; and determining all directions of the polygonal cabinet body according to the contour lines, and determining parameter information, accessories and function piece information of the polygonal cabinet body to obtain a polygonal cabinet body model.
In one embodiment, the model building module is further configured to determine default extension values of the table top and the line of the polygonal cabinet model and standard dimensions of the table top and the line.
In one embodiment, the mask generation module 502 is further configured to: identifying the contour line of the mounting surface required by the target polygonal cabinet model; judging whether the distance between adjacent cabinet bodies is in a preset range or not according to the contour lines; if so, merging the contour lines of the adjacent cabinet bodies to generate a covering layer.
In one embodiment, the above-mentioned mask editing module 503 is further configured to: determining the number and types of all directions of the cabinet bodies on each line of the covering layer; according to a preset merging rule, converting the mask layers with multiple directions into abstract mask layers with only one direction; the abstract mask layer is retracted or extended in all directions.
In one embodiment, the processing device of the polygonal cabinet further comprises an adapting module, which is used for performing adapting installation of the polygonal cabinet model according to a pre-established polygonal cabinet adapting system; wherein, polygon cabinet body adaptation system includes at least: function fitting rule, wall column fitting rule, corner fitting rule and corner cutting face fitting rule.
In one embodiment, the processing device of the polygonal cabinet body further comprises a material calculation module, wherein the material calculation module is used for cutting and complementing the table top and performing overlong breaking calculation on the wire rod; and determining the material information of the table top and the lines according to the sizes of the table top and the lines which are preset.
The device provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for the sake of brevity, reference may be made to the corresponding content in the foregoing method embodiment where the device embodiment is not mentioned.
The embodiment of the invention also provides electronic equipment, which comprises a processor and a storage device; the storage means has stored thereon a computer program which, when run by a processor, performs the method according to any of the above embodiments.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 100 includes: a processor 60, a memory 61, a bus 62 and a communication interface 63, the processor 60, the communication interface 63 and the memory 61 being connected by the bus 62; the processor 60 is arranged to execute executable modules, such as computer programs, stored in the memory 61.
The memory 61 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is achieved via at least one communication interface 63 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc.
Bus 62 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 6, but not only one bus or type of bus.
The memory 61 is configured to store a program, and the processor 60 executes the program after receiving an execution instruction, and the method executed by the apparatus for flow defining disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 60 or implemented by the processor 60.
The processor 60 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 60. The processor 60 may be a general-purpose processor, including a central processing unit (CPU, central Processing Unit), a network processor (NP, network Processor), etc.; but may also be a digital signal processor (DSP, digital Signal Processing), an application specific integrated circuit (ASIC, application Specific Integrated Circuit), an off-the-shelf programmable gate array (FPGA, field-Programmable Gate Array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 61 and the processor 60 reads the information in the memory 61 and in combination with its hardware performs the steps of the method described above.
The computer program product of the readable storage medium provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where the program code includes instructions for executing the method described in the foregoing method embodiment, and the specific implementation may refer to the foregoing method embodiment and will not be described herein.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. The processing method of the polygonal cabinet body is characterized by comprising the following steps of:
acquiring a target polygonal cabinet model from a preset cabinet model library;
identifying the contour line of the mounting surface required by the target polygonal cabinet model, and generating a mask layer;
obtaining an abstract mask layer according to the cabinet body direction existing on each line of the mask layer, and performing mask editing on the abstract mask layer;
according to the edited abstract mask layer, determining the installation scheme and materials of the table top and the lines of the target polygonal cabinet model, and installing the table top and the lines;
outputting installation data information and quotation information corresponding to the target polygonal cabinet model to be applied to the production and processing of the polygonal cabinet;
the step of obtaining an abstract mask layer according to the direction of the cabinet body on each line of the mask layer, and performing mask editing on the abstract mask layer comprises the following steps: determining the number and types of all directions in which the cabinet exists on each line of the covering layer; according to a preset merging rule, converting the mask layers with multiple directions into abstract mask layers with only one direction; and retracting or extending the abstract mask layer in all directions.
2. The method for processing the polygonal cabinet according to claim 1, wherein the polygonal cabinet model is obtained based on the following steps:
adjusting the positions of the contour points of the plate to obtain an irregular polygonal plate;
splicing and combining a plurality of irregular polygonal plates and regular quadrilateral plates to obtain a polygonal cabinet body;
determining contour lines of various lines of the polygonal cabinet body according to the point position information of the polygonal cabinet body; wherein, all kinds of lines include at least: foot lines, lamp lines and top lines;
determining the direction of the regular quadrilateral plate according to a preset modeling coordinate system;
and determining all directions of the polygonal cabinet body according to the contour lines, and determining parameter information, accessories and function information of the polygonal cabinet body to obtain a polygonal cabinet body model.
3. The method for processing the polygonal cabinet according to claim 2, wherein after the step of determining the directions of the polygonal cabinet according to the contour lines and determining the parameter information, the accessory and the function information of the polygonal cabinet to obtain the polygonal cabinet model, the method further comprises:
default extension values of the table top and the line of the polygonal cabinet model and standard sizes of the table top and the line are determined.
4. The method of claim 1, wherein the step of identifying the contour line of the installation surface required for the target polygonal cabinet model and generating the mask layer comprises:
identifying the contour line of the mounting surface required by the target polygonal cabinet model;
judging whether the distance between adjacent cabinet bodies is in a preset range or not according to the contour lines;
if so, merging the contour lines of the adjacent cabinet bodies to generate a covering layer.
5. The method according to claim 1, wherein the step of determining the installation scheme and the material of the table top and the line of the target polygonal cabinet model according to the edited abstract mask layer, and after performing the step of installing the table top and the line, further comprises:
performing adaptive installation of the polygonal cabinet model according to a pre-established polygonal cabinet adaptive system; wherein, polygonal cabinet body adaptation system includes at least: function fitting rule, wall column fitting rule, corner fitting rule and corner cutting face fitting rule.
6. The method according to claim 1, wherein before the step of outputting the installation data information and the quotation information corresponding to the target polygonal cabinet model to be applied to the production and processing of the polygonal cabinet, further comprising:
cutting and complementing the table top, and performing overlength breaking calculation on the lines;
and determining material information of the table top and the lines according to the preset sizes of the table top and the lines.
7. A processing device for a polygonal cabinet, comprising:
the model acquisition module is used for acquiring a target polygonal cabinet model from a preset cabinet model library;
the mask generation module is used for identifying the contour line of the mounting surface required by the target polygonal cabinet model and generating a mask;
the abstract covering layer editing module is used for obtaining an abstract covering layer according to the cabinet body direction existing on each line of the covering layer and editing the abstract covering layer;
the installation module is used for determining the installation scheme and the materials of the table top and the lines of the target polygonal cabinet model according to the edited abstract mask layer and installing the table top and the lines;
the output module is used for outputting installation data information and quotation information corresponding to the target polygonal cabinet model to be applied to the production and processing of the polygonal cabinet;
the mask editing module is further configured to: determining the number and types of all directions in which the cabinet exists on each line of the covering layer; according to a preset merging rule, converting the mask layers with multiple directions into abstract mask layers with only one direction; and retracting or extending the abstract mask layer in all directions.
8. An electronic device comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the steps of the method of any one of claims 1 to 6.
9. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor performs the steps of the method of any of the preceding claims 1 to 6.
CN202010087562.XA 2020-02-11 2020-02-11 Processing method and device of polygonal cabinet body and electronic equipment Active CN111241643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010087562.XA CN111241643B (en) 2020-02-11 2020-02-11 Processing method and device of polygonal cabinet body and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010087562.XA CN111241643B (en) 2020-02-11 2020-02-11 Processing method and device of polygonal cabinet body and electronic equipment

Publications (2)

Publication Number Publication Date
CN111241643A CN111241643A (en) 2020-06-05
CN111241643B true CN111241643B (en) 2023-05-09

Family

ID=70873169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010087562.XA Active CN111241643B (en) 2020-02-11 2020-02-11 Processing method and device of polygonal cabinet body and electronic equipment

Country Status (1)

Country Link
CN (1) CN111241643B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113414839B (en) * 2020-11-30 2023-02-17 阿里巴巴集团控股有限公司 Cutting data and production data processing method and device and electronic equipment
CN112926162B (en) * 2021-04-01 2023-06-23 广东三维家信息科技有限公司 Electric control drill connection control optimization method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280290A (en) * 2018-01-22 2018-07-13 青岛理工大学 A kind of aggregate numerical model method for reconstructing
CN108279964A (en) * 2018-01-19 2018-07-13 广州视源电子科技股份有限公司 The implementation method and device that text control, mask for copy editor render
CN109976759A (en) * 2019-03-29 2019-07-05 珠海豹好玩科技有限公司 Page display method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279964A (en) * 2018-01-19 2018-07-13 广州视源电子科技股份有限公司 The implementation method and device that text control, mask for copy editor render
CN108280290A (en) * 2018-01-22 2018-07-13 青岛理工大学 A kind of aggregate numerical model method for reconstructing
CN109976759A (en) * 2019-03-29 2019-07-05 珠海豹好玩科技有限公司 Page display method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
钟海平,张泰岭.办公屏风计算机辅助室内设计系统的设计与开发.华南农业大学学报.1998,(02),第97-101页. *

Also Published As

Publication number Publication date
CN111241643A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN111241643B (en) Processing method and device of polygonal cabinet body and electronic equipment
US7557803B2 (en) Method, computer program product and data structure for representing two- or three-dimensional object modeling
US8072450B2 (en) System and method for measuring a three-dimensional object
CN110929310A (en) Cloud drawing intelligent generation and editing method
CN110750840A (en) Method and device for automatically generating two-dimensional part view based on three-dimensional model
CN110226806A (en) A kind of sole gluing track generation method and device
CN116415377A (en) She Panmo type generation method and device, electronic equipment and storage medium
CN113312872B (en) Gong belt manufacturing method and device, gong belt manufacturing equipment and storage medium
CN111177828A (en) Linkage method and device applied to standard floor model and computer storage medium
CN110363854A (en) Circular formwork dividing method, device, computer equipment and storage medium
CN105527926B (en) Using the method for Digit Control Machine Tool workpieces processing
US20020133803A1 (en) Enhancement to horizontally-structured CAD/CAM modeling
CN113781642A (en) Three-dimensional model multi-level LOD generation method based on face reduction algorithm
US7079908B2 (en) Horizontally-structured modeling for analysis
CN113274734B (en) Virtual scene generation method and device and terminal equipment
CN102982213B (en) The collaborative method for building up of cad model and device
CN105184868A (en) Triangular surface grid generation method based on three-dimensional entity model
CN113919027A (en) Component adjustment method and device in BIM (building information modeling) model, computer equipment and storage medium
CN103530436A (en) Tooling layout drawing parameterization generation method based on AUTOCAD. NET API
CN111462277B (en) Method and device for generating target line of wall sticker to be processed
CN107256004B (en) Product processing method and device
CN114160811B (en) Material molding processing method, device, equipment and storage medium
CN117421089B (en) Step geographic information element processing method and device
CN114444185A (en) In-situ labeling identification method and device and electronic equipment
CN111914359B (en) Wind power blade trailing edge gap simulation method, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant