|
|
@ -1,4 +1,5 @@
|
|
|
|
import { Vector3 } from "three";
|
|
|
|
import { Vector3 } from "three";
|
|
|
|
|
|
|
|
import { ActicityLayerBoard } from "../Add-on/ActivityLayerBoard";
|
|
|
|
import { AddPtOnBoard, DeletePtOnBoard } from "../Add-on/AddPtOnBoard";
|
|
|
|
import { AddPtOnBoard, DeletePtOnBoard } from "../Add-on/AddPtOnBoard";
|
|
|
|
import { Command_Array } from "../Add-on/Array";
|
|
|
|
import { Command_Array } from "../Add-on/Array";
|
|
|
|
import { AutoHoleFaceSetting } from "../Add-on/AutoHoleFaceSetting";
|
|
|
|
import { AutoHoleFaceSetting } from "../Add-on/AutoHoleFaceSetting";
|
|
|
@ -78,10 +79,12 @@ import { Command_EndTempEditor } from "../Add-on/EndTempEditor";
|
|
|
|
import { Entsel } from "../Add-on/Entsel";
|
|
|
|
import { Entsel } from "../Add-on/Entsel";
|
|
|
|
import { Command_Erase } from "../Add-on/Erase";
|
|
|
|
import { Command_Erase } from "../Add-on/Erase";
|
|
|
|
import { Command_EraseNoSelect } from "../Add-on/EraseNoSelect";
|
|
|
|
import { Command_EraseNoSelect } from "../Add-on/EraseNoSelect";
|
|
|
|
import { ChaiDan, ShoWYouHua, ChaiDanJB } from "../Add-on/Erp/ErpCommands";
|
|
|
|
import { ChaiDan, ChaiDanJB, ShoWYouHua } from "../Add-on/Erp/ErpCommands";
|
|
|
|
import { Command_Esc } from "../Add-on/Esc";
|
|
|
|
import { Command_Esc } from "../Add-on/Esc";
|
|
|
|
import { Command_Explode } from "../Add-on/Explode";
|
|
|
|
import { Command_Explode } from "../Add-on/Explode";
|
|
|
|
import { Command_ExplosionMap } from "../Add-on/ExplosionMap";
|
|
|
|
import { Command_ExplosionMap } from "../Add-on/ExplosionMap";
|
|
|
|
|
|
|
|
import { Command_ExportView } from "../Add-on/Export2View";
|
|
|
|
|
|
|
|
import { Command_ExportData } from "../Add-on/ExportData";
|
|
|
|
import { Command_Extend } from "../Add-on/Extends";
|
|
|
|
import { Command_Extend } from "../Add-on/Extends";
|
|
|
|
import { CommandFillet } from "../Add-on/Fillet";
|
|
|
|
import { CommandFillet } from "../Add-on/Fillet";
|
|
|
|
import { Command_Group } from "../Add-on/Group";
|
|
|
|
import { Command_Group } from "../Add-on/Group";
|
|
|
@ -99,6 +102,7 @@ import { Fbx } from "../Add-on/loadfbx";
|
|
|
|
import { LookOverBoardInfos } from "../Add-on/LookOverBoardInfos";
|
|
|
|
import { LookOverBoardInfos } from "../Add-on/LookOverBoardInfos";
|
|
|
|
import { MirrorCommand } from "../Add-on/Mirror";
|
|
|
|
import { MirrorCommand } from "../Add-on/Mirror";
|
|
|
|
import { Command_Move } from "../Add-on/Move";
|
|
|
|
import { Command_Move } from "../Add-on/Move";
|
|
|
|
|
|
|
|
import { Command_M0 } from "../Add-on/MoveToWCS0";
|
|
|
|
import { Command_DynOffset, Command_DynOffsetToolPath, Command_Offset } from "../Add-on/Offset";
|
|
|
|
import { Command_DynOffset, Command_DynOffsetToolPath, Command_Offset } from "../Add-on/Offset";
|
|
|
|
import { OffsetX } from "../Add-on/OffsetX";
|
|
|
|
import { OffsetX } from "../Add-on/OffsetX";
|
|
|
|
import { Open } from "../Add-on/Open";
|
|
|
|
import { Open } from "../Add-on/Open";
|
|
|
@ -130,6 +134,7 @@ import { Test } from "../Add-on/testEntity/test";
|
|
|
|
import { Command_TestBox } from "../Add-on/testEntity/TestBox";
|
|
|
|
import { Command_TestBox } from "../Add-on/testEntity/TestBox";
|
|
|
|
import { TestCollision } from "../Add-on/testEntity/testCollision";
|
|
|
|
import { TestCollision } from "../Add-on/testEntity/testCollision";
|
|
|
|
import { TestTargeOnCurve } from "../Add-on/testEntity/TestCurve";
|
|
|
|
import { TestTargeOnCurve } from "../Add-on/testEntity/TestCurve";
|
|
|
|
|
|
|
|
import { Command_TestDrawEdgeGeometry } from "../Add-on/testEntity/TestDrawEdgeGeometry";
|
|
|
|
import { TestFillet } from "../Add-on/testEntity/TestFilletCode";
|
|
|
|
import { TestFillet } from "../Add-on/testEntity/TestFilletCode";
|
|
|
|
import { Command_DeleteTemplate } from "../Add-on/testEntity/TestTemplateDelete";
|
|
|
|
import { Command_DeleteTemplate } from "../Add-on/testEntity/TestTemplateDelete";
|
|
|
|
import { TestFb } from "../Add-on/TestFb";
|
|
|
|
import { TestFb } from "../Add-on/TestFb";
|
|
|
@ -143,13 +148,9 @@ import { CommandServer } from '../DatabaseServices/CommandServer';
|
|
|
|
import { Command_TestNFP } from "../Nest/Test/TestNFP";
|
|
|
|
import { Command_TestNFP } from "../Nest/Test/TestNFP";
|
|
|
|
import { Command_TestPlace } from "../Nest/Test/TestPlace";
|
|
|
|
import { Command_TestPlace } from "../Nest/Test/TestPlace";
|
|
|
|
import { Command_TestSimply } from "../Nest/Test/TestSimply";
|
|
|
|
import { Command_TestSimply } from "../Nest/Test/TestSimply";
|
|
|
|
|
|
|
|
import { Command_TestYHWorker } from "../Nest/Test/TestYH3";
|
|
|
|
import { ICommand } from '../UI/Components/CommandPanel/CommandList';
|
|
|
|
import { ICommand } from '../UI/Components/CommandPanel/CommandList';
|
|
|
|
import { commandMachine } from './CommandMachine';
|
|
|
|
import { commandMachine } from './CommandMachine';
|
|
|
|
import { Command_ExportData } from "../Add-on/ExportData";
|
|
|
|
|
|
|
|
import { Command_TestYHWorker } from "../Nest/Test/TestYH3";
|
|
|
|
|
|
|
|
import { Command_ExportView } from "../Add-on/Export2View";
|
|
|
|
|
|
|
|
import { ActicityLayerBoard } from "../Add-on/ActivityLayerBoard";
|
|
|
|
|
|
|
|
import { Command_M0 } from "../Add-on/MoveToWCS0";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function registerCommand()
|
|
|
|
export function registerCommand()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -394,6 +395,7 @@ export function registerCommand()
|
|
|
|
commandMachine.RegisterCommand("templateDelete", new Command_DeleteTemplate());
|
|
|
|
commandMachine.RegisterCommand("templateDelete", new Command_DeleteTemplate());
|
|
|
|
commandMachine.RegisterCommand("templatecheck", new Command_TemplateSearch(true));
|
|
|
|
commandMachine.RegisterCommand("templatecheck", new Command_TemplateSearch(true));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//优化算法
|
|
|
|
commandMachine.RegisterCommand("testNFP", new Command_TestNFP());
|
|
|
|
commandMachine.RegisterCommand("testNFP", new Command_TestNFP());
|
|
|
|
commandMachine.RegisterCommand("testSimply", new Command_TestSimply());
|
|
|
|
commandMachine.RegisterCommand("testSimply", new Command_TestSimply());
|
|
|
|
commandMachine.RegisterCommand("testPlace", new Command_TestPlace());
|
|
|
|
commandMachine.RegisterCommand("testPlace", new Command_TestPlace());
|
|
|
@ -405,10 +407,13 @@ export function registerCommand()
|
|
|
|
commandMachine.RegisterCommand("drilltemplate", new ShowDrillingTemplate());
|
|
|
|
commandMachine.RegisterCommand("drilltemplate", new ShowDrillingTemplate());
|
|
|
|
commandMachine.RegisterCommand("checkmodeing", new CheckModeling());
|
|
|
|
commandMachine.RegisterCommand("checkmodeing", new CheckModeling());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//导出数据
|
|
|
|
commandMachine.RegisterCommand("exportdata", new Command_ExportData());
|
|
|
|
commandMachine.RegisterCommand("exportdata", new Command_ExportData());
|
|
|
|
commandMachine.RegisterCommand("exportview", new Command_ExportView());
|
|
|
|
commandMachine.RegisterCommand("exportview", new Command_ExportView());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//测试csg
|
|
|
|
|
|
|
|
commandMachine.RegisterCommand("TestDrawEdgeGeometry", new Command_TestDrawEdgeGeometry());
|
|
|
|
|
|
|
|
|
|
|
|
RegistCustomCommand();
|
|
|
|
RegistCustomCommand();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|