Method for quickly and automatically creating warehouse logistics sorting line cigarette packet path animation based on 3dsMax script technology

By using script technology in 3dsMax to automatically bind cigarette packets and motion paths and perform interference detection, the problem of cumbersome and high cost of making cigarette packet sorting line animation in the existing technology is solved, and the rapid automatic simulation and efficient design of cigarette packet path animation is realized.

CN119516046APending Publication Date: 2025-02-25KUNMING KSEC LOGISTIC INFORMATION IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411534011.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the prior art, the cigarette pack sorting line path animation requires manual keyframe setting in 3dsMax, the steps are cumbersome, the labor and energy are consumed, the production cycle is long, and the animation parameters are difficult to accurately control, resulting in difficult to visually display the model collision interference and the effect quality is not high.

Method used

Using a method based on 3dsMax scripting technology, the script visual plug-in is built to automatically bind the cigarette packet and motion path, and the correlation between spatial position and motion parameters is realized through the Polygon Mesh interference detection function, the interference area is manifested, and the animation parameters are optimized to reduce interference.

Benefits of technology

It realizes rapid automatic simulation of cigarette bag path animation, simplifies the production process, shortens the animation production cycle, reduces labor costs, improves animation quality and design efficiency, and can improve design efficiency by 50%-60%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119516046A_ABST
    Figure CN119516046A_ABST
Patent Text Reader

Abstract

The invention discloses a method for quickly and automatically creating a cigarette packet path animation of a warehouse logistics sorting line based on a 3dsMax script technology. The method comprises the following steps: accurately constructing a three-dimensional model of the cigarette packet sorting line according to drawing equipment layout in 3dsMax, and setting mapping material parameters and a real simulation scene; presetting a cigarette packet conveying path track, switching a line mode, and accurately drawing path lines; automatically binding the cigarette packet and the motion path by using a script, so that the spatial position and the motion parameter attribute of the cigarette packet and the motion path are associated; constructing a path animation script function; constructing a script visualization plug-in based on a maxscript language, and running and compiling the interference detection script; obtaining a scene model; a Polygon Mesh interference detection function is set; setting rendering parameters, and selecting an output path; and rapid and automatic simulation of the cigarette packet path of the warehouse logistics sorting line is completed. Production steps are reduced, loss and consumption are reduced, a production period is shortened, an interference area is visualized, animation parameters are accurately controlled, and rapid and automatic simulation of cigarette packet path animation is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of warehousing and logistics, and in particular to a method for quickly and automatically creating a cigarette package path animation of a warehousing and logistics sorting line based on 3dsMax script technology. Background Art

[0002] As an important part of the modern economic system, the warehousing and logistics industry is responsible for the effective connection from production to consumption. Especially in the tobacco industry, the efficient, safe and precise operation of the warehousing and logistics sorting line plays a key role in ensuring product quality and improving market response speed. Tobacco warehousing and logistics not only designs the storage, sorting and distribution of a large number of goods, but also requires precise planning of the transportation path of cigarette packages to ensure the smoothness and efficiency of the logistics process.

[0003] In the practice of warehousing and logistics, the planning and management of the cigarette pack sorting line path has a decisive impact on the efficiency and cost control of the entire logistics system. In order to better show the flow state of cigarette packs in the sorting line, making animated video display has become an intuitive and effective means. Through the animated video, the transportation path of the cigarette pack, the interference of the cigarette pack, the operation status of the logistics equipment and the bottleneck problems in the logistics process can be clearly displayed, providing decision support for logistics management designers. As a professional 3D animation production software, 3dsMax is increasingly widely used in the field of logistics with its powerful modeling, rendering and animation functions. It can help users quickly build highly realistic logistics scene models, simulate the actual operation of logistics equipment, and display the logistics process through animation. In tobacco warehousing and logistics, using 3dsMax to make an animated video of the cigarette pack conveying path can intuitively show the operation status of the cigarette pack conveying system. Through realistic 3D scene simulation and the transportation of cigarette packs, it can help provide intuitive and visual decision support.

[0004] In the prior art, the path animation of the cigarette pack sorting line in 3dsMax needs to be manually set with keyframes, which is cumbersome, labor-intensive, and time-consuming. In addition, the animation parameters are precisely controlled, and there is easy to be model collision interference, which is difficult to display intuitively. It is impossible to accurately modify the interference area, resulting in poor animation effect. Under the premise of ensuring the quality of the animation, it is impossible to achieve fast and automatic simulation of the cigarette pack path animation. Summary of the invention

[0005] The purpose of the present invention is to provide a method for quickly and automatically creating cigarette pack path animation for a warehousing logistics sorting line based on 3dsMax scripting technology, in order to address the problems of complicated production steps for cigarette pack conveying path animation, high consumption of manpower and energy, long production cycle, inability to accurately control animation parameters, inability to visualize interference detection, and low effect quality, thereby reducing production steps, reducing loss costs, shortening production cycle, visualizing interference areas, and accurately controlling animation parameters, thereby realizing fast and automatic simulation of cigarette pack path animation.

[0006] The technical solution of the present invention is as follows: A method for quickly and automatically creating a cigarette package path animation for a warehouse logistics sorting line based on 3dsMax scripting technology includes the following steps: In 3dsMax, according to the equipment layout in the drawing, accurately build the 3D model of the cigarette pack sorting line, set the texture material parameters, and simulate the scene realistically; Preset the cigarette pack conveying path trajectory, switch the line mode, and accurately draw the path line; According to the scene requirements, select cigarette pack models and path lines of different specifications, and use the script to automatically bind the cigarette packs and motion paths to associate their spatial positions and motion parameter attributes: Set the number of cigarette packs, speed and position parameters in the path animation, and construct the path animation script function; Build a script visualization plug-in based on the maxscript language, run and compile the interference detection script; and obtain the scene model and convert it into a polygon mesh.

[0007] Set the Polygon Mesh interference detection function, n1 is model 1, n2 is model 2, maxX is the maximum value of the model on the x-axis, minX is the minimum value of the model on the x-axis, maxY is the maximum value of the model on the y-axis, minY is the minimum value of the model on the y-axis, maxZ is the maximum value of the model on the z-axis, minZ is the minimum value of the model on the z-axis, and the interference calculation is performed for each model:

[0008] ; If the conditions in the function are met, there is no interference in the model; if the conditions in the function are not met, there is interference in the model; the interference area is displayed in red and rendered as a picture; Set rendering parameters and select output path; Complete the rapid and automatic simulation of cigarette pack paths in the warehouse logistics sorting line.

[0009] Furthermore, the script function is: ; Among them, speed is the speed of the cigarette pack, F is the number of timeline frames, curveLength CL is the path length, countyb is the number of cigarette packs, i is the current cigarette pack number, and randpy is the offset parameter in the horizontal and vertical directions.

[0010] Furthermore, the parameters in the script function are automatically assigned through visualization of the plug-in, which can realize the movement of the cigarette pack along a curved path, and can control the direction, speed, offset and number of cigarette packs.

[0011] Furthermore, the rendering parameters include renderer type, video size, video quality and lighting parameters.

[0012] Furthermore, the selecting of the output path includes setting the output format type to MP4 or AVI video file according to requirements.

[0013] Further, the setting of the Polygon Mesh interference detection function includes the following steps: Optimize the number, speed, and position parameters of the cigarette packs, and adjust the path lines until interference is eliminated, making the cigarette pack animation smoother.

[0014] Compared with the prior art, the present invention has the following beneficial effects: A method for quickly and automatically creating cigarette package path animations for a warehouse logistics sorting line based on 3dsMax scripting technology can simplify the production process and shorten the animation production cycle compared to existing technologies; reduce losses, cut costs and improve efficiency; perform visual detection of collision interference, intuitively view interference areas, and quickly and accurately modify models; accurately control animation parameters and perform rapid and automatic simulation; and improve design efficiency by 50%-60%. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 Flowchart of this application.

[0016] Figure 2 Draw a diagram for the cigarette packet path of this application.

[0017] Figure 3 A comparison chart of the traditional technology for making cigarette package path animation and the technology of the present invention.

[0018] Figure 4 This is a comparison chart before and after interference detection.

[0019] Figure 5 Comparison chart before and after optimization of cigarette pack path animation.

[0020] Figure 6 Model diagram of cigarette packages of different specifications.

[0021] Figure 7 This is the interface diagram of the script plug-in for quick and automatic simulation of cigarette pack path animation. DETAILED DESCRIPTION

[0022] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0023] The features and performance of the present invention are further described in detail below in conjunction with the embodiments.

[0024] See also Figure 1-7 , a method based on 3dsMax script technology to quickly and automatically create a warehouse logistics sorting line cigarette package path animation, such as Figure 1 As shown, the following steps are included: In 3dsMax, according to the equipment layout in the drawing, accurately build the 3D model of the cigarette pack sorting line, set the texture material parameters, and simulate the scene realistically; Preset the cigarette package conveying path trajectory, switch to line mode, and accurately draw the path line; Figure 2 The cigarette packet path diagram is shown. Figure 3 The figure shows a comparison between the traditional technology for making cigarette package path animation and the technology of the present invention.

[0025] According to the scene requirements, select cigarette package models and path lines of different specifications, such as Figure 6 As shown, the script is used to automatically bind the cigarette pack and the motion path, so that their spatial position and motion parameter attributes are associated: The number of cigarette packs, speed and position parameters in the set path animation are constructed, and the path animation script function is constructed; the script function is: ; Among them, speed is the speed of the cigarette pack, F is the number of timeline frames, curveLength CL is the path length, countyb is the number of cigarette packs, i is the current cigarette pack number, and randpy is the offset parameter in the horizontal and vertical directions.

[0026] The parameters in the script function are automatically assigned through the plug-in visualization, which can realize the movement of cigarette packs along a curved path, and can also control the direction, speed, offset and number of cigarette packs.

[0027] Build a script visualization plug-in based on the maxscript language, run and compile the interference detection script; and obtain the scene model and convert it into a polygon mesh.

[0028] Set the Polygon Mesh interference detection function, n1 is model 1, n2 is model 2, maxX is the maximum value of the model on the x-axis, minX is the minimum value of the model on the x-axis, maxY is the maximum value of the model on the y-axis, minY is the minimum value of the model on the y-axis, maxZ is the maximum value of the model on the z-axis, minZ is the minimum value of the model on the z-axis, and the interference calculation is performed for each model:

[0029] ; If the conditions in the function are met, there is no interference in the model; if the conditions in the function are not met, there is interference in the model; the interference area is displayed in red and rendered as a picture; Figure 4 Comparison diagram before and after interference shown.

[0030] Optimize the number, speed, and position parameters of the cigarette packs, and adjust the path lines until interference is eliminated, making the cigarette pack animation smoother. Figure 5 shown.

[0031] Set rendering parameters, including renderer type, video size, video quality and lighting parameters. Select output path; Select output path includes setting output format type as MP4 or AVI video file according to requirements.

[0032] Complete the rapid and automatic simulation of the cigarette pack path of the warehouse logistics sorting line. Figure 7 shown.

[0033] Compared with existing technologies, it can simplify the production process and shorten the animation production cycle; reduce losses, cut costs and improve efficiency; visually detect collision interference, intuitively view interference areas, and quickly and accurately modify models; accurately control animation parameters and quickly and automatically simulate; and improve design efficiency by 50%-60%.

[0034] The above-mentioned embodiments only express the specific implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the protection scope of the present application. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the technical solution concept of the present application, and these all belong to the protection scope of the present application.

Claims

1. A method for quickly and automatically creating a cigarette pack path animation for a warehouse logistics sorting line based on 3dsMax scripting technology, characterized in that: The following steps are involved: In 3dsMax, according to the equipment layout in the drawing, accurately build the 3D model of the cigarette pack sorting line, set the texture material parameters, and simulate the scene realistically; Preset the cigarette pack conveying path trajectory, switch the line mode, and accurately draw the path line; According to the scene requirements, select cigarette pack models and path lines of different specifications, and use the script to automatically bind the cigarette packs and motion paths to associate their spatial positions and motion parameter attributes: Set the number of cigarette packs, speed and position parameters in the path animation, and construct the path animation script function; Build a script visualization plug-in based on the maxscript language and run the compiled interference detection script; And obtain the scene model and convert it into a polygon mesh; Set the Polygon Mesh interference detection function, For model 1, For model 2, For the model The maximum value on the axis, For the model The minimum value on the axis, For the model The maximum value on the axis, For the model The minimum value on the axis, For the model The maximum value on the axis, For the model Minimum value on the axis, calculation of successive interference between two models: ; If the conditions in the function are met, there is no interference in the model; if the conditions in the function are not met, there is interference in the model; The interference area is visualized in red and rendered as a picture; Set rendering parameters and select output path; Complete the rapid and automatic simulation of cigarette pack paths in the warehouse logistics sorting line.

2. According to claim 1, a method for quickly and automatically creating a cigarette package path animation for a warehouse logistics sorting line based on 3dsMax scripting technology is characterized in that: The script function is: ; Among them, speed is the speed of the cigarette pack, F is the number of timeline frames, curveLength CL is the path length, countyb is the number of cigarette packs, i is the current cigarette pack number, and randpy is the offset parameter in the horizontal and vertical directions.

3. According to claim 2, a method for quickly and automatically creating a cigarette package path animation for a warehouse logistics sorting line based on 3dsMax scripting technology is characterized in that: The parameters in the script function are automatically assigned through visualization of the plug-in, which can realize the movement of the cigarette pack along a curved path, and can also perform direction, speed, offset and number of cigarette packs.

4. According to claim 1, a method for quickly and automatically creating a cigarette package path animation for a warehouse logistics sorting line based on 3dsMax scripting technology is characterized in that: The rendering parameters include renderer type, video size, video quality and lighting parameters.

5. According to claim 1, a method for quickly and automatically creating a cigarette package path animation for a warehouse logistics sorting line based on 3dsMax scripting technology is characterized in that: The output path selection includes setting the output format type to MP4 or AVI video file according to requirements.

6. According to claim 1, a method for quickly and automatically creating a cigarette package path animation for a warehouse logistics sorting line based on 3dsMax scripting technology is characterized in that: The setting of the Polygon Mesh interference detection function includes the following steps: Optimize the number, speed, and position parameters of the cigarette packs, and adjust the path lines until interference is eliminated, making the cigarette pack animation smoother.