//Import AND Reduce triangles to unit (1x1x1) size public void ImportAndReduceToUnit(string filename) { Triangles triangles = FileStlRead.ReadFile(filename); triangles.ReduceToUnit(); TrianglesSet.Add(triangles); }
//File IO for STL files public static Triangles StlToTriangles(string filename) { return(FileStlRead.ReadFile(filename)); }
//TODO: Refactor and move FileStl down to Atomics layer //Import another file straight from .stl public void Import(string filename) { Triangles triangles = FileStlRead.ReadFile(filename); TrianglesSet.Add(triangles); }