question

dougdurbin avatar image
0 Likes"
dougdurbin asked dougdurbin commented

Placing Flowitem into imported 3D Object/Flowitem

In the attached model, I'm looking at time 8:22:38 AM on "Station 1 Combiner". I have a custom 3D object (Shipping Crate) that arrives on the combiner and flow items that should be placed inside of the Shipping Crate, but they are being stacked on top. I tried adjusting the location of the item but it's adjusting the shipping crate and not the items being inside. What's the best way to place the items inside of the shipping crate when the items are arriving to the combiner in the second port?

Manufacturing Model.fsm

FlexSim 21.0.0
flowitemflexsim 21.0.03d object
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jason Lightfoot avatar image
2 Likes"
Jason Lightfoot answered dougdurbin commented

You should create a new packing method for the crate.

I've done something basic in the attached model where the packing method 'Crate' places the first item 6 inches off the base of the crate shape and the rest are packed in alignment with that but within the yellow bounding box of the crate. To get the precise effect either refine the code or adjust the shape factors so that the yellow bounding box is within the crate shape space and reflects the exact 'packing space'. This makes me think we need a seperate 'packing space' cuboid (or cuboids) for a container with location and size both Vec3 - I'll suggest it.


manufacturing-model_jl.fsm


· 11
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Added xstart and ystart local variables to the Crate packing logic in the attached version.manufacturing-model_jl2.fsm

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Jason Lightfoot ♦♦ commented ·

Maybe it is sufficient to choose Packing Method Simple, because it is the default mechanism of a tote.

@doug.durbin if you start to customize items, you can copy first a default container item like a pallet or a tote and then you begin to customize by exchanging the shape.

1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Joerg Vogel commented ·

Simple:

Crate:


1 Like 1 ·
1610018501390.png (137.7 KiB)
1610018522504.png (141.4 KiB)
Show more comments
Show more comments
dougdurbin avatar image dougdurbin Jason Lightfoot ♦♦ commented ·

I edited the model right before you replied! I apologize! I changed the size and rotation of the boxes so that the length of the boxes should go along the length of the crate. I thought this logic would apply but it must determine the orientation of the item first right? I've attached the latest model to this reply. If I edit the size of the item later, I assume I would need to adjust the xstart and ystart local variables as well?

Manufacturing Model.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ dougdurbin commented ·

Were those the only changes? Since I went through and replaced the EntryTransfer entryOrientation headers for 21.0.1 in the model I posted.

0 Likes 0 ·
Show more comments