示例#1
0
        private static void AddParametro(FresaBase punta, Materiale materiale, double vel, double feed, double plungeFeed, double larghPerc = 80, double profPerc = 10)
        {
            var p = punta.CreateParametro() as ParametroFresaBase;

            p.MaterialGuid = materiale.MaterialeGuid;
            p.SetVelocitaTaglio(vel);
            p.SetFeedSync(feed);
            p.SetPlungeFeedSync(plungeFeed);
            p.SetLarghPassataPerc(larghPerc);
            p.SetProfPassataPerc(profPerc);

            punta.AddOrUpdateParametro(p, materiale.MaterialeGuid);
        }
示例#2
0
 internal ParametroFresaBase(FresaBase tool)
     : base(tool)
 {
     VelocitaTaglio               = new UserInput();
     NumeroGiri                   = new UserInput();
     LarghezzaPassata             = new UserInput();
     LarghezzaPassataPerc         = new UserInput();
     ProfonditaPassata            = new UserInput();
     ProfonditaPassataPerc        = new UserInput();
     AvanzamentoAsincrono         = new UserInput();
     AvanzamentoSincrono          = new UserInput();
     AvanzamentoAsincronoPiantata = new UserInput();
     AvanzamentoSincronoPiantata  = new UserInput();
 }