question

Arun Kr avatar image
0 Likes"
Arun Kr asked Matthew Gillespie commented

Original Color Of The Imported 3d Shape Not Retained On a MassFlowUnit

Hi,

When we use an imported 3d shape as the mass flow unit the color of the 3d shape becomes black and white. How can I retain the colors of the mass flow units? But the colors remain when I use a basic flow item as a mass flow unit.


1676635592041.png

Basic Shape

1676635677404.png

Imported Shape

samplemodel. fsmpuck.3ds

FlexSim 23.0.3
massflowconveyor
1676635592041.png (247.0 KiB)
1676635677404.png (270.9 KiB)
samplemodel.fsm (44.1 KiB)
puck.3ds (3.5 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

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Matthew Gillespie commented

This is a bug. Thanks. The instanced draw code is incorrectly using the blue color component for both the green and blue colors. I've fixed it for the next bugfix releases.

· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

@Arun Kr This issue has been fixed for 22.0.13 and 23.0.4 that will come out later this week.

1 Like 1 ·
Arun Kr avatar image Arun Kr commented ·
any workaround possible?
0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Arun Kr commented ·

You can workaround the bug in the meantime by exploiting a different bug in the same draw code.

If you use the Customize Meshes button to toggle the mesh to draw the Object's Color, then the mesh itself is currently incorrectly being drawn its original color instead of overriding the setting of the color to the object's color:

1676658149174.png

samplemodel_workaround.fsm

If you use this bug as a workaround, you should be aware that it may break in a future update if this bug gets fixed.

0 Likes 0 ·
1676658149174.png (347.2 KiB)
Arun Kr avatar image Arun Kr Phil BoBo ♦♦ commented ·
Thanks
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.