Beispiel #1
0
 public ModelPathEntity()
 {
     IntersectionIndices = new List <int>();
     Ccomp          = new CComp();
     CcompTangent   = false;
     ControlFlag    = new CtrlFlag();
     Depth          = 0;
     DirVector      = new Vector3();
     Position       = new CNCLib.XYZBCMachPosition();
     Feedrate       = new ToolpathLib.Feedrate();
     JetOn          = false;
     JetVector      = new Vector3();
     PathNumber     = 0;
     SurfNormal     = new Vector3();
     Type           = BlockType.Unknown;
     TravelTime     = 0;
     CumulativeTime = 0;
 }
Beispiel #2
0
 public ModelPathEntity(PathEntity5Axis pEnt)
 {
     Ccomp          = pEnt.Ccomp;
     CcompTangent   = pEnt.CcompTangent;
     ControlFlag    = pEnt.ControlFlag;
     Depth          = pEnt.Depth;
     DirVector      = new Vector3(pEnt.DirVector);
     Position       = new CNCLib.XYZBCMachPosition(pEnt.Position);
     Feedrate       = new ToolpathLib.Feedrate(pEnt.Feedrate);
     JetOn          = pEnt.JetOn;
     JetVector      = new Vector3(pEnt.JetVector);
     PathNumber     = pEnt.PathNumber;
     LineNumber     = pEnt.LineNumber;
     SurfNormal     = new Vector3(pEnt.SurfNormal);
     Type           = pEnt.Type;
     TravelTime     = pEnt.TravelTime;
     CumulativeTime = pEnt.CumulativeTime;
 }