功能:支持切割函数

This commit is contained in:
ChenX
2023-05-08 12:01:37 +08:00
parent ee08cb516b
commit d92ad67a75
829 changed files with 6049 additions and 151 deletions

4
types/Add-on/testEntity/BoxLine.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
import { Box3 } from "three";
import { Line } from "../../DatabaseServices/Entity/Line";
export declare function BoxLine(box: Box3): Line[];
//# sourceMappingURL=BoxLine.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"BoxLine.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/BoxLine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAI1D,wBAAgB,OAAO,CAAC,GAAG,EAAE,IAAI,GAAG,IAAI,EAAE,CAgCzC"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_UpdateLight implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=CMD_UpdateLight.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CMD_UpdateLight.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/CMD_UpdateLight.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAGtD,qBAAa,mBAAoB,YAAW,OAAO;IAEzC,IAAI;CAab"}

View File

@@ -0,0 +1,6 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_DebugTemplateAssocCount implements Command {
Enable: boolean;
exec(): Promise<void>;
}
//# sourceMappingURL=DebugShowTemplateAssocEntityCount.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"DebugShowTemplateAssocEntityCount.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/DebugShowTemplateAssocEntityCount.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAMtD,qBACa,+BAAgC,YAAW,OAAO;IAE3D,MAAM,UAAS;IACT,IAAI;CAuBb"}

View File

@@ -0,0 +1,5 @@
import { ShapeManager } from "../../DatabaseServices/ShapeManager";
import { Shape } from "../../DatabaseServices/Shape";
export declare function DrawShapeManage(sm: ShapeManager): void;
export declare function DrawShape(sp: Shape): void;
//# sourceMappingURL=DrawShapeManage.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"DrawShapeManage.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/DrawShapeManage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAErD,wBAAgB,eAAe,CAAC,EAAE,EAAE,YAAY,QAQ/C;AAED,wBAAgB,SAAS,CAAC,EAAE,EAAE,KAAK,QAQlC"}

View File

@@ -0,0 +1,8 @@
export declare const UE_RES_URL = "http://192.168.1.251:25110";
/**
* 根据目录地址,生成
* @param path '/Paks/Fbx/Data/ASSETS/DUAA_0004/LOD_DUAA_0004.FBX'
* @returns 实际的资源请求地址
*/
export declare function GenerateCdnUrl(path: string, isSmallFile?: boolean): string;
//# sourceMappingURL=GenerateCdnUrl.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"GenerateCdnUrl.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/GenerateCdnUrl.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU,+BAA+B,CAAC;AAEvD;;;;GAIG;AAEH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,UAAO,GAAG,MAAM,CA0BvE"}

View File

@@ -0,0 +1,9 @@
import { MeshPhongMaterial, MeshPhysicalMaterial } from "three";
import { FBXLoader } from "three/examples/jsm/loaders/FBXLoader";
export declare const UE_FBX_LOADER: FBXLoader;
export declare function ParseMaterialImages(url: string): Promise<Map<string, HTMLImageElement>>;
export declare function ParseFBXUrl(url: string): string;
export declare function ParseBoxUrl(url: string): string;
export declare function ConverMaterial2(m: MeshPhongMaterial, url: string): Promise<MeshPhysicalMaterial>;
export declare function ParseUrlName(url: string): string;
//# sourceMappingURL=ParseMaterialImage.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"ParseMaterialImage.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/ParseMaterialImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,oBAAoB,EAAkD,MAAM,OAAO,CAAC;AAC5H,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAMjE,eAAO,MAAM,aAAa,WAAkB,CAAC;AAE7C,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAc7F;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAI/C;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAI/C;AAED,wBAAsB,eAAe,CAAC,CAAC,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iCAqItE;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAIhD"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_TestBoundaryBox implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestBoundaryBox.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestBoundaryBox.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestBoundaryBox.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBAAa,uBAAwB,YAAW,OAAO;IAE7C,IAAI;CAYb"}

5
types/Add-on/testEntity/TestBox.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_TestBox implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestBox.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestBox.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestBox.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAOtD,qBAAa,eAAgB,YAAW,OAAO;IAErC,IAAI;CAoCb"}

18
types/Add-on/testEntity/TestCurve.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
import { Vector3, Box3 } from "three";
import { Contour } from "../../DatabaseServices/Contour";
import { Curve } from "../../DatabaseServices/Entity/Curve";
import { Polyline } from "../../DatabaseServices/Entity/Polyline";
import { Command } from "../../Editor/CommandMachine";
import { Box3Ext } from "../../Geometry/Box";
import { Entity } from "../../DatabaseServices/Entity/Entity";
export declare class TestTargeOnCurve implements Command {
exec(): Promise<void>;
testClip(outline: Polyline, l: Curve): any[];
testPtIn(outline: Polyline, l: Curve): void;
}
export declare function testPts(pts: Vector3[], color?: number): void;
export declare function testContours(cons: Contour[], color?: number): void;
export declare function testCurve(cons: Entity[], color?: number): void;
export declare function testBox(box3: Array<Box3 | Box3Ext>, color?: number): void;
export declare function testtBox3(box3: Box3, colorIndex?: number): void;
//# sourceMappingURL=TestCurve.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestCurve.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestCurve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAItC,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAG9D,qBAAa,gBAAiB,YAAW,OAAO;IAEtC,IAAI;IAyCV,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK;IAqCpC,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK;CAUvC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,KAAK,SAAI,QAOhD;AACD,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,KAAK,SAAI,QAOtD;AACD,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,GAAE,MAAU,QAO1D;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,GAAG,OAAO,CAAC,EAAE,KAAK,GAAE,MAAU,QAQrE;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,SAAI,QAOnD"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_TestDrawEdgeGeometry implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestDrawEdgeGeometry.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestDrawEdgeGeometry.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestDrawEdgeGeometry.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAItD,qBAAa,4BAA6B,YAAW,OAAO;IAElD,IAAI;CAsCb"}

5
types/Add-on/testEntity/TestFbx.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_TestLoadFbx implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestFbx.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestFbx.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestFbx.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAItD,qBAAa,mBAAoB,YAAW,OAAO;IAEzC,IAAI;CAiFb"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class TestFillet implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestFilletCode.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestFilletCode.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestFilletCode.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAGtD,qBAAa,UAAW,YAAW,OAAO;IAEhC,IAAI;CAmDb"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_TestPointInCurveDirection implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestPointInCurveDirection.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestPointInCurveDirection.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestPointInCurveDirection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBAAa,iCAAkC,YAAW,OAAO;IAEvD,IAAI;CAab"}

View File

@@ -0,0 +1,8 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_TestPolyline2PointsPolyline implements Command {
exec(): Promise<void>;
}
export declare class Command_SimplifyPolyline implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestPolyline2PointsPolyline.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestPolyline2PointsPolyline.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestPolyline2PointsPolyline.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBAAa,mCAAoC,YAAW,OAAO;IAEzD,IAAI;CASb;AAED,qBAAa,wBAAyB,YAAW,OAAO;IAE9C,IAAI;CAsBb"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_TestRegionParse implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestRegionParse.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestRegionParse.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestRegionParse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAQtD,qBAAa,uBAAwB,YAAW,OAAO;IAE7C,IAAI;CAgBb"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_TestSweepMaxLength implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestSweepMaxLength.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestSweepMaxLength.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestSweepMaxLength.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBACa,0BAA2B,YAAW,OAAO;IAEhD,IAAI;CAab"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_DeleteTemplate implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestTemplateDelete.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestTemplateDelete.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestTemplateDelete.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,qBAAa,sBAAuB,YAAW,OAAO;IAE5C,IAAI;CAMb"}

View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Command_TestVPath implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=TestVPath.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"TestVPath.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/TestVPath.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAOtD,qBACa,iBAAkB,YAAW,OAAO;IAEvC,IAAI;CAwCb"}

View File

@@ -0,0 +1,12 @@
export declare const USE_WORLD_UV = "USE_WORLD_UV";
export declare const U_WORLD_REP = "u_w_rep";
export declare const V_WORLD_REP = "v_w_rep";
export declare const U_WORLD_MOVE = "u_w_move";
export declare const V_WORLD_MOVE = "v_w_move";
export declare const U_WORLD_RO = "v_w_ro";
export declare const U_REP = "u_rep";
export declare const V_REP = "v_rep";
export declare const U_MOVE = "u_move";
export declare const V_MOVE = "v_move";
export declare const U_RO = "u_ro";
//# sourceMappingURL=USE_WORLD_UV.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"USE_WORLD_UV.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/USE_WORLD_UV.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,WAAW,YAAY,CAAC;AACrC,eAAO,MAAM,WAAW,YAAY,CAAC;AAErC,eAAO,MAAM,YAAY,aAAa,CAAC;AACvC,eAAO,MAAM,YAAY,aAAa,CAAC;AAEvC,eAAO,MAAM,UAAU,WAAW,CAAC;AAEnC,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,KAAK,UAAU,CAAC;AAE7B,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,eAAO,MAAM,IAAI,SAAS,CAAC"}

5
types/Add-on/testEntity/test.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
import { Command } from "../../Editor/CommandMachine";
export declare class Test implements Command {
exec(): Promise<void>;
}
//# sourceMappingURL=test.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/test.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBACa,IAAK,YAAW,OAAO;IAE1B,IAAI;CAcb"}

View File

@@ -0,0 +1,6 @@
import { Command } from "../../Editor/CommandMachine";
export declare class TestCollision implements Command {
exec(): Promise<void>;
}
export declare function showFace(f: any): void;
//# sourceMappingURL=testCollision.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"testCollision.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/testEntity/testCollision.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;CAgCb;AACD,wBAAgB,QAAQ,CAAC,CAAC,KAAA,QAczB"}