[0031] Example 1
[0032] like Figure 5 As shown, this embodiment provides a real-time combined optimization intelligent packing simulation method, which specifically includes the following steps:
[0033] Step 1: Obtain the dimensions of the container and the cylindrical cargo, and generate a three-dimensional model of the container and the cylindrical cargo.
[0034] In a specific implementation, the size of the container includes the length, width and height of the container; the size of the cylindrical cargo includes the diameter and length of the cylindrical cargo.
[0035] Among them, based on the size of the container and the cylindrical cargo, according to the existing simulation and three-dimensional model generation program or software, the three-dimensional model of the container and the cylindrical cargo can be correspondingly generated.
[0036] Step 2: Select and run a simulation scheme that matches the set simulation requirements, and dynamically display the packing process based on the three-dimensional model of the container and cylindrical cargo;
[0037] Wherein, the set simulation requirement includes a real-time packing simulation requirement of a single cylindrical cargo and a single-layer cylindrical cargo packing simulation requirement.
[0038] In a specific implementation, the simulation scheme includes a type I real-time simulated packing scheme and a one-key generation single-layer simulated packing scheme. A correspondence.
[0039] Wherein, the I-type real-time simulation packing scheme is:
[0040] Based on the size of the container and the cylindrical cargo, calculate the number of cylindrical cargoes that are dynamically and neatly placed on each floor in an I-shaped layout;
[0041] When the next floor is full, calculate the remaining space of the container, compare the remaining space of the container with the size of the remaining cylindrical cargo, and then accumulate it to the upper floor.
[0042] During the packing process of dynamically displaying the I-type real-time simulated packing scheme, the location of the goods is determined, and the container data and the size data of the goods are converted into coordinates. For a container, a corner at the bottom of the container is made to coincide with the origin of the three-dimensional coordinate system, and a three-dimensional image of the container is constructed. For cylindrical goods, if they can be put into the box, then combine the coordinates of the goods that have been loaded before, calculate the coordinates of the current goods, locate them, and draw an image; And build out the cargo image. According to the container data and the accumulated cargo data of the current target position, the warning information and prompt information are obtained.
[0043] The algorithm process of dynamically displaying the I-type real-time simulated packing scheme is as follows:
[0044]
[0045] Specifically, in the I-type real-time simulated packing scheme, the cylindrical cargo on the same layer has the same size.
[0046] In one embodiment, in the I-type real-time simulated packing scheme, the cylindrical cargo of different layers has the same size.
[0047] In another embodiment, in the I-type real-time simulated packing scheme, the cylindrical cargo sizes of different layers are different. When the goods are placed one by one until the current layer can no longer be placed, and the layer needs to be changed, the size of the goods can be changed.
[0048] In a specific implementation, the one-click generation single-layer simulation packing scheme is:
[0049] According to the preset rules, each simulation generates a layer of cylindrical goods of the same size;
[0050] Calculate the remaining space of the container, compare the remaining space of the container with the size of the remaining cylindrical cargo, and if the remaining container space allows, generate a simulation to generate a multi-layered cylindrical cargo.
[0051] Wherein, in the one-click generation single-layer simulation packing scheme, the cylindrical cargoes of different layers have the same size or different sizes.
[0052]According to the size of the goods that need to be simulated on the current layer, and if the remaining box height allows, the relationship between the diameter of the goods and the width of the box is used to determine which placement form can save the box space on the current layer to the greatest extent. If the available space is exceeded, the quantity of the cylindrical cargo will be automatically adjusted or a warning will be displayed.
[0053] In the specific implementation, the data processing process of generating a single-layer simulated packing scheme with one click is as follows:
[0054] Data entry, including container data and cargo data.
[0055] Unit conversion, since the unit of container data is meters and the unit of cargo data is centimeters, unit conversion is required.
[0056] Determine the placement form of the cargo, and determine the placement form of the size of the cargo according to the quantity relationship between the input cargo roll diameter and the box width.
[0057] Determine the location of the goods and convert the entered data into coordinates. For the container, make a certain corner of the bottom of the container coincide with the origin of the three-dimensional coordinate system, and draw the image of the container. For cylindrical goods, if they can be put into the box, they will be positioned according to the quantity of goods entered, determine the coordinates of the goods in odd and even columns, and draw an image; if they cannot be put into the box, a warning message will be displayed.
[0058] Display prompt information, according to the container data and the accumulated cargo data of the current layer, display data information such as the remaining container height, the total number of coils, the size and quantity of the cargo on each floor, and the remaining container length.
[0059] Undo restores the data and image information from the previous step.
[0060] Save will download the current data information to the local.
[0061] Among them, the algorithm process of generating a single-layer simulation packing scheme with one click is as follows:
[0062]
[0063]
[0064]
[0065]
[0066]
[0067] In this embodiment, a three-dimensional model of the container and the cylindrical cargo is generated by acquiring the dimensions of the container and the cylindrical cargo, selecting and running a simulation scheme that matches the set simulation requirements, and dynamically displaying the packing process based on the three-dimensional model of the container and the cylindrical cargo. ; Wherein, the set simulation requirements include the real-time packing simulation requirements of a single cylindrical cargo and the single-layer cylindrical cargo packing simulation requirements, so that the real-time packing process of each cylindrical cargo can be simulated, and the real-time packing process of each cylindrical cargo can also be simulated. Each layer is simulated separately, and the size and quantity of the goods can be flexibly changed. The packing simulation is adaptively performed according to the set simulation requirements, which improves the packing efficiency.