Bag Forming
Beta
Bag forming shows how a flow wrapper or a bag maker turns a running foil into single bags. Two components on the mesh of the foil strand do the work:
- Mesh Stretch makes the strand grow out of the knife while the foil runs.
- Mesh Cut cuts the strand at the knife angle. The cut piece becomes a part (an MU) at exactly the place where it was cut, with exactly the print it showed, and it leaves on the conveyor below it. The strand starts again at the knife.
Both components are part of the commercial edition (Beta).
Setting it up
Section titled “Setting it up”- Give the strand its own mesh node. Its V texture coordinate decides which vertices move: with Weight Source UV, vertices with V ≤ 0 stay and vertices with V ≥ 1 move by the whole extrusion; InverseUV swaps the two ends. The moving end rests at the knife.
- Add Mesh Stretch to the strand. Choose the Axis and Direction the strand grows in, and connect Signal Extrusion to the foil travel since the last cut (mm), or set Source Drive to the foil drive.
- Add Mesh Cut to the same node. Set Cut Drive to the knife drive and enter the knife angle in Cut Positions, or connect Signal Cut.
- Put a Transport Surface under the place where the strand is cut, and a Sink at its end.
Mesh Stretch
Section titled “Mesh Stretch”| Property | What it does |
|---|---|
| Axis | Local axis the strand grows along (X, Y or Z, as in Unity). |
| Direction | Negative or Positive along the axis. |
| Weight Source | Which end of the strand moves: UV = the vertices with V ≥ 1 (as the Unity Extrudeable shader), InverseUV = the vertices with V ≤ 0, for a strand whose UVs run the other way. |
| Extrusion | Current stretch in mm, shown live. |
| Max Extrusion Mm | Upper limit of the stretch in mm; 0 = no limit. |
| Scroll Texture | The print moves with the stretch. |
| Texture Mm Per Unit | Length in mm of one texture repeat along the strand; 0 = taken from the mesh. A negative value reverses the print direction. |
| Signal Extrusion | PLC output with the stretch in mm. The controller owns the value: a cut does not reset it, the controller sets it back to 0 itself. |
| Source Drive | The foil drive. The component adds up the forward travel of the drive itself, and a cut takes the cut length off. |
Use either Signal Extrusion or Source Drive. When both are set, the inspector shows a warning and the signal is used.
The extrusion is a real length: a scaled parent node does not change how far the strand grows.
Mesh Cut
Section titled “Mesh Cut”| Property | What it does |
|---|---|
| Cut Positions | Drive angles in degrees. Each position cuts once per revolution while the knife turns forward; turning back never cuts, and passing the same angle again after turning back does not cut twice. |
| Cut Drive | The knife drive whose angle is compared with Cut Positions. |
| Signal Cut | PLC output; a rising edge cuts. A knife crossing and the signal in the same cycle make one cut. |
| Signal Cut Count | PLC input that receives the number of cuts since the last reset. |
| Place On Transport Surface | The cut part is handed to the transport: the conveyor it overlaps takes it over. Off: the part stays where it was cut. |
| Take Children | Parts lying completely inside the cut piece become its load and travel with it, for example the product in the bag. |
| Cut Mode | Grown: the part is only the material that grew beyond the knife, cut exactly at the knife plane with the same print. Whole: the part is a copy of the whole strand mesh. |
| Min Cut Length Mm | A cut with less stretch than this makes no part: the short end is scrap, as the first bag after a start. 0 = every cut makes a part. |
At most one cut is made per simulation step; a second crossing in the same step is made up in the next step. After a reset the first step only arms the cut, so a reset or a reconnect never produces an extra bag.
Foil print on the web
Section titled “Foil print on the web”The foil before the knife usually runs as a Transport Surface that scrolls its print. For a foil roll, set Static Face Axis to the roll axis so the end faces of the roll keep a still print, and use Texture Tiling to match the print length.
See also
Section titled “See also”- Material Flow - Transport Surface, Source, Sink
- MU - parts and their loads
- Drop Detection - reports parts that nothing carries