Files
2022-02-11 21:09:50 -05:00

27 lines
573 B
C#

using AssetRipper.MeshSharp.Elements;
using AssetRipper.MeshSharp.STL.Readers;
using System.IO;
namespace AssetRipper.MeshSharp.STL
{
public static class StlReader
{
public static Scene ReadAscii(string path)
{
return new StlAsciiReader(path).Read();
}
public static Scene ReadAscii(Stream stream)
{
return new StlAsciiReader(stream).Read();
}
public static Scene ReadBinary(string path)
{
return new StlBinaryReader(path).Read();
}
public static Scene ReadBinary(Stream stream)
{
return new StlBinaryReader(stream).Read();
}
}
}