CN113297664A - Wine grid model generation method, device, equipment and storage medium - Google Patents

Wine grid model generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN113297664A
CN113297664A CN202110731650.3A CN202110731650A CN113297664A CN 113297664 A CN113297664 A CN 113297664A CN 202110731650 A CN202110731650 A CN 202110731650A CN 113297664 A CN113297664 A CN 113297664A
Authority
CN
China
Prior art keywords
wine
plate
generating
lattice
grid
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.)
Pending
Application number
CN202110731650.3A
Other languages
Chinese (zh)
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 CN202110731650.3A priority Critical patent/CN113297664A/en
Publication of CN113297664A publication Critical patent/CN113297664A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Architecture (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application provides a method, a device, equipment and a storage medium for generating a wine grid model, and relates to the technical field of furniture design. The wine grid model generation method comprises the following steps: acquiring type information and process parameter information of the wine grillwork; generating plate data of the wine grillwork according to the type information and the process parameter information of the wine grillwork; and generating a wine trellis model according to the plate data. The wine grid model generation method can improve the efficiency of generating the wine grid model while ensuring the accurate installation of the wine grids, thereby improving the technical effect of the production efficiency of the wine grids.

Description

Wine grid model generation method, device, equipment and storage medium
Technical Field
The application relates to the technical field of furniture design, in particular to a method, a device, equipment and a storage medium for generating a wine grid model.
Background
At present, with the development of home decoration, more and more people are promoted in taste, and many people begin to design a wine grillwork in a cabinet for placing wine in the home, so that the wine grillwork is a good home function regardless of good decoration and collection as well as good drinking. Therefore, the wine framework function in the household design software appears timely.
In the current design software of the furniture industry, designers need to manufacture the wine grillwork one by one according to the existing process, and finally manually place one by one into the wine grillwork. In order to make different types of wine grills, a very large number of different panels need to be made. In other words, it is very time consuming and difficult for designers of design software to produce a wine grid. Another production method in the market is automatically generated according to the space in the cabinet, but the processing error cannot be set, so that a producible false image is provided for a user, and whether the wine grillwork can be accurately installed cannot be found at all before production and installation. Various problems such as errors, incapability of installation, low compactness after installation and the like often occur during installation.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, a device, and a storage medium for generating a wine grid model, which can improve efficiency of generating the wine grid model while ensuring accurate installation of a wine grid, and further improve technical effects of production efficiency of the wine grid.
In a first aspect, an embodiment of the present application provides a wine trellis model generation method, including:
acquiring type information and process parameter information of the wine grillwork;
generating plate data of the wine grillwork according to the type information and the process parameter information of the wine grillwork;
and generating a wine trellis model according to the plate data.
In the implementation process, the wine framework model generation method can realize the generation of the parameterized wine framework model by acquiring type information and process parameter information, wherein the type information and the process parameter information are set by a designer in a self-defined way; in other words, the designer directly generates the wine trellis model through the setting of the parameters, the wine trellis model can derive the CAD graph, and the generated data in the wine trellis model can be directly transmitted to the production link; therefore, the wine grid model generation method is time-saving and convenient, the wine grid model can be provided with processing errors according to the factory process, and the problem of installation results caused by errors after production is solved; meanwhile, convenience is greatly increased, the production rework rate is greatly reduced, the wine grillwork model generation efficiency is improved while accurate installation of the wine grillwork is guaranteed, and the technical effect of the wine grillwork production efficiency is further improved.
Further, the step of generating the plate data of the wine trellis according to the type information and the process parameter information of the wine trellis includes:
generating a board distribution center line according to the type information and the process parameter information of the wine grillwork;
generating a wine grid distribution image according to the plate thickness information and the plate distribution center line;
traversing the intersection point of each plate and a plate in the other direction in the wine grid distribution image, and calculating the slot information of the wine grid;
and generating plate data of the wine grillwork according to the wine grillwork distribution image and the clamping groove information.
In the implementation process, according to the type information, the process parameter information, the plate thickness information and the like of the wine grillwork, the plate distribution center line, the wine grillwork distribution image and the clamping groove information of the wine grillwork are gradually generated and calculated, and therefore the plate data of the wine grillwork are finally generated.
Further, the step of generating a board distribution center line according to the type information and the process parameter information of the wine trellis includes:
calculating lattice parameters and lattice width parameters of the wine lattice according to the process parameter information;
judging whether the type information is a half-lattice wine grillage or not, if so, taking a hollow central point as a board central point or a board interval central point, radiating interval boards from the middle to four sides, and generating a board distribution central line according to the lattice parameters and the lattice width parameters; if not, typesetting at intervals from left to right and from top to bottom, and generating the distribution center line of the board according to the lattice drawing parameters and the lattice width parameters.
In the implementation process, different strategies are adopted to generate the board distribution center line according to different types of the wine grillwork, so that the flow of generating the board distribution center line is optimized, and the generation efficiency is improved.
Further, before the step of traversing the intersection point of each plate in the wine grid distribution image and a plate in another direction and calculating the slot information of the wine grid, the method further comprises:
and carrying out plate corner processing on the wine grid distribution image.
In the implementation process, the board corner processing is carried out on the wine grid distribution image before the card slot information of the wine grid is calculated, so that the wine grid model can realize richer visual effect.
Further, the step of performing corner processing on the wine rack distribution image includes:
and carrying out surrounding or left-falling and right-falling plate corner treatment on the wine framework distribution image.
In a second aspect, embodiments of the present application further provide an apparatus for generating a wine grid model, including:
the acquisition module is used for acquiring the type information and the process parameter information of the wine grillwork;
the plate generating module is used for generating plate data of the wine grillwork according to the type information and the process parameter information of the wine grillwork;
and the wine grid generation module is used for generating a wine grid model according to the plate data.
Further, the panel generating module further includes:
the distribution center line unit is used for generating a board distribution center line according to the type information and the process parameter information of the wine grillwork;
the distribution image unit is used for generating a wine lattice distribution image according to the plate thickness information and the plate distribution center line;
the clamping groove unit is used for traversing the intersection point of each plate and a plate in the other direction in the wine grid distribution image and calculating the clamping groove information of the wine grid;
and the wine grid generating unit is used for generating the plate data of the wine grid according to the wine grid distribution image and the clamping groove information.
Further, the panel generating module further includes:
the lattice yield/lattice width unit is used for calculating lattice yield parameters and lattice width parameters of the wine lattice according to the process parameter information;
the judging unit is used for judging whether the type information is a half-lattice wine grillwork or not, if so, taking a hollow central point as a plate central point or a plate interval central point, dispersing interval arrangement plates from the middle to four sides, and generating a plate distribution central line according to the lattice parameters and the lattice width parameters; if not, typesetting at intervals from left to right and from top to bottom, and generating the distribution center line of the board according to the lattice drawing parameters and the lattice width parameters.
Further, the panel generating module further includes: and the board corner processing unit is used for processing the board corners of the wine grillwork distribution image.
Further, the board corner processing unit is also used for performing surrounding or left-falling and right-falling board corner processing on the wine framework distribution image.
In a third aspect, an apparatus provided in an embodiment of the present application includes: memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any of the first aspect when executing the computer program.
In a fourth aspect, a storage medium is provided in an embodiment of the present application, where the storage medium has instructions stored thereon, and when the instructions are executed on a computer, the instructions cause the computer to perform the method according to any one of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product, which when run on a computer, causes the computer to perform the method according to any one of the first aspect.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the above-described techniques.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flow chart of a wine trellis model generation method provided in an embodiment of the present application;
fig. 2a is a schematic structural diagram of a tic-tac-toe wine grid provided in the embodiment of the present application;
fig. 2b is a schematic structural diagram of a fulgery wine lattice provided by an embodiment of the present application;
fig. 2c is a schematic structural diagram of a half-lattice wine lattice provided by an embodiment of the present application;
fig. 3 is a schematic flow chart of the data of the plate members for generating the wine trellis provided by the embodiment of the present application;
fig. 4 is a schematic flow chart of a distribution centerline of a generated plate according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a plate distribution center line of a half-grid wine rack provided in an embodiment of the present application;
fig. 6 is a schematic diagram of an image of distribution of wine racks of a half-grid wine rack provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a distribution image of the wine trellis after corner processing of the half lattice wine trellis provided in the embodiment of the present application;
FIG. 8 is a schematic structural view of a wine grid panel provided by an embodiment of the present application;
FIG. 9 is a schematic structural diagram of a wine grid model provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a wine trellis model generation device provided in an embodiment of the present application;
fig. 11 is a block diagram of a device according to an embodiment of the present disclosure.
Icon: 100-an acquisition module; 200-a panel generation module; 300-a wine trellis generation module; 510-a processor; 520-a communication interface; 530-a memory; 540 — communication bus.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The method, the device, the equipment and the storage medium for generating the wine trellis model provided by the embodiment of the application can be applied to generation of the wine trellis model so as to produce the wine trellis; the wine framework model generation method can realize generation of a parameterized wine framework model by acquiring type information and process parameter information, wherein the type information and the process parameter information are set by a designer in a self-defined way (the type information comprises a tic-tac-toe wine framework, a full-lattice wine framework, a half-full-lattice wine framework and the like); in other words, the designer directly generates the wine trellis model through the setting of the parameters, the wine trellis model can derive the CAD graph, and the generated data in the wine trellis model can be directly transmitted to the production link; therefore, the wine grid model generation method is time-saving and convenient, the wine grid model can be provided with processing errors according to the factory process, and the problem of installation results caused by errors after production is solved; meanwhile, convenience is greatly increased, the production rework rate is greatly reduced, the wine grillwork model generation efficiency is improved while accurate installation of the wine grillwork is guaranteed, and the technical effect of the wine grillwork production efficiency is further improved.
Referring to fig. 1, fig. 1 is a schematic flow chart of a wine trellis model generation method provided in an embodiment of the present application, where the wine trellis model generation method includes the following steps:
s100: and acquiring the type information and the process parameter information of the wine grillwork.
Exemplarily, the type information of the wine grillwork comprises a # -shaped wine grillwork, a full-lattice wine grillwork, a half-full-lattice wine grillwork and the like; the process parameter information comprises material information, an assembling mode, a processing mode and the like of the wine grillwork.
Illustratively, the material information of the wine rack is the material information of the wine rack plates.
Illustratively, the connection of the corners of the wine grid plate is an assembly mode, including a left-falling and right-falling mode, a surrounding mode and the like.
S200: and generating plate data of the wine trellis according to the type information and the process parameter information of the wine trellis.
S300: and generating a wine trellis model according to the plate data.
Illustratively, in the advance of modern technology, customized home is developing more and more quickly, the home industry is also switched from manual design to software design, and a designer obtains relevant production data from the software design and then takes the data to a factory for production. The wine grillwork is produced independently, is mainly produced into plate parts, is grooved through two oppositely-oriented plates (an A plate and a B plate), and is mutually clamped and assembled together. And then installed in the cabinet. The two plates are clamped, and the A plate and the B plate are clamped in two plates with different orientations. Typically, the A and B plates are perpendicular to each other.
In some embodiments, the wine trellis model generation method can make different corner treatments, such as left falling or surrounding, according to requirements.
By way of example, there are generally two implementations of design software on the market today: firstly, a designer takes the size and type of a customized wine lattice frame, then begins to design all plates forming the wine lattice frame by using design software, calculates the size of the plates one by one, slots and seals edges, then designs one plate according to the obtained data, finally manually puts one plate into an integral wine lattice frame according to the placement mode of the wine lattice frame plates, and finally produces the wine lattice frame and takes the wine lattice frame into a cabinet for installation; secondly, the designer gets the size and type of the wine grillwork. The wine grillwork of a specific type is automatically generated through software, no detail processing is needed, no technological parameter is adjustable, then the plate data is directly exported, and finally the wine grillwork is produced and taken out of a cabinet for installation.
Referring to fig. 2a to 2c, fig. 2a is a schematic structural diagram of a # -shaped wine lattice provided in the embodiment of the present application, fig. 2b is a schematic structural diagram of a full lattice wine lattice provided in the embodiment of the present application, and fig. 2c is a schematic structural diagram of a half lattice wine lattice provided in the embodiment of the present application.
In some embodiments, the design software produced according to the wine trellis model generation method provided by the embodiments of the present application includes the following functional modules:
a warehousing function module:
1) type selection (type of wine grillwork, including well grid, full grid, half grid and the like);
2) the material selection of the wine grid plate can set process parameters, and the process parameters comprise the total reserved width and height of the wine grid (preventing the wine grid from being installed due to production errors), the slotting width and the depth of the wine grid plate (preventing two board cards from not entering);
3) corner style selection (left-falling, wrapped, surrounding, etc.) to achieve rich visual effects;
4) and clicking to generate, so that a complete wine trellis model can be generated.
Foreground editing function module:
foreground editing is carried out according to the size of actual production, the wine grid model is placed in the cabinet, the size or the self-adaptive size of the wine grid model can be set manually, the wine grid model which can be directly applied to production is generated, and the data of the wine grid model is exported to be used for factory production.
In some embodiments, the wine framework model generation method can realize generation of a parameterized wine framework model by acquiring type information and process parameter information, wherein the type information and the process parameter information are set by a designer in a self-defined way (the type information comprises a # -shaped wine framework, a full-lattice wine framework, a half-full-lattice wine framework and the like); in other words, the designer directly generates the wine trellis model through the setting of the parameters, the wine trellis model can derive the CAD graph, and the generated data in the wine trellis model can be directly transmitted to the production link; therefore, the wine grid model generation method is time-saving and convenient, the wine grid model can be provided with processing errors according to the factory process, and the problem of installation results caused by errors after production is solved; meanwhile, convenience is greatly increased, the production rework rate is greatly reduced, the wine grillwork model generation efficiency is improved while accurate installation of the wine grillwork is guaranteed, and the technical effect of the wine grillwork production efficiency is further improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of the data of the plate for generating the wine trellis according to the embodiment of the present application.
Exemplarily, S200: the method comprises the following steps of generating plate data of the wine trellis according to the type information and the process parameter information of the wine trellis, wherein the steps comprise:
s210: generating a board distribution center line according to the type information and the process parameter information of the wine grillwork;
s220: generating a wine grid distribution image according to the plate thickness information and the plate distribution center line;
s230: traversing the intersection point of each plate and a plate in the other direction in the wine grid distribution image, and calculating the slot information of the wine grid;
s240: and generating plate data of the wine grillwork according to the wine grillwork distribution image and the clamping groove information.
Illustratively, according to the type information, the process parameter information, the plate thickness information and the like of the wine trellis, the plate distribution center line, the wine trellis distribution image, the slot information of the wine trellis are gradually generated and calculated, thereby finally generating the plate data of the wine trellis.
Referring to fig. 4, fig. 4 is a schematic flow chart of a distribution centerline of a generated plate according to an embodiment of the present application.
Exemplarily, S210: the method comprises the following steps of generating a plate distribution center line according to the type information and the process parameter information of the wine grillwork, wherein the steps comprise:
s211: calculating lattice parameters and lattice width parameters of the wine lattice frame according to the process parameter information;
s212: judging whether the type information is a half-grid wine grid;
s213: if yes, taking the hollow central point as a board central point or a board interval central point, starting from the middle to four sides to disperse interval boards, and generating a board distribution central line according to the lattice parameters and the lattice width parameters;
s214: if not, typesetting at intervals from left to right and from top to bottom, and generating a board distribution central line according to the drawing parameters and the grid width parameters.
Illustratively, according to different types of the wine grillwork, different strategies are adopted to generate the plate distribution center line respectively, so that the flow of generating the plate distribution center line is optimized, and the generation efficiency is improved.
In some embodiments, S230: before the step of traversing the intersection point of each plate and a plate in the other direction in the wine grid distribution image and calculating the slot information of the wine grid, the method further comprises the following steps:
and carrying out plate corner processing on the wine grid distribution image.
For example, the wine grid distribution image is subjected to plate corner processing before the card slot information of the wine grid is calculated, so that the wine grid model can achieve richer visual effects.
Optionally, the step of processing the corner of the wine grid distribution image includes:
and carrying out surrounding or left-falling and right-falling plate corner treatment on the wine framework distribution image.
Taking a wine framework model of a half-grid wine framework as an example, the concrete flow of the wine framework model generation is as follows:
firstly, plate side processing: realize that the plate distributes, find out the board and distribute the central line:
for the half-lattice wine grillwork, under a given condition, two parameters of lattice number and lattice width are calculated, and according to the parity of the lattice number in different lattice width directions and the lattice number in the lattice height directions, the hollow central point is a plate central point or a plate spacing central point, and the spacing plates are distributed from the middle to four sides.
As shown in fig. 5, fig. 5 is a schematic diagram of a plate distribution center line of a half-grid wine rack provided in an embodiment of the present application.
And secondly, generating a wine lattice distribution image according to the plate distribution center line and the plate thickness information.
As shown in fig. 6, fig. 6 is a schematic diagram of an image of distribution of wine racks of the half-lattice wine rack provided in the embodiment of the present application.
Thirdly, processing each plate in the wine grillwork into a left falling down or surrounding type according to a preset rule according to different corner processing, wherein the surrounding type processing mode is as follows: and searching from the first plate to the head and the tail at a left-falling position, and processing the chamfer at intervals (namely, the A plate is connected with the B plate, the B plate is not processed if the A plate is retracted during connection, and the B plate is retracted if the A plate is not processed) until the connecting plate cannot be found, wherein each plate is checked to be finished.
Fig. 7 is a schematic diagram of a distribution image of the wine trellis after corner processing of the half lattice wine trellis provided in the embodiment of the present application, as shown in fig. 7.
And fourthly, processing the front surface of the plate, and slotting the plate.
According to the arranged boards in two directions, the intersection point of each board and the board in the other direction is traversed, the position of the center point of the clamping groove is calculated, and the information of the clamping groove is calculated according to the process parameter information, wherein the information of the clamping groove comprises the width, the height, the interval and the like of the clamping groove.
As shown in fig. 8, fig. 8 is a schematic structural diagram of a wine grid plate member provided in the embodiment of the present application.
And fifthly, generating an entity plate according to the generated plate data, and finally generating the wine trellis model.
As shown in fig. 9, fig. 9 is a schematic structural diagram of a wine grid model provided in an embodiment of the present application.
With reference to fig. 1 to 9, the wine grid model generation method provided in the embodiment of the present application provides a warehousing parameterized template (i.e., a wine grid template is generated), and can generate an actually produced wine grid model according to installation parameters.
The wine framework model generation method has the following advantages: the warehouse entry is simple, all are parameter driven, and the workload is saved; the process can be set, is suitable for different factory processes, and improves the installation power of manufacture; the style is changeable, and the requirements of designers on different styles are met.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a wine trellis model generation apparatus provided in an embodiment of the present application, where the wine trellis model generation apparatus includes:
the acquiring module 100 is used for acquiring the type information and the process parameter information of the wine grillwork;
the plate generating module 200 is used for generating plate data of the wine trellis according to the type information and the process parameter information of the wine trellis;
and the wine grid generation module 300 is used for generating a wine grid model according to the plate data.
Illustratively, the board generation module 200 includes:
the distribution center line unit is used for generating a board distribution center line according to the type information and the process parameter information of the wine grillwork;
the distribution image unit is used for generating a wine lattice distribution image according to the plate thickness information and the plate distribution center line;
the clamping groove unit is used for traversing the intersection point of each plate and a plate in the other direction in the wine grid distribution image and calculating the clamping groove information of the wine grid;
and the wine grid generating unit is used for generating plate data of the wine grid according to the wine grid distribution image and the clamping groove information.
Illustratively, the board generation module 200 further includes:
the lattice drawing/lattice width unit is used for calculating the lattice drawing parameters and the lattice width parameters of the wine lattice frame according to the process parameter information;
the judging unit is used for judging whether the type information is a half-lattice wine grillage, if so, taking the hollow central point as a board central point or a board spacing central point, dispersing spaced boards from the middle to four sides, and generating a board distribution central line according to the lattice parameters and the lattice width parameters; if not, typesetting at intervals from left to right and from top to bottom, and generating a board distribution central line according to the drawing parameters and the grid width parameters.
Illustratively, the board generation module 200 further includes: and the board corner processing unit is used for processing the board corners of the wine grillwork distribution image.
Illustratively, the board corner processing unit is further used for performing surrounding or left-falling board corner processing on the wine grid distribution image.
It should be understood that the wine trellis model generation apparatus shown in fig. 10 corresponds to the method embodiments shown in fig. 1 to 9, and the details are not repeated here to avoid repetition.
Fig. 11 shows a structural block diagram of an apparatus according to an embodiment of the present application. The device may include a processor 510, a communication interface 520, a memory 530, and at least one communication bus 540. Wherein the communication bus 540 is used for realizing direct connection communication of these components. The communication interface 520 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. Processor 510 may be an integrated circuit chip having signal processing capabilities.
The Processor 510 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor 510 may be any conventional processor or the like.
The Memory 530 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 Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like. The memory 530 stores computer readable instructions that, when executed by the processor 510, cause the apparatus to perform the steps associated with the method embodiments of fig. 1-9 described above.
Optionally, the device may further include a memory controller, an input output unit.
The memory 530, the memory controller, the processor 510, the peripheral interface, and the input/output unit are electrically connected to each other directly or indirectly, so as to implement data transmission or interaction. For example, these elements may be electrically coupled to each other via one or more communication buses 540. The processor 510 is adapted to execute executable modules stored in the memory 530, such as software functional modules or computer programs comprised by the device.
The input and output unit is used for providing a task for a user to create and start an optional time period or preset execution time for the task creation so as to realize the interaction between the user and the server. The input/output unit may be, but is not limited to, a mouse, a keyboard, and the like.
It will be appreciated that the configuration shown in fig. 11 is merely illustrative and that the apparatus may also include more or fewer components than shown in fig. 11 or have a different configuration than shown in fig. 11. The components shown in fig. 11 may be implemented in hardware, software, or a combination thereof.
The embodiment of the present application further provides a storage medium, where the storage medium stores instructions, and when the instructions are run on a computer, when the computer program is executed by a processor, the method in the method embodiment is implemented, and in order to avoid repetition, details are not repeated here.
The present application also provides a computer program product which, when run on a computer, causes the computer to perform the method of the method embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method of generating a wine grid model, comprising:
acquiring type information and process parameter information of the wine grillwork;
generating plate data of the wine grillwork according to the type information and the process parameter information of the wine grillwork;
and generating a wine trellis model according to the plate data.
2. The wine trellis model generation method of claim 1, wherein the step of generating the plate data of the wine trellis according to the type information and the process parameter information of the wine trellis comprises:
generating a board distribution center line according to the type information and the process parameter information of the wine grillwork;
generating a wine grid distribution image according to the plate thickness information and the plate distribution center line;
traversing the intersection point of each plate and a plate in the other direction in the wine grid distribution image, and calculating the slot information of the wine grid;
and generating plate data of the wine grillwork according to the wine grillwork distribution image and the clamping groove information.
3. The wine trellis model generation method of claim 2, wherein the step of generating a plate distribution centerline according to the type information and the process parameter information of the wine trellis comprises:
calculating lattice parameters and lattice width parameters of the wine lattice according to the process parameter information;
judging whether the type information is a half-lattice wine grillage or not, if so, taking a hollow central point as a board central point or a board interval central point, radiating interval boards from the middle to four sides, and generating a board distribution central line according to the lattice parameters and the lattice width parameters; if not, typesetting at intervals from left to right and from top to bottom, and generating the distribution center line of the board according to the lattice drawing parameters and the lattice width parameters.
4. The wine trellis model generation method of claim 2, wherein the step of traversing each plate intersection in the wine trellis distribution image with a plate in another direction, calculating the slot information of the wine trellis is preceded by the method further comprising:
and carrying out plate corner processing on the wine grid distribution image.
5. The wine trellis model generation method of claim 4, wherein the step of performing board corner processing on the wine trellis distribution image comprises:
and carrying out surrounding or left-falling and right-falling plate corner treatment on the wine framework distribution image.
6. A wine rack model generation device, characterized by comprising:
the acquisition module is used for acquiring the type information and the process parameter information of the wine grillwork;
the plate generating module is used for generating plate data of the wine grillwork according to the type information and the process parameter information of the wine grillwork;
and the wine grid generation module is used for generating a wine grid model according to the plate data.
7. The wine grid model generation apparatus of claim 6, wherein the panel generation module further comprises:
the distribution center line unit is used for generating a board distribution center line according to the type information and the process parameter information of the wine grillwork;
the distribution image unit is used for generating a wine lattice distribution image according to the plate thickness information and the plate distribution center line;
the clamping groove unit is used for traversing the intersection point of each plate and a plate in the other direction in the wine grid distribution image and calculating the clamping groove information of the wine grid;
and the wine grid generating unit is used for generating the plate data of the wine grid according to the wine grid distribution image and the clamping groove information.
8. The wine grid model generation apparatus of claim 7, wherein the panel generation module further comprises:
the lattice yield/lattice width unit is used for calculating lattice yield parameters and lattice width parameters of the wine lattice according to the process parameter information;
the judging unit is used for judging whether the type information is a half-lattice wine grillwork or not, if so, taking a hollow central point as a plate central point or a plate interval central point, dispersing interval arrangement plates from the middle to four sides, and generating a plate distribution central line according to the lattice parameters and the lattice width parameters; if not, typesetting at intervals from left to right and from top to bottom, and generating the distribution center line of the board according to the lattice drawing parameters and the lattice width parameters.
9. An apparatus, comprising: memory, a processor and a computer program stored in the memory and executable on the processor, the processor when executing the computer program implementing the steps of the wine grid model generation method of any one of claims 1 to 5.
10. A storage medium having stored thereon instructions which, when run on a computer, cause the computer to perform the wine grid model generation method of any one of claims 1 to 5.
CN202110731650.3A 2021-06-30 2021-06-30 Wine grid model generation method, device, equipment and storage medium Pending CN113297664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110731650.3A CN113297664A (en) 2021-06-30 2021-06-30 Wine grid model generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110731650.3A CN113297664A (en) 2021-06-30 2021-06-30 Wine grid model generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113297664A true CN113297664A (en) 2021-08-24

Family

ID=77330019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110731650.3A Pending CN113297664A (en) 2021-06-30 2021-06-30 Wine grid model generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113297664A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5859786A (en) * 1996-03-15 1999-01-12 Daimler-Benz Ag Process for computer-aided geometry modeling
CN110704909A (en) * 2019-09-18 2020-01-17 贵州匠人筑造工程咨询有限公司 BIM-based design method and system for fabricated PCF board
CN110826136A (en) * 2019-11-11 2020-02-21 网易(杭州)网络有限公司 Virtual building model generation method and device, processor and electronic device
CN110851906A (en) * 2019-11-14 2020-02-28 广东三维家信息科技有限公司 Method and device for applying furniture layout between sample boards
CN110866342A (en) * 2019-11-18 2020-03-06 广东三维家信息科技有限公司 Cabinet modeling method and system and electronic equipment
CN111339592A (en) * 2020-02-26 2020-06-26 广东众图互联网工程设计有限公司 Automatic design method, device and system for components of building structure model and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5859786A (en) * 1996-03-15 1999-01-12 Daimler-Benz Ag Process for computer-aided geometry modeling
CN110704909A (en) * 2019-09-18 2020-01-17 贵州匠人筑造工程咨询有限公司 BIM-based design method and system for fabricated PCF board
CN110826136A (en) * 2019-11-11 2020-02-21 网易(杭州)网络有限公司 Virtual building model generation method and device, processor and electronic device
CN110851906A (en) * 2019-11-14 2020-02-28 广东三维家信息科技有限公司 Method and device for applying furniture layout between sample boards
CN110866342A (en) * 2019-11-18 2020-03-06 广东三维家信息科技有限公司 Cabinet modeling method and system and electronic equipment
CN111339592A (en) * 2020-02-26 2020-06-26 广东众图互联网工程设计有限公司 Automatic design method, device and system for components of building structure model and server

Similar Documents

Publication Publication Date Title
US11024080B2 (en) Techniques for slicing a 3D model for manufacturing
CN110866342B (en) Cabinet modeling method and system and electronic equipment
CN111352628A (en) Front-end code generation method and device, computer system and readable storage medium
CN111881662A (en) Form generation method, device, processing equipment and storage medium
CN108875048B (en) Report generation method and device, electronic equipment and readable storage medium
US20130226530A1 (en) Mesh generation system
CN113536425A (en) Revit-based climbing frame design method, terminal equipment and storage medium
JPH0991338A (en) Parameter input method for verification of logical design
CN111177828A (en) Linkage method and device applied to standard floor model and computer storage medium
CN113297664A (en) Wine grid model generation method, device, equipment and storage medium
CN106558019B (en) Picture arrangement method and device
CN112861491A (en) Report processing method and device, electronic equipment and computer readable storage medium
CN111241643A (en) Method and device for machining polygonal cabinet and electronic equipment
CN111399962B (en) Multi-level menu display method, device and storage medium
CN114756938A (en) Data processing method, device and equipment and readable storage medium
CN114115864A (en) Interface generation method and device and electronic equipment
JPH0692153B2 (en) Method for clearing mathematical formulas in document processing system
CN112884899A (en) Three-dimensional member generation method and device, computer device and storage medium
US20050086616A1 (en) Method for printed circuit board panelization
JPH06131011A (en) Ladder program generation supporting device
CN112581476A (en) Method and electronic device for drawing segmentation used in building design
Winstead et al. iSSA: An incremental stochastic simulation algorithm for genetic circuits
CN107256004B (en) Product processing method and device
CN112015410A (en) Webpage editing method, device and system and computer storage medium
CN110728114A (en) Analysis report generation method

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