question

Christophe avatar image
0 Likes"
Christophe asked Christophe commented

rotation of 3d model in flowitem bin

Hello, I have a problem with a 3D model imported into Flexsim 21 flow item bin . It does not move as expected, but sideways. I've tried rotating it 90° on the z axis but nothing works. Do I have to work with a trigger or can I rotate it in another way? Thanks in advance.


model test.png

FlexSim 21.2.4
3d model in flow item bin
model-test.png (47.6 KiB)
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

Jeanette F avatar image
0 Likes"
Jeanette F answered Christophe commented

Hello @Christophe,

I believe you can fix this with shape factors. In the Flow item bin under the visuals tab select the more visuals option. Then in the pop up window select e3dit next to shape factors. In here you can adjust the rotation.

1693928046892.png


1693928046892.png (44.4 KiB)
· 2
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 ·

You can also try running this script (changing 'vehicle' for your flowitem name):

Object flowitem=Model.find("Tools/FlowItemBin/Vehicle/1");
Vec3 size=flowitem.size;
Vec3 newsize=Vec3(size.y,size.x,size.z);
flowitem.size=newsize;
offsetrz(flowitem).value=90;
0 Likes 0 ·
Christophe avatar image Christophe commented ·

Hello @Jeanette F and @Jason Lightfoot ,

Thanks for your help!

used the version with "More visuals", and the rotation works.
Thanks also for the code


Christophe

0 Likes 0 ·