示例#1
0
        private void CreateBarrelData()
        {
            Barrel b = new Barrel(0);
            b.Add(new OTWB.Spindle.Ellipse(0.3));
            BarrelPatterns.Add(b);
            b = new Barrel(1);
            b.Add(new OTWB.Spindle.Wave(8, 1, 0));
            BarrelPatterns.Add(b);
            b = new Barrel(2);
            b.Add(new OTWB.Spindle.Poly(5));
            BarrelPatterns.Add(b);

           
        }
示例#2
0
 public ViewModel()
 {     
     NeedsInitialising = true;
     LastBazleyPattern = new BazelyChuck();
     LastRossPattern = new RossData();
     LastWheelsPattern = new WheelsData();
     LastBarrelPattern = new Barrel();
     LastLatticePattern = new LatticeData();
     LastBraidPattern = new BraidData();
 }