Exemplo n.º 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);
        }
Exemplo n.º 2
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);
        }
Exemplo n.º 3
0
 //Add another triangle set to set
 public void AddTriangles(Triangles triangles)
 {
     TrianglesSet.Add(triangles);
 }