示例#1
0
        //Import AND Reduce triangles to unit (1x1x1) size
        public void ImportAndReduceToUnit(string filename)
        {
            Triangles triangles = FileStlRead.ReadFile(filename);

            triangles.ReduceToUnit();
            TrianglesSet.Add(triangles);
        }
示例#2
0
 //File IO for STL files
 public static Triangles StlToTriangles(string filename)
 {
     return(FileStlRead.ReadFile(filename));
 }
示例#3
0
        //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);
        }