Esempio n. 1
0
        public ToolPath CreateToolPath(PathData pd, double inc)
        {
            ToolPath    tp;
            LatticeData l = pd as LatticeData;

            tp = new ToolPath(); //.BarrelOutline((int)(1 / inc)));
            return(tp);
        }
Esempio n. 2
0
        public ToolPath CreateToolPath(PathData pd, double inc)
        {
            ToolPath  tp;
            BraidData b = pd as BraidData;

            tp = new ToolPath(); //.BarrelOutline((int)(1 / inc)));
            return(tp);
        }
Esempio n. 3
0
        public ToolPath CreateToolPath(PathData pd, double inc)
        {
            ToolPath tp;
            Barrel   b = pd as Barrel;

            tp = new ToolPath(b.BarrelOutline((int)(1 / inc)));
            return(tp);
        }
Esempio n. 4
0
        public ToolPath CreateToolPath(PathData pd, double inc)
        {
            ToolPath   tp;
            WheelsData rd = (WheelsData)pd;

            tp = new ToolPath(CalculateWheels(rd, inc));
            return(tp);
        }
Esempio n. 5
0
        public ToolPath CreateToolPath(PathData pd, double inc)
        {
            ToolPath tp;
            RossData rd = (RossData)pd;

            if (rd.Ex2 == 0)
            {
                tp = new ToolPath(RossCalculate1(rd, inc));
            }
            else
            {
                tp = new ToolPath(RossCalculate2(rd, inc));
            }

            tp.Translate(tp.Extent.Centre);
            return(tp);
        }