This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
How to | Import and Export 3D Graphics
Mathematica can import and export 3D graphics in a variety of standard formats, allowing interchange with other applications. As with other 3D graphics in Mathematica, imported 3D graphics can be rotated and zoomed in and out, using a mouse or other input device.
Mathematica supports many popular file formats for 3D graphics, including the CAD-related "DXF" and LightWave 3D "LWO". As with other 3D graphics in Mathematica, these imported files can be rotated with a mouse or other input device.
Import a DXF example file, rendering it as a Graphics3D object:
In[1]:=
Click for copyable input
Out[1]=
Import an LWO example file:
In[2]:=
Click for copyable input
Out[2]=
    
Mathematica also allows you to export 3D graphics for use in other programs.
Create a plot in 3D and then export it:
In[18]:=
Click for copyable input
Out[18]=
In[19]:=
Click for copyable input
Out[19]=
Create a 3D contour plot and export it:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Export a 3D graphic imported from ExampleData:
In[5]:=
Click for copyable input
Out[5]=
In[6]:=
Click for copyable input
Out[6]=
Once exported, you can bring 3D graphics back into Mathematica.
Import the 3D graphic you just exported:
In[33]:=
Click for copyable input
Out[33]=