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); }
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(); }