Input file
CadDrawing.dxf
Run code
                    
using Aspose.CAD;
using Aspose.CAD.ImageOptions;

var drawing = Image.Load("drawing.stl");
drawing.Save("output.dxf", new DxfOptions());
                    
C# VB.NET F# Java Python
Copy code to the clipboard

See the source code in