"part" display logo

Hey developers, I’m creating a nametag system, and included in it I want somewhat of a 3D logo of a symbol. I’ve seen it done in many games but I cant figured out how

here is an example of what it looks like: image

It’s a cup with a straw in it made with parts and then displayed on developers +

How can I achieve this?

Can you show us a video example of what you are trying to achieve since there are many ways that this could be done with different effects?