Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active September 21, 2021 19:24
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 aspose-com-gists/b01eaa86d513cb2c3a738750eca45917 to your computer and use it in GitHub Desktop.
Save aspose-com-gists/b01eaa86d513cb2c3a738750eca45917 to your computer and use it in GitHub Desktop.
Convert STL to OBJ Wavefront 3D Object File using C#
// Initialize an object of Scene class
Scene scene = new Scene();
// Load input STL file with Open method
scene.Open("test.stl");
// Specify the output format for the Wavefront OBJ file
FileFormat outputformat = FileFormat.WavefrontOBJ;
// Convert STL to OBJ Object file
scene.Save("test.obj", outputformat);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment