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:
| Out[1]= |  |
Import an LWO example file:
| Out[2]= |  |
Mathematica also allows you to export 3D graphics for use in other programs.
Create a plot in 3D and then export it:
| Out[18]= |  |
| Out[19]= |  |
Create a 3D contour plot and export it:
| Out[1]= |  |
| Out[2]= |  |
Export a 3D graphic imported from ExampleData:
| Out[5]= |  |
| Out[6]= |  |
Once exported, you can bring 3D graphics back into Mathematica.
Import the 3D graphic you just exported:
| Out[33]= |  |