# How to combine different Mesh3D data?

**URL:** <https://community.plotly.com/t/how-to-combine-different-mesh3d-data/62400>\
**Category:** 📊 Plotly Python\
**Created:** [March 28, 2022, 7:55pm UTC](https://community.plotly.com/t/how-to-combine-different-mesh3d-data/62400 "2022-03-28T19:55:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bijan](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/bijan/32/22061_2.png) [@Bijan](https://community.plotly.com/u/Bijan)\
**Post date:** [March 28, 2022, 7:55pm UTC](https://community.plotly.com/t/how-to-combine-different-mesh3d-data/62400/1 "2022-03-28T19:55:55Z")

</div>

Hi everyone

In below code I have drawn 2 separated surfaces with mech3D and it works correctly.

```auto
import plotly.graph_objects as go

fig = go.Figure()
fig.add_traces(go.Mesh3d(
        x=[5,7,7,5],
        y=[5,5,6,5],
        z=[5,5,7,5],))

fig.add_traces(go.Mesh3d(
        x=[0, 1, 2,0],
        y=[0, 0, 1,0],
        z=[0, 2, 0,0],))

fig.show()

```

![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/7/0/70f856fe6cf6204a7a84cbe0c55d0fa1d059e754.png)

Is it possible to combine them in one command without adding traces? For example something like below code: (obviously **IT DOESN’T WORK** and it is just only to show you what am I searching for)

```auto
import plotly.graph_objects as go

fig = go.Figure(data=[go.Mesh3d(
                                x=[0, 1, 2,0,None,5,7,7,5],
                                y=[0, 0, 1,0,None,5,5,6,5],
                                z=[0, 2, 0,0,None,5,5,7,5],)])

fig.show()

```

Thanks
