Compare commits
19 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
070821c353 | ||
![]() |
ed08696189 | ||
![]() |
79f0351ae8 | ||
![]() |
01cac616f5 | ||
![]() |
6ef1e8d8b0 | ||
![]() |
596ab9dba3 | ||
![]() |
2b6cb2fd72 | ||
![]() |
a6c14af39c | ||
![]() |
0e7a71f44d | ||
![]() |
c558e758d7 | ||
![]() |
063a010609 | ||
![]() |
78b1c316da | ||
![]() |
6014fc40a2 | ||
![]() |
e02890783b | ||
![]() |
c81cda5cb5 | ||
![]() |
a11f502f9a | ||
![]() |
512fff06e8 | ||
![]() |
04506caddf | ||
![]() |
d92ad67a75 |
8169
api.cjs.js
8169
api.cjs.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
8016
api.esm.js
8016
api.esm.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cadapi",
|
||||
"version": "0.0.4",
|
||||
"version": "0.0.3",
|
||||
"description": "",
|
||||
"main": "api.esm.js",
|
||||
"module": "api.esm.js",
|
||||
|
58
types/ApplicationServices/Application.d.ts
vendored
58
types/ApplicationServices/Application.d.ts
vendored
@@ -1,58 +0,0 @@
|
||||
import { HardwareCuttingReactor } from '../Add-on/BoardCutting/HardwareCuttingReactor';
|
||||
import { DrillingReactor } from '../Add-on/DrawDrilling/DrillingReactor';
|
||||
import { CADFiler } from '../DatabaseServices/CADFiler';
|
||||
import { Database } from '../DatabaseServices/Database';
|
||||
import { AutoSaveServer } from '../Editor/AutoSave';
|
||||
import { BoardMoveTool } from '../Editor/BoardMoveTool';
|
||||
import { CameraControls } from '../Editor/CameraControls';
|
||||
import { Editor } from '../Editor/Editor';
|
||||
import { Gesture } from '../Editor/Gesture';
|
||||
import { LayoutTool } from '../Editor/LayoutTool';
|
||||
import { Viewer } from '../GraphicsSystem/Viewer';
|
||||
import { WebRtcRenderer } from '../GraphicsSystem/WebRtcRenderer';
|
||||
import { CommandReactor } from '../Reactor/CommandReactor';
|
||||
import { SyncDataReactor } from '../Reactor/SyncDataReactor';
|
||||
import { WebSocketClientServer } from './WebSocketClientServer';
|
||||
export declare let app: ApplicationService;
|
||||
export declare enum CameraRoamType {
|
||||
Fly = 0,
|
||||
Walk = 1
|
||||
}
|
||||
/**
|
||||
* webCAD应用.
|
||||
*/
|
||||
export declare class ApplicationService {
|
||||
Database: Database;
|
||||
Viewer: Viewer;
|
||||
WebRtcRenderer: WebRtcRenderer;
|
||||
Editor: Editor;
|
||||
CommandReactor: CommandReactor;
|
||||
_drillingReactor: DrillingReactor;
|
||||
_hardwareCuttingReactor: HardwareCuttingReactor;
|
||||
Saved: boolean;
|
||||
MoveTool: BoardMoveTool;
|
||||
WebSocket: WebSocketClientServer;
|
||||
SyncDataReactor: SyncDataReactor;
|
||||
AutoSaveServer: AutoSaveServer;
|
||||
LayoutTool: LayoutTool;
|
||||
CameraControls: CameraControls;
|
||||
Gesture: Gesture;
|
||||
CameraRoamType: CameraRoamType;
|
||||
CameraFlySpeed: number;
|
||||
private _PerCameraUseSkyBox;
|
||||
constructor();
|
||||
protected InitService(): void;
|
||||
SendCameraPosToRenderer(): void;
|
||||
get PerCameraUseSkyBox(): boolean;
|
||||
set PerCameraUseSkyBox(b: boolean);
|
||||
private UpdateBackground;
|
||||
InitViewDir(): void;
|
||||
CreateDocument(name?: string): void;
|
||||
FileOut(): CADFiler;
|
||||
/**
|
||||
* 文件写出,没有历史记录
|
||||
*/
|
||||
FileOut2(): CADFiler;
|
||||
OpenFile(f: CADFiler): void;
|
||||
}
|
||||
//# sourceMappingURL=Application.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../../src/ApplicationServices/Application.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAWzE,OAAO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/B,OAAO,EAAE,OAAO,CAAC;IAGjB,cAAc,iBAAsB;IACpC,cAAc,SAAK;IAEnB,OAAO,CAAC,mBAAmB,CAAS;;IAQpC,SAAS,CAAC,WAAW;IAiVrB,uBAAuB;IAgBvB,IAAI,kBAAkB,IACI,OAAO,CAD4B;IAC7D,IAAI,kBAAkB,CAAC,CAAC,EAAE,OAAO,EAOhC;IACD,OAAO,CAAC,gBAAgB,CAQtB;IAEF,WAAW;IAoBX,cAAc,CAAC,IAAI,GAAE,MAAc;IAanC,OAAO,IAAI,QAAQ;IAanB;;OAEG;IACH,QAAQ,IAAI,QAAQ;IAgBpB,QAAQ,CAAC,CAAC,EAAE,QAAQ;CAmBvB"}
|
@@ -1,56 +0,0 @@
|
||||
import { MeshBasicMaterial, MeshStandardMaterial, Texture } from 'three';
|
||||
import { FractionDigitsType } from '../Common/SystemEnum';
|
||||
import { ObjectId } from '../DatabaseServices/ObjectId';
|
||||
import { ICursorConfig } from '../Editor/ICursorConfig';
|
||||
import { RenderType } from '../GraphicsSystem/RenderType';
|
||||
import { DrillingOption } from '../UI/Store/drillInterface';
|
||||
export declare class IHostApplicationServices {
|
||||
DefaultMeshMaterial?: MeshBasicMaterial | MeshStandardMaterial;
|
||||
DefaultFloorMaterial?: MeshBasicMaterial | MeshStandardMaterial;
|
||||
DefaultWallMaterial?: MeshBasicMaterial | MeshStandardMaterial;
|
||||
CurrentDimStyle: ObjectId;
|
||||
isShowLightShadow: boolean;
|
||||
ShowHistoryLog: boolean;
|
||||
Physical2EdgeColor: number;
|
||||
ConceptualEdgeColor: number;
|
||||
ConceptualOpacity: number;
|
||||
DrawWallBottomFace: boolean;
|
||||
private __ProxyObject__;
|
||||
static __ProxyKeys__: string[];
|
||||
get ProxyObject(): any;
|
||||
set ProxyObject(obj: any);
|
||||
_renderType: RenderType;
|
||||
DrillConfigs: Map<string, DrillingOption[]>;
|
||||
openDrillingReactor: boolean;
|
||||
sealingColorMap: [string, string][];
|
||||
showLines: boolean;
|
||||
uese: string;
|
||||
forceFilterPxl: boolean;
|
||||
chaidanOption: {
|
||||
changXiuBian: number;
|
||||
duanXiuBian: number;
|
||||
useDefaultRad: boolean;
|
||||
radius: number;
|
||||
modeling2HoleRad: number;
|
||||
isCheckInterfere: boolean;
|
||||
noModeingData: string;
|
||||
statTk: boolean;
|
||||
statSt: boolean;
|
||||
};
|
||||
viewSize: {
|
||||
minViewHeight: number;
|
||||
maxViewHeight: number;
|
||||
zoomSpeed: number;
|
||||
};
|
||||
cursorSize: ICursorConfig;
|
||||
dimTextHeight: number;
|
||||
lineWidth: number;
|
||||
fractionDigitsType: FractionDigitsType;
|
||||
private constructor();
|
||||
private static _SingleInstance;
|
||||
static GetInstance(): IHostApplicationServices;
|
||||
LoadDefaultExr(): Promise<Texture>;
|
||||
LoadMetalEnv(): Promise<Texture>;
|
||||
}
|
||||
export declare let HostApplicationServices: IHostApplicationServices;
|
||||
//# sourceMappingURL=HostApplicationServices.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"HostApplicationServices.d.ts","sourceRoot":"","sources":["../../../src/ApplicationServices/HostApplicationServices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,qBAAa,wBAAwB;IAEjC,mBAAmB,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAC/D,oBAAoB,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAChE,mBAAmB,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAE/D,eAAe,EAAE,QAAQ,CAAC;IACd,iBAAiB,EAAE,OAAO,CAAQ;IAC9C,cAAc,EAAE,OAAO,CAAQ;IAEnB,kBAAkB,SAAK;IACvB,mBAAmB,SAAK;IAExB,iBAAiB,SAAK;IAElC,kBAAkB,UAAS;IAE3B,OAAO,CAAC,eAAe,CAAM;IAC7B,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,CAAM;IACpC,IAAI,WAAW,IACM,GAAG,CAD0B;IAClD,IAAI,WAAW,CAAC,GAAG,EAAE,GAAG,EAUvB;IAGW,WAAW,EAAE,UAAU,CAAwB;IAI/C,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC,CAAW;IAItD,mBAAmB,UAAQ;IAI3B,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAM;IAIzC,SAAS,UAAS;IAIlB,IAAI,EAAE,MAAM,CAAC;IAIb,cAAc,EAAE,OAAO,CAAS;IAGhC,aAAa;;;;;;;;;;MAUvB;IAEU,QAAQ;;;;MAIlB;IAEU,UAAU,EAAE,aAAa,CAInC;IAEU,aAAa,SAAM;IACnB,SAAS,SAAK;IACd,kBAAkB,EAAE,kBAAkB,CAA0B;IAE5E,OAAO;IAEP,OAAO,CAAC,MAAM,CAAC,eAAe,CAA2B;IACzD,MAAM,CAAC,WAAW,IAAI,wBAAwB;IAQxC,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAClC,YAAY,IAAI,OAAO,CAAC,OAAO,CAAC;CACzC;AAED,eAAO,IAAI,uBAAuB,0BAAyC,CAAC"}
|
@@ -1,24 +0,0 @@
|
||||
/**
|
||||
* WebSocket 客户端. 每隔一分钟尝试连接到CAD的服务
|
||||
*/
|
||||
export declare class WebSocketClientServer {
|
||||
url: string;
|
||||
private ws;
|
||||
private _Closeing;
|
||||
mode: "obj" | "" | undefined;
|
||||
constructor(url?: string);
|
||||
_ConnectionPromise: Promise<boolean>;
|
||||
private _ReTryTime;
|
||||
private _CloseTime;
|
||||
Connect(retry?: boolean, timeOut?: number): Promise<boolean> | true;
|
||||
Send(msg: string): Promise<void>;
|
||||
/**
|
||||
* 接收到消息. AOP可接入此函数
|
||||
* @param {MessageEvent} event
|
||||
*/
|
||||
OnMessageEvent(event: MessageEvent): void;
|
||||
get IsLink(): boolean;
|
||||
OnLinkEvent(isLink: boolean): void;
|
||||
Close(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=WebSocketClientServer.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"WebSocketClientServer.d.ts","sourceRoot":"","sources":["../../../src/ApplicationServices/WebSocketClientServer.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,qBAAa,qBAAqB;IAOX,GAAG;IALtB,OAAO,CAAC,EAAE,CAAY;IACtB,OAAO,CAAC,SAAS,CAAS;IAE1B,IAAI,EAAE,KAAK,GAAG,EAAE,GAAG,SAAS,CAAC;gBAEV,GAAG,SAAK;IAI3B,kBAAkB,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAErC,OAAO,CAAC,UAAU,CAAC;IACnB,OAAO,CAAC,UAAU,CAAC;IACnB,OAAO,CAAC,KAAK,UAAO,EAAE,OAAO,SAAO,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI;IAgDxD,IAAI,CAAC,GAAG,EAAE,MAAM;IAOtB;;;OAGG;IACH,cAAc,CAAC,KAAK,EAAE,YAAY;IAMlC,IAAI,MAAM,YAAwC;IAElD,WAAW,CAAC,MAAM,EAAE,OAAO;IAIrB,KAAK;CAed"}
|
2
types/Common/ActiveElementWatch.d.ts
vendored
2
types/Common/ActiveElementWatch.d.ts
vendored
@@ -1,2 +0,0 @@
|
||||
export declare function ActiveElementsWatch(): void;
|
||||
//# sourceMappingURL=ActiveElementWatch.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"ActiveElementWatch.d.ts","sourceRoot":"","sources":["../../../src/Common/ActiveElementWatch.ts"],"names":[],"mappings":"AACA,wBAAgB,mBAAmB,SAoClC"}
|
5
types/Common/AddEntityDrawObject.d.ts
vendored
5
types/Common/AddEntityDrawObject.d.ts
vendored
@@ -1,5 +0,0 @@
|
||||
import { Object3D } from "three";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { RenderType } from "../GraphicsSystem/RenderType";
|
||||
export declare function AddEntityDrawObject(obj: Object3D, embedEntity: Entity, renderType?: RenderType): void;
|
||||
//# sourceMappingURL=AddEntityDrawObject.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"AddEntityDrawObject.d.ts","sourceRoot":"","sources":["../../../src/Common/AddEntityDrawObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAG1D,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,GAAE,UAAiC,QAOpH"}
|
12
types/Common/AppCache.d.ts
vendored
12
types/Common/AppCache.d.ts
vendored
@@ -1,12 +0,0 @@
|
||||
declare class Appcache {
|
||||
private _cacheMap;
|
||||
_DrillCacheed: Set<string>;
|
||||
has(key: string): boolean;
|
||||
get(key: string): any | undefined;
|
||||
set<T>(key: string, value: T): void;
|
||||
clear(): void;
|
||||
delete(k: string): void;
|
||||
}
|
||||
export declare const appCache: Appcache;
|
||||
export {};
|
||||
//# sourceMappingURL=AppCache.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"AppCache.d.ts","sourceRoot":"","sources":["../../../src/Common/AppCache.ts"],"names":[],"mappings":"AAEA,cAAM,QAAQ;IAEV,OAAO,CAAC,SAAS,CAA+B;IAGhD,aAAa,cAAqB;IAElC,GAAG,CAAC,GAAG,EAAE,MAAM;IAIf,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS;IAcjC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAI5B,KAAK;IAKL,MAAM,CAAC,CAAC,EAAE,MAAM;CAInB;AAED,eAAO,MAAM,QAAQ,UAAiB,CAAC"}
|
51
types/Common/ArrayExt.d.ts
vendored
51
types/Common/ArrayExt.d.ts
vendored
@@ -1,51 +0,0 @@
|
||||
/**
|
||||
* 删除数组中指定的元素,返回数组本身
|
||||
* @param {Array<any>} arr 需要操作的数组
|
||||
* @param {*} el 需要移除的元素
|
||||
*/
|
||||
export declare function arrayRemove<T>(arr: Array<T>, el: T): Array<T>;
|
||||
export declare function arrayRemoveOnce<T>(arr: Array<T>, el: T): Array<T>;
|
||||
/**
|
||||
* 删除通过函数校验的元素
|
||||
* @param {(e: T) => boolean} checkFuntion 校验函数
|
||||
*/
|
||||
export declare function arrayRemoveIf<T>(arr: Array<T>, checkFuntion: (e: T) => boolean): Array<T>;
|
||||
export declare function arrayFirst<T>(arr: Array<T>): T;
|
||||
export declare function arrayLast<T>(arr: {
|
||||
[key: number]: T;
|
||||
length: number;
|
||||
}): T;
|
||||
export declare function FindLast<T>(arr: T[], searchFn: (item: T) => boolean): number;
|
||||
/**
|
||||
* 根据数值从小到大排序数组
|
||||
* @param {Array<T>} arr
|
||||
* @returns {Array<T>} 返回自身
|
||||
*/
|
||||
export declare function arraySortByNumber<T>(arr: Array<T>): Array<T>;
|
||||
/**
|
||||
* map按Key的拼音首字母排序
|
||||
* reverse:倒序
|
||||
*/
|
||||
export declare function mapSortByCN(map: Map<string, any>, reverse?: boolean): Map<string, any>;
|
||||
/**
|
||||
* 对排序好的数组进行去重操作
|
||||
* @param {(e1, e2) => boolean} [checkFuction] 校验对象相等函数,如果相等 则删除e2
|
||||
* @returns {Array<T>} 返回自身
|
||||
*/
|
||||
export declare function arrayRemoveDuplicateBySort<T>(arr: Array<T>, checkFuction?: (e1: T, e2: T) => boolean): Array<T>;
|
||||
export declare function ArrayRemoveDupSavePre(baseCompareArray: any[], arrs: (any[])[]): void;
|
||||
export declare function arrayMap<T>(arr: Array<T>, mapFunc: (v: T) => T): Array<T>;
|
||||
declare function checkEqual(e1: any, e2: any): boolean;
|
||||
/**
|
||||
* 改变数组的值顺序
|
||||
* @param arr 需要改变初始值位置的数组
|
||||
* @param index //将index位置以后的值放到起始位置
|
||||
*/
|
||||
export declare function changeArrayStartIndex<T>(arr: T[], index: number): T[];
|
||||
export declare function equalArray<T>(a: T[], b: T[], checkF?: typeof checkEqual): boolean;
|
||||
export declare function arrayClone<T>(arr: T[]): T[];
|
||||
export declare function arrayPushArray<T>(arr1: T[], arr2: T[]): T[];
|
||||
export declare function arraySum(arr: number[]): number;
|
||||
export declare function FilterSet<T>(s: Set<T>, fn: (el: T) => boolean): Set<T>;
|
||||
export {};
|
||||
//# sourceMappingURL=ArrayExt.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"ArrayExt.d.ts","sourceRoot":"","sources":["../../../src/Common/ArrayExt.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAa7D;AAGD,wBAAgB,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAMjE;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAazF;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,GAA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EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,EAAE,CAIrE;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,oBAAa,WAOhE;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAG3C;AAGD,wBAAgB,cAAc,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAS3D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,UAKrC;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,CAStE"}
|
34
types/Common/BoardKeyList.d.ts
vendored
34
types/Common/BoardKeyList.d.ts
vendored
@@ -1,34 +0,0 @@
|
||||
/**统一板件属性key的命名,修改值会导致无法 .xxx该属性 */
|
||||
export declare enum EBoardKeyList {
|
||||
Height = "height",
|
||||
Width = "width",
|
||||
Thick = "thickness",
|
||||
RoomName = "roomName",
|
||||
CabinetName = "cabinetName",
|
||||
BrName = "brName",
|
||||
BrMat = "boardName",
|
||||
Mat = "material",
|
||||
Color = "color",
|
||||
Lines = "lines",
|
||||
ProcessGroup = "ProcessGroup",
|
||||
BigHole = "bigHoleDir",
|
||||
/**
|
||||
* 排钻类型,当没有定义每个边的排钻数据时,使用统一的排钻类型
|
||||
*/
|
||||
DrillType = "drillType",
|
||||
ComposingFace = "composingFace",
|
||||
/**
|
||||
* 封边数组,定义每个边的封边信息
|
||||
*/
|
||||
HighSealed = "highSealed",
|
||||
UpSealed = "sealedUp",
|
||||
DownSealed = "sealedDown",
|
||||
LeftSealed = "sealedLeft",
|
||||
RightSealed = "sealedRight",
|
||||
KnifeRad = "knifeRadius",
|
||||
SpliteHeight = "spliteHeight",
|
||||
SpliteWidth = "spliteWidth",
|
||||
SpliteThickness = "spliteThickness",
|
||||
DrawNumber = "drawNumber"
|
||||
}
|
||||
//# sourceMappingURL=BoardKeyList.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"BoardKeyList.d.ts","sourceRoot":"","sources":["../../../src/Common/BoardKeyList.ts"],"names":[],"mappings":"AACA,mCAAmC;AACnC,oBAAY,aAAa;IAErB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,KAAK,cAAc;IACnB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,KAAK,cAAc;IACnB,GAAG,aAAa;IAChB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,OAAO,eAAe;IACtB;;OAEG;IACH,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B;;OAEG;IACH,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,QAAQ,gBAAgB;IACxB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,UAAU,eAAe;CAC5B"}
|
11
types/Common/CSGIntersect.d.ts
vendored
11
types/Common/CSGIntersect.d.ts
vendored
@@ -1,11 +0,0 @@
|
||||
import { Geom3 } from "@jscad/modeling/src/geometries/types";
|
||||
import { Vec3 } from "@jscad/modeling/src/maths/vec3";
|
||||
import { Matrix4 } from "three";
|
||||
export interface Geom3Res {
|
||||
polygons: Array<{
|
||||
vertices: Array<Vec3>;
|
||||
plane: [number, number, number, number];
|
||||
}>;
|
||||
}
|
||||
export declare function CSGIntersect(csg1: Geom3, csg2: Geom3, csg2tranfrom: Matrix4): Geom3Res;
|
||||
//# sourceMappingURL=CSGIntersect.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"CSGIntersect.d.ts","sourceRoot":"","sources":["../../../src/Common/CSGIntersect.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,QAAQ;IAErB,QAAQ,EAAE,KAAK,CAAC;QACZ,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QACtB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;KAC3C,CAAC,CAAC;CACN;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,GAAG,QAAQ,CAOtF"}
|
38
types/Common/CheckoutVaildValue.d.ts
vendored
38
types/Common/CheckoutVaildValue.d.ts
vendored
@@ -1,38 +0,0 @@
|
||||
export declare enum CheckObjectType {
|
||||
BR = "board",
|
||||
DR = "drill",
|
||||
AR = "array",
|
||||
Do = "door",
|
||||
RC = "referenceCutting",
|
||||
WR = "winerack",
|
||||
Lat = "lattice",
|
||||
RLB = "rotateLayerBoard",
|
||||
BBC = "boardbatchcurtail",
|
||||
BBS = "lookoverboardinfos",
|
||||
R2B = "rec2br",
|
||||
OnlyNumber = "onlyNum",
|
||||
None = "none",
|
||||
SmoothEdge = "smoothEdge",
|
||||
/**大于0的数字 */
|
||||
GT0Num = "gt0num",
|
||||
BMP = "batchmodifypanel",
|
||||
BF = "boardFind"
|
||||
}
|
||||
export declare namespace CheckoutValid {
|
||||
function HasInvailValue(obj: Object, objType: CheckObjectType): string;
|
||||
function CheckOption(type: CheckObjectType, k: string, v: string): string;
|
||||
function CheckoutBatchModifyPanel(k: string, v: string): string;
|
||||
function CheckoutBoardOption(k: string, v: string): string;
|
||||
function CheckoutDrillOption(k: string, v: string | boolean): string;
|
||||
function CheckoutRec2BrOption(k: string, v: string): string;
|
||||
function CheckoutArrayOption(k: string, v: string): string;
|
||||
function CheckoutDoorOption(k: string, v: string): string;
|
||||
function CheckoutRotateLayerBoardOption(k: string, v: string): string;
|
||||
function CheckBoardBatchCurtail(k: string, v: string): string;
|
||||
function CheckLookOverBoardInfos(k: string, v: string): string;
|
||||
function CheckOutReferenceCuttingOption(k: string, v: string): string;
|
||||
function CheckoutWineRackOption(k: string, v: string): string;
|
||||
function CheckoutLatticeOption(k: string, v: string): string;
|
||||
function CheckoutBoardFindOption(k: string, v: string): string;
|
||||
}
|
||||
//# sourceMappingURL=CheckoutVaildValue.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"CheckoutVaildValue.d.ts","sourceRoot":"","sources":["../../../src/Common/CheckoutVaildValue.ts"],"names":[],"mappings":"AAIA,oBAAY,eAAe;IAEvB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,SAAS;IACX,EAAE,qBAAqB;IACvB,EAAE,aAAa;IACf,GAAG,YAAY;IACf,GAAG,qBAAqB;IACxB,GAAG,sBAAsB;IACzB,GAAG,uBAAuB;IAC1B,GAAG,WAAW;IACd,UAAU,YAAY;IACtB,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,YAAY;IACZ,MAAM,WAAW;IACjB,GAAG,qBAAqB;IACxB,EAAE,cAAc;CACnB;AAED,yBAAiB,aAAa,CAC9B;IACI,SAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,MAAM,CAuD5E;IACD,SAAgB,WAAW,CAAC,IAAI,EAAE,eAAe,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAiDtE;IACD,SAAgB,wBAAwB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAerE;IACD,SAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAyGhE;IACD,SAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAoE1E;IACD,SAAgB,oBAAoB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAuDjE;IACD,SAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAsChE;IACD,SAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAmE/D;IACD,SAAgB,8BAA8B,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAgB3E;IACD,SAAgB,sBAAsB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAanE;IACD,SAAgB,uBAAuB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAwBpE;IACD,SAAgB,8BAA8B,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAU3E;IACD,SAAgB,sBAAsB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAoCnE;IACD,SAAgB,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAiClE;IAED,SAAgB,uBAAuB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAyCpE;CACJ"}
|
37
types/Common/ColorPalette.d.ts
vendored
37
types/Common/ColorPalette.d.ts
vendored
@@ -1,37 +0,0 @@
|
||||
import { Color, LineBasicMaterial, LineDashedMaterial, MeshBasicMaterial, ShaderMaterial, Side } from 'three';
|
||||
import { LineMaterial } from 'three/examples/jsm/lines/LineMaterial';
|
||||
export declare const LINE_WIDTH = 2;
|
||||
export declare class ColorMaterial {
|
||||
private constructor();
|
||||
private static _LineMaterialMap;
|
||||
private static _BasicMaterialMap;
|
||||
static UseLogBuf: boolean;
|
||||
static GetLineMaterial(color: number): LineBasicMaterial;
|
||||
private static _WallLineMtlMap;
|
||||
static GetWallLineMtl(color: number): LineDashedMaterial;
|
||||
static GetBasicMaterial(color: number): MeshBasicMaterial;
|
||||
private static _BasicDoubleSideMaterialMap;
|
||||
static GetBasicMaterialDoubleSide(color: number): MeshBasicMaterial;
|
||||
private static _ConceptualMaterial;
|
||||
static GetConceptualMaterial(color: number, side?: Side, enableTransparent?: boolean): ShaderMaterial;
|
||||
static UpdateConceptualMaterial(useLogBuf: boolean): void;
|
||||
private static _printConceptualMaterial;
|
||||
static GetPrintConceptualMaterial(): ShaderMaterial;
|
||||
private static _BasicTransparentMaterialMap;
|
||||
static GetBasicMaterialTransparent(color: number, opacity: number): MeshBasicMaterial;
|
||||
private static _BasicTransparentMaterialMap2;
|
||||
static GetBasicMaterialTransparent2(color: number, opacity: number): MeshBasicMaterial;
|
||||
static GetColor(color: number): Color;
|
||||
private static _ConceptualEdgeMaterial;
|
||||
static GetConceptualEdgeMaterial(): LineBasicMaterial;
|
||||
static UpdateConceptualEdgeMaterial(): void;
|
||||
private static _Physical2EdgeMaterial;
|
||||
static GetPhysical2EdgeMaterial(): LineBasicMaterial;
|
||||
static UpdatePhysical2EdgeMaterial(): void;
|
||||
static RubberBandMaterial: LineDashedMaterial;
|
||||
static SnapAxisMaterial: LineDashedMaterial;
|
||||
static PrintLineMatrial: LineMaterial;
|
||||
static GrayTransparentMeshMaterial: MeshBasicMaterial;
|
||||
static TransparentLineMaterial: MeshBasicMaterial;
|
||||
}
|
||||
//# sourceMappingURL=ColorPalette.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"ColorPalette.d.ts","sourceRoot":"","sources":["../../../src/Common/ColorPalette.ts"],"names":[],"mappings":"AAAA,OAAO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AAQ,CAAC,KAAK,EAAE,MAAM;IAU7B,OAAO,CAAC,MAAM,CAAC,uBAAuB,CAAoB;IAC1D,MAAM,CAAC,yBAAyB;IAOhC,MAAM,CAAC,4BAA4B;IAKnC,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAoB;IACzD,MAAM,CAAC,wBAAwB;IAO/B,MAAM,CAAC,2BAA2B;IAOlC,MAAM,CAAC,kBAAkB,qBAItB;IAGH,MAAM,CAAC,gBAAgB,qBAIpB;IACH,MAAM,CAAC,gBAAgB,eAMpB;IAGH,MAAM,CAAC,2BAA2B,oBAI/B;IAEH,MAAM,CAAC,uBAAuB,oBAG3B;CACN"}
|
338
types/Common/CommandNames.d.ts
vendored
338
types/Common/CommandNames.d.ts
vendored
@@ -1,338 +0,0 @@
|
||||
export declare enum CommandNames {
|
||||
Puge = "PUGE",
|
||||
KJLExport = "KJLEXPORT",
|
||||
KJLImport = " KJLIMPORT",
|
||||
KJLCongfig = "KJLCONFIG",
|
||||
KJLMaterialMap = "KJLMATERIALMAP",
|
||||
Clearkjltoken = "CLEARKJLTOKEN",
|
||||
JiaJuImport = "JIAJUIMPORT",
|
||||
Group = "GROUP",
|
||||
DXFImport = "DXF",
|
||||
DWGImport = "DWG",
|
||||
Insert = "INSERT",
|
||||
Line = "LINE",
|
||||
XLine = "XLINE",
|
||||
Undo = "UNDO",
|
||||
Redo = "REDO",
|
||||
RECTANG = "RECTANG",
|
||||
Polygon = "POLYGON",
|
||||
Circle = "CIRCLE",
|
||||
Ellipse = "ELLIPSE",
|
||||
Spline = "SPLINE",
|
||||
Polyline = "POLYLINE",
|
||||
Arc = "ARC",
|
||||
Reg = "REGION",
|
||||
SimplifyPolyline = "SIMPLIFYPOLYLINE",
|
||||
Scale = "SCALE",
|
||||
Convert2Polyline = "CONVERT2POLYLINE",
|
||||
Move = "MOVE",
|
||||
MoveAxis = "MOVEAXIS",
|
||||
Rotate = "ROTATE",
|
||||
RotateRefer = "ROTATEREFER",
|
||||
Revolve = "REVOLVE",
|
||||
Sphere = "SPHERE",
|
||||
SpliteTemplate = "SPLITETEMPLATE",
|
||||
SwitchCamera = "SWITCHCAMERA",
|
||||
CameraSnapshootSave = "CAMERASNAPSHOOTSAVE",
|
||||
CameraSnapshootSaveIndex = "CAMERASNAPSHOOTSAVEINDEX",
|
||||
CameraSnapshootRestore = "CAMERASNAPSHOOTRESTORE",
|
||||
Zoome = "ZOOME",
|
||||
Erase = "ERASE",
|
||||
EraseNoSelect = "ERASENOSELECT",
|
||||
Break = "BREAK",
|
||||
BreakAll = "BREAKALL",
|
||||
DragGrip = "DRAGGRIP",
|
||||
Stretch = "STRETCH",
|
||||
SelectStretch = "SELECTSTRETCH",
|
||||
ZoomObject = "ZOOMOBJECT",
|
||||
FS = "TOPVIEW",
|
||||
QS = "FRONTVIEW",
|
||||
YS = "RIGHTVIEW",
|
||||
ZS = "LEFTVIEW",
|
||||
BackView = "BACKVIEW",
|
||||
BottomView = "BOTTOMVIEW",
|
||||
Swiso = "SWISO",
|
||||
HideSelect = "HIDESELECT",
|
||||
HideUnSelect = "HIDEUNSELECT",
|
||||
Show = "SHOW",
|
||||
Save = "SAVE",
|
||||
SaveAs = "SAVEAS",
|
||||
SaveToLocal = "SAVETOLOCAL",
|
||||
SaveToDxf = "SAVETODXF",
|
||||
New = "NEW",
|
||||
Open = "OPEN",
|
||||
OpenHistory = "OPENHISTORY",
|
||||
OpenHistory2 = "OPENHISTORY2",
|
||||
CustomUCS = "UCS",
|
||||
Copy = "COPY",
|
||||
SuperCopy = "SUPERCOPY",
|
||||
Reverse = "REVERSE",
|
||||
Extend = "EXTEND",
|
||||
Trim = "TRIM",
|
||||
Fillet = "FILLET",
|
||||
Offset = "OFFSET",
|
||||
PointLight = "POINTLIGHT",
|
||||
SpotLight = "SPOTLIGHT",
|
||||
SpotLight2 = "SPOTLIGHT2",
|
||||
RectLight = "RECTLIGHT",
|
||||
BatchModifyLights = "BATCHMODIFYLIGHTS",
|
||||
Divide = "DIVIDE",
|
||||
Point = "POINT",
|
||||
AlignDim = "ALGINDIMEN",
|
||||
LinearDim = "LINEARDIMEN",
|
||||
AngleDim = "ANGLEDIM",
|
||||
DimContinue = "CONTINUEDIM",
|
||||
RadiusDim = "RADIUSDIM",
|
||||
DimArc = "DIMARC",
|
||||
DiaDim = "DIAMETERDIMEN",
|
||||
HideDim = "HIDEDIM",
|
||||
ShowDim = "SHOWDIM",
|
||||
Text = "TEXT",
|
||||
Intersect = "INTERSECT",
|
||||
Union = "UNION",
|
||||
Substract = "SUBSTRACT",
|
||||
Pedit = "PEDIT",
|
||||
Join = "JOIN",
|
||||
Sweep = "SWEEP",
|
||||
Cylineder = "CYLINEDER",
|
||||
LRBoard = "LEFTRIGHTBOARD",
|
||||
TBBoard = "TOPBOTTOMBOARD",
|
||||
BehindBoard = "BEHINDBOARD",
|
||||
SelectThinBehindBoard = "SELECTTHINBEHINDBOARD",
|
||||
LayerBoard = "LAYERBOARD",
|
||||
VertialBoard = "VERTIALBOARD",
|
||||
SingleBoard = "SINGLEBOARD",
|
||||
CloseStrip = "CLOSESTRIP",
|
||||
Door = "DOOR",
|
||||
DrillConfig = "DRILLCONFIG",
|
||||
Hole = "DRAWHOLE",
|
||||
YiXing = "YIXING",
|
||||
YXLK = "YIXINGCONTOUR",
|
||||
ZXLK = "ZAOXINGCONTOUR",
|
||||
LinearCutting = "LINEARCUTTING",
|
||||
RectLinearCutting = "RECTLINEARCUTTING",
|
||||
NonAssociativeCutting = "NONASSOCIATIVECUTTING",
|
||||
ReferenceCutting = "REFERENCECUTTING",
|
||||
AddPtOnBoard = "ADDPTONBOARD",
|
||||
DeletePtOnBoard = "DELETEPTONBOARD",
|
||||
BoardFindModify = "BOARDFINDMODIFY",
|
||||
LookOverBoardInfos = "LOOKOVERBOARDINFOS",
|
||||
BoardBatchCurtail = "BOARDBATCHCURTAIL",
|
||||
AutoDimBrs = "AUTODIMBRS",
|
||||
FastDimBrs = "FASTDIMBRS",
|
||||
BreakDim = "BREAKDIM",
|
||||
DeleteDim = "DELETEDIM",
|
||||
DeleteMinDim = "DELETEMINDIM",
|
||||
RotateLayerBoard = "ROTATELAYERBOARD",
|
||||
Drawer = "DRAWER",
|
||||
DeleteHole = "DELETEHOLE",
|
||||
ReverseDrillFace = "REVERSEDRILLFACE",
|
||||
FZWL = "FZWL",
|
||||
ActicityLayerBoard = "ACTICITYLAYERBOARD",
|
||||
TestFb = "TESTFENGBIAN",
|
||||
TestModeling = "TESTMODELING",
|
||||
Mirror = "MIRROR",
|
||||
Topline = "TOPLINE",
|
||||
Winerack = "WINERACK",
|
||||
Drawwinerack = "DRAWWINERACK",
|
||||
Editorwinerack = "EDITORWINERACK",
|
||||
Lattice = "LATTICE",
|
||||
Array = "ARRAY",
|
||||
ComanPanel = "COMMANDPANEL",
|
||||
Comanp = "COMANP",
|
||||
PropertiesBar = "PROPERTIESBAR",
|
||||
ModuleBar = "MODULEBAR",
|
||||
ChangeLayout = "CHANGELAYOUT",
|
||||
RightPanelTemplateParam = "RIGHTPANELTEMPLATEPARAM",
|
||||
RightPanelScene = "RIGHTPANELSCENE",
|
||||
RightPanelMaterial = "RIGHTPANELMATERIAL",
|
||||
RightPanelModel = "RIGHTPANELMODEL",
|
||||
RightPanelModel2 = "RIGHTPANELMODEL2",
|
||||
RightPanelModel3 = "RIGHTPANELMODEL3",
|
||||
RightPanelMetals = "RIGHTPANELMETALS",
|
||||
RightPanelModule = "RIGHTPANELMODULE",
|
||||
Config = "CONFIG",
|
||||
Enablesyncdata = "ENABLESYNCDATA",
|
||||
DimStyle = "DIMSTYLE",
|
||||
TextStyle = "TEXTSTYLE",
|
||||
ToggleDrillingReactor = "TOGGLEDRILLINGREACTOR",
|
||||
Esc = "ESC",
|
||||
Wireframe = "WIREFRAME",
|
||||
Conceptual = "CONCEPTUAL",
|
||||
ConceptualTransparent = "CONCEPTUALTRANSPARENT",
|
||||
Physical = "PHYSICAL",
|
||||
Physical2 = "PHYSICAL2",
|
||||
PrintType = "PRINTTYPE",
|
||||
DownloadHoleOption = "DOWNHOLECONFIG",
|
||||
UploadHoleConfig = "UPLOADHOLECONFIG",
|
||||
ChaiDan = "CHAIDAN",
|
||||
ChaiDanJB = "CHAIDANJIABEI",
|
||||
ShowYouhua = "SHOWYOUHUA",
|
||||
Decompose = "DECOMPOSE",
|
||||
ChaiDanExport = "CHAIDANEXPORT",
|
||||
BatchModify = "BATCHMODIFY",
|
||||
EditDrilEdgeData = "EDITDRILEDGEDATA",
|
||||
EditSealEdgeData = "EDITSEALEDGEDATA",
|
||||
AutoHoleFaceSetting = "AUTOHOLEFACESETTING",
|
||||
Combine = "COMBINE",
|
||||
RenderModulesState = "RENDERMODULESSTATE",
|
||||
Template = "TEMPLATE",
|
||||
TemplateDesign = "TEMPLATEDESIGN",
|
||||
TemplateCollection = "TEMPLATECOLLECTION",
|
||||
TemplateSearch = "TEMPLATESEARCH",
|
||||
TemplateDelete = "TEMPLATEDELETE",
|
||||
TemplateCheck = "TEMPLATECHECK",
|
||||
RotateTemplate = "ROTATETEMP",
|
||||
Print = "PRINT",
|
||||
Extrude = "EXTRUDE",
|
||||
HoleTemplate = "HOLETEMPLATE",
|
||||
CheckModeling = "CHECKMODELING",
|
||||
ExportData = "EXPORTDATA",
|
||||
ExportView = "EXPORTVIEW",
|
||||
EnableSyncData = "ENABLESYNCDATA",
|
||||
DisableSyncData = "DISABLESYNCDATA",
|
||||
ToggleSyncData = "TOGGLESYNCDATA",
|
||||
ToggleViewFollow = "TOGGLEVIEWFOLLOW",
|
||||
ShowProcessingGroupModal = "SHOWPROCESSINGGROUPMODAL",
|
||||
查看加工组 = "\u67E5\u770B\u52A0\u5DE5\u7EC4",
|
||||
添加加工组 = "\u6DFB\u52A0\u52A0\u5DE5\u7EC4",
|
||||
删除加工组 = "\u5220\u9664\u52A0\u5DE5\u7EC4",
|
||||
DrawVSBOX = "DRAWVSBOX",
|
||||
Align = "ALIGN",
|
||||
BuyMaterial = "BUYMATERIAL",
|
||||
Interfere = "INTERFERE",
|
||||
ShowDoor = "SHOWDOOR",
|
||||
HideDoor = "HIDEDOOR",
|
||||
ShowDrawer = "SHOWDRAWER",
|
||||
HideDrawer = "HIDEDRAWER",
|
||||
Curve2Rect = "CURVE2RECT",
|
||||
Pl2Br = "RECT2BOARD",
|
||||
Curve2VSBox = "CURVE2VSBOX",
|
||||
templateDelete = "TEMPLATEDELETE",
|
||||
SetSmoothEdge = "SETSMOOTHEDGE",
|
||||
ClearRef = "CLEARRELEVANCE",
|
||||
Clear2DModeling = "CLEAR2DMODELING",
|
||||
ExportObj = "EXPORTOBJ",
|
||||
ExportobjMtl = "EXPORTOBJMTL",
|
||||
ExportObj2 = "EXPORTOBJ2",
|
||||
ExportSTL = "EXPORTSTL",
|
||||
UpdateBoardInfos = "UPDATEBOARDINFOS",
|
||||
ToggleUI = "TOGGLEUI",
|
||||
BoardReplaceTempate = "BOARDREPLACETEMPLATE",
|
||||
Dist = "DIST",
|
||||
Length = "LENGTH",
|
||||
Explode = "EXPLODE",
|
||||
Explosion = "EXPLOSIONMAP",
|
||||
OpenCabinet = "OPENCABINET",
|
||||
CopyClip = "COPYCLIP",
|
||||
CopyBase = "COPYBASE",
|
||||
PasteClip = "PASTECLIP",
|
||||
Text2Curve = "TEXT2CURVE",
|
||||
R2b = "RECT2BOARD",
|
||||
RecyleBin = "RECYCLEBIN",
|
||||
ChangeColorByMaterial = "CHANGECOLORBYMATERIAL",
|
||||
ChangeBoardColorByPBFace = "CHANGEBOARDCOLORBYPBFACE",
|
||||
TextModifyTool = "TEXTMODIFYTOOL",
|
||||
RestoreColor = "RESTORECOLOR",
|
||||
SelectAll = "SELECTALL",
|
||||
SelectBoard = "SELBOARD",
|
||||
SelectCurve = "SELCURVE",
|
||||
SelectDim = "SELDIM",
|
||||
SelectText = "SELTEXT",
|
||||
CheckHoles = "CHECKHOLES",
|
||||
CombinatAttributeBrush = "COMBINATATTRIBUTEBRUSH",
|
||||
MatchProp = "MATCHPROP",
|
||||
Rect2Winerack = "RECT2WINERACK",
|
||||
EditView = "EDITVIEW",
|
||||
EditFrame = "EDITFRAME",
|
||||
MView = "MVIEW",
|
||||
MView4 = "MVIEW4",
|
||||
MView2 = "MVIEW2",
|
||||
MView3 = "MVIEW3",
|
||||
ShowFrame = "SHOWFRAME",
|
||||
UnGroup = "UNGROUP",
|
||||
OneKeyLayout = "ONEKEYLAYOUT",
|
||||
SwitchLines = "SWITCHLINES",
|
||||
OneKeyPrint = "ONEKEYPRINT",
|
||||
SetHoleNoneType = "SETHOLENONETYPE",
|
||||
FindMaxSizeBoard = "FINDMAXSIZEBOARDS",
|
||||
FindMinSizeBoard = "FINDMINSIZEBOARDS",
|
||||
CheckNoHoleBoard = "CHECKNOHOLEBOARD",
|
||||
CheckDrawHole = "CHECKDRAWHOLE",
|
||||
FindModelKnifeRadius = "FINDMODELKNIFERADIUS",
|
||||
EditorBBS = "EDITORBBS",
|
||||
CuttingFace = "CUTTINGFACE",
|
||||
CuttingRectFace = "CUTTINGRECTFACE",
|
||||
DrawTempByImport = "DRAWTEMPBYIMPORT",
|
||||
CheckEdge = "CHECKEDGE",
|
||||
CheckPlaceFace = "CHECKPLACEFACE",
|
||||
VisualStyle_CustomNumber = "VSCUSTOMNUMBER",
|
||||
CustomNumber = "CUSTOMNUMBER",
|
||||
CleanCustomNumber = "CLEANCUSTOMNUMBER",
|
||||
Knife = "KNIFES",
|
||||
ModifyGroovesKnife = "MODIFYGROOVESKNIFE",
|
||||
R2B2 = "RECT2BOARD2",
|
||||
FixIntSelfContour = "FIXINTSELFCONTOUR",
|
||||
ParseHinge = "PARSEHINGE",
|
||||
ZhengWen = "ZHENGWEN",
|
||||
FanWen = "FANWEN",
|
||||
KeFanZuan = "KEFANZUAN",
|
||||
ZhengMian = "ZHENGMIAN",
|
||||
FanMian = "FANMIAN",
|
||||
SuiYiMian = "SUIYIMIAN",
|
||||
BackgroundSwitching = "BACKGROUNDSWITCHING",
|
||||
Renderer = "RENDERER",
|
||||
ShowHSPanel = "SHOWHIDESELECT",
|
||||
BatchModifyPanel = "BATCHMODIFYPANEL",
|
||||
EditorboardTemplate = "EDITORBOARDTEMPLATE",
|
||||
ParseBoardName = "PARSEBOARDNAME",
|
||||
SetBRXAxis = "SETBRXAXIS",
|
||||
ResetCustomCommand = "RESETCUSTOMCOMMAND",
|
||||
EditorLattice = "EDITORLATTICE",
|
||||
DownloadConfig = "DOWNLOADCONFIG",
|
||||
UploadConfig = "UPLOADCONFIG",
|
||||
TestM = "TESTM",
|
||||
TestFB = "TESTFB",
|
||||
Z0 = "Z0",
|
||||
M0 = "M0",
|
||||
PackageGroupMove0 = "PACKAGEGROUPMOVE0",
|
||||
ApplyMtl = "APPLYMTL",
|
||||
封边属性编辑 = "\u5C01\u8FB9\u5C5E\u6027\u7F16\u8F91",
|
||||
排钻属性编辑 = "\u6392\u94BB\u5C5E\u6027\u7F16\u8F91",
|
||||
SwitchServers = "SWITCHSERVERS",
|
||||
Replace = "\u91CD\u65B0\u653E\u7F6E\u6A21\u578B",
|
||||
Down = "DOWN",
|
||||
AxesDisable = "AXESDISABLE",
|
||||
AxesTranslate = "AXESTRANSLATE",
|
||||
AxesRotate = "AXESROTATE",
|
||||
AxesScale = "AXESSCALE",
|
||||
GizmoCSSwith = "GIZMOCSSWITH",
|
||||
DrawWall = "DRAWWALL",
|
||||
DrawWallInside = "DRAWWALLINSIDE",
|
||||
DrawRectWall = "DRAWRECTWALL",
|
||||
Curve2Wall = "CURVE2WALL",
|
||||
SetWallThick = "SETWALLTHICK",
|
||||
DrawIHole = "DRAWIHOLE",
|
||||
DrawLHole = "DRAWLHOLE",
|
||||
DrawUHole = "DRAWUHOLE",
|
||||
DrawIDoor = "DRAWIDOOR",
|
||||
DrawIWindow = "DRAWIWINDOW",
|
||||
DrawLWindow = "DRAWLWINDOW",
|
||||
DrawUWindow = "DRAWUWINDOW",
|
||||
DrawUWindow2 = "DRAWUWINDOW2",
|
||||
DrawDoorHole = "DRAWDOORHOLE",
|
||||
YZC = "YIZHICHUANG",
|
||||
LDC = "LUODICHUANG",
|
||||
PC = "PIAOCHUANG",
|
||||
ZJC = "ZHUANJIAOCHUANG",
|
||||
ZJPC = "ZHUANJIAOPIAOCHUANG",
|
||||
YJHM = "YIJIANHUAMEN",
|
||||
Gallery = "GALLERY",
|
||||
Freeze = "FREEZE",
|
||||
UnFreeze = "UNFREEZE",
|
||||
ShareView = "SHAREVIEW",
|
||||
VisibleInRender = "VISIBLEINRENDER",
|
||||
UnVisibleInRender = "UNVISIBLEINRENDER",
|
||||
SendCADFileToKF = "SENDCADFILETOKF"
|
||||
}
|
||||
//# sourceMappingURL=CommandNames.d.ts.map
|
File diff suppressed because one or more lines are too long
15
types/Common/CommonSelectOption.d.ts
vendored
15
types/Common/CommonSelectOption.d.ts
vendored
@@ -1,15 +0,0 @@
|
||||
import { ComposingType, LinesType, FaceDirection } from "../UI/Store/BoardInterface";
|
||||
/**排版面选择项 */
|
||||
export declare const ComposingFaceSelectOption: {
|
||||
label: string;
|
||||
value: ComposingType;
|
||||
}[];
|
||||
export declare const LineTypeSelectOption: {
|
||||
label: string;
|
||||
value: LinesType;
|
||||
}[];
|
||||
export declare const BigFaceSelectOption: {
|
||||
label: string;
|
||||
value: FaceDirection;
|
||||
}[];
|
||||
//# sourceMappingURL=CommonSelectOption.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"CommonSelectOption.d.ts","sourceRoot":"","sources":["../../../src/Common/CommonSelectOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAErF,YAAY;AACZ,eAAO,MAAM,yBAAyB;;;GAarC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;GAIhC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;GAEc,CAAC"}
|
11
types/Common/CoolDownTime.d.ts
vendored
11
types/Common/CoolDownTime.d.ts
vendored
@@ -1,11 +0,0 @@
|
||||
export declare class CoolDownTime {
|
||||
IsCoolDownTime: boolean;
|
||||
ExecFunc: Function;
|
||||
TimerId: any;
|
||||
constructor();
|
||||
CoolDown(time: number): void;
|
||||
Debounce(f: Function, time: number): void;
|
||||
Clear(): void;
|
||||
Exec(f: Function): void;
|
||||
}
|
||||
//# sourceMappingURL=CoolDownTime.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"CoolDownTime.d.ts","sourceRoot":"","sources":["../../../src/Common/CoolDownTime.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IAErB,cAAc,UAAS;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,GAAG,CAAC;;IAIb,QAAQ,CAAC,IAAI,EAAE,MAAM;IAkBrB,QAAQ,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM;IAOlC,KAAK;IAUL,IAAI,CAAC,CAAC,EAAE,QAAQ;CAQnB"}
|
63
types/Common/CurveUtils.d.ts
vendored
63
types/Common/CurveUtils.d.ts
vendored
@@ -1,63 +0,0 @@
|
||||
import { Box3, Matrix3, Matrix4, Vec2, Vector2, Vector3 } from 'three';
|
||||
import { Arc } from '../DatabaseServices/Entity/Arc';
|
||||
import { Circle } from '../DatabaseServices/Entity/Circle';
|
||||
import { Curve } from '../DatabaseServices/Entity/Curve';
|
||||
import { Ellipse } from '../DatabaseServices/Entity/Ellipse';
|
||||
import { Line } from '../DatabaseServices/Entity/Line';
|
||||
import { Polyline } from '../DatabaseServices/Entity/Polyline';
|
||||
import { Vec3 } from '../Geometry/IVec3';
|
||||
import { IntersectResult } from '../GraphicsSystem/IntersectWith';
|
||||
export declare function getCircleCenter(pt1: Vector3, pt2: Vector3, pt3: Vector3): Vector3;
|
||||
export declare function getCirAngleByChordAndTangent(chord: Vector3, tangentLine: Vector3): number;
|
||||
export declare function getDeterminantFor2V(v1: Vector2, v2: Vector2): number;
|
||||
export declare function getDeterminantFor3V(v1: Vector3, v2: Vector3, v3: Vector3): number;
|
||||
/**
|
||||
* 曲线根据连接来分组,每组都是一条首尾相连的曲线表.
|
||||
*
|
||||
* @export
|
||||
* @param {Curve[]} cus 传入的分组的曲线表
|
||||
* @returns {Array<Array<Curve>>} 返回如下
|
||||
* [
|
||||
* [c1,c2,c3...],//后面的曲线的起点总是等于上一个曲线的终点
|
||||
* [c1,c2,c3...],
|
||||
* ]
|
||||
*/
|
||||
export declare function curveLinkGroup(cus: Curve[], numdimensions?: number): Array<Array<Curve>>;
|
||||
export declare function equalCurve(cu1: Curve, cu2: Curve, tolerance?: number): boolean;
|
||||
/**
|
||||
* 计算点在曲线前进方向的方位,左边或者右边
|
||||
*
|
||||
* @param {Curve} cu
|
||||
* @param {Vector3} pt
|
||||
* @returns {boolean} 左边为-1,右边为1
|
||||
*/
|
||||
export declare function GetPointAtCurveDir(cu: Curve, pt: Vector3): number;
|
||||
export declare function ConverCircleToPolyline(cir: Circle): Polyline;
|
||||
export declare function GetTanPtsOnArcOrCircle(cu: Arc | Circle, lastPoint?: Vector3): Vector3[];
|
||||
export declare function CircleInternalTangentLines(cir0: Circle, cir1: Circle): Line[];
|
||||
export declare function CircleOuterTangentLines(circle0: Circle, circle1: Circle): Line[];
|
||||
export declare function getArcOrCirNearPts(cu: Circle | Arc | Ellipse, pickPoint: Vector3, viewXform: Matrix3): Vector3[];
|
||||
export declare function getTanPtsOnEllipse(cu: Ellipse, lastPoint: Vector3): any[];
|
||||
export interface IRectInfo {
|
||||
isRect: boolean;
|
||||
size?: Vector3;
|
||||
box?: Box3;
|
||||
OCS?: Matrix4;
|
||||
}
|
||||
export declare function IsRect(cu: Curve): IRectInfo;
|
||||
/**用4个矩形点构造矩形 */
|
||||
export declare function getRectFrom4Pts(pts: Vector3[]): Polyline;
|
||||
export declare function MergeCurvelist(cus: Curve[]): Curve[];
|
||||
export declare function SwapParam(res: IntersectResult[]): IntersectResult[];
|
||||
export declare function ComputerCurvesNormalOCS(curves: Curve[], allowAutoCalc?: boolean): Matrix4 | undefined;
|
||||
export declare function Pts2Polyline(pts: (Vec3 | Vec2)[], isClose: boolean): Polyline;
|
||||
/**获取矩形信息 */
|
||||
export declare function GetRectData(cu: Curve): {
|
||||
isRect: boolean;
|
||||
size?: Vector3;
|
||||
box?: Box3;
|
||||
OCS?: Matrix4;
|
||||
};
|
||||
/**封闭多段线 分割成矩形 */
|
||||
export declare function PolylineSpliteRect(outline: Polyline): Polyline[];
|
||||
//# sourceMappingURL=CurveUtils.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"CurveUtils.d.ts","sourceRoot":"","sources":["../../../src/Common/CurveUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAS,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAM/D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGzC,OAAO,EAAmB,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAOnF,wBAAgB,eAAe,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,WA0BvE;AAGD,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,UAYhF;AAED,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,GAAG,MAAM,CAGpE;AAED,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,OAAO,EAAE,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EAAE,OAAO,EAAE,YAgB7C;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,KAAK,EAAE,WAyB1C;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,eAAe,EAAE,GAAG,eAAe,EAAE,CAKnE;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,aAAa,GAAE,OAAc,GAAG,OAAO,GAAG,SAAS,CA6D3G;AAGD,wBAAgB,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO,GAAG,QAAQ,CA+B7E;AAED,YAAY;AACZ,wBAAgB,WAAW,CAAC,EAAE,EAAE,KAAK,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,GAAG,CAAC,EAAE,IAAI,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAC;CAAE,CA8GtG;AAGD,iBAAiB;AACjB,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,QAAQ,GAAG,QAAQ,EAAE,CAwFhE"}
|
5
types/Common/DataAdapter.d.ts
vendored
5
types/Common/DataAdapter.d.ts
vendored
@@ -1,5 +0,0 @@
|
||||
import { IUiOption } from "../UI/Store/BoardInterface";
|
||||
export declare class DataAdapter {
|
||||
static ConvertUIData<T extends Object>(obj: T, isobser?: boolean): IUiOption<T>;
|
||||
}
|
||||
//# sourceMappingURL=DataAdapter.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"DataAdapter.d.ts","sourceRoot":"","sources":["../../../src/Common/DataAdapter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,qBAAa,WAAW;IAEpB,MAAM,CAAC,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,GAAE,OAAc,GAAG,SAAS,CAAC,CAAC,CAAC;CAiBxF"}
|
3
types/Common/Deving.d.ts
vendored
3
types/Common/Deving.d.ts
vendored
@@ -1,3 +0,0 @@
|
||||
export declare function IsDev(): boolean;
|
||||
export declare function IsTest(): boolean;
|
||||
//# sourceMappingURL=Deving.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Deving.d.ts","sourceRoot":"","sources":["../../../src/Common/Deving.ts"],"names":[],"mappings":"AACA,wBAAgB,KAAK,YAGpB;AAED,wBAAgB,MAAM,YAGrB"}
|
7
types/Common/Dispose.d.ts
vendored
7
types/Common/Dispose.d.ts
vendored
@@ -1,7 +0,0 @@
|
||||
import { Object3D } from "three";
|
||||
/**
|
||||
* 销毁Object对象的Geometry,并不会销毁材质(新版本销毁材质,好像问题不大?)
|
||||
*/
|
||||
export declare function DisposeThreeObj(obj: Object3D): Object3D;
|
||||
export declare function Object3DRemoveAll(obj: Object3D): Object3D;
|
||||
//# sourceMappingURL=Dispose.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Dispose.d.ts","sourceRoot":"","sources":["../../../src/Common/Dispose.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC;;GAEG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,QAAQ,YA6B5C;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,QAAQ,YAS9C"}
|
3
types/Common/Draw.d.ts
vendored
3
types/Common/Draw.d.ts
vendored
@@ -1,3 +0,0 @@
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
export declare function Draw(en: Entity): void;
|
||||
//# sourceMappingURL=Draw.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Draw.d.ts","sourceRoot":"","sources":["../../../src/Common/Draw.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAE3D,wBAAgB,IAAI,CAAC,EAAE,EAAE,MAAM,QAG9B"}
|
4
types/Common/EntityUpdateWrap.d.ts
vendored
4
types/Common/EntityUpdateWrap.d.ts
vendored
@@ -1,4 +0,0 @@
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
export declare function EntityUpdateWrap(ent: Entity, exec: Function): void;
|
||||
export declare function EntitysUpdateWrap(ens: Entity[], exec: Function): void;
|
||||
//# sourceMappingURL=EntityUpdateWrap.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"EntityUpdateWrap.d.ts","sourceRoot":"","sources":["../../../src/Common/EntityUpdateWrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAE3D,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,QAQ3D;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,QAoB9D"}
|
5
types/Common/ErrorMonitoring.d.ts
vendored
5
types/Common/ErrorMonitoring.d.ts
vendored
@@ -1,5 +0,0 @@
|
||||
export declare class ErrorMonitoring {
|
||||
constructor();
|
||||
}
|
||||
export declare function ReportError(stack: any, msg?: string): Promise<void>;
|
||||
//# sourceMappingURL=ErrorMonitoring.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"ErrorMonitoring.d.ts","sourceRoot":"","sources":["../../../src/Common/ErrorMonitoring.ts"],"names":[],"mappings":"AAoBA,qBAAa,eAAe;;CAa3B;AAKD,wBAAsB,WAAW,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,GAAE,MAAkB,iBAkDpE"}
|
2
types/Common/FetchGet.d.ts
vendored
2
types/Common/FetchGet.d.ts
vendored
@@ -1,2 +0,0 @@
|
||||
export declare function FetchGet(url: string): Promise<any>;
|
||||
//# sourceMappingURL=FetchGet.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"FetchGet.d.ts","sourceRoot":"","sources":["../../../src/Common/FetchGet.ts"],"names":[],"mappings":"AACA,wBAAsB,QAAQ,CAAC,GAAG,EAAE,MAAM,gBAYzC"}
|
57
types/Common/FileSystem.d.ts
vendored
57
types/Common/FileSystem.d.ts
vendored
@@ -1,57 +0,0 @@
|
||||
/**
|
||||
*/
|
||||
export declare class FS {
|
||||
/**
|
||||
* 写出文件
|
||||
*/
|
||||
static WriteFile(fname: string, data: BlobPart): void;
|
||||
private static chooserInput;
|
||||
/**
|
||||
* 选择文件
|
||||
* filter ".json"
|
||||
* @param { filter, multiple = false, callback }
|
||||
*/
|
||||
static ChooseFile({ filter, multiple, callback }: {
|
||||
filter?: string;
|
||||
multiple?: boolean;
|
||||
callback: (filelist: FileList) => void;
|
||||
}): void;
|
||||
/**
|
||||
* Used as an alternative to chooseFile for saving files in the browser.
|
||||
*
|
||||
* Uses a prompt to question the user the file name.
|
||||
*
|
||||
* @method chooseFileName
|
||||
* @param {Function} onLoad onLoad callback
|
||||
* @param {String} saveas File extension
|
||||
*/
|
||||
static chooseFileName: (onLoad: any, saveas: any, name: any) => void;
|
||||
/**
|
||||
* Get file name without extension from file path string.
|
||||
*
|
||||
* If input is a/b/c/abc.d output is abc.
|
||||
*
|
||||
* @method getFileName
|
||||
* @param {String} filePath File path
|
||||
* @return {String} File name without path and extension
|
||||
*/
|
||||
static getFileName: (filePath: string) => string;
|
||||
/**
|
||||
* Get file name without extension.
|
||||
* If input is a/b/c/abc.d output is a/b/c/abc.
|
||||
*/
|
||||
static getNameWithoutExtension: (filePath: string) => string;
|
||||
/**
|
||||
* Get file directoty.
|
||||
*
|
||||
* If input is a/b/c/abc.d output is a/b/c/
|
||||
*/
|
||||
static getFilePath: (filePath: string) => string;
|
||||
/**
|
||||
* Get file extension from file path string (always in lowercase).
|
||||
*
|
||||
* If input is a/b/c/abc.d output is d.
|
||||
*/
|
||||
static getFileExtension: (filePath: string) => string;
|
||||
}
|
||||
//# sourceMappingURL=FileSystem.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"FileSystem.d.ts","sourceRoot":"","sources":["../../../src/Common/FileSystem.ts"],"names":[],"mappings":"AAAA;GACG;AACH,qBAAa,EAAE;IAEX;;OAEG;IACH,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;IAkB9C,OAAO,CAAC,MAAM,CAAC,YAAY,CAAmB;IAE9C;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,QAAgB,EAAE,QAAQ,EAAE,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;KAAE;IAoB1I;;;;;;;;OAQG;IACH,MAAM,CAAC,cAAc,gDAgBnB;IAEF;;;;;;;;OAQG;IACH,MAAM,CAAC,WAAW,aAAuB,MAAM,YAW7C;IAEF;;;OAGG;IACH,MAAM,CAAC,uBAAuB,aAAuB,MAAM,YAQzD;IAEF;;;;OAIG;IACH,MAAM,CAAC,WAAW,aAAuB,MAAM,YAW7C;IAEF;;;;OAIG;IACH,MAAM,CAAC,gBAAgB,aAAuB,MAAM,YAKlD;CAEL"}
|
5
types/Common/GroupEntitysByBox.d.ts
vendored
5
types/Common/GroupEntitysByBox.d.ts
vendored
@@ -1,5 +0,0 @@
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { Box3Ext } from "../Geometry/Box";
|
||||
/**分堆,按实体的Box */
|
||||
export declare function GroupEntitysByBox<T extends Entity>(ens: T[], gap?: number): Map<Box3Ext, T[]>;
|
||||
//# sourceMappingURL=GroupEntitysByBox.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"GroupEntitysByBox.d.ts","sourceRoot":"","sources":["../../../src/Common/GroupEntitysByBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,gBAAgB;AAChB,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,GAAG,SAAK,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CA0CzF"}
|
145
types/Common/HostUrl.d.ts
vendored
145
types/Common/HostUrl.d.ts
vendored
@@ -1,145 +0,0 @@
|
||||
export declare const CURRENT_HOST: string;
|
||||
export declare const SignUrl: {
|
||||
login: string;
|
||||
loginOut: string;
|
||||
heart: string;
|
||||
regist: string;
|
||||
SMSCode: string;
|
||||
LoginStatus: string;
|
||||
checkRegUser: string;
|
||||
findPsw: string;
|
||||
operLogs: string;
|
||||
};
|
||||
export declare const ImgsUrl: {
|
||||
get: string;
|
||||
upload: string;
|
||||
delete: string;
|
||||
logo: string;
|
||||
update: string;
|
||||
};
|
||||
export declare const DirUrl: {
|
||||
query: string;
|
||||
create: string;
|
||||
delete: string;
|
||||
update: string;
|
||||
move: string;
|
||||
};
|
||||
export declare const MaterialUrls: {
|
||||
query: string;
|
||||
create: string;
|
||||
get: string;
|
||||
detail: string;
|
||||
delete: string;
|
||||
update: string;
|
||||
move: string;
|
||||
buy: string;
|
||||
publishDetail: string;
|
||||
};
|
||||
export declare const ShopUrls: {
|
||||
get: string;
|
||||
};
|
||||
export declare const ResourcesCDN_HOST = "https://cdn.qicad.com/";
|
||||
export declare const ToplineUrls: {
|
||||
create: string;
|
||||
get: string;
|
||||
detail: string;
|
||||
delete: string;
|
||||
update: string;
|
||||
move: string;
|
||||
};
|
||||
export declare const FileUrls: {
|
||||
create: string;
|
||||
delete: string;
|
||||
detail: string;
|
||||
list: string;
|
||||
update: string;
|
||||
move: string;
|
||||
copy: string;
|
||||
preDetail: string;
|
||||
};
|
||||
export declare const TemplateUrls: {
|
||||
create: string;
|
||||
delete: string;
|
||||
detail: string;
|
||||
list: string;
|
||||
update: string;
|
||||
search: string;
|
||||
move: string;
|
||||
check: string;
|
||||
uploadCover: string;
|
||||
collection: string;
|
||||
publishing: string;
|
||||
};
|
||||
export declare const ConfigUrls: {
|
||||
Get: string;
|
||||
Edit: string;
|
||||
GetList: string;
|
||||
};
|
||||
export declare const CloudUrl: {
|
||||
Get: string;
|
||||
Buy: string;
|
||||
};
|
||||
/**cad渲染端 */
|
||||
export declare const RenderUrl: {
|
||||
CheckRender: string;
|
||||
Buy: string;
|
||||
};
|
||||
/**购买cad包月服务 */
|
||||
export declare const BuyCadUrl: string;
|
||||
/**请求这些接口将更新云盘信息 */
|
||||
export declare const ChangeZoneUrls: string[];
|
||||
/**发布模块 */
|
||||
export declare const PublishTemplateUrl: string;
|
||||
export declare const PublishMaterialUrl: string;
|
||||
export declare const SendTemplateUrl: string;
|
||||
export declare const KJLExportUrls: string;
|
||||
export declare const CF_LOGO: string;
|
||||
export declare const Buy2To3: string;
|
||||
export declare const BuyZengZhiBao: string;
|
||||
export declare const KJLUrls: {
|
||||
importOld: string;
|
||||
import: string;
|
||||
importv2: string;
|
||||
clear: string;
|
||||
};
|
||||
export declare const RecycleBinUrls: {
|
||||
List: string;
|
||||
Re: string;
|
||||
Delete: string;
|
||||
};
|
||||
export declare const ErrorReportUrl: string;
|
||||
export declare let FileHistoryUrl: string;
|
||||
export declare let FileHistoryFilesUrl: string;
|
||||
export declare const ResourceLibraryURL: {
|
||||
RenderClassList: string;
|
||||
RenderModulesList: string;
|
||||
ModulesDetail: string;
|
||||
RenderModulesState: string;
|
||||
RenderDeployLogs: string;
|
||||
};
|
||||
export declare const UserCollection: {
|
||||
CreateCollectDir: string;
|
||||
UpdateCollectDir: string;
|
||||
DeleteCollectDir: string;
|
||||
QueryCollectDir: string;
|
||||
CreateModuleCollect: string;
|
||||
UpdateModuleCollect: string;
|
||||
DeleteModuleCollect: string;
|
||||
QueryModuleCollect: string;
|
||||
FeedBack: string;
|
||||
};
|
||||
export declare const GalleryURL: {
|
||||
AddGalleryClass: string;
|
||||
UpdateGalleryClass: string;
|
||||
DeleteGalleryClass: string;
|
||||
AdminGalleryList: string;
|
||||
GalleryClassList: string;
|
||||
GalleryDepoly: string;
|
||||
GalleryDelete: string;
|
||||
UserGalleryList: string;
|
||||
GalleryUpdate: string;
|
||||
GalleryUpdateBatch: string;
|
||||
GalleryIndexList: string;
|
||||
GalleryDetile: string;
|
||||
};
|
||||
//# sourceMappingURL=HostUrl.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"HostUrl.d.ts","sourceRoot":"","sources":["../../../src/Common/HostUrl.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY,QAAe,CAAC;AAEzC,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC;AACF,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AACF,eAAO,MAAM,MAAM;;;;;;CAMlB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;CAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ;;CAEpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,2BAA2B,CAAC;AAC1D,eAAO,MAAM,WAAW;;;;;;;CAOvB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;CASpB,CAAC;AACF,eAAO,MAAM,YAAY;;;;;;;;;;;;CAYxB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;CAItB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,YAAY;AACZ,eAAO,MAAM,SAAS;;;CAGrB,CAAC;AAEF,eAAe;AACf,eAAO,MAAM,SAAS,QAAmC,CAAC;AAE1D,mBAAmB;AACnB,eAAO,MAAM,cAAc,UAK1B,CAAC;AAEF,UAAU;AACV,eAAO,MAAM,kBAAkB,QAAqD,CAAC;AACrF,eAAO,MAAM,kBAAkB,QAAwD,CAAC;AAExF,eAAO,MAAM,eAAe,QAA2C,CAAC;AAExE,eAAO,MAAM,aAAa,QAAqC,CAAC;AAEhE,eAAO,MAAM,OAAO,QAAgC,CAAC;AAErD,eAAO,MAAM,OAAO,QAAuC,CAAC;AAC5D,eAAO,MAAM,aAAa,QAAqC,CAAC;AAEhE,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAGF,eAAO,MAAM,cAAc,QAAqC,CAAC;AAOjE,eAAO,IAAI,cAAc,QAAkC,CAAC;AAC5D,eAAO,IAAI,mBAAmB,QAAqC,CAAC;AAIpE,eAAO,MAAM,kBAAkB;;;;;;CAM9B,CAAC;AAGF,eAAO,MAAM,cAAc;;;;;;;;;;CAU1B,CAAC;AAGF,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAatB,CAAC"}
|
59
types/Common/HotKeyList.d.ts
vendored
59
types/Common/HotKeyList.d.ts
vendored
@@ -1,59 +0,0 @@
|
||||
export declare enum HotkeyList {
|
||||
C1 = "Control+1",
|
||||
C2 = "Control+2",
|
||||
CA = "Control+A",
|
||||
CB = "Control+B",
|
||||
CC = "Control+C",
|
||||
CD = "Control+D",
|
||||
CY = "Control+Y",
|
||||
CV = "Control+V",
|
||||
CM = "Control+M",
|
||||
CS = "Control+S",
|
||||
CZ = "Control+Z",
|
||||
CP = "Control+P",
|
||||
CA1 = "Control+Alt+1",
|
||||
CA2 = "Control+Alt+2",
|
||||
CA3 = "Control+Alt+3",
|
||||
CA4 = "Control+Alt+4",
|
||||
CA5 = "Control+Alt+5",
|
||||
CA6 = "Control+Alt+6",
|
||||
CA7 = "Control+Alt+7",
|
||||
CA8 = "Control+Alt+8",
|
||||
CA9 = "Control+Alt+9",
|
||||
CAE = "Control+Alt+E",
|
||||
CAP = "Control+Alt+P",
|
||||
CSC = "Control+Shift+C",
|
||||
A1 = "Alt+1",
|
||||
A2 = "Alt+2",
|
||||
A3 = "Alt+3",
|
||||
A4 = "Alt+4",
|
||||
A5 = "Alt+5",
|
||||
A6 = "Alt+6",
|
||||
A7 = "Alt+7",
|
||||
A8 = "Alt+8",
|
||||
A9 = "Alt+9",
|
||||
AD = "Alt+D",
|
||||
AS = "Alt+S",
|
||||
AF = "Alt+F",
|
||||
/**
|
||||
* ✨取消坐标
|
||||
*/
|
||||
AQ = "Alt+Q",
|
||||
/**
|
||||
* ✨移动坐标
|
||||
*/
|
||||
AW = "Alt+W",
|
||||
/**
|
||||
* ✨旋转坐标
|
||||
*/
|
||||
AE = "Alt+E",
|
||||
/**
|
||||
* ✨缩放坐标
|
||||
*/
|
||||
AR = "Alt+R",
|
||||
ADot = "Alt+`",
|
||||
D = "Delete",
|
||||
END = "End",
|
||||
F1 = "F1"
|
||||
}
|
||||
//# sourceMappingURL=HotKeyList.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"HotKeyList.d.ts","sourceRoot":"","sources":["../../../src/Common/HotKeyList.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAElB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,EAAE,cAAc;IAChB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,kBAAkB;IACrB,GAAG,oBAAoB;IACvB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ;;OAEG;IACH,EAAE,UAAU;IACZ;;OAEG;IACH,EAAE,UAAU;IACZ;;OAEG;IACH,EAAE,UAAU;IACZ;;OAEG;IACH,EAAE,UAAU;IACZ,IAAI,UAAU;IACd,CAAC,WAAW;IACZ,GAAG,QAAQ;IACX,EAAE,OAAO;CACZ"}
|
24
types/Common/InputState.d.ts
vendored
24
types/Common/InputState.d.ts
vendored
@@ -1,24 +0,0 @@
|
||||
/**
|
||||
* 控制器的状态,按位表示.
|
||||
* @enum {number}
|
||||
*/
|
||||
export declare enum InputState {
|
||||
None = 0,
|
||||
SelectIng = 1,
|
||||
Select = 2,
|
||||
GetPoint = 4,
|
||||
GetDist = 8,
|
||||
Entsel = 16,
|
||||
GetKeyWord = 32,
|
||||
GetRect = 64,
|
||||
GetString = 128,
|
||||
All = 255
|
||||
}
|
||||
export interface KeyWord {
|
||||
msg: string;
|
||||
key: string;
|
||||
disable?: boolean;
|
||||
children?: KeyWord[];
|
||||
}
|
||||
export declare const MenuDividerKWD: KeyWord;
|
||||
//# sourceMappingURL=InputState.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"InputState.d.ts","sourceRoot":"","sources":["../../../src/Common/InputState.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,oBAAY,UAAU;IAElB,IAAI,IAAI;IACR,SAAS,IAAI;IACb,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,MAAM,KAAK;IACX,UAAU,KAAK;IACf,OAAO,KAAK;IACZ,SAAS,MAAM;IACf,GAAG,MAAa;CACnB;AAID,MAAM,WAAW,OAAO;IAEpB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,EAAE,OAAqC,CAAC"}
|
28
types/Common/InterfereUtil.d.ts
vendored
28
types/Common/InterfereUtil.d.ts
vendored
@@ -1,28 +0,0 @@
|
||||
import { Geom3 } from "@jscad/modeling/src/geometries/types";
|
||||
import { Box3, Material, Mesh } from "three";
|
||||
import { ExtrudeHole } from "../DatabaseServices/3DSolid/ExtrudeHole";
|
||||
import { SweepSolid } from "../DatabaseServices/3DSolid/SweepSolid";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { ExtrudeSolid } from "../DatabaseServices/Entity/Extrude";
|
||||
import { HardwareCompositeEntity } from "../DatabaseServices/Hardware/HardwareCompositeEntity";
|
||||
import { OBB } from "../Geometry/OBB/obb";
|
||||
export type Solid3D = ExtrudeSolid | SweepSolid | ExtrudeHole;
|
||||
export declare class CheckInterfereTool {
|
||||
_MeshMaterial: Material;
|
||||
constructor(_MeshMaterial?: Material);
|
||||
static _SingleInstance: CheckInterfereTool;
|
||||
static GetInstance(): CheckInterfereTool;
|
||||
entitySet: Set<Solid3D>;
|
||||
objMap: [Mesh, [Solid3D, Solid3D]][];
|
||||
GetEntitys(selectEnts: (HardwareCompositeEntity | ExtrudeSolid | SweepSolid)[]): Solid3D[];
|
||||
IsSkipEntity(en: Entity): boolean;
|
||||
Check(selectEnts: (HardwareCompositeEntity | ExtrudeSolid | SweepSolid)[], progressCallBack?: (index: number, all: number) => void): Promise<[Mesh<import("three").Geometry | import("three").BufferGeometry, Material | Material[]>, [Solid3D, Solid3D]][]>;
|
||||
Clear(): void;
|
||||
csgCache: Map<Entity, Geom3>;
|
||||
private GetCSG;
|
||||
obbCache: Map<Entity, OBB>;
|
||||
private GetOBB;
|
||||
boxCache: Map<Entity, Box3>;
|
||||
private GetBox;
|
||||
}
|
||||
//# sourceMappingURL=InterfereUtil.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"InterfereUtil.d.ts","sourceRoot":"","sources":["../../../src/Common/InterfereUtil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,IA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terialEntity.d.ts
vendored
3
types/Common/IsMeshMaterialEntity.d.ts
vendored
@@ -1,3 +0,0 @@
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
export declare function IsMeshMaterialEntity(en: Entity): boolean;
|
||||
//# sourceMappingURL=IsMeshMaterialEntity.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"IsMeshMaterialEntity.d.ts","sourceRoot":"","sources":["../../../src/Common/IsMeshMaterialEntity.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAS3D,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAQxD"}
|
4
types/Common/JigMove.d.ts
vendored
4
types/Common/JigMove.d.ts
vendored
@@ -1,4 +0,0 @@
|
||||
import { Matrix4, Vector3 } from "three";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
export declare function JigMoveEntity(entitys: Entity[], pos?: Vector3): Promise<Matrix4 | undefined>;
|
||||
//# sourceMappingURL=JigMove.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"JigMove.d.ts","sourceRoot":"","sources":["../../../src/Common/JigMove.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,wBAAsB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,GAAG,UAAc,GAAG,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CA0CtG"}
|
300
types/Common/KeyEnum.d.ts
vendored
300
types/Common/KeyEnum.d.ts
vendored
@@ -1,300 +0,0 @@
|
||||
export declare enum MouseKey {
|
||||
Left = 0,
|
||||
Middle = 1,
|
||||
Right = 2
|
||||
}
|
||||
export declare enum KeyBoard {
|
||||
Digit1 = 49,
|
||||
Digit2 = 50,
|
||||
Digit3 = 51,
|
||||
Digit4 = 52,
|
||||
Digit5 = 53,
|
||||
Digit6 = 54,
|
||||
Digit7 = 55,
|
||||
Digit8 = 56,
|
||||
Digit9 = 57,
|
||||
Digit0 = 58,
|
||||
KeyA = 65,
|
||||
KeyB = 66,
|
||||
KeyC = 67,
|
||||
KeyD = 68,
|
||||
KeyE = 69,
|
||||
KeyF = 70,
|
||||
KeyG = 71,
|
||||
KeyH = 72,
|
||||
KeyI = 73,
|
||||
KeyJ = 74,
|
||||
KeyK = 75,
|
||||
KeyL = 76,
|
||||
KeyM = 77,
|
||||
KeyN = 78,
|
||||
KeyO = 79,
|
||||
KeyP = 80,
|
||||
KeyQ = 81,
|
||||
KeyR = 82,
|
||||
KeyS = 83,
|
||||
KeyT = 84,
|
||||
KeyU = 85,
|
||||
KeyV = 86,
|
||||
KeyW = 87,
|
||||
KeyX = 88,
|
||||
KeyY = 89,
|
||||
KeyZ = 90,
|
||||
/**
|
||||
* 逗号
|
||||
*/
|
||||
Comma = 188,
|
||||
CommaChrome = 229,
|
||||
/**
|
||||
* 句号
|
||||
*/
|
||||
Period = 190,
|
||||
/**
|
||||
* 分号
|
||||
*/
|
||||
Semicolon = 186,
|
||||
/**
|
||||
* 引号
|
||||
*/
|
||||
Quote = 222,
|
||||
/**
|
||||
* 左括号
|
||||
*/
|
||||
BracketLeft = 219,
|
||||
/**
|
||||
* 右括号
|
||||
*/
|
||||
BracketRight = 220,
|
||||
/**
|
||||
* 反引号
|
||||
*/
|
||||
Backquote = 192,
|
||||
/**
|
||||
* 反斜杠
|
||||
*/
|
||||
Backslash = 220,
|
||||
/**
|
||||
* 减号
|
||||
*/
|
||||
Minus = 189,
|
||||
/**
|
||||
* 等号
|
||||
*/
|
||||
Equal = 187,
|
||||
IntlRo = 193,
|
||||
IntlYen = 255,
|
||||
Alt = 18,
|
||||
/**
|
||||
* 大写锁定
|
||||
*/
|
||||
CapsLock = 20,
|
||||
Control = 17,
|
||||
/**
|
||||
* win左键
|
||||
*/
|
||||
OSLeft = 91,
|
||||
/**
|
||||
* win右键
|
||||
*/
|
||||
OSRight = 92,
|
||||
Shift = 16,
|
||||
ContextMenu = 93,
|
||||
Enter = 13,
|
||||
Space = 32,
|
||||
Backspace = 8,
|
||||
Tab = 9,
|
||||
Delete = 46,
|
||||
End = 35,
|
||||
Home = 36,
|
||||
Insert = 45,
|
||||
PageDown = 34,
|
||||
PageUp = 33,
|
||||
ArrowDown = 40,
|
||||
ArrowLeft = 37,
|
||||
ArrowRight = 39,
|
||||
ArrowUp = 38,
|
||||
Escape = 27,
|
||||
PrintScreen = 44,
|
||||
ScrollLock = 145,
|
||||
Pause = 19,
|
||||
F1 = 112,
|
||||
F2 = 113,
|
||||
F3 = 114,
|
||||
F5 = 116,
|
||||
F6 = 117,
|
||||
F7 = 118,
|
||||
F8 = 119,
|
||||
F9 = 120,
|
||||
F10 = 121,
|
||||
F11 = 122,
|
||||
F12 = 123,
|
||||
NumLock = 114,
|
||||
Numpad0 = 96,
|
||||
Numpad1 = 97,
|
||||
Numpad2 = 98,
|
||||
Numpad3 = 99,
|
||||
Numpad4 = 100,
|
||||
Numpad5 = 101,
|
||||
Numpad6 = 102,
|
||||
Numpad7 = 103,
|
||||
Numpad8 = 104,
|
||||
Numpad9 = 105,
|
||||
NumpadAdd = 107,
|
||||
NumpadDivide = 111,
|
||||
NumpadEqual = 12,
|
||||
NumpadMultiply = 106,
|
||||
NumpadSubtract = 109,
|
||||
NumpadDot = 110,
|
||||
NumpadDot1 = 190
|
||||
}
|
||||
export declare enum KeyCode {
|
||||
Digit1 = "Digit1",
|
||||
Digit2 = "Digit2",
|
||||
Digit3 = "Digit3",
|
||||
Digit4 = "Digit4",
|
||||
Digit5 = "Digit5",
|
||||
Digit6 = "Digit6",
|
||||
Digit7 = "Digit7",
|
||||
Digit8 = "Digit8",
|
||||
Digit9 = "Digit9",
|
||||
Digit0 = "Digit0",
|
||||
KeyA = "KeyA",
|
||||
KeyB = "KeyB",
|
||||
KeyC = "KeyC",
|
||||
KeyD = "KeyD",
|
||||
KeyE = "KeyE",
|
||||
KeyF = "KeyF",
|
||||
KeyG = "KeyG",
|
||||
KeyH = "KeyH",
|
||||
KeyI = "KeyI",
|
||||
KeyJ = "KeyJ",
|
||||
KeyK = "KeyK",
|
||||
KeyL = "KeyL",
|
||||
KeyM = "KeyM",
|
||||
KeyN = "KeyN",
|
||||
KeyO = "KeyO",
|
||||
KeyP = "KeyP",
|
||||
KeyQ = "KeyQ",
|
||||
KeyR = "KeyR",
|
||||
KeyS = "KeyS",
|
||||
KeyT = "KeyT",
|
||||
KeyU = "KeyU",
|
||||
KeyV = "KeyV",
|
||||
KeyW = "KeyW",
|
||||
KeyX = "KeyX",
|
||||
KeyY = "KeyY",
|
||||
KeyZ = "KeyZ",
|
||||
/**
|
||||
* 逗号
|
||||
*/
|
||||
Comma = "Comma",
|
||||
CommaChrome = "CommaChrome",
|
||||
/**
|
||||
* 句号
|
||||
*/
|
||||
Period = "Period",
|
||||
/**
|
||||
* 分号
|
||||
*/
|
||||
Semicolon = "Semicolon",
|
||||
/**
|
||||
* 引号
|
||||
*/
|
||||
Quote = "Quote",
|
||||
/**
|
||||
* 左括号
|
||||
*/
|
||||
BracketLeft = "BracketLeft",
|
||||
/**
|
||||
* 右括号
|
||||
*/
|
||||
BracketRight = "BracketRight",
|
||||
/**
|
||||
* 反引号
|
||||
*/
|
||||
Backquote = "Backquote",
|
||||
/**
|
||||
* 反斜杠
|
||||
*/
|
||||
Backslash = "Backslash",
|
||||
/**
|
||||
* 减号
|
||||
*/
|
||||
Minus = "Minus",
|
||||
/**
|
||||
* 等号
|
||||
*/
|
||||
Equal = "Equal",
|
||||
IntlRo = "IntlRo",
|
||||
IntlYen = "IntlYen",
|
||||
Alt = "Alt",
|
||||
AltLeft = "AltLeft",
|
||||
AltRight = "AltRight",
|
||||
/**
|
||||
* 大写锁定
|
||||
*/
|
||||
CapsLock = "CapsLock",
|
||||
Control = "Control",
|
||||
ControlLeft = "ControlLeft",
|
||||
ControlRight = "ControlRight",
|
||||
/**
|
||||
* win左键
|
||||
*/
|
||||
OSLeft = "OSLeft",
|
||||
/**
|
||||
* win右键
|
||||
*/
|
||||
OSRight = "OSRight",
|
||||
Shift = "Shift",
|
||||
ShiftLeft = "ShiftLeft",
|
||||
ShiftRight = "ShiftRight",
|
||||
ContextMenu = "ContextMenu",
|
||||
Enter = "Enter",
|
||||
Space = "Space",
|
||||
Backspace = "Backspace",
|
||||
Tab = "Tab",
|
||||
Delete = "Delete",
|
||||
End = "End",
|
||||
Home = "Home",
|
||||
Insert = "Insert",
|
||||
PageDown = "PageDown",
|
||||
PageUp = "PageUp",
|
||||
ArrowDown = "ArrowDown",
|
||||
ArrowLeft = "ArrowLeft",
|
||||
ArrowRight = "ArrowRight",
|
||||
ArrowUp = "ArrowUp",
|
||||
Escape = "Escape",
|
||||
PrintScreen = "PrintScreen",
|
||||
ScrollLock = "ScrollLock",
|
||||
Pause = "Pause",
|
||||
F1 = "F1",
|
||||
F2 = "F2",
|
||||
F3 = "F3",
|
||||
F5 = "F5",
|
||||
F6 = "F6",
|
||||
F7 = "F7",
|
||||
F8 = "F8",
|
||||
F9 = "F9",
|
||||
F10 = "F10",
|
||||
F11 = "F11",
|
||||
F12 = "F12",
|
||||
NumLock = "NumLock",
|
||||
Numpad0 = "Numpad0",
|
||||
Numpad1 = "Numpad1",
|
||||
Numpad2 = "Numpad2",
|
||||
Numpad3 = "Numpad3",
|
||||
Numpad4 = "Numpad4",
|
||||
Numpad5 = "Numpad5",
|
||||
Numpad6 = "Numpad6",
|
||||
Numpad7 = "Numpad7",
|
||||
Numpad8 = "Numpad8",
|
||||
Numpad9 = "Numpad9",
|
||||
NumpadAdd = "NumpadAdd",
|
||||
NumpadDivide = "NumpadDivide",
|
||||
NumpadEqual = "NumpadEqual",
|
||||
NumpadMultiply = "NumpadMultiply",
|
||||
NumpadSubtract = "NumpadSubtract",
|
||||
NumpadDot = "NumpadDot",
|
||||
NumpadDot1 = "NumpadDot1"
|
||||
}
|
||||
//# sourceMappingURL=KeyEnum.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"KeyEnum.d.ts","sourceRoot":"","sources":["../../../src/Common/KeyEnum.ts"],"names":[],"mappings":"AACA,oBAAY,QAAQ;IAEhB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,KAAK,IAAI;CACZ;AAED,oBAAY,QAAQ;IAGhB,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IAEX,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IAGT;;OAEG;IACH,KAAK,MAAM;IACX,WAAW,MAAM;IACjB;;OAEG;IACH,MAAM,MAAM;IACZ;;OAEG;IACH,SAAS,MAAM;IACf;;OAEG;IACH,KAAK,MAAM;IACX;;OAEG;IACH,WAAW,MAAM;IACjB;;OAEG;IACH,YAAY,MAAM;IAClB;;OAEG;IACH,SAAS,MAAM;IACf;;OAEG;IACH,SAAS,MAAM;IACf;;OAEG;IACH,KAAK,MAAM;IACX;;OAEG;IACH,KAAK,MAAM;IACX,MAAM,MAAM;IACZ,OAAO,MAAM;IAEb,GAAG,KAAK;IACR;;OAEG;IACH,QA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AO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,KAAK,UAAU;IAGf,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IAGX,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,SAAS,cAAc;IACvB,UAAU,eAAe;CAC5B"}
|
5
types/Common/LightUtils.d.ts
vendored
5
types/Common/LightUtils.d.ts
vendored
@@ -1,5 +0,0 @@
|
||||
import { Box3 } from "three";
|
||||
import { DirectionalLight } from "../DatabaseServices/Lights/DirectionalLight";
|
||||
export declare let ALL_MESH_EXT_BOX: Box3;
|
||||
export declare function CalcSunShadowCameraExtents(light: DirectionalLight, calcBox?: boolean): void;
|
||||
//# sourceMappingURL=LightUtils.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"LightUtils.d.ts","sourceRoot":"","sources":["../../../src/Common/LightUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAA2D,MAAM,OAAO,CAAC;AAEtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAO/E,eAAO,IAAI,gBAAgB,MAAa,CAAC;AAEzC,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,UAAO,QA2BjF"}
|
7
types/Common/LoadEquirectangularEnvMap.d.ts
vendored
7
types/Common/LoadEquirectangularEnvMap.d.ts
vendored
@@ -1,7 +0,0 @@
|
||||
import { Texture } from "three";
|
||||
/**
|
||||
* 用于加载环境贴图,自动旋转成z-up的texture
|
||||
* @param url
|
||||
*/
|
||||
export declare function LoadEquirectangularEnvMap(url: string): Promise<Texture>;
|
||||
//# sourceMappingURL=LoadEquirectangularEnvMap.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"LoadEquirectangularEnvMap.d.ts","sourceRoot":"","sources":["../../../src/Common/LoadEquirectangularEnvMap.ts"],"names":[],"mappings":"AACA,OAAO,EAA2L,OAAO,EAAsE,MAAM,OAAO,CAAC;AAO7R;;;GAGG;AACH,wBAAsB,yBAAyB,CAAC,GAAG,EAAE,MAAM,oBA2D1D"}
|
12
types/Common/Log.d.ts
vendored
12
types/Common/Log.d.ts
vendored
@@ -1,12 +0,0 @@
|
||||
type LogFunction = (message?: any, ...optionalParams: any[]) => void;
|
||||
export declare const _LogInjectFunctions: LogFunction[];
|
||||
export declare function Log(message?: any, ...optionalParams: any[]): void;
|
||||
export declare const LogEnable: {
|
||||
Display: boolean;
|
||||
};
|
||||
export declare const ReportErrorWrap: {
|
||||
ReportError: any;
|
||||
IsProduction: boolean;
|
||||
};
|
||||
export {};
|
||||
//# sourceMappingURL=Log.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Log.d.ts","sourceRoot":"","sources":["../../../src/Common/Log.ts"],"names":[],"mappings":"AACA,KAAK,WAAW,GAAG,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;AAErE,eAAO,MAAM,mBAAmB,EAAE,WAAW,EAAO,CAAC;AAErD,wBAAgB,GAAG,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,GAAG,IAAI,CAIjE;AAED,eAAO,MAAM,SAAS;;CAErB,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC"}
|
4
types/Common/Material.d.ts
vendored
4
types/Common/Material.d.ts
vendored
@@ -1,4 +0,0 @@
|
||||
export declare function guiScene(gui: any, scene: any, renderer: any, ambientLight: any): void;
|
||||
export declare function guiMaterial(gui: any, mesh: any, material: any, geometry: any): void;
|
||||
export declare function guiMeshBasicMaterial(gui: any, mesh: any, material: any, geometry: any): void;
|
||||
//# sourceMappingURL=Material.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Material.d.ts","sourceRoot":"","sources":["../../../src/Common/Material.ts"],"names":[],"mappings":"AA0PA,wBAAgB,QAAQ,CAAC,GAAG,KAAA,EAAE,KAAK,KAAA,EAAE,QAAQ,KAAA,EAAE,YAAY,KAAA,QA0B1D;AAqCD,wBAAgB,WAAW,CAAC,GAAG,KAAA,EAAE,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA,QAqBxD;AAED,wBAAgB,oBAAoB,CAAC,GAAG,KAAA,EAAE,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA,QA6BjE"}
|
55
types/Common/Matrix4Utils.d.ts
vendored
55
types/Common/Matrix4Utils.d.ts
vendored
@@ -1,55 +0,0 @@
|
||||
import { Matrix4, Vector2, Vector3 } from 'three';
|
||||
/**
|
||||
* 设置矩阵的某列的向量
|
||||
* @param {Matrix4} mtx 矩阵
|
||||
* @param {number} col 列索引,0x 1y 2z 3org
|
||||
* @param {Vector3} v 向量或点
|
||||
*/
|
||||
export declare function SetMtxVector(mtx: Matrix4, col: number, v: Vector3): void;
|
||||
/**
|
||||
* 返回矩阵,该坐标系将坐标系与原点的坐标系映射为坐标系,
|
||||
* 并将坐标系与X轴坐标系,
|
||||
* Y轴坐标轴以及Z轴坐标系统之间的坐标系统坐标系统的原点坐标系和原点坐标系统坐标轴的坐标系分别设置为XAxis,YAxis和ZAxis
|
||||
* @returns {Matrix4} 返回新的矩阵
|
||||
*/
|
||||
export declare function matrixAlignCoordSys(matrixFrom: Matrix4, matrixTo: Matrix4): Matrix4;
|
||||
/**
|
||||
* 判断2个矩形共面
|
||||
* @param {Matrix4} matrixFrom
|
||||
* @param {Matrix4} matrixTo
|
||||
* @returns {boolean} 2个矩阵共面
|
||||
*/
|
||||
export declare function matrixIsCoplane(matrixFrom: Matrix4, matrixTo: Matrix4, fuzz?: number): boolean;
|
||||
export declare function matrixScale(scale: number, center?: Vector3): Matrix4;
|
||||
export declare function MakeScaleMatrix(scaleX: number, scaleY: number, scaleZ: number, center?: Vector3): Matrix4;
|
||||
/**
|
||||
* 设置旋转矩阵,不改变矩阵的基点
|
||||
*/
|
||||
export declare function setRotationOnAxis(mtx: Matrix4, axis: Vector3, ro: number): Matrix4;
|
||||
/**
|
||||
* 修正镜像后矩阵
|
||||
*/
|
||||
export declare function reviseMirrorMatrix(mtx: Matrix4, index?: number): Matrix4;
|
||||
export declare function Vector2ApplyMatrix4(mtx: Matrix4, vec: Vector2): void;
|
||||
export declare function MakeMirrorMtx(planeNormal: Vector3, pos?: Vector3): Matrix4;
|
||||
/**
|
||||
* 对向量进行方向变换 (如果是pos 请使用pos.applyMatrix4)
|
||||
* @param vec 向量
|
||||
* @param m 矩阵
|
||||
* @returns vec
|
||||
*/
|
||||
export declare function TransformVector<T extends {
|
||||
x: number;
|
||||
y: number;
|
||||
z: number;
|
||||
}>(vec: T, m: Matrix4): T;
|
||||
export declare function MakeRotateMatrix4(cen: Vector3, axis: Vector3, angle: number, roMtx?: Matrix4): Matrix4;
|
||||
/**
|
||||
* 把变换矩阵展平成2d矩阵,避免出现三维坐标.
|
||||
*/
|
||||
export declare function MatrixPlanarizere(mtx: Matrix4, z0?: boolean): Matrix4;
|
||||
export declare function NormalMatrix(mtx: Matrix4): Matrix4;
|
||||
export declare function RoundMatrix(mtx: Matrix4, fuzz?: number): Matrix4;
|
||||
export declare const tempMatrix1: Matrix4;
|
||||
export declare const ZMirrorMatrix: Matrix4;
|
||||
//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AE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;CAAE,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,GAAG,CAAC,CAQrG;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAE,OAAqB,WAKzG;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,UAAO,WAYxD;AAMD,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,WAMxC;AAGD,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,SAAO,WAUpD;AAED,eAAO,MAAM,WAAW,SAAc,CAAC;AAEvC,eAAO,MAAM,aAAa,SAAsC,CAAC"}
|
2
types/Common/NumberDecimalAdjustment.d.ts
vendored
2
types/Common/NumberDecimalAdjustment.d.ts
vendored
@@ -1,2 +0,0 @@
|
||||
export declare function round10(value: number, exp: number): number;
|
||||
//# sourceMappingURL=NumberDecimalAdjustment.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"NumberDecimalAdjustment.d.ts","sourceRoot":"","sources":["../../../src/Common/NumberDecimalAdjustment.ts"],"names":[],"mappings":"AA+BA,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAG1D"}
|
3
types/Common/Report.d.ts
vendored
3
types/Common/Report.d.ts
vendored
@@ -1,3 +0,0 @@
|
||||
export declare const ReportFunctionList: ((msg: string) => void)[];
|
||||
export declare function SendReport(msg: string): void;
|
||||
//# sourceMappingURL=Report.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../../../src/Common/Report.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC,EAAO,CAAC;AAEhE,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,QAIrC"}
|
36
types/Common/Request.d.ts
vendored
36
types/Common/Request.d.ts
vendored
@@ -1,36 +0,0 @@
|
||||
export declare enum DirectoryId {
|
||||
None = "",
|
||||
FileDir = "1",
|
||||
MaterialDir = "2",
|
||||
ImgDir = "3",
|
||||
ToplineDir = "4",
|
||||
TemplateDir = "5",
|
||||
DrillingDir = "6",
|
||||
KnifePathDir = "7",
|
||||
Frame = "8",
|
||||
HistoryDit = "-1"
|
||||
}
|
||||
export declare enum RequestStatus {
|
||||
NoLogin = 88888,
|
||||
Ok = 0,
|
||||
NoPermission = 102,
|
||||
DeleteWarn1 = 401,
|
||||
DeleteWarn2 = 402,
|
||||
NoBuy = 3298,
|
||||
NoBuy1 = 3299,
|
||||
NoBuy2 = 3300,
|
||||
NoBuy3 = 3301,
|
||||
NoBuy4 = 3412,
|
||||
None = -1,
|
||||
OffLine = 44444,
|
||||
NoToken = 6600
|
||||
}
|
||||
export interface IResponseData {
|
||||
err_code: RequestStatus;
|
||||
err_msg: string;
|
||||
[key: string]: any;
|
||||
}
|
||||
export declare function PostJson<T = object>(url: string, body: Exclude<T, BodyInit>, isShowErrMsg?: boolean): Promise<IResponseData>;
|
||||
export declare function Post(url: string, body?: BodyInit, isShowErrMsg?: boolean): Promise<IResponseData>;
|
||||
export declare function uploadLogo(blob: Blob): Promise<string>;
|
||||
//# sourceMappingURL=Request.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../src/Common/Request.ts"],"names":[],"mappings":"AAMA,oBAAY,WAAW;IAEnB,IAAI,KAAK;IACT,OAAO,MAAM;IACb,WAAW,MAAM;IACjB,MAAM,MAAM;IACZ,UAAU,MAAM;IAChB,WAAW,MAAM;IACjB,WAAW,MAAM;IACjB,YAAY,MAAM;IAClB,KAAK,MAAM;IACX,UAAU,OAAO;CACpB;AAED,oBAAY,aAAa;IAErB,OAAO,QAAQ;IACf,EAAE,IAAI;IACN,YAAY,MAAM;IAClB,WAAW,MAAM;IACjB,WAAW,MAAM;IACjB,KAAK,OAAO;IACZ,MAAM,OAAO;IACb,MAAM,OAAO;IACb,MAAM,OAAO;IACb,MAAM,OAAO;IACb,IAAI,KAAK;IACT,OAAO,QAAQ;IACf,OAAO,OAAO;CACjB;AACD,MAAM,WAAW,aAAa;IAE1B,QAAQ,EAAE,aAAa,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,wBAAsB,QAAQ,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,YAAY,UAAO,0BAGtG;AAED,wBAAsB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,EAAE,YAAY,UAAO,GAAG,OAAO,CAAC,aAAa,CAAC,CAsDpG;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,IAAI,mBAc1C"}
|
14
types/Common/SelectEntity.d.ts
vendored
14
types/Common/SelectEntity.d.ts
vendored
@@ -1,14 +0,0 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare enum SelectEntityType {
|
||||
Board = "Board",
|
||||
Curve = "Curve",
|
||||
Dim = "Dim"
|
||||
}
|
||||
export declare class Command_SelectEntity implements Command {
|
||||
private entityType;
|
||||
private msg;
|
||||
constructor(entityType: any, msg?: string);
|
||||
Transparency: boolean;
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=SelectEntity.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"SelectEntity.d.ts","sourceRoot":"","sources":["../../../src/Common/SelectEntity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,oBAAY,gBAAgB;IAExB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,GAAG,QAAQ;CACd;AAED,qBAAa,oBAAqB,YAAW,OAAO;IAEpC,OAAO,CAAC,UAAU;IAAO,OAAO,CAAC,GAAG;gBAA5B,UAAU,EAAE,GAAG,EAAU,GAAG,SAAU;IAE1D,YAAY,UAAQ;IAEd,IAAI;CAcb"}
|
32
types/Common/SerializeMaterial.d.ts
vendored
32
types/Common/SerializeMaterial.d.ts
vendored
@@ -1,32 +0,0 @@
|
||||
import { Vector3 } from "three";
|
||||
import { ExtrudeHole } from "../DatabaseServices/3DSolid/ExtrudeHole";
|
||||
import { Database } from "../DatabaseServices/Database";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { Polyline } from "../DatabaseServices/Entity/Polyline";
|
||||
import { PhysicalMaterialRecord } from "../DatabaseServices/PhysicalMaterialRecord";
|
||||
import { TemplateParam } from "../DatabaseServices/Template/Param/TemplateParam";
|
||||
import { TemplateRecord } from "../DatabaseServices/Template/TemplateRecord";
|
||||
export declare function MaterialOut(material: PhysicalMaterialRecord): string;
|
||||
export declare function MaterialIn(fileData: Object[]): PhysicalMaterialRecord;
|
||||
export declare function TemplateOut(template: TemplateRecord, tempDb?: Database): string;
|
||||
export declare function TemplateIn(fileData: Object[]): TemplateRecord;
|
||||
export declare function TemplateParamsOut(params: TemplateParam[]): string;
|
||||
export declare function TemplateParamsIn(paramsData: Object[][]): TemplateParam[];
|
||||
/**反序列化材质并加入图纸*/
|
||||
export declare function MaterialInAndAppendAppData(fileData: Object[], name?: string): PhysicalMaterialRecord;
|
||||
export declare function deflate(data: string): string;
|
||||
export declare function deflateBase64Async(data: string): Promise<string>;
|
||||
export declare function dataURItoBlob(dataURI: string): Blob;
|
||||
export declare function toplineFileIn(json: string): Polyline;
|
||||
export declare function getPolylineSVG(en: Polyline): string;
|
||||
/**
|
||||
* 获取当前图纸的缩略图(预览图)
|
||||
*/
|
||||
export declare function GetCurrentViewPreViewImage(restore?: boolean, isBase64?: boolean): Blob | string;
|
||||
export declare function ExtrudeDrillFileIn(data: any[]): ExtrudeHole;
|
||||
export declare function GetEntitysLogo(ens: Entity[], isConceptual?: boolean, dir?: Vector3, isBase64?: boolean): Promise<string | Blob>;
|
||||
export declare function GroupOut(ens: Entity[]): string;
|
||||
export declare function GroupFileIn(fileData: Object[]): Entity[];
|
||||
export declare function EntitysOut(ens: Entity[], callback?: (en: any) => void): string;
|
||||
export declare function EntitysIn(datalist: any[]): Entity[];
|
||||
//# sourceMappingURL=SerializeMaterial.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"SerializeMaterial.d.ts","sourceRoot":"","sources":["../../../src/Common/SerializeMaterial.ts"],"names":[],"mappings":"AACA,OAAO,EAAkC,OAAO,EAAE,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAS7E,wBAAgB,WAAW,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,CAUpE;AAED,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,sBAAsB,CAMrE;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,cAAc,EAAE,MAAM,WAAmC,UAiB9F;AACD,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,cAAc,CAK7D;AACD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,aAAa,EAAE,UAUxD;AACD,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,mBAWtD;AAED,gBAAgB;AAChB,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAWpG;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,UAKnC;AAED,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,mBAOpD;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,QAyB5C;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,YAOzC;AAED,wBAAgB,cAAc,CAAC,EAAE,EAAE,QAAQ,UA0B1C;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,UAAO,EAAE,QAAQ,UAAQ,GAAG,IAAI,GAAG,MAAM,CAc1F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,eAM7C;AAGD,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,YAAY,UAAQ,EAAE,GAAG,UAAwB,EAAE,QAAQ,UAAQ,0BAkDtH;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,UAUrC;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAWxD;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,QAAQ,CAAC,EAAE,CAAC,EAAE,KAAA,KAAK,IAAI,UAYhE;AACD,wBAAgB,SAAS,CAAC,QAAQ,EAAE,GAAG,EAAE,YAMxC"}
|
3
types/Common/SetMaterial.d.ts
vendored
3
types/Common/SetMaterial.d.ts
vendored
@@ -1,3 +0,0 @@
|
||||
import { Material, Object3D } from "three";
|
||||
export declare function SetMaterial(obj: Object3D, material: Material): void;
|
||||
//# sourceMappingURL=SetMaterial.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"SetMaterial.d.ts","sourceRoot":"","sources":["../../../src/Common/SetMaterial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3C,wBAAgB,WAAW,CAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,QAe5D"}
|
5
types/Common/ShowSelectObjects.d.ts
vendored
5
types/Common/ShowSelectObjects.d.ts
vendored
@@ -1,5 +0,0 @@
|
||||
import { Object3D } from "three";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
export declare const ShowObjectsFunctionList: ((ens: (Entity[]) | Object3D[]) => void)[];
|
||||
export declare function ShowSelectObjects(ens: (Entity[]) | Object3D[]): void;
|
||||
//# sourceMappingURL=ShowSelectObjects.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"ShowSelectObjects.d.ts","sourceRoot":"","sources":["../../../src/Common/ShowSelectObjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAE3D,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,GAAG,QAAQ,EAAE,KAAK,IAAI,CAAC,EAAO,CAAC;AAEtF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,GAAG,QAAQ,EAAE,QAI7D"}
|
12
types/Common/Singleton.d.ts
vendored
12
types/Common/Singleton.d.ts
vendored
@@ -1,12 +0,0 @@
|
||||
/**
|
||||
* 构造单例类的静态类.
|
||||
* # Example:
|
||||
* class A extends Singleton(){};
|
||||
* //获得单例
|
||||
* let a = A.GetInstance();
|
||||
*/
|
||||
export declare class Singleton {
|
||||
protected constructor();
|
||||
static GetInstance<T = any>(): T;
|
||||
}
|
||||
//# sourceMappingURL=Singleton.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Singleton.d.ts","sourceRoot":"","sources":["../../../src/Common/Singleton.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,qBAAa,SAAS;IAElB,SAAS;IAGT,MAAM,CAAC,WAAW,CAAC,CAAC,GAAG,GAAG,KAAK,CAAC;CASnC"}
|
2
types/Common/Sleep.d.ts
vendored
2
types/Common/Sleep.d.ts
vendored
@@ -1,2 +0,0 @@
|
||||
export declare function Sleep(time: number): Promise<unknown>;
|
||||
//# sourceMappingURL=Sleep.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Sleep.d.ts","sourceRoot":"","sources":["../../../src/Common/Sleep.ts"],"names":[],"mappings":"AAAA,wBAAsB,KAAK,CAAC,IAAI,EAAE,MAAM,oBAMvC"}
|
23
types/Common/Status.d.ts
vendored
23
types/Common/Status.d.ts
vendored
@@ -1,23 +0,0 @@
|
||||
export declare enum Status {
|
||||
False = 0,
|
||||
True = 1,
|
||||
Canel = -1,
|
||||
ConverToCircle = 101,
|
||||
DuplicateRecordName = 102
|
||||
}
|
||||
export declare enum UpdateDraw {
|
||||
None = 0,
|
||||
Matrix = 1,
|
||||
Geometry = 2,
|
||||
Material = 4,
|
||||
All = 63
|
||||
}
|
||||
/**
|
||||
* WblockClne时,遇到重复记录的操作方式
|
||||
*/
|
||||
export declare enum DuplicateRecordCloning {
|
||||
Ignore = 1,
|
||||
Replace = 2,
|
||||
Rename = 3
|
||||
}
|
||||
//# sourceMappingURL=Status.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../../src/Common/Status.ts"],"names":[],"mappings":"AAGA,oBAAY,MAAM;IAEd,KAAK,IAAI;IACT,IAAI,IAAI;IACR,KAAK,KAAK;IAEV,cAAc,MAAM;IAEpB,mBAAmB,MAAM;CAC5B;AAED,oBAAY,UAAU;IAElB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,QAAQ,IAAI;IACZ,GAAG,KAAa;CACnB;AAED;;GAEG;AACH,oBAAY,sBAAsB;IAE9B,MAAM,IAAI;IACV,OAAO,IAAI;IACX,MAAM,IAAI;CACb"}
|
25
types/Common/StoreageKeys.d.ts
vendored
25
types/Common/StoreageKeys.d.ts
vendored
@@ -1,25 +0,0 @@
|
||||
export declare enum StoreageKeys {
|
||||
IsLogin = "isLogin",
|
||||
PlatSession = "platSession",
|
||||
PlatToken = "platToken",
|
||||
UserName = "userName",
|
||||
UserPhone = "userPhone",
|
||||
ShopName = "shopName",
|
||||
AgentShopName = "AgentShopName",
|
||||
AgentPhone = "AgentPhone",
|
||||
VersionName = "VersionName",
|
||||
RegisterTime = "RegisterTime",
|
||||
RenderType = "renderType",
|
||||
ExactDrill = "openExactDrill",
|
||||
ConfigName = "configName_",
|
||||
IsNewErp = "isNewErp",
|
||||
RoomName = "roomName",
|
||||
LastOpenFileId = "lastfid",
|
||||
Uid = "uid",
|
||||
Goods = "Goods_",
|
||||
DrillTemp = "drilltemp_",
|
||||
DrillReactor = "drillRreactor",
|
||||
kjlConfig = "kjl",
|
||||
HistoryWs = "HistoryWs"
|
||||
}
|
||||
//# sourceMappingURL=StoreageKeys.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"StoreageKeys.d.ts","sourceRoot":"","sources":["../../../src/Common/StoreageKeys.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IAEpB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IAErB,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAE7B,UAAU,eAAe;IACzB,UAAU,mBAAmB;IAC7B,UAAU,gBAAgB;IAC1B,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,cAAc,YAAY;IAC1B,GAAG,QAAQ;IACX,KAAK,WAAW;IAChB,SAAS,eAAe;IACxB,YAAY,kBAAkB;IAC9B,SAAS,QAAQ;IACjB,SAAS,cAAc;CAC1B"}
|
11
types/Common/StretchParse.d.ts
vendored
11
types/Common/StretchParse.d.ts
vendored
@@ -1,11 +0,0 @@
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { SelectSet } from "../Editor/SelectSet";
|
||||
export interface StretchData {
|
||||
moveEntityList: Entity[];
|
||||
stretchEntityMap: {
|
||||
ent: Entity;
|
||||
indexs: Array<number>;
|
||||
}[];
|
||||
}
|
||||
export declare function StretchParse(ss: SelectSet): StretchData;
|
||||
//# sourceMappingURL=StretchParse.d.ts.map
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user