Beispiel #1
0
 public ProcessObject(ProcessCurve curve, Tool tool)
 {
     Curve            = curve;
     ProcessingParams = ProcessingParams.Create();
     Tool             = tool;
     Direction        = 1;
 }
Beispiel #2
0
 public static ProcessingParams GetDefault()
 {
     return(_default ?? (_default = new ProcessingParams
     {
         GreatSpeed = Properties.Settings.Default.GreatSpeed,
         SmallSpeed = Properties.Settings.Default.SmallSpeed,
         DepthAll = Properties.Settings.Default.DepthAll,
         Depth = Properties.Settings.Default.Depth,
         FeedType = (FeedType)Properties.Settings.Default.FeedType,
         FeedRadius = Properties.Settings.Default.FeedRadius,
         FeedAngle = Properties.Settings.Default.FeedAngle,
         FeedLength = Properties.Settings.Default.FeedLength,
         RetractionType = (FeedType)Properties.Settings.Default.RetractionType,
         RetractionRadius = Properties.Settings.Default.RetractionRadius,
         RetractionAngle = Properties.Settings.Default.RetractionAngle,
         RetractionLength = Properties.Settings.Default.RetractionLength
     }));
 }