|
|
|
@ -33,12 +33,12 @@ import { Command_ClosePt } from "../Add-on/closetest";
|
|
|
|
|
import { Cmd_Freeze, Cmd_UnFreeze } from "../Add-on/Cmd_Freeze";
|
|
|
|
|
import { Cmd_UnVisibleInRender, Cmd_VisibleInRender } from "../Add-on/Cmd_VisibleInRender";
|
|
|
|
|
import { CombinatAttributeBrush } from "../Add-on/CombinatAttributeBrush";
|
|
|
|
|
import { FeedingCommand } from "../Add-on/CommandFeeding";
|
|
|
|
|
import { Command_CombineEntity } from "../Add-on/Command_CombineEntity";
|
|
|
|
|
import { Command_CommandPanel } from "../Add-on/Command_CommandPanel";
|
|
|
|
|
import { Command_Options } from "../Add-on/Command_Option";
|
|
|
|
|
import { Command_Purge } from "../Add-on/Command_Purge";
|
|
|
|
|
import { Command_SetBRXAxis } from "../Add-on/Command_SetBRXAxis";
|
|
|
|
|
import { FeedingCommand } from "../Add-on/CommandFeeding";
|
|
|
|
|
import { Command_Conver2Polyline } from "../Add-on/Conver2Polyline";
|
|
|
|
|
import { Command_Copy } from "../Add-on/Copy";
|
|
|
|
|
import { CopyClip } from "../Add-on/CopyClip";
|
|
|
|
@ -272,7 +272,7 @@ import { Command_TestSum } from "../Nest/Test/TestSum";
|
|
|
|
|
import { Command_TestYH2 } from "../Nest/Test/TestYH2";
|
|
|
|
|
import { Command_TestYHSingle } from "../Nest/Test/TestYHSingle";
|
|
|
|
|
import { Command_TestYHWorker } from "../Nest/Test/TestYHWorker";
|
|
|
|
|
import { Command_ChangeLayout, Command_ModuleBar, Command_PropertiesBar, Command_RightPanel, Comman_SwitchServers, RightTabCommandMap } from "../UI/Components/CommandPanel/SystemCommand/UICpmmand";
|
|
|
|
|
import { Comman_SwitchServers, Command_ChangeLayout, Command_ModuleBar, Command_PropertiesBar, Command_RightPanel, RightTabCommandMap } from "../UI/Components/CommandPanel/SystemCommand/UICpmmand";
|
|
|
|
|
import Command_Gallery from "../UI/Components/Gallery/command/Command_Gallery";
|
|
|
|
|
import { EOptionTabId } from "../UI/Components/Modal/OptionModal/ConfigDialog";
|
|
|
|
|
import { Align } from "./../Add-on/Align";
|
|
|
|
@ -376,8 +376,8 @@ export function registerCommand()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Erase, new Command_Erase());
|
|
|
|
|
commandMachine.RegisterCommand("deletecurve", new DeleteCurve());
|
|
|
|
|
commandMachine.RegisterCommand("EraseLineArc", new Command_EraseLineAndArc());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.DeleteCurve, new DeleteCurve());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.EraseLineArc, new Command_EraseLineAndArc());
|
|
|
|
|
|
|
|
|
|
commandMachine.RegisterCommand("Circle0", new DrawCircle0());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Break, new Command_Break());
|
|
|
|
@ -398,7 +398,7 @@ export function registerCommand()
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.BackView, new ViewChange(new Vector3(0, -1)));
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Swiso, new ViewChange(new Vector3(1, 1, -1), true));
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.BottomView, new ViewChange(new Vector3(0, 0, 1)));
|
|
|
|
|
commandMachine.RegisterCommand("fixview", new Command_FixView());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.FixView, new Command_FixView());
|
|
|
|
|
|
|
|
|
|
commandMachine.RegisterCommand("grip", new DrawGripStretch());
|
|
|
|
|
|
|
|
|
@ -416,7 +416,7 @@ export function registerCommand()
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.New, new New());
|
|
|
|
|
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Open, new Open());
|
|
|
|
|
commandMachine.RegisterCommand("reopen", new ReOpen());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Reopen, new ReOpen());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.OpenHistory, new OperLogs(false));
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.OpenHistory2, new Command_OpenHistory());
|
|
|
|
|
|
|
|
|
@ -455,7 +455,7 @@ export function registerCommand()
|
|
|
|
|
commandMachine.RegisterCommand("TO", new Command_DynOffsetToolPath());
|
|
|
|
|
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Length, new Command_Length());
|
|
|
|
|
commandMachine.RegisterCommand("Area", new Command_Area());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Area, new Command_Area());
|
|
|
|
|
|
|
|
|
|
//绘制灯
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.PointLight, new DrawPointLight());
|
|
|
|
@ -659,9 +659,9 @@ export function registerCommand()
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.TemplateCheck, new Command_TemplateSearch(true));
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.SpliteTemplate, new Command_SplitTemplate());
|
|
|
|
|
commandMachine.RegisterCommand("SplitTemplateX", new Command_SplitTemplateByDir(0));
|
|
|
|
|
commandMachine.RegisterCommand("SplitTemplateY", new Command_SplitTemplateByDir(1));
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.SplitTemplateY, new Command_SplitTemplateByDir(1));
|
|
|
|
|
commandMachine.RegisterCommand("SplitTemplateZ", new Command_SplitTemplateByDir(2));
|
|
|
|
|
commandMachine.RegisterCommand("RotateTemplateSpace", new Command_RotateTemplateSpace());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.RotateTemplateSpace, new Command_RotateTemplateSpace());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.RenderModulesState, new Command_RenderModulesState());
|
|
|
|
|
|
|
|
|
|
//优化算法
|
|
|
|
@ -729,7 +729,7 @@ export function registerCommand()
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Clear2DModeling, new Command_ClearBoard2DModeling());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.ExportobjMtl, new Command_ExportObjAndMtl());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.ExportObj, new Command_ExportObj());
|
|
|
|
|
commandMachine.RegisterCommand("ExportSTL", new Command_ExportSTL());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.ExportSTL, new Command_ExportSTL());
|
|
|
|
|
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.UpdateBoardInfos, new UpdateBoardInfos());
|
|
|
|
|
|
|
|
|
@ -772,7 +772,7 @@ export function registerCommand()
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.SetHoleNoneType, new SetHoleNoneType());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.FindMaxSizeBoard, new FindMaxOrMinSizeBoard());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.FindMinSizeBoard, new FindMaxOrMinSizeBoard(false));
|
|
|
|
|
commandMachine.RegisterCommand("FindBoardModelingKnife", new Command_FindBoardModelingKnife());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.FindBoardModelingKnife, new Command_FindBoardModelingKnife());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.CheckNoHoleBoard, new CheckHasHoleBoard());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.CheckDrawHole, new CheckDrawHole());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.FindModelKnifeRadius, new FindModeingKnifeRadius());
|
|
|
|
@ -847,9 +847,9 @@ export function registerCommand()
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.SendCADFileToKF, new Command_SendCADFileOnKf());
|
|
|
|
|
|
|
|
|
|
//修改注册位置
|
|
|
|
|
commandMachine.RegisterCommand("Attach", new TemplateAttach());
|
|
|
|
|
commandMachine.RegisterCommand("Attach2", new TemplateAttach2());
|
|
|
|
|
commandMachine.RegisterCommand("TemplateArray", new TemplateArray());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Attach, new TemplateAttach());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.Attach2, new TemplateAttach2());
|
|
|
|
|
commandMachine.RegisterCommand(CommandNames.TemplateArray, new TemplateArray());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export async function LimitCommand()
|
|
|
|
|