question

David.Y avatar image
0 Likes"
David.Y asked David.Y commented

Custom Flowitem problem : Rotaion, Size, Location

car size rotation location problem.fsm

Hello,

After inserting a new Flowitem (Car), when an item comes out of the Source, it should flow to the Sink through the Conveyor, but it is not currently.

I set it as an on exit trigger, but the flow item does not rotate 90 degrees, and the size, position (on the conveyor), and movement are strange. The car comes out somewhere other than on the conveyor

Any help would be appreciated.


1675234728848.png

FlexSim 23.0.0
flowitemlocationchange visualrotationsize
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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered David.Y commented

https://answers.flexsim.com/questions/54217/rotation-of-the-flow-item.html

@David.Y please use search tool next time first. I did. First result got this thread by keywords

rotation conveyor item.

· 6
5 |100000

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

Felix Möhlmann avatar image Felix Möhlmann commented ·

As the link Jörg posted shows, a conveyor will reset the orientation of entering items based on the Entry Transfer's setting.

In regards to the weird positioning:

When the car is created it is very large compared to the other objects in the model.

1675236489653.png

Due to the timing of the OnExit trigger, the location of the car on the conveyor is determined using the old size. When the size changes the object's origin point location stays the same, so its edge is now far away from the conveyor.

1675236756561.png

To fix this, either adjust the size of the car in the FlowItem Bin, so the created cars have the correct size right away or do the size change in the "OnCreation" trigger of the source (before the location is set).

0 Likes 0 ·
1675236489653.png (331.0 KiB)
1675236756561.png (45.6 KiB)
Joerg Vogel avatar image Joerg Vogel Felix Möhlmann commented ·
Also to mention: @David.Y, please prepare flowitems in flowitem bin. And you can use the procedure described in manual to customize objects.
0 Likes 0 ·
David.Y avatar image David.Y Felix Möhlmann commented ·

Trigger timing is important.. I could understand. Thanks for your help.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel commented ·
@David.Y another keyword is orientation.
0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel commented ·
0 Likes 0 ·
David.Y avatar image David.Y commented ·

I thought I had reduced the car size in the flowitem bin enough, but in reality I should have reduced it even more. I understand what you are talking about.

Thanks for your help.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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