Skip to content

Instantly share code, notes, and snippets.

@conholdate-gists
Created March 20, 2024 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save conholdate-gists/a4e29471278efd75b79a9d0ec446b074 to your computer and use it in GitHub Desktop.
Save conholdate-gists/a4e29471278efd75b79a9d0ec446b074 to your computer and use it in GitHub Desktop.
Convert 3MF to STL File Online for Free - Create 3MF to STL Converter in C# or Java
// Load the input 3MF file
var scene = Aspose.ThreeD.Scene.FromFile("cylinder.3mf");
// Create an object of StlSaveOptions class
Aspose.ThreeD.Formats.StlSaveOptions options = new Aspose.ThreeD.Formats.StlSaveOptions();
// Convert 3MF to STL
scene.Save("3MFtoSTL.stl", options);
// Load the input 3MF file
var scene = com.aspose.threed.Scene.fromFile("cylinder.3mf");
// Create an object of StlSaveOptions class
com.aspose.threed.StlSaveOptions options = new com.aspose.threed.StlSaveOptions();
// Convert 3MF to STL
scene.save("3MFtoSTL.stl", options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment