diff --git a/Design/standard_force_4exp_201902_design.stl b/Design/standard_force_4exp_201902_design.stl index c0b73bf..2653364 100644 Binary files a/Design/standard_force_4exp_201902_design.stl and b/Design/standard_force_4exp_201902_design.stl differ diff --git a/Main.hincproj b/Main.hincproj index fcd0aa3..f4af4b8 100644 --- a/Main.hincproj +++ b/Main.hincproj @@ -1,5 +1,5 @@  - + @@ -27,98 +27,6 @@ - - T1 - - - - (0,10) - (30,10) - - - - - - - - - - - 12 - 0.5 - 20 - - - - - - - - - - - - - - - (20,6) - (75,6) - - - - - 0.5 - 15 - - - 3 - - - 0 - - - 50 - 15 - 5 - - - - - 50 - 1.5 - 15 - 5 - 5.5 - - - - - - - - WC-Co6-800nm.CutterMaterial - - - 7 - 20 - - - true - 3 - true - 0 - 999 - - - - - 8 - HolderAnc - 0 - 0 - @@ -139,7 +47,7 @@ - 0.5 + 0.125 @@ -228,7 +136,7 @@ - 0.03125 + 0.0625 15 @@ -262,6 +170,7 @@ 7 20 + 5 true @@ -341,22 +250,72 @@ - + - 一般設定 - DispCacheMb = 260; //顯示暫存大小 -MachiningResolution = 0.25; //仿真解析度 -EnableCollisionDetection = true; //碰撞檢測開啟 -EnablePauseOnCollision = false; //檢測碰撞不暫停 + 範例 1-1 執行NC檔案 + RunNcFile("NC/circle.ptp"); +RunNcFile("NC/drill_slot.ptp"); +RunNcFile("NC/side.ptp"); +RunNcFile("NC/slide.ptp"); + true - 進給率優化設定 - OptEnableInterpolation = true; //是否要重新插補,增加路徑線段加減速 + 範例 1-2 基礎設定 及 執行NC檔案 + ////一般設定//// +DispCache_Mb = 1260; //GRAM暫存空間 (Mb) +MachiningResolution_mm = 0.125; //仿真解析度 (mm) +MachiningMotionResolution = FeedPerCycle; +EnableCollisionDetection = true; //是否啟用碰撞檢測開啟 +EnablePauseOnCollision = false; //是否啟用碰撞發生時暫停 + +////執行NC檔案//// +RunNcFile("NC/circle.ptp"); +RunNcFile("NC/drill_slot.ptp"); +RunNcFile("NC/side.ptp"); +RunNcFile("NC/slide.ptp"); + true + + + + + + + 範例 1-3 穿插設定於NC檔案間 + ////一般設定//// +DispCache_Mb = 260; //GRAM暫存空間 (Mb) +MachiningResolution_mm = 1.0; //仿真解析度 (mm) +MachiningMotionResolution = FeedPerCycle; +EnableCollisionDetection = true; //是否啟用碰撞檢測開啟 +EnablePauseOnCollision = false; //是否啟用碰撞發生時暫停 + +RunNcFile("NC/circle.ptp"); +EnableCollisionDetection = false; +RunNcFile("NC/drill_slot.ptp"); +MachiningResolution_mm = 1.0/8; +RunNcFile("NC/side.ptp"); +RunNcFile("NC/slide.ptp"); + true + + + + + + + 範例 2-1 優化NC + ////一般設定//// +DispCache_Mb = 260; //GRAM暫存空間 (Mb) +MachiningResolution_mm = 1.0; //仿真解析度 (mm) +MachiningMotionResolution = FeedPerCycle; +EnableCollisionDetection = false; //是否啟用碰撞檢測開啟 +EnablePauseOnCollision = false; //是否啟用碰撞發生時暫停 + +////NC優化設定//// +OptEnableInterpolation = true; //是否要重新插補,增加路徑線段加減速 OptRapidFeed_mmdmin = 4000; //無切削區域進給 OptMinFeedrate_mmdmin = 100; //有切削區域最小進給 OptMaxFeedrate_mmdmin = 4000; //有切削區域最大進給 @@ -365,40 +324,59 @@ OptExtendedPreDistance_mm = 3; //有切削區域等效計算的前長度 OptExtendedPostDistance_mm = 2; //有切削區域等效計算的後長度 OptSpindlePowerSafetyFactor = 1.5; //主軸功率安全係數 OptSpindleTorqueSafetyFactor = 1.5; //主軸扭力安全係數 -OptPreferedForce_N = double.PositiveInfinity; //優化目標力 +OptPreferedForce_N = double.PositiveInfinity; //優化目標力 + +////執行NC檔案//// +RunNcFile("NC/circle.ptp"); +RunNcFile("NC/drill_slot.ptp"); +RunNcFile("NC/side.ptp"); +RunNcFile("NC/slide.ptp"); + +OptimizeToFiles("Cache/Opt-[NcName]"); //優化NC檔並以路徑樣板輸出 + + true + + + + + + + 範例 3 其他各式指令 + ////一般設定//// +DispCache_Mb = 260; //GRAM暫存空間 (Mb) +MachiningResolution_mm = 1.0; //仿真解析度 (mm) +MachiningMotionResolution = FeedPerCycle; +EnableCollisionDetection = false; //是否啟用碰撞檢測開啟 +EnablePauseOnCollision = false; //是否啟用碰撞發生時暫停 + +WriteRuntimeGeom("Cache/init.wct"); //寫入暫存檔 +////執行NC檔案//// +RunNcFile("NC/circle.ptp"); +RunNcFile("NC/drill_slot.ptp"); +RunNcFile("NC/side.ptp"); +RunNcFile("NC/slide.ptp"); + +WriteRuntimeGeom("Cache/finish.wct"); //寫入暫存檔 +WriteRuntimeGeomToStl("Cache/finish.stl",0) + +WriteStepFiles("Cache/[NcName].step.csv"); +WriteShotFiles("Cache/[NcName].shot.csv", 1); + + true - - NC/circle.ptp - NC/drill_slot.ptp - NC/side.ptp - NC/slide.ptp - - - - - - - Cache/Opt-[NcName] - - - - - - - Cache/[NcName].shot.csv - 1 - - - - - - - 1 - + + 範例 4 補充腳本 + ////一般設定//// +DispCache_Mb = 2260; //GRAM暫存空間 (Mb) + +WriteRuntimeGeom("Cache/finish-2.wct"); //寫入暫存檔 +Diff(1); //執行和成品誤差比對 + true + @@ -417,9 +395,9 @@ OptPreferedForce_N = double.PositiveInfinity; //優化目標力 true true false - - - + + + MaxTipDeflectionOnToolRunningCoordinate_um.Y @@ -596,39 +574,8 @@ OptPreferedForce_N = double.PositiveInfinity; //優化目標力 - - true - true - true - 3 - 2 - true - 100 - 4000.0000000000005 - 4000 - 10 - INF - 1.5 - 1.5 - 0 - 260 - - true - true - true - false - false - false - 2 - - - - - - - \ No newline at end of file diff --git a/PmcB1s/B.stl b/PmcB1s/B.stl index 005609c..5875998 100644 Binary files a/PmcB1s/B.stl and b/PmcB1s/B.stl differ diff --git a/PmcB1s/C.stl b/PmcB1s/C.stl index aab90df..d36e088 100644 Binary files a/PmcB1s/C.stl and b/PmcB1s/C.stl differ diff --git a/PmcB1s/PMC_B1.mt b/PmcB1s/PMC_B1.mt index 791a534..5818d47 100644 --- a/PmcB1s/PMC_B1.mt +++ b/PmcB1s/PMC_B1.mt @@ -1,16 +1,16 @@  PMC_B1 - + [O][Y][X][C][w];[O][Z][B][S][t] true - + - + diff --git a/PmcB1s/S.stl b/PmcB1s/S.stl index 75ba00e..875b5f3 100644 Binary files a/PmcB1s/S.stl and b/PmcB1s/S.stl differ diff --git a/PmcB1s/X.stl b/PmcB1s/X.stl index e5687d1..50a322f 100644 Binary files a/PmcB1s/X.stl and b/PmcB1s/X.stl differ diff --git a/PmcB1s/Y.stl b/PmcB1s/Y.stl index 0409d71..81511a3 100644 Binary files a/PmcB1s/Y.stl and b/PmcB1s/Y.stl differ diff --git a/PmcB1s/Z.stl b/PmcB1s/Z.stl index 14cb91e..72bae18 100644 Binary files a/PmcB1s/Z.stl and b/PmcB1s/Z.stl differ diff --git a/PmcB1s/base.stl b/PmcB1s/base.stl index 35ca6dd..a999bfa 100644 Binary files a/PmcB1s/base.stl and b/PmcB1s/base.stl differ