Convert to 3D formats with advanced options

GroupDocs.Conversion provides the ThreeDConvertOptions class to specify 3D file format conversion settings. This class implements IPagedConvertOptions for page selection support.

Supported 3D Formats

The following 3D (Three-Dimensional) file formats are supported:

FormatExtensionDescription
FBX.fbxAutodesk FilmBox (motion capture, animation)
3DS.3ds3D Studio (DOS) mesh file format
3MF.3mf3D Manufacturing Format
AMF.amfAdditive Manufacturing File Format
ASE.aseAutodesk ASCII Scene Export
DAE.daeDigital Asset Exchange (COLLADA)
DRC.drcGoogle Draco compressed 3D
FBX.fbxAutodesk Filmbox
GLTF.gltfGL Transmission Format (JSON)
GLB.glbBinary GL Transmission Format
OBJ.objWavefront 3D Object File
PLY.plyPolygon File Format
RVM.rvmAVEVA Plant Design Model
U3D.u3dUniversal 3D File Format
USD.usdUniversal Scene Description
USDZ.usdzUniversal Scene Description (ZIP)
VRML.vrmlVirtual Reality Modeling Language
X.xDirectX 3D Graphics (legacy)
JT.jtJupiter Tessellation (ISO 14306)

Properties

Format - Specifies the desired 3D file format. Available options include: Fbx, Obj, Gltf, ThreeDS, U3d, Dae, Drc, Rvm, Amf, Ply, and others.

PageNumber - Specifies the starting page number for conversion (when source has multiple views/scenes).

PagesCount - Specifies the number of pages to convert.

Conversion Examples

ThreeDConvertOptions supports conversion between 3D formats. The following examples demonstrate common conversions.

FBX to OBJ

Convert an Autodesk FBX model to Wavefront OBJ format:

using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Conversion.FileTypes;

string sourceFile = "character-model.fbx";
string outputFile = "character-model.obj";

using (var converter = new Converter(sourceFile))
{
    var options = new ThreeDConvertOptions
    {
        Format = ThreeDFileType.Obj
    };
    converter.Convert(outputFile, options);
}

OBJ to FBX

Convert a Wavefront OBJ model to Autodesk FBX format:

using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Conversion.FileTypes;

string sourceFile = "building-model.obj";
string outputFile = "building-model.fbx";

using (var converter = new Converter(sourceFile))
{
    var options = new ThreeDConvertOptions
    {
        Format = ThreeDFileType.Fbx
    };
    converter.Convert(outputFile, options);
}

FBX to GLTF

Convert an FBX model to GLTF (GL Transmission Format) for web and mobile:

using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Conversion.FileTypes;

string sourceFile = "product-design.fbx";
string outputFile = "product-design.gltf";

using (var converter = new Converter(sourceFile))
{
    var options = new ThreeDConvertOptions
    {
        Format = ThreeDFileType.Gltf
    };
    converter.Convert(outputFile, options);
}

OBJ to 3DS

Convert an OBJ model to 3D Studio format:

using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Conversion.FileTypes;

string sourceFile = "terrain-model.obj";
string outputFile = "terrain-model.3ds";

using (var converter = new Converter(sourceFile))
{
    var options = new ThreeDConvertOptions
    {
        Format = ThreeDFileType.ThreeDS
    };
    converter.Convert(outputFile, options);
}

FBX to U3D

Convert an FBX model to Universal 3D format for PDF embedding:

using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
using GroupDocs.Conversion.FileTypes;

string sourceFile = "mechanical-part.fbx";
string outputFile = "mechanical-part.u3d";

using (var converter = new Converter(sourceFile))
{
    var options = new ThreeDConvertOptions
    {
        Format = ThreeDFileType.U3d
    };
    converter.Convert(outputFile, options);
}

Format Support Notes

3D to 3D conversions are supported for most format combinations:

  • FBX → OBJ, GLTF, 3DS, U3D, DAE, DRC, AMF, PLY, RVM
  • OBJ → FBX, GLTF, 3DS, U3D, DAE, DRC, AMF, PLY, RVM
  • GLTF → FBX, OBJ, 3DS, U3D, DAE, DRC, AMF, PLY, RVM
  • 3DS → FBX, OBJ, GLTF, U3D, DAE, DRC, AMF, PLY, RVM
  • All source 3D formats → Common target formats (FBX, OBJ, GLTF, etc.)

Note: To convert FROM 3D formats to PDF, use PdfConvertOptions.

More Resources

Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.