3DS (.3ds)
Background & Context
-
- MIME types: application/x-3ds, image/x-3ds
- Autodesk 3DS file format.
- Scene description and 3D modeling format.
- Used for 3D modeling and animation.
- Native format of Autodesk 3D Studio.
- Binary file format.
- Stores 3D objects together with lighting and view point information.
Import & Export
- Import["file.3ds"] imports a 3DS file as a MeshRegion object representing the surface.
- Import["file.3ds",elem] imports the specified element from a 3DS file.
- The import format can be specified with Import["file","3DS"] or Import["file",{"3DS",elem,…}].
- Export["file.3ds",expr] exports a 3D mesh-based geometric region to a binary 3DS file. The expr can be any region that is ConstantRegionQ or a Graphics3D object.
- The export format can be specified with Export["file",expr,"3DS"] or Export["file",expr,{"3DS",opt1->val1,…}].
- See the following reference pages for full general information:
-
Import, Export import from or export to a file CloudImport, CloudExport import from or export to a cloud object ImportString, ExportString import from or export to a string ImportByteArray, ExportByteArray import from or export to a byte array
Import Elements
- General Import elements:
-
"Elements" list of elements and options available in this file "Summary" summary of the file "Rules" list of rules for all available elements - Data format representation elements:
-
"Comments" comments "VertexData" list of vertex coordinates "PolygonData" list of polygon elements in indexed form "PolygonCount" number of polygons "PolygonColors" face color information associated with each polygon - Geometry representation elements:
-
"BoundaryMeshRegion" boundary mesh representation of a solid "MeshRegion" mesh representation of a surface "Region" region representation of a surface - Graphics representation elements:
-
"Graphics3D" 3DS file represented as a Graphics3D object "GraphicsComplex" 3DS file as a GraphicsComplex object "PolygonObjects" list of polygon primitives in absolute coordinates - Import and Export use the "MeshRegion" element by default for 3DS files.
Examples
open allclose allBasic Examples (4)
Import a 3D model from 3DS as a MeshRegion object:
"Summary" properties of the solid model:
Import an example file, rendering it as a 3D graphic:
Create a solid 3D object using RegionPlot3D:
Scope (8)
Import Elements (10)
"BoundaryMeshRegion" (1)
Give a BoundaryMeshRegion:
"Graphics3D" (1)
Give the Graphics3D object:
"GraphicsComplex" (1)
Give the GraphicsComplex object:
"MeshRegion" (1)
Give a MeshRegion:
"PolygonObjects" (1)
Give the list of Triangle primitives given in absolute coordinates:
"Region" (1)
Give a Region: