refine demo
This commit is contained in:
+18
-3
@@ -1,8 +1,23 @@
|
||||
IEnumerable<Action> Run(){
|
||||
// foreach(var action in RunNcFile("NC/circle.ptp")) yield return action;
|
||||
// foreach(var action in RunNcFile("NC/drill_slot.ptp")) yield return action;
|
||||
|
||||
// OptMaxForce_N=250;
|
||||
OptMinFeedrate_mmdmin=1;
|
||||
OptMaxFeedrate_mmdmin=2000;
|
||||
OptEnableInterpolation=true;
|
||||
OptExtendedPostDistance_mm=1;
|
||||
OptExtendedPreDistance_mm=2;
|
||||
|
||||
foreach(var action in RunNcFile("NC/circle.ptp")) yield return action;
|
||||
|
||||
OptMinFeedrate_mmdmin=100;
|
||||
OptMaxFeedrate_mmdmin=1000;
|
||||
|
||||
foreach(var action in RunNcFile("NC/drill_slot.ptp")) yield return action;
|
||||
foreach(var action in RunNcFile("NC/side.ptp")) yield return action;
|
||||
// foreach(var action in RunNcFile("NC/slide.ptp")) yield return action;
|
||||
foreach(var action in RunNcFile("NC/slide.ptp")) yield return action;
|
||||
|
||||
OptimizeToFiles("Cache/Opt-[NcName]");
|
||||
|
||||
yield return null;
|
||||
}
|
||||
return Run();
|
||||
+2
-2
@@ -5,8 +5,8 @@ IEnumerable<Action> Run(){
|
||||
// foreach(var action in RunNcFile("NC/slide.ptp")) yield return action;
|
||||
|
||||
// WriteStepFile("Cache/[NcName].step.csv");
|
||||
RegisterStepVariable("TestData","TestData",null,"G");
|
||||
ReadCsv("Cache/side.demo.csv");
|
||||
//RegisterStepVariable("TestData","TestData",null,"G");
|
||||
//ReadCsv("Cache/side.demo.csv");
|
||||
|
||||
yield return null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
IEnumerable<Action> Run(){
|
||||
foreach(var action in RunNcFile("Cache/Opt-circle.ptp")) yield return action;
|
||||
foreach(var action in RunNcFile("Cache/Opt-drill_slot.ptp")) yield return action;
|
||||
foreach(var action in RunNcFile("Cache/Opt-side.ptp")) yield return action;
|
||||
foreach(var action in RunNcFile("Cache/Opt-slide.ptp")) yield return action;
|
||||
yield return null;
|
||||
}
|
||||
return Run();
|
||||
Reference in New Issue
Block a user