public static StlFile Load(Stream stream) { var file = new StlFile(); var reader = new StlReader(stream); file.SolidName = reader.ReadSolidName(); file.Triangles = reader.ReadTriangles(); return file; }
public static StlFile Load(Stream stream) { var file = new StlFile(); var reader = new StlReader(stream); file.SolidName = reader.ReadSolidName(); file.Triangles = reader.ReadTriangles(); return(file); }