question

Jingyong P avatar image
0 Likes"
Jingyong P asked Jingyong P commented

Destroy 3D Object

destroy-3d-object (1).fsmIn the model, I want to use one box to create 10 Cylinder, then destroy the box and trigger the next cycle.

I am confused how to point to the 3D object to destroy it.

Please help. Thank you

destroy-3d-object (1).fsm

FlexSim 20.2.2
flexsim 20.2.2destroy 3d 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.

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Jingyong P commented

In the attached model I create the box and store a reference to it on a label on the token called "Box". Then, after creating the cylinders I destroy the object pointed to by the Box label.

DestroyBox.fsm

I wasn't sure what you were doing with the list activities. I would need more details about what you're trying to do to help you out with that.


destroybox.fsm (36.0 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.

Jingyong P avatar image Jingyong P commented ·

@matthew.gillespie@logan.gold

Thanks for the model.

The reason I wanted to use a list because I don't want to destroy the box until all 10 cylinders are consumed by downstream process. In other words, when Queue 2 is empty, create a new box at Queue 1. I want the box is visible while 10 cylinders are being used.

I added another source and a combiner. The source will provide a tray every 5 seconds. At combiner, the tray will be used to pack 4 cylinders, then move to queue3. That's end of the process. destroybox_v2.fsm

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Jingyong P commented ·

Something like this? destroybox-v2_Loop.fsm

1 Like 1 ·
Jingyong P avatar image Jingyong P Matthew Gillespie ♦♦ commented ·

@matthew.gillespie That's perfect. Thank you.

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Jingyong P commented ·

@jingyong.p Could you try attaching the model again? I get an error when trying to download it.

0 Likes 0 ·
Jingyong P avatar image Jingyong P Matthew Gillespie ♦♦ commented ·

destroybox_v2.fsmhere is the model. Thank you @matthew.gillespie

0 Likes 0 ·
destroybox-v2.fsm (33.6 KiB)
David Seo avatar image
0 Likes"
David Seo answered Jingyong P edited

@jingyong.p

Why don't you use 3D library instead of PF?

I made the model using the standard library (3D).

If you have a question about it, please make me know it.

Description;

'Separator' object can copy (ie separate) the entry item to many items you set. In this case, 10 items.

The default is 'to separate' (ie to disassembly) not 'to copy'. You should change it to 'copy'.

The items are changed to the cylinder visual items on exit trigger.

Yes, it's all.

destroy-3d-object_FlexSimKor.fsm


· 1
5 |100000

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

Jingyong P avatar image Jingyong P commented ·

@david.seo Hi David, thanks for your quick reply. I was working on a complicated production logic. I prefer use PF to manage the logic and use 3D model just for demo purpose.

Any suggestion for PF? Thank you

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.