CN115761068A - Method for demonstrating three-dimensional scene animation process of automatic webpage warehouse - Google Patents

Method for demonstrating three-dimensional scene animation process of automatic webpage warehouse Download PDF

Info

Publication number
CN115761068A
CN115761068A CN202211482578.6A CN202211482578A CN115761068A CN 115761068 A CN115761068 A CN 115761068A CN 202211482578 A CN202211482578 A CN 202211482578A CN 115761068 A CN115761068 A CN 115761068A
Authority
CN
China
Prior art keywords
model
animation
equipment
path
goods
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
CN202211482578.6A
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.)
KSEC Intelligent Technology Co Ltd
Original Assignee
KSEC Intelligent 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 KSEC Intelligent Technology Co Ltd filed Critical KSEC Intelligent Technology Co Ltd
Priority to CN202211482578.6A priority Critical patent/CN115761068A/en
Publication of CN115761068A publication Critical patent/CN115761068A/en
Pending legal-status Critical Current

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

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method for demonstrating three-dimensional scene animation flow of a webpage automation warehouse, which comprises the following steps of utilizing a three-dimensional simulation scheme design system to build a scheme, setting basic parameters of equipment in the scheme, inputting the trend of a conveying path among the equipment, inputting the frequency of a path starting station and a material building and inputting a submodel for executing special actions in a model; and selecting a path for starting the animation, automatically executing animation calculation and rendering by the system, and executing different animation scripts by different types of equipment during the real-time path traversal. The problem that traditional modeling software needs to perform tedious animation definition and long-time animation rendering is solved.

Description

Method for demonstrating three-dimensional scene animation process of automatic webpage warehouse
Technical Field
The invention relates to the field of automatic warehouse three-dimensional animation creation, in particular to a method and a device for demonstrating a three-dimensional scene animation process of a webpage automatic warehouse.
Background
When the automatic three-dimensional library projects are exchanged before sale, a conventional exchange mode uses a CAD two-dimensional drawing to explain a scheme. The method has the defects that a user does not have visual impression on a three-dimensional image of a scheme, and when a process flow is explained on a two-dimensional plane, because a drawing is static, horizontal and vertical movements of equipment cannot be well shown in a three-dimensional space, and understanding deviation is easy to occur in communication. At present, before the project specification, three-dimensional multimedia data is required to be manufactured, time and labor are wasted, and traditional modeling software such as 3Dmax needs to perform complicated animation definition and long-time animation rendering.
Disclosure of Invention
The invention aims to: aiming at the problems that the traditional modeling software needs to carry out fussy animation definition and long-time animation rendering, the method for demonstrating the three-dimensional scene animation flow of the automatic webpage warehouse is provided, a three-dimensional model file is loaded on a browser, and the position and the angle of the model are modified to form a complete automatic stereoscopic warehouse; the process demonstration of the three-dimensional scene animation of the webpage automatic stereoscopic warehouse is realized by setting model attributes, incidence relations among equipment, preset model equipment scheduling strategies, animation codes, length, width, height specifications of materials for animation demonstration, material production cycles and the number of the materials for animation demonstration.
The technical scheme of the invention is as follows:
a method for demonstrating three-dimensional scene animation flow of a webpage automation warehouse comprises the following steps,
and (3) constructing a scheme: inputting the quantity of goods shelves, roadways and roadways through parameters, quickly building a stereoscopic warehouse, and building a complete scheme in a system by using a system loading equipment model;
setting basic parameters of equipment in the scheme: selecting an equipment model in a three-dimensional scene, and inputting corresponding parameters into an equipment attribute panel;
the conveying path between the input devices is: when a path is newly established in the system, the system automatically generates a unique path serial number, sets a path name, sequentially selects equipment in a three-dimensional scene, records a selection sequence and sequentially stores the equipment in a path set;
frequency of input path start station and creation material: selecting an initial model, and setting parameters on a model attribute panel;
inputting a sub-model for executing a special action in the model: when the sub-component function of the model needs to be defined, switching the selection mode in the system, and modifying the attribute panel parameters of the model sub-component;
selecting a path for starting the animation, and automatically executing animation calculation and rendering by the system: the system automatically creates a path model action calculation timer, an animation updating timer and a three-dimensional scene rendering timer for animation rendering;
different types of devices execute different animation scripts during the real-time traversal of the path.
Further, the method is circularly executed by utilizing a webpage timer in animation rendering of the path model action calculation timer, and comprises the following steps:
sequencing all paths in the scene, and performing positive sequencing according to the created materials and the finished materials;
traversing a path set under a single path, judging material information of an initial station, if the model property is a system created material, continuously judging whether the material information is bound, and if the material information is bound, executing different animation creating scripts according to different types of equipment to create a model animation; if not, loading a corresponding material model according to the set frequency and the material type, binding material information, and recording material model information; if the model attribute does not create materials for the system, the material model is arranged on the equipment model, when the materials above the model are detected, the material model information is recorded, and different animation creating scripts are executed according to different types of equipment to create the model animation.
Further, the animation updating timer updates the model animation attribute and the three-dimensional scene camera view angle; the animation updating timer comprises three-dimensional scene automatic demonstration functions of scene rotation, following material demonstration and system automatic demonstration modes.
Further, the different types of equipment comprise conveying equipment, stand-alone equipment, track equipment, storage equipment, code division machine equipment and robot equipment; the conveying equipment creates the animation and comprises the following steps: creating animation conveyed to the end point of the conveying equipment, judging the equipment type of the next model, and creating the animation conveyed to the next equipment when the next model is the conveying equipment or the code division machine equipment; and when the next model is the single machine equipment or the track equipment or the robot equipment, waiting for the single machine equipment to pick up the goods.
Furthermore, when the single machine equipment creates the animation, the model motion animation is generated according to the transportation direction of the attribute panel configuration of the model, the cargo equipment and the attribute value of the cargo taking and placing equipment.
Further, the track device creation animation comprises the following steps:
analyzing all sites of the trajectory lines, detecting the stand-alone equipment group model placement sites bound by the trajectory lines, creating animation of the trajectory line bound model moving to the next site, and executing the stand-alone equipment animation creating step if the models and the models near the sites need to take or put goods; a plurality of models of a single machine type are placed on the trajectory.
Further, the storage device creating animation comprises the following steps:
initializing and calculating a goods position coordinate, sequencing goods positions according to the attribute of the model, storing the goods positions into an empty goods position set, returning the empty goods position coordinate to an upstream model when the model is positioned at the downstream of the path, creating an animation of placing goods from the upstream model to a specified goods position, updating the empty goods position set and an inventory set, and storing goods placing position data into the inventory set;
when the model is positioned at the upstream, the goods position is returned to the downstream model from the inventory set, the animation from the downstream model to the goods taking from the inventory position is created, the empty position set and the inventory set are updated, and the goods taking position data is stored in the empty position set.
Furthermore, when the code division machine equipment creates animation, the system creates code discs and disc splitting animation of the code division machine with different modes according to the model attribute panel configuration, the code division modes and the maximum code disc quantity; the code division mode comprises a code tray, a disassembly tray and a code disassembly body.
Further, the robot device creating the animation includes the steps of:
when the model is positioned at the downstream of the path, if goods exist in the upstream equipment, creating an animation that a current model base rotates to a material coordinate, creating an animation that a mechanical arm rotates to the upper part of the material, creating an animation that a sucker model on the mechanical arm rotates downwards, executing the operation of combining a sucker and the material, and enabling the material to move along with the sucker;
when the model is located at the upstream of the path, if materials exist on the robot model, animation of the robot base rotating to the downstream platform is created, the system creates animation of the arm rotating to the goods placing point, the materials and the suckers are separated, and the materials leave the suckers.
The invention also comprises a device for demonstrating the three-dimensional animation process of the automatic webpage warehouse, which is characterized by comprising a model building module, a model setting module, a model input module and an animation rendering module;
the model building module is used for building an automatic warehouse model;
the model setting module and the model input module are used for setting the attribute and the path trend of the automatic warehouse model;
the animation rendering module is used for rendering the equipment model animation, and different types of equipment execute different animation creating scripts.
Compared with the prior art, the invention has the beneficial effects that:
1. a method for demonstrating three-dimensional scene animation flow of a webpage automation warehouse can support different types of equipment to be combined by presetting the functional characteristics of model equipment. A user only needs to define the direction of the material flow path of the equipment, the automatic dispatching equipment of the system carries materials, the chain conveyor carries the materials, the shuttle car, the annular shuttle car and the AGV carry the materials, the robot stacks and unstacks the materials, and the robot stacks and unlocks the trays. And manual configuration is reduced by extracting the equipment characteristics and the key parameters.
2. A method for demonstrating three-dimensional scene animation flow of a webpage automatic warehouse is characterized in that a system automatically creates a path model action calculation timer, an animation updating timer and a three-dimensional scene rendering timer, so that model three-dimensional action animation based on paths and in real time is realized, compared with traditional modeling software such as 3Dmax, complex animation definition and long-time animation rendering are not needed.
3. A three-dimensional scene animation flow demonstration method for a webpage automation warehouse is characterized in that a system is developed based on a browser and is deployed at the cloud, users can abandon traditional C/S (client/server) architecture software, software installation is not needed, and project scenes and model files are stored at the cloud and can be shared at any time and updated at any time.
Drawings
FIG. 1 is a plan layout schematic and system path set diagram of a method, apparatus and system for three-dimensional scene animation flow demonstration of a web automated warehouse;
FIG. 2 is a schematic diagram of a method model and submodel for three-dimensional scene animation flow demonstration of a web automated warehouse;
FIG. 3 is a three-dimensional animation scheduling flow chart of a method for three-dimensional scene animation flow demonstration of a web automated warehouse;
FIG. 4 is a flow chart of conveying equipment animation creation for a process demonstration of a three-dimensional scene animation of a web automated warehouse;
FIG. 5 is a flowchart of a method for three-dimensional scene animation flow demonstration of an automated web library for creating a single machine animation;
FIG. 6 is a flowchart of a method for three-dimensional scene animation flow demonstration for a web automation warehouse for track device animation creation;
FIG. 7 is a flow diagram of a method for three-dimensional scene animation flow demonstration for a web automation warehouse for storage device animation creation;
FIG. 8 is a flow chart of animation created by code division machine equipment for demonstrating three-dimensional scene animation flow of a web page automation warehouse;
FIG. 9 is a flow chart of a method for web page automation warehouse three-dimensional scene animation flow demonstration and robot device creation animation flow.
Reference numerals are as follows: 1-stacker model, 2-submodel pallet and 3-submodel fork.
Detailed Description
It is noted that 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The features and properties of the present invention are described in further detail below with reference to examples.
Example one
Referring to fig. 1-9, a method for demonstrating animation flow of three-dimensional scenes in an automatic web library includes the following steps:
s1, building a scheme by using a three-dimensional simulation scheme design system, quickly building a stereoscopic warehouse by defining the number of goods shelves, roadways and roadways through parameters, loading models such as a conveyor, a stacker, a shuttle car, a spreader, a hoist and the like by using the system, and dragging model equipment in the system to build a complete scheme;
s2, setting basic parameters of the equipment in the scheme: selecting an equipment model in a three-dimensional scene, and inputting corresponding parameters into an equipment attribute panel:
velocity. Conveying speed (meters per minute);
velocity.vertical: hoisting speed (m/min);
liquid. Speed. Pickput: pick-and-place speed (meters/minute);
liquid. Move: moving speed (m/min);
speed. Machine pick-up speed (boxes/hour);
squir. A direction of motion;
FuncType: the functional type of the equipment (conveying, single machine, storage, track, code division machine, robot);
material. Isccreate: whether to create a material;
material, isdelete: whether to automatically delete the material;
length: material length (mm);
material. Width: material width (mm);
material.height: material height (mm);
material. The material is rotated by an angle (0 + -180 degrees);
material. The material is rotated by an angle (0 + -180 degrees);
material. The material is rotated by an angle (0 + -180 degrees);
createdtime: material creation time;
rate: material creation frequency (seconds);
type: conveying material types (solid trays, rolled solid trays, empty tray groups, cartons and turnover boxes);
IsInbForward: whether the forward direction is stored;
IsInbRows: the priority layer is put in storage, and the priority is defaulted to be put in storage;
StackMode: a stacking and separating machine mode (stacking tray, separating tray, stacking and separating body);
StackMaxQty: the maximum number of code disks.
S3, defining the trend of a conveying path between the devices, and automatically generating a unique RouteID parameter by the system in a newly-built path of the system. The user sets a path name RouteName, a mouse sequentially clicks equipment in a three-dimensional scene, the system records the equipment clicking sequence, and the equipment is sequentially stored in RouteModel sets.
S4, defining the frequency of creating materials for the path starting station: a user selects a starting model in a system, and sets parameters of material rate (material generation at intervals of several seconds), material type (material creation type), material length (material length), material width (material width), material height (material height) and material IsCreate (whether material is created) on a model property panel;
s5, defining a sub model which can execute special actions in the model: the three-dimensional model of the equipment is composed of a plurality of submodels, as shown in fig. 2, a stacker model and submodels thereof. The method comprises the steps that a default picking mode in a system is to select an integral model, when the function of a child node of the model needs to be defined, the selection mode is switched in the system, a user clicks a model child component by using a mouse, the child model is set as a functional equipment type on an attribute panel, the model is selected again, a goods carrying platform and goods taking and placing equipment are set on the attribute panel of the model, and the system provides a child node list set as a functional node for the user to select and set on an attribute frame;
s6, the user selects a path for starting the animation in the system, and clicks a button system to automatically execute animation calculation and rendering: the system automatically creates three timers for animation rendering, 1, a path model action calculation timer (DataRenderTimer); 2. an animation update timer (animation render timer); 3. a three-dimensional scene rendering timer (scenendertimer).
The S7 path model action calculation timer is executed cyclically at a period of 100ms using a web page timer (setTimeout). The system sequences all paths defined in a scene, creates materials, finishes the positive sequence sequencing of the materials and ensures that all paths can be uniformly distributed for animation demonstration;
after S711 path sorting is completed, model sets routeModels under a single path are traversed, a path starting station needs to be specially judged, if a system creation material is selected by a model attribute, whether the starting station is bound with material information needs to be judged, if the system creation material is not bound, material. Material parameters:
length: material length (mm);
material. Width: material width (mm);
material.height: material height (mm);
material. The material is rotated by an angle (0 + -180 degrees);
material. The material is rotated by an angle (0 + -180 degrees);
material rotation.z: the material is rotated by an angle (0 + -180 degrees);
type: conveying material types (solid trays, rolled solid trays, empty tray groups, cartons and turnover boxes);
s712 calculating coordinates of the material according to the path connection relationship, subtracting the coordinates of the initial model and the next model to obtain a conveying direction dir, taking out an initial model StartPoint (x, y, z) according to the conveying direction, and calculating coordinates of the material according to the conveying direction, where startpoint.dir = startpoint.dir + (material. Max.dir-material. Min.dir)/2; the material needs to be placed on the top surface of the equipment model, and StartPoint.y = equipment model. Max.y;
s713, after the material loading is finished, the material information and the initial station are subjected to information binding, and the material model information is recorded by the CurrentSku attribute of the model;
s72, if the model attributes do not check the system created materials, the system supports a user to self-define and drag material models to be placed on the equipment model. In the mode, the initial model launches a ray upwards, whether the model exists is checked, the model type is set as a material after the model is detected, and material model information is recorded in the attribute CurrentSku;
s73, after the material initialization action is completed, the system calculates the animation initial coordinates, the target coordinates, the initial angle and the target angle of the model, the model child nodes and the material according to the equipment model stored in the path, and creates a TWEEN.Tween animation example and calls an animation starting method by using Tween.js; and monitoring starting, updating the animation and completing and calling back the animation to perform operations such as model material unbinding, material deleting and equipment state updating. Different types of equipment models call different animation execution scripts, which are detailed in step S9;
the S8 animatRenderTimer is mainly responsible for model animation attribute updating and three-dimensional scene camera view angle updating. The webpage timer is used for requesting an animation frame, the timer adopts the system time interval, the optimal drawing effect and efficiency are kept, and various webpage animations have a uniform refreshing mechanism, so that the system resources are saved, and the system performance is improved. In the timer, a system calls an animation updating method to realize that the coordinate and angle updating of the equipment model and the material model are consistent with the refreshing cycle of the browser, so that smooth three-dimensional animation is realized; the system supports the automatic demonstration function of the three-dimensional scene, and the function is divided into three modes: 1. rotating a scene; 2. demonstrating following materials; 3. the system automatically demonstrates;
s81 scene rotation demonstration: the system moves a camera to the front view position of the three-dimensional scene, sets a camera lookoAt origin coordinate (0,0,0), sets an attribute AutoRotateSpeed of an OrbitControls object in three.js, and calls an update () method to update the camera coordinate, so that the effect of integral rotation of the three-dimensional scene is realized;
s82 following material demonstration: a user selects a material model or an equipment model in a three-dimensional scene, and the system automatically updates the position of the camera to be always kept behind the model, so that the lens moves along with the model. The system carries out vector subtraction calculation on the coordinates of the two times by comparing the last coordinate and the current coordinate of the model to obtain the running direction of the equipment, and the system calculates the coordinate value of the camera as the coordinate value of the selected model direction minus the offset of the three axes of x, y and z set by a user, so that the monitoring effect of the camera after the movement of the material is realized;
and S83, automatic demonstration of the system: the system monitors a three-dimensional animation starting event, stores the running model and the running direction into a queue when the model animation starts to run, sequentially takes out the model and the running direction from the queue by the animation demonstrator to update the position of the camera, and repeats the step S82;
s9, during the real-time path traversal, different types of equipment execute different animation scripts;
s91, conveying equipment: when the type of the model traversed by the path is conveying equipment, generating animation for conveying the material to the next model, calculating the tail end center coordinate of the next model according to the connecting direction of the current model and the next model in the path, calculating the end coordinate of the model by the tail end coordinate plus the width of the model/2, calculating the Distance between the end coordinate and the start coordinate, calculating the conveying time by the Distance/Equip.
S92, single-machine equipment: and when the model type traversed by the path is a single-machine device, generating the model motion animation according to the transportation direction, the cargo carrying device and the pick-and-place device attribute value configured by the model attribute panel. The device is suitable for shuttle vehicles, stacking machines and other devices. The following steps are required to generate the animation.
S921 the model transport direction defaults to using the axis where the model length is located as the running direction, supports manual modification of the X/Z axis motion direction, the single machine equipment needs to perform animation calculation according to the upstream and downstream model positions, calculates the target coordinate close to the center point of the upstream equipment along the motion direction, calculates the Distance between the target coordinate and the current coordinate, calculates the motion event by the Distance/Equip. The system monitors an animation completion event and enters the subsequent steps;
s922, creating a corresponding animation according to the function node configured by the model, if cargo-carrying equipment is configured, aligning a calculation target coordinate of a cargo-carrying sub-model with a material bottom coordinate when the single-machine model approaches the upstream equipment, calculating the time required by movement according to a model attribute Equip.Speed.Vertical, generating the animation and transmitting the animation into an animation queue, monitoring an animation completion event by a system, creating the animation of moving the material to a single-machine equipment cargo-carrying platform again, and entering a subsequent step after the animation is completed;
s923, if the goods taking and placing equipment is configured, when a single-machine model approaches upstream equipment, calculating target coordinates of the goods taking and placing equipment as center coordinates of the bottom of a material, calculating events required by movement according to model attributes, namely Equip.Speed.PickPut, generating animations and transmitting the animations into an animation queue, monitoring animation completion events by a system, combining the material and the goods taking and placing equipment into a group, generating animations with the positions of the goods taking and placing equipment restored in a reverse direction, generating the animations and transmitting the animations into the animation queue, monitoring the animation completion events by the system, and entering a subsequent step;
s924 after the single-machine equipment finishes goods taking, calculating target coordinates close to a downstream model and time required by movement along the movement direction, generating an animation, transmitting the animation into an animation queue, monitoring an animation completion event by a system, and entering the subsequent steps;
s925, if cargo-carrying equipment is configured, aligning the target coordinates and the top of the target model when the single-machine model approaches to the downstream equipment, calculating the time required by the motion according to the model attribute of Equip.Speed.Vertical, generating the animation, transmitting the animation into an animation queue, monitoring the animation completion event by the system, re-creating the animation of the material moving to the target model, and entering the subsequent step;
s926 if the picking and placing equipment is configured, when the single machine model approaches downstream equipment, calculating a target coordinate of the picking and placing equipment as a top surface coordinate position of the target model, calculating an event required by movement according to a model attribute Equip.Speed.PickPut, generating an animation and transmitting the animation into an animation queue, monitoring the animation by a system to complete the event, ungrouping materials on the picking and placing equipment, reversely generating the animation restored from the position of the picking and placing equipment, generating the animation and transmitting the animation into the animation queue, monitoring the animation to complete the event by the system, updating the state of the single machine equipment to be idle, setting a path ID to be empty, and carrying operation of the next time or other paths can be carried out;
s93 track equipment: when the type of the model traversed by the path is track equipment, the system traverses the equipment group attribute Equip.group on the track, animation running along the track is created for each model in the equipment group, when the model is aligned with the equipment near the track line station, the system judges that the model carries out goods taking/placing actions, and a plurality of single-machine type equipment can be placed on the track line, so that the system is suitable for equipment such as annular shuttles, stackers, AGVs and the like. The following steps are required to generate the animation.
And S931, when the system draws the track line, placing the single-machine model along the track line at a station drawing station needing to perform goods taking and placing actions.
When the animation is initialized, sequencing each station in the trajectory line, sequentially sending out the station closest to a model list bound in the attributes of the ray detection equipment group detected to the y axis, calculating the distance between the model and the next station, calculating the time required by movement according to the distance/velocity of the equivalent.
S933 after the model moves to the next station, if the model is aligned with the upstream equipment recorded in the path, judging whether the current model is in an idle state or not and the upstream equipment initiates a goods receiving instruction, executing a goods taking action, wherein the detailed animation creating step is shown in S922-S923;
s934, after the model moves to the next station, if the model is aligned with the downstream equipment recorded in the path, judging whether the current model is in the cargo carrying state and whether the downstream equipment is in the idle state, executing a cargo placing action, wherein the detailed animation creating step is shown in S925-S926;
s935 when the model stops at a station for animation display, the current station is marked as an occupied state, and subsequent equipment on the trajectory stops at a node behind and does not execute animation, thereby realizing a platform-to-trolley blocking mechanism.
S94 storage device: when the type of the model traversed by the path is a storage device, configuring IsInbForward according to a model property panel: whether forward warehousing is performed, isInbRows: and (4) warehousing the priority layer, and searching the empty position in the goods shelf by the system according to the parameter strategy to put goods. The method is suitable for the shelves created in the parameterization of the system. The following steps are required to generate the animation.
S941 when the storage model belongs to a downstream device in the path, executing goods storage operation, automatically calculating coordinates of each goods grid by the system according to the arrangement layer and goods space size parameters of the model, initializing a goods space set, calculating a goods space X/Y/Z axis coordinate sorting rule according to IsInbForward and IsInbRows configured by attributes, taking out the goods space with the most front sorting rule and providing the goods space to the upstream device, marking the goods space information as warehousing, skipping the current goods space by the system during next period animation execution, creating a running animation to a target position by the upstream device according to the target goods space coordinates for goods release, monitoring an animation execution completion event by the system, removing the goods space information from the goods space set, storing the goods space information into an inventory set, and performing ex-warehouse action;
s942, when the storage model belongs to the upstream device in the path, the goods are delivered, the system takes out the goods position information which enters the set earliest in the stock set, the goods position coordinate is transmitted to the downstream device, the downstream device creates a goods taking animation to the target goods position according to the stock goods position coordinate to take goods, the system marks the current goods position information in the stock set as being delivered, when the animation is executed in the next period, the system skips the current goods position, monitors the animation execution completion event, removes the goods position information in the stock set, stores the goods position information into the head of the goods position set, and can perform the goods delivery action again;
s95 code division machine equipment: when the path traverses to the model type time code extension device, configuring the StackMode according to the model attribute panel: code extension mode (palletize, destacking, palletizing-destacking), stackMaxQty: and (4) the maximum code disc quantity, and the system creates code disc and disc splitting animations of the code division machines in different modes. The method is used for equipment such as a code division machine. The following steps are required to generate the animation.
S951 when the model mode is a code tray, when the model belongs to upstream equipment in a path, the system judges whether empty trays stored on the model meet the maximum tray number configured by StatcMaxQty or not, and when the empty trays are more than or equal to the maximum tray number, the system combines all the empty trays stored on the model into a group, creates an animation for conveying the empty tray group to the downstream equipment, and adds the animation into a TWEEN.js animation queue; when the model belongs to downstream equipment in the path, the system judges that the number of empty trays stored in the model is less than StackMaxQty, allows the empty trays stored in the upstream model to be conveyed into the code division machine, creates an animation to enable the trays stored in the code division machine to move upwards in sequence by not less than the height of one empty tray, creates the animation that the upstream model conveys the empty trays to the central coordinate position of the code division machine after the execution of the animation is finished, creates the animation that the code division machine is lowered to the top surface height of the empty tray at the bottom by the empty tray moving upwards after the execution of the animation is finished, and adds the TWEEN.
S952, when the model mode is tray dismounting, when the model belongs to upstream equipment in a path, and the system judges that empty trays exist on the model, a bottom empty tray is created and is conveyed to downstream model animation, and after the system monitors the animation, the animation is created, and the rest empty trays on the model descend to the top of the model; when the model belongs to downstream equipment in the path, only if the remaining quantity of empty trays on the model is zero, allowing the upstream model to create an animation which is transmitted to the code division model by an empty tray group;
s953, when the model mode is a code splitting integrated mode and when the model belongs to an upstream device in a path and the system judges that an empty tray exists on the model, the empty tray at the bottom is created and is conveyed to a downstream model animation, and after the system monitors the animation, the animation is created, and the empty tray left on the model descends to the top of the model; when the model belongs to downstream equipment in the path, the system judges that the number of empty trays stored in the model is less than StackMaxQty, allows the empty trays stored in the upstream model to be conveyed into the code division machine model, creates an animation to enable the trays stored in the code division machine to move upwards in sequence by not less than the height of one empty tray, creates the animation that the upstream model conveys the empty trays to the central coordinate position of the code division machine model after the execution of the animation is finished, creates the animation that the code division machine model is lowered to the top surface height of the bottom empty tray by the upward moving empty tray after the execution of the animation is finished, and adds the animation queue of TWEEN.js.
S96 robotic device: when the model type traversed by the path is the robot device, setting Equip.Speed.robot according to the model property panel: the machine grabs speed (case/hour), and the system is according to the case number of snatching every hour, calculates the robot and snatchs the time that every case needs, and it is rotatory to distribute the time average to the base, in the arm rotation animation. The following steps are required to generate the animation.
S961, when the robot model is located at a downstream position in the path and the animation of the delivery box or the tray of the upstream equipment is executed, the system detects the three-dimensional goods taking vector of the robot and the box to be grabbed, calculates the included angle between the current mechanical arm and the goods taking vector, creates the animation of which the current angle is changed to the target angle, and adds the animation into a TWEEN. The system monitors an animation finishing event, calculates the angle of a mechanical arm sub-model grabbing box, creates an animation that the mechanical arm rotates to the position above the material, and simultaneously creates an animation that the sucker model on the mechanical arm rotates downwards. After the system monitors the animation, the combination operation of the sucking disc and the material is executed, and the subsequent steps are processed;
s962, when the robot model is in the upstream position in the path, the system detects the included angle between the arm model and the downstream platform, and creates the animation that the robot base rotates to the downstream platform. And simultaneously, calculating an included angle between the robot arm model and a goods placing point, wherein the goods placing point can be downstream equipment and can be an empty tray on the downstream equipment, after the calculation is completed, the system creates an animation with the arm rotating to the goods placing point, after the system monitors the animation, the system separates the material and the sucker, the material leaves the sucker, and the animation is completed.
The invention also comprises a device for demonstrating the three-dimensional animation process of the automatic webpage warehouse, which is characterized by comprising a model building module, a model setting module, a model input module and an animation rendering module;
the model building module is used for building an automatic warehouse model;
the model setting module and the model input module are used for setting the attribute and the path trend of the automatic warehouse model;
the animation rendering module is used for rendering the equipment model animation, and different types of equipment execute different animation creating scripts.
It should be noted that, regarding the example introduction of the "system:
the system provided by the embodiment has the following characteristics and functions:
the method comprises the following steps of developing software based on a three-dimensional engine of three.js, loading an external FBX model through the three.js engine or calling the three.js engine to create a three-dimensional basic model, and assembling the model with specific significance, such as: shelves, traces, text, etc. A user uploads a model in an FBX format on a webpage and inputs model parameters, and the model is loaded, created and dragged to form a complete three-dimensional scene.
It should be noted that the above description is made with respect to the "system". However, such a "system" is not an essential technical feature, and should not be a limitation to the scope of the present invention, and the present embodiment adopts a method using the "system" only for the purpose of more convenient and clear description of the present invention.
The above embodiments only express specific embodiments of the present application, and the description is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for those skilled in the art, without departing from the technical idea of the present application, several changes and modifications can be made, which are all within the protection scope of the present application.

Claims (10)

1. A method for demonstrating three-dimensional scene animation flow of a webpage automation warehouse is characterized by comprising the following steps:
and (3) constructing a scheme: inputting the quantity of goods shelves, roadways and roadways through parameters, quickly building a stereoscopic warehouse, and using a system loading equipment model to build a complete scheme in the system;
setting basic parameters of equipment in the scheme: selecting an equipment model in a three-dimensional scene, and inputting corresponding parameters into an equipment attribute panel;
the conveying path between the input devices is: when a path is newly established in the system, the system automatically generates a unique path serial number, sets a path name, sequentially selects equipment in a three-dimensional scene, records a selection sequence and sequentially stores the equipment in a path set;
frequency of input path start station and creation material: selecting an initial model, and setting parameters on a model attribute panel;
inputting a sub-model for executing a special action in the model: when the subcomponent function of the model needs to be defined, switching a selection mode in the system, and modifying the attribute panel parameter of the model subcomponent;
selecting a path for starting the animation, and automatically executing animation calculation and rendering by the system: the system automatically creates a path model action calculation timer, an animation updating timer and a three-dimensional scene rendering timer for animation rendering;
during the real-time traversal of the path, different types of devices execute different create animation scripts.
2. The method for web page automatic warehouse three-dimensional scene animation flow demonstration according to claim 1, characterized in that, the web page timer is used for executing circulation in animation rendering of the path model action calculation timer, and the method comprises the following steps:
sequencing all paths in the scene, and performing positive sequencing according to the created materials and the finished materials;
traversing a path set under a single path, judging material information of an initial station, if the model property is a system created material, continuously judging whether the material information is bound, and if the material information is bound, executing different animation creating scripts according to different types of equipment to create a model animation; if not, loading a corresponding material model according to the set frequency and the material type, binding material information, and recording material model information; if the model attribute does not create materials for the system, the material model is arranged on the equipment model, when the materials above the model are detected, the material model information is recorded, and different animation creating scripts are executed according to different types of equipment to create the model animation.
3. The method for demonstrating the three-dimensional scene animation process of the automatic warehouse of the web page according to claim 1, wherein the animation updating timer updates the model animation attributes and the three-dimensional scene camera view angle, and comprises three-dimensional scene automatic demonstration functions of scene rotation, following material demonstration and system automatic demonstration modes.
4. The method for three-dimensional scene animation process demonstration of the automatic warehouse of the web page as claimed in claim 1, wherein the different types of devices comprise a conveying device, a stand-alone device, a track device, a storage device, a code division machine device and a robot device; the conveying equipment creates the animation and comprises the following steps: creating animation conveyed to the end point of the conveying equipment, judging the equipment type of the next model, and creating the animation conveyed to the next equipment when the next model is the conveying equipment or the code division machine equipment; and when the next model is the single machine equipment or the track equipment or the robot equipment, waiting for the single machine equipment to pick up the goods.
5. The method of claim 4, wherein when the single device creates the animation, the model motion animation is generated according to the transportation direction, the cargo carrying device, and the attribute values of the cargo handling device configured by the attribute panel of the model.
6. The method for web page automation warehouse three-dimensional scene animation flow demonstration as claimed in claim 5, characterized in that the track device creation animation comprises the following steps:
analyzing all sites of the trajectory lines, detecting the stand-alone equipment group model placement sites bound by the trajectory lines, creating animation of the trajectory line bound model moving to the next site, and executing the stand-alone equipment animation creating step if the models and the models near the sites need to take or put goods; a plurality of models of a single machine type are placed on the trajectory.
7. The method for web page automation warehouse three-dimensional scene animation flow demonstration as claimed in claim 4, wherein the step of creating the animation by the storage device comprises the following steps:
initializing and calculating a goods position coordinate, sequencing goods positions according to the attribute of the model, storing the goods positions into an empty goods position set, returning the empty goods position coordinate to an upstream model when the model is positioned at the downstream of the path, creating an animation of placing goods from the upstream model to a specified goods position, updating the empty goods position set and an inventory set, and storing goods placing position data into the inventory set;
when the model is positioned at the upstream, the goods position is returned to the downstream model from the inventory set, the animation from the downstream model to the goods taking from the inventory position is created, the empty position set and the inventory set are updated, and the goods taking position data is stored in the empty position set.
8. The method for three-dimensional scene animation flow demonstration of the automatic warehouse of the web page as claimed in claim 4, wherein when the code division machine device creates the animation, the system creates the code disc of the code division machine and the animation of the disc disassembly in different modes according to the model attribute panel configuration, the code division mode and the maximum code disc number; the code division mode comprises a code tray, a disassembly tray and a code disassembly body.
9. The method for web page automation warehouse three-dimensional scene animation flow demonstration as claimed in claim 4, wherein the robot device creating the animation comprises the following steps:
when the model is positioned at the downstream of the path, if goods exist in the upstream equipment, creating an animation that the current model base rotates to the coordinates of the materials, creating an animation that the mechanical arm rotates to the upper part of the materials, creating an animation that the sucker model on the mechanical arm rotates downwards, executing the combination operation of the sucker and the materials, and moving the materials along with the sucker;
when the model is located at the upstream of the path, if materials exist on the robot model, animation of the robot base rotating to the downstream platform is created, the system creates animation of the arm rotating to the goods placing point, the materials and the suckers are separated, and the materials leave the suckers.
10. A device for demonstrating three-dimensional animation flow of a webpage automation warehouse is characterized by comprising a model building module, a model setting module, a model input module and an animation rendering module;
the model building module is used for building an automatic warehouse model;
the model setting module and the model input module are used for setting the attribute and the path trend of the automatic warehouse model;
the animation rendering module is used for rendering the equipment model animation, and different types of equipment execute different animation creating scripts.
CN202211482578.6A 2022-11-24 2022-11-24 Method for demonstrating three-dimensional scene animation process of automatic webpage warehouse Pending CN115761068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211482578.6A CN115761068A (en) 2022-11-24 2022-11-24 Method for demonstrating three-dimensional scene animation process of automatic webpage warehouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211482578.6A CN115761068A (en) 2022-11-24 2022-11-24 Method for demonstrating three-dimensional scene animation process of automatic webpage warehouse

Publications (1)

Publication Number Publication Date
CN115761068A true CN115761068A (en) 2023-03-07

Family

ID=85336944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211482578.6A Pending CN115761068A (en) 2022-11-24 2022-11-24 Method for demonstrating three-dimensional scene animation process of automatic webpage warehouse

Country Status (1)

Country Link
CN (1) CN115761068A (en)

Similar Documents

Publication Publication Date Title
KR102616626B1 (en) Robotic system for palletizing packages using real-time placement simulation
US10953544B2 (en) Robotic system with coordination mechanism and methods of operating the same
US10360531B1 (en) Robot implemented item manipulation
CN111168686B (en) Object grabbing method, device, equipment and storage medium
JP6710400B1 (en) Robot system with packing mechanism
EP3950539A1 (en) Intelligent warehousing system, processing terminal, warehousing robot, and intelligent warehousing method
US11905116B2 (en) Controller and control method for robot system
JP6683333B1 (en) Robot system for handling out-of-order arriving packages
US11077554B2 (en) Controller and control method for robotic system
KR20200138076A (en) A robotic system with error detection and dynamic packing mechanism
CN109911272B (en) Free stacking and boxing method based on reference line criterion
CN111661548B (en) Article sorting method, apparatus, device and storage medium
CN111605938B (en) Robotic system for palletizing packages using real-time placement simulation
CN114595607A (en) Digital twin textile sliver barrel conveying method and system
CN115761068A (en) Method for demonstrating three-dimensional scene animation process of automatic webpage warehouse
CN113778416A (en) Mechanical arm carrying script generation method and device based on graphical programming
CN111498212A (en) Robotic system for handling out-of-order arriving packages
WO2023073780A1 (en) Device for generating learning data, method for generating learning data, and machine learning device and machine learning method using learning data
CN111217095B (en) Hanging operation state simulation demonstration method and device
JP2023081309A (en) Use synthetic dataset to train to pick up article from pallet
JP2021165189A (en) Method for generalizing warehouse control, apparatus, system, program and record 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