예제 #1
0
        public AbstractElectrodeOperation(ElectrodeModel ele, ElectrodeCAMInfo info)
        {
            this.EleModel = ele;
            Part workPart = Session.GetSession().Parts.Work;

            CamInfo = info;
            tool    = new ComputeTool(CamInfo.MinDim, CamInfo.MinDia);
            Cam     = new ElectrodeCAM();
        }
예제 #2
0
        public AbstractElectrodeOperation(ElectrodeModel ele, bool isInter)
        {
            this.ele = ele;
            Part workPart = Session.GetSession().Parts.Work;

            camInfo = new ElectrodeCAMInfo(ele, isInter);
            tool    = new ComputeTool(camInfo.MinDim, camInfo.MinDia);
            if (workPart.Tag != ele.PartTag.Tag)
            {
                PartUtils.SetPartDisplay(ele.PartTag);
            }
            Cam = new ElectrodeCAM();
        }