question

Owen_liaw H avatar image
0 Likes"
Owen_liaw H asked Owen_liaw H commented

Combine and separate two different color box

1645280307370.png

1645280318184.png

1645280546886.png1.fsm

hi, I don't know how to the combine the two different color box (brown [1] and black[2]) (different length) to one box (they are attached together become more longer)(length 1 + length 2) such as the figure above 1, the drawing (black and red). After that, the separator to two conveyor, it still cannot work... could someone help me?



FlexSim 19.0.0
combinerseparator
1645280307370.png (138.1 KiB)
1645280318184.png (191.9 KiB)
1645280546886.png (97.3 KiB)
1.fsm (38.9 KiB)
· 5
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
Please Update to an actual supported Version. Thanks!
0 Likes 0 ·
Owen_liaw H avatar image Owen_liaw H Joerg Vogel commented ·
u mean update to newest version, sir?


0 Likes 0 ·
Owen_liaw H avatar image Owen_liaw H commented ·
someone pls help me


0 Likes 0 ·
David Chan avatar image David Chan Owen_liaw H commented ·
Please update your version to latest. We are aware that you are NOT using a legal version to ask question at this platform. Please note of the legal impact toward you



0 Likes 0 ·
Owen_liaw H avatar image Owen_liaw H David Chan commented ·
yea, because i used my friend laptop to do this work.. Sorry, i will go install actual version


0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Owen_liaw H commented

It is a matter of position. A packed item consists of a Container and packed items in it as subnodes items. You need to adjust the subnode item location in a trigger like Prozessfinish.

item.first.as(Object). location=Vec3(1,2,3);

Where 1,2,3 are values for x,y,z in relation to item. You will try different values to meet your requirements.


· 4
5 |100000

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

Owen_liaw H avatar image Owen_liaw H commented ·

Sir, im sorry, i still not understand what sir mean about the subnodes items... Then, i just add the code to the triggers on the subnodes items?

There are two sources produce different length of the box then attach together in vertical direction

1645361970250.png

0 Likes 0 ·
1645361970250.png (135.8 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Owen_liaw H commented ·

The suggestion is that you change the combiner from 'batch' to 'pack' which will result in one flowitem leaving that contains the other. Jorg is suggesting that you position the 'packed' item so that it looks like it is joined to the other item (using a combiner trigger or using a flowitem packing method).

0 Likes 0 ·
Owen_liaw H avatar image Owen_liaw H Jason Lightfoot ♦♦ commented ·

i try to change the batch to pack and used combiner trigger (process finish) for code, but still not work...

0 Likes 0 ·
Owen_liaw H avatar image Owen_liaw H commented ·
Sir, can u do one more example for me by using this code


0 Likes 0 ·