I paid for the Trial of Aspose for the purpose of being able to Convert GLB or FBX Files into DWG Files. I can not find the location to do this, any guidance is appreciated!
Hi @GarrisonFloodControl
DWG is not supported by Aspose.3D, But it’s possible to convert FBX/GLB file into OBJ first by using code:
Aspose.ThreeD.Scene.FromFile("input.glb").Save("output.obj");
And then use Aspose.CAD to convert the OBJ file to DWG:
Aspose.CAD.Image.Load("output.obj").Save("output.dwg");
@GarrisonFloodControl,
Hello,
here is common example how to do conversion to DWG with Aspose.CAD (we can load FBX, GLB, OBJ):
using (Image image = Aspose.CAD.Image.Load(fileName))
{
var rasterizationOptions = new Aspose.CAD.ImageOptions.CadRasterizationOptions()
{
PageWidth = 1600,
PageHeight = 1600,
DrawType = Aspose.CAD.FileFormats.Cad.CadDrawTypeMode.UseObjectColor
};
DwgOptions dwgOptions = new DwgOptions();
dwgOptions.VectorRasterizationOptions = rasterizationOptions;
image.Save(outPath, dwgOptions);
}