diff --git a/types/Add-on/ArcBoard/ArcBoardBuild.d.ts b/types/Add-on/ArcBoard/ArcBoardBuild.d.ts deleted file mode 100644 index 9658ec2..0000000 --- a/types/Add-on/ArcBoard/ArcBoardBuild.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { BufferGeometry, Matrix4, Vector3 } from "three"; -import { Arc } from "../../DatabaseServices/Entity/Arc"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { Line } from "../../DatabaseServices/Entity/Line"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -import { FuzzyFactory } from "../../csg/core/FuzzyFactory"; -import { FaceDirection } from "../DrawDrilling/DrillType"; -export declare class ArcBoardBuild { - private _board; - private _SweepPath; - private _SweepAngle; - private _FaceDir; - private _SweepLengths; - private _SweepCurves1; - private _SweepCurves2; - private _SweepPath1; - private _SweepPath2; - _OCS2RotateMtx: Matrix4; - _Rotate2OCSMtx: Matrix4; - constructor(_board: Board, _SweepPath?: Polyline, _SweepAngle?: number, _FaceDir?: FaceDirection); - get SweepPath1(): Polyline; - get SweepPath2(): Polyline; - ParseContourLength(): void; - static OffsetPolyline(path: Polyline, dist: number): Polyline; - get OCS2RotateMtx(): Matrix4; - get Rotate2OCSMtx(): Matrix4; - ParseRotateMtx(): void; - get SweepCurves1(): (Line | Arc)[]; - get SweepCurves2(): (Line | Arc)[]; - ParseSweepCurves(): this; - get SweepLengths(): number[]; - get SweepLength(): number; - private _SweepEndDists; - get SweepEndDists(): number[]; - _CacheFuzzXFactory: FuzzyFactory; - _Cache_X_PosDirMap: Map; - _CornerFuzzFactory: FuzzyFactory; - _CornerSet: Set; - /** 临时板 计算平板的CSG */ - _csgBoard: Board; - /** 切割的位置 */ - private _splitXList; - get CSGBoard(): Board; - get SplitXList(): number[]; - /** 解析切割的位置 */ - private ParseSplitXlist; - /** 解析临时板 */ - private ParseCSGBoard; - /** 生成圆弧板的Geometry */ - BuildMeshEdgeGeom(): [BufferGeometry, BufferGeometry]; - /** 生成大孔面 */ - BuildBigHoleFace(): BufferGeometry; - private ParseCorner; - ParseAllX_Map(xs: number[]): void; - ParseAllX_Map_BigHole(xs: number[]): [FuzzyFactory, Map]; - PosMap2ArcPos(p: Vector3, cacheFuzzXFactory?: FuzzyFactory, cache_X_PosDirMap?: Map): void; -} -//# sourceMappingURL=ArcBoardBuild.d.ts.map \ No newline at end of file diff --git a/types/Add-on/ArcBoard/ArcBoardBuild.d.ts.map b/types/Add-on/ArcBoard/ArcBoardBuild.d.ts.map deleted file mode 100644 index a0cef04..0000000 --- a/types/Add-on/ArcBoard/ArcBoardBuild.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ArcBoardBuild.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ArcBoard/ArcBoardBuild.ts"],"names":[],"mappings":"AAQA,OAAO,EAAmB,cAAc,EAAS,OAAO,EAAS,OAAO,EAAE,MAAM,OAAO,CAAC;AAIxF,OAAO,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AACxD,OAAO,EAAE,KAAK,EAAa,MAAM,qCAAqC,CAAC;AAGvE,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAOlE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG1D,qBAAa,aAAa;IAkBV,OAAO,CAAC,MAAM;IAEtB,OAAO,CAAC,UAAU;IAElB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,QAAQ;IApBpB,OAAO,CAAC,aAAa,CAAW;IAEhC,OAAO,CAAC,aAAa,CAAiB;IACtC,OAAO,CAAC,aAAa,CAAiB;IAEtC,OAAO,CAAC,WAAW,CAAW;IAC9B,OAAO,CAAC,WAAW,CAAW;IAG9B,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;gBAKJ,MAA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OAAO,EAAE,iBAAiB,eAA0B,EAAE,iBAAiB,kCAA0B;CAkBrH"} \ No newline at end of file diff --git a/types/Add-on/ArcBoard/ArcBoardFeeding.d.ts b/types/Add-on/ArcBoard/ArcBoardFeeding.d.ts deleted file mode 100644 index cca4d4f..0000000 --- a/types/Add-on/ArcBoard/ArcBoardFeeding.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Board, IModeling } from "../../DatabaseServices/Entity/Board"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -import { FaceDirection } from "../DrawDrilling/DrillType"; -export interface ArcBoardOptions { - arcLength: number; - grooveSpacing: number; - grooveWidth: number; - retainedThickness: number; - knifeRadius: number; - grooveAddLength: number; - grooveAddWidth: number; - grooveAddDepth: number; - arcExtension: number; -} -export declare const defultArcBoardOption: ArcBoardOptions; -/** - * 解析圆弧板需要的走刀数据 - * @param br - * @param path 圆弧放样路径 - * @param angle 角度 - * @param dir 圆弧板见光面 见光面正面走刀颜色黄色,背面颜色红色 - * @param [onlyVert=false] 仅解析交点位置 (默认解析所有的槽) - * @returns 返回需要增加的槽的数据 - */ -export declare function ParseBoardArcFeed(br: Board, path: Polyline, angle: number, dir: FaceDirection, arcBoardOptions: Map, onlyVert?: boolean): IModeling[]; -//# sourceMappingURL=ArcBoardFeeding.d.ts.map \ No newline at end of file diff --git a/types/Add-on/ArcBoard/ArcBoardFeeding.d.ts.map b/types/Add-on/ArcBoard/ArcBoardFeeding.d.ts.map deleted file mode 100644 index f4199cc..0000000 --- a/types/Add-on/ArcBoard/ArcBoardFeeding.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ArcBoardFeeding.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ArcBoard/ArcBoardFeeding.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAIlE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG1D,MAAM,WAAW,eAAe;IAE5B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;CACxB;AAGD,eAAO,MAAM,oBAAoB,EAAE,eAUlC,CAAC;AAGF;;;;;;;;KAQK;AACL,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,EAAE,QAAQ,UAAQ,GAAG,SAAS,EAAE,CAmK5K"} \ No newline at end of file diff --git a/types/Add-on/BoardCutting/BoardCuttingForSweep.d.ts b/types/Add-on/BoardCutting/BoardCuttingForSweep.d.ts deleted file mode 100644 index 821e38a..0000000 --- a/types/Add-on/BoardCutting/BoardCuttingForSweep.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Board } from "../../DatabaseServices/Entity/Board"; -import { ExtrudeSolid } from "../../DatabaseServices/Entity/Extrude"; -/** - * @Finish 目前已实现 - * 1. 圆弧板垂直切普通板 - * 2. 普通板穿透切圆弧板 - * @TODO 当前问题记录 - * 1. 普通板切圆弧板,凹槽的长度与厚度如何确定?(目前写死厚度切穿, 长度切断) - * 2. 圆弧板切普通版, 若二者不垂直,存在夹角,怎么办?(目前不考虑) - * 3. 圆弧板切圆弧板,如何处理?(目前不考虑) - * 4. 平行情况,如何处理?(目前不考虑) - * @Log 2024/06/20 - * 处理问题1:采用CSG的包围盒与路径求交方式,来确定凹槽的长度 - * @Log 2024/06/21 - * 发现问题并处理: 若圆弧板为异形板,垂直切普通板,生成的凹槽还是整段路径 - * 发现问题并处理: 由于精度问题,导致切割后在切割,依旧有交集,故这里加了体积过滤 - * @Log 2024/06/25 - * 优化: 优化体积过滤,改用CSG真实的体积计算 - * 重构: 重构了代码结构,修复了普通板切圆弧板的bug(采用点集投影,而非之前的包围盒) - * @Log 2024/06/26 - * 处理问题2:采用对CSG上下面进行投影,然后转为面域做并集,从而生成凹槽 - * @Log 2024/06/27 - * 优化问题2:面域的布尔运算很慢,容易造成肉眼可见的卡顿(约1-2秒),现在改用project - * @Log 2024/07/02 - * 发现问题并处理: project存在精度问题,导致凹槽的长度不准确,故做了修正(若快切断则为切断) - * @Log 2024/07/10 - * 优化: 当普通版斜切圆弧板时,采用逆映射生成凹槽轮廓,而非原有的矩形轮廓 - * @Log 2024/07/11 - * 优化: 改用C2R生成凹槽的轮廓线,而非之前的project(因为它不准) - * 处理问题3:通过逆映射实现圆弧板切圆弧板 - */ -/** 针对圆弧板的板件切割*/ -export declare class BoardCuttingForSweep { - private meat; - private knife; - /** 生成圆弧板的切割器*/ - constructor(meat: Board, knife: Board); - /** 生成凹槽 */ - ConverToLocalGroove(): ExtrudeSolid[]; - /** 圆弧板切普通板 */ - private ArcCutBoard; - /** 普通板切圆弧板 */ - private BoardCutArc; - /** 圆弧板切圆弧板 */ - private ArcCutArc; - /** 更新凹槽厚度 */ - private UpdateGrooveThickness; - /** 计算点集到多段线的距离 */ - private GetDistToPl; - /** 对CSG进行逆映射(根据放样路径) */ - private InverseCSG; - /** 对CSG进行投影,返回点集 */ - private ProjectCSGToPts; - /** 对CSG进行投影,返回多段线 */ - private CSGToPolyline; - /** 获取CSG在路径上的param范围 */ - private GetParamRange; - /** 获取pA-pB之间的曲线 */ - private Get_Pl_InAtoB; - /** 修正轮廓线(避免造型的布尔运算错误) */ - private AdjustPolyline; - /** 调整点到线的最近点 */ - private AdjustPtClosePl; -} -//# sourceMappingURL=BoardCuttingForSweep.d.ts.map \ No newline at end of file diff --git a/types/Add-on/BoardCutting/BoardCuttingForSweep.d.ts.map b/types/Add-on/BoardCutting/BoardCuttingForSweep.d.ts.map deleted file mode 100644 index 95cd77a..0000000 --- a/types/Add-on/BoardCutting/BoardCuttingForSweep.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoardCuttingForSweep.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/BoardCuttingForSweep.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAOrE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,gBAAgB;AAChB,qBAAa,oBAAoB;IAGjB,OAAO,CAAC,IAAI;IAAS,OAAO,CAAC,KAAK;IAD9C,eAAe;gBACK,IAAI,EAAE,KAAK,EAAU,KAAK,EAAE,KAAK;IAMrD,WAAW;IACX,mBAAmB;IAmBnB,cAAc;IACd,OAAO,CAAC,WAAW;IA2GnB,cAAc;IACd,OAAO,CAAC,WAAW;IA4GnB,cAAc;IACd,OAAO,CAAC,SAAS;IAkDjB,aAAa;IACb,OAAO,CAAC,qBAAqB;IAiD7B,kBAAkB;IAClB,OAAO,CAAC,WAAW;IAWnB,wBAAwB;IACxB,OAAO,CAAC,UAAU;IAuBlB,oBAAoB;IACpB,OAAO,CAAC,eAAe;IAgCvB,qBAAqB;IACrB,OAAO,CAAC,aAAa;IAmBrB,wBAAwB;IACxB,OAAO,CAAC,aAAa;IAsBrB,mBAAmB;IACnB,OAAO,CAAC,aAAa;IAUrB,yBAAyB;IACzB,OAAO,CAAC,cAAc;IAiBtB,gBAAgB;IAChB,OAAO,CAAC,eAAe;CAO1B"} \ No newline at end of file diff --git a/types/Add-on/BoardCutting/LinearCuttingForSweep.d.ts b/types/Add-on/BoardCutting/LinearCuttingForSweep.d.ts deleted file mode 100644 index eab8a49..0000000 --- a/types/Add-on/BoardCutting/LinearCuttingForSweep.d.ts +++ /dev/null @@ -1,137 +0,0 @@ -import { Matrix4, Vector2, Vector3 } from "three"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { Line } from "../../DatabaseServices/Entity/Line"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -/** 针对圆弧板的线性切割 */ -export declare class LinearCuttingForSweep { - br: Board; - splitPl: Polyline; - /** 点集生成二维刀 */ - static CreateSplitPl(pts: Vector3[]): Polyline; - /** 生成圆弧板的切割器*/ - constructor(br: Board, splitPl: Polyline); - /** - * 进行切割 - * @param {Polyline[]} clipPls 用于切割的刀 - * @returns {[Polyline[], Polyline[], {x:number; y:number}[]]} [切割后轮廓, 切割后路径, 切割后轮廓的偏移值] - * @第一步 判断当前切割的视图类型 - * @第二步 根据视图类型判断切割的是路径还是面 - * @第三步 把被切割对象(路径与板包围盒)平移到对应视图的平面 - * @第四步 旋转被切割对象到XOY平面 - * @第五步 在XOY平面下进行切割 - */ - Split(ucs: Matrix4, clipPls?: Polyline[]): [Polyline[], Polyline[], { - x: number; - y: number; - }[]]; - /** - * 切割面 - * @param {Polyline} sweepPathInWCS 放样路径 - * @param {Line[]} brBoxLines 板包围盒 - * @param {Polyline} pathBoxPl 路径包围盒 - * @第一步 计算刀与板包围盒的交点,以及在盒内的顶点,记住采样点 - * @第二步 记录采样点在刀上的位置,并移动到路径所在的平面 - * @第三步 根据采样点生成垂直于XOY平面的直线 - * @第四步 计算这些直线与路径的交点 - * @第五步 将这些交点映射到展开后的路径上 - * @第六步 根据记录的位置排序这些点,并生成新的刀 - */ - SplitInPlane(sweepPathInWCS: Polyline, brBoxLines: Line[], pathBoxPl: Polyline): [Polyline[], Polyline[], { - x: number; - y: number; - }[]]; - /** 判断视图类型 */ - private GetViewStr; - /** 判断切割的是路径还是面 */ - private IsPathOrPlane; - /** 获取调整角度(用于处理放样角度带来的影响) */ - private GetAdjustAngle; - /** 统一板包围盒与路径包围盒一致 */ - private UnifyBrBoxAndPathBox; - /** 平移路径到对应视图平面 */ - private MovePathToView; - /** 平移板包围盒到对应视图平面 */ - private MoveBrBoxToView; - /** 旋转到俯视图下(即XOY平面) */ - private RotateToXOY; - /** 修正放样角度带来的影响(比如求不到交点) */ - private AdjustForSweepAngle; - /** 对路径进行细化 */ - private Tessellate; - /** 规范超出的部分 */ - private AdjustOverBox; - /** 获取板件坐标系下的放样路径 */ - private GetSweepPathInOCS; - /** 获取板件坐标系下的放样路径并与板件的边对齐 */ - private GetSweepPathInOCSWithBr; - /** 求得的板包围盒的交点与盒内的顶点 */ - private GetPtsInbrBox; - /** 切割路径 */ - SplitInPath(sweepPathInWCS: Polyline): [Polyline[], Polyline[], { - x: number; - y: number; - }[]]; - /** 获取原始位置与切割位置的变换信息 */ - private GetPositionData; - /** 旋转平移到切割位置 */ - private ToSplitPosition; - /** 平移旋转到原始位置 */ - private ReSplitPosition; - /** 用刀去切割板(包括轮廓与路径) */ - private SplitBrByKnifes; - /** - * @todo 这个是旧方案,先临时用一用,后面再重构 - * 针对圆弧板进行切割 - * @param br 被切割的板 - * @param clipPls 用于切割的线 - * @问 圆弧板的切割与普通板有何区别? - * @答 切割位置应变长(因为板弯曲了,而板轮廓没有),且放样路径也应被切割 - * @着手点 [1]修正板轮廓的切割位置 [2]获取正确的放样路径集 - * @修正位置 通过param进行逆映射,从而得到正确的切割位置 - * @获取路径 首先要明确一件事,路径需要改变,是因为切割后的板的基点(aabb中X最小的点)可能发生变化 - * 所以,我们需要根据新的基点生成新的路径,新基点沿路径方向与旧基点的差值(恒正)作为生成新路径的切割线(垂直X轴) - * 若切割线与路径平行,则新旧基点一致,无需修改 - */ - private SplitBySweep; - /** 获得新的刀(多段线) */ - private GetSplitPls; - /** 获取被切割后的放样路径集 */ - private GetSweepPaths; -} -/** 视图类型 */ -export declare enum ViewType { - Normal = "\u6B63\u89C6\u56FE", - Front = "\u524D\u89C6\u56FE", - Left = "\u5DE6\u89C6\u56FE", - Right = "\u53F3\u89C6\u56FE", - Down = "\u4FEF\u89C6\u56FE", - Unknown = "\u672A\u77E5\u89C6\u56FE" -} -/** 视图管理器 */ -export declare class ViewManager { - /** 获取视图对应的矩阵 */ - static GetViewMatrix(viewType: ViewType): Matrix4; - /** 判断矩阵位于哪个视图 */ - static MatrixIsView(m: Matrix4): ViewType.Front | ViewType.Left | ViewType.Right | ViewType.Down | ViewType.Unknown; -} -/** 线段管理器 */ -export declare class CurveManager { - /** X轴的平行线 */ - static CreateXLine: (p: Vector3) => Line; - /** Y轴的平行线 */ - static CreateYLine: (p: Vector3) => Line; - /** Z轴的平行线 */ - static CreateZLine: (p: Vector3) => Line; - /** 通过点集生成多段线 */ - static CreatePolyline: (ps: Vector2[]) => Polyline; - static CreateExpandPl(pl: Polyline): Polyline; - /** 绘制矩阵所表示的坐标系 */ - static CreateAxis(m: Matrix4): Line[]; - /** 点集转线段簇 */ - static PtsToLines(pts: Vector3[]): Line[]; - /** 线段簇转多段线 */ - static LinesToPl(lines: Line[]): Polyline; - /** 获取pA-pB之间的曲线 */ - static Get_Pl_InPtAtoPtB(pl: Polyline, pA: Vector3, pB: Vector3): Polyline; -} -//# sourceMappingURL=LinearCuttingForSweep.d.ts.map \ No newline at end of file diff --git a/types/Add-on/BoardCutting/LinearCuttingForSweep.d.ts.map b/types/Add-on/BoardCutting/LinearCuttingForSweep.d.ts.map deleted file mode 100644 index 802672b..0000000 --- a/types/Add-on/BoardCutting/LinearCuttingForSweep.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LinearCuttingForSweep.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/LinearCuttingForSweep.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,QAA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AE,OAAO,EAAE,EAAE,EAAE,OAAO;CAelE"} \ No newline at end of file diff --git a/types/Add-on/BoardCutting/SplitBoardSideModel.d.ts b/types/Add-on/BoardCutting/SplitBoardSideModel.d.ts deleted file mode 100644 index 8e89091..0000000 --- a/types/Add-on/BoardCutting/SplitBoardSideModel.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Board } from "../../DatabaseServices/Entity/Board"; -export declare class SplitBoardSideModelUtil { - private OrgBoardOCS; - private CacheSideModel; - private OldSealCurves; - constructor(br: Board); - Init(br: Board, isSpecialShape?: boolean): void; - CheckSideModel(): boolean; - SetBoardSideModel(br: Board): void; - SpiltSideModelOfBrContour(br: Board): void; - SpiltSideModelOfBrThickness(br: Board, thickness: number): void; -} -//# sourceMappingURL=SplitBoardSideModel.d.ts.map \ No newline at end of file diff --git a/types/Add-on/BoardCutting/SplitBoardSideModel.d.ts.map b/types/Add-on/BoardCutting/SplitBoardSideModel.d.ts.map deleted file mode 100644 index 05dc997..0000000 --- a/types/Add-on/BoardCutting/SplitBoardSideModel.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SplitBoardSideModel.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/SplitBoardSideModel.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAa5D,qBAAa,uBAAuB;IAGhC,OAAO,CAAC,WAAW,CAA0B;IAC7C,OAAO,CAAC,cAAc,CAA0C;IAChE,OAAO,CAAC,aAAa,CAAe;gBAExB,EAAE,EAAE,KAAK;IAKrB,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,cAAc,UAAQ;IA2BtC,cAAc,IAAI,OAAO;IASzB,iBAAiB,CAAC,EAAE,EAAE,KAAK;IAW3B,yBAAyB,CAAC,EAAE,EAAE,KAAK;IA4GnC,2BAA2B,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;CAmD3D"} \ No newline at end of file diff --git a/types/Add-on/BoardCutting/SplitPolyline.d.ts b/types/Add-on/BoardCutting/SplitPolyline.d.ts deleted file mode 100644 index 78fa903..0000000 --- a/types/Add-on/BoardCutting/SplitPolyline.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -/** - * 线性切割多线段 - * @param {Polyline} meatPl 被切割的曲线 - * @param {Polyline[]} knifePls 刀曲线 - * @param {boolean} [isSweep = false] 是否为圆弧板(被切割的曲线是否为圆弧板的轮廓) - * @return {Polyline[]} 切割后的多线段 - */ -export declare function SplitPolyline(meatPl: Polyline, knifePls: Polyline[], isSweep?: boolean): Polyline[]; -//# sourceMappingURL=SplitPolyline.d.ts.map \ No newline at end of file diff --git a/types/Add-on/BoardCutting/SplitPolyline.d.ts.map b/types/Add-on/BoardCutting/SplitPolyline.d.ts.map deleted file mode 100644 index 821f3a2..0000000 --- a/types/Add-on/BoardCutting/SplitPolyline.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SplitPolyline.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/SplitPolyline.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAKlE;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,OAAO,UAAQ,GAAG,QAAQ,EAAE,CA+DjG"} \ No newline at end of file diff --git a/types/Add-on/BoardEditor/Board2Regions.d.ts b/types/Add-on/BoardEditor/Board2Regions.d.ts deleted file mode 100644 index 9782472..0000000 --- a/types/Add-on/BoardEditor/Board2Regions.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Board } from "../../DatabaseServices/Entity/Board"; -import { Region } from "../../DatabaseServices/Entity/Region"; -/** - * 把板件炸开成面域,0,1为正反面,其余的为边面(没有圆弧面) - */ -export declare function Board2Regions(br: Board): Region[]; -//# sourceMappingURL=Board2Regions.d.ts.map \ No newline at end of file diff --git a/types/Add-on/BoardEditor/Board2Regions.d.ts.map b/types/Add-on/BoardEditor/Board2Regions.d.ts.map deleted file mode 100644 index 2dbc2db..0000000 --- a/types/Add-on/BoardEditor/Board2Regions.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Board2Regions.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardEditor/Board2Regions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAI5D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAE9D;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAE,EAAE,KAAK,GAAG,MAAM,EAAE,CAwCjD"} \ No newline at end of file diff --git a/types/Add-on/BoardEditor/SerializeBoardData.d.ts b/types/Add-on/BoardEditor/SerializeBoardData.d.ts deleted file mode 100644 index 9c0a4a3..0000000 --- a/types/Add-on/BoardEditor/SerializeBoardData.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { CADFiler } from "../../DatabaseServices/CADFiler"; -import { I2DModeling, I3DModeling } from "../../DatabaseServices/Entity/Board"; -import { ExtrudeSolid } from "../../DatabaseServices/Entity/Extrude"; -import { BoardProcessOption } from "../../UI/Store/OptionInterface/BoardProcessOption"; -/**序列化板件数据 */ -export declare function serializeBoardData(file: CADFiler, processData: BoardProcessOption): void; -export declare function deserializationBoardData(file: CADFiler, processData: BoardProcessOption, ver: number): void; -export declare function SerializeBoard2DModeingData(file: CADFiler, modelList: I2DModeling[]): void; -export declare function SerializeBoard3DModeingData(file: CADFiler, modelList: I3DModeling[]): void; -export declare function DeserializationBoard2DModeingData(file: CADFiler, data: I2DModeling[], ver: number): void; -export declare function DeserializationBoard3DModeingData(file: CADFiler, data: I3DModeling[], ver: number): void; -export declare function SerializeBoardSideModeingData(file: CADFiler, sideModelingMap: Map): void; -export declare function DeserializationBoardSideModeingData(file: CADFiler, sideModelingMap: Map): void; -//# sourceMappingURL=SerializeBoardData.d.ts.map \ No newline at end of file diff --git a/types/Add-on/BoardEditor/SerializeBoardData.d.ts.map b/types/Add-on/BoardEditor/SerializeBoardData.d.ts.map deleted file mode 100644 index e2e0995..0000000 --- a/types/Add-on/BoardEditor/SerializeBoardData.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SerializeBoardData.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardEditor/SerializeBoardData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAa,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAErE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AAEvF,aAAa;AACb,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,QAqCjF;AAGD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,QAyDpG;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,QAmBnF;AACD,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,QAiBnF;AAGD,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,GAAG,EAAE,MAAM,QAuCjG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,GAAG,EAAE,MAAM,QAwBjG;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,QAYzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,QAmB/G"} \ No newline at end of file diff --git a/types/Add-on/DrawBoard/ActivityLayerBoardTool.d.ts b/types/Add-on/DrawBoard/ActivityLayerBoardTool.d.ts deleted file mode 100644 index f6e1c2b..0000000 --- a/types/Add-on/DrawBoard/ActivityLayerBoardTool.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Board } from "../../DatabaseServices/Entity/Board"; -import { INailRule, IShinkOption, LayerNailOption } from "../../UI/Store/OptionInterface/IOptionInterface"; -declare class ActivityLayerBoardTool { - NailRules: INailRule[]; - /** - * 求面与板的交点 得到板和交点 - * @param face 层板的侧面 - * @param objects 其他板 - * @param br 层板 - * @returns 交点信息(点 实体) - */ - private GetBoardIntersection; - private IntersectFace; - private GetShrinkDist; - private GetShrinkBoardIndexesMap; - private GetRuleCount; - private BuildNails; - private RayPoint; - Start(brs: Board[], nailOption: LayerNailOption, rules?: INailRule[], option?: IShinkOption): void; - private AppendBoard; - private HandleNailList; -} -export declare const activityLayerBoardTool: ActivityLayerBoardTool; -export {}; -//# sourceMappingURL=ActivityLayerBoardTool.d.ts.map \ No newline at end of file diff --git a/types/Add-on/DrawBoard/ActivityLayerBoardTool.d.ts.map b/types/Add-on/DrawBoard/ActivityLayerBoardTool.d.ts.map deleted file mode 100644 index 0d8c9dc..0000000 --- a/types/Add-on/DrawBoard/ActivityLayerBoardTool.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ActivityLayerBoardTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/ActivityLayerBoardTool.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAS5D,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAC;AAE3G,cAAM,sBAAsB;IAExB,SAAS,EAAE,SAAS,EAAE,CAAC;IAEvB;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;IAe5B,OAAO,CAAC,aAAa;IAwCrB,OAAO,CAAC,aAAa;IAuBrB,OAAO,CAAC,wBAAwB;IAiBhC,OAAO,CAAC,YAAY;IAapB,OAAO,CAAC,UAAU;IA6ClB,OAAO,CAAC,QAAQ;IAMhB,KAAK,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,eAAe,EAAE,KAAK,GAAE,SAAS,EAAO,EAAE,MAAM,CAAC,EAAE,YAAY;IA0G/F,OAAO,CAAC,WAAW;IAuCnB,OAAO,CAAC,cAAc;CA6CzB;AAED,eAAO,MAAM,sBAAsB,wBAA+B,CAAC"} \ No newline at end of file diff --git a/types/Add-on/DrawBoard/BuildBoardTool.d.ts b/types/Add-on/DrawBoard/BuildBoardTool.d.ts deleted file mode 100644 index 174a767..0000000 --- a/types/Add-on/DrawBoard/BuildBoardTool.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Vector3 } from "three"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { TemplateWineRackRecord } from "../../DatabaseServices/Template/ProgramTempate/TemplateWineRackRecord"; -import { TemplateRecord } from "../../DatabaseServices/Template/TemplateRecord"; -import { ISpaceParse } from "../../Geometry/SpaceParse/ISpaceParse"; -import { BehindBoardOption, IGrooveOption, LayerBoardOption, VerticalBoardOption } from "../../UI/Store/OptionInterface/IOptionInterface"; -export declare function BuildLayerBoards(opt: LayerBoardOption, space: ISpaceParse, grooveOption?: IGrooveOption): Promise; -export declare function BuildVerticalBoards(opt: VerticalBoardOption, space: ISpaceParse, grooveOption?: IGrooveOption): Promise; -export declare function BuildBehindBoards(opt: BehindBoardOption, space: ISpaceParse, grooveOption?: IGrooveOption): Promise; -export declare function ExtendsBoardThickness(temp: TemplateRecord, thickness: number): void; -export declare function ExtendsbrThick2(temp: TemplateWineRackRecord): void; -export declare function AppendTemplateParam(template: TemplateRecord, name: string, value: number, expr: string, description: string): void; -export declare function CreateTemplateParam(template: TemplateRecord, size: Vector3, opt: LayerBoardOption | BehindBoardOption | VerticalBoardOption, grooveOption?: IGrooveOption): void; -//# sourceMappingURL=BuildBoardTool.d.ts.map \ No newline at end of file diff --git a/types/Add-on/DrawBoard/BuildBoardTool.d.ts.map b/types/Add-on/DrawBoard/BuildBoardTool.d.ts.map deleted file mode 100644 index c6eaee4..0000000 --- a/types/Add-on/DrawBoard/BuildBoardTool.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BuildBoardTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/BuildBoardTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAG5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAC;AAC/G,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAG1I,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,gBAAgB,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CA8FhI;AAED,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,mBAAmB,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAyFtI;AAED,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAiGlI;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,QAY5E;AACD,wBAAgB,eAAe,CAAC,IAAI,EAAE,sBAAsB,QAoB3D;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAQlI;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,EAAE,YAAY,CAAC,EAAE,aAAa,GAAG,IAAI,CAgBhL"} \ No newline at end of file diff --git a/types/Add-on/DrawBoard/BuildTopBottomBoardTool.d.ts b/types/Add-on/DrawBoard/BuildTopBottomBoardTool.d.ts deleted file mode 100644 index a64274d..0000000 --- a/types/Add-on/DrawBoard/BuildTopBottomBoardTool.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Board } from "../../DatabaseServices/Entity/Board"; -import { ISpaceParse } from "../../Geometry/SpaceParse/ISpaceParse"; -import { TBBoardOption } from "../../UI/Store/OptionInterface/IOptionInterface"; -export declare function BuildTopBottomBoards(topOpt: TBBoardOption, bottomOpt: TBBoardOption, space: ISpaceParse): Board[]; -//# sourceMappingURL=BuildTopBottomBoardTool.d.ts.map \ No newline at end of file diff --git a/types/Add-on/DrawBoard/BuildTopBottomBoardTool.d.ts.map b/types/Add-on/DrawBoard/BuildTopBottomBoardTool.d.ts.map deleted file mode 100644 index 1cf8406..0000000 --- a/types/Add-on/DrawBoard/BuildTopBottomBoardTool.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BuildTopBottomBoardTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/BuildTopBottomBoardTool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAG5D,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAEhF,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,GAAG,KAAK,EAAE,CAsCjH"} \ No newline at end of file diff --git a/types/Add-on/DrawBoard/CuttingProtrudingPart.d.ts b/types/Add-on/DrawBoard/CuttingProtrudingPart.d.ts deleted file mode 100644 index e207e2d..0000000 --- a/types/Add-on/DrawBoard/CuttingProtrudingPart.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Board } from "../../DatabaseServices/Entity/Board"; -import { ObjectId } from "../../DatabaseServices/ObjectId"; -/** - * 缺口(柱子、梁)柜内空间绘制层立板自动按缺口尺寸绘制出异形板件0 - * 切割凸出部分 - * - * @param {Entity} knifeBrs 切割的刀 - * @param {Board[]} brs - */ -export declare function CuttingProtrudingPart(knifeBrs: Set, brs: Board[]): Board[]; -//# sourceMappingURL=CuttingProtrudingPart.d.ts.map \ No newline at end of file diff --git a/types/Add-on/DrawBoard/CuttingProtrudingPart.d.ts.map b/types/Add-on/DrawBoard/CuttingProtrudingPart.d.ts.map deleted file mode 100644 index 37acd0f..0000000 --- a/types/Add-on/DrawBoard/CuttingProtrudingPart.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CuttingProtrudingPart.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/CuttingProtrudingPart.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAI5D,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAE3D;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CA0CpF"} \ No newline at end of file diff --git a/types/Add-on/DrawDrilling/DrillType.d.ts b/types/Add-on/DrawDrilling/DrillType.d.ts deleted file mode 100644 index 65fee2c..0000000 --- a/types/Add-on/DrawDrilling/DrillType.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - *勿随意更改属性名,若更改,需更改对应UI模态框的属性和检验方法的key - * - */ -export declare enum DrillType { - Yes = "\u6392", - None = "\u4E0D\u6392", - More = "**\u591A\u79CD**", - Invail = "\u65E0\u6548\u914D\u7F6E" -} -export declare enum FaceDirection { - Front = 0, - Back = 1, - Inside = 2 -} -//# sourceMappingURL=DrillType.d.ts.map \ No newline at end of file diff --git a/types/Add-on/DrawDrilling/DrillType.d.ts.map b/types/Add-on/DrawDrilling/DrillType.d.ts.map deleted file mode 100644 index ace2107..0000000 --- a/types/Add-on/DrawDrilling/DrillType.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DrillType.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawDrilling/DrillType.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAY,SAAS;IAEjB,GAAG,WAAM;IACT,IAAI,iBAAO;IACX,IAAI,qBAAW;IACf,MAAM,6BAAS;CAClB;AAKD,oBAAY,aAAa;IAErB,KAAK,IAAI;IACT,IAAI,IAAI;IACR,MAAM,IAAI;CACb"} \ No newline at end of file diff --git a/types/Add-on/DrawDrilling/HoleUtils.d.ts b/types/Add-on/DrawDrilling/HoleUtils.d.ts deleted file mode 100644 index f1a8dbd..0000000 --- a/types/Add-on/DrawDrilling/HoleUtils.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Matrix4 } from "three"; -import { CylinderHole } from "../../DatabaseServices/3DSolid/CylinderHole"; -import { ExtrudeHole } from "../../DatabaseServices/3DSolid/ExtrudeHole"; -import { Hole } from "../../DatabaseServices/3DSolid/Hole"; -import { Board } from "../../DatabaseServices/Entity/Board"; -export declare const SCALAR = 0.1; -export declare function CyHoleInBoard(cys: CylinderHole[], br: Board, ocs: Matrix4, checkAll?: boolean): boolean; -/** - * 板的排钻 <上下左右> - */ -export interface IBoardRectHoleType { - up: string; - down: string; - left: string; - right: string; -} -/**分析上下左右排钻 */ -export declare function ParseBoardRectHoleType(br: Board, outBrRectHoleType?: IBoardRectHoleType): IBoardRectHoleType; -export declare function ExtureHoleInBoard(holes: ExtrudeHole[], board: Board, ocs: Matrix4): boolean; -export declare function HoleInBoard(holes: Hole[], br: Board, ocs?: Matrix4): boolean; -/**上下左右排钻写入到板件的高级排钻中 */ -export declare function SetBrHighHoleTypeFromRectHoleType(br: Board, brRectHoleType: IBoardRectHoleType): void; -//# sourceMappingURL=HoleUtils.d.ts.map \ No newline at end of file diff --git a/types/Add-on/DrawDrilling/HoleUtils.d.ts.map b/types/Add-on/DrawDrilling/HoleUtils.d.ts.map deleted file mode 100644 index d81f3e9..0000000 --- a/types/Add-on/DrawDrilling/HoleUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"HoleUtils.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawDrilling/HoleUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAW,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,YAAY,EAAiB,MAAM,6CAA6C,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAS5D,eAAO,MAAM,MAAM,MAAM,CAAC;AAE1B,wBAAgB,aAAa,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,UAAQ,WAiI3F;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAE/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,cAAc;AACd,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,KAAK,EAAE,iBAAiB,GAAE,kBAA8B,sBA2BlG;AACD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,WAIjF;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,OAAO,WAYlE;AAED,uBAAuB;AACvB,wBAAgB,iCAAiC,CAAC,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,kBAAkB,QA+B9F"} \ No newline at end of file diff --git a/types/Add-on/DrawWineRack/DrawObliqueWineRackTool.d.ts b/types/Add-on/DrawWineRack/DrawObliqueWineRackTool.d.ts deleted file mode 100644 index 6155809..0000000 --- a/types/Add-on/DrawWineRack/DrawObliqueWineRackTool.d.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { Matrix4, Vector3 } from "three"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -import { ISpaceParse } from "../../Geometry/SpaceParse/ISpaceParse"; -import { EWineRackStyle, IR2WROption, IWineRackOption } from "../../UI/Store/WineRackInterface"; -import { DrawWineRackTool } from "./DrawWinRackTool"; -export interface IWineRackData { - basePt: Vector3; - brLength: number; -} -export interface IParsePlRes { - isOk: boolean; - isLeft?: boolean; - pl?: Polyline; - length?: number; - matInv?: Matrix4; - basePt?: Vector3; - thickness?: number; - isVer?: boolean; - isRo?: boolean; -} -interface GetWineRackDataOption { - width: number; - height: number; - gripWidth: number; - brThick: number; - widthCount: number; - heightCount: number; - lWRDataList: IWineRackData[]; - rWRDataList: IWineRackData[]; -} -export declare const R2WRTolerance = 0.001; -/** - * 斜酒格 - */ -export declare class DrawObliqueWineRackTool extends DrawWineRackTool { - Parse(space: ISpaceParse, config: IWineRackOption): void; - private CalGridWidth; - /**获取矩形多段线的4个对角点并判断是否有效 */ - private GetRect4Pts; - /**获取矩形一边的点 */ - private GetRect2Pts; - /**按格子宽获取酒格数据 */ - private CalcWineRackDataByWidth; - private CalcWineRackDataByCount; - CalcWineRackDataByFixed(lWRDataList: IWineRackData[], rWRDataList: IWineRackData[], wineRackStyle: EWineRackStyle): { - width: number; - height: number; - }; - /**构建酒格正面多段线组*/ - CalculationRectPolylineArr(ptMid: Vector3, rectPl: Polyline, gripWidth: number): Polyline[]; - /**构建酒格正面多段线*/ - CalculationRectPolyline(pt: Vector3, rectPl: Polyline): Polyline; - GetWineRackData(option: GetWineRackDataOption, wineRackStyle: EWineRackStyle): void; - /** - * 获取酒格数据半格优先 - * @param {{width: number 总宽 - * height: number 总高 - * gripWidth: number 半格宽 - * brThick: number 板厚 - * widthCount: number 半格宽数量 - * heightCount: number 半格高数量 - * lWRDataList: IWineRackData[], 往左倒 - * rWRDataList: IWineRackData[], 往右倒 - * }} option - * @memberof DrawObliqueWineRackTool - */ - GetWineRackDataPreferentialSemilattice(option: { - width: number; - height: number; - gripWidth: number; - brThick: number; - widthCount: number; - heightCount: number; - lWRDataList: IWineRackData[]; - rWRDataList: IWineRackData[]; - }): void; - /** - * 获取酒格数据整格优先 - * @param {{width: number 总宽 - * height: number 总高 - * gripWidth: number 半格宽 - * brThick: number 板厚 - * widthCount: number 半格宽数量 - * heightCount: number 半格高数量 - * lWRDataList: IWineRackData[], //往左倒 - * rWRDataList: IWineRackData[], //往右倒 - * }} option - * @memberof DrawObliqueWineRackTool - */ - GetWineRackDataPreferentialWholeLattice(option: { - width: number; - height: number; - gripWidth: number; - brThick: number; - widthCount: number; - heightCount: number; - lWRDataList: IWineRackData[]; - rWRDataList: IWineRackData[]; - }): void; - /**根据酒格数据获取多段线 */ - private CreatePolylineByWineData; - /**根据多段线组构建酒格 */ - protected DrawBoardFormPolyLine(pls: Polyline[], actualWidth?: number, config?: IR2WROption): void; - private ParsePolyLine; - /**绘制酒格 */ - private CreateBoard; - /**构建酒格形状,加入齿 */ - private GetPolyline; -} -export {}; -//# sourceMappingURL=DrawObliqueWineRackTool.d.ts.map \ No newline at end of file diff --git a/types/Add-on/DrawWineRack/DrawObliqueWineRackTool.d.ts.map b/types/Add-on/DrawWineRack/DrawObliqueWineRackTool.d.ts.map deleted file mode 100644 index 4c33a9f..0000000 --- a/types/Add-on/DrawWineRack/DrawObliqueWineRackTool.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DrawObliqueWineRackTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawWineRack/DrawObliqueWineRackTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAW,OAAO,EAAE,MAAM,OAAO,CAAC;AAMlD,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAElE,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,OAAO,EAAwC,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACtI,OAAO,EAAE,gBAAgB,EAAS,MAAM,mBAAmB,CAAC;AAE5D,MAAM,WAAW,aAAa;IAE1B,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAEpB;AACD,MAAM,WAAW,WAAW;IAExB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,qBAAqB;IAE3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM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,MAAM,EAAE;QAC5C,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,aAAa,EAAE,CAAC;QAC7B,WAAW,EAAE,aAAa,EAAE,CAAC;KAChC;IA4ID,iBAAiB;IACjB,OAAO,CAAC,wBAAwB;IA8BhC,gBAAgB;IAChB,SAAS,CAAC,qBAAqB,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW;IAkB3F,OAAO,CAAC,aAAa;IAsHrB,UAAU;IACV,OAAO,CAAC,WAAW;IAyEnB,gBAAgB;IAChB,OAAO,CAAC,WAAW;CAsEtB"} \ No newline at end of file diff --git a/types/Add-on/DrawWineRack/DrawUprightWineRackTool.d.ts b/types/Add-on/DrawWineRack/DrawUprightWineRackTool.d.ts deleted file mode 100644 index 76eaca6..0000000 --- a/types/Add-on/DrawWineRack/DrawUprightWineRackTool.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Board } from "../../DatabaseServices/Entity/Board"; -import { ISpaceParse } from "../../Geometry/SpaceParse/ISpaceParse"; -import { IWineRackOption } from "../../UI/Store/WineRackInterface"; -import { DrawWineRackTool } from "./DrawWinRackTool"; -/** - * 正酒格 - */ -export declare class DrawUprightWineRackTool extends DrawWineRackTool { - Parse(space: ISpaceParse, config: IWineRackOption): void; - BuildBoard(gripHeight: number, spaceWidth: number, spaceHeight: number, space: ISpaceParse): void; - ParseBrTooth(br: Board, gripHeight?: number): void; -} -//# sourceMappingURL=DrawUprightWineRackTool.d.ts.map \ No newline at end of file diff --git a/types/Add-on/DrawWineRack/DrawUprightWineRackTool.d.ts.map b/types/Add-on/DrawWineRack/DrawUprightWineRackTool.d.ts.map deleted file mode 100644 index 2faf798..0000000 --- a/types/Add-on/DrawWineRack/DrawUprightWineRackTool.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DrawUprightWineRackTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawWineRack/DrawUprightWineRackTool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAI5D,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAmB,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,gBAAgB;IAEzD,KAAK,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,eAAe;IA8EjD,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW;IA6B1F,YAAY,CAAC,EAAE,EAAE,KAAK,EAAE,UAAU,CAAC,EAAE,MAAM;CAsD9C"} \ No newline at end of file diff --git a/types/Add-on/DrawWineRack/DrawWinRackTool.d.ts b/types/Add-on/DrawWineRack/DrawWinRackTool.d.ts deleted file mode 100644 index e1dfa47..0000000 --- a/types/Add-on/DrawWineRack/DrawWinRackTool.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Singleton } from "../../Common/Singleton"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { ISpaceParse } from "../../Geometry/SpaceParse/ISpaceParse"; -import { IWineRackOption } from "../../UI/Store/WineRackInterface"; -export declare const SIN45: number; -export declare class DrawWineRackTool extends Singleton { - private _config; - protected space: ISpaceParse; - boardlist: Board[]; - get Config(): IWineRackOption; - Parse(space: ISpaceParse, config: IWineRackOption): void; - /** 拾取空间周围的板件柜名房名等信息*/ - protected GetBoardProcessOption(br: Board): void; - /**分析高级封边数据 */ - protected ParseHighSealing(br: Board, leftSealed: number, rightSealed: number, topSealed: number, downSealed: number, isLeft: boolean): void; - /**补板 */ - protected AddLayerOrVerticalBoard(actWidth: number, actHeight: number): void; -} -//# sourceMappingURL=DrawWinRackTool.d.ts.map \ No newline at end of file diff --git a/types/Add-on/DrawWineRack/DrawWinRackTool.d.ts.map b/types/Add-on/DrawWineRack/DrawWinRackTool.d.ts.map deleted file mode 100644 index 2776760..0000000 --- a/types/Add-on/DrawWineRack/DrawWinRackTool.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DrawWinRackTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawWineRack/DrawWinRackTool.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,OAAO,EAAwC,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAGzG,eAAO,MAAM,KAAK,QAAwB,CAAC;AAE3C,qBAAa,gBAAiB,SAAQ,SAAS;IAE3C,OAAO,CAAC,OAAO,CAAkB;IACjC,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IACtB,SAAS,EAAE,KAAK,EAAE,CAAM;IAC/B,IAAI,MAAM,oBAGT;IACD,KAAK,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,eAAe;IAsBjD,sBAAsB;IACtB,SAAS,CAAC,qBAAqB,CAAC,EAAE,EAAE,KAAK;IAuBzC,cAAc;IACd,SAAS,CAAC,gBAAgB,CAAC,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO;IAiDrI,QAAQ;IACR,SAAS,CAAC,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;CAgFxE"} \ No newline at end of file diff --git a/types/Add-on/FilletUtils.d.ts b/types/Add-on/FilletUtils.d.ts deleted file mode 100644 index 0f54e07..0000000 --- a/types/Add-on/FilletUtils.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Matrix4, Vector3 } from "three"; -import { Arc } from "../DatabaseServices/Entity/Arc"; -import { Curve } from "../DatabaseServices/Entity/Curve"; -import { Polyline } from "../DatabaseServices/Entity/Polyline"; -import { PromptEntityResult, PromptPointResult } from "../Editor/PromptResult"; -declare enum ExtendType { - Start = 1, - End = 2 -} -export interface FilletRes { - cu1?: Curve; - cu1Extend?: ExtendType; - cu2?: Curve; - cu2Extend?: ExtendType; - arc?: Arc; -} -export declare class FilletUtils { - FilletRadius: number; - Fillet(enRes1: PromptEntityResult, enRes2: PromptEntityResult): FilletRes; - private FilletLineOrArc; - /** - * 设置直线的坐标系 以便可以正确的被偏移 - * @param {Curve} cu - * @param {Matrix4} newOCS - */ - SetCurveOCS(cu: Curve, newOCS: Matrix4): void; - FilletPolyLineSelf(enRes1: PromptEntityResult, enRes2: PromptEntityResult): FilletRes; - private FilletPolylineAndCurve; - FilletPolyLineAllAngular(enRes1: PromptEntityResult): FilletRes; - FindNearestPt(pts: Vector3[], target: Vector3): Vector3; - FilletBoard(brRes: PromptEntityResult, ptRes: PromptPointResult): Polyline | string; - /** - * 平行线倒角 - */ - private FilletParallelLine; - /** - * 计算圆弧与圆弧没有交点的情况下倒角结果. - * @param enRes1 - * @param enRes2 - * @returns arc and arc - */ - private FilletArcAndArc; - /** - * 计算直线与圆弧没有交点(或相切)的情况下倒角结果 - * @param enRes1 - * @param enRes2 - * @returns line and cir - */ - private FilletLineAndArc; - private GetIntersectAndSort; - /** - * 对图元列表进行按位编码,类型映射如下: - * # 1:line 2:arc 4:polyline - * @param enRes - * @param enRes2 - * @returns - */ - private EnCode; - private ComputerDerv; - private ComputerDerv2; - private ExtendPt; - /** - * 切割或者延伸曲线,尖角化 - * - * @param cu 处理的曲线 - * @param interPt 原先的相交点 - * @param pickPoint 鼠标点击点 - * @returns 返回新的曲线 - */ - private SplitCurve; -} -export {}; -//# sourceMappingURL=FilletUtils.d.ts.map \ No newline at end of file diff --git a/types/Add-on/FilletUtils.d.ts.map b/types/Add-on/FilletUtils.d.ts.map deleted file mode 100644 index e036e4a..0000000 --- a/types/Add-on/FilletUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FilletUtils.d.ts","sourceRoot":"","sources":["../../../src/Add-on/FilletUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAGrD,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAGzD,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AA6D/E,aAAK,UAAU;IAEX,KAAK,IAAI;IACT,GAAG,IAAI;CACV;AAED,MAAM,WAAW,SAAS;IAEtB,GAAG,CAAC,EAAE,KAAK,CAAC;IACZ,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,GAAG,CAAC,EAAE,KAAK,CAAC;IACZ,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,GAAG,CAAC,EAAE,GAAG,CAAC;CACb;AAID,qBAAa,WAAW;IAEpB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,kBAAkB,GAAG,SAAS;IA2BzE,OAAO,CAAC,eAAe;IA8FvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO;IAYtC,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,kBAAkB,GAAG,SAAS;IAsIrF,OAAO,CAAC,sBAAsB;IA4G9B,wBAAwB,CAAC,MAAM,EAAE,kBAAkB,GAAG,SAAS;IA6D/D,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO;IAgBvD,WAAW,CAAC,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,iBAAiB,GAAG,QAAQ,GAAG,MAAM;IA8BnF;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAmF1B;;;;;OAKG;IACH,OAAO,CAAC,eAAe;IAqEvB;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAkGxB,OAAO,CAAC,mBAAmB;IAe3B;;;;;;OAMG;IACH,OAAO,CAAC,MAAM;IAUd,OAAO,CAAC,YAAY;IAkBpB,OAAO,CAAC,aAAa;IAYrB,OAAO,CAAC,QAAQ;IAQhB;;;;;;;OAOG;IACH,OAAO,CAAC,UAAU;CA2ErB"} \ No newline at end of file diff --git a/types/Add-on/HideSelect/HideSelectUtils.d.ts b/types/Add-on/HideSelect/HideSelectUtils.d.ts deleted file mode 100644 index 3c5674f..0000000 --- a/types/Add-on/HideSelect/HideSelectUtils.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Board } from "../../DatabaseServices/Entity/Board"; -import { Entity } from "../../DatabaseServices/Entity/Entity"; -export declare function IsDoor(en: Entity): boolean; -export declare function IsDrawer(en: Entity): boolean; -export declare function IsWinerack(en: Entity): boolean; -export declare function IsLattice(en: Entity): boolean; -export declare function IsHandle(en: Entity): boolean; -export declare function IsHinge(en: Entity): boolean; -export declare function isDingDiBan(b: Board): boolean; -export declare function IsHouse(en: Entity): boolean; -export declare function IsModel(en: Entity): boolean; -export declare function IsRoomBase(en: Entity): boolean; -//# sourceMappingURL=HideSelectUtils.d.ts.map \ No newline at end of file diff --git a/types/Add-on/HideSelect/HideSelectUtils.d.ts.map b/types/Add-on/HideSelect/HideSelectUtils.d.ts.map deleted file mode 100644 index a596f66..0000000 --- a/types/Add-on/HideSelect/HideSelectUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"HideSelectUtils.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/HideSelect/HideSelectUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAe9D,wBAAgB,MAAM,CAAC,EAAE,EAAE,MAAM,WAkBhC;AAGD,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,WAUlC;AAGD,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,WAMpC;AAGD,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,WAMnC;AAGD,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,WAelC;AAGD,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,WAejC;AAGD,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,WASnC;AAGD,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG3C;AAGD,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAG3C;AAGD,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAU9C"} \ No newline at end of file diff --git a/types/Add-on/LatticeDrawer/LatticeDrawerTool.d.ts b/types/Add-on/LatticeDrawer/LatticeDrawerTool.d.ts deleted file mode 100644 index 6da62e5..0000000 --- a/types/Add-on/LatticeDrawer/LatticeDrawerTool.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Singleton } from "../../Common/Singleton"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { ISpaceParse } from "../../Geometry/SpaceParse/ISpaceParse"; -import { ILatticeOption } from "../../UI/Store/LatticeInterface"; -export declare class DrawLatticeDrawerTool extends Singleton { - private _config; - private space; - private leftBr; - private rightBr; - private frontBr; - private backBr; - private haveTopBr; - get Config(): ILatticeOption; - Draw(space: ISpaceParse, config: ILatticeOption): Board[]; - private HandleSpace; - private ChangeLeftRightBr; - private ParseBrTooth; - private ParseSpaceBrs; - private ParseArcLenOrObliuqeAng; - private WriteBoardProcessOption; - protected ParseHighSealing(br: Board, leftSealed: number, rightSealed: number, topSealed: number, downSealed: number, isHor: boolean): void; - private End; -} -//# sourceMappingURL=LatticeDrawerTool.d.ts.map \ No newline at end of file diff --git a/types/Add-on/LatticeDrawer/LatticeDrawerTool.d.ts.map b/types/Add-on/LatticeDrawer/LatticeDrawerTool.d.ts.map deleted file mode 100644 index 43e9607..0000000 --- a/types/Add-on/LatticeDrawer/LatticeDrawerTool.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LatticeDrawerTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/LatticeDrawer/LatticeDrawerTool.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAI5D,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAqB,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAIpF,qBAAa,qBAAsB,SAAQ,SAAS;IAEhD,OAAO,CAAC,OAAO,CAAiB;IAChC,OAAO,CAAC,KAAK,CAAc;IAC3B,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,OAAO,CAAQ;IACvB,OAAO,CAAC,OAAO,CAAQ;IACvB,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,SAAS,CAAkB;IACnC,IAAI,MAAM,mBAGT;IACD,IAAI,CAAC,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,GAAG,KAAK,EAAE;IA0EzD,OAAO,CAAC,WAAW;IA6BnB,OAAO,CAAC,iBAAiB;IAqCzB,OAAO,CAAC,YAAY;IA2CpB,OAAO,CAAC,aAAa;IA6BrB,OAAO,CAAC,uBAAuB;IAmC/B,OAAO,CAAC,uBAAuB;IAY/B,SAAS,CAAC,gBAAgB,CAAC,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;IAgEpI,OAAO,CAAC,GAAG;CASd"} \ No newline at end of file diff --git a/types/Add-on/LookOverBoardInfos/LookOverBoardInfosTool.d.ts b/types/Add-on/LookOverBoardInfos/LookOverBoardInfosTool.d.ts deleted file mode 100644 index 4875e71..0000000 --- a/types/Add-on/LookOverBoardInfos/LookOverBoardInfosTool.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Vector3 } from "three"; -import { CylinderHole } from "../../DatabaseServices/3DSolid/CylinderHole"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { Entity } from "../../DatabaseServices/Entity/Entity"; -import { IHardwareType } from "../../Production/Product"; -import { ISealingData } from "../../UI/Store/OptionInterface/IHighSealedItem"; -export interface ICountType { - name?: string; - count: number; - entity?: T; - count2?: number | string; - unit?: string; - length?: number; - goodsId?: string; - goodsSn?: string; -} -export type GetCountOption = { - sealGruopKey: (key: string, block: Board, thickness: string, data: ISealingData) => void; - getHoles?: (name: string, hole: CylinderHole) => void; -}; -declare class LookOverBoardInfosTool { - private drillTypeMap; - private sealMap; - private boardMap; - GetCount(brs: (Board | IHardwareType)[], options?: GetCountOption, IsBbsCountChaidan?: boolean): { - drillCount: ICountType[]; - hardwareCount: ICountType[]; - sealCount: ICountType[]; - areaCount: ICountType[]; - }; - private Update; - ParseSpec(en: IHardwareType | Vector3, spec: string, len?: number): string; - ParseHardwareCount(k: string, v: IHardwareType[], hardwareCount: ICountType[]): void; - ParseProcessingGroupTags: (entity: Entity) => string[]; - private UpdateBoardMap; - GetBoardThickness(br: Board): string; - GetBoardsArea(brs: Board[]): string; -} -export declare const lookOverBoardInfosTool: LookOverBoardInfosTool; -export {}; -//# sourceMappingURL=LookOverBoardInfosTool.d.ts.map \ No newline at end of file diff --git a/types/Add-on/LookOverBoardInfos/LookOverBoardInfosTool.d.ts.map b/types/Add-on/LookOverBoardInfos/LookOverBoardInfosTool.d.ts.map deleted file mode 100644 index b1a7111..0000000 --- a/types/Add-on/LookOverBoardInfos/LookOverBoardInfosTool.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LookOverBoardInfosTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/LookOverBoardInfos/LookOverBoardInfosTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAOhC,OAAO,EAAE,YAAY,EAAiB,MAAM,6CAA6C,CAAC;AAG1F,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAO9D,OAAO,EAAE,aAAa,EAAc,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAG9E,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,aAAa;IAEzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,CAAC,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,MAAM,cAAc,GAAG;IAAE,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;CAAE,CAAC;AAClL,cAAM,sBAAsB;IAExB,OAAO,CAAC,YAAY,CAAoD;IACxE,OAAO,CAAC,OAAO,CAAkC;IACjD,OAAO,CAAC,QAAQ,CAA8B;IAE9C,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,GAAG,aAAa,CAAC,EAAE,EAAE,OAAO,GAAE,cAAqB,EAAE,iBAAiB,CAAC,EAAE,OAAO;;;;;;IAgEpG,OAAO,CAAC,MAAM;IA8Ld,SAAS,CAAC,EAAE,EAAE,aAAa,GAAG,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;IAMjE,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,aAAa,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE;IA+C7E,wBAAwB,WAAY,MAAM,cAQxC;IACF,OAAO,CAAC,cAAc;IAmBtB,iBAAiB,CAAC,EAAE,EAAE,KAAK;IAQ3B,aAAa,CAAC,GAAG,EAAE,KAAK,EAAE;CAc7B;AAED,eAAO,MAAM,sBAAsB,wBAA+B,CAAC"} \ No newline at end of file diff --git a/types/Add-on/Purge.d.ts b/types/Add-on/Purge.d.ts deleted file mode 100644 index 630cb1e..0000000 --- a/types/Add-on/Purge.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Database } from "../DatabaseServices/Database"; -export declare function Purge(db: Database): void; -export declare function PurgeTemplateTreeRoot(db: Database): void; -//# sourceMappingURL=Purge.d.ts.map \ No newline at end of file diff --git a/types/Add-on/Purge.d.ts.map b/types/Add-on/Purge.d.ts.map deleted file mode 100644 index 7383f6c..0000000 --- a/types/Add-on/Purge.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Purge.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Purge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAKxD,wBAAgB,KAAK,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI,CAkGxC;AAGD,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,QAAQ,QAoBjD"} \ No newline at end of file diff --git a/types/Add-on/TextStyle/FontStyleInterface.d.ts b/types/Add-on/TextStyle/FontStyleInterface.d.ts deleted file mode 100644 index 8acf1ab..0000000 --- a/types/Add-on/TextStyle/FontStyleInterface.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface FontStyleInfoOption { - height: number; - fontType: FontType; - widthFactor: number; -} -export declare enum FontType { - YaHei = "yahei", - SongTi = "songti", - KaiTi = "KaiTi", - FangSong = "FangSong", - LiShu = "LiShu", - HeiTi = "HeiTi", - HuaWenLiShu = "HuaWenLiShu", - HuaWenXingKai = "HuaWenXingKai" -} -export declare const FontTypeOption: { - label: string; - value: FontType; -}[]; -//# sourceMappingURL=FontStyleInterface.d.ts.map \ No newline at end of file diff --git a/types/Add-on/TextStyle/FontStyleInterface.d.ts.map b/types/Add-on/TextStyle/FontStyleInterface.d.ts.map deleted file mode 100644 index 42c35f2..0000000 --- a/types/Add-on/TextStyle/FontStyleInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FontStyleInterface.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/TextStyle/FontStyleInterface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAEhC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,oBAAY,QAAQ;IAEhB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,cAAc;;;GAS1B,CAAC"} \ No newline at end of file diff --git a/types/Add-on/ViewortConfig/EditViewOption.d.ts b/types/Add-on/ViewortConfig/EditViewOption.d.ts deleted file mode 100644 index c342bf9..0000000 --- a/types/Add-on/ViewortConfig/EditViewOption.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { IBaseOption } from "../../UI/Store/OptionInterface/IOptionInterface"; -export declare enum EditViewOptionKey { - hight = "hight",//文字高度 - renderType = "renderType",//视图 - renderTypeValue = "renderTypeValue",//视图值 - viewDir = "viewDir",//视角 - viewDirValue = "viewDirValue",//视角值 - roomName = "roomName",//房间名 - cabinetName = "cabinetName",//柜名 - boardMaterialName = "boardMaterialName",//板材名 - material = "material",//材料 - color = "color",//颜色 - page = "page",//页码 - date = "date",//时间 - designer = "designer",//设计师 - sheetName = "sheetName",//图纸名称 - hideDoor = "hideDoor",//隐藏门板 - hideDrawer = "hideDrawer",//隐藏抽屉 - hideDim = "hideDim",//隐藏标注 - hideCurve = "hideCurve",//隐藏曲线 - hideModel = "hideModel",//隐藏模型 - hideLayer = "hideLayer",//隐藏图层 - hideLayerValue = "hideLayerValue",//隐藏图层值 - showLayer = "showLayer",//显示图层 - showLayerValue = "showLayerValue" -} -export interface EditViewOption extends IBaseOption { - [EditViewOptionKey.hight]: number; - [EditViewOptionKey.renderType]: boolean; - [EditViewOptionKey.renderTypeValue]: string; - [EditViewOptionKey.viewDir]: boolean; - [EditViewOptionKey.viewDirValue]: string; - [EditViewOptionKey.roomName]: boolean; - [EditViewOptionKey.cabinetName]: boolean; - [EditViewOptionKey.boardMaterialName]: boolean; - [EditViewOptionKey.material]: boolean; - [EditViewOptionKey.color]: boolean; - [EditViewOptionKey.page]: boolean; - [EditViewOptionKey.date]: boolean; - [EditViewOptionKey.designer]: boolean; - [EditViewOptionKey.sheetName]: boolean; - [EditViewOptionKey.hideDoor]: boolean; - [EditViewOptionKey.hideDrawer]: boolean; - [EditViewOptionKey.hideDim]: boolean; - [EditViewOptionKey.hideCurve]: boolean; - [EditViewOptionKey.hideModel]: boolean; - [EditViewOptionKey.hideLayer]: boolean; - [EditViewOptionKey.hideLayerValue]: string; - [EditViewOptionKey.showLayer]: boolean; - [EditViewOptionKey.showLayerValue]: string; -} -//# sourceMappingURL=EditViewOption.d.ts.map \ No newline at end of file diff --git a/types/Add-on/ViewortConfig/EditViewOption.d.ts.map b/types/Add-on/ViewortConfig/EditViewOption.d.ts.map deleted file mode 100644 index 2082b15..0000000 --- a/types/Add-on/ViewortConfig/EditViewOption.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EditViewOption.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ViewortConfig/EditViewOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iDAAiD,CAAC;AAE9E,oBAAY,iBAAiB;IAEzB,KAAK,UAAU,CAAG,MAAM;IACxB,UAAU,eAAe,CAAE,IAAI;IAC/B,eAAe,oBAAoB,CAAE,KAAK;IAC1C,OAAO,YAAY,CAAE,IAAI;IACzB,YAAY,iBAAiB,CAAE,KAAK;IACpC,QAAQ,aAAa,CAAC,KAAK;IAC3B,WAAW,gBAAgB,CAAC,IAAI;IAChC,iBAAiB,sBAAsB,CAAE,KAAK;IAC9C,QAAQ,aAAa,CAAE,IAAI;IAC3B,KAAK,UAAU,CAAC,IAAI;IACpB,IAAI,SAAS,CAAC,IAAI;IAClB,IAAI,SAAS,CAAC,IAAI;IAClB,QAAQ,aAAa,CAAC,KAAK;IAC3B,SAAS,cAAc,CAAC,MAAM;IAC9B,QAAQ,aAAa,CAAC,MAAM;IAC5B,UAAU,eAAe,CAAC,MAAM;IAChC,OAAO,YAAY,CAAC,MAAM;IAC1B,SAAS,cAAc,CAAC,MAAM;IAC9B,SAAS,cAAc,CAAC,MAAM;IAC9B,SAAS,cAAc,CAAC,MAAM;IAC9B,cAAc,mBAAmB,CAAC,OAAO;IACzC,SAAS,cAAc,CAAC,MAAM;IAC9B,cAAc,mBAAmB;CACpC;AAED,MAAM,WAAW,cAAe,SAAQ,WAAW;IAE/C,CAAC,iBAAiB,CAAC,KAAK,CAAC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AAiB,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAC9C"} \ No newline at end of file diff --git a/types/Add-on/testEntity/BoxLine.d.ts b/types/Add-on/testEntity/BoxLine.d.ts deleted file mode 100644 index a7709ca..0000000 --- a/types/Add-on/testEntity/BoxLine.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Box3 } from "three"; -import { Line } from "../../DatabaseServices/Entity/Line"; -export declare function BoxLine(box: Box3): Line[]; -//# sourceMappingURL=BoxLine.d.ts.map \ No newline at end of file diff --git a/types/Add-on/testEntity/BoxLine.d.ts.map b/types/Add-on/testEntity/BoxLine.d.ts.map deleted file mode 100644 index 03cb259..0000000 --- a/types/Add-on/testEntity/BoxLine.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"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"} \ No newline at end of file diff --git a/types/Add-on/testEntity/USE_WORLD_UV.d.ts b/types/Add-on/testEntity/USE_WORLD_UV.d.ts deleted file mode 100644 index 246c246..0000000 --- a/types/Add-on/testEntity/USE_WORLD_UV.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -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 \ No newline at end of file diff --git a/types/Add-on/testEntity/USE_WORLD_UV.d.ts.map b/types/Add-on/testEntity/USE_WORLD_UV.d.ts.map deleted file mode 100644 index ea5d0dd..0000000 --- a/types/Add-on/testEntity/USE_WORLD_UV.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"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"} \ No newline at end of file diff --git a/types/Add-on/twoD2threeD/Modals/Curve2RecOption.d.ts b/types/Add-on/twoD2threeD/Modals/Curve2RecOption.d.ts deleted file mode 100644 index b8f176f..0000000 --- a/types/Add-on/twoD2threeD/Modals/Curve2RecOption.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IBaseOption } from "../../../UI/Store/OptionInterface/IOptionInterface"; -export interface Curve2RecOption extends IBaseOption { - isSaveMax: boolean; - isSaveSmall: boolean; - width: number; - isAnaly: boolean; - gap: number; - forceUseUCS: boolean; - ForceUseFrontViewCS: boolean; -} -//# sourceMappingURL=Curve2RecOption.d.ts.map \ No newline at end of file diff --git a/types/Add-on/twoD2threeD/Modals/Curve2RecOption.d.ts.map b/types/Add-on/twoD2threeD/Modals/Curve2RecOption.d.ts.map deleted file mode 100644 index 787a7f9..0000000 --- a/types/Add-on/twoD2threeD/Modals/Curve2RecOption.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Curve2RecOption.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/twoD2threeD/Modals/Curve2RecOption.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAEhD,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,OAAO,CAAC;CAChC"} \ No newline at end of file diff --git a/types/Add-on/twoD2threeD/R2bInterface.d.ts b/types/Add-on/twoD2threeD/R2bInterface.d.ts deleted file mode 100644 index 454010c..0000000 --- a/types/Add-on/twoD2threeD/R2bInterface.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { EBoardKeyList } from "../../Common/BoardKeyList"; -import { TemplateRecord } from "../../DatabaseServices/Template/TemplateRecord"; -import { IBaseOption, IGrooveOption } from "../../UI/Store/OptionInterface/IOptionInterface"; -import { DrillType } from "../DrawDrilling/DrillType"; -export interface IParseBoardNameOption extends IBaseOption { - verticalBrShrink: number; - layerBrShrink: number; - bottomBrShrink: number; - topBrShrink: number; - groundLineBrShrink: number; - farLeftVerticalBrName: string; - middleVerticalBrName: string; - farRightVerticalBrName: string; - topMostLayerBrName: string; - middleLayerBrName: string; - bottomMostLayerBrName: string; - bottomMostBackBrName: string; - stripeBrName: string; - cabinetName: string; - isfarLeftVerticalBrName: boolean; - isModifyMiddleVerticalBrName: boolean; - isfarRightVerticalBrName: boolean; - istopMostLayerBrName: boolean; - isModifyMiddleLayerBrName: boolean; - isbottomMostLayerBrName: boolean; - isbottomMostBackBrName: boolean; - isstripeBrName: boolean; - iscabinetName: boolean; - isModifyRoomName: boolean; - isMultiBackBr: boolean; - isBack: boolean; - backName: string; - isAloneStripName: boolean; -} -export interface IRec2BrOption extends IParseBoardNameOption { - cabinetDeep: number; - cabinetBrThick: number; - cabinetCurtail: number; - backBrThick: number; - backBrBiggerThanHeight: number; - backBrBiggerThanWidth: number; - backBrFrontMove: number; - backBrLeftExtend: number; - backBrRightExtend: number; - backBrUpExtend: number; - backBrDownExtend: number; - backBrUseTemplate: boolean; - backBrTemplate: TemplateRecord; - backBrTemplateId: string; - grooveOption: IGrooveOption; - [EBoardKeyList.RoomName]: string; - boardMatName: string; - material: string; - color: string; - drillType: string; - sealedDown: string; - sealedLeft: string; - sealedRight: string; - sealedUp: string; - remarks: [string, string][]; - maxThickness: number; - useBrName: boolean; - configName: string; - backBrName: string; - behindIsRelative: boolean; - footerThickness: number; - closeStripThickness: number; - useSktTemplate: boolean; - sktTemplateId: string; - rightSktTemplateId: string; - topSktTemplateId: string; - sktTemplate: TemplateRecord; -} -export interface IRect2Br2Option extends IBaseOption { - depthExpr: string; - maxThickness: number; - layerShrink: number; - vertialShrink: number; - [EBoardKeyList.DrillType]: DrillType | string; - [EBoardKeyList.UpSealed]: string; - [EBoardKeyList.DownSealed]: string; - [EBoardKeyList.LeftSealed]: string; - [EBoardKeyList.RightSealed]: string; - remarks: [string, string][]; - useBoardProcessOption?: boolean; - boardMatName: string; - material: string; - color: string; - roomName: string; - cabinetName: string; -} -//# sourceMappingURL=R2bInterface.d.ts.map \ No newline at end of file diff --git a/types/Add-on/twoD2threeD/R2bInterface.d.ts.map b/types/Add-on/twoD2threeD/R2bInterface.d.ts.map deleted file mode 100644 index f409366..0000000 --- a/types/Add-on/twoD2threeD/R2bInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"R2bInterface.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/R2bInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO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rB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC9C,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IACjC,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IACnC,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IACnC,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACpC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACvB"} \ No newline at end of file diff --git a/types/ApplicationServices/HostApplicationServices.d.ts b/types/ApplicationServices/HostApplicationServices.d.ts deleted file mode 100644 index a7d9fc0..0000000 --- a/types/ApplicationServices/HostApplicationServices.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { MeshBasicMaterial, MeshStandardMaterial, Texture } from 'three'; -import { FractionDigitsType } from '../Common/SystemEnum'; -import { Database } from '../DatabaseServices/Database'; -import { LayerTableRecord } from '../DatabaseServices/LayerTableRecord'; -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 { - Database: Database; - DefaultMeshMaterial?: MeshBasicMaterial | MeshStandardMaterial; - DefaultFloorMaterial?: MeshBasicMaterial | MeshStandardMaterial; - DefaultWallMaterial?: MeshBasicMaterial | MeshStandardMaterial; - DefaultBulkheadCeilingMaterial?: MeshBasicMaterial | MeshStandardMaterial; - IsRoomEntityVisible: boolean; - CurrentLayer: ObjectId; - /** 当前画笔的颜色索引 */ - CurrentColorindex: number; - CurrentDimStyle: ObjectId; - CurrentFontStyle: ObjectId; - isShowLightShadow: boolean; - ShowHistoryLog: boolean; - Physical2EdgeColor: number; - ConceptualEdgeColor: number; - ConceptualOpacity: number; - DrawWallBottomFace: boolean; - sealReserve: number; - private __ProxyObject__; - static __ProxyKeys__: string[]; - get ProxyObject(): any; - set ProxyObject(obj: any); - _renderType: RenderType; - DrillConfigs: Map; - openDrillingReactor: boolean; - sealingColorMap: [string, string][]; - showLines: boolean; - showOpenDirLines: boolean; - doorLinesOption: { - physicalShowLines: boolean; - physicalShowLines2: boolean; - reverseOpenDirLines: boolean; - }; - show2DPathLine: boolean; - show2DPathObject: boolean; - uese: string; - forceFilterPxl: boolean; - chaidanOption: { - changXiuBian: number; - duanXiuBian: number; - useDefaultRad: boolean; - radius: number; - modeling2HoleRad: number; - isCheckInterfere: boolean; - noModeingData: string; - statTk: boolean; - statSt: boolean; - drillRemark: boolean; - checkSealType: string; - sealMaxValue: number; - sealValues: string; - hardwareExpressionFormattingAccuracy: number; - partialSplitValueCanTakesEffect: boolean; - cancelHoleProcessing: boolean; - isCheckCustomBoardNumber: boolean; - }; - viewSize: { - minViewHeight: number; - maxViewHeight: number; - zoomSpeed: number; - }; - cursorSize: ICursorConfig; - dimTextHeight: number; - boardCustomNumberTextHeight: number; - lineWidth: number; - fractionDigitsType: FractionDigitsType; - throughModelSegmentedDrill: boolean; - autoDeviation: boolean; - autoDeviationMinDist: number; - smallGrooveThreshold: number; - private constructor(); - private static _SingleInstance; - static GetInstance(): IHostApplicationServices; - LoadDefaultExr(): Promise; - LoadMetalEnv(): Promise; -} -export declare let HostApplicationServices: IHostApplicationServices; -//# sourceMappingURL=HostApplicationServices.d.ts.map \ No newline at end of file diff --git a/types/ApplicationServices/HostApplicationServices.d.ts.map b/types/ApplicationServices/HostApplicationServices.d.ts.map deleted file mode 100644 index 9bb3af4..0000000 --- a/types/ApplicationServices/HostApplicationServices.d.ts.map +++ /dev/null @@ -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,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,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,QAAQ,EAAE,QAAQ,CAAC;IAEnB,mBAAmB,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAC/D,oBAAoB,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAChE,mBAAmB,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAC/D,8BAA8B,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IAE1E,mBAAmB,UAAQ;IAE3B,YAAY,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACzC,gBAAgB;IAChB,iBAAiB,EAAE,MAAM,CAAK;IAE9B,eAAe,EAAE,QAAQ,CAAC;IAC1B,gBAAgB,EAAE,QAAQ,CAAC;IACf,iBAAiB,EAAE,OAAO,CAAQ;IAC9C,cAAc,EAAE,OAAO,CAAQ;IAEnB,kBAAkB,SAAK;IACvB,mBAAmB,SAAK;IAExB,iBAAiB,SAAK;IAElC,kBAAkB,UAAS;IAC3B,WAAW,SAAK;IAEhB,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,gBAAgB,UAAS;IAIzB,eAAe;;;;MAIzB;IAIU,cAAc,UAAS;IAIvB,gBAAgB,UAAS;IAIzB,IAAI,EAAE,MAAM,CAAC;IAIb,cAAc,EAAE,OAAO,CAAS;IAGhC,aAAa;;;;;;;;;;;;;;;;;;MAkBvB;IAEU,QAAQ;;;;MAIlB;IAEU,UAAU,EAAE,aAAa,CAInC;IAEU,aAAa,SAAM;IACnB,2BAA2B,SAAM;IACjC,SAAS,SAAK;IACd,kBAAkB,EAAE,kBAAkB,CAA0B;IAChE,0BAA0B,UAAS;IACnC,aAAa,UAAS;IACtB,oBAAoB,SAAO;IAC3B,oBAAoB,SAAO;IAEvC,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"} \ No newline at end of file diff --git a/types/Common/AddEntityDrawObject.d.ts b/types/Common/AddEntityDrawObject.d.ts deleted file mode 100644 index 5d0415e..0000000 --- a/types/Common/AddEntityDrawObject.d.ts +++ /dev/null @@ -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 \ No newline at end of file diff --git a/types/Common/AddEntityDrawObject.d.ts.map b/types/Common/AddEntityDrawObject.d.ts.map deleted file mode 100644 index 75055dc..0000000 --- a/types/Common/AddEntityDrawObject.d.ts.map +++ /dev/null @@ -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"} \ No newline at end of file diff --git a/types/Common/ArrayExt.d.ts b/types/Common/ArrayExt.d.ts deleted file mode 100644 index ca9e659..0000000 --- a/types/Common/ArrayExt.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * 删除数组中指定的元素,返回数组本身 - * @param {Array} arr 需要操作的数组 - * @param {*} el 需要移除的元素 - */ -export declare function arrayRemove(arr: Array, el: T): Array; -export declare function arrayRemoveOnce(arr: Array, el: T): Array; -/** - * 删除通过函数校验的元素 - * @param {(e: T) => boolean} checkFuntion 校验函数 - */ -export declare function arrayRemoveIf(arr: Array, checkFuntion: (e: T) => boolean): Array; -export declare function arrayFirst(arr: Array): T; -export declare function arrayLast(arr: { - [key: number]: T; - length: number; -}): T; -export declare function FindLast(arr: T[], searchFn: (item: T) => boolean): number; -/** - * 根据数值从小到大排序数组 - * @param {Array} arr - * @returns {Array} 返回自身 - */ -export declare function arraySortByNumber(arr: Array): Array; -/** - * map按Key的拼音首字母排序 - * reverse:倒序 - */ -export declare function mapSortByCN(map: Map, reverse?: boolean): Map; -/** - * 对排序好的数组进行去重操作 - * @param {(e1, e2) => boolean} [checkFuction] 校验对象相等函数,如果相等 则删除e2 - * @returns {Array} 返回自身 - */ -export declare function arrayRemoveDuplicateBySort(arr: Array, checkFuction?: (e1: T, e2: T) => boolean): Array; -export declare function ArrayRemoveDupSavePre(baseCompareArray: any[], arrs: (any[])[]): void; -export declare function arrayMap(arr: Array, mapFunc: (v: T) => T): Array; -declare function checkEqual(e1: any, e2: any): boolean; -/** - * 改变数组的值顺序 - * @param arr 需要改变初始值位置的数组 - * @param index //将index位置以后的值放到起始位置 - */ -export declare function changeArrayStartIndex(arr: T[], index: number): T[]; -export declare function equalArray(a: T[], b: T[], checkF?: typeof checkEqual): boolean; -export declare function arrayClone(arr: T[]): T[]; -export declare function arrayPushArray(arr1: T[], arr2: T[]): T[]; -export declare function arraySum(arr: number[]): number; -export declare function FilterSet(s: Set, fn: (el: T) => boolean): Set; -export {}; -//# sourceMappingURL=ArrayExt.d.ts.map \ No newline at end of file diff --git a/types/Common/ArrayExt.d.ts.map b/types/Common/ArrayExt.d.ts.map deleted file mode 100644 index 5fdd716..0000000 --- a/types/Common/ArrayExt.d.ts.map +++ /dev/null @@ -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,EAA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AOD,iBAAS,UAAU,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,GAAG,OAAO,CAG7C;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,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"} \ No newline at end of file diff --git a/types/Common/BoardKeyList.d.ts b/types/Common/BoardKeyList.d.ts deleted file mode 100644 index fc8c726..0000000 --- a/types/Common/BoardKeyList.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -/**统一板件属性key的命名,修改值会导致无法 .xxx该属性 */ -export declare enum EBoardKeyList { - Height = "height", - Width = "width", - Thick = "thickness", - RoomName = "roomName", - CabinetName = "cabinetName", - PaperName = "paperName", - 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", - Remarks = "remarks",//备注 - ExtraRemarks = "extraRemarks",//追加备注 - OpenDir = "openDir",//开门方向 - GroovesAddLength = "GroovesAddLength",//槽加长 - GroovesAddWidth = "GroovesAddWidth",//槽加宽 - GroovesAddDepth = "GroovesAddDepth",//槽加深 - FrontDrill = "frontDrill",//正面排孔 - BackDrill = "backDrill" -} -//# sourceMappingURL=BoardKeyList.d.ts.map \ No newline at end of file diff --git a/types/Common/BoardKeyList.d.ts.map b/types/Common/BoardKeyList.d.ts.map deleted file mode 100644 index b007da3..0000000 --- a/types/Common/BoardKeyList.d.ts.map +++ /dev/null @@ -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,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,KAAK,cAAc,CAAE,IAAI;IACzB,GAAG,aAAa,CAAE,IAAI;IACtB,KAAK,UAAU;IACf,KAAK,UAAU,CAAE,IAAI;IACrB,YAAY,iBAAiB;IAC7B,OAAO,eAAe;IACtB;;OAEG;IACH,SAAS,cAAc;IACvB,aAAa,kBAAkB,CAAC,KAAK;IACrC;;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;IACzB,OAAO,YAAY,CAAC,IAAI;IACxB,YAAY,iBAAiB,CAAC,MAAM;IACpC,OAAO,YAAY,CAAE,MAAM;IAC3B,gBAAgB,qBAAqB,CAAE,KAAK;IAC5C,eAAe,oBAAoB,CAAK,KAAK;IAC7C,eAAe,oBAAoB,CAAK,KAAK;IAC7C,UAAU,eAAe,CAAC,MAAM;IAChC,SAAS,cAAc;CAC1B"} \ No newline at end of file diff --git a/types/Common/CSGIntersect.d.ts b/types/Common/CSGIntersect.d.ts deleted file mode 100644 index 723c68d..0000000 --- a/types/Common/CSGIntersect.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Geom3 } from "@jscad/modeling/src/geometries/types"; -import { Vec3 } from "@jscad/modeling/src/maths/vec3"; -import { Matrix4 } from "three"; -export interface PolygonRes { - vertices: Array; - plane: [number, number, number, number]; -} -export interface Geom3Res { - polygons: Array<{ - vertices: Array; - plane: [number, number, number, number]; - }>; -} -export declare function CSGIntersect(csg1: Geom3, csg2: Geom3, csg2tranfrom: Matrix4): Geom3; -//# sourceMappingURL=CSGIntersect.d.ts.map \ No newline at end of file diff --git a/types/Common/CSGIntersect.d.ts.map b/types/Common/CSGIntersect.d.ts.map deleted file mode 100644 index 6877e09..0000000 --- a/types/Common/CSGIntersect.d.ts.map +++ /dev/null @@ -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,UAAU;IAEvB,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACtB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CAC3C;AAED,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,KAAK,CAOnF"} \ No newline at end of file diff --git a/types/Common/ColorPalette.d.ts b/types/Common/ColorPalette.d.ts deleted file mode 100644 index 98b923a..0000000 --- a/types/Common/ColorPalette.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Color, LineBasicMaterial, LineDashedMaterial, MeshBasicMaterial, ShaderMaterial, Side } from 'three'; -import { LineMaterial } from 'three/examples/jsm/lines/LineMaterial'; -export declare const ColorPalette: number[][]; -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, freeze?: boolean): 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 \ No newline at end of file diff --git a/types/Common/ColorPalette.d.ts.map b/types/Common/ColorPalette.d.ts.map deleted file mode 100644 index 3b14cdb..0000000 --- a/types/Common/ColorPalette.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ColorPalette.d.ts","sourceRoot":"","sources":["../../../src/Common/ColorPalette.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAyB,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,cAAc,EAAE,IAAI,EAAoB,MAAM,OAAO,CAAC;AACvJ,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAIrE,eAAO,MAAM,YAAY,YAwQxB,CAAC;AAEF,eAAO,MAAM,UAAU,IAAI,CAAC;AAG5B,qBAAa,aAAa;IAEtB,OAAO;IACP,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAwC;IACvE,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAwC;IACxE,MAAM,CAAC,SAAS,UAAS;IACzB,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,UAAQ,GAAG,iBAAiB;IAUxE,OAAO,CAAC,MAAM,CAAC,eAAe,CAAyC;IACvE,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB;IAYxD,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB;IASzD,OAAO,CAAC,MAAM,CAAC,2BAA2B,CAAwC;IAClF,MAAM,CAAC,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB;IASnE,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAA0C;IAC5E,MAAM,CAAC,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,IAAgB,EAAE,iBAAiB,UAAQ;IAqB7F,MAAM,CAAC,wBAAwB,CAAC,SAAS,EAAE,OAAO;IAKlD,OAAO,CAAC,MAAM,CAAC,wBAAwB,CAAiB;IACxD,MAAM,CAAC,0BAA0B;IAiBjC,OAAO,CAAC,MAAM,CAAC,4BAA4B,CAA6C;IACxF,MAAM,CAAC,2BAA2B,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAUjE,OAAO,CAAC,MAAM,CAAC,6BAA6B,CAA6C;IACzF,MAAM,CAAC,4BAA4B,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAUlE,MAAM,CAAC,QAAQ,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;IAGH,MAAM,CAAC,gBAAgB,eAMpB;IAGH,MAAM,CAAC,2BAA2B,oBAI/B;IAEH,MAAM,CAAC,uBAAuB,oBAG3B;CACN"} \ No newline at end of file diff --git a/types/Common/CurveUtils.d.ts b/types/Common/CurveUtils.d.ts deleted file mode 100644 index d260279..0000000 --- a/types/Common/CurveUtils.d.ts +++ /dev/null @@ -1,70 +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>} 返回如下 - * [ - * [c1,c2,c3...],//后面的曲线的起点总是等于上一个曲线的终点 - * [c1,c2,c3...], - * ] - */ -export declare function curveLinkGroup(cus: Curve[], numdimensions?: number): Array>; -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 { - size: Vector3; - box: Box3; - OCS: Matrix4; -} -/** - * 判断多段线是不是矩形 - * 因为用户画的垃圾图,所以我们会给容差 - * 1.简化点表成4个点 - * -得到x向量,构建二维旋转矩阵 - * -所有的点旋转 - * 2.构建box - * 3.4个点都在盒子里,面积是矩形 - * @param cu - */ -export declare function IsRect(cu: Curve): IRectInfo | undefined; -/**用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; -/** - * 将封闭的多段线,通过和y轴平行的线,分割成多个矩形 - * @param outline 这个多边形是横平竖直的,否则返回自身 - * @param polylineParalleXYFuzz 平行x或y的容差 - * @returns 裁剪后的矩形集 - */ -export declare function PolylineSpliteRect(outline: Polyline, polylineParalleXYFuzz?: number): Polyline[]; -//# sourceMappingURL=CurveUtils.d.ts.map \ No newline at end of file diff --git a/types/Common/CurveUtils.d.ts.map b/types/Common/CurveUtils.d.ts.map deleted file mode 100644 index d4f3423..0000000 --- a/types/Common/CurveUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CurveUtils.d.ts","sourceRoot":"","sources":["../../../src/Common/CurveUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,IAAI,EAAS,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEpF,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,EAAoB,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAMjF,OAAO,EAAE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AAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,aA6BpG;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,SAGjE;AAED,MAAM,WAAW,SAAS;IAEtB,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,IAAI,CAAC;IACV,GAAG,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAAC,EAAE,EAAE,KAAK,GAAG,SAAS,GAAG,SAAS,CA0HvD;AAED,gBAAgB;AAChB,wBAAgB,eAAe,CAAC,GAAG,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;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,QAAQ,EAAE,qBAAqB,SAAO,GAAG,QAAQ,EAAE,CA6B9F"} \ No newline at end of file diff --git a/types/Common/Dispose.d.ts b/types/Common/Dispose.d.ts deleted file mode 100644 index 0a8bd6a..0000000 --- a/types/Common/Dispose.d.ts +++ /dev/null @@ -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 \ No newline at end of file diff --git a/types/Common/Dispose.d.ts.map b/types/Common/Dispose.d.ts.map deleted file mode 100644 index 7a73b64..0000000 --- a/types/Common/Dispose.d.ts.map +++ /dev/null @@ -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"} \ No newline at end of file diff --git a/types/Common/EntityUpdateWrap.d.ts b/types/Common/EntityUpdateWrap.d.ts deleted file mode 100644 index 433caaf..0000000 --- a/types/Common/EntityUpdateWrap.d.ts +++ /dev/null @@ -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 \ No newline at end of file diff --git a/types/Common/EntityUpdateWrap.d.ts.map b/types/Common/EntityUpdateWrap.d.ts.map deleted file mode 100644 index ad75a0d..0000000 --- a/types/Common/EntityUpdateWrap.d.ts.map +++ /dev/null @@ -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"} \ No newline at end of file diff --git a/types/Common/LayerConstant.d.ts b/types/Common/LayerConstant.d.ts deleted file mode 100644 index cd1aab3..0000000 --- a/types/Common/LayerConstant.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -/** 用于表示跟随图层的颜色索引 */ -export declare const ByLayerColorIndex = 260; -//# sourceMappingURL=LayerConstant.d.ts.map \ No newline at end of file diff --git a/types/Common/LayerConstant.d.ts.map b/types/Common/LayerConstant.d.ts.map deleted file mode 100644 index ac8a6ec..0000000 --- a/types/Common/LayerConstant.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LayerConstant.d.ts","sourceRoot":"","sources":["../../../src/Common/LayerConstant.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,eAAO,MAAM,iBAAiB,MAAM,CAAC"} \ No newline at end of file diff --git a/types/Common/LoadParamMaterial.d.ts b/types/Common/LoadParamMaterial.d.ts deleted file mode 100644 index 5dc52e0..0000000 --- a/types/Common/LoadParamMaterial.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TemplateParam } from "../DatabaseServices/Template/Param/TemplateParam"; -type LoadParamMaterialFunction = (template: TemplateParam) => Promise; -export declare const _LoadParamMaterialInjectFunctions: LoadParamMaterialFunction[]; -export declare function LoadParamMaterial(template: TemplateParam): Promise; -export {}; -//# sourceMappingURL=LoadParamMaterial.d.ts.map \ No newline at end of file diff --git a/types/Common/LoadParamMaterial.d.ts.map b/types/Common/LoadParamMaterial.d.ts.map deleted file mode 100644 index cf30eeb..0000000 --- a/types/Common/LoadParamMaterial.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LoadParamMaterial.d.ts","sourceRoot":"","sources":["../../../src/Common/LoadParamMaterial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAC;AAEjF,KAAK,yBAAyB,GAAG,CAAC,QAAQ,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAE5E,eAAO,MAAM,iCAAiC,EAAE,yBAAyB,EAAO,CAAC;AAEjF,wBAAsB,iBAAiB,CAAC,QAAQ,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAI9E"} \ No newline at end of file diff --git a/types/Common/Log.d.ts b/types/Common/Log.d.ts deleted file mode 100644 index 990c44b..0000000 --- a/types/Common/Log.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export declare enum LogType { - Error = "ERROR", - Warning = "WARNING", - Info = "INFO", - Command = "COMMAND", - All = "ALL" -} -type LogFunction = (message?: any, ...optionalParams: any[]) => void; -export declare const _LogInjectFunctions: LogFunction[]; -export declare function Log(message?: any, ...optionalParams: any[]): void; -export declare const _LogInjectInteractionFunctions: LogFunction[]; -export declare function InteractionLog(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 \ No newline at end of file diff --git a/types/Common/Log.d.ts.map b/types/Common/Log.d.ts.map deleted file mode 100644 index a1ab49e..0000000 --- a/types/Common/Log.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Log.d.ts","sourceRoot":"","sources":["../../../src/Common/Log.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IAEf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,GAAG,QAAQ;CACd;AAED,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;AAGrD,wBAAgB,GAAG,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,GAAG,IAAI,CAIjE;AAED,eAAO,MAAM,8BAA8B,EAAE,WAAW,EAAO,CAAC;AAGhE,wBAAgB,cAAc,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,GAAG,IAAI,CAI5E;AAED,eAAO,MAAM,SAAS;;CAErB,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC"} \ No newline at end of file diff --git a/types/Common/Matrix4Utils.d.ts b/types/Common/Matrix4Utils.d.ts deleted file mode 100644 index e69fadb..0000000 --- a/types/Common/Matrix4Utils.d.ts +++ /dev/null @@ -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(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; -//# sourceMappingURL=Matrix4Utils.d.ts.map \ No newline at end of file diff --git a/types/Common/Matrix4Utils.d.ts.map b/types/Common/Matrix4Utils.d.ts.map deleted file mode 100644 index b4f3457..0000000 --- a/types/Common/Matrix4Utils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Matrix4Utils.d.ts","sourceRoot":"","sources":["../../../src/Common/Matrix4Utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAc,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAI9D;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,QAMjE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAGnF;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,SAAO,GAAG,OAAO,CAe5F;AAGD,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,WAK1D;AAGD,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,WAK/F;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,WAMxE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,SAAI,GAAG,OAAO,CAWnE;AAGD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,QAY7D;AAED,wBAAgB,aAAa,CAAC,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,OAAO,WAYhE;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,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"} \ No newline at end of file diff --git a/types/Common/Singleton.d.ts b/types/Common/Singleton.d.ts deleted file mode 100644 index fbbb7c3..0000000 --- a/types/Common/Singleton.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface PrototypeType extends Function { - prototype: T; -} -export interface ConstructorFunctionType extends PrototypeType { - new (...args: any[]): T; -} -export type ConstructorType = PrototypeType> = (ConstructorFunctionType | PrototypeType) & { - [Key in keyof Static]: Static[Key]; -}; -/** - * 构造单例类的静态类. - * # Example: - * class A extends Singleton(){}; - * //获得单例 - * let a = A.GetInstance(); - */ -export declare class Singleton { - protected constructor(); - static GetInstance(this: ConstructorType): T; -} -//# sourceMappingURL=Singleton.d.ts.map \ No newline at end of file diff --git a/types/Common/Singleton.d.ts.map b/types/Common/Singleton.d.ts.map deleted file mode 100644 index 3539572..0000000 --- a/types/Common/Singleton.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Singleton.d.ts","sourceRoot":"","sources":["../../../src/Common/Singleton.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,aAAa,CAAC,CAAC,CAAE,SAAQ,QAAQ;IAE9C,SAAS,EAAE,CAAC,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;IAEtE,KAAI,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;CAC1B;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG;KAC/I,GAAG,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC;CACrC,CAAC;AAEF;;;;;;GAMG;AACH,qBAAa,SAAS;IAElB,SAAS;IAGT,MAAM,CAAC,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,IAAI,EAAE,eAAe,CAAC,CAAC,EAAE,OAAO,SAAS,CAAC,GAAG,CAAC;CASzF"} \ No newline at end of file diff --git a/types/Common/Status.d.ts b/types/Common/Status.d.ts deleted file mode 100644 index f342403..0000000 --- a/types/Common/Status.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -export declare enum Status { - False = 0, - True = 1, - Side = 2, - 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 \ No newline at end of file diff --git a/types/Common/Status.d.ts.map b/types/Common/Status.d.ts.map deleted file mode 100644 index 752e08e..0000000 --- a/types/Common/Status.d.ts.map +++ /dev/null @@ -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,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"} \ No newline at end of file diff --git a/types/Common/StoreageKeys.d.ts b/types/Common/StoreageKeys.d.ts deleted file mode 100644 index d511486..0000000 --- a/types/Common/StoreageKeys.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -export declare enum StoreageKeys { - IsLogin = "isLogin", - PlatSession = "platSession", - PlatToken = "platToken", - UserName = "userName", - UserPhone = "userPhone", - ShopName = "shopName", - ShopProps = "ShopProps", - 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 \ No newline at end of file diff --git a/types/Common/StoreageKeys.d.ts.map b/types/Common/StoreageKeys.d.ts.map deleted file mode 100644 index 37771f7..0000000 --- a/types/Common/StoreageKeys.d.ts.map +++ /dev/null @@ -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;IACrB,SAAS,cAAc;IAEvB,aAAa,kBAAkB,CAAC,OAAO;IACvC,UAAU,eAAe,CAAC,OAAO;IACjC,WAAW,gBAAgB,CAAC,MAAM;IAClC,YAAY,iBAAiB,CAAC,MAAM;IAEpC,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"} \ No newline at end of file diff --git a/types/Common/SystemEnum.d.ts b/types/Common/SystemEnum.d.ts deleted file mode 100644 index bb9b24e..0000000 --- a/types/Common/SystemEnum.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -export declare enum AAType { - FXAA = 0,//快速近似抗锯齿(性能更好) - SMAA = 1 -} -export declare enum ViewDirType { - FS = 0, - YAS = 1, - ZS = 2, - YS = 3, - QS = 4, - HS = 5, - XN = 6 -} -export declare enum FractionDigitsType { - zero = 0, - one = 1, - two = 2, - three = 3, - four = 4, - five = 5, - six = 6 -} -//# sourceMappingURL=SystemEnum.d.ts.map \ No newline at end of file diff --git a/types/Common/SystemEnum.d.ts.map b/types/Common/SystemEnum.d.ts.map deleted file mode 100644 index a65913e..0000000 --- a/types/Common/SystemEnum.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SystemEnum.d.ts","sourceRoot":"","sources":["../../../src/Common/SystemEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAEd,IAAI,IAAI,CAAC,eAAe;IACxB,IAAI,IAAI;CACX;AAED,oBAAY,WAAW;IAEnB,EAAE,IAAI;IACN,GAAG,IAAI;IACP,EAAE,IAAI;IACN,EAAE,IAAI;IACN,EAAE,IAAI;IACN,EAAE,IAAI;IACN,EAAE,IAAI;CACT;AAED,oBAAY,kBAAkB;IAE1B,IAAI,IAAI;IACR,GAAG,IAAI;IACP,GAAG,IAAI;IACP,KAAK,IAAI;IACT,IAAI,IAAI;IACR,IAAI,IAAI;IACR,GAAG,IAAI;CACV"} \ No newline at end of file diff --git a/types/Common/ThreadPool/Task.d.ts b/types/Common/ThreadPool/Task.d.ts deleted file mode 100644 index e5056ad..0000000 --- a/types/Common/ThreadPool/Task.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface Task { - key: any; - data: any; - then: Function; - workerCtor: (new () => Worker); -} -//# sourceMappingURL=Task.d.ts.map \ No newline at end of file diff --git a/types/Common/ThreadPool/Task.d.ts.map b/types/Common/ThreadPool/Task.d.ts.map deleted file mode 100644 index 71d0b9c..0000000 --- a/types/Common/ThreadPool/Task.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../../../src/Common/ThreadPool/Task.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,IAAI;IAEjB,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,GAAG,CAAC;IACV,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,CAAC,UAAU,MAAM,CAAC,CAAC;CAClC"} \ No newline at end of file diff --git a/types/Common/Toaster.d.ts b/types/Common/Toaster.d.ts deleted file mode 100644 index 5dc1811..0000000 --- a/types/Common/Toaster.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -export declare enum Intent { - NONE = "none", - PRIMARY = "primary", - SUCCESS = "success", - WARNING = "warning", - DANGER = "danger" -} -export interface IToasterOption { - message: string | string[]; - timeout: number; - intent: Intent; - key?: string; -} -type ToasterFunction = (option: IToasterOption) => void; -export declare const ToasterInjectFunctions: ToasterFunction[]; -export declare function Toaster(option: IToasterOption): void; -interface IToasterShowEntityErrorOption { - intent: Intent; - msg: string; - timeout: number; - ent: any; -} -export declare const ToasterShowEntityMsgInjectFunctions: ((option: IToasterShowEntityErrorOption) => void)[]; -export declare function ToasterShowEntityMsg(option: { - intent: Intent; - msg: string; - timeout: number; - ent: any; -}): void; -export {}; -//# sourceMappingURL=Toaster.d.ts.map \ No newline at end of file diff --git a/types/Common/Toaster.d.ts.map b/types/Common/Toaster.d.ts.map deleted file mode 100644 index ccf211e..0000000 --- a/types/Common/Toaster.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Toaster.d.ts","sourceRoot":"","sources":["../../../src/Common/Toaster.ts"],"names":[],"mappings":"AAIA,oBAAY,MAAM;IAEd,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;CACpB;AAED,MAAM,WAAW,cAAc;IAE3B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,KAAK,eAAe,GAAG,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;AAExD,eAAO,MAAM,sBAAsB,EAAE,eAAe,EAAO,CAAC;AAE5D,wBAAgB,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,CAIpD;AAGD,UAAU,6BAA6B;IAEnC,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,GAAG,CAAC;CACZ;AAED,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,MAAM,EAAE,6BAA6B,KAAK,IAAI,CAAC,EAAO,CAAC;AAC3G,wBAAgB,oBAAoB,CAAC,MAAM,EAAE;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,GAAG,CAAC;CACZ,QASA"} \ No newline at end of file diff --git a/types/Common/Utils.d.ts b/types/Common/Utils.d.ts deleted file mode 100644 index b21351e..0000000 --- a/types/Common/Utils.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Object3D } from "three"; -import { Entity } from "../DatabaseServices/Entity/Entity"; -import { ObjectId } from "../DatabaseServices/ObjectId"; -export declare const digitStrReg: RegExp; -export declare const commandReg: RegExp; -export declare const onlyEnExpReg: RegExp; -/**替换收口条柜名后缀 */ -export declare const ClosingStripReg: RegExp; -export declare const FileFormatReg: RegExp; -/**扣除封边是否相连和连接共用精度 */ -export declare const LINK_FUZZ = 0.001; -export declare function IsNumber(keyCode: number): boolean; -export declare function IsChar(keyCode: number): boolean; -export declare function isLetter(s: string): boolean; -export declare function isNum(s: string): boolean; -export declare function clamp(value: number, min: number, max: number): number; -export declare function FixIndex(index: number, arr: Array | number): number; -export declare function formateDate(date: Date, fmt: string): string; -export declare function isBetweenNums(v1: number, v2: number, v: number, fuzz?: number): boolean; -export declare function sliceDeep(arr: object[], start?: number, end?: number): object[]; -export declare function copyTextToClipboard(text: string): Promise; -/** - * 读取剪切板的字符串 - */ -export declare function readClipboardText(): Promise; -export declare function FixedNotZero(v: number | string, fractionDigits?: number, expr?: string): string; -/** - * To fixed - * @param v - * @param [fractionDigits] - */ -export declare function ToFixed(v: number, fractionDigits?: number): string; -export declare function GetEntity(obj: Object3D): Entity | undefined; -export declare function IsEntity(obj: Object3D): boolean; -export declare function IsFreeze(obj: Object3D): any; -export declare function IsNoErase(id: ObjectId): boolean; -/** - * 原图地址转换为对应缩略图地址 - */ -export declare function getThumbsUrl(url: string): string; -/** - * 快速判断a是不是被修改了 - */ -export declare function equalObject(a: Object, b: Object): boolean; -export declare function cloneObject(a: T): T; -export declare function Uint8ArrayToBase64(bytes: Uint8Array): string; -/**转换服务端获取的文件大小 */ -export declare function getFileSize(size: number): string; -export declare function GetIndexDBID(id: string): string; -export declare function FixDigits(v: number, fractionDigits?: number): number; -/** 有触摸板 */ -export declare const isHasTouch: () => boolean; -export declare function isChinese(str: string): boolean; -//# sourceMappingURL=Utils.d.ts.map \ No newline at end of file diff --git a/types/Common/Utils.d.ts.map b/types/Common/Utils.d.ts.map deleted file mode 100644 index 296fedd..0000000 --- a/types/Common/Utils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../../src/Common/Utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAMxD,eAAO,MAAM,WAAW,QAAoB,CAAC;AAC7C,eAAO,MAAM,UAAU,QAAkB,CAAC;AAE1C,eAAO,MAAM,YAAY,QAAe,CAAC;AACzC,eAAe;AACf,eAAO,MAAM,eAAe,QAAkB,CAAC;AAC/C,eAAO,MAAM,aAAa,QAAsC,CAAC;AAEjE,qBAAqB;AACrB,eAAO,MAAM,SAAS,QAAO,CAAC;AAE9B,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,WAGvC;AACD,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,WAGrC;AACD,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,WAIjC;AACD,wBAAgB,K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AC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,WAS/C;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,CAGtC;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,UAOnD;AAED,kBAAkB;AAClB,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,UAUvC;AAED,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,UAGtC;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,SAAI,UAGtD;AAED,WAAW;AACX,eAAO,MAAM,UAAU,eAGtB,CAAC;AAEF,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,WAKpC"} \ No newline at end of file diff --git a/types/Common/eval.d.ts b/types/Common/eval.d.ts deleted file mode 100644 index 64aaa7f..0000000 --- a/types/Common/eval.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * eval2("+10", { L: 100 }, "L") - * @param expr - * @param [params] - * @param [defaultParam] 当输入 +10 这样的表达式时,设置默认的操作变量 - * @returns 计算结果 - */ -export declare function eval2(expr: string, params?: {}, defaultParam?: string): number; -export declare function safeEval(expr: string, params?: {}, defaultParam?: string): number; -export declare function CheckExpr(expr: string, params: any): { - res: any; - error: any; -}; -/**解析大括号内的表达式 */ -export declare function ParseExpr(expr: string, fractionDigits?: number, params?: {}): string; -//# sourceMappingURL=eval.d.ts.map \ No newline at end of file diff --git a/types/Common/eval.d.ts.map b/types/Common/eval.d.ts.map deleted file mode 100644 index cb2cdc4..0000000 --- a/types/Common/eval.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../../src/Common/eval.ts"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CA8E9E;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAUjF;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG;;;EAYlD;AAGD,gBAAgB;AAChB,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,GAAE,MAAU,EAAE,MAAM,CAAC,EAAE,EAAE,UAgB9E"} \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/CylinderHole.d.ts b/types/DatabaseServices/3DSolid/CylinderHole.d.ts deleted file mode 100644 index 520dc5c..0000000 --- a/types/DatabaseServices/3DSolid/CylinderHole.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { BufferGeometry, CylinderBufferGeometry, LineSegments, Matrix3, Mesh, Object3D, Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { Box3Ext } from "../../Geometry/Box"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from '../CADFiler'; -import { Hole } from "./Hole"; -export declare enum GangDrillType { - /**偏心轮 */ - Pxl = 0, - /**连接杆 */ - Ljg = 1, - /**预埋件 */ - Ymj = 2, - /**层板钉 */ - Nail = 3, - /** 木销 */ - Wood = 4, - /** 通孔 */ - TK = 5, - WoodPXL = 6 -} -export declare class CylinderHole extends Hole { - private _Radius; - private _SameSideHole; - private _GoodsId; - private _GoodsSn; - constructor(); - static CreateCylHole(radius: number, height: number, type: GangDrillType): CylinderHole; - set Radius(r: number); - get Height(): number; - set Height(v: number); - get SameSideHole(): boolean; - set SameSideHole(value: boolean); - get Radius(): number; - get BoundingBox(): Box3Ext; - get GoodsId(): string; - set GoodsId(value: string); - get GoodsSn(): string; - set GoodsSn(value: string); - /** - * 返回对象在自身坐标系下的Box - */ - get BoundingBoxInOCS(): Box3Ext; - private _MeshGeometry; - get MeshGeometry(): CylinderBufferGeometry; - private _EdgeGeometry; - private get EdgeGeometry(); - GetGripPoints(): Vector3[]; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - Erase(isErase?: boolean): void; - InitDrawObject(renderType: RenderType): LineSegments | Mesh; - private GetObject3DByRenderType; - UpdateDrawObject(type: RenderType, obj: Object3D): void; - UpdateDrawObjectMaterial(type: RenderType, obj: Object3D): void; - ClearDraw(): this; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -export declare function FastDrillingMeshGeometry(radius: number, height: number): CylinderBufferGeometry; -export declare function FastDrillingEdgeGeometry(radius: number, height: number): BufferGeometry; -//# sourceMappingURL=CylinderHole.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/CylinderHole.d.ts.map b/types/DatabaseServices/3DSolid/CylinderHole.d.ts.map deleted file mode 100644 index 0cc773e..0000000 --- a/types/DatabaseServices/3DSolid/CylinderHole.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CylinderHole.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/3DSolid/CylinderHole.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAqC,YAAY,EAAE,OAAO,EAAW,IAAI,EAAE,QAAQ,EAAmB,OAAO,EAAE,MAAM,OAAO,CAAC;AAI5K,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,oBAAY,aAAa;IAErB,SAAS;IACT,GAAG,IAAI;IACP,SAAS;IACT,GAAG,IAAI;IACP,SAAS;IACT,GAAG,IAAI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gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAOhD,wBAAwB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAiBxD,SAAS,IAAI,IAAI;IAWjB,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IA4BlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAW3B;AAKD,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,0BAUtE;AAGD,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc,CAwBvF"} \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/Cylineder.d.ts b/types/DatabaseServices/3DSolid/Cylineder.d.ts deleted file mode 100644 index d52ce91..0000000 --- a/types/DatabaseServices/3DSolid/Cylineder.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ExtrudeGeometry, Object3D, Vector3 } from "three"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from '../CADFiler'; -import { Entity } from '../Entity/Entity'; -export declare class Cylineder extends Entity { - private m_Radius; - private m_Height; - private m_Center; - constructor(rad?: number, height?: number); - get Radius(): number; - set Radius(v: number); - get Height(): number; - set Height(v: number); - get Center(): Vector3; - set Center(v: Vector3); - CreateGeometry(): ExtrudeGeometry; - InitDrawObject(renderType: RenderType): Object3D; - UpdateDrawObject(type: RenderType, en: Object3D): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Cylineder.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/Cylineder.d.ts.map b/types/DatabaseServices/3DSolid/Cylineder.d.ts.map deleted file mode 100644 index 818a7bf..0000000 --- a/types/DatabaseServices/3DSolid/Cylineder.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Cylineder.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/3DSolid/Cylineder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAsC,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,qBACa,SAAU,SAAQ,MAAM;IAEjC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAA0B;gBAC9B,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IAMzC,IAAI,MAAM,IAII,MAAM,CADnB;IACD,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,EAKnB;IACD,IAAI,MAAM,IAII,MAAM,CADnB;IACD,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,EAKnB;IACD,IAAI,MAAM,IAII,OAAO,CADpB;IACD,IAAI,MAAM,CAAC,CAAC,EAAE,OAAO,EAKpB;IACD,cAAc;IASd,cAAc,CAAC,UAAU,EAAE,UAAU,GAAG,QAAQ;IAIhD,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ;IAO/C,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAQlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAQ3B"} \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/ExtrudeHole.d.ts b/types/DatabaseServices/3DSolid/ExtrudeHole.d.ts deleted file mode 100644 index 149cd63..0000000 --- a/types/DatabaseServices/3DSolid/ExtrudeHole.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { BufferGeometry, Geometry, Matrix3, Matrix4, Mesh, Object3D, Vector3 } from "three"; -import { Line2 } from 'three/examples/jsm/lines/Line2'; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { Box3Ext } from "../../Geometry/Box"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { Circle } from "../Entity/Circle"; -import { DragPointType } from "../Entity/DragPointType"; -import { ExtrudeContourCurve, ExtrudeSolid } from "../Entity/Extrude"; -import { Polyline } from "../Entity/Polyline"; -import { Shape } from "../Shape"; -import { OBB } from './../../Geometry/OBB/obb'; -import { Hole } from "./Hole"; -export declare class ExtrudeHole extends Hole { - private _DisplayAccuracy; - private _contourCurve; - private _EdgeGeometry; - protected _knifeRadius: number; - private _GoodsId; - private _GoodsSn; - isHole: boolean; - isThrough: boolean; - get KnifeRadius(): number; - set KnifeRadius(v: number); - get GoodsId(): string; - set GoodsId(value: string); - get GoodsSn(): string; - set GoodsSn(value: string); - Explode(): (Polyline | Circle)[]; - get ContourCurve(): ExtrudeContourCurve; - set ContourCurve(curve: ExtrudeContourCurve); - CheckContourCurve(): void; - Erase(isErase?: boolean): void; - protected ApplyScaleMatrix(m: Matrix4): this; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - get DisplayAccuracy(): number; - set DisplayAccuracy(v: number); - get Shape(): Shape; - get BoundingBoxInOCS(): Box3Ext; - get BoundingBox(): Box3Ext; - get EdgeGeometry(): BufferGeometry; - private _MeshGeometry; - get MeshGeometry(): Geometry | BufferGeometry; - private GeneralMeshGeometry; - GetGripOrStretchPoints(dragType: DragPointType): Vector3[]; - private GetStrectchPointCountList; - MoveGripOrStretchPoints(indexList: number[], vec: Vector3, dragType: DragPointType): void; - IsStretchHeight(indexs: number[]): boolean; - MoveGripOrStretchPointsOnly(indexList: Array, vec: Vector3, dragType: DragPointType): void; - GetGripPoints(): Array; - GetStretchPoints(): Vector3[]; - MoveGripPoints(indexList: number[], vec: Vector3): void; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - Convert2ExtrudeSolid(): ExtrudeSolid; - GetPrintObject3D(): (Line2 | Mesh)[]; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(renderType: RenderType, obj: Object3D): Object3D; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - ClearDraw(): this; - get OBB(): OBB; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=ExtrudeHole.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/ExtrudeHole.d.ts.map b/types/DatabaseServices/3DSolid/ExtrudeHole.d.ts.map deleted file mode 100644 index abd6fb9..0000000 --- a/types/DatabaseServices/3DSolid/ExtrudeHole.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ExtrudeHole.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/3DSolid/ExtrudeHole.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA2C,QAAQ,EAAwE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3M,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAMvD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAM7C,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAG7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;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aAAa;IAW9C,OAAO,CAAC,yBAAyB;IAIjC,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa;IAalF,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE;IAUhC,2BAA2B,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa;IA6E3F,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAI/B,gBAAgB;IAIhB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAIhD,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAIxD,oBAAoB;IASpB,gBAAgB;IAWhB,cAAc,CAAC,UAAU,GAAE,UAAiC;IA6C5D,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAuDtD,wBAAwB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAmB9D,SAAS,IAAI,IAAI;IAWjB,IAAI,GAAG,IAAI,GAAG,CAIb;IACD,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAwCvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAoB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/Hole.d.ts b/types/DatabaseServices/3DSolid/Hole.d.ts deleted file mode 100644 index f0c52d9..0000000 --- a/types/DatabaseServices/3DSolid/Hole.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { CADFiler } from '../CADFiler'; -import { Entity } from '../Entity/Entity'; -import { ObjectId } from '../ObjectId'; -import { GangDrillType } from './CylinderHole'; -export declare abstract class Hole extends Entity { - FId: ObjectId; - MId: ObjectId; - protected _Height: number; - OtherHalfTongKong: ObjectId; - protected allowHoleAtBoardEdge: boolean; - protected type: GangDrillType; - get Height(): number; - set Height(v: number); - get Type(): GangDrillType; - set Type(t: GangDrillType); - get AllowPxl(): boolean; - set AllowPxl(v: boolean); - Clone(): this; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Hole.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/Hole.d.ts.map b/types/DatabaseServices/3DSolid/Hole.d.ts.map deleted file mode 100644 index 21752ac..0000000 --- a/types/DatabaseServices/3DSolid/Hole.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Hole.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/3DSolid/Hole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,8BACsB,IAAK,SAAQ,MAAM;IAEzB,GAAG,EAAE,QAAQ,CAAC;IACd,GAAG,EAAE,QAAQ,CAAC;IAC1B,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,QAAQ,CAAC;IACxC,SAAS,CAAC,oBAAoB,EAAE,OAAO,CAAS;IAChD,SAAS,CAAC,IAAI,EAAE,aAAa,CAAqB;IAElD,IAAI,MAAM,IAII,MAAM,CADnB;IACD,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,EAQnB;IAED,IAAI,IAAI,IAII,aAAa,CADxB;IACD,IAAI,IAAI,CAAC,CAAC,EAAE,aAAa,EAOxB;IAED,IAAI,QAAQ,IAII,OAAO,CADtB;IACD,IAAI,QAAQ,CAAC,CAAC,EAAE,OAAO,EAOtB;IAED,KAAK;IAML,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAgClC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAa3B"} \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/RevolveSolid.d.ts b/types/DatabaseServices/3DSolid/RevolveSolid.d.ts deleted file mode 100644 index 06a4bb6..0000000 --- a/types/DatabaseServices/3DSolid/RevolveSolid.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Box3, Geometry, Matrix4, Object3D, Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { CADObject } from "../CADObject"; -import { Entity } from "../Entity/Entity"; -import { Polyline } from "../Entity/Polyline"; -export declare function AxisCS(n: Vector3): Matrix4; -export declare class RevolveSolid extends Entity { - private _StartAngle; - private _EndAngle; - private _DisplayAccuracy; - private _Contour; - constructor(axisDirection?: Vector3, axisPos?: Vector3, contour?: Polyline, _StartAngle?: number, _EndAngle?: number); - get DisplayAccuracy(): number; - set DisplayAccuracy(v: number); - get Contour(): Polyline; - GetGripPoints(): Vector3[]; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3): Vector3[]; - MoveGripPoints(indexs: number[], vec: Vector3): void; - private _MeshGeometry; - get BoundingBox(): Box3; - private _CacheContourPoints; - private _CacheContourPoints3D; - private _CacheContourPoints3DQ; - private _CacheContourPoints3DQ2; - private _CacheContourFaces; - private _CacheIsRev; - get MeshGeometry(): Geometry; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawGeometry(): void; - ClearDraw(): this; - private static MeshNromal; - UpdateDrawObject(type: RenderType, obj: Object3D): Object3D; - /** - * 更新实体Jig状态时的材质 - */ - UpdateJigMaterial(color?: number): void; - RestoreJigMaterial(): void; - /** - * 当实体需要被更新时,更新实体材质 - */ - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - protected _ReadFile(file: CADFiler): this; - WriteFile(file: CADFiler): this; - ApplyPartialUndo(undoData: CADObject): void; -} -//# sourceMappingURL=RevolveSolid.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/RevolveSolid.d.ts.map b/types/DatabaseServices/3DSolid/RevolveSolid.d.ts.map deleted file mode 100644 index 14e31fc..0000000 --- a/types/DatabaseServices/3DSolid/RevolveSolid.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RevolveSolid.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/3DSolid/RevolveSolid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAS,QAAQ,EAAE,OAAO,EAA4B,QAAQ,EAAuB,OAAO,EAAE,MAAM,OAAO,CAAC;AAIzH,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAI7D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAK9C,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAM1C;AAGD,qBACa,YAAa,SAAQ,MAAM;IAQhC,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,SAAS;IAPrB,OAAO,CAAC,gBAAgB,CAAK;IAC7B,OAAO,CAAC,QAAQ,CAAW;gBAEvB,aAAa,CAAC,EAAE,OAAO,EACvB,OAAO,CAAC,EAAE,OAAO,EACjB,OAAO,CAAC,EAAE,QAAQ,EACV,WAAW,SAAI,EACf,SAAS,SAAc;IAuDnC,IAAI,eAAe,IAKI,MAAM,CAF5B;IAED,IAAI,eAAe,CAAC,CAAC,EAAE,MAAM,EAQ5B;IAED,IAAI,OAAO,aAA4B;IAEvC,aAAa;IAeb,mBAAmB,CAAC,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO;IAoBpF,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAmB5C,OAAO,CAAC,aAAa,CAAW;IAEjC,IAAI,WAAW,SAcd;IAED,OAAO,CAAC,mBAAmB,CAAY;IACvC,OAAO,CAAC,qBAAqB,CAAY;IAEzC,OAAO,CAAC,sBAAsB,CAAY;IAC1C,OAAO,CAAC,uBAAuB,CAAmB;IAElD,OAAO,CAAC,kBAAkB,CAA6B;IACvD,OAAO,CAAC,WAAW,CAAU;IAE7B,IAAI,YAAY,aAkHf;IAGD,cAAc,CAAC,UAAU,GAAE,UAAiC;IAO5D,kBAAkB;IAOlB,SAAS,IAAI,IAAI;IAMjB,OAAO,CAAC,MAAM,CAAC,UAAU,CAA+C;IAExE,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAuBhD;;MAEE;IACF,iBAAiB,CAAC,KAAK,SAAI;IAW3B,kBAAkB;IAoBlB;;MAEE;IACF,wBAAwB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAmB9D,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAqBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAexB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAKvC"} \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/SweepSolid.d.ts b/types/DatabaseServices/3DSolid/SweepSolid.d.ts deleted file mode 100644 index b25fa51..0000000 --- a/types/DatabaseServices/3DSolid/SweepSolid.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Box3, BufferGeometry, Frustum, Matrix3, Matrix4, Object3D, Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { SweepGeometry } from '../../Geometry/SweepGeometry'; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from '../CADFiler'; -import { Curve } from "../Entity/Curve"; -import { Entity } from "../Entity/Entity"; -import { Polyline } from '../Entity/Polyline'; -import { OBB } from './../../Geometry/OBB/obb'; -export declare class SweepSolid extends Entity { - private _DisplayAccuracy; - static UseRectFakerContour: boolean; - protected _Contour: Polyline; - protected _PathCurve: Curve | Curve[]; - constructor(contour?: Polyline, pathCurve?: Curve | Curve[]); - Explode(): (Polyline | Curve)[]; - get DisplayAccuracy(): number; - set DisplayAccuracy(v: number); - get Contour(): Polyline; - get Path(): Curve | Curve[]; - get Paths(): Curve[]; - Reverse(): void; - /** - * 将轮廓变换到wcs空间,当用户选定某个与扫描线起点相切的轮廓时. - */ - private TransfromPathToWCS; - private _MeshGeometry; - private _LineGeom; - get MeshGeometry(): BufferGeometry | SweepGeometry; - private _EdgeGeometry; - get EdgeGeometry(): BufferGeometry; - InitDrawObject(renderType: RenderType): Object3D; - UpdateDrawGeometry(): void; - ClearDraw(): this; - UpdateDrawObject(renderType: RenderType, obj: Object3D): Object3D; - /** - * 当实体需要被更新时,更新实体材质 - */ - UpdateDrawObjectMaterial(type: RenderType, obj: Object3D): void; - get BoundingBox(): Box3; - get OBB(): OBB; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3, frustum?: Frustum): Vector3[]; - private _GripSubIndexMap; - /** 获取夹点与子实体的索引 */ - GetGripSubIndexMap(): Map; - GetGripPoints(): Vector3[]; - GetStretchPoints(): Vector3[]; - private GetEndPoint; - private GetMidPoints; - MoveGripPoints(indexList: number[], vec: Vector3): void; - MoveStretchPoints(indexList: number[], vec: Vector3): void; - ApplyMatrix(m: Matrix4): this; - protected ApplyMirrorMatrix(m: Matrix4): this; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=SweepSolid.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/3DSolid/SweepSolid.d.ts.map b/types/DatabaseServices/3DSolid/SweepSolid.d.ts.map deleted file mode 100644 index 53de156..0000000 --- a/types/DatabaseServices/3DSolid/Swe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,SAAS,CAAe;IAChC,IAAI,YAAY,mCA+Bf;IAED,OAAO,CAAC,aAAa,CAAiB;IACtC,IAAI,YAAY,mBAOf;IAED,cAAc,CAAC,UAAU,EAAE,UAAU,GAAG,QAAQ;IAuDhD,kBAAkB;IAUlB,SAAS,IAAI,IAAI;IAMjB,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAoDtD;;OAEG;IACH,wBAAwB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAwBxD,IAAI,WAAW,SAcd;IAED,IAAI,GAAG,IAAI,GAAG,CAKb;IACD,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,OAAO,GAClB,OAAO,EAAE;IAmEZ,OAAO,CAAC,gBAAgB,CAAsB;IAC9C,kBAAkB;IAClB,kBAAkB;IAUlB,aAAa;IA+Bb,gBAAgB;IA0BhB,OAAO,CAAC,WAAW;IA0EnB,OAAO,CAAC,YAAY;IA2BpB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IA8EhD,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAiGnD,WAAW,CAAC,CAAC,EAAE,OAAO;IAwBtB,SAAS,CAAC,iBAAiB,CAAC,CAAC,EAAE,OAAO;IAwBtC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAqClC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAsB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/AlignLine/AlignLineGroupRecord.d.ts b/types/DatabaseServices/AlignLine/AlignLineGroupRecord.d.ts deleted file mode 100644 index 1f6de29..0000000 --- a/types/DatabaseServices/AlignLine/AlignLineGroupRecord.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { CADFiler } from "../CADFiler"; -import { ObjectId } from "../ObjectId"; -import { SymbolTableRecord } from "../SymbolTableRecord"; -/** - * 对纹组信息设置. - */ -export declare class AlignLineGroupRecord extends SymbolTableRecord { - Objects: ObjectId[]; - constructor(); - get Name(): string; - set Name(name: string); - Purge(): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=AlignLineGroupRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/AlignLine/AlignLineGroupRecord.d.ts.map b/types/DatabaseServices/AlignLine/AlignLineGroupRecord.d.ts.map deleted file mode 100644 index 2c5941b..0000000 --- a/types/DatabaseServices/AlignLine/AlignLineGroupRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AlignLineGroupRecord.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/AlignLine/AlignLineGroupRecord.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;GAEG;AACH,qBACa,oBAAqB,SAAQ,iBAAiB;IAE3C,OAAO,EAAE,QAAQ,EAAE,CAAM;;IAMrC,IAAI,IAAI,IAIO,MAAM,CADpB;IACD,IAAI,IAAI,CAAC,IAAI,EAAE,MAAM,EAOpB;IAED,KAAK;IAQL,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAavB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAS3B"} \ No newline at end of file diff --git a/types/DatabaseServices/AlignLine/AlignLineGroupTable.d.ts b/types/DatabaseServices/AlignLine/AlignLineGroupTable.d.ts deleted file mode 100644 index 77206c6..0000000 --- a/types/DatabaseServices/AlignLine/AlignLineGroupTable.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Status } from "../../Common/Status"; -import { ObjectCollection } from "../ObjectCollection"; -import { AlignLineGroupRecord } from "./AlignLineGroupRecord"; -export declare class AlignLineGroupTable extends ObjectCollection { - Append(object: AlignLineGroupRecord, isCheckObjectCleanly?: boolean): import("../ObjectId").ObjectId; - Add(record: AlignLineGroupRecord, isCheckObjectCleanly?: boolean): Status; - Remove(record: AlignLineGroupRecord): void; -} -//# sourceMappingURL=AlignLineGroupTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/AlignLine/AlignLineGroupTable.d.ts.map b/types/DatabaseServices/AlignLine/AlignLineGroupTable.d.ts.map deleted file mode 100644 index 237ea74..0000000 --- a/types/DatabaseServices/AlignLine/AlignLineGroupTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AlignLineGroupTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/AlignLine/AlignLineGroupTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,qBACa,mBAAoB,SAAQ,gBAAgB,CAAC,oBAAoB,CAAC;IAE3E,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,oBAAoB,UAAO;IAUhE,GAAG,CAAC,MAAM,EAAE,oBAAoB,EAAE,oBAAoB,UAAO,GAAG,MAAM;IAStE,MAAM,CAAC,MAAM,EAAE,oBAAoB;CAItC"} \ No newline at end of file diff --git a/types/DatabaseServices/AllObjectData.d.ts b/types/DatabaseServices/AllObjectData.d.ts deleted file mode 100644 index 9f52c34..0000000 --- a/types/DatabaseServices/AllObjectData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { ISerialize } from './ISerialize'; -/** - * 保存对象创建或者修改时的所有数据记录 - */ -export declare class AllObjectData implements ISerialize { - file: CADFiler; - constructor(obj?: ISerialize); - ReadFile(file: CADFiler): this; - WriteFile(file: CADFiler): this; -} -//# sourceMappingURL=AllObjectData.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/AllObjectData.d.ts.map b/types/DatabaseServices/AllObjectData.d.ts.map deleted file mode 100644 index 800994b..0000000 --- a/types/DatabaseServices/AllObjectData.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AllObjectData.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/AllObjectData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,qBACa,aAAc,YAAW,UAAU;IAE5C,IAAI,EAAE,QAAQ,CAAC;gBACH,GAAG,CAAC,EAAE,UAAU;IAS5B,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAQvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAM3B"} \ No newline at end of file diff --git a/types/DatabaseServices/AutoRecord.d.ts b/types/DatabaseServices/AutoRecord.d.ts deleted file mode 100644 index 62c8f0d..0000000 --- a/types/DatabaseServices/AutoRecord.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export declare const ISPROXYKEY = "_isProxy"; -/** - * 自动对CADObject的属性添加属性记录器,自动调用 `WriteAllObjectRecord` - * 如果属性是数组,那么自动添加`Proxy`. - * 可以使用`ISPROXYKEY`覆盖这个函数的代理行为(使用CADObject.CreateProxyArray快速覆盖) - * - * ! 仅在{数组}或者{值}类型上使用,如果是Object,请使用AutoRecordObject - * - * @param target - * @param property - * @param [descriptor] - */ -export declare function AutoRecord(target: { - WriteAllObjectRecord: () => void; -}, property: string, descriptor?: PropertyDecorator): void; -export declare function AutoRecordObject(target: { - WriteAllObjectRecord: () => void; -}, property: string, descriptor?: PropertyDecorator): void; -//# sourceMappingURL=AutoRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/AutoRecord.d.ts.map b/types/DatabaseServices/AutoRecord.d.ts.map deleted file mode 100644 index 220a347..0000000 --- a/types/DatabaseServices/AutoRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AutoRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/AutoRecord.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,aAAa,CAAC;AAErC;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CACtB,MAAM,EAAE;IAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;CAAE,EAC7C,QAAQ,EAAE,MAAM,EAChB,UAAU,CAAC,EAAE,iBAAiB,QA8DjC;AAGD,wBAAgB,gBAAgB,CAC5B,MAAM,EAAE;IAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;CAAE,EAC7C,QAAQ,EAAE,MAAM,EAChB,UAAU,CAAC,EAAE,iBAAiB,QA4DjC"} \ No newline at end of file diff --git a/types/DatabaseServices/BlockTableRecord.d.ts b/types/DatabaseServices/BlockTableRecord.d.ts deleted file mode 100644 index 09e79ea..0000000 --- a/types/DatabaseServices/BlockTableRecord.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Status } from '../Common/Status'; -import { CADFiler } from './CADFiler'; -import { Database } from './Database'; -import { Entity } from './Entity/Entity'; -import { ObjectCollection } from './ObjectCollection'; -import { SymbolTableRecord } from './SymbolTableRecord'; -export declare class BlockTableRecord extends SymbolTableRecord { - EntityCol: ObjectCollection; - constructor(); - SetOwnerDatabase(db: Database): this; - get Entitys(): Entity[]; - /** 提供通用的Add方法(以便在WblockClone时能统一调用.Add) */ - Add(obj: Entity, isCheckObjectCleanly?: boolean): Status; - Append(entity: Entity, isCheckObjectCleanly?: boolean): void; - /**添加实体实现(通过转发) */ - AppendEvent(entity: Entity): void; - Remove(entity: Entity): void; - Destroy(): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=BlockTableRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/BlockTableRecord.d.ts.map b/types/DatabaseServices/BlockTableRecord.d.ts.map deleted file mode 100644 index 4c9e2c8..0000000 --- a/types/DatabaseServices/BlockTableRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BlockTableRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/BlockTableRecord.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAKtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,qBACa,gBAAiB,SAAQ,iBAAiB;IAEnD,SAAS,2BAAkC;;IAO3C,gBAAgB,CAAC,EAAE,EAAE,QAAQ;IAO7B,IAAI,OAAO,aAAqC;IAEhD,2CAA2C;IAC3C,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,oBAAoB,UAAO,GAAG,MAAM;IAMrD,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,oBAAoB,UAAO;IAuClD,kBAAkB;IAClB,WAAW,CAAC,MAAM,EAAE,MAAM;IAE1B,MAAM,CAAC,MAAM,EAAE,MAAM;IAKrB,OAAO;IAQP,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAQvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAO3B"} \ No newline at end of file diff --git a/types/DatabaseServices/CADFactory.d.ts b/types/DatabaseServices/CADFactory.d.ts deleted file mode 100644 index 7ddd3a2..0000000 --- a/types/DatabaseServices/CADFactory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * CAD对象工厂,通过注册 和暴露的创建方法,动态创建对象 - */ -export declare class CADFactory { - private constructor(); - private objectNameMap; - private static factory; - static RegisterObject(C: any): void; - static RegisterObjectAlias(C: any, name: string): void; - static CreateObject(name: string): any; -} -export declare function Factory(target: Object): void; -//# sourceMappingURL=CADFactory.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/CADFactory.d.ts.map b/types/DatabaseServices/CADFactory.d.ts.map deleted file mode 100644 index 53dcf70..0000000 --- a/types/DatabaseServices/CADFactory.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CADFactory.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/CADFactory.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,qBAAa,UAAU;IAEnB,OAAO;IACP,OAAO,CAAC,aAAa,CAA0B;IAC/C,OAAO,CAAC,MAAM,CAAC,OAAO,CAAoB;IAC1C,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,GAAG;IAK5B,MAAM,CAAC,mBAAmB,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM;IAI/C,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG;CAKzC;AAGD,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,QAGrC"} \ No newline at end of file diff --git a/types/DatabaseServices/CADFiler.d.ts b/types/DatabaseServices/CADFiler.d.ts deleted file mode 100644 index 59dac27..0000000 --- a/types/DatabaseServices/CADFiler.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Vec3 } from '../Geometry/IVec3'; -import { CADObject } from './CADObject'; -import { Database } from './Database'; -import { ISerialize } from './ISerialize'; -import { ObjectId } from './ObjectId'; -/** - * CAD文件数据 - */ -export declare class CADFiler { - protected _datas: any[]; - database: Database; - private readIndex; - constructor(_datas?: any[]); - Destroy(): void; - get Data(): any[]; - set Data(data: any[]); - Clear(): this; - Reset(): this; - WriteString(str: string): this; - ReadString(): string; - WriteObject(obj: ISerialize): this; - ReadObject(obj?: T): T; - CloneObjects(objects: CADObject[], clonedObjects?: CADObject[]): CADObject[]; - Write(data: any): this; - WriteBool(v: boolean): void; - WriteVec3(v3: Vec3): void; - Write2dArray(arr: [any, any][]): void; - Read(): any; - ReadBool(): boolean; - ReadArray(count: number): any[]; - Read2dArray(): [any, any][]; - WriteObjectId(id: ObjectId): this; - ReadObjectId(): ObjectId; - WriteSoftObjectId(id: ObjectId): this; - ReadSoftObjectId(): ObjectId; - WriteHardObjectId(id: ObjectId): this; - ReadHardObjectId(): ObjectId; - ToString(): string; - FromString(str: string): void; -} -//# sourceMappingURL=CADFiler.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/CADFiler.d.ts.map b/types/DatabaseServices/CADFiler.d.ts.map deleted file mode 100644 index 17063ae..0000000 --- a/types/DatabaseServices/CADFiler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CADFiler.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/CADFiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,qBAAa,QAAQ;IAIL,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE;IAFnC,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,SAAS,CAAa;gBACR,MAAM,GAAE,GAAG,EAAO;IAIxC,OAAO;IAMP,IAAI,IAAI,IAAI,GAAG,EAAE,CAGhB;IAED,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,EAInB;IAED,KAAK;IAKL,KAAK;IAML,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,UAAU,IAAI,MAAM;IAKpB,WAAW,CAAC,GAAG,EAAE,UAAU;IAa3B,UAAU,CAAC,CAAC,SAAS,UAAU,GAAG,SAAS,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;IAkBxD,YAAY,CAAC,OAAO,EAAE,SAAS,EAAE,EAAE,aAAa,GAAE,SAAS,EAAO;IAgBlE,KAAK,CAAC,IAAI,EAAE,GAAG;IAUf,SAAS,CAAC,CAAC,EAAE,OAAO;IAKpB,SAAS,CAAC,EAAE,EAAE,IAAI;IAKlB,YAAY,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;IAK9B,IAAI,IAAI,GAAG;IAKX,QAAQ;IAKR,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,EAAE;IAO/B,WAAW,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;IAqB3B,aAAa,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI;IASjC,YAAY,IAAI,QAAQ;IAQxB,iBAAiB,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI;IAIrC,gBAAgB,IAAI,QAAQ;IAM5B,iBAAiB,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI;IAIrC,gBAAgB;IAMhB,QAAQ;IAIR,UAAU,CAAC,GAAG,EAAE,MAAM;CAIzB"} \ No newline at end of file diff --git a/types/DatabaseServices/CADObject.d.ts b/types/DatabaseServices/CADObject.d.ts deleted file mode 100644 index 61ab68f..0000000 --- a/types/DatabaseServices/CADObject.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { CommandHistoryRecord } from './CommandHistoryRecord'; -import { Database } from './Database'; -import { ISerialize } from './ISerialize'; -import { ObjectId } from './ObjectId'; -export declare abstract class CADObject { - protected _Owner: ObjectId; - /** - * 用于储存临时数据 - */ - TempData: any; - __CacheBox__: any; - __CacheBoard__: any; - __CacheSize__: any; - __CachePolyline__: any; - set Owner(owner: ObjectId); - get Owner(): ObjectId; - Destroy(): void; - GoodBye(): any; - /** - * 当实体异步更新绘制实体完成后触发这个函数. - * Application通过注入的方式得知这个事件,刷新视图显示. - */ - AsyncUpdated(): void; - protected _db: Database; - get Db(): Database; - SetDefaultDb(db: Database): this; - SetOwnerDatabase(db: Database): this; - /** - * WblockClone 的时候,id是db分配的,此刻我们只需要设置它的db - */ - SetDatabase(db: Database): void; - protected _isErase: boolean; - get IsErase(): boolean; - Erase(isErase?: boolean): void; - objectId: ObjectId; - get Id(): ObjectId; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: ISerialize): void; - UndoRecord(): CommandHistoryRecord; - WriteAllObjectRecord(): boolean; - Clone(): this; - DeepClone(ownerObject: CADObject, cloneObejct: CADObject, idMaping?: Map, isPrimary?: boolean): this; - CopyFrom(obj: CADObject): void; - /** - * 配合 `@AutoRecord` 使用 - * 使用这个方法来覆盖AutoRecord的监听行为. - * 这个行为只能用来监听实体添加和实体修改. - * 实体删除行为暂时无法监听 - * @param setCallback 设置新的实体到数组时的回调函数 - */ - protected CreateProxyArray(setCallback: (v: any) => void): any[]; -} -//# sourceMappingURL=CADObject.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/CADObject.d.ts.map b/types/DatabaseServices/CADObject.d.ts.map deleted file mode 100644 index 944e744..0000000 --- a/types/DatabaseServices/CADObject.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CADObject.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/CADObject.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,8BAAsB,SAAS;IAE3B,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC3B;;OAEG;IACI,QA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at end of file diff --git a/types/DatabaseServices/CameraSnapshoot/CameraSnapshootRecord.d.ts b/types/DatabaseServices/CameraSnapshoot/CameraSnapshootRecord.d.ts deleted file mode 100644 index e6e3ad5..0000000 --- a/types/DatabaseServices/CameraSnapshoot/CameraSnapshootRecord.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Matrix4 } from "three"; -import { CameraUpdate } from "../../GraphicsSystem/CameraUpdate"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { CADObject } from "../CADObject"; -export declare class CameraSnapshootRecord extends CADObject { - Name: string; - CameraData: CameraUpdate; - UCS: Matrix4; - RenderType: RenderType; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=CameraSnapshootRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/CameraSnapshoot/CameraSnapshootRecord.d.ts.map b/types/DatabaseServices/CameraSnapshoot/CameraSnapshootRecord.d.ts.map deleted file mode 100644 index e87e245..0000000 --- a/types/DatabaseServices/CameraSnapshoot/CameraSnapshootRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CameraSnapshootRecord.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/CameraSnapshoot/CameraSnapshootRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,qBACa,qBAAsB,SAAQ,SAAS;IAEhD,IAAI,EAAE,MAAM,CAAM;IAClB,UAAU,eAAoB;IAC9B,GAAG,EAAE,OAAO,CAAe;IAC3B,UAAU,EAAE,UAAU,CAAwB;IAK9C,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAsBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAU3B"} \ No newline at end of file diff --git a/types/DatabaseServices/CommandHistoryRecord.d.ts b/types/DatabaseServices/CommandHistoryRecord.d.ts deleted file mode 100644 index ffefbfb..0000000 --- a/types/DatabaseServices/CommandHistoryRecord.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { CADObject } from './CADObject'; -import { HistorycRecord } from './HistorycRecord'; -import { ObjectAllDataHistoryRecord } from './ObjectAllDataHistoryRecord'; -import { ObjectId } from './ObjectId'; -/** - * 命令的历史记录 - */ -export declare class CommandHistoryRecord extends CADObject { - CommandName: string; - constructor(CommandName?: string); - private _HistoryList; - private _CreateObjects; - get HistoryList(): Map; - private GetObjectHistoryList; - EndCommand(): void; - GetObjectAllDataRecord(historyList: HistorycRecord[]): ObjectAllDataHistoryRecord | undefined; - WriteObjectHistoryPath(obj: CADObject, history: HistorycRecord): void; - WriteObjectSnapshoot(obj: CADObject): void; - CreateEraseHistory(obj: CADObject, isErase: boolean): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=CommandHistoryRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/CommandHistoryRecord.d.ts.map b/types/DatabaseServices/CommandHistoryRecord.d.ts.map deleted file mode 100644 index ed14fb1..0000000 --- a/types/DatabaseServices/CommandHistoryRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CommandHistoryRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/CommandHistoryRecord.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,qBACa,oBAAqB,SAAQ,SAAS;IAE5B,WAAW;gBAAX,WAAW,SAAK;IAKnC,OAAO,CAAC,YAAY,CAAyC;IAC7D,OAAO,CAAC,cAAc,CAAwC;IAE9D,IAAI,WAAW,IAAI,GAAG,CAAC,QAAQ,EAAE,cAAc,EAAE,CAAC,CAGjD;IAED,OAAO,CAAC,oBAAoB;IAO5B,UAAU;IAiBV,sBAAsB,CAAC,WAAW,EAAE,cAAc,EAAE,GAAG,0BAA0B,GAAG,SAAS;IAW7F,sBAAsB,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc;IAe9D,oBAAoB,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI;IAmB1C,kBAAkB,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;IAanD,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAqBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Contour.d.ts b/types/DatabaseServices/Contour.d.ts deleted file mode 100644 index 21a01f8..0000000 --- a/types/DatabaseServices/Contour.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Vector3 } from "three"; -import { IntersectResult } from "../GraphicsSystem/IntersectWith"; -import { Circle } from "./Entity/Circle"; -import { Curve } from "./Entity/Curve"; -import { Polyline } from "./Entity/Polyline"; -export declare class Contour { - private _Curve; - protected SetCurve(cu: Polyline | Circle): void; - /**会将传入的闭合轮廓改为逆时针 */ - static CreateContour(cus: Curve[] | Polyline | Circle, needLink?: boolean): Contour; - get Curve(): Polyline | Circle; - get Area(): number; - get BoundingBox(): import("../Geometry/Box").Box3Ext; - /** - * 不等比例缩放 - * @param {number} ref 缩放参考值,大于该值的点缩放 - * @param {number} dist 缩放距离 - * @param {string} dir x y z - */ - UnEqualProportionScale(ref: number, dist: number, dir: "x" | "y"): boolean; - Clone(): Contour; - IntersectionBoolOperation(target: Contour): Contour[]; - UnionBoolOperation(target: Contour): { - contours: Contour[]; - holes: Contour[]; - }; - SubstactBoolOperation(target: Contour): Contour[]; - /** - * 计算与目标轮廓布尔运算后的结果曲线. - */ - GetIntersetAndUnionList(target: Contour): { - intersectionList: Curve[]; - unionList: Curve[]; - }; - GetSubtractList(target: Contour): Polyline[]; - GetSubtractListByMoreTargets(targets: Contour[]): { - holes: Contour[]; - outlines: Contour[]; - }; - GetSubListWithCus(targets: Contour[]): { - holes: Polyline[]; - subtractList: Polyline[]; - }; - /** - * 获得全部闭合曲线 - * @若传入二维曲线数据,将默认子数组为闭合曲线段 - */ - static GetAllContour(cus: Curve[] | Curve[][]): Contour[]; - /** - * 合并曲线组成为多段线 - * @param cus 曲线组 - * @param [needLink=true] 需要解析成首尾连接状态 - * @returns 单一曲线,如果返回超过1个,其他的将被遗弃. - */ - static Combine(cus: Curve[], needLink?: boolean, tolerance?: number): Curve; - get Shape(): THREE.Shape; - /** - * 判断是否完全包含曲线 - * @param smallCurve 传入的这个曲线不能比本轮廓还大(这个需要自己优化?) - * @returns - */ - ContainerCurve(smallCurve: Polyline | Circle | Curve, isAreaCheckd?: boolean, ipts?: IntersectResult[]): boolean; - Equal(tar: Contour): boolean; -} -export declare function fastCurveInCurve2(bigCurve: Polyline | Circle, smallCurve: Curve, iPt?: Vector3): boolean; -export declare function CurveContainerCurve(bigCurve: Polyline | Circle, smallCurve: Polyline | Circle | Curve, ipts?: IntersectResult[], fuzz?: number): boolean; -//# sourceMappingURL=Contour.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Contour.d.ts.map b/types/DatabaseServices/Contour.d.ts.map deleted file mode 100644 index 1dcf7b7..0000000 --- a/types/DatabaseServices/Contour.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Contour.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/Contour.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,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C;;;OAGG;IACH,MAAM,CAAC,aAAa,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,OAAO,EAAE;IAiBzD;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,QAAQ,UAAO,EAAE,SAAS,SAAO,GAAG,KAAK;IA6BtE,IAAI,KAAK,IAAI,KAAK,CAAC,KAAK,CAGvB;IAED;;;;OAIG;IACH,cAAc,CAAC,UAAU,EAAE,QAAQ,GAAG,MAAM,GAAG,KAAK,EAAE,YAAY,UAAQ,EAAE,IAAI,GAAE,eAAe,EAAc,GAAG,OAAO;IAOzH,KAAK,CAAC,GAAG,EAAE,OAAO;CAIrB;AAkCD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,OAAO,WAY9F;AAGD,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,EAAE,UAAU,EAAE,QAAQ,GAAG,MAAM,GAAG,KAAK,EAAE,IAAI,GAAE,eAAe,EAAc,EAAE,IAAI,SAAe,WAW/J"} \ No newline at end of file diff --git a/types/DatabaseServices/CreateObjectData.d.ts b/types/DatabaseServices/CreateObjectData.d.ts deleted file mode 100644 index d95a57a..0000000 --- a/types/DatabaseServices/CreateObjectData.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { CADObject } from './CADObject'; -import { Database } from './Database'; -export declare class CreateObjectData extends CADObject { - Object?: CADObject; - private CADFiler; - CreateObject: CADObject; - /** - * 如果是实体新建,那么不需要调用`Save`,历史记录会在命令结束的时候调用. - * 如果是实体删除,那么请自行调用`Save`. - */ - constructor(Object?: CADObject); - Save(): this; - GetObject(db: Database): CADObject; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=CreateObjectData.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/CreateObjectData.d.ts.map b/types/DatabaseServices/CreateObjectData.d.ts.map deleted file mode 100644 index afff292..0000000 --- a/types/DatabaseServices/CreateObjectData.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateObjectData.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/CreateObjectData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBACa,gBAAiB,SAAQ,SAAS;IAWxB,MAAM,CAAC,EAAE,SAAS;IATrC,OAAO,CAAC,QAAQ,CAA4B;IAG5C,YAAY,EAAE,SAAS,CAAC;IAExB;;;OAGG;gBACgB,MAAM,CAAC,EAAE,SAAS;IAMrC,IAAI;IAUJ,SAAS,CAAC,EAAE,EAAE,QAAQ,GAAG,SAAS;IAYlC,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAOvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAM3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Database.d.ts b/types/DatabaseServices/Database.d.ts deleted file mode 100644 index 780c48c..0000000 --- a/types/DatabaseServices/Database.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { Vector3 } from 'three'; -import { DuplicateRecordCloning } from '../Common/Status'; -import { AlignLineGroupTable } from './AlignLine/AlignLineGroupTable'; -import { BlockTableRecord } from './BlockTableRecord'; -import { CADFiler } from './CADFiler'; -import { CADObject } from './CADObject'; -import { CameraSnapshootRecord } from './CameraSnapshoot/CameraSnapshootRecord'; -import { DimStyleTable } from './DimStyle/DimStyleTable'; -import { FontStyleTable } from './FontStyle/FontStyleTable'; -import { GroupTable } from './GroupTable'; -import { HistoricManage } from './HistoricManage'; -import { IdMaping } from './IdMaping'; -import { LayerTableRecord } from './LayerTableRecord'; -import { AmbientLight } from './Lights/AmbientLight'; -import { DirectionalLight } from './Lights/DirectionalLight'; -import { HemisphereLight } from './Lights/HemisphereLight'; -import { ObjectId } from './ObjectId'; -import { OwnerContainer } from './OwnerContainer'; -import { PhysicalMaterialRecord } from './PhysicalMaterialRecord'; -import { ProcessingGroupTable } from './ProcessingGroup/ProcessingGroupTable'; -import { BlockTable } from './Tables/BlockTable'; -import { LayerTable } from './Tables/LayerTable'; -import { MaterialTable } from './Tables/MaterialTable'; -import { TextureTable } from './Tables/TextureTable'; -import { TemplateTable } from './Template/TemplateTable'; -import { WblockCloneFiler } from './WblockCloneFiler'; -export declare class Database { - IsDefaultDatabase: boolean; - hm: HistoricManage; - BlockTable: BlockTable; - MaterialTable: MaterialTable; - TextureTable: TextureTable; - TemplateTable: TemplateTable; - GroupTable: GroupTable; - ProcessingGroupTable: ProcessingGroupTable; - AlignLineGroupTable: AlignLineGroupTable; - DimStyleTable: DimStyleTable; - LayerTable: LayerTable; - FontStyleTable: FontStyleTable; - ModelSpace: BlockTableRecord; - LayoutSpace: BlockTableRecord; - Lights: BlockTableRecord; - CameraSnapshoots: CameraSnapshootRecord[]; - AmbientLight: AmbientLight; - SunLight: DirectionalLight; - HemisphereLight: HemisphereLight; - DefaultLayer: LayerTableRecord; - DefaultMaterial: PhysicalMaterialRecord; - /** 这是为UE设计器提供的拓展数据,WebCAD只负责保存,不使用它. - * 在存储吊顶模块时,存储了材质槽信息 - */ - ExtendedData: any; - private idIndex; - private idMap; - /** - * - * @param [buildDefaultDrawing=false] 构建默认对象(标注 图层 材质 灯光) - * @param [IsDefaultDatabase=false] app图纸 - * @param [disableHistoric=false] 禁止命令记录(撤销重做) - */ - constructor(buildDefaultDrawing?: boolean, IsDefaultDatabase?: boolean, disableHistoric?: boolean); - private InitDimStyle; - private InitLayer; - private InitMaterial; - private InitLight; - private InitFontStyle; - private SettingDefaultStyleAndMaterial; - Destroy(): void; - FileWrite(file?: CADFiler): CADFiler; - FileRead(file: CADFiler): this; - /** - * 注意:跨图纸拷贝(WblockCloneObjects) 同图纸拷贝(DeppCloneObjects) - * - * 单个数据库内克隆对象(objects),并将他们附加到指定的容器对象(owner). - * @param objects 被克隆的对象 - * @param owner 克隆对象的容器 - * @param idMap id映射 oldid->newid - * @param deferXlation 指示是否应该进行ID转换 - * @returns 新克隆的对象列表 - */ - DeepCloneObjects(objects: CADObject[], owner: OwnerContainer, idMap?: IdMaping, deferXlation?: boolean): CADObject[]; - /** - * 清理拷贝后的实体空引用 - */ - private ClearEmptyAssoc; - private DeepCloneObject; - /** - * 注意:跨图纸拷贝(WblockCloneObjects) 同图纸拷贝(DeppCloneObjects) - * - * 将来自不同数据库的对象列表拷贝到本数据库中. - * 当前支持使用HardId模式来硬关联某个对象,使该对象能够在WblockClone时一起被带过来. - * 当前不支持硬关联对象的Owner不是默认的容器. - * 如果需要这么做,请将该对象的Owner设置为Hard关联 - * @param objects 对象不能属于本数据库 - * @param owner 克隆对象的新容器 - * @param idMap id映射 - */ - WblockCloneObejcts(objects: CADObject[], owner: OwnerContainer, idMap: IdMaping, drc: DuplicateRecordCloning, filer?: WblockCloneFiler): CADObject[]; - /** - * 克隆引用对象 WriteHardObjectId - */ - private WblockCloneReferenceObject; - private WblockCloneObject; - /** - * 为拷贝出来的对象分配id索引,并在数据库中注册 - */ - private AllocationObjectId; - Insert(): void; - /** - * 写块 - * @param outputDatabase 输出到指定的数据库 - * @param objects - * @param basePoint - * @param cloning - */ - Wblock(outputDataBase: Database, objects: CADObject[], basePoint: Vector3, cloning: any): void; - AllocateId(): ObjectId; - GetObjectId(index: number, create?: boolean): ObjectId; - DeleteId(idIndex: number): void; -} -//# sourceMappingURL=Database.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Database.d.ts.map b/types/DatabaseServices/Database.d.ts.map deleted file mode 100644 index d7c4c11..0000000 --- a/types/DatabaseServices/Database.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Database.d.ts","sourceRoot":"","sources":["../../../src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,QAAQ;IA+BxC,QAAQ,CAAC,IAAI,EAAE,QAAQ;IA2GvB;;;;;;;;;OASG;IACH,gBAAgB,CACZ,OAAO,EAAE,SAAS,EAAE,EACpB,KAAK,EAAE,cAAc,EACrB,KAAK,GAAE,QAAoB,EAC3B,YAAY,UAAQ,GACrB,SAAS,EAAE;IA6Bd;;OAEG;IACH,OAAO,CAAC,eAAe;IAoBvB,OAAO,CAAC,eAAe;IAoEvB;;;;;;;;;;OAUG;IACH,kBAAkB,CACd,OAAO,EAAE,SAAS,EAAE,EACpB,KAAK,EAAE,cAAc,EACrB,KAAK,EAAE,QAAQ,EACf,GAAG,EAAE,sBAAsB,EAC3B,KAAK,mBAAuB,GAC7B,SAAS,EAAE;IAmBd;;OAEG;IACH,OAAO,CAAC,0BAA0B;IA0BlC,OAAO,CAAC,iBAAiB;IAkFzB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAM1B,MAAM;IAKN;;;;;;OAMG;IACH,MAAM,CACF,cAAc,EAAE,QAAQ,EACxB,OAAO,EAAE,SAAS,EAAE,EACpB,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,GAAG;IAWhB,UAAU,IAAI,QAAQ;IAKtB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,UAAQ,GAAG,QAAQ;IAcpD,QAAQ,CAAC,OAAO,EAAE,MAAM;CAM3B"} \ No newline at end of file diff --git a/types/DatabaseServices/DeepCloneFiler.d.ts b/types/DatabaseServices/DeepCloneFiler.d.ts deleted file mode 100644 index cb01de9..0000000 --- a/types/DatabaseServices/DeepCloneFiler.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { CADFiler } from "./CADFiler"; -import { ObjectId } from "./ObjectId"; -export declare class DeepCloneFiler extends CADFiler { - idMaping: Map>; - constructor(idMaping?: Map>); - ReadObjectId(): ObjectId; - ReadSoftObjectId(): ObjectId; - ReadHardObjectId(): ObjectId; - hardObjectIds: Set; - cloned: Set; - WriteHardObjectId(id: ObjectId): this; -} -//# sourceMappingURL=DeepCloneFiler.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/DeepCloneFiler.d.ts.map b/types/DatabaseServices/DeepCloneFiler.d.ts.map deleted file mode 100644 index b41e58f..0000000 --- a/types/DatabaseServices/DeepCloneFiler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DeepCloneFiler.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/DeepCloneFiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAiB,MAAM,YAAY,CAAC;AAErD,qBAAa,cAAe,SAAQ,QAAQ;IAErB,QAAQ;gBAAR,QAAQ,yDAA8B;IAKzD,YAAY;IAcZ,gBAAgB;IAQhB,gBAAgB;IAQhB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IACvC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAChC,iBAAiB,CAAC,EAAE,EAAE,QAAQ;CAOjC"} \ No newline at end of file diff --git a/types/DatabaseServices/DimStyle/DimStyleRecord.d.ts b/types/DatabaseServices/DimStyle/DimStyleRecord.d.ts deleted file mode 100644 index 6d6f001..0000000 --- a/types/DatabaseServices/DimStyle/DimStyleRecord.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { CADFiler } from "../CADFiler"; -import { SymbolTableRecord } from "../SymbolTableRecord"; -export declare enum DimTextPosDir { - Top = 1,//上 - Out = 2 -} -/** - * 标注样式 - */ -export declare class DimStyleRecord extends SymbolTableRecord { - /** 如果设置为 1,延长线(脚线)具有固定长度 DIMFXLON 290 */ - DIMFXLON: boolean; - /** DIMFXL 49 尺寸线下方的延长线长度如果固定(DIMFXLON 为 1),DIMEXE 定义尺寸线上方的长度 */ - DIMFXL: number; - /** 控制尺寸中换算单位的显示 DIMALT 170 */ - DIMALT: boolean; - /** 控制换算单位的小数位数。如果打开 DIMALT,DIMALTD 会设置交替测量中小数点右侧显示的位数。 DIMALTD 171 */ - DIMALTD: number; - DIMADEC: number; - /** DIMASZ 41 控制尺寸线和引线箭头的大小。还控制钩线的大小。箭头大小的倍数决定尺寸线和文本是否应适合尺寸界线。如果由 DIMBLK 设置,DIMASZ 也用于缩放箭头块。当 DIMTSZ 不为零时,DIMASZ 无效。 */ - DIMASZ: number; - /**147 尺寸线距离文字的距离(从尺寸线偏移) */ - DIMGAP: number; - /**42 指定尺寸界线与原点的偏移距离。对于固定长度的延长线,此值确定最小偏移量。 */ - DIMEXO: number; - /**43 */ - DIMDLI: number; - /**44 肩膀上面的延伸线长度 */ - DIMEXE: number; - /** 140 文字高度 */ - DIMTXT: number; - /**77 控制文本相对于尺寸线的垂直位置。 */ - DIMTAD: DimTextPosDir; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=DimStyleRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/DimStyle/DimStyleRecord.d.ts.map b/types/DatabaseServices/DimStyle/DimStyleRecord.d.ts.map deleted file mode 100644 index 0558d3d..0000000 --- a/types/DatabaseServices/DimStyle/DimStyleRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DimStyleRecord.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/DimStyle/DimStyleRecord.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAIzD,oBAAY,aAAa;IAErB,GAAG,IAAI,CAAC,GAAG;IACX,GAAG,IAAI;CACV;AAED;;GAEG;AACH,qBACa,cAAe,SAAQ,iBAAiB;IAEjD,yCAAyC;IAC7B,QAAQ,EAAE,OAAO,CAAQ;IAErC,gEAAgE;IACpD,MAAM,EAAE,MAAM,CAAO;IAEjC,8BAA8B;IAClB,MAAM,EAAE,OAAO,CAAQ;IAEnC,sEAAsE;IAC1D,OAAO,EAAE,MAAM,CAAK;IAEpB,OAAO,EAAE,MAAM,CAAK;IAEhC,wHAAwH;IAC5G,MAAM,EAAE,MAAM,CAAM;IAEhC,4BAA4B;IAChB,MAAM,EAAE,MAAM,CAAM;IAEhC,6CAA6C;IACjC,MAAM,EAAE,MAAM,CAAM;IAEhC,QAAQ;IACI,MAAM,EAAE,MAAM,CAAM;IAEhC,mBAAmB;IACP,MAAM,EAAE,MAAM,CAAM;IAEhC,eAAe;IACH,MAAM,EAAE,MAAM,CAAM;IAChC,yBAAyB;IACb,MAAM,EAAE,aAAa,CAAqB;IAO7C,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAyBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAuBpC"} \ No newline at end of file diff --git a/types/DatabaseServices/DimStyle/DimStyleTable.d.ts b/types/DatabaseServices/DimStyle/DimStyleTable.d.ts deleted file mode 100644 index 4e3d42d..0000000 --- a/types/DatabaseServices/DimStyle/DimStyleTable.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { CADFiler } from "../CADFiler"; -import { ObjectId } from "../ObjectId"; -import { SymbolTable } from "../Tables/SymbolTable"; -export declare class DimStyleTable extends SymbolTable { - Current: ObjectId; - get DimStyleNames(): string[]; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=DimStyleTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/DimStyle/DimStyleTable.d.ts.map b/types/DatabaseServices/DimStyle/DimStyleTable.d.ts.map deleted file mode 100644 index 1024492..0000000 --- a/types/DatabaseServices/DimStyle/DimStyleTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DimStyleTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/DimStyle/DimStyleTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,qBACa,aAAc,SAAQ,WAAW;IAE1C,OAAO,EAAE,QAAQ,CAAC;IAElB,IAAI,aAAa,IAAI,MAAM,EAAE,CAM5B;IAIQ,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAOvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAOpC"} \ No newline at end of file diff --git a/types/DatabaseServices/DimStyle/DimstyleKeyCodeEnum.d.ts b/types/DatabaseServices/DimStyle/DimstyleKeyCodeEnum.d.ts deleted file mode 100644 index 37e6174..0000000 --- a/types/DatabaseServices/DimStyle/DimstyleKeyCodeEnum.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export declare enum DimStyleKeyCode { - DIMEXO = 20, - /**如果设置为 1,延长线具有固定长度 */ - DIMFXL = 49, - /**延长线长度 */ - DIMFXLON = 290, - /**控制尺寸中换算单位的显示 */ - DIMALT = 170, - /**控制换算单位的小数位数。 */ - DIMALTD = 171, - DIMADEC = 179, - /**箭头尺寸 */ - DIMASZ = 41, - DIMEXE = 44, - DIMTAD = 77, - DIMTXT = 140, - DIMGAP = 147 -} -//# sourceMappingURL=DimstyleKeyCodeEnum.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/DimStyle/DimstyleKeyCodeEnum.d.ts.map b/types/DatabaseServices/DimStyle/DimstyleKeyCodeEnum.d.ts.map deleted file mode 100644 index f1a153b..0000000 --- a/types/DatabaseServices/DimStyle/DimstyleKeyCodeEnum.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DimstyleKeyCodeEnum.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/DimStyle/DimstyleKeyCodeEnum.ts"],"names":[],"mappings":"AACA,oBAAY,eAAe;IAEvB,MAAM,KAAK;IACX,uBAAuB;IACvB,MAAM,KAAK;IACX,WAAW;IACX,QAAQ,MAAM;IACd,kBAAkB;IAClB,MAAM,MAAM;IACZ,kBAAkB;IAClB,OAAO,MAAM;IACb,OAAO,MAAM;IACb,UAAU;IACV,MAAM,KAAK;IAEX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,MAAM;IAEZ,MAAM,MAAM;CACf"} \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/2LineAngularDimension.d.ts b/types/DatabaseServices/Dimension/2LineAngularDimension.d.ts deleted file mode 100644 index 442ac8d..0000000 --- a/types/DatabaseServices/Dimension/2LineAngularDimension.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Material, Matrix3, Matrix4, Object3D, Line as TLine, Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { Arc } from "../Entity/Arc"; -import { Line } from "../Entity/Line"; -import { Dimension } from "./Dimension"; -/** - * 两条直线的角度标注 - */ -export declare class LineAngularDimension extends Dimension { - protected _L1StartPoint: Vector3; - protected _L1EndPoint: Vector3; - protected _L2StartPoint: Vector3; - protected _L2EndPoint: Vector3; - protected _DimPoint: Vector3; - private _Arc; - constructor(_L1StartPoint?: Vector3, //第一条直线的起点 - _L1EndPoint?: Vector3, //第一条直线的终点 - _L2StartPoint?: Vector3, //第二条直线的起点 - _L2EndPoint?: Vector3, _DimPoint?: Vector3); - get FractionDigits(): number; - set FractionDigits(length: number); - protected GetPrimitiveString(): string; - UpdateDimData(l1sp: Vector3, l1ep: Vector3, l2sp: Vector3, l2ep: Vector3, dimp: Vector3): void; - get Text(): import("../Text/Text").Text; - get L1StartPoint(): Vector3; - get L2StartPoint(): Vector3; - get L1EndPoint(): Vector3; - get L2EndPoint(): Vector3; - get DimPoint(): Vector3; - get Arc(): Arc; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Array; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - Clone(): this; - Explode(): (import("../Text/Text").Text | Arc)[]; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - InitDrawObject(renderType?: RenderType): Object3D; - Update2Line(l1: Line, l2: Line, intPt: Vector3, li1: TLine, li2: TLine): void; - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - UpdateDrawObjectMaterial(type: RenderType, obj: Object3D, material?: Material): void; - protected ApplyMirrorMatrix(m: Matrix4): this; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=2LineAngularDimension.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/2LineAngularDimension.d.ts.map b/types/DatabaseServices/Dimension/2LineAngularDimension.d.ts.map deleted file mode 100644 index e925c30..0000000 --- a/types/DatabaseServices/Dimension/2LineAngularDimension.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"2LineAngularDimension.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Dimension/2LineAngularDimension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAa,OAAO,EAAE,OAAO,EAAQ,QAAQ,EAAE,IAAI,IAAI,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAQtH,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAI7D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC;;GAEG;AACH,qBACa,oBAAqB,SAAQ,SAAS;IAI3C,SAAS,CAAC,aAAa;IACvB,SAAS,CAAC,WAAW;IACrB,SAAS,CAAC,aAAa;IACvB,SAAS,CAAC,WAAW;IACrB,SAAS,CAAC,SAAS;IANvB,OAAO,CAAC,IAAI,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C,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ;IAa7E,SAAS,CAAC,iBAAiB,CAAC,CAAC,EAAE,OAAO;IAqBtC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAmBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/AlignedDimension.d.ts b/types/DatabaseServices/Dimension/AlignedDimension.d.ts deleted file mode 100644 index 601a1c1..0000000 --- a/types/DatabaseServices/Dimension/AlignedDimension.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { Material, Matrix3, Matrix4, Object3D, Vector2, Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { Line } from "../Entity/Line"; -import { Dimension } from "./Dimension"; -/** - * 对齐标注 - * 存在子类重载(线性标注 LinearDimension) - */ -export declare class AlignedDimension extends Dimension { - protected _FootP1: Vector3; - protected _FootP2: Vector3; - protected _ArmP1: Vector3; - protected _ArmP2: Vector3; - protected _TextRotation: number; - protected _UseLead: boolean; - private _LeadLine; - /**引线的起始位置,在引线坐标系+使用中点 */ - private _LeadPos; - /**构造函数提供的点在对象坐标系内部 */ - constructor(_FootP1?: Vector3, _FootP2?: Vector3, _ArmP1?: Vector3, _ArmP2?: Vector3, _TextRotation?: number, _UseLead?: boolean); - get Distance(): number; - get FootP1(): Vector3; - set FootP1(v: Vector3); - get FootP2(): Vector3; - set FootP2(v: Vector3); - get ArmP1(): Vector3; - set ArmP1(v: Vector3); - get ArmP2(): Vector3; - set ArmP2(v: Vector3); - get TextPosition(): Vector3; - /**实际上这个是BasePoint 用来定位尺寸线的位置 */ - set TextPosition(p: Vector3); - get DalUcs(): Matrix4; - set TextRotation(angle: number); - get Text(): import("../Text/Text").Text; - protected GetPrimitiveString(): string; - get BoundingBox(): import("../../Geometry/Box").Box3Ext; - get LeadVisible(): boolean; - /**设置引线可见 */ - set LeadVisible(visible: boolean); - set LeadInLeft(isLeft: boolean); - /**切换引线可见性 */ - ToggleLeadVisible(): void; - /**切换引线翻转 */ - FlippeLead(): void; - get LeadY(): number; - /**引线偏移 */ - set LeadY(y: number); - get LeadX(): number; - set LeadX(x: number); - /**设置引线数据 */ - SetLeadData(offset: Vector2, isFlipped?: boolean): void; - Explode(): (import("../Text/Text").Text | Line)[]; - protected ApplyMirrorMatrix(m: Matrix4): this; - Clone(): this; - InitDrawObject(renderType?: RenderType): Object3D; - ParseTopDir(): [Vector3, Vector3, Vector3]; - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - get NeedLead(): boolean; - /** - * 更新引线并返回textPosition - */ - UpdateLeadLine(): Vector3; - UpdateText(textPos?: Vector3): void; - protected OnChangeFootPt(): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - private SetDataToTempPolyline; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D, material?: Material): void; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Array; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=AlignedDimension.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/AlignedDimension.d.ts.map b/types/DatabaseServices/Dimension/AlignedDimension.d.ts.map deleted file mode 100644 index 70ec340..0000000 --- a/types/DatabaseServices/Dimension/AlignedDimension.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AlignedDimension.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Dimension/AlignedDimension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAQ,QAAQ,EAAiB,OAAO,EAAE,O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CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ;IAanF,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAQ/B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAwChD,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC;IAKlC,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAsBxD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IA2FlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAkB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/ArcDimension.d.ts b/types/DatabaseServices/Dimension/ArcDimension.d.ts deleted file mode 100644 index 7115040..0000000 --- a/types/DatabaseServices/Dimension/ArcDimension.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Material, Object3D, Vector3 } from "three"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { Arc } from "../Entity/Arc"; -import { Text } from "../Text/Text"; -import { Dimension } from "./Dimension"; -export declare class ArcDimension extends Dimension { - private _Center; - private _StartAngle; - private _EndAngle; - private _Clockwise; - private _Radius; - private _TextRadiusAdd; - protected _TextString: string; - private _Arc; - protected _Text: Text; - constructor(_Center?: Vector3, _StartAngle?: number, _EndAngle?: number, _Clockwise?: boolean, _Radius?: number, _TextRadiusAdd?: number, _TextString?: string); - get Text(): Text; - get Arc(): Arc; - set TextRadiusAdd(ra: number); - get TextRadiusAdd(): number; - protected GetPrimitiveString(): string; - GetGripPoints(): Vector3[]; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(indexList: number[], vec: Vector3): void; - private UpdateArcFromThisArc; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - ParseText(): void; - UpdateDrawObjectMaterial(type: RenderType, obj: Object3D, material?: Material): void; - PraseArc(): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=ArcDimension.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/ArcDimension.d.ts.map b/types/DatabaseServices/Dimension/ArcDimension.d.ts.map deleted file mode 100644 index dd44570..0000000 --- a/types/DatabaseServices/Dimension/ArcDimension.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ArcDimension.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Dimension/ArcDimension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,QAAQ,EAAiB,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMzF,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAG7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,EAAE,IAAI,EAAc,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,qBACa,YAAa,SAAQ,SAAS;IAMnC,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,cAAc;IACtB,SAAS,CAAC,WAAW,EAAE,MAAM;IAVjC,OAAO,CAAC,IAAI,CAAW;IACvB,SAAS,CAAC,KAAK,OAAc;gBAGjB,OAAO,GAAE,OAAqB,EAC9B,WAAW,GAAE,MAAU,EACvB,SAAS,GAAE,MAAU,EACrB,UAAU,UAAQ,EAClB,OAAO,GAAE,MAAU,EACnB,cAAc,GAAE,MAAU,EACxB,WAAW,GAAE,MAAc;IAMzC,IAAI,IAAI,SAQP;IAED,IAAI,GAAG,QAKN;IAED,IAAI,aAAa,CAAC,EAAE,EAAE,MAAM,EAO3B;IAED,IAAI,aAAa,IATK,MAAM,CASuB;IAEnD,SAAS,CAAC,kBAAkB,IAAI,MAAM;IAMtC,aAAa,IAAI,OAAO,EAAE;IAQ1B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAYhD,gBAAgB,IAAI,OAAO,EAAE;IAS7B,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAYnD,OAAO,CAAC,oBAAoB;IAW5B,cAAc,CAAC,UAAU,GAAE,UAAiC;IAmB5D,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IA8CtD,SAAS;IAaT,wBAAwB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ;IAc7E,QAAQ;IAeR,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAqBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/DiameterDimension.d.ts b/types/DatabaseServices/Dimension/DiameterDimension.d.ts deleted file mode 100644 index dd0f3d8..0000000 --- a/types/DatabaseServices/Dimension/DiameterDimension.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Material, Object3D, Vector3 } from "three"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { RadiusDimension } from "./RadiusDimension"; -export declare class DiameterDimension extends RadiusDimension { - protected _TextString: string; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D, material?: Material): void; - MoveGripPoints(indexList: number[], vec: Vector3): void; -} -//# sourceMappingURL=DiameterDimension.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/DiameterDimension.d.ts.map b/types/DatabaseServices/Dimension/DiameterDimension.d.ts.map deleted file mode 100644 index 9cf5027..0000000 --- a/types/DatabaseServices/Dimension/DiameterDimension.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DiameterDimension.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Dimension/DiameterDimension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAQ,QAAQ,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AAQzF,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAI7D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAKpD,qBACa,iBAAkB,SAAQ,eAAe;IAElD,SAAS,CAAC,WAAW,EAAE,MAAM,CAAS;IACtC,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IA6BvE,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAwCtD,wBAAwB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ;IAsBnF,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;CAoCnD"} \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/Dimension.d.ts b/types/DatabaseServices/Dimension/Dimension.d.ts deleted file mode 100644 index b6e4252..0000000 --- a/types/DatabaseServices/Dimension/Dimension.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { CADFiler } from "../CADFiler"; -import { DimStyleKeyCode } from "../DimStyle/DimstyleKeyCodeEnum"; -import { Entity } from "../Entity/Entity"; -import { ObjectId } from "../ObjectId"; -import { PhysicalMaterialRecord } from "../PhysicalMaterialRecord"; -import { Text } from "../Text/Text"; -export declare abstract class Dimension extends Entity { - OnlyRenderType: boolean; - protected _TextString: string; - protected _Text: Text; - get Material(): ObjectId; - set Material(materialId: ObjectId); - protected _DimStyle: ObjectId; - protected _DimStyleOverride: Map; - GetDimStyleOverrideValue(key: DimStyleKeyCode): any; - SetDimStyleOverrideValue(key: DimStyleKeyCode, value: any): void; - SetDimStyleOverrideValues(valueMap: Map): void; - DeleteDimStyleOverrideValue(key: DimStyleKeyCode): void; - ClearDimStyleOverride(): void; - GetDimStyleValue(key: DimStyleKeyCode): any; - get DimStyle(): ObjectId; - /**设置标注样式 */ - set DimStyle(styleId: ObjectId); - set TextString(txt: string); - get TextString(): string; - /**计算文字盒子占用的宽度 */ - get TextBoxWidth(): number; - get TextSize(): number; - set TextSize(size: number); - get FractionDigits(): number; - set FractionDigits(length: number); - /**未被修改过的 原始显示字符串,供内部使用 实际文字需要使用.TextString */ - protected abstract GetPrimitiveString(): string; - protected ReadDimStyle(file: CADFiler): void; - protected WriteDimStyle(file: CADFiler): void; -} -//# sourceMappingURL=Dimension.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/Dimension.d.ts.map b/types/DatabaseServices/Dimension/Dimension.d.ts.map deleted file mode 100644 index e446e31..0000000 --- a/types/DatabaseServices/Dimension/Dimension.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Dimension.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Dimension/Dimension.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,8BACsB,SAAU,SAAQ,MAAM;IAE1C,cAAc,UAAQ;IACtB,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,KAAK,OAAc;IAG7B,IAAI,QAAQ,IACa,QAAQ,CAAC,sBAAsB,CAAC,CADd;IAC3C,IAAI,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,sBAAsB,CAAC,EAAK;IAG9D,SAAS,CAAC,SAAS,EAAE,QAAQ,CAAC;IAC9B,SAAS,CAAC,iBAAiB,EAAE,GAAG,CAAC,eAAe,EAAE,GAAG,CAAC,CAAW;IAGjE,wBAAwB,CAAC,GAAG,EAAE,eAAe,GAAG,GAAG;IAEnD,wBAAwB,CAAC,GAAG,EAAE,eAAe,EAAE,KAAK,EAAE,GAAG;IAczD,yBAAyB,CAAC,QAAQ,EAAE,GAAG,CAAC,eAAe,EAAE,GAAG,CAAC;IAW7D,2BAA2B,CAAC,GAAG,EAAE,eAAe;IAQhD,qBAAqB;IAUrB,gBAAgB,CAAC,GAAG,EAAE,eAAe;IAYrC,IAAI,QAAQ,IAEU,QAAQ,CAFW;IACzC,YAAY;IACZ,IAAI,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAS7B;IAID,IAAI,UAAU,CAAC,GAAG,EAAE,MAAM,EAazB;IAED,IAAI,UAAU,IAfM,MAAM,CAkBzB;IACD,iBAAiB;IACjB,IAAI,YAAY,WAGf;IAED,IAAI,QAAQ,IACO,MAAM,CAD+C;IACxE,IAAI,QAAQ,CAAC,IAAI,EAAE,MAAM,EAGxB;IAGD,IAAI,cAAc,IACS,MAAM,CAD8C;IAC/E,IAAI,cAAc,CAAC,MAAM,EAAE,MAAM,EAGhC;IAGD,8CAA8C;IAC9C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,IAAI,MAAM;IAG/C,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ;IAWrC,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ;CASzC"} \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/GetDimLineMaterial.d.ts b/types/DatabaseServices/Dimension/GetDimLineMaterial.d.ts deleted file mode 100644 index a160609..0000000 --- a/types/DatabaseServices/Dimension/GetDimLineMaterial.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { LineBasicMaterial } from "three"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { Entity } from "../Entity/Entity"; -export declare function GetDimLineMaterial(dim: Entity, renderType: RenderType): LineBasicMaterial; -//# sourceMappingURL=GetDimLineMaterial.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/GetDimLineMaterial.d.ts.map b/types/DatabaseServices/Dimension/GetDimLineMaterial.d.ts.map deleted file mode 100644 index 70cabdb..0000000 --- a/types/DatabaseServices/Dimension/GetDimLineMaterial.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetDimLineMaterial.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Dimension/GetDimLineMaterial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,iBAAiB,CAQzF"} \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/LinearDimension.d.ts b/types/DatabaseServices/Dimension/LinearDimension.d.ts deleted file mode 100644 index 9c878ba..0000000 --- a/types/DatabaseServices/Dimension/LinearDimension.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Vector3 } from "three"; -import { AlignedDimension } from "./AlignedDimension"; -/** - * 线性标注 http://docs.autodesk.com/ACD/2011/ENU/filesDXF/WS1a9193826455f5ff18cb41610ec0a2e719-7a23.htm - * 如果按照Autodesk实现的线性标注,这个其实应该叫做AcDbRotatedDimension,而且提供50祖玛(旋转角度) 52(暂时不知道有啥用) - * 现在的实现是根据ArmPt来实现固定的垂直标注或者水平标注 - */ -export declare class LinearDimension extends AlignedDimension { - private _DimDir; - get TextPosition(): Vector3; - set TextPosition(p: Vector3); - OnChangeFootPt(): void; -} -//# sourceMappingURL=LinearDimension.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/LinearDimension.d.ts.map b/types/DatabaseServices/Dimension/LinearDimension.d.ts.map deleted file mode 100644 index a7dbff9..0000000 --- a/types/DatabaseServices/Dimension/LinearDimension.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LinearDimension.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Dimension/LinearDimension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAUtD;;;;GAIG;AACH,qBACa,eAAgB,SAAQ,gBAAgB;IAEjD,OAAO,CAAC,OAAO,CAAY;IAE3B,IAAI,YAAY,IAMI,OAAO,CAH1B;IAGD,IAAI,YAAY,CAAC,CAAC,EAAE,OAAO,EA0B1B;IAEQ,cAAc;CAgB1B"} \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/MLeaderDimension.d.ts b/types/DatabaseServices/Dimension/MLeaderDimension.d.ts deleted file mode 100644 index e078fc6..0000000 --- a/types/DatabaseServices/Dimension/MLeaderDimension.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Object3D, Vector3 } from "three"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { Text } from "../Text/Text"; -import { Dimension } from "./Dimension"; -export declare class MLeaderDimension extends Dimension { - protected _TextString: string; - protected _StartPoint: Vector3; - protected _EndPoint: Vector3; - protected _Text: Text; - constructor(_TextString?: string, // 文本 - _StartPoint?: Vector3, // 引线起点 - _EndPoint?: Vector3); - get Text(): Text; - set StartPoint(p: Vector3); - get StartPoint(): Vector3; - get EndPoint(): Vector3; - set EndPoint(p: Vector3); - protected GetPrimitiveString(): string; - GetGripPoints(): Vector3[]; - MoveGripPoints(indexList: number[], vec: Vector3): void; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - ParseText(): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=MLeaderDimension.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/MLeaderDimension.d.ts.map b/types/DatabaseServices/Dimension/MLeaderDimension.d.ts.map deleted file mode 100644 index 462fa6b..0000000 --- a/types/DatabaseServices/Dimension/MLeaderDimension.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"MLeaderDimension.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Dimension/MLeaderDimension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKhE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,IAAI,EAAc,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,qBACa,gBAAiB,SAAQ,SAAS;IAKvC,SAAS,CAAC,WAAW,EAAE,MAAM;IAC7B,SAAS,CAAC,WAAW,EAAE,OAAO;IAC9B,SAAS,CAAC,SAAS,EAAE,OAAO;IALhC,SAAS,CAAC,KAAK,OAAc;gBAGf,WAAW,GAAE,MAAW,EAAiB,KAAK;IAC9C,WAAW,GAAE,OAAuB,EAAK,OAAO;IAChD,SAAS,GAAE,OAA0B;IAMnD,IAAI,IAAI,SAMP;IAED,IAAI,UAAU,CAAC,CAAC,EAAE,OAAO,EAKxB;IACD,IAAI,UAAU,IAAI,OAAO,CAGxB;IAED,IAAI,QAAQ,IAAI,OAAO,CAGtB;IACD,IAAI,QAAQ,CAAC,CAAC,EAAE,OAAO,EAKtB;IAED,SAAS,CAAC,kBAAkB,IAAI,MAAM;IAMtC,aAAa,IAAI,OAAO,EAAE;IAK1B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAkBhD,cAAc,CAAC,UAAU,GAAE,UAAiC;IAY5D,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAoBtD,SAAS;IAeT,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAYlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAY3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/RadiusDimension.d.ts b/types/DatabaseServices/Dimension/RadiusDimension.d.ts deleted file mode 100644 index e45b43d..0000000 --- a/types/DatabaseServices/Dimension/RadiusDimension.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Material, Matrix3, Matrix4, Object3D, Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { Line } from "../Entity/Line"; -import { Dimension } from "./Dimension"; -export declare class RadiusDimension extends Dimension { - protected _Center: Vector3; - protected _DiameterOrRadiusPoint: Vector3; - protected _TextPoint: Vector3; - OnlyRenderType: boolean; - protected _TextString: string; - constructor(_Center?: Vector3, _DiameterOrRadiusPoint?: Vector3, _TextPoint?: Vector3); - get Text(): import("../Text/Text").Text; - protected GetPrimitiveString(): string; - get Center(): Vector3; - set Center(v: Vector3); - get DiameterOrRadiusPoint(): Vector3; - set DiameterOrRadiusPoint(v: Vector3); - get TextPoint(): Vector3; - set TextPoint(v: Vector3); - Explode(): (import("../Text/Text").Text | Line)[]; - Clone(): this; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D, material?: Material): void; - UpdateText(): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Array; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - protected ApplyMirrorMatrix(m: Matrix4): this; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=RadiusDimension.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Dimension/RadiusDimension.d.ts.map b/types/DatabaseServices/Dimension/RadiusDimension.d.ts.map deleted file mode 100644 index 5fce799..0000000 --- a/types/DatabaseServices/Dimension/RadiusDimension.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RadiusDimension.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Dimension/RadiusDimension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAQ,QAAQ,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AAQ3G,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG7D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,qBACa,eAAgB,SAAQ,SAAS;IAOtC,SAAS,CAAC,OAAO;IACjB,SAAS,CAAC,sBAAsB;IAChC,SAAS,CAAC,UAAU;IANxB,cAAc,UAAQ;IACtB,SAAS,CAAC,WAAW,EAAE,MAAM,CAAS;gBAGxB,OAAO,UAAgB,EACvB,sBAAsB,UAAgB,EACtC,UAAU,UAAgB;IAOxC,IAAI,IAAI,gCAMP;IAED,SAAS,CAAC,kBAAkB,IAAI,MAAM;IAKtC,IAAI,MAAM,IAKI,OAAO,CAFpB;IAED,IAAI,MAAM,CAAC,CAAC,EAAE,OAAO,EAKpB;IAED,IAAI,qBAAqB,IAII,OAAO,CADnC;IACD,IAAI,qBAAqB,CAAC,CAAC,EAAE,OAAO,EAKnC;IACD,IAAI,SAAS,IAII,OAAO,CADvB;IACD,IAAI,SAAS,CAAC,CAAC,EAAE,OAAO,EAKvB;IACD,OAAO;IAUP,KAAK,IAAI,IAAI;IAab,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IA2BvE,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAgCtD,wBAAwB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ;IAmBnF,UAAU;IAaV,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,OAAO,GACpB,OAAO,EAAE;IAWZ,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAI/B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IA+BhD,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC;IAIlC,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAQxD,SAAS,CAAC,iBAAiB,CAAC,CAAC,EAAE,OAAO;IAetC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAiBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAY3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Arc.d.ts b/types/DatabaseServices/Entity/Arc.d.ts deleted file mode 100644 index 2c354ce..0000000 --- a/types/DatabaseServices/Entity/Arc.d.ts +++ /dev/null @@ -1,132 +0,0 @@ -import { Box3, Matrix3, Matrix4, Vector2, Vector3 } from 'three'; -import { Status } from '../../Common/Status'; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { Box3Ext } from '../../Geometry/Box'; -import { IntersectOption, IntersectResult } from '../../GraphicsSystem/IntersectWith'; -import { CADFiler } from '../CADFiler'; -import { Shape2 } from '../Shape2'; -import { Curve } from './Curve'; -/** - * 圆弧实体类 - * 与ACAD不同,这个类加入了时针变量,并且默认构造的圆弧为顺时针圆弧. - * - * 关于时针圆弧: - * 起始圆弧到终止圆弧总是在0-2PI之间.(一个完整的圆). - * 圆弧的绘制从起始圆弧绘制到终止圆弧. 按照时针绘制. - * 参考计算圆弧的完整角度方法查看该计算方式. - */ -export declare class Arc extends Curve { - private _DisplayAccuracy; - constructor(center?: Vector3, radius?: number, startAngle?: number, endAngle?: number, clockwise?: boolean); - private _Radius; - private _StartAngle; - private _EndAngle; - /** - * 曲线为顺时针 - */ - private _Clockwise; - get Shape(): Shape2; - get Center(): Vector3; - set Center(v: Vector3); - get Normal(): Vector3; - set Normal(v: Vector3); - get DisplayAccuracy(): number; - set DisplayAccuracy(v: number); - get Area(): number; - get Area2(): number; - get IsClose(): boolean; - private get BoundingBoxPtsInOCS(); - private static _X; - private static _Y; - private static _Z; - private static _Mtx; - get BoundingBox(): Box3; - /** - * 返回对象在自身坐标系下的Box - */ - get BoundingBoxInOCS(): Box3Ext; - get Radius(): number; - set Radius(v: number); - get IsClockWise(): boolean; - set IsClockWise(v: boolean); - get StartAngle(): number; - set StartAngle(v: number); - get EndAngle(): number; - set EndAngle(v: number); - get StartPoint(): Vector3; - set StartPoint(v: Vector3); - get EndPoint(): Vector3; - set EndPoint(v: Vector3); - get StartParam(): number; - get EndParam(): number; - get Length(): number; - GetParamAtPoint2(pt: Vector3): number; - PtOnCurve3(p: Vector3, fuzz?: number): boolean; - protected ApplyScaleMatrix(m: Matrix4): this; - protected ApplyMirrorMatrix(m: Matrix4): this; - GetPointAtParam(param: number): Vector3; - GetPointAtDistance(distance: number): Vector3; - GetDistAtParam(param: number): number; - GetDistAtPoint(pt: Vector3): number; - GetParamAtPoint(pt: Vector3, fuzz?: number): number; - /** - * 利用角度计算该角度在圆弧中代表的参数. - * 如果角度在圆弧内,那么返回0-1 - * 如果角度不在圆弧内,那么尝试返回离圆弧起始或者结束的较近的参数 - * - * @param {number} an - * @returns - * @memberof Arc - */ - GetParamAtAngle(an: number): number; - /** - * 根据角度获得参数,不过在这里我们可以指定我们是要获取前面的参数还是后面的参数(正负) - * @param an - * @param [isStart] true:返回负数,false 返回正数 - * @returns - */ - GetParamAtAngle2(an: number, isStart?: boolean): number; - private static __PointTemp__; - GetAngleAtPoint(pt: Vector3): number; - GetAngleAtParam(param: number): number; - GetSplitCurves(param: number[] | number): Arc[]; - GetOffsetCurves(offsetDist: number): Arc[]; - Extend(newParam: number): void; - Join(cu: Curve): Status; - Reverse(): this; - IntersectWith2(curve: Curve, intType: IntersectOption, tolerance?: number): IntersectResult[]; - /** - * 计算出圆弧所包含的角度 - * - * @readonly - * @type {number} - * @memberof Arc - */ - get AllAngle(): number; - get Bul(): number; - /** - * 计算所包含的角度 - * @param {number} endAngle 结束的角度 - */ - ComputeAnlge(endAngle: number): number; - /** - * 解析两点和凸度所构成的圆弧 - * ref http://www.lee-mac.com/bulgeconversion.html - * @param {Vector2} p1 - * @param {Vector2} p2 - * @param {number} bul 凸度,在cad中,凸度为 <(四分之一圆心角)的正切值> - */ - ParseFromBul(p1: Vector3 | Vector2, p2: Vector3 | Vector2, bul: number): Arc; - FromThreePoint(pt1: Vector3, pt2: Vector3, pt3: Vector3): this; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - GetGripPoints(): Array; - MoveGripPoints(indexList: Array, vec: Vector3): void; - GetStretchPoints(): Array; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - GetParamAtDist(d: number): number; - GetFirstDeriv(pt: number | Vector3): Vector3; - GetClosestPointTo(pt: Vector3, extend: boolean): Vector3; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Arc.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Arc.d.ts.map b/types/DatabaseServices/Entity/Arc.d.ts.map deleted file mode 100644 index 1458093..0000000 --- a/types/DatabaseServices/Entity/Arc.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Arc.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Arc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGjE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG7C,OAAO,EAAkG,eAAe,EAA6B,eAAe,EAA0B,MAAM,oCAAoC,CAAC;AAEzO,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAKhC;;;;;;;;GAQG;AACH,qBACa,GAAI,SAAQ,KAAK;IAE1B,OAAO,CAAC,gBAAgB,CAAK;gBACjB,MAAM,GAAE,OAAiB,EAAE,MAAM,GAAE,MAAY,EAAE,UAAU,GAAE,MAAY,EAAE,QAAQ,GAAE,MAAU,EAAE,SAAS,UAAO;IAS7H,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,SAAS,CAAS;IAC1B;;OAEG;IACH,OAAO,CAAC,UAAU,CAAQ;IAE1B,IAAI,KAAK,WASR;IAED,IAAI,MAAM,IAII,OAAO,CADpB;IACD,IAAI,MAAM,CAAC,CAAC,EAAE,OAAO,EAGpB;IAED,IAAI,MAAM,IAII,OAAO,CADpB;IACD,IAAI,MAAM,CAAC,CAAC,EAAE,OAAO,EAKpB;IAED,IAAI,eAAe,I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EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,OAAO,GACpB,OAAO,EAAE;IAiCZ,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAS/B,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAoDrD,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC;IAKlC,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IA+BxD,cAAc,CAAC,CAAC,EAAE,MAAM;IAIxB,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAalC,iBAAiB,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO;IAkBxD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAmBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAW3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Board.d.ts b/types/DatabaseServices/Entity/Board.d.ts deleted file mode 100644 index 7f93e78..0000000 --- a/types/DatabaseServices/Entity/Board.d.ts +++ /dev/null @@ -1,304 +0,0 @@ -import Geom3 from '@jscad/modeling/src/geometries/geom3/type'; -import { BufferGeometry, Frustum, Geometry, Matrix3, Matrix4, Object3D, ShapeBufferGeometry, UVGenerator, Vector3 } from 'three'; -import { ArcBoardBuild } from '../../Add-on/ArcBoard/ArcBoardBuild'; -import { ArcBoardOptions } from '../../Add-on/ArcBoard/ArcBoardFeeding'; -import { SplitBoardSideModelUtil } from '../../Add-on/BoardCutting/SplitBoardSideModel'; -import { FaceDirection } from "../../Add-on/DrawDrilling/DrillType"; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { Box3Ext } from '../../Geometry/Box'; -import { RenderType } from '../../GraphicsSystem/RenderType'; -import { BoardProcessOption } from "../../UI/Store/OptionInterface/BoardProcessOption"; -import { CADFiler } from '../CADFiler'; -import { ObjectId } from '../ObjectId'; -import { Shape } from '../Shape'; -import { BoardOpenDir, BoardType } from './BoardInterface'; -import { Circle } from './Circle'; -import { DragPointType } from './DragPointType'; -import { ExtrudeContourCurve, ExtrudeSolid } from './Extrude'; -import { Polyline } from './Polyline'; -export interface IModeling { - shape: Shape; - thickness: number; - dir: FaceDirection; - knifeRadius: number; - addLen: number; - addWidth?: number; - addDepth?: number; -} -export interface IKnifeInfo { - angle: number; - radius: number; - id: string; - name: string; -} -export interface I2DModeingItem { - depth: number; - depthExpr: string; - offset: number; - knife: IKnifeInfo; -} -export interface I2DModeling { - path: Polyline; - dir: FaceDirection; - items: I2DModeingItem[]; -} -export interface IPathItem { - pt: Vector3; - bul: number; -} -export interface I3DModeling { - path: IPathItem[]; - dir: FaceDirection; - knife: IKnifeInfo; -} -export interface ObjectIdArr extends Array { - Name?: string; -} -/** - * 板件实体 - */ -export declare class Board extends ExtrudeSolid { - protected HasEdgeRenderType: boolean; - protected HasPlaceFaceRenderType: boolean; - protected HasBigHoleFaceRenderType: boolean; - private _Rotation; - private _BoardType; - private _Name; - private _BoardProcessOption; - private _DrillList; - private _LayerNails; - RelativeHardware: ObjectId[]; - private _OpenDir; - RelativeHandle: ObjectId[]; - private _IsChaiDan; - private _2DModelingList; - private _3DModelingList; - private _SideModelingMap; - private _CustomNumber; - private _DrillLock; - private _DrillAssociationLock; - AlignLineObject: ObjectId; - private _SweepPath; - private _SweepAngle; - /** 见光面 */ - private _SweepVisibleFace; - _SweepArcBoardBuild: ArcBoardBuild; - private _ArcBoardOptions; - private _isDrawArcGroove; - protected bevelEnabled: boolean; - private _KnifePolylineMap; - private _jigSweepPath; - private _jigPath2WCSMtx; - constructor(); - get BoundingBoxInOCS(): Box3Ext; - get IsDrawArcGroove(): boolean; - set IsDrawArcGroove(v: boolean); - /** - * path 发生改变,更新圆弧配置 - * @param {{ key: number, arc: Arc; }[]} oldArcs 旧圆弧和对应的board options key - * @param {Polyline} nPath 新路径(未进行起点偏移) - * @return {*} {void} - */ - private UpdateArcBoardOptionsByPath; - get ArcBoardOptions(): Map; - set ArcBoardOptions(opt: Map); - UpdateArcBoardOptions(isNewPath: boolean): void; - get IsArcBoard(): boolean; - get ArcBuild(): ArcBoardBuild; - SetSweepPath(path: Polyline, sweepAngle: number): void; - private _FixContourByArcSweepPath_Ing; - FixContourByArcSweepPath(): void; - FixArcSweepPathLength(): void; - ParseBoardLengthInArcSweep(): number; - ClearSweepPath(): void; - GetSweepPath(): Polyline; - GetSweepPathInWCS(): Polyline; - GetSweepPath1InWCS(): Polyline; - GetSweepPath2InWCS(): Polyline; - /** 获取见光面 */ - get SweepVisibleFace(): FaceDirection; - /** 设置见光面 */ - set SweepVisibleFace(dir: FaceDirection); - get SweepAngle(): number; - set SweepAngle(v: number); - AdjustPath(br: Board, outline: Polyline | Circle): void; - AdjustPosition(br: Board, basePoint: Vector3): void; - /** - * 创建一个代理数组,数组改变时被监听 - */ - private CreateArray; - private InitBoardData; - InitBoard(length: number, width: number, thickness: number, boardType?: BoardType): this; - static CreateBoard(length: number, width: number, thickness: number, boardType?: BoardType): Board; - get DrillList(): Map, ObjectIdArr[]>; - get DrillLock(): boolean; - set DrillLock(v: boolean); - get isDrillAssociationLock(): boolean; - get DrillAssociationLock(): Set; - AppendDrillAssociationLock(o: ObjectId): void; - ClearDrillAssociationLock(o: ObjectId): void; - ClearAllAssociDrillLock(): void; - get LayerNails(): ObjectId[]; - AppendNails(ids: ObjectId[]): void; - ClearLayerNails(): void; - private _CustomNumberTextEntity; - private _AsyncIngTextEntity; - get CustomNumber(): number | null; - set CustomNumber(n: number | null); - /** - * 你可以安心的修改它,这样会直接影响到板件,因为板件对这个对象添加了代理. - */ - get BoardProcessOption(): BoardProcessOption; - set BoardProcessOption(obj: BoardProcessOption); - get NeedUpdateRelevanceGroove(): boolean; - protected GetRelevanceKnifes(knifs: ExtrudeSolid[]): void; - ClearRelevance(en?: ExtrudeSolid): void; - get SplitBoards(): this[]; - get ArcBoardModeling(): IModeling[]; - get BoardModeling(): IModeling[]; - set BoardModeling(models: IModeling[]); - get Modeling2D(): I2DModeling[]; - set Modeling2D(ms: I2DModeling[]); - get Modeling3D(): I3DModeling[]; - set Modeling3D(ms: I3DModeling[]); - RelevanceSideModelMap: Map; - get SideModelingMap(): Map; - set SideModelingMap(sideModelingMap: Map); - get AllSideModelGrooveMap(): Map; - ClearSideModeling(): void; - ClearModeling2DList(): void; - ClearModeling3DList(): void; - get IsChaiDan(): boolean; - set IsChaiDan(v: boolean); - get OpenDir(): BoardOpenDir; - set OpenDir(v: BoardOpenDir); - ClearBoardModeling(): void; - /** - * 注意传入的排钻列表,避免指针被引用 - */ - AppendDrillList(k: ObjectId, drs: ObjectIdArr[]): void; - ClearDrillList(k: ObjectId): void; - ClearAllDrillList(): void; - Erase(isErase?: boolean): void; - get RotateMat(): Matrix4; - get Height(): number; - set Height(v: number); - get Width(): number; - set Width(v: number); - get Thickness(): number; - set Thickness(thickness: number); - get BoardType(): BoardType; - set BoardType(type: BoardType); - SetBoardType(type: BoardType): void; - get MinPoint(): Vector3; - get MaxPoint(): Vector3; - get IsRect(): boolean; - get IsSpecialShape(): boolean; - get HasGroove(): boolean; - get Name(): string; - set Name(n: string); - private UpdateSplitBoardSideModelUtil; - private _SplitBoardSideModelUtil; - get SplitBoardSideModelUtil(): SplitBoardSideModelUtil; - GeneralRectContour(): void; - /** - * 板件的轮廓,在板件坐标系中的表现方式. - */ - get ContourCurve(): ExtrudeContourCurve; - set ContourCurve(newContour: ExtrudeContourCurve); - Explode(): import("./Region").Region[]; - /** - * 在不改变Normal和实体显示的情况下,修改X轴的指向 - * @param xAxis - */ - SetXAxis(xAxis: Vector3, isKeepLines?: boolean): this; - RotateBoard(rox: number, roy: number, roz: number): void; - /**实际上这个值可能被改变,应该适当的去校验它(仅在重新设计模块时,这个值会被改变!) */ - get Rotation(): { - x: number; - y: number; - z: number; - }; - protected ApplyMirrorMatrix(m: Matrix4): this; - get UCGenerator(): UVGenerator; - UpdateUV(geo: Geometry, ocs: Matrix4, isRev?: boolean): void; - CopyFrom(obj: Board): void; - Clone(): this; - Join(target: this): import("../../Common/Status").Status; - private GetLinesDir; - private GetLinesOpenDir; - get KnifePolylineMap(): Map; - set KnifePolylineMap(map: Map); - private _3DPathObject; - Clear3DPathCache(): void; - private Get3DPathDrawObject; - Clear2DPathCache(): void; - _2DPathCsgs: Geom3[]; - _2DPathDrawObject: Object3D; - /** - * 这个函数生成了二维刀路的csg数组,并且同时生成了_2DPathDrawObject(二维刀路提刀线框显示对象) - */ - Get2DPathCsgs(): Geom3[]; - _SideModeingCsgs: Geom3[]; - private GetSideModeingCsgs; - ClearSideModelingCache(): void; - get HasSideModel(): boolean; - private _asyncSideModelIng; - get AsyncSideModeling(): boolean; - protected get Has2DPath(): boolean; - private _workerCalcedGeom; - private _async2DPathIng; - get Async2DPathing(): boolean; - GoodBye(): void; - private _Promise2DPathRes; - private _2DPathBuildPromise; - Load2DPathPromise(): Promise; - UpdateMeshGeom(geo: Geometry): BufferGeometry; - HandleSpliteEntitys(splitEntitys: this[]): void; - private BuildArcGeometry; - get EdgeGeometry(): BufferGeometry; - get MeshGeometry(): BufferGeometry; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawGeometry(): void; - UpdateDrawObject(renderType: RenderType, obj: Object3D): Object3D; - private DrawAsyncText; - private get PlaceColor(); - private GetPlaceFace; - /** 获取大孔面的几何体 */ - get BigHoleFaceGeo(): ShapeBufferGeometry; - private GetBigHoleFace; - OffsetPathCache: Map; - /** - * 根据板的信息修改绘制的实体 - * 1.非拆单板 灰色 - * 2.纹路 开门方向纹路 - * 3.二维 三维刀路 - */ - private UpdateDrawObjectByBoardInfo; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - CheckSealing(obj: Object3D): void; - private AddSideModelGripPoints; - GetStrectchPointCountList(dragType: DragPointType): number[]; - GetGripPoints(): Vector3[]; - private MapToArcPoints; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3, frustum?: Frustum): Vector3[]; - private MoveArcBoardPoints; - private GetOffsetVecAlongPath; - /** - * @private 通过新旧轮廓的Bondingbox修正路径 - * @param {Box3Ext} newBox 路径坐标系下,新轮廓的Bondingbox - * @param {Box3Ext} oldBox 路径坐标系下,旧轮廓的Bondingbox - * @param {Polyline} path 见光面路径 - * @return {*} {Polyline} 修正好的路径 - */ - private FixSweepPathByContourBondingbox; - DeferUpdate(): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Board.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Board.d.ts.map b/types/DatabaseServices/Entity/Board.d.ts.map deleted file mode 100644 index f54f14b..0000000 --- a/types/DatabaseServices/Entity/Board.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Board.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Board.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,2CAA2C,CAAC;AAC9D,OAAO,EAAmB,cAAc,EAAoB,OAAO,EAAE,QAAQ,EAAgB,OAAO,EAAE,OAAO,EAAQ,QAAQ,EAAE,mBAAmB,EAAiB,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvM,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,eAAe,EAA2C,MAAM,uCAAuC,CAAC;AAEjH,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAGxF,OAAO,EAAa,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAc/E,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAK7D,OAAO,EAAE,OAAO,EAAE,MAAM,oB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qB5D,aAAa,IAAI,OAAO,EAAE;IAOnC,OAAO,CAAC,cAAc;IAkCb,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,GAAG,IAAI;IAahE,gBAAgB;IAYhB,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IA+DxD,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,OAAO,GAClB,OAAO,EAAE;IA4GZ,OAAO,CAAC,kBAAkB;IAoF1B,OAAO,CAAC,qBAAqB;IAmC7B;;;;;;OAMG;IACH,OAAO,CAAC,+BAA+B;IA4HvC,WAAW;IASX,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAkOlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CA8H3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/BoardInterface.d.ts b/types/DatabaseServices/Entity/BoardInterface.d.ts deleted file mode 100644 index ee9914f..0000000 --- a/types/DatabaseServices/Entity/BoardInterface.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -export declare enum BoardType { - Layer = 0,//层板 - Vertical = 1,//立板 - Behind = 2 -} -export declare enum LinesType { - /** 正纹 */ - Positive = 0, - /** 反纹 */ - Reverse = 1, - /** 可翻转 */ - CanReversal = 2 -} -export declare enum ComposingType { - Positive = 0,//正面 - Reverse = 1,//反面 - Arbitrary = 2 -} -export declare enum BoardOpenDir { - Left = 1, - Right = 2, - Up = 3, - Down = 4, - None = 0 -} -export declare enum BrRelativePos { - Front = "front", - Back = "back", - Top = "top", - Bottom = "bottom", - Left = "left", - Right = "right", - Div = "div" -} -export declare enum AddRemarkType { - Cover = 1,//覆盖 - NoCover = 0 -} -//# sourceMappingURL=BoardInterface.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/BoardInterface.d.ts.map b/types/DatabaseServices/Entity/BoardInterface.d.ts.map deleted file mode 100644 index 4b9ea48..0000000 --- a/types/DatabaseServices/Entity/BoardInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoardInterface.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/BoardInterface.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IAEjB,KAAK,IAAI,CAAE,IAAI;IACf,QAAQ,IAAI,CAAE,IAAI;IAClB,MAAM,IAAI;CACb;AAGD,oBAAY,SAAS;IAEjB,SAAS;IACT,QAAQ,IAAI;IACZ,SAAS;IACT,OAAO,IAAI;IACX,UAAU;IACV,WAAW,IAAI;CAClB;AAGD,oBAAY,aAAa;IAErB,QAAQ,IAAI,CAAG,IAAI;IACnB,OAAO,IAAI,CAAI,IAAI;IACnB,SAAS,IAAI;CAChB;AAED,oBAAY,YAAY;IAEpB,IAAI,IAAI;IACR,KAAK,IAAI;IACT,EAAE,IAAI;IACN,IAAI,IAAI;IACR,IAAI,IAAI;CACX;AAED,oBAAY,aAAa;IAErB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;CACd;AAED,oBAAY,aAAa;IAErB,KAAK,IAAI,CAAC,IAAI;IACd,OAAO,IAAI;CACd"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/BoxSolid.d.ts b/types/DatabaseServices/Entity/BoxSolid.d.ts deleted file mode 100644 index 955fe8f..0000000 --- a/types/DatabaseServices/Entity/BoxSolid.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { BoxBufferGeometry, Object3D } from "three"; -import { Box3Ext } from "../../Geometry/Box"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { Entity } from "./Entity"; -export declare function GetBoxGeoBufferGeometry(): BoxBufferGeometry; -export declare class BoxSolid extends Entity { - private _length; - private _width; - private _height; - OnlyRenderType: boolean; - private _opacity; - constructor(_length?: number, _width?: number, _height?: number); - get Length(): number; - get Width(): number; - get Height(): number; - set Length(v: number); - set Width(v: number); - set Height(v: number); - set Opacity(o: number); - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, obj: Object3D): void; - get BoundingBoxInOCS(): Box3Ext; - get BoundingBox(): Box3Ext; -} -//# sourceMappingURL=BoxSolid.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/BoxSolid.d.ts.map b/types/DatabaseServices/Entity/BoxSolid.d.ts.map deleted file mode 100644 index 0a83332..0000000 --- a/types/DatabaseServices/Entity/BoxSolid.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoxSolid.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/BoxSolid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA2B,QAAQ,EAAW,MAAM,OAAO,CAAC;AAEtF,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,wBAAgB,uBAAuB,sBAKtC;AAED,qBACa,QAAS,SAAQ,MAAM;IAIpB,OAAO,CAAC,OAAO;IAAM,OAAO,CAAC,MAAM;IAAM,OAAO,CAAC,OAAO;IAFpE,cAAc,UAAQ;IACtB,OAAO,CAAC,QAAQ,CAAO;gBACH,OAAO,SAAI,EAAU,MAAM,SAAI,EAAU,OAAO,SAAI;IAKxE,IAAI,MAAM,IAII,MAAM,CAJiB;IACrC,IAAI,KAAK,IAYI,MAAM,CAZgB;IACnC,IAAI,MAAM,IAqBI,MAAM,CArBiB;IAErC,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,EAQnB;IACD,IAAI,KAAK,CAAC,CAAC,EAAE,MAAM,EAQlB;IAED,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,EAQnB;IAED,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,EAQpB;IACD,cAAc,CAAC,UAAU,GAAE,UAAiC;IAS5D,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAQhD,IAAI,gBAAgB,YAGnB;IAED,IAAI,WAAW,YAGd;CACJ"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Circle.d.ts b/types/DatabaseServices/Entity/Circle.d.ts deleted file mode 100644 index 3b9a0cf..0000000 --- a/types/DatabaseServices/Entity/Circle.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Material, Matrix3, Matrix4, Object3D, Vector3 } from 'three'; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { Box3Ext } from '../../Geometry/Box'; -import { IntersectOption, IntersectResult } from '../../GraphicsSystem/IntersectWith'; -import { RenderType } from '../../GraphicsSystem/RenderType'; -import { CADFiler } from '../CADFiler'; -import { Shape2 } from '../Shape2'; -import { Arc } from './Arc'; -import { Curve } from './Curve'; -import { DragPointType } from './DragPointType'; -export declare class Circle extends Curve { - private _DisplayAccuracy; - constructor(center?: Vector3, radius?: number); - private _Radius; - get DisplayAccuracy(): number; - set DisplayAccuracy(v: number); - get Shape(): Shape2; - get Center(): Vector3; - set Center(v: Vector3); - get Radius(): number; - set Radius(v: number); - protected ApplyScaleMatrix(m: Matrix4): this; - protected ApplyMirrorMatrix(m: Matrix4): this; - get StartPoint(): Vector3; - get StartParam(): number; - get EndPoint(): Vector3; - get EndParam(): number; - PtInCurve(pt: Vector3): boolean; - get Area(): number; - get Area2(): number; - get Length(): number; - get IsClose(): boolean; - get IsClockWise(): boolean; - GetPointAtParam(param: number): Vector3; - GetPointAtDistance(distance: number): Vector3; - GetDistAtParam(param: number): number; - GetDistAtPoint(pt: Vector3): number; - GetParamAtDist(d: number): number; - GetSplitCurves(param: number[] | number): Arc[]; - GetParamAtPoint(pt?: Vector3): number; - PtOnCurve(pt: Vector3, fuzz?: number): boolean; - GetOffsetCurves(offsetDist: number): Curve[]; - IntersectWith2(curve: Curve, intType: IntersectOption, tolerance?: number): IntersectResult[]; - get BoundingBoxInOCS(): Box3Ext; - get BoundingBox(): Box3Ext; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, obj: Object3D): void; - UpdateDrawObjectMaterial(type: RenderType, obj: Object3D, material: Material): Object3D; - GetDragPointCount(drag: DragPointType): number; - GetGripPoints(): Array; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - MoveGripPoints(indexList: Array, vec: Vector3): void; - GetStretchPoints(): Array; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - GetFirstDeriv(pt: number | Vector3): Vector3; - GetClosestPointTo(pt: Vector3, extend: boolean): Vector3; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Circle.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Circle.d.ts.map b/types/DatabaseServices/Entity/Circle.d.ts.map deleted file mode 100644 index cb00483..0000000 --- a/types/DatabaseServices/Entity/Circle.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Circle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AAQnH,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI7C,OAAO,EAA2G,eAAe,EAA6B,eAAe,EAA0B,MAAM,oCAAoC,CAAC;AAClP,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aA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AQ;IAOlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAO3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/CompositeEntity.d.ts b/types/DatabaseServices/Entity/CompositeEntity.d.ts deleted file mode 100644 index 58895c5..0000000 --- a/types/DatabaseServices/Entity/CompositeEntity.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Frustum, Matrix3, Matrix4, Object3D, Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { Box3Ext } from "../../Geometry/Box"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { LayerTableRecord } from "../LayerTableRecord"; -import { ObjectId } from "../ObjectId"; -import { PhysicalMaterialRecord } from "../PhysicalMaterialRecord"; -import { DragPointType } from "./DragPointType"; -import { Entity } from "./Entity"; -export declare abstract class CompositeEntity extends Entity { - constructor(); - Entitys: Entity[]; - /** - * 返回对象在自身坐标系下的Box - */ - get BoundingBoxInOCS(): Box3Ext; - /** - * 初始化绘制的threejs实体,子类型重载该函数初始化绘制实体. - */ - Explode(): Entity[]; - Traverse(callback: (arg0: Entity) => void): void; - protected InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - get ColorIndex(): number; - set ColorIndex(color: number); - get Material(): ObjectId; - set Material(id: ObjectId); - get Layer(): ObjectId; - set Layer(id: ObjectId); - SetAllMaterialAtSlot(mtl: ObjectId): void; - GetMtlLockedStatus(): { - partMtlLocked: boolean; - allMtlLocked: boolean; - }; - GetPhyMtlRecords(containErased?: boolean): PhysicalMaterialRecord[]; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - RestoreJigMaterial(): void; - /** - * - * @param snapMode 捕捉模式(单一) - * @param pickPoint const - * @param lastPoint const - * @param viewXform const 最近点捕捉需要这个变量 - * @returns object snap points - */ - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3, frustum?: Frustum): Vector3[]; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Array; - /** - * 拉伸夹点,用于Stretch命令 - * - * @param {Array} indexList 拉伸点索引列表. - * @param {Vector3} vec 移动向量 - * @memberof Entity - */ - MoveStretchPoints(indexList: Array, vec: Vector3): void; - private GetGripOrStretchPoints; - private GetStrectchPointCountList; - MoveGripOrStretchPoints(indexList: number[], vec: Vector3, dragType: DragPointType): void; - CloneDrawObject(from: this): void; - ApplyMirrorMatrix(m: Matrix4): this; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=CompositeEntity.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/CompositeEntity.d.ts.map b/types/DatabaseServices/Entity/CompositeEntity.d.ts.map deleted file mode 100644 index 65bb87a..0000000 --- a/types/DatabaseServices/Entity/CompositeEntity.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CompositeEntity.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/CompositeEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKrE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAG7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,MAAM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CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAMxD,OAAO,CAAC,sBAAsB;IAU9B,OAAO,CAAC,yBAAyB;IASjC,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa;IA4ClF,eAAe,CAAC,IAAI,EAAE,IAAI;IAkB1B,iBAAiB,CAAC,CAAC,EAAE,OAAO;IAS5B,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAmBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAY3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Curve.d.ts b/types/DatabaseServices/Entity/Curve.d.ts deleted file mode 100644 index 144aacb..0000000 --- a/types/DatabaseServices/Entity/Curve.d.ts +++ /dev/null @@ -1,122 +0,0 @@ -import { Material, Object3D, Curve as TCurve, Vector3 } from 'three'; -import { Status } from '../../Common/Status'; -import { IntersectOption, IntersectResult } from '../../GraphicsSystem/IntersectWith'; -import { RenderType } from '../../GraphicsSystem/RenderType'; -import { DragPointType } from './DragPointType'; -import { Entity } from './Entity'; -export declare enum ExtendType { - /** - * 前后都不延伸 - */ - None = 0, - /** - * 只允许延伸前面 - */ - Front = 1, - /** - * 只允许延伸后面 - */ - Back = 2, - /** - * 前后延伸 - */ - Both = 3 -} -/** - * 曲线的基类,子类请实现以下方法. - */ -export declare abstract class Curve extends Entity { - constructor(); - get Is2D(): boolean; - get StartPoint(): Vector3; - set StartPoint(v: Vector3); - get StartParam(): number; - get EndPoint(): Vector3; - set EndPoint(v: Vector3); - /** 曲线中点 */ - get Midpoint(): Vector3; - get MidParam(): number; - get EndParam(): number; - get Area(): number; - /** - *获得曲线的面积,逆时针为正,顺时针为负. - */ - get Area2(): number; - get Length(): number; - get IsClose(): boolean; - /** 曲线为顺时针 */ - get IsClockWise(): boolean; - get Shape(): TCurve; - GetPointAtParam(param: number): Vector3; - GetPointAtDistance(distance: number): Vector3; - GetDistAtParam(param: number): number; - GetDistAtPoint(pt: Vector3): number; - GetParamAtPoint(pt: Vector3, fuzz?: number): number; - GetParamAtPoint2(pt: Vector3, fuzz?: number): number; - GetParamAtDist(d: number): number; - /** - * 返回曲线在指定位置的一阶导数(在wcs内) - * @param {(number | Vector3)} param - */ - GetFirstDeriv(param: number | Vector3): Vector3; - GetFirstDerivAngle(param: number | Vector3): number; - /** - * 返回切割曲线后的结果.总是从起点开始切割,并且按顺序返回曲线. - * @param {(number[] | number)} param - */ - GetSplitCurves(param: number[] | number): Array; - GetCurveAtParamRange(startParam: number, EndParam: number): Array; - GetSplitCurvesByPts(pt: Vector3[] | Vector3): Array; - protected SplitParamSort(param: number[] | number): number[]; - Extend(newParam: number): void; - /** - * 连接曲线到本曲线,如果成功返回true - * @param {Curve} cu 需要连接的曲线 - * @returns {boolean} 连接成功 - * @memberof Curve - */ - Join(cu: Curve, allowGap?: boolean, tolerance?: number): Status; - Reverse(): this; - PtOnCurve(pt: Vector3, fuzz?: number): boolean; - PtOnCurve2(pt: Vector3): boolean; - PtOnCurve3(p: Vector3, fuzz?: number): boolean; - ParamOnCurve(param: number, fuzz?: number): boolean; - /** - * 偏移曲线 - * @param offsetDist 左边负数 右边正数 - * @returns 返回偏移后的曲线 可能返回多条曲线 - */ - GetOffsetCurves(offsetDist: number): Array; - GetClosestPointTo(pt: Vector3, extend: boolean): Vector3; - /** - * 曲线相交点 - */ - IntersectWith(curve: Curve, intType: IntersectOption, tolerance?: number): Vector3[]; - /** - * 曲线相交点和点的参数 - */ - IntersectWith2(curve: Curve, intType: IntersectOption, tolerance?: number): IntersectResult[]; - /** - * 拽托点个数 - */ - GetDragPointCount(drag: DragPointType): number; - protected OnlyRenderType: boolean; - GetDrawCount(): number; - /** - * @param {RenderType} [renderType=RenderType.Wireframe] - */ - protected InitDrawObject(renderType?: RenderType): Object3D; - /** - * 重载:更新绘制的实体 - * @param {RenderType} type - * @param {Object3D} obj - */ - UpdateDrawObject(type: RenderType, obj: Object3D): void; - /** - * 重载:更新实体材质 - */ - UpdateDrawObjectMaterial(type: RenderType, obj: Object3D, material?: Material): void; - UpdateJigMaterial(color?: number): void; -} -export declare const DbCurve: typeof Curve; -//# sourceMappingURL=Curve.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Curve.d.ts.map b/types/DatabaseServices/Entity/Curve.d.ts.map deleted file mode 100644 index 39fe7ab..0000000 --- a/types/DatabaseServices/Entity/Curve.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Curve.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Curve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,QAAQ,EAAE,QAAQ,EAAE,KAAK,IAAI,MAAM,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AAK1G,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAG7C,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,oBAAY,UAAU;IAElB;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,KAAK,IAAI;IACT;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,IAAI,IAAI;CACX;AAED;;GAEG;AACH,8BACsB,KAAM,SAAQ,MAAM;;IAOtC,IAAI,IAAI,YAGP;IAED,IAAI,UAAU,IAAI,OAAO,CAAY;IACrC,IAAI,UAAU,CAAC,CAAC,EAAE,OAAO,EAAa;IACtC,IAAI,UAAU,IAAI,MAAM,CAAY;IACpC,IAAI,QAAQ,IAAI,OAAO,CAAY;IACnC,IAAI,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAa;IAEpC,WAAW;IACX,IAAI,QA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git a/types/DatabaseServices/Entity/DragPointType.d.ts b/types/DatabaseServices/Entity/DragPointType.d.ts deleted file mode 100644 index 2b70654..0000000 --- a/types/DatabaseServices/Entity/DragPointType.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare enum DragPointType { - Grip = 0, - Stretch = 1, - End = 2 -} -//# sourceMappingURL=DragPointType.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/DragPointType.d.ts.map b/types/DatabaseServices/Entity/DragPointType.d.ts.map deleted file mode 100644 index 8b04159..0000000 --- a/types/DatabaseServices/Entity/DragPointType.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DragPointType.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/DragPointType.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IAErB,IAAI,IAAI;IACR,OAAO,IAAI;IACX,GAAG,IAAI;CACV"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Ellipse.d.ts b/types/DatabaseServices/Entity/Ellipse.d.ts deleted file mode 100644 index e17d60d..0000000 --- a/types/DatabaseServices/Entity/Ellipse.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Matrix3, Matrix4, Shape, Vector3 } from 'three'; -import { Status } from '../../Common/Status'; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { IntersectOption } from '../../GraphicsSystem/IntersectWith'; -import { CADFiler } from '../CADFiler'; -import { Curve } from './Curve'; -import { Polyline } from './Polyline'; -export declare class Ellipse extends Curve { - private _radX; - private _radY; - private _rotate; - private _startAngle; - private _endAngle; - constructor(center?: Vector3, radX?: number, radY?: number, angle?: number); - get StartParam(): number; - get EndParam(): number; - get StartPoint(): Vector3; - get EndPoint(): Vector3; - get Shape(): Shape; - get IsClose(): boolean; - get Center(): Vector3; - set Center(v: Vector3); - get RadX(): number; - set RadX(v: number); - get RadY(): number; - set RadY(v: number); - get Rotation(): number; - set Rotation(v: number); - get StartAngle(): number; - get EndAngle(): number; - set StartAngle(v: number); - set EndAngle(v: number); - get Length(): number; - get Area(): number; - get TotalAngle(): number; - protected ApplyScaleMatrix(m: Matrix4): this; - Extend(newParam: number): void; - PtInCurve(pt: Vector3): boolean; - PtOnCurve(pt: Vector3): boolean; - PtOnEllipse(pt: Vector3): boolean; - GetPointAtParam(param: number): Vector3; - GetParamAtPoint(pt?: Vector3): number; - GetPointAtDistance(distance: number): Vector3; - GetDistAtParam(param: number): number; - GetDistAtPoint(pt: Vector3): number; - GetParamAtDist(d: number): number; - GetAngleAtParam(param: number): number; - GetCircleAngleAtPoint(pt: Vector3): number; - GetFirstDeriv(pt: number | Vector3): Vector3; - GetClosestPointTo(p: Vector3, extend: boolean): Vector3; - GetOffsetCurves(offsetDist: number): this[]; - GetSplitCurves(param: number[] | number): this[]; - Join(el: Ellipse): Status.False | Status.True; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - IntersectWith2(curve: Curve, intType: IntersectOption): import("../../GraphicsSystem/IntersectWith").IntersectResult[]; - GetStretchPoints(): Array; - GetGripPoints(): Array; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - MoveGripPoints(indexList: Array, vec: Vector3): void; - Convert2Polyline(count?: number): Polyline; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Ellipse.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Ellipse.d.ts.map b/types/DatabaseServices/Entity/Ellipse.d.ts.map deleted file mode 100644 index 6bcfdea..0000000 --- a/types/DatabaseServices/Entity/Ellipse.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Ellipse.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Ellipse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGpE,OAAO,EAAE,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AK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAIxD,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAsCrD,gBAAgB,CAAC,KAAK,SAAI,GAAG,QAAQ;IAiCrC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAYlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAW3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Entity.d.ts b/types/DatabaseServices/Entity/Entity.d.ts deleted file mode 100644 index 6575610..0000000 --- a/types/DatabaseServices/Entity/Entity.d.ts +++ /dev/null @@ -1,210 +0,0 @@ -import { Frustum, Material, Matrix3, Matrix4, Object3D, Vector3 } from 'three'; -import { UpdateDraw } from '../../Common/Status'; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { Box3Ext } from '../../Geometry/Box'; -import { Vec3 } from '../../Geometry/IVec3'; -import { IntersectOption } from '../../GraphicsSystem/IntersectWith'; -import { RenderType } from '../../GraphicsSystem/RenderType'; -import { CADFiler } from '../CADFiler'; -import { CADObject } from '../CADObject'; -import { ISerialize } from '../ISerialize'; -import { LayerTableRecord } from '../LayerTableRecord'; -import { ObjectId } from '../ObjectId'; -import { PhysicalMaterialRecord } from '../PhysicalMaterialRecord'; -/** - * Entity 是所有图元的基类,绘制的实体都集成该类. - */ -export declare class Entity extends CADObject { - ParentEntity: Entity; - IsEmbedEntity: boolean; - /** - * 该实体的只有一个渲染类型,任何渲染类型都一个样 - */ - protected OnlyRenderType: boolean; - protected HasEdgeRenderType: boolean; - protected HasPlaceFaceRenderType: boolean; - protected HasBigHoleFaceRenderType: boolean; - protected _CacheDrawObject: Map; - protected _MaterialId: ObjectId; - protected _Color: number; - protected _Layer: ObjectId; - protected _Matrix: Matrix4; - constructor(); - protected _SpaceOCS: Matrix4; - get CacheDrawObject(): Map; - get SpaceCSNoClone(): Matrix4; - get SpaceOCS(): Matrix4; - set SpaceOCS(m: Matrix4); - get SpaceOCSInv(): Matrix4; - protected _Visible: boolean; - protected _VisibleInRender: boolean; - protected _Freeze: boolean; - get Freeze(): boolean; - set Freeze(f: boolean); - get VisibleInRender(): boolean; - set VisibleInRender(v: boolean); - protected _LockMaterial: boolean; - get LockMaterial(): boolean; - set LockMaterial(f: boolean); - GroupId: ObjectId; - Template: ObjectId; - ProcessingGroupList: ObjectId[]; - /** - * 当AutoUpdate为false时,记录需要更新的标志. - * 以便延迟更新时找到相应的更新标志. - */ - NeedUpdateFlag: UpdateDraw; - AutoUpdate: boolean; - CopyInRenderTpye: RenderType; - set Material(materialId: ObjectId); - get Material(): ObjectId; - GetMaterialSlots(): void; - IsMtlLockAtSlot(slotIndex?: number): boolean; - SetMaterialAtSlot(mtl: ObjectId, slotIndex?: number): void; - GetMtlLockedStatus(): { - allMtlLocked: boolean; - partMtlLocked: boolean; - }; - /** - * 获取实体的 PhysicalMaterialRecord - * @param {boolean} [containErased=false] 是否包含被删除的材质 - * @return {*} {PhysicalMaterialRecord[]} - * @memberof Entity - */ - GetPhyMtlRecords(containErased?: boolean): PhysicalMaterialRecord[]; - get HasLayer(): boolean; - get Layer(): ObjectId; - set Layer(id: ObjectId); - SetAllMaterialAtSlot(mtl: ObjectId): void; - set ColorIndex(color: number); - get ColorIndex(): number; - get DrawColorIndex(): number; - /** - * 炸开实体 - */ - Explode(): Entity[]; - /** - * 返回对象的包围框. - */ - get BoundingBox(): import("three").Box3; - /** - * 返回对象在自身坐标系下的Box - */ - get BoundingBoxInOCS(): Box3Ext; - GetBoundingBoxInMtx(mtx: Matrix4): Box3Ext; - get BoundingBoxInSpaceCS(): Box3Ext; - get OCS(): Matrix4; - get OCSNoClone(): Matrix4; - set OCS(mat4: Matrix4); - get Normal(): Vector3; - get Position(): Vector3; - Move(v: Vec3): this; - set Position(pt: Vector3); - get Z(): number; - set Z(z: number); - Z0(): this; - MatrixPlanarizere(): this; - get OCSInv(): Matrix4; - /** - * 与指定实体是否共面. - */ - IsCoplaneTo(e: Entity): boolean; - /** - * 测试两个实体的包围盒是否相交. - */ - BoundingBoxIntersectWith(en: Entity): boolean; - ClearDraw(): this; - ClearDrawOfJig(): void; - get IsOnlyRender(): boolean; - protected get CaseShadow(): boolean; - protected get ReceiveShadow(): boolean; - _drawObject: Object3D; - get DrawObject(): Object3D; - get JigObject(): Object3D; - DestroyJigObject(): void; - protected _CurRenderType: RenderType; - UpdateRenderType(type: RenderType): void; - GetDrawObjectFromRenderType(renderType?: RenderType): Object3D; - /** - * 初始化绘制的threejs实体,子类型重载该函数初始化绘制实体. - */ - protected InitDrawObject(renderType?: RenderType): Object3D; - __UpdateVersion__: number; - /** - * 当实体数据改变时,绘制的实体必须做出改变.供框架调用 - */ - Update(mode?: UpdateDraw): void; - UpdateDrawGeometry(): void; - /** 立即更新 */ - DeferUpdate(): void; - /** - * 当实体需要更新时,需要重载该方法,实现实体更新 - */ - UpdateDrawObject(type: RenderType, en: Object3D): void; - /** - * 当实体需要被更新时,更新实体材质 - */ - UpdateDrawObjectMaterial(type: RenderType, obj: Object3D, material?: Material): void; - protected get MeshMaterial(): Material | Material[]; - /** - * 更新实体Jig状态时的材质 - */ - UpdateJigMaterial(color?: number): void; - RestoreJigMaterial(): void; - get Visible(): boolean; - set Visible(v: boolean); - get IsVisible(): boolean; - UpdateVisible(): void; - GoodBye(): void; - Erase(isErase?: boolean): void; - EraseEvent(isErase: boolean): void; - static _xa: Vector3; - static _ya: Vector3; - static _za: Vector3; - /** - * 使用统一的方法设置对象的矩阵. - * 需要对缩放矩形进行重载.避免对象矩阵不是单位矩阵 - */ - ApplyMatrix(m: Matrix4): this; - protected ApplyScaleMatrix(m: Matrix4): this; - protected ApplyMirrorMatrix(m: Matrix4): this; - /** - * - * @param snapMode 捕捉模式(单一) - * @param pickPoint const - * @param lastPoint const - * @param viewXform const 最近点捕捉需要这个变量 - * @returns object snap points - */ - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3, frustum?: Frustum): Vector3[]; - GetGripPoints(): Vector3[]; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Array; - /** - * 拉伸夹点,用于Stretch命令 - * @param {Array} indexList 拉伸点索引列表. - * @param {Vector3} vec 移动向量 - */ - MoveStretchPoints(indexList: Array, vec: Vector3): void; - IntersectWith(curve: Entity, intType: IntersectOption): Vector3[]; - Clone(cloneDraw?: boolean): this; - CloneDrawObject(from: this): void; - static __ReadFileIng__: boolean; - __ReadFileIng__: boolean; - get ReadFileIng(): boolean; - /** - * 从文件读取,序列化自身,如果需要,重载_ReadFile - */ - ReadFile(file: CADFiler): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; - CopyFrom(obj: CADObject): void; -} -export declare class EntityColorHistoryRecord implements ISerialize { - color: number; - constructor(color: number); - ReadFile(file: CADFiler): this; - WriteFile(file: CADFiler): this; -} -//# sourceMappingURL=Entity.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Entity.d.ts.map b/types/DatabaseServices/Entity/Entity.d.ts.map deleted file mode 100644 index 1ed46ce..0000000 --- a/types/DatabaseServices/Entity/Entity.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Entity.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAwB,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMrG,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAA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,GAAG,OAAO,EAAE;IAIxD,KAAK,CAAC,SAAS,UAAO,GAAG,IAAI;IAUtC,eAAe,CAAC,IAAI,EAAE,IAAI;IAkB1B,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC;IAChC,eAAe,EAAE,OAAO,CAAC;IAEzB,IAAI,WAAW,YAGd;IAED;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,QAAQ;IASvB,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAkDlC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAqBxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;IAO3B,QAAQ,CAAC,GAAG,EAAE,SAAS;CASnC;AAED,qBACa,wBAAyB,YAAW,UAAU;IAEpC,KAAK,EAAE,MAAM;gBAAb,KAAK,EAAE,MAAM;IAChC,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAK9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;CAKlC"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/EntityFbx.d.ts b/types/DatabaseServices/Entity/EntityFbx.d.ts deleted file mode 100644 index 10e59f3..0000000 --- a/types/DatabaseServices/Entity/EntityFbx.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Group, Matrix4, Vector3 } from "three"; -import { Box3Ext } from "../../Geometry/Box"; -import { CADFiler } from "../CADFiler"; -import { ObjectId } from "../ObjectId"; -import { PhysicalMaterialRecord } from "../PhysicalMaterialRecord"; -import { Entity } from "./Entity"; -/** - * 外部引用的实体,比如glTF - */ -export declare class EntityFbx extends Entity { - private _url?; - OnlyRenderType: boolean; - private _Size; - private _ScaleSize; - private _Center; - private _OverWriteMaterial; - constructor(_url?: string); - get IsVisible(): boolean; - get Url(): string; - set Url(url: string); - get CurSize(): Vector3; - get ScaleSize(): Vector3; - set ScaleSize(size: Vector3); - get Scale(): Vector3; - get BoundingBox(): Box3Ext; - get BoundingBoxInOCS(): Box3Ext; - get OverWriteMaterial(): Map>; - IsMtlLockAtSlot(slotIndex: number): boolean; - SetMaterialAtSlot(mtl: ObjectId, slotIndex: number): void; - SetAllMaterialAtSlot(mtl: ObjectId): void; - GetMtlLockedStatus(): { - allMtlLocked: boolean; - partMtlLocked: boolean; - }; - private _GetValidOWMtlRecord; - GetPhyMtlRecords(containErased?: boolean): PhysicalMaterialRecord[]; - newObject: Group; - LoadFBXModelFromArrayBuffer(fbxArray: ArrayBuffer): string | undefined; - CloneDrawObject(from: this): void; - ApplyScaleMatrix(m: Matrix4): this; - private _GetValidOWMtl; - MoveGripPoints(indexList: Array, vec: Vector3): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=EntityFbx.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/EntityFbx.d.ts.map b/types/DatabaseServices/Entity/EntityFbx.d.ts.map deleted file mode 100644 index 143f384..0000000 --- a/types/DatabaseServices/Entity/EntityFbx.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EntityFbx.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/EntityFbx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAA8B,OAAO,EAAE,MAAM,OAAO,CAAC;AAG5E,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC;;GAEG;AACH,qBACa,SAAU,SAAQ,MAAM;IAUrB,OAAO,CAAC,IAAI,CAAC;IARzB,cAAc,UAAQ;IAEtB,OAAO,CAAC,KAAK,CAAe;IAC5B,OAAO,CAAC,UAAU,CAAe;IACjC,OAAO,CAAC,OAAO,CAAe;IAE9B,OAAO,CAAC,kBAAkB,CAAuD;gBAE7D,IAAI,CAAC,EAAE,MAAM;IAKjC,IAAa,SAAS,YAGrB;IAED,IAAI,GAAG,IACM,MAAM,CADY;IAC/B,IAAI,GAAG,CAAC,GAAG,EAAE,MAAM,EAOlB;IAED,IAAI,OAAO,YAA6E;IAExF,IAAI,SAAS,IACO,OAAO,CADgB;IAC3C,IAAI,SAAS,CAAC,IAAI,EAAE,OAAO,EAW1B;IAED,IAAI,KAAK,YAKR;IAED,IAAI,WAAW,YAGd;IAED,IAAI,gBAAgB,YAenB;IACD,IAAI,iBAAiB,kDAGpB;IAED,eAAe,CAAC,SAAS,EAAE,MAAM;IAWjC,iBAAiB,CAAC,GAAG,EAAE,QAAQ,CAAC,sBAAsB,CAAC,EAAE,SAAS,EAAE,MAAM;IAa1E,oBAAoB,CAAC,GAAG,EAAE,QAAQ,CAAC,sBAAsB,CAAC;IAqC1D,kBAAkB;;;;IAuClB,OAAO,CAAC,oBAAoB;IAW5B,gBAAgB,CAAC,aAAa,GAAE,OAAe;IAkC/C,SAAS,EAAE,KAAK,CAAC;IAGjB,2BAA2B,CAAC,QAAQ,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS;IAKtE,eAAe,CAAC,IAAI,EAAE,IAAI;IAI1B,gBAAgB,CAAC,CAAC,EAAE,OAAO;IA6B3B,OAAO,CAAC,cAAc;IAUtB,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAYrD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAwClC,SAAS,CAAC,IAAI,EAAE,QAAQ;CA+B3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/EntityRef.d.ts b/types/DatabaseServices/Entity/EntityRef.d.ts deleted file mode 100644 index ce12c1b..0000000 --- a/types/DatabaseServices/Entity/EntityRef.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Matrix3, Matrix4, Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { Box3Ext } from "../../Geometry/Box"; -import { CADFiler } from "../CADFiler"; -import { ObjectId } from "../ObjectId"; -import { PhysicalMaterialRecord } from "../PhysicalMaterialRecord"; -import { Entity } from "./Entity"; -/** - * 外部引用的实体,比如glTF - */ -export declare class EntityRef extends Entity { - protected _url?: string; - OnlyRenderType: boolean; - protected _Size: Vector3; - protected _ScaleSize: Vector3; - protected _Center: Vector3; - protected _OverWriteMaterial: Map>; - constructor(_url?: string); - get IsVisible(): boolean; - get Url(): string; - set Url(url: string); - get CurSize(): Vector3; - get ScaleSize(): Vector3; - set ScaleSize(size: Vector3); - get Scale(): Vector3; - get BoundingBox(): Box3Ext; - get BoundingBoxInOCS(): Box3Ext; - CloneDrawObject(from: this): void; - ApplyScaleMatrix(m: Matrix4): this; - get OverWriteMaterial(): Map>; - IsMtlLockAtSlot(slotIndex: number): boolean; - SetMaterialAtSlot(mtl: ObjectId, slotIndex: number): void; - SetAllMaterialAtSlot(mtl: ObjectId): void; - GetMtlLockedStatus(): { - partMtlLocked: boolean; - allMtlLocked: boolean; - }; - private _GetValidOWMtlRecord; - GetPhyMtlRecords(containErased?: boolean): PhysicalMaterialRecord[]; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform: Matrix3): Vector3[]; - GetGripPoints(): Array; - MoveGripPoints(indexList: Array, vec: Vector3): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=EntityRef.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/EntityRef.d.ts.map b/types/DatabaseServices/Entity/EntityRef.d.ts.map deleted file mode 100644 index 4ddf75c..0000000 --- a/types/DatabaseServices/Entity/EntityRef.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EntityRef.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/EntityRef.ts"],"names":[],"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IAqC1D,kBAAkB;;;;IAuClB,OAAO,CAAC,oBAAoB;IAS5B,gBAAgB,CAAC,aAAa,GAAE,OAAe;IAgC/C,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,GACnB,OAAO,EAAE;IAsCZ,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IA0B/B,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAarD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAwClC,SAAS,CAAC,IAAI,EAAE,QAAQ;CA+B3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Extrude.d.ts b/types/DatabaseServices/Entity/Extrude.d.ts deleted file mode 100644 index be0e9e0..0000000 --- a/types/DatabaseServices/Entity/Extrude.d.ts +++ /dev/null @@ -1,268 +0,0 @@ -import { Geom3 } from '@jscad/modeling/src/geometries/geom3'; -import { BoxGeometry, BufferGeometry, Frustum, Geometry, Matrix3, Matrix4, Mesh, Object3D, UVGenerator, Vector3 } from "three"; -import { Line2 } from "three/examples/jsm/lines/Line2"; -import { Status } from "../../Common/Status"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { Box3Ext } from "../../Geometry/Box"; -import { EdgesGeometry } from "../../Geometry/EdgeGeometry"; -import { OBB } from "../../Geometry/OBB/obb"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { ObjectId } from "../ObjectId"; -import { PhysicalMaterialRecord } from "../PhysicalMaterialRecord"; -import { Shape } from "../Shape"; -import { Circle } from "./Circle"; -import { DragPointType } from "./DragPointType"; -import { Entity } from "./Entity"; -import { Polyline } from "./Polyline"; -import { Region } from "./Region"; -export type ExtrudeContourCurve = Polyline | Circle; -export type ExtrudeContour = Polyline | Circle | ExtrudeSolid | Region; -export declare const MaxDrawGrooveCount = 1000; -export declare class ExtrudeSolid extends Entity { - private _DisplayAccuracy; - protected height: number; - protected width: number; - /** - * 拉伸实体的厚度 - * 我们允许它是一个负数,但是这个时候这个实体已经是一个无效的拉伸实体了. - * 允许负数,用来校验凹槽的合理性. - */ - protected thickness: number; - protected isRect: boolean; - protected bevelEnabled: boolean; - IsKnife: boolean; - RelevanceMeats: ObjectId[]; - RelevanceKnifs: ObjectId[]; - __OriginalId__: ObjectId; - __OriginalEnt__: this; - /** - * 拉伸形状 - * 出于优化考虑,可能未初始化,请注意调用this.ContourCurve - * 形状位于WCS 0点位置,不随OCS变化而变化 - * 注意:这个时针不一定为逆时针 - */ - protected contourCurve: ExtrudeContourCurve; - /** - * 正面和反面的凹槽造型 - */ - protected grooves: ExtrudeSolid[]; - protected knifeRadius: number; - protected groovesAddLength: number; - protected groovesAddWidth: number; - protected groovesAddDepth: number; - __TempIndexVersion__: { - Index: number; - Version: number; - }; - constructor(); - set Material(materialId: ObjectId); - get Material(): ObjectId; - get DisplayAccuracy(): number; - set DisplayAccuracy(v: number); - get KnifeRadius(): number; - set KnifeRadius(v: number); - get BoundingBox(): Box3Ext; - get BoundingBoxInOCS(): Box3Ext; - get OBB(): OBB; - get GroovesAddLength(): number; - set GroovesAddLength(v: number); - get GroovesAddWidth(): number; - set GroovesAddWidth(v: number); - get GroovesAddDepth(): number; - set GroovesAddDepth(v: number); - Clone(): this; - ApplyMatrix(m: Matrix4): this; - protected ApplyScaleMatrix(m: Matrix4): this; - protected ApplyMirrorMatrix(m: Matrix4): this; - get Width(): number; - get Height(): number; - get Thickness(): number; - set Thickness(thickness: number); - get Grooves(): ExtrudeSolid[]; - get SideModelingMap(): Map; - /** - * 返回未拷贝的轮廓曲线 - */ - get ContourCurve(): ExtrudeContourCurve; - set ContourCurve(cu: ExtrudeContourCurve); - /** - * 生成矩形轮廓(强制) - */ - GeneralRectContour(): void; - /** - * 转换成矩形拉伸实体 - */ - ConverToRectSolid(width?: number, height?: number, thickness?: number): this; - /** - * 更新拉伸实体的轮廓 - * @param curve 曲线已经存在WCS坐标系0点 - */ - SetContourCurve(curve: ExtrudeContourCurve): void; - /** - * 在不改变Normal和实体显示的情况下,修改X轴的指向 - * @param xAxis - */ - SetXAxis(xAxis: Vector3): this; - /** - * 检验轮廓曲线,通常当轮廓曲线被修改时,都需要检验轮廓曲线,并更新实体大小和轮廓位置. - * >计算轮廓大小 - * >判断是否矩形 - * >修正轮廓基点 - * >保证轮廓是逆时针(不再设置) - */ - CheckContourCurve(): void; - get IsRect(): boolean; - /** - * 这个拉伸实体的面域形状 - */ - get Shape(): Shape; - private GetShape; - /** - * 实体合并(不会删除target) - */ - Join(target: this): Status; - get Volume(): number; - /** - * 被切割 - * @param extrudes 切割刀 - * @param [output=undefined] 如果实体被分裂,那么输出分裂的其他实体(如果为空,则尝试入当前实体的容器中) - * @param [checkIntersect=true] 检查相交,性能优化 - * @returns 切割是否成功 - */ - Subtract(extrudes: ExtrudeSolid[], output?: ExtrudeSolid[], checkIntersect?: boolean): boolean; - ParseGrooves(knifeExtrudes: ExtrudeSolid[]): { - grooves: ExtrudeSolid[]; - relevanceSideModelMap: Map; - }; - RelevanceSubtract(knif: ExtrudeSolid, check?: boolean): void; - /** - * 当实体被分裂后,加入新图纸时,需要修复关联拉槽 - */ - RepairRelevance(): void; - AppendGroove(groove: ExtrudeSolid): void; - /** 添加槽进板件,并且自动分裂. - * 通常槽已经校验过准确性,所以不在校验 - */ - AppendGrooves(grooves: ExtrudeSolid[], output?: ExtrudeSolid[]): void; - /** - * 添加侧面槽 - * 通常槽已经校验过准确性,所以不在校验 - */ - AppendRelevanceSideModel(relevanceSideModelMap: Map): void; - AppendSideModel(relevanceSideModelMap: Map): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3, frustum?: Frustum): Vector3[]; - protected GetStrectchPointCountList(dragType: DragPointType): number[]; - GetGripOrStretchPoints(dragType: DragPointType): Vector3[]; - MoveGripOrStretchPoints(indexList: number[], vec: Vector3, dragType: DragPointType): void; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - /** - * 只对自身的轮廓和厚度进行拉伸,忽略子实体 - */ - MoveGripOrStretchPointsOnly(indexList: Array, vec: Vector3, dragType: DragPointType): void; - IsStretchThickness(indexs: number[]): boolean; - /** - * 当调用Draw时,可以生成bsp信息 - */ - private csg; - get CSG(): Geom3; - /** - * (步骤1.2.) - * 将目标拉伸实体转换成在板件内部可用的凹槽实体 - * @param target 该对象可能被修改(内部不拷贝该实体) - * @param useClone 转换后的实体是目标实体拷贝后修改的 - */ - ConverToLocalGroove(target: ExtrudeSolid): ExtrudeSolid[]; - /** - * (步骤2) - * 更新凹槽位置和厚度(校验凹槽的Z轴位置是否存在交集) - */ - GrooveCheckPosition(target: ExtrudeSolid): Status; - /** - * (步骤3) - * 计算凹槽合并 - */ - GrooveCheckMerge(checkGrooveContourCurve?: boolean): void; - /** - * (步骤4.1) - * 计算凹槽轮廓在本实体中的约束状态(可能分裂) - * @param groove 凹槽(不拷贝,直接被修改) - * @returns this[] 凹槽在本实体中正确的约束状态.(可能分裂成为多个) - */ - private GrooveCheckContour; - /** (步骤4.2.1) 针对圆弧板-修正路径 */ - AdjustPath(ext: ExtrudeSolid, outline: Polyline | Circle): void; - /** (步骤4.2.2) 针对圆弧板-修正位置 */ - AdjustPosition(ext: ExtrudeSolid, basePoint: Vector3): void; - /** - * (步骤4.2) - * 计算本实体被全身的凹槽差集后正确的实体轮廓,和有可能的分裂实体 - * @param splitEntitys 分裂出来的实体 - * @returns [Status] Status : 消失不见 - */ - ContourCheckSubtract(splitEntitys: this[]): boolean; - IsLazyGrooveCheck: boolean; - IsNeedGrooveCheck: boolean; - /** - * 无法知道修改了轮廓是否为更新到内部凹槽. - * 无法知道修改了内部凹槽之后是否会更新到轮廓. - * 所以默认全部校验内部的凹槽 - */ - GrooveCheckAll(splitEntitys: this[]): void; - /** 校验内部槽并且自动分裂 */ - GrooveCheckAllAutoSplit(output?: ExtrudeSolid[]): void; - HandleSpliteEntitys(splitEntitys: this[]): void; - LazyGrooveCheckAll(): void; - GetPrintObject3D(): (Line2 | Mesh)[]; - InitDrawObject(renderType?: RenderType): Object3D; - get UCGenerator(): UVGenerator; - __CacheKnifVersion__: { - [key: number]: number; - }; - get NeedUpdateRelevanceGroove(): boolean; - __CacheVolume__: number; - __CacheSplitExtrudes: this[]; - /** - * 计算关联拉槽,更新绘制对象(MeshGeometry和EdgeGeometry) - */ - protected CalcRelevanceGroove(): void; - /** - * 如果实体被切割,那么将返回分裂的实体数组,否则返回自身 - */ - get SplitExtrudes(): this[]; - protected GetRelevanceKnifes(knifs: ExtrudeSolid[]): void; - ClearRelevance(en?: ExtrudeSolid): void; - protected _MeshGeometry: BufferGeometry; - get MeshGeometry(): BufferGeometry; - UpdateMeshGeom(geo: BufferGeometry | Geometry): BufferGeometry; - protected get Has2DPath(): boolean; - protected get HasSideModel(): boolean; - protected _EdgeGeometry: EdgesGeometry | BufferGeometry; - get EdgeGeometry(): BufferGeometry; - UpdateUV(geo: Geometry, ocs: Matrix4, isRev?: boolean): void; - GenWorldUV(geo: BufferGeometry): void; - UpdateBufferGeometryUvs(isRev: boolean): void; - DeferUpdate(): void; - UpdateDrawGeometry(): void; - ClearDraw(): this; - UpdateDrawObject(renderType: RenderType, obj: Object3D): Object3D; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - private GetConceptualMaterial; - private GetModelGroove; - private GetSideModelGroove; - UpdateJigMaterial(color?: number): void; - /** - * 简化的文件读取和写入,只写入必要的数据,没有id,没有其他版本号 - */ - ReadFileLite(file: CADFiler): void; - WriteFileLite(file: CADFiler): void; - private ReadFileOnly; - private WriteFileOnly; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -export declare function FastMeshGeometry(width: number, height: number, thickness: number): BoxGeometry; -//# sourceMappingURL=Extrude.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Extrude.d.ts.map b/types/DatabaseServices/Entity/Extrude.d.ts.map deleted file mode 100644 index 38f3db2..0000000 --- a/types/DatabaseServices/Entity/Extrude.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Extrude.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Extrude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAE7D,OAAO,EAAQ,WAAW,EAAE,cAAc,EAA8E,OAAO,EAAE,QAAQ,EAAyF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAiB,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvT,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAYvD,OAAO,EAAE,MAAM,EAAc,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAI7D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAI7C,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAG5D,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAG7C,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAI7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,OAAO,EAAE,QAAQ,E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IAMlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAM3B;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAKhF"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/ExtrudeConfig.d.ts b/types/DatabaseServices/Entity/ExtrudeConfig.d.ts deleted file mode 100644 index 5294f8d..0000000 --- a/types/DatabaseServices/Entity/ExtrudeConfig.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const ExtrudeConfig: { - DisableRefCut: boolean; -}; -//# sourceMappingURL=ExtrudeConfig.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/ExtrudeConfig.d.ts.map b/types/DatabaseServices/Entity/ExtrudeConfig.d.ts.map deleted file mode 100644 index 685d96a..0000000 --- a/types/DatabaseServices/Entity/ExtrudeConfig.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ExtrudeConfig.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/ExtrudeConfig.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,aAAa;;CAEzB,CAAC"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/GenLocalUv.d.ts b/types/DatabaseServices/Entity/GenLocalUv.d.ts deleted file mode 100644 index 2816cfd..0000000 --- a/types/DatabaseServices/Entity/GenLocalUv.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { BufferGeometry } from "three"; -export declare class GenLocalUv { - private InvMtxMap; - private _Z; - private _X; - private _Y; - private GetMtxInv; - CalculateUv(geo: BufferGeometry, IsReverse: boolean, scale?: number): void; -} -//# sourceMappingURL=GenLocalUv.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/GenLocalUv.d.ts.map b/types/DatabaseServices/Entity/GenLocalUv.d.ts.map deleted file mode 100644 index 7abb508..0000000 --- a/types/DatabaseServices/Entity/GenLocalUv.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GenLocalUv.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/GenLocalUv.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,cAAc,EAA4C,MAAM,OAAO,CAAC;AAKlG,qBAAa,UAAU;IAEnB,OAAO,CAAC,SAAS,CAA+B;IAEhD,OAAO,CAAC,EAAE,CAAe;IACzB,OAAO,CAAC,EAAE,CAAe;IACzB,OAAO,CAAC,EAAE,CAAe;IAEzB,OAAO,CAAC,SAAS;IAsBjB,WAAW,CAAC,GAAG,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,SAAO;CAwBpE"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/GenUVForWorld.d.ts b/types/DatabaseServices/Entity/GenUVForWorld.d.ts deleted file mode 100644 index 1e1a5a7..0000000 --- a/types/DatabaseServices/Entity/GenUVForWorld.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { BufferGeometry, Material, Matrix4, Mesh, Vector3 } from "three"; -export declare function GetFaceDir(direction: Vector3): Vector3; -export declare class GenUVForWorld { - InvMtxMap: Map; - private _Z; - private _X; - private _Y; - private _Box; - private _Box2; - GetMtxInv(normalX: number, normalY: number, normalZ: number): Matrix4; - GenUV(mesh: Mesh): void; - GenGeoUV(bGeo: BufferGeometry, mtl: Material, scale?: number): void; -} -//# sourceMappingURL=GenUVForWorld.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/GenUVForWorld.d.ts.map b/types/DatabaseServices/Entity/GenUVForWorld.d.ts.map deleted file mode 100644 index bc60e45..0000000 --- a/types/DatabaseServices/Entity/GenUVForWorld.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GenUVForWorld.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/GenUVForWorld.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,cAAc,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMhG,wBAAgB,UAAU,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAsBtD;AAED,qBAAa,aAAa;IAEtB,SAAS,wBAA+B;IAExC,OAAO,CAAC,EAAE,CAAe;IACzB,OAAO,CAAC,EAAE,CAAe;IACzB,OAAO,CAAC,EAAE,CAAe;IACzB,OAAO,CAAC,IAAI,CAAY;IACxB,OAAO,CAAC,KAAK,CAAY;IACzB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAiB3D,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,QAAQ,EAAE,CAAC;IAqD5C,QAAQ,CAAC,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,SAAO;CA+B7D"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Line.d.ts b/types/DatabaseServices/Entity/Line.d.ts deleted file mode 100644 index f6b41f3..0000000 --- a/types/DatabaseServices/Entity/Line.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Box3, Matrix3, Matrix4, Object3D, Shape, Vector3 } from 'three'; -import { Status } from '../../Common/Status'; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { Box3Ext } from '../../Geometry/Box'; -import { IntersectOption, IntersectResult } from '../../GraphicsSystem/IntersectWith'; -import { RenderType } from '../../GraphicsSystem/RenderType'; -import { CADFiler } from '../CADFiler'; -import { Curve } from './Curve'; -export declare class Line extends Curve { - private _StartPoint; - private _EndPoint; - constructor(_StartPoint?: Vector3, _EndPoint?: Vector3); - get Is2D(): boolean; - get Shape(): Shape; - Z0(): this; - protected ApplyScaleMatrix(m: Matrix4): this; - protected ApplyMirrorMatrix(m: Matrix4): this; - InitDrawObject(renderType?: RenderType): Object3D; - /** - * 重载:更新绘制的实体 - * @param {RenderType} type - * @param {Object3D} obj - */ - UpdateDrawObject(type: RenderType, obj: Object3D): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform: Matrix3): Vector3[]; - GetGripPoints(): Vector3[]; - MoveGripPoints(indexList: Array, vec: Vector3): void; - GetStretchPoints(): Array; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - GetFirstDeriv(param: number | Vector3): Vector3; - /** - * 需要注意的是,平行线和共线无交点 - * @param curve - * @param intType - * @param [tolerance=1e-4] - * @returns - */ - IntersectWith2(curve: Curve, intType: IntersectOption, tolerance?: number): IntersectResult[]; - GetPointAtParam(param: number): Vector3; - GetParamAtPoint(pt: Vector3, fuzz?: number): number; - GetParamAtDist(d: number): number; - GetPointAtDistance(distance: number): Vector3; - GetDistAtParam(param: number): number; - GetDistAtPoint(pt: Vector3): number; - GetSplitCurves(param: number[] | number): Curve[]; - GetParamAtPoint2(pt: Vector3): number; - PtOnCurve3(p: Vector3, fuzz?: number): boolean; - GetClosestAtPoint(pt: Vector3, extend: boolean): { - closestPt: Vector3; - param: number; - }; - GetClosestPointTo(pt: Vector3, extend: boolean): Vector3; - Extend(newParam: number): void; - Join(cu: Curve, allowGap?: boolean, tolerance?: number): Status; - Reverse(): this; - GetOffsetCurves(offsetDist: number): Array; - get BoundingBox(): Box3; - /** - * 返回对象在自身坐标系下的Box - */ - get BoundingBoxInOCS(): Box3Ext; - get StartParam(): number; - get EndParam(): number; - get Length(): number; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - set StartPoint(p: Vector3); - get StartPoint(): Vector3; - get EndPoint(): Vector3; - set EndPoint(p: Vector3); - SetStartEndPoint(s: Vector3, e: Vector3): void; -} -//# sourceMappingURL=Line.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Line.d.ts.map b/types/DatabaseServices/Entity/Line.d.ts.map deleted file mode 100644 index 484e7cc..0000000 --- a/types/DatabaseServices/Entity/Line.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../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AI,IAAI,CAGtB;IAED;;OAEG;IACH,IAAI,gBAAgB,IAAI,OAAO,CAG9B;IAED,IAAI,UAAU,WAGb;IACD,IAAI,QAAQ,WAGX;IAED,IAAI,MAAM,IAAI,MAAM,CAAwD;cAMzD,SAAS,CAAC,IAAI,EAAE,QAAQ;IAQlC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAUjC,IAAI,UAAU,CAAC,CAAC,EAAE,OAAO,EAKxB;IACD,IAAI,UAAU,IAAI,OAAO,CAGxB;IAED,IAAI,QAAQ,IAAI,OAAO,CAGtB;IACD,IAAI,QAAQ,CAAC,CAAC,EAAE,OAAO,EAKtB;IAED,gBAAgB,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO;CAU1C"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Point.d.ts b/types/DatabaseServices/Entity/Point.d.ts deleted file mode 100644 index 59f4135..0000000 --- a/types/DatabaseServices/Entity/Point.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { Entity } from "./Entity"; -export declare class Point extends Entity { - constructor(position?: Vector3); - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3): Vector3[]; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Array; - /** - * 拉伸夹点,用于Stretch命令 - * - * @param {Array} indexList 拉伸点索引列表. - * @param {Vector3} vec 移动向量 - */ - MoveStretchPoints(indexList: Array, vec: Vector3): void; -} -//# sourceMappingURL=Point.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Point.d.ts.map b/types/DatabaseServices/Entity/Point.d.ts.map deleted file mode 100644 index a820552..0000000 --- a/types/DatabaseServices/Entity/Point.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG7D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,qBACa,KAAM,SAAQ,MAAM;gBAEjB,QAAQ,GAAE,OAAuB;IAQ7C,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,GACnB,OAAO,EAAE;IAOZ,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAI/B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAShD,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC;IAKlC;;;;;OAKG;IACH,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;CAI3D"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Polyline.d.ts b/types/DatabaseServices/Entity/Polyline.d.ts deleted file mode 100644 index f4b03d2..0000000 --- a/types/DatabaseServices/Entity/Polyline.d.ts +++ /dev/null @@ -1,209 +0,0 @@ -import { Matrix3, Matrix4, Vec2, Vector2, Vector3 } from 'three'; -import { Status } from '../../Common/Status'; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { Box3Ext } from '../../Geometry/Box'; -import { IntersectOption } from '../../GraphicsSystem/IntersectWith'; -import { PolylineJoinType } from '../../GraphicsSystem/OffsetPolyline'; -import { CADFiler } from '../CADFiler'; -import { Shape2 } from '../Shape2'; -import { Arc } from './Arc'; -import { Curve, ExtendType } from './Curve'; -import { DragPointType } from './DragPointType'; -import { Line } from './Line'; -export interface PolylineProps { - pt: Vector2; - bul: number; -} -export declare const BUL_IS_LINE_FUZZ = 0.00001; -export declare class Polyline extends Curve { - private _LineData; - private _DisplayAccuracy; - private _ClosedMark; - constructor(_LineData?: PolylineProps[]); - UpdateOCSTo(m: Matrix4): void; - /** - * 原地翻转,仅改变法向量 - */ - Flip(): this; - Reverse(): this; - get DisplayAccuracy(): number; - set DisplayAccuracy(v: number); - set LineData(data: PolylineProps[]); - get LineData(): PolylineProps[]; - get NumberOfVertices(): number; - /** - * 在指定位置插入点. - * 例如: - * pl.AddVertexAt(pl.NumberOfVertices,p);//在末尾插入一个点 - * - * @param {number} index 索引位置 - * @param {Vector2} pt 点 - * @returns {this} - * @memberof Polyline - */ - AddVertexAt(index: number, pt: Vector2 | Vector2[]): this; - RemoveVertexAt(index: number): this; - RemoveVertexIn(from: number, to: number): this; - /** - * 重设闭合多段线的起点 - * @param index 起始index,如果index非整数,将用最接近的整数作为起始索引 - */ - ResetStartPoint(index: number): boolean; - GetPoint2dAt(index: number): Vector2 | undefined; - /** - * 设置指定点的位置 - * - * @param {number} index - * @param {Vector2} pt - * @memberof Polyline - */ - SetPointAt(index: number, pt: Vector2): this; - protected ApplyScaleMatrix(m: Matrix4): this; - protected ApplyMirrorMatrix(m: Matrix4): this; - SetBulgeAt(index: number, bul: number): this; - GetBulgeAt(index: number): number; - Rectangle(length: number, height: number): this; - RectangleFrom2Pt(p1: Vector3, p2: Vector3): this; - FromPoints2d(pts: Vec2[]): this; - get StartPoint(): Vector3; - set StartPoint(p: Vector3); - get EndPoint(): Vector3; - set EndPoint(p: Vector3); - get CurveCount(): number; - get StartParam(): number; - /** - * 表示最后一条曲线的终止参数,使用该参数可以直接遍历到多段线的所有子线段. for(i; - GetCurveAtParamRange(startParam: number, endParam: number): Array; - Extend(newParam: number): void; - MatrixAlignTo2(toMatrix: Matrix4): { - pts: Vector2[]; - buls: number[]; - }; - Join(cu: Curve, allowGap?: boolean, tolerance?: number): Status.False | Status.True; - /** - * 将曲线数组组合成多段线 - * @param curves 已经使用CurveLinked的数组,总是首尾相连 - * @returns - */ - static Combine(curves: Curve[], tolerance?: number): Polyline | undefined; - /**首尾相连的曲线直接连接 */ - static FastCombine(curves: Curve[], tolerance?: number, computOCS?: boolean): Polyline | undefined; - PtOnCurve(pt: Vector3, fuzz?: number): boolean; - PtOnCurve3(p: Vector3, fuzz?: number): boolean; - PtInCurve(pt: Vector3): boolean; - GetClosestPointTo(pt: Vector3, extend: boolean): Vector3; - GetClosestPointTo2(pt: Vector3, extType: ExtendType): Vector3; - GetOffsetCurves(offsetDist: number): Polyline[]; - GetFeedingToolPath(offsetDist: number, offsetDistSq?: number, joinType?: PolylineJoinType): Polyline[]; - /** - * 分解 - */ - Explode(): (Line | Arc)[]; - /** - * 根据参数得到参数所在的子曲线. - * - * 当曲线存在闭合标志时,参数必须在曲线内部,否则返回空. - * - * @param {number} param 参数值 - * @returns {Curve} 曲线(直线或者圆弧) 或空 - * @memberof Polyline - */ - GetCurveAtParam(param: number): Curve; - /** - * 得到参数在子曲线中的表示 - * - * @param {number} param 参数在多段线中表示 - * @returns {number} 参数在子曲线中表示 - * @memberof Polyline - */ - GetCurveParamAtParam(param: number): number; - /** - * 获得曲线,来自索引位置. - * @param {number} i 索引位置 整数 - */ - GetCurveAtIndex(i: number): Line | Arc; - IntersectWith2(curve: Curve, intType: IntersectOption, tolerance?: number): import("../../GraphicsSystem/IntersectWith").IntersectResult[]; - IntersectSelf(): number[]; - IsIntersectSelf(): boolean; - get BoundingBox(): Box3Ext; - SetPtsBuls(pts: Vector2[], buls: number[]): this; - /** - * 得到曲线有用的点表和凸度(闭合曲线首尾重复) - */ - get PtsBuls(): { - pts: Vector2[]; - buls: number[]; - }; - get IsBulge(): boolean; - get Shape(): Shape2; - get SVG(): string; - GetDragPointCount(drag: DragPointType): number; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], moveVec: Vector3): void; - GetStretchPoints(): Vector3[]; - /** - * 范围拉伸(stretch),对夹点进行拉伸. - * 如果对圆弧的一侧进行拉伸,那么修改bul - * - * @param {Array} indexList - * @param {Vector3} vec - */ - MoveStretchPoints(indexList: Array, vec: Vector3): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -export declare const TempPolyline: Polyline; -//# sourceMappingURL=Polyline.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Polyline.d.ts.map b/types/DatabaseServices/Entity/Polyline.d.ts.map deleted file mode 100644 index 7f572f9..0000000 --- a/types/DatabaseServices/Entity/Polyline.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Polyline.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Polyline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAIvE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG7C,OAAO,EAAE,eAAe,EAA6B,MAAM,oCAAoC,CAAC;AAChG,OAAO,EAAkB,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,WAAW,aAAa;IAE1B,EAAE,EAAE,OAAO,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,gBAAgB,UAAO,CAAC;AAErC,qBACa,QAAS,SAAQ,KAAK;IAInB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Ae,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG;IAqB7B,cAAc,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,SAAO;IAMhF,aAAa,IAAI,MAAM,EAAE;IAuBzB,eAAe;IA6Df,IAAI,WAAW,YASd;IAED,UAAU,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;IAezC;;OAEG;IACH,IAAI,OAAO,IAAI;QAAE,GAAG,EAAE,OAAO,EAAE,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAC;KAAE,CAsBjD;IACD,IAAI,OAAO,YAiDV;IACD,IAAI,KAAK,IAAI,MAAM,CAIlB;IACD,IAAI,GAAG,WAiBN;IAED,iBAAiB,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM;IAc9C,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,OAAO,GACpB,OAAO,EAAE;IA4EZ,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAe/B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO;IA8DpD,gBAAgB,IAAI,OAAO,EAAE;IAa7B;;;;;;OAMG;IACH,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IA+DxD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAqBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAa3B;AAED,eAAO,MAAM,YAAY,UAAiB,CAAC"} \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Region.d.ts b/types/DatabaseServices/Entity/Region.d.ts deleted file mode 100644 index 0fe7e0a..0000000 --- a/types/DatabaseServices/Entity/Region.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Box3, BufferGeometry, Material, Matrix3, Matrix4, Object3D, Vector3 } from 'three'; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { BoolOpeartionType } from '../../GraphicsSystem/BoolOperateUtils'; -import { RenderType } from '../../GraphicsSystem/RenderType'; -import { CADFiler } from '../CADFiler'; -import { ShapeManager } from '../ShapeManager'; -import { Curve } from './Curve'; -import { Entity } from './Entity'; -export declare class Region extends Entity { - private _ShapeManager; - static CreateFromCurves(cus: Curve[] | (Curve[])[]): Region | undefined; - constructor(_ShapeManager?: ShapeManager); - get ShapeManager(): ShapeManager; - get Area(): number; - get BoundingBox(): Box3; - Explode(): Curve[] | Region[]; - /** - * 对于布尔操作,这个将会变换内部轮廓到对方坐标系. - * 并且这个变换不会更新图形绘制. - * @param {Matrix4} m - * @memberof Region - */ - ShapeApplyMatrix(m: Matrix4): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], moveVec: Vector3): void; - ApplyMatrix(m: Matrix4): this; - get Position(): Vector3; - set Position(pt: Vector3); - protected ApplyScaleMatrix(m: Matrix4): this; - Z0(): this; - MatrixPlanarizere(): this; - protected ApplyMirrorMatrix(m: Matrix4): this; - /** - * 请注意:该计算会操作otherRegion的矩阵 - * @param {Region} otherRegion - * @param {BoolOpeartionType} boolType - */ - BooleanOper(otherRegion: Region, boolType: BoolOpeartionType): boolean; - private _MeshGeometry; - get MeshGeometry(): BufferGeometry; - private _EdgeGeometry; - private get EdgeGeometry(); - private UpdateGeometry; - UpdateDrawGeometry(): void; - ClearDraw(): this; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(renderType: RenderType, obj: Object3D): Object3D; - /** - * 当实体需要被更新时,更新实体材质 - */ - UpdateDrawObjectMaterial(type: RenderType, obj: Object3D, material?: Material): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Region.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Entity/Region.d.ts.map b/types/DatabaseServices/Entity/Region.d.ts.map deleted file mode 100644 index a644c98..0000000 --- a/types/DatabaseServices/Entity/Region.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Region.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Entity/Region.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,cAAc,EAAgB,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAQ,QAAQ,EAA0B,OAAO,EAAE,MAAM,OAAO,CAAC;AAIxI,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAI7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,qBACa,MAAO,SAAQ,MAAM;IAelB,OAAO,CAAC,aAAa;IAbjC,MAAM,CAAC,gBAAgB,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,MAAM,GAAG,SAAS;gBAanD,aAAa,GAAE,YAAiC;IAMpE,IAAI,YAAY,iBAGf;IACD,IAAI,IAAI,WAGP;IACD,IAAI,WAAW,SAMd;IACD,OAAO;IAoBP;;;;;OAKG;IACH,gBAAgB,CAAC,CAAC,EAAE,OAAO;IAK3B,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,OAAO,GACpB,OAAO,EAAE;IAyBZ,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAO/B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO;IAMpD,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;IAQ7B,IAAI,QAAQ,IAIK,OAAO,CADvB;IACD,IAAI,QAAQ,CAAC,EAAE,EAAE,OAAO,EAgBvB;IAED,SAAS,CAAC,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;IAW5C,EAAE;IAQF,iBAAiB;IAQjB,SAAS,CAAC,iBAAiB,CAAC,CAAC,EAAE,OAAO;IAItC;;;;OAIG;IACH,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,GAAG,OAAO;IAkBtE,OAAO,CAAC,aAAa,CAAiB;IACtC,IAAI,YAAY,IAAI,cAAc,CAMjC;IAED,OAAO,CAAC,aAAa,CAAiB;IACtC,OAAO,KAAK,YAAY,GAMvB;IAED,OAAO,CAAC,cAAc;IA4CtB,kBAAkB;IAUlB,SAAS,IAAI,IAAI;IAMjB,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IAoCvE,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAyCtD;;MAEE;IACF,wBAAwB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ;IA8B7E,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAWlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAS3B"} \ No newline at end of file diff --git a/types/DatabaseServices/EraseEntityData.d.ts b/types/DatabaseServices/EraseEntityData.d.ts deleted file mode 100644 index 817c3f3..0000000 --- a/types/DatabaseServices/EraseEntityData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { ISerialize } from './ISerialize'; -export declare class EraseEntityData implements ISerialize { - isErase: boolean; - ReadFile(file: CADFiler): this; - WriteFile(file: CADFiler): this; - constructor(isErase?: boolean); -} -//# sourceMappingURL=EraseEntityData.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/EraseEntityData.d.ts.map b/types/DatabaseServices/EraseEntityData.d.ts.map deleted file mode 100644 index 8de2350..0000000 --- a/types/DatabaseServices/EraseEntityData.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EraseEntityData.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/EraseEntityData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,qBACa,eAAgB,YAAW,UAAU;IAY3B,OAAO;IAV1B,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAK9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;gBAKZ,OAAO,UAAO;CAGpC"} \ No newline at end of file diff --git a/types/DatabaseServices/FaceEntity.d.ts b/types/DatabaseServices/FaceEntity.d.ts deleted file mode 100644 index 13a61b6..0000000 --- a/types/DatabaseServices/FaceEntity.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Object3D, Vector3 } from "three"; -import { RenderType } from "../GraphicsSystem/RenderType"; -import { CADFiler } from "./CADFiler"; -import { Entity } from "./Entity/Entity"; -export declare class FaceEntity extends Entity { - private p1; - private p2; - private p3; - private normal; - constructor(p1?: Vector3, p2?: Vector3, p3?: Vector3, normal?: Vector3); - protected InitDrawObject(renderType?: RenderType): Object3D; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=FaceEntity.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/FaceEntity.d.ts.map b/types/DatabaseServices/FaceEntity.d.ts.map deleted file mode 100644 index 3b1b932..0000000 --- a/types/DatabaseServices/FaceEntity.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FaceEntity.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/FaceEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,QAAQ,EAAE,OAAO,EAAQ,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAGzC,qBACa,UAAW,SAAQ,MAAM;IAEtB,OAAO,CAAC,EAAE;IAA2B,OAAO,CAAC,EAAE;IAA2B,OAAO,CAAC,EAAE;IAA2B,OAAO,CAAC,MAAM;gBAArH,EAAE,GAAE,OAAuB,EAAU,EAAE,GAAE,OAAuB,EAAU,EAAE,GAAE,OAAuB,EAAU,MAAM,GAAE,OAAuB;IAKlK,SAAS,CAAC,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IAYjF,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAalC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAa3B"} \ No newline at end of file diff --git a/types/DatabaseServices/FontStyle/FontStyleKeyCodeEnum.d.ts b/types/DatabaseServices/FontStyle/FontStyleKeyCodeEnum.d.ts deleted file mode 100644 index 0d8c99f..0000000 --- a/types/DatabaseServices/FontStyle/FontStyleKeyCodeEnum.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare enum FontStyleKeyCode { - Height = 1, - WidthFactor = 2, - FontType = 3 -} -//# sourceMappingURL=FontStyleKeyCodeEnum.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/FontStyle/FontStyleKeyCodeEnum.d.ts.map b/types/DatabaseServices/FontStyle/FontStyleKeyCodeEnum.d.ts.map deleted file mode 100644 index 9ccf56c..0000000 --- a/types/DatabaseServices/FontStyle/FontStyleKeyCodeEnum.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FontStyleKeyCodeEnum.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/FontStyle/FontStyleKeyCodeEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAExB,MAAM,IAAI;IACV,WAAW,IAAI;IACf,QAAQ,IAAI;CACf"} \ No newline at end of file diff --git a/types/DatabaseServices/FontStyle/FontStyleTable.d.ts b/types/DatabaseServices/FontStyle/FontStyleTable.d.ts deleted file mode 100644 index 0dc16b7..0000000 --- a/types/DatabaseServices/FontStyle/FontStyleTable.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { CADFiler } from "../CADFiler"; -import { ObjectId } from "../ObjectId"; -import { SymbolTable } from "../Tables/SymbolTable"; -export declare class FontStyleTable extends SymbolTable { - Current: ObjectId; - get FontStyleNames(): string[]; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=FontStyleTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/FontStyle/FontStyleTable.d.ts.map b/types/DatabaseServices/FontStyle/FontStyleTable.d.ts.map deleted file mode 100644 index 75ce726..0000000 --- a/types/DatabaseServices/FontStyle/FontStyleTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FontStyleTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/FontStyle/FontStyleTable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,qBACa,cAAe,SAAQ,WAAW;IAE3C,OAAO,EAAE,QAAQ,CAAC;IAElB,IAAI,cAAc,IAAI,MAAM,EAAE,CAM7B;IAIQ,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAOvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAOpC"} \ No newline at end of file diff --git a/types/DatabaseServices/FontStyle/FontsStyleRecord.d.ts b/types/DatabaseServices/FontStyle/FontsStyleRecord.d.ts deleted file mode 100644 index 6036553..0000000 --- a/types/DatabaseServices/FontStyle/FontsStyleRecord.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { FontType } from "../../Add-on/TextStyle/FontStyleInterface"; -import { CADFiler } from "../CADFiler"; -import { SymbolTableRecord } from "../SymbolTableRecord"; -/** - * 字体样式 - */ -export declare class FontStyleRecord extends SymbolTableRecord { - /** 字体高度 1 */ - Height: number; - /** 宽度因子 2 字符串间距 */ - WidthFactor: number; - /** 样式类型 3 */ - FontType: FontType; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=FontsStyleRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/FontStyle/FontsStyleRecord.d.ts.map b/types/DatabaseServices/FontStyle/FontsStyleRecord.d.ts.map deleted file mode 100644 index e5c600e..0000000 --- a/types/DatabaseServices/FontStyle/FontsStyleRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FontsStyleRecord.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/FontStyle/FontsStyleRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAGrE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;GAEG;AACH,qBACa,eAAgB,SAAQ,iBAAiB;IAElD,aAAa;IACD,MAAM,EAAE,MAAM,CAAM;IAEhC,mBAAmB;IACP,WAAW,EAAE,MAAM,CAAK;IAEpC,aAAa;IACD,QAAQ,EAAE,QAAQ,CAAkB;IAIvC,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAWvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAUpC"} \ No newline at end of file diff --git a/types/DatabaseServices/GroupTable.d.ts b/types/DatabaseServices/GroupTable.d.ts deleted file mode 100644 index 53ab79d..0000000 --- a/types/DatabaseServices/GroupTable.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { GroupRecord } from "./GroupTableRecord"; -import { ObjectCollection } from "./ObjectCollection"; -import { CADFiler } from "./CADFiler"; -import { Status } from "../Common/Status"; -export declare class GroupTable extends ObjectCollection { - Append(object: GroupRecord, isCheckObjectCleanly?: boolean): import("./ObjectId").ObjectId; - Add(record: GroupRecord, isCheckObjectCleanly?: boolean): Status; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=GroupTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/GroupTable.d.ts.map b/types/DatabaseServices/GroupTable.d.ts.map deleted file mode 100644 index 44e9006..0000000 --- a/types/DatabaseServices/GroupTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GroupTable.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/GroupTable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,qBACa,UAAW,SAAQ,gBAAgB,CAAC,WAAW,CAAC;IAGzD,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,oBAAoB,UAAO;IAUvD,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,oBAAoB,UAAO,GAAG,MAAM;IAU7D,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAMvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAO3B"} \ No newline at end of file diff --git a/types/DatabaseServices/GroupTableRecord.d.ts b/types/DatabaseServices/GroupTableRecord.d.ts deleted file mode 100644 index 5aa7f91..0000000 --- a/types/DatabaseServices/GroupTableRecord.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { CADFiler } from "./CADFiler"; -import { ObjectId } from "./ObjectId"; -import { SymbolTableRecord } from "./SymbolTableRecord"; -export declare class GroupRecord extends SymbolTableRecord { - Entitys: ObjectId[]; - constructor(); - get Name(): string; - set Name(name: string); - Purge(): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=GroupTableRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/GroupTableRecord.d.ts.map b/types/DatabaseServices/GroupTableRecord.d.ts.map deleted file mode 100644 index 6b98499..0000000 --- a/types/DatabaseServices/GroupTableRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GroupTableRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/GroupTableRecord.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBACa,WAAY,SAAQ,iBAAiB;IAElC,OAAO,EAAE,QAAQ,EAAE,CAAC;;IAgChC,IAAI,IAAI,IAIO,MAAM,CADpB;IACD,IAAI,IAAI,CAAC,IAAI,EAAE,MAAM,EAOpB;IAED,KAAK;IAML,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAcvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAS3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Hardware/HardwareCompositeEntity.d.ts b/types/DatabaseServices/Hardware/HardwareCompositeEntity.d.ts deleted file mode 100644 index 5e66f2e..0000000 --- a/types/DatabaseServices/Hardware/HardwareCompositeEntity.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Matrix4 } from "three"; -import { ICompHardwareOption } from "../../UI/Components/RightPanel/RightPanelInterface"; -import { CADFiler } from "../CADFiler"; -import { CompositeEntity } from "../Entity/CompositeEntity"; -import { Entity } from "../Entity/Entity"; -import { ObjectId } from "../ObjectId"; -export declare class HardwareCompositeEntity extends CompositeEntity { - HardwareOption: ICompHardwareOption; - /** - * 备注 - */ - DataList: [string, string][]; - RelevanceBoards: ObjectId[]; - RelevanceHardware: ObjectId[]; - RelevanceHandle: ObjectId[]; - /** - * - * @param [checkIsHole=false] true:只获取是孔的实体 false:返回所有实体 - * @param [checkFilter] 过滤函数 - * @returns - */ - GetAllEntity(checkIsHole?: boolean, checkFilter?: (e: Entity) => boolean): Entity[]; - ApplyMirrorMatrix(m: Matrix4): this; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=HardwareCompositeEntity.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Hardware/HardwareCompositeEntity.d.ts.map b/types/DatabaseServices/Hardware/HardwareCompositeEntity.d.ts.map deleted file mode 100644 index 3d49011..0000000 --- a/types/DatabaseServices/Hardware/HardwareCompositeEntity.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"HardwareCompositeEntity.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Hardware/HardwareCompositeEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAGzF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBACa,uBAAwB,SAAQ,eAAe;IAEtC,cAAc,EAAE,mBAAmB,CAAuC;IAC5F;;OAEG;IACS,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAM;IAClC,eAAe,EAAE,QAAQ,EAAE,CAAM;IACjC,iBAAiB,EAAE,QAAQ,EAAE,CAAM;IACnC,eAAe,EAAE,QAAQ,EAAE,CAAM;IAC7C;;;;;OAKG;IACH,YAAY,CAAC,WAAW,GAAE,OAAe,EAAE,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO;IAmB/E,iBAAiB,CAAC,CAAC,EAAE,OAAO;IAc5B,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAyElC,SAAS,CAAC,IAAI,EAAE,QAAQ;CA8C3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Hardware/HardwareTopline.d.ts b/types/DatabaseServices/Hardware/HardwareTopline.d.ts deleted file mode 100644 index 9e55748..0000000 --- a/types/DatabaseServices/Hardware/HardwareTopline.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IToplineOption } from "../../UI/Components/RightPanel/RightPanelInterface"; -import { SweepSolid } from "../3DSolid/SweepSolid"; -import { CADFiler } from "../CADFiler"; -import { Curve } from "../Entity/Curve"; -export declare class HardwareTopline extends SweepSolid { - HardwareOption: IToplineOption; - DataList: [string, string][]; - private _contourRotation; - get ContourRotation(): number; - /** - *延伸取最大最小轮廓每段首尾到前面线段,取最长线段作为分段长 - */ - get Segmentations(): Curve[]; - get MaxLength(): number; - set ContourRotation(ro: number); - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=HardwareTopline.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Hardware/HardwareTopline.d.ts.map b/types/DatabaseServices/Hardware/HardwareTopline.d.ts.map deleted file mode 100644 index cc77510..0000000 --- a/types/DatabaseServices/Hardware/HardwareTopline.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"HardwareTopline.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Hardware/HardwareTopline.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAIxC,qBACa,eAAgB,SAAQ,UAAU;IAEzB,cAAc,EAAE,cAAc,CAAqC;IACzE,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAM;IAC9C,OAAO,CAAC,gBAAgB,CAAK;IAC7B,IAAI,eAAe,IAkHK,MAAM,CA/G7B;IAED;;OAEG;IACH,IAAI,aAAa,IAAI,KAAK,EAAE,CAoG3B;IAED,IAAI,SAAS,WAGZ;IACD,IAAI,eAAe,CAAC,EAAE,EAAE,MAAM,EAU7B;IAED,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAuClC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgC3B"} \ No newline at end of file diff --git a/types/DatabaseServices/HistoricManage.d.ts b/types/DatabaseServices/HistoricManage.d.ts deleted file mode 100644 index f837eb4..0000000 --- a/types/DatabaseServices/HistoricManage.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { CADObject } from './CADObject'; -import { CommandHistoryRecord } from './CommandHistoryRecord'; -/** - * 历史记录管理 - * - * 关于子命令标记: - * 当子命令标记出现的时候,才允许出现局部撤销,否则命令执行中不允许撤销,触发命令重写了撤销和重做的事件. - */ -export declare class HistoricManage extends CADObject { - useSubCommand: boolean; - curIndex: number; - lockIndex: number; - historyRecord: CommandHistoryRecord[]; - doing: boolean; - Enable: boolean; - _SignalCommandHistory: HistoricManage; - constructor(useSubCommand?: boolean); - /** - * 清理历史记录 - * @param [remCount=0] 剩余的记录记录个数 - */ - Clear(remCount?: number): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - get IsNow(): boolean; - get UndoData(): CommandHistoryRecord; - StartMark(subCommandName?: string): void; - /** - * 不要在命令中直接调用这个函数! - * 请调用 commandMachine.CommandStart - */ - StartCmd(cmdName: string): void; - CurrentHasHistory(): boolean; - EndCmd(): boolean; - /** - * 获得这个命令修改的对象列表 - */ - get ChangeObjects(): Set; - GetRangeChangeObject(startIndex: number, endIndex: number): Set; - /** - * 合并命令历史记录,因为命令记录器允许存在子记录,所以当命令结束时,应该把子记录合并到父记录中,子记录将被摧毁. - */ - private MergeSubCommmand; - Undo(): boolean; - Redo(): any; - UndoEvent(cmdName: string, historyRec: CommandHistoryRecord): void; - RedoEvent(cmdName: string, historyRec: CommandHistoryRecord): void; -} -//# sourceMappingURL=HistoricManage.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/HistoricManage.d.ts.map b/types/DatabaseServices/HistoricManage.d.ts.map deleted file mode 100644 index f778d64..0000000 --- a/types/DatabaseServices/HistoricManage.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"HistoricManage.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/HistoricManage.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D;;;;;GAKG;AACH,qBACa,cAAe,SAAQ,SAAS;IAUtB,aAAa;IARhC,QAAQ,EAAE,MAAM,CAAM;IACtB,SAAS,SAAM;IACf,aAAa,EAAE,oBAAoB,EAAE,CAAM;IAC3C,KAAK,EAAE,OAAO,CAAS;IACvB,MAAM,EAAE,OAAO,CAAQ;IAEvB,qBAAqB,EAAE,cAAc,CAAC;gBAEnB,aAAa,UAAO;IAMvC;;;OAGG;IACH,KAAK,CAAC,QAAQ,SAAI;IAUlB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAYvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAYxB,IAAI,KAAK,IAAI,OAAO,CAGnB;IAED,IAAI,QAAQ,IAAI,oBAAoB,CAgCnC;IAGD,SAAS,CAAC,cAAc,SAAK;IAY7B;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM;IAQxB,iBAAiB,IAAI,OAAO;IAS5B,MAAM,IAAI,OAAO;IA+BjB;;OAEG;IACH,IAAI,aAAa,IAAI,GAAG,CAAC,SAAS,CAAC,CAclC;IACD,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC;IAS1E;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAiBxB,IAAI,IAAI,OAAO;IA6Bf,IAAI;IA2BJ,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,oBAAoB;IAI3D,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,oBAAoB;CAI9D"} \ No newline at end of file diff --git a/types/DatabaseServices/HistorycRecord.d.ts b/types/DatabaseServices/HistorycRecord.d.ts deleted file mode 100644 index a4837f0..0000000 --- a/types/DatabaseServices/HistorycRecord.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { ISerialize } from './ISerialize'; -/** - * 历史记录,用于撤销和重做的数据. - */ -export declare class HistorycRecord { - undoData: ISerialize; - redoData: ISerialize; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=HistorycRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/HistorycRecord.d.ts.map b/types/DatabaseServices/HistorycRecord.d.ts.map deleted file mode 100644 index 065261c..0000000 --- a/types/DatabaseServices/HistorycRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"HistorycRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/HistorycRecord.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,qBACa,cAAc;IAGvB,QAAQ,EAAE,UAAU,CAAC;IAErB,QAAQ,EAAE,UAAU,CAAC;IAMrB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IASvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAO3B"} \ No newline at end of file diff --git a/types/DatabaseServices/IMaterialDefaultParam.d.ts b/types/DatabaseServices/IMaterialDefaultParam.d.ts deleted file mode 100644 index 2c90c24..0000000 --- a/types/DatabaseServices/IMaterialDefaultParam.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Color } from "three"; -import { PhysicalMaterialRecord } from "./PhysicalMaterialRecord"; -declare const DefaultParam: Readonly<{ - color: "#ffffff"; - baseColorluminance: 0; - baseColorLightColor: Color; - baseColorDarkColor: Color; - baseColorSaturability: 1; - transparent: false; - opacity: 1; - opacityContrast: 1; - opacityBorder: 1; - opacityMaximum: 1; - opacityMinimum: 0.3; - matalness: 0; - bumpScale: 0.1; - roughness: 0.2; - specular: 1; - selfLuminous: 0; - fresnelPO: 1; - fresnelST: 1; - fresnelLuminance: 1; - fresnelLightColor: Color; - fresnelDarkColor: Color; - UVType: 0; - sharpen: 1; -}>; -type MaterialParam = typeof DefaultParam; -export declare const DefaultParamMap: Readonly<{ - 木纹: MaterialParam; - 乳胶漆: MaterialParam; - 烤漆: MaterialParam; - 金属: MaterialParam; - 亚光金属: MaterialParam; - 自发光: MaterialParam; - 大理石: MaterialParam; - 混凝土: MaterialParam; - 粗糙石材: MaterialParam; - 玻璃: MaterialParam; - 皮革: MaterialParam; - 布料: MaterialParam; - 竹藤编织: MaterialParam; -}>; -export type MaterialType = keyof (typeof DefaultParamMap); -export declare function SetMaterialParams(mtl: PhysicalMaterialRecord, param: MaterialParam): void; -export {}; -//# sourceMappingURL=IMaterialDefaultParam.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/IMaterialDefaultParam.d.ts.map b/types/DatabaseServices/IMaterialDefaultParam.d.ts.map deleted file mode 100644 index 9cd98dd..0000000 --- a/types/DatabaseServices/IMaterialDefaultParam.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IMaterialDefaultParam.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/IMaterialDefaultParam.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAyBlE,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;EAsChB,CAAC;AAEH,KAAK,aAAa,GAAG,OAAO,YAAY,CAAC;AAGzC,eAAO,MAAM,eAAe;QAmBjB,aAAa;SAoBb,aAAa;QAoBb,aAAa;QAoBb,aAAa;UAoBb,aAAa;SAkBb,aAAa;SAkBb,aAAa;SAkBb,aAAa;UAkBb,aAAa;QA0Bb,aAAa;QA0Bb,aAAa;QA0Bb,aAAa;UAkBb,aAAa;EAItB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC;AAE1D,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,sBAAsB,EAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAazF"} \ No newline at end of file diff --git a/types/DatabaseServices/ISerialize.d.ts b/types/DatabaseServices/ISerialize.d.ts deleted file mode 100644 index 290531e..0000000 --- a/types/DatabaseServices/ISerialize.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CADFiler } from "./CADFiler"; -export interface ISerialize { - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=ISerialize.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/ISerialize.d.ts.map b/types/DatabaseServices/ISerialize.d.ts.map deleted file mode 100644 index 6065f6a..0000000 --- a/types/DatabaseServices/ISerialize.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ISerialize.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/ISerialize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,UAAU;IAEvB,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAC;CACnC"} \ No newline at end of file diff --git a/types/DatabaseServices/IdMaping.d.ts b/types/DatabaseServices/IdMaping.d.ts deleted file mode 100644 index fc9f1de..0000000 --- a/types/DatabaseServices/IdMaping.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { ObjectId } from "./ObjectId"; -export type IdMaping = Map; -//# sourceMappingURL=IdMaping.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/IdMaping.d.ts.map b/types/DatabaseServices/IdMaping.d.ts.map deleted file mode 100644 index a78c1f6..0000000 --- a/types/DatabaseServices/IdMaping.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IdMaping.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/IdMaping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,MAAM,QAAQ,GAAG,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC"} \ No newline at end of file diff --git a/types/DatabaseServices/LayerTableRecord.d.ts b/types/DatabaseServices/LayerTableRecord.d.ts deleted file mode 100644 index 839246b..0000000 --- a/types/DatabaseServices/LayerTableRecord.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { CADFiler } from "./CADFiler"; -import { CADObject } from "./CADObject"; -import { SymbolTableRecord } from "./SymbolTableRecord"; -export declare class LayerTableRecord extends SymbolTableRecord { - ColorIndex: number; - IsOff: boolean; - IsLocked: boolean; - constructor(); - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -//# sourceMappingURL=LayerTableRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/LayerTableRecord.d.ts.map b/types/DatabaseServices/LayerTableRecord.d.ts.map deleted file mode 100644 index d4c65f1..0000000 --- a/types/DatabaseServices/LayerTableRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LayerTableRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/LayerTableRecord.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBACa,gBAAiB,SAAQ,iBAAiB;IAEvC,UAAU,EAAE,MAAM,CAAK;IAIvB,KAAK,UAAS;IAEd,QAAQ,UAAS;;IAepB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAWvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAWxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAKhD"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/AmbientLight.d.ts b/types/DatabaseServices/Lights/AmbientLight.d.ts deleted file mode 100644 index 7d71788..0000000 --- a/types/DatabaseServices/Lights/AmbientLight.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Object3D } from "three"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { Light } from "./Light"; -export declare class AmbientLight extends Light { - protected _Intensity: number; - protected _OpenLight: boolean; - protected _CaseShadow: boolean; - protected InitDrawObject(renderType?: RenderType): Object3D; -} -//# sourceMappingURL=AmbientLight.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/AmbientLight.d.ts.map b/types/DatabaseServices/Lights/AmbientLight.d.ts.map deleted file mode 100644 index 66787ae..0000000 --- a/types/DatabaseServices/Lights/AmbientLight.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AmbientLight.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/AmbientLight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBACa,YAAa,SAAQ,KAAK;IAEnC,SAAS,CAAC,UAAU,SAAO;IAC3B,SAAS,CAAC,UAAU,UAAQ;IAC5B,SAAS,CAAC,WAAW,EAAE,OAAO,CAAS;IACvC,SAAS,CAAC,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;CAKpF"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/DirectionalLight.d.ts b/types/DatabaseServices/Lights/DirectionalLight.d.ts deleted file mode 100644 index f585847..0000000 --- a/types/DatabaseServices/Lights/DirectionalLight.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Matrix4, Object3D, Vector3 } from "three"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { Light } from "./Light"; -/** - * 平行光源 - */ -export declare class DirectionalLight extends Light { - protected _Intensity: number; - LightSourceAngle: number; - LightSourceSoftAngle: number; - OnlyRenderType: boolean; - private _Target; - protected _ShowHelper: boolean; - protected _OpenLight: boolean; - constructor(); - Erase(isErase?: boolean): void; - /** - * @param theta 身体旋转 角度(deg) - * @param phi 头部旋转 角度(deg) - */ - SetRotate(thetaDeg: number, phiDeg: number): void; - get Target(): Vector3; - set Target(p: Vector3); - get SunPosition(): Vector3; - set SunPosition(p: Vector3); - get Position(): Vector3; - set Position(p: Vector3); - get WebIntensity(): number; - ApplyMatrix(m: Matrix4): this; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - protected InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, en: Object3D): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=DirectionalLight.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/DirectionalLight.d.ts.map b/types/DatabaseServices/Lights/DirectionalLight.d.ts.map deleted file mode 100644 index 322066f..0000000 --- a/types/DatabaseServices/Lights/DirectionalLight.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DirectionalLight.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/DirectionalLight.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,OAAO,EAAE,QAAQ,EAAkD,OAAO,EAAE,MAAM,OAAO,CAAC;AAG9H,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAG7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC;;GAEG;AACH,qBACa,gBAAiB,SAAQ,KAAK;IAEvC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAM;IAEtB,gBAAgB,SAAO;IAEvB,oBAAoB,SAAK;IAErC,cAAc,UAAQ;IACtB,OAAO,CAAC,OAAO,CAAiB;IAChC,SAAS,CAAC,WAAW,UAAS;IAC9B,SAAS,CAAC,UAAU,UAAQ;;IAS5B,KAAK,CAAC,OAAO,GAAE,OAAc;IAK7B;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAc1C,IAAI,MAAM,IACI,OAAO,CADwB;IAC7C,IAAI,MAAM,CAAC,CAAC,EAAE,OAAO,EAQpB;IAED,IAAI,WAAW,IACI,OAAO,CADkB;IAC5C,IAAI,WAAW,CAAC,CAAC,EAAE,OAAO,EAYzB;IAED,IAAI,QAAQ,IACI,OAAO,CADkB;IACzC,IAAI,QAAQ,CAAC,CAAC,EAAE,OAAO,EAOtB;IAED,IAAI,YAAY,WAKf;IAED,WAAW,CAAC,CAAC,EAAE,OAAO;IAOtB,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAO/B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAQhD,SAAS,CAAC,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IAqBjF,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ;IAoB/C,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAYlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAU3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/HemisphereLight.d.ts b/types/DatabaseServices/Lights/HemisphereLight.d.ts deleted file mode 100644 index dfb6352..0000000 --- a/types/DatabaseServices/Lights/HemisphereLight.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Color, Light as TLight, Object3D } from "three"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { Light } from "./Light"; -export declare class HemisphereLight extends Light { - private _GroundColor; - protected _Intensity: number; - AutoExposure: boolean; - ExposureCompensation: number; - protected _OpenLight: boolean; - get GroundColor(): Color; - set GroundColor(color: Color); - get WebIntensity(): number; - protected InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, en: TLight): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=HemisphereLight.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/HemisphereLight.d.ts.map b/types/DatabaseServices/Lights/HemisphereLight.d.ts.map deleted file mode 100644 index de2076f..0000000 --- a/types/DatabaseServices/Lights/HemisphereLight.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"HemisphereLight.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/HemisphereLight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAuC,KAAK,IAAI,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9F,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAG7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBACa,eAAgB,SAAQ,KAAK;IAEtC,OAAO,CAAC,YAAY,CAAe;IACnC,SAAS,CAAC,UAAU,SAAK;IACb,YAAY,UAAS;IACrB,oBAAoB,SAAK;IACrC,SAAS,CAAC,UAAU,UAAQ;IAE5B,IAAI,WAAW,IAEQ,KAAK,CAFmB;IAE/C,IAAI,WAAW,CAAC,KAAK,EAAE,KAAK,EAK3B;IAED,IAAI,YAAY,WAGf;IAED,SAAS,CAAC,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IAMjF,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM;IAO7C,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAelC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAU3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/Light.d.ts b/types/DatabaseServices/Lights/Light.d.ts deleted file mode 100644 index d7a714f..0000000 --- a/types/DatabaseServices/Lights/Light.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Box3, Color, Light as TLight, Vector3 } from 'three'; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { Box3Ext } from '../../Geometry/Box'; -import { RenderType } from '../../GraphicsSystem/RenderType'; -import { CADFiler } from '../CADFiler'; -import { Entity } from '../Entity/Entity'; -/** - * 灯光实体基类 - */ -export declare class Light extends Entity { - static DefaultOpenLight: boolean; - static DefaultCaseShadow: boolean; - static DefaultShowHelpr: boolean; - OnlyRenderType: boolean; - protected _Intensity: number; - protected _LightColor: Color; - Temperature: number; - IndirectLightingIntensity: number; - SpecularScale: number; - protected _ShowHelper: boolean; - protected _CaseShadow: boolean; - protected _OpenLight: boolean; - Clone(): any; - get CaseShadow(): boolean; - set CaseShadow(v: boolean); - get OpenLight(): boolean; - set OpenLight(v: boolean); - get Position(): Vector3; - set Position(v: Vector3); - get Color(): Color; - set Color(color: Color); - get ShowHelper(): boolean; - set ShowHelper(v: boolean); - get BoundingBoxInOCS(): Box3Ext; - get BoundingBox(): Box3; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3): Vector3[]; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - UpdateDrawObject(type: RenderType, en: TLight): void; - get Intensity(): number; - set Intensity(v: number); - get WebIntensity(): number; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Light.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/Light.d.ts.map b/types/DatabaseServices/Lights/Light.d.ts.map deleted file mode 100644 index b320d5d..0000000 --- a/types/DatabaseServices/Lights/Light.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Light.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/Light.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,IAAI,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAI7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C;;GAEG;AACH,qBACa,KAAM,SAAQ,MAAM;IAE7B,MAAM,CAAC,gBAAgB,UAAS;IAChC,MAAM,CAAC,iBAAiB,UAAS;IACjC,MAAM,CAAC,gBAAgB,UAAS;IAEhC,cAAc,UAAQ;IACtB,SAAS,CAAC,UAAU,EAAE,MAAM,CAAK;IACjC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAe;IAC/B,WAAW,SAAQ;IACnB,yBAAyB,SAAK;IAE9B,aAAa,SAAK;IAC9B,SAAS,CAAC,WAAW,UAAQ;IAC7B,SAAS,CAAC,WAAW,UAAQ;IAC7B,SAAS,CAAC,UAAU,UAA0B;IAC9C,KAAK;IAKL,IAAI,UAAU,IAEI,OAAO,CAFoB;IAE7C,IAAI,UAAU,CAAC,CAAC,EAAE,OAAO,EAMxB;IAED,IAAI,SAAS,IAEI,OAAO,CAFmB;IAE3C,IAAI,SAAS,CAAC,CAAC,EAAE,OAAO,EAKvB;IAGD,IAAI,QAAQ,IAKI,OAAO,CAFtB;IAED,IAAI,QAAQ,CAAC,CAAC,EAAE,OAAO,EAItB;IAED,IAAI,KAAK,IAIQ,KAAK,CADrB;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,KAAK,EAKrB;IACD,IAAI,UAAU,IAII,OAAO,CADxB;IACD,IAAI,UAAU,CAAC,CAAC,EAAE,OAAO,EAMxB;IAED,IAAI,gBAAgB,YAGnB;IAED,IAAI,WAAW,SAGd;IAED,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,GACnB,OAAO,EAAE;IASZ,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAK/B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAKhD,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM;IAM7C,IAAI,SAAS,IAKI,MAAM,CAFtB;IAED,IAAI,SAAS,CAAC,CAAC,EAAE,MAAM,EAMtB;IAED,IAAI,YAAY,WAGf;IACD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAuBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAoB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/PointLight.d.ts b/types/DatabaseServices/Lights/PointLight.d.ts deleted file mode 100644 index f23b30c..0000000 --- a/types/DatabaseServices/Lights/PointLight.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Object3D } from 'three'; -import { RenderType } from '../../GraphicsSystem/RenderType'; -import { CADFiler } from '../CADFiler'; -import { Light } from './Light'; -/** - * 点光源 - */ -export declare class PointLight extends Light { - /** - * 光照长度,如果为0那么为无穷大 - */ - private _Distance; - protected _Intensity: number; - private _Decay; - SourceRadius: number; - SoftSourceRadius: number; - SourceLength: number; - AttenuationRadius: number; - constructor(); - get Decay(): number; - set Decay(decay: number); - get Distance(): number; - set Distance(dist: number); - get WebIntensity(): number; - protected InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, en: Object3D): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=PointLight.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/PointLight.d.ts.map b/types/DatabaseServices/Lights/PointLight.d.ts.map deleted file mode 100644 index 410f16d..0000000 --- a/types/DatabaseServices/Lights/PointLight.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PointLight.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/PointLight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,QAAQ,EAA6C,MAAM,OAAO,CAAC;AAE/H,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAG7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC;;GAEG;AACH,qBACa,UAAW,SAAQ,KAAK;IAEjC;;OAEG;IACH,OAAO,CAAC,SAAS,CAAiB;IAClC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAO;IAKnC,OAAO,CAAC,MAAM,CAAgB;IAGlB,YAAY,SAAM;IAClB,gBAAgB,SAAK;IACrB,YAAY,SAAK;IAIjB,iBAAiB,SAAO;;IAOpC,IAAI,KAAK,IAAI,MAAM,CAGlB;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAKtB;IAED,IAAI,QAAQ,IAIO,MAAM,CADxB;IACD,IAAI,QAAQ,CAAC,IAAI,EAAE,MAAM,EAKxB;IAED,IAAI,YAAY,WAKf;IAED,SAAS,CAAC,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IAuBjF,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ;IAmB/C,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAkBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAa3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/PointLightHelper.d.ts b/types/DatabaseServices/Lights/PointLightHelper.d.ts deleted file mode 100644 index 9cbd7d7..0000000 --- a/types/DatabaseServices/Lights/PointLightHelper.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Color, LineBasicMaterial, LineSegments, Mesh, Object3D, PointLight } from 'three'; -export declare class PointLightHelper extends Object3D { - light: PointLight; - color: Color | string | number; - material: LineBasicMaterial; - cone: LineSegments[]; - mesh: Mesh[]; - constructor(distance: number, color?: Color | string | number); - dispose(): void; - update(): void; -} -//# sourceMappingURL=PointLightHelper.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/PointLightHelper.d.ts.map b/types/DatabaseServices/Lights/PointLightHelper.d.ts.map deleted file mode 100644 index d4932db..0000000 --- a/types/DatabaseServices/Lights/PointLightHelper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PointLightHelper.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/PointLightHelper.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,KAAK,EAAkD,iBAAiB,EAAE,YAAY,EAAsB,IAAI,EAAqB,QAAQ,EAAE,UAAU,EAAiC,MAAM,OAAO,CAAC;AAEjO,qBAAa,gBAAiB,SAAQ,QAAQ;IAE1C,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;IAC/B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,IAAI,EAAE,IAAI,EAAE,CAAC;gBACD,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM;IAuD7D,OAAO;IAyBP,MAAM;CAKT"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/RectAreaLight.d.ts b/types/DatabaseServices/Lights/RectAreaLight.d.ts deleted file mode 100644 index 254910c..0000000 --- a/types/DatabaseServices/Lights/RectAreaLight.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Box3, Object3D, Vector3 } from "three"; -import { Box3Ext } from "../../Geometry/Box"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { ObjectId } from "../ObjectId"; -import { Light } from "./Light"; -export declare class RectAreaLight extends Light { - protected _Intensity: number; - private _Width; - private _Height; - AttenuationRadius: number; - private _BarnDoorAngle; - private _BarnDoorLength; - SourceTexture: ObjectId; - get Target(): Vector3; - set Target(p: Vector3); - get Height(): number; - set Height(v: number); - get Width(): number; - set Width(v: number); - get BarnDoorAngle(): number; - set BarnDoorAngle(v: number); - get BarnDoorLength(): number; - set BarnDoorLength(v: number); - get WebIntensity(): number; - get BoundingBoxInOCS(): Box3Ext; - get BoundingBox(): Box3; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(ids: number[], vec: Vector3): void; - protected InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, obj: Object3D): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=RectAreaLight.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/RectAreaLight.d.ts.map b/types/DatabaseServices/Lights/RectAreaLight.d.ts.map deleted file mode 100644 index 2864865..0000000 --- a/types/DatabaseServices/Lights/RectAreaLight.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RectAreaLight.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/RectAreaLight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAS,QAAQ,EAAmC,OAAO,EAAE,MAAM,OAAO,CAAC;AAExF,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAI7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAKhC,qBACa,aAAc,SAAQ,KAAK;IAEpC,SAAS,CAAC,UAAU,SAAO;IAE3B,OAAO,CAAC,MAAM,CAAa;IAC3B,OAAO,CAAC,OAAO,CAAa;IAIhB,iBAAiB,SAAO;IAGpC,OAAO,CAAC,cAAc,CAAa;IACnC,OAAO,CAAC,eAAe,CAAa;IACxB,aAAa,EAAE,QAAQ,CAAC;IAEpC,IAAI,MAAM,IAKI,OAAO,CAFpB;IAED,IAAI,MAAM,CAAC,CAAC,EAAE,OAAO,EAKpB;IAED,IAAI,MAAM,IAEI,MAAM,CAFiB;IAErC,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,EAMnB;IAED,IAAI,KAAK,IAEI,MAAM,CAFgB;IAEnC,IAAI,KAAK,CAAC,CAAC,EAAE,MAAM,EAMlB;IAED,IAAI,aAAa,IAEI,MAAM,CAFwB;IAEnD,IAAI,aAAa,CAAC,CAAC,EAAE,MAAM,EAM1B;IAED,IAAI,cAAc,IAEI,MAAM,CAFyB;IAErD,IAAI,cAAc,CAAC,CAAC,EAAE,MAAM,EAM3B;IAED,IAAI,YAAY,WAKf;IAED,IAAI,gBAAgB,YAGnB;IAED,IAAI,WAAW,SAGd;IAED,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAiB/B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAqDhD,gBAAgB;IAgBhB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IA8E7C,SAAS,CAAC,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IASjF,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IA6BhD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAkBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAc3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/RectAreaLightHelper.d.ts b/types/DatabaseServices/Lights/RectAreaLightHelper.d.ts deleted file mode 100644 index 4461715..0000000 --- a/types/DatabaseServices/Lights/RectAreaLightHelper.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Color, Line, LineBasicMaterial, Mesh, RectAreaLight as TRectAreaLight } from "three"; -/** - * This helper must be added as a child of the light (移植threejs最新的版本) - */ -export declare class RectAreaLightHelper extends Line { - light: TRectAreaLight; - color: Color; - material: LineBasicMaterial; - children: [Mesh]; - BarnDoorLength: number; - BarnDoorAngle: number; - private _posAtt; - private _indexAtt; - constructor(light: TRectAreaLight, color: Color); - copy(source: this, recursive?: boolean): this; - updateMatrixWorld(): void; - updataRange(): void; - dispose(): void; -} -//# sourceMappingURL=RectAreaLightHelper.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/RectAreaLightHelper.d.ts.map b/types/DatabaseServices/Lights/RectAreaLightHelper.d.ts.map deleted file mode 100644 index a7712e0..0000000 --- a/types/DatabaseServices/Lights/RectAreaLightHelper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RectAreaLightHelper.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/RectAreaLightHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,EAA0B,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAqB,aAAa,IAAI,cAAc,EAAE,MAAM,OAAO,CAAC;AAEnK;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,IAAI;IAEzC,KAAK,EAAE,cAAc,CAAC;IACtB,KAAK,EAAE,KAAK,CAAC;IACL,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,CAAC,OAAO,CAAyB;IACxC,OAAO,CAAC,SAAS,CAAyB;gBAE9B,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK;IAsD/C,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI;IAO7C,iBAAiB;IA6BjB,WAAW;IAsCX,OAAO;CAQV"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/SpotLight.d.ts b/types/DatabaseServices/Lights/SpotLight.d.ts deleted file mode 100644 index 95c94d4..0000000 --- a/types/DatabaseServices/Lights/SpotLight.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Object3D, Vector3 } from "three"; -import { ObjectSnapMode } from "../../Editor/ObjectSnapMode"; -import { RenderType } from "../../GraphicsSystem/RenderType"; -import { CADFiler } from "../CADFiler"; -import { Light } from "./Light"; -export declare class SpotLight extends Light { - /** - * If non-zero, light will attenuate linearly from maximum intensity at light position down to zero at distance. - * Default — 0.0. - */ - private _Distance; - protected _Intensity: number; - private _Decay; - private _Angle; - private _Penumbra; - InnerConeAngle: number; - OuterConeAngle: number; - SourceRadius: number; - SoftSourceRadius: number; - SourceLength: number; - AttenuationRadius: number; - get Target(): Vector3; - set Target(p: Vector3); - get Angle(): number; - set Angle(rad: number); - get Decay(): number; - set Decay(decay: number); - get Distance(): number; - set Distance(dist: number); - get Penumbra(): number; - set Penumbra(v: number); - get EndPoint(): Vector3; - get WebIntensity(): number; - GetGripPoints(): Vector3[]; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3): Vector3[]; - protected InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, en: Object3D): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=SpotLight.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/SpotLight.d.ts.map b/types/DatabaseServices/Lights/SpotLight.d.ts.map deleted file mode 100644 index 954ecb5..0000000 --- a/types/DatabaseServices/Lights/SpotLight.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SpotLight.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/SpotLight.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2D,QAAQ,EAA2B,OAAO,EAAE,MAAM,OAAO,CAAC;AAG5H,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAI7D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,qBACa,SAAU,SAAQ,KAAK;IAEhC;;;OAGG;IACH,OAAO,CAAC,SAAS,CAAgB;IACjC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAO;IAKnC,OAAO,CAAC,MAAM,CAAe;IAE7B,OAAO,CAAC,MAAM,CAAuB;IAGrC,OAAO,CAAC,SAAS,CAAa;IAGlB,cAAc,EAAE,MAAM,CAAM;IAC5B,cAAc,EAAE,MAAM,CAAM;IAG5B,YAAY,SAAM;IAClB,gBAAgB,SAAK;IACrB,YAAY,SAAK;IAIjB,iBAAiB,SAAO;IAEpC,IAAI,MAAM,IAII,OAAO,CADpB;IACD,IAAI,MAAM,CAAC,CAAC,EAAE,OAAO,EAQpB;IAED,IAAI,KAAK,IAIM,MAAM,CADpB;IACD,IAAI,KAAK,CAAC,GAAG,EAAE,MAAM,EAKpB;IACD,IAAI,KAAK,IAAI,MAAM,CAGlB;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAKtB;IACD,IAAI,QAAQ,IAIO,MAAM,CADxB;IACD,IAAI,QAAQ,CAAC,IAAI,EAAE,MAAM,EAKxB;IACD,IAAI,QAAQ,IAII,MAAM,CADrB;IACD,IAAI,QAAQ,CAAC,CAAC,EAAE,MAAM,EAKrB;IAED,IAAI,QAAQ,YAGX;IAED,IAAI,YAAY,WAKf;IAED,aAAa,IAAI,OAAO,EAAE;IA0B1B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IAkChD,gBAAgB,IAAI,OAAO,EAAE;IAK7B,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAgBxD,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,GACnB,OAAO,EAAE;IAYZ,SAAS,CAAC,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IAiCjF,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ;IA8B/C,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAwBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAkB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/SpotLightHelper.d.ts b/types/DatabaseServices/Lights/SpotLightHelper.d.ts deleted file mode 100644 index 7cdb097..0000000 --- a/types/DatabaseServices/Lights/SpotLightHelper.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { BufferGeometry, LineBasicMaterial, LineSegments, Object3D } from 'three'; -import { SpotLight } from './SpotLight'; -export declare class SpotLightHelper extends Object3D { - private light; - cone: LineSegments[]; - constructor(light: SpotLight); - dispose(): void; - update(): void; -} -//# sourceMappingURL=SpotLightHelper.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/SpotLightHelper.d.ts.map b/types/DatabaseServices/Lights/SpotLightHelper.d.ts.map deleted file mode 100644 index 87c6f6f..0000000 --- a/types/DatabaseServices/Lights/SpotLightHelper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SpotLightHelper.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/SpotLightHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA0B,iBAAiB,EAAE,YAAY,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,eAAgB,SAAQ,QAAQ;IAG7B,OAAO,CAAC,KAAK;IADzB,IAAI,EAAE,YAAY,CAAC,cAAc,EAAE,iBAAiB,CAAC,EAAE,CAAM;gBACzC,KAAK,EAAE,SAAS;IAkCpC,OAAO;IAQP,MAAM;CAcT"} \ No newline at end of file diff --git a/types/DatabaseServices/Lights/SunLightHelper.d.ts b/types/DatabaseServices/Lights/SunLightHelper.d.ts deleted file mode 100644 index 3c5d846..0000000 --- a/types/DatabaseServices/Lights/SunLightHelper.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Color, DirectionalLight, DirectionalLightHelper, Mesh } from "three"; -export declare class SunLightHelper extends DirectionalLightHelper { - children: [Mesh]; - color: Color | string | number; - constructor(light: DirectionalLight, size: number, color?: Color); -} -//# sourceMappingURL=SunLightHelper.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Lights/SunLightHelper.d.ts.map b/types/DatabaseServices/Lights/SunLightHelper.d.ts.map deleted file mode 100644 index 1cdd21a..0000000 --- a/types/DatabaseServices/Lights/SunLightHelper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SunLightHelper.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Lights/SunLightHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAqB,IAAI,EAAwB,MAAM,OAAO,CAAC;AAEvH,qBAAa,cAAe,SAAQ,sBAAsB;IAE9C,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;gBAE3B,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK;CAUnE"} \ No newline at end of file diff --git a/types/DatabaseServices/MaterialTableRecord.d.ts b/types/DatabaseServices/MaterialTableRecord.d.ts deleted file mode 100644 index 8334520..0000000 --- a/types/DatabaseServices/MaterialTableRecord.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { SymbolTableRecord } from "./SymbolTableRecord"; -export declare class MaterialTableRecord extends SymbolTableRecord { -} -//# sourceMappingURL=MaterialTableRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/MaterialTableRecord.d.ts.map b/types/DatabaseServices/MaterialTableRecord.d.ts.map deleted file mode 100644 index c2fda17..0000000 --- a/types/DatabaseServices/MaterialTableRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"MaterialTableRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/MaterialTableRecord.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBACa,mBAAoB,SAAQ,iBAAiB;CAEzD"} \ No newline at end of file diff --git a/types/DatabaseServices/ObjectAllDataHistoryRecord.d.ts b/types/DatabaseServices/ObjectAllDataHistoryRecord.d.ts deleted file mode 100644 index 345c747..0000000 --- a/types/DatabaseServices/ObjectAllDataHistoryRecord.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { HistorycRecord } from './HistorycRecord'; -import { ObjectId } from './ObjectId'; -export declare class ObjectAllDataHistoryRecord extends HistorycRecord { - RecordEntityId?: ObjectId; - constructor(RecordEntityId?: ObjectId); - WriteRedo(): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=ObjectAllDataHistoryRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/ObjectAllDataHistoryRecord.d.ts.map b/types/DatabaseServices/ObjectAllDataHistoryRecord.d.ts.map deleted file mode 100644 index 0118bff..0000000 --- a/types/DatabaseServices/ObjectAllDataHistoryRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ObjectAllDataHistoryRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/ObjectAllDataHistoryRecord.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBACa,0BAA2B,SAAQ,cAAc;IAEvC,cAAc,CAAC,EAAE,QAAQ;gBAAzB,cAAc,CAAC,EAAE,QAAQ;IAO5C,SAAS;IAOT,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAOvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAO3B"} \ No newline at end of file diff --git a/types/DatabaseServices/ObjectCollection.d.ts b/types/DatabaseServices/ObjectCollection.d.ts deleted file mode 100644 index 16a5015..0000000 --- a/types/DatabaseServices/ObjectCollection.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { CADObject } from './CADObject'; -import { ObjectId } from './ObjectId'; -export declare class ObjectCollection extends CADObject { - Objects: T[]; - SpecialOwner: ObjectId; - Destroy(): void; - /** - * @param object - * @param isCheckObjectCleanly 检查对象是否清白,如果对象不清白,那么将会被拒绝加入到集合. - */ - Append(object: T, isCheckObjectCleanly?: boolean): ObjectId; - AppendEvent(obj: T): void; - Remove(obj: T): void; - RemoveIndex(index: number): T; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -//# sourceMappingURL=ObjectCollection.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/ObjectCollection.d.ts.map b/types/DatabaseServices/ObjectCollection.d.ts.map deleted file mode 100644 index 0ab3cf6..0000000 --- a/types/DatabaseServices/ObjectCollection.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ObjectCollection.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/ObjectCollection.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,qBACa,gBAAgB,CAAC,CAAC,SAAS,SAAS,CAAE,SAAQ,SAAS;IAEhE,OAAO,EAAE,CAAC,EAAE,CAAM;IAElB,YAAY,EAAE,QAAQ,CAAC;IAEvB,OAAO;IAMP;;;OAGG;IACH,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,oBAAoB,UAAO;IA2B7C,WAAW,CAAC,GAAG,EAAE,CAAC;IAIlB,MAAM,CAAC,GAAG,EAAE,CAAC;IAMb,WAAW,CAAC,KAAK,EAAE,MAAM;IA0BzB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAmBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAQxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAgBvC"} \ No newline at end of file diff --git a/types/DatabaseServices/ObjectId.d.ts b/types/DatabaseServices/ObjectId.d.ts deleted file mode 100644 index 1711903..0000000 --- a/types/DatabaseServices/ObjectId.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { CADObject } from './CADObject'; -export declare enum RelevancyType { - General = 0, - Soft = 1, - Hard = 2 -} -export declare class ObjectId { - private _Index; - private _Object?; - _RelevancyType: RelevancyType; - constructor(_Index?: number, _Object?: T); - get IsErase(): boolean; - set Object(obj: T); - get Object(): T | undefined; - get Index(): number; - set Index(index: number); -} -//# sourceMappingURL=ObjectId.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/ObjectId.d.ts.map b/types/DatabaseServices/ObjectId.d.ts.map deleted file mode 100644 index 6d9341a..0000000 --- a/types/DatabaseServices/ObjectId.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ObjectId.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/ObjectId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,oBAAY,aAAa;IAErB,OAAO,IAAI;IACX,IAAI,IAAI;IACR,IAAI,IAAI;CACX;AASD,qBAAa,QAAQ,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IAGrC,OAAO,CAAC,MAAM;IAAM,OAAO,CAAC,OAAO,CAAC;IADhD,cAAc,gBAAyB;gBACnB,MAAM,SAAI,EAAU,OAAO,CAAC,EAAE,CAAC;IAEnD,IAAI,OAAO,IAAI,OAAO,CAGrB;IAED,IAAI,MAAM,CAAC,GAAG,EAAE,CAAC,EAGhB;IACD,IAAI,MAAM,IAAI,CAAC,GAAG,SAAS,CAG1B;IACD,IAAI,KAAK,IAAI,MAAM,CAGlB;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAGtB;CACJ"} \ No newline at end of file diff --git a/types/DatabaseServices/OwnerContainer.d.ts b/types/DatabaseServices/OwnerContainer.d.ts deleted file mode 100644 index 40cd27d..0000000 --- a/types/DatabaseServices/OwnerContainer.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface OwnerContainer { - Add(object: any, isCheckObjectCleanly?: boolean): void; -} -//# sourceMappingURL=OwnerContainer.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/OwnerContainer.d.ts.map b/types/DatabaseServices/OwnerContainer.d.ts.map deleted file mode 100644 index 43698ff..0000000 --- a/types/DatabaseServices/OwnerContainer.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OwnerContainer.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/OwnerContainer.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,cAAc;IAE3B,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,oBAAoB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC1D"} \ No newline at end of file diff --git a/types/DatabaseServices/PhysicalMaterialRecord.d.ts b/types/DatabaseServices/PhysicalMaterialRecord.d.ts deleted file mode 100644 index 62c4de3..0000000 --- a/types/DatabaseServices/PhysicalMaterialRecord.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { Color, MeshPhysicalMaterial, Side } from "three"; -import { CADFiler } from "./CADFiler"; -import { MaterialType } from "./IMaterialDefaultParam"; -import { MaterialTableRecord } from "./MaterialTableRecord"; -import { ObjectId } from "./ObjectId"; -export interface IGoodProps { - name: string; - material: string; - color: string; -} -export declare enum UVType { - LocalUV = 0, - WorldUV = 1 -} -export declare class PhysicalMaterialRecord extends MaterialTableRecord { - type: MaterialType; - ref: string; - color: string; - baseColorLuminance: number; - baseColorLightColor: Color; - baseColorDarkColor: Color; - baseColorSaturability: number; - transparent: boolean; - opacity: number; - opacityContrast: number; - opacityBorder: number; - opacityMaximum: number; - opacityMinimum: number; - refraction: number; - matalness: number; - bumpScale: number; - roughness: number; - specular: number; - selfLuminous: number; - useMap: boolean; - map: ObjectId; - useBumpMap: boolean; - bumpMap: ObjectId; - useRoughnessMap: boolean; - roughnessMap: ObjectId; - IsFull: boolean; - side: Side; - UVType: UVType; - fresnelPO: number; - fresnelST: number; - fresnelLuminance: number; - fresnelLightColor: Color; - fresnelDarkColor: Color; - sharpen: number; - get UseWorldUV(): boolean; - set UseWorldUV(b: boolean); - UWroldRep: number; - VWroldRep: number; - UWroldRo: number; - UWorldMove: number; - VWorldMove: number; - depthTest: boolean; - private _goodsInfo; - private _isMaterialLock; - private material; - constructor(); - Update(): Promise; - PhysicalMaterialUpdate(): Promise; - get Material(): MeshPhysicalMaterial; - get GoodsInfo(): IGoodProps; - set GoodsInfo(info: IGoodProps); - get IsMaterialLock(): boolean; - set IsMaterialLock(v: boolean); - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=PhysicalMaterialRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/PhysicalMaterialRecord.d.ts.map b/types/DatabaseServices/PhysicalMaterialRecord.d.ts.map deleted file mode 100644 index 7cdd8ca..0000000 --- a/types/DatabaseServices/PhysicalMaterialRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PhysicalMaterialRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/PhysicalMaterialRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAa,oBAAoB,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAKrE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,MAAM,WAAW,UAAU;IAEvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,MAAM;IAEd,OAAO,IAAI;IACX,OAAO,IAAI;CACd;AAKD,qBACa,sBAAuB,SAAQ,mBAAmB;IAE/C,IAAI,EAAE,YAAY,CAAQ;IAC1B,GAAG,EAAE,MAAM,CAAM;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,SAAS,CAAC,IAAI,EAAE,UAAU,EAU7B;IACD,IAAI,cAAc,YAGjB;IACD,IAAI,cAAc,CAAC,CAAC,SAAA,EAMnB;IAED,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAgGvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgF3B"} \ No newline at end of file diff --git a/types/DatabaseServices/PointInPolyline.d.ts b/types/DatabaseServices/PointInPolyline.d.ts deleted file mode 100644 index 5a7f02c..0000000 --- a/types/DatabaseServices/PointInPolyline.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Vec2, Vector3 } from 'three'; -import { Arc } from './Entity/Arc'; -import { Polyline } from './Entity/Polyline'; -/** - * 点在弓型内部 - * - * @param arc 二维圆弧 - * @param pt 点 - * @param isInChrodIsTrue 当点在弦上也认为在弓形内部 - * @returns 点在内部 - */ -export declare function IsPointInBowArc(arc: Arc, pt: Vector3, isInChrodIsTrue?: boolean): boolean; -/** - * 判断点在多段线内外(如果点在线上 则返回false) - * @param pl 多段线 - * @param pt 点 - * @returns 点在多段线内部 - */ -export declare function IsPointInPolyLine(pl: Polyline, pt: Vector3): boolean; -/** - * 点在区域内部 - * - * @param pt - * @param pts - * @returns - */ -export declare function IsPointInPolygon(pt: Vec2, pts: Vec2[]): boolean; -//# sourceMappingURL=PointInPolyline.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/PointInPolyline.d.ts.map b/types/DatabaseServices/PointInPolyline.d.ts.map deleted file mode 100644 index 44ec97e..0000000 --- a/types/DatabaseServices/PointInPolyline.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PointInPolyline.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/PointInPolyline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAEnC,OAAO,EAAoB,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAoB/D;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,eAAe,UAAQ,GAAG,OAAO,CAqBvF;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,GAAG,OAAO,CAkHpE;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,WA0CrD"} \ No newline at end of file diff --git a/types/DatabaseServices/ProcessingGroup/ProcessingGroupRecord.d.ts b/types/DatabaseServices/ProcessingGroup/ProcessingGroupRecord.d.ts deleted file mode 100644 index b1cd7b3..0000000 --- a/types/DatabaseServices/ProcessingGroup/ProcessingGroupRecord.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { CADFiler } from "../CADFiler"; -import { ObjectId } from "../ObjectId"; -import { SymbolTableRecord } from "../SymbolTableRecord"; -/** - * 加工组信息设置. - * 为了保证加工组的信息得到正确的添加和删除. - * 请保证更新Entity的加工组数据,并更新ProcessingGroup的数据. - */ -export declare class ProcessingGroupRecord extends SymbolTableRecord { - Objects: ObjectId[]; - constructor(); - get Name(): string; - set Name(name: string); - Purge(): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=ProcessingGroupRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/ProcessingGroup/ProcessingGroupRecord.d.ts.map b/types/DatabaseServices/ProcessingGroup/ProcessingGroupRecord.d.ts.map deleted file mode 100644 index 0cf96ae..0000000 --- a/types/DatabaseServices/ProcessingGroup/ProcessingGroupRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ProcessingGroupRecord.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/ProcessingGroup/ProcessingGroupRecord.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;;;GAIG;AACH,qBACa,qBAAsB,SAAQ,iBAAiB;IAE5C,OAAO,EAAE,QAAQ,EAAE,CAAM;;IAMrC,IAAI,IAAI,IAIO,MAAM,CADpB;IACD,IAAI,IAAI,CAAC,IAAI,EAAE,MAAM,EAOpB;IAED,KAAK;IAQL,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAavB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAS3B"} \ No newline at end of file diff --git a/types/DatabaseServices/ProcessingGroup/ProcessingGroupTable.d.ts b/types/DatabaseServices/ProcessingGroup/ProcessingGroupTable.d.ts deleted file mode 100644 index 2e3b0a0..0000000 --- a/types/DatabaseServices/ProcessingGroup/ProcessingGroupTable.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Status } from "../../Common/Status"; -import { ObjectCollection } from "../ObjectCollection"; -import { ProcessingGroupRecord } from "./ProcessingGroupRecord"; -export declare class ProcessingGroupTable extends ObjectCollection { - Append(object: ProcessingGroupRecord, isCheckObjectCleanly?: boolean): import("../ObjectId").ObjectId; - Add(record: ProcessingGroupRecord, isCheckObjectCleanly?: boolean): Status; - Remove(record: ProcessingGroupRecord): void; -} -//# sourceMappingURL=ProcessingGroupTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/ProcessingGroup/ProcessingGroupTable.d.ts.map b/types/DatabaseServices/ProcessingGroup/ProcessingGroupTable.d.ts.map deleted file mode 100644 index 9cddaf0..0000000 --- a/types/DatabaseServices/ProcessingGroup/ProcessingGroupTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ProcessingGroupTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/ProcessingGroup/ProcessingGroupTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,qBACa,oBAAqB,SAAQ,gBAAgB,CAAC,qBAAqB,CAAC;IAE7E,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,oBAAoB,UAAO;IAUjE,GAAG,CAAC,MAAM,EAAE,qBAAqB,EAAE,oBAAoB,UAAO,GAAG,MAAM;IASvE,MAAM,CAAC,MAAM,EAAE,qBAAqB;CAIvC"} \ No newline at end of file diff --git a/types/DatabaseServices/RemoveObjectData.d.ts b/types/DatabaseServices/RemoveObjectData.d.ts deleted file mode 100644 index d2f12dd..0000000 --- a/types/DatabaseServices/RemoveObjectData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { CADFiler } from './CADFiler'; -import { CADObject } from './CADObject'; -export declare class RemoveObjectData extends CADObject { - private index; - RemoveObject: CADObject; - constructor(index?: T); - get Index(): T; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(file: CADObject): void; -} -//# sourceMappingURL=RemoveObjectData.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/RemoveObjectData.d.ts.map b/types/DatabaseServices/RemoveObjectData.d.ts.map deleted file mode 100644 index 6637dfd..0000000 --- a/types/DatabaseServices/RemoveObjectData.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RemoveObjectData.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/RemoveObjectData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBACa,gBAAgB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,SAAS;IAEvD,OAAO,CAAC,KAAK,CAAI;IAEjB,YAAY,EAAE,SAAS,CAAC;gBACZ,KAAK,CAAC,EAAE,CAAC;IAKrB,IAAI,KAAK,MAGR;IAMD,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAMvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAMxB,gBAAgB,CAAC,IAAI,EAAE,SAAS;CAGnC"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Ceiling/BulkheadCeiling.d.ts b/types/DatabaseServices/Room/Entity/Ceiling/BulkheadCeiling.d.ts deleted file mode 100644 index 27bb86f..0000000 --- a/types/DatabaseServices/Room/Entity/Ceiling/BulkheadCeiling.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { BufferGeometry, Intersection, Material, Object3D, Vector3 } from "three"; -import { LineGeometry } from "three/examples/jsm/lines/LineGeometry"; -import { SweepGeometry } from "../../../../Geometry/SweepGeometry"; -import { RenderType } from "../../../../GraphicsSystem/RenderType"; -import { CADFiler } from "../../../CADFiler"; -import { Curve } from "../../../Entity/Curve"; -import { Polyline } from "../../../Entity/Polyline"; -import { ObjectId } from "../../../ObjectId"; -import { PhysicalMaterialRecord } from "../../../PhysicalMaterialRecord"; -import { TemplateRecord } from "../../../Template/TemplateRecord"; -import { RoomFlatBase } from "../Flat/RoomFlatBase"; -import { RoomBase } from "../RoomBase"; -export declare enum BulkheadCeiling_ContourType { - Hole = 0, - Land = 1, - Sweep = 2 -} -export interface BulkheadCeiling_ContourData { - ContourType: BulkheadCeiling_ContourType; - Path: Curve; - SweepShapeTempalteId: ObjectId; - Materials: ObjectId[]; - Contour: Polyline; - ContourId: number; - ShapeMaterialSlotData: number[]; - OverWriteMaterial?: Map>; - Deviation: number; - Height: number; -} -/** - * 吊顶(灯带) - */ -export declare class BulkheadCeiling extends RoomBase { - constructor(); - private _ContourData; - _GemoIdMap: Map; - get ContourData(): BulkheadCeiling_ContourData[]; - set ContourData(value: BulkheadCeiling_ContourData[]); - private _Height; - get Height(): number; - set Height(value: number); - RelativeRoomFlatTop: ObjectId; - get MeshMaterial(): Material; - private _EdgeGeometrys; - get EdgeGeometrys(): BufferGeometry[]; - private _LineGeometry; - get LineGeometry(): LineGeometry[]; - private _FaceGeometry; - get FaceGeometry(): BufferGeometry; - private _MeshGeometry; - get MeshGeometry(): SweepGeometry[]; - get MeshGeometry2(): BufferGeometry; - get Materials2(): Material[]; - GetLineGeometry(pts: number[]): void; - InitDrawObject(renderType?: RenderType): Object3D; - /** - * 重载:更新绘制的实体 - * @param {RenderType} renderType - * @param {Object3D} obj - */ - UpdateDrawObject(renderType: RenderType, obj: Object3D): Object3D; - SetMaterial(mtl: ObjectId, intersection: Intersection): void; - GetMaterials(index: number): Material[]; - SetDefaultMaterialAtAllSlot(): void; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D, material?: Material): void; - UpdateDrawGeometry(): void; - ClearDraw(): this; - GetGripPoints(): Array; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - MoveGripPoints(indexList: number[], moveVec: Vector3): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=BulkheadCeiling.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Ceiling/BulkheadCeiling.d.ts.map b/types/DatabaseServices/Room/Entity/Ceiling/BulkheadCeiling.d.ts.map deleted file mode 100644 index 4d9afdb..0000000 --- a/types/DatabaseServices/Room/Entity/Ceiling/BulkheadCeiling.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BulkheadCeiling.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices/Room/Entity/Ceiling/BulkheadCeiling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,cAAc,EAAkF,YAAY,EAAgB,QAAQ,EAAQ,QAAQ,EAAgC,OAAO,EAAE,MAAM,OAAO,CAAC;AAErO,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAQrE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EA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EAAE,QAAQ;CA+CpC"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Flat/RoomFlatBase.d.ts b/types/DatabaseServices/Room/Entity/Flat/RoomFlatBase.d.ts deleted file mode 100644 index c7e9730..0000000 --- a/types/DatabaseServices/Room/Entity/Flat/RoomFlatBase.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { Box3, BufferGeometry, Geometry, Object3D, Vector2, Vector3 } from "three"; -import { Box3Ext } from "../../../../Geometry/Box"; -import { RenderType } from "../../../../GraphicsSystem/RenderType"; -import { CADFiler } from "../../../CADFiler"; -import { Polyline } from "../../../Entity/Polyline"; -import { ObjectId } from "../../../ObjectId"; -import { RoomBase } from "../RoomBase"; -export declare function UpdateTempPolyline(_ContourData: { - pts: Vector2[]; - buls: number[]; -}): Polyline; -/** - * 平面实体基类 - * 子类:地板 天花 - */ -export declare class RoomFlatBase extends RoomBase { - protected _RegionId: ObjectId; - protected _ContourData: { - pts: Vector2[]; - buls: number[]; - }; - protected _HoleDatas: { - pts: Vector2[]; - buls: number[]; - }[]; - constructor(_Contour?: Polyline, //为了防止contour被删除(所以我们直接备份这个) - _Holes?: Polyline[]); - get ContourData(): { - pts: Vector2[]; - buls: number[]; - }; - set ContourData(value: { - pts: Vector2[]; - buls: number[]; - }); - get HoleDatas(): { - pts: Vector2[]; - buls: number[]; - }[]; - set HoleDatas(value: { - pts: Vector2[]; - buls: number[]; - }[]); - get Area(): number; - get BoundingBoxInOCS(): Box3Ext; - get BoundingBox(): Box3; - UpdateContourHoles(_Contour: Polyline, _Holes: Polyline[]): void; - set Contour(_Contour: Polyline); - get Contour(): Polyline; - set Holes(_Holes: Polyline[]); - get RegionId(): ObjectId; - set RegionId(value: ObjectId); - GetGripPoints(): Vector3[]; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(indexList: number[], vec: Vector3): void; - UpdateDrawGeometry(): void; - protected _EdgeGeometry: BufferGeometry; - protected get EdgeGeometry(): BufferGeometry; - protected _MeshGeometry: Geometry; - protected get MeshGeometry(): Geometry; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - ClearDraw(): this; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=RoomFlatBase.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Flat/RoomFlatBase.d.ts.map b/types/DatabaseServices/Room/Entity/Flat/RoomFlatBase.d.ts.map deleted file mode 100644 index a25c673..0000000 --- a/types/DatabaseServices/Room/Entity/Flat/RoomFlatBase.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomFlatBase.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices/Room/Entity/Flat/RoomFlatBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAsB,QAAQ,EAAgC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErI,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAInD,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,wBAAgB,kBAAkB,CAAC,YAAY,EAAE;IAAE,GAAG,EAAE,OAAO,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAC;CAAE,YAMnF;AAED;;;GAGG;AACH,qBACa,YAAa,SAAQ,QAAQ;IAEtC,SAAS,CAAC,SAAS,EAAE,QAAQ,CAAC;IAC9B,SAAS,CAAC,YAA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MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,GAAG,IAAI;IAIvD,gBAAgB,IAAI,OAAO,EAAE;IAM7B,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,GAAG,IAAI;IAM1D,kBAAkB;IAU3B,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC;IACxC,SAAS,KAAK,YAAY,mBAQzB;IAED,SAAS,CAAC,aAAa,EAAE,QAAQ,CAAC;IAClC,SAAS,KAAK,YAAY,IAAI,QAAQ,CAWrC;IAED,wBAAwB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAwBrD,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IAwDvE,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAqC/D,SAAS;IAST,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAgClC,SAAS,CAAC,IAAI,EAAE,QAAQ;CA2B3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Flat/RoomFlatFloor.d.ts b/types/DatabaseServices/Room/Entity/Flat/RoomFlatFloor.d.ts deleted file mode 100644 index 53b1ad1..0000000 --- a/types/DatabaseServices/Room/Entity/Flat/RoomFlatFloor.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { MeshStandardMaterial } from "three"; -import { CADFiler } from "../../../CADFiler"; -import { RoomFlatBase } from "./RoomFlatBase"; -/** - * 地板 - */ -export declare class RoomFlatFloor extends RoomFlatBase { - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - protected get MeshMaterial(): MeshStandardMaterial | import("three").MeshBasicMaterial; -} -//# sourceMappingURL=RoomFlatFloor.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Flat/RoomFlatFloor.d.ts.map b/types/DatabaseServices/Room/Entity/Flat/RoomFlatFloor.d.ts.map deleted file mode 100644 index fd3c25e..0000000 --- a/types/DatabaseServices/Room/Entity/Flat/RoomFlatFloor.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomFlatFloor.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices/Room/Entity/Flat/RoomFlatFloor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAG7C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C;;GAEG;AACH,qBACa,aAAc,SAAQ,YAAY;cAMxB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAMlC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAMjC,SAAS,KAAK,YAAY,6DAMzB;CACJ"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Flat/RoomFlatTop.d.ts b/types/DatabaseServices/Room/Entity/Flat/RoomFlatTop.d.ts deleted file mode 100644 index 387ce55..0000000 --- a/types/DatabaseServices/Room/Entity/Flat/RoomFlatTop.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Geometry, MeshStandardMaterial } from "three"; -import { RoomFlatBase } from "./RoomFlatBase"; -/** - * 天花板 - */ -export declare class RoomFlatTop extends RoomFlatBase { - protected get MeshGeometry(): Geometry; - protected get CaseShadow(): boolean; - protected get ReceiveShadow(): boolean; - protected get MeshMaterial(): MeshStandardMaterial | import("three").MeshBasicMaterial; -} -//# sourceMappingURL=RoomFlatTop.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Flat/RoomFlatTop.d.ts.map b/types/DatabaseServices/Room/Entity/Flat/RoomFlatTop.d.ts.map deleted file mode 100644 index 364759f..0000000 --- a/types/DatabaseServices/Room/Entity/Flat/RoomFlatTop.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomFlatTop.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices/Room/Entity/Flat/RoomFlatTop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,QAAQ,EAAE,oBAAoB,EAAuB,MAAM,OAAO,CAAC;AAKnF,OAAO,EAAE,YAAY,EAAsB,MAAM,gBAAgB,CAAC;AAGlE;;GAEG;AACH,qBACa,WAAY,SAAQ,YAAY;IAEzC,cAAuB,YAAY,IAAI,QAAQ,CAuC9C;IAED,cAAuB,UAAU,YAGhC;IACD,cAAuB,aAAa,YAGnC;IAED,SAAS,KAAK,YAAY,6DAMzB;CACJ"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Region/RoomRegion.d.ts b/types/DatabaseServices/Room/Entity/Region/RoomRegion.d.ts deleted file mode 100644 index 4a152a1..0000000 --- a/types/DatabaseServices/Room/Entity/Region/RoomRegion.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Object3D, Vector3 } from "three"; -import { RenderType } from "../../../../GraphicsSystem/RenderType"; -import { CADFiler } from "../../../CADFiler"; -import { ObjectId } from "../../../ObjectId"; -import { Text } from "../../../Text/Text"; -import { RoomBase } from "../RoomBase"; -export declare const ROOM_REGION_CURVES_KEY = "__ROOM_REGION_CURVES_KEY__"; -/** - * 户型区域:厨房,客厅,主卧,卫生间 - * 绑定了天花板和地板对象 - */ -export declare class RoomRegion extends RoomBase { - private _Name; - private _Top; - private _Floor; - private _Area; - _Text: Text; - constructor(_Name: string, //名称 - _Top: ObjectId, //天花板 - _Floor: ObjectId, //地板 - _Area?: number); - get Area(): number; - set Area(value: number); - get TextString(): string; - set TextString(name: string); - get Top(): ObjectId; - set Top(value: ObjectId); - get Floor(): ObjectId; - set Floor(value: ObjectId); - private get Text(); - GetGripPoints(): Vector3[]; - InitDrawObject(renderType?: RenderType): Object3D; - /** - * 重载:更新绘制的实体 - * @param {RenderType} type - * @param {Object3D} obj - */ - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=RoomRegion.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Region/RoomRegion.d.ts.map b/types/DatabaseServices/Room/Entity/Region/RoomRegion.d.ts.map deleted file mode 100644 index 84ea9a3..0000000 --- a/types/DatabaseServices/Room/Entity/Region/RoomRegion.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomRegion.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices/Room/Entity/Region/RoomRegion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,QAAQ,EAAW,OAAO,EAAE,MAAM,OAAO,CAAC;AAMzE,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAc,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,sBAAsB,+BAA+B,CAAC;AAEnE;;;GAGG;AACH,qBACa,UAAW,SAAQ,QAAQ;IAIhC,OAAO,CAAC,KAAK;IAEb,OAAO,CAAC,IAAI;IAEZ,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,KAAK;IAPjB,KAAK,EAAE,IAAI,CAAC;gBAEA,KAAK,EAAE,MAAW,EAAC,IAAI;IAEvB,IAAI,EAAE,QAAQ,EAAC,KAAK;IAEpB,MAAM,EAAE,QAAQ,EAAC,IAAI;IACrB,KAAK,SAAI;IAMrB,IAAW,IAAI,WAGd;IAED,IAAW,IAAI,CAAC,KAAK,QAAA,EAOpB;IAED,IAAI,UAAU,IACO,MAAM,CADY;IACvC,IAAI,UAAU,CAAC,IAAI,EAAE,MAAM,EAK1B;IAED,IAAW,GAAG,IAAI,QAAQ,CAGzB;IAED,IAAW,GAAG,CAAC,KAAK,EAAE,QAAQ,EAI7B;IAED,IAAW,KAAK,IAAI,QAAQ,CAG3B;IACD,IAAW,KAAK,CAAC,KAAK,EAAE,QAAQ,EAI/B;IAED,OAAO,KAAK,IAAI,GAUf;IAED,aAAa,IAAI,OAAO,EAAE;IAc1B,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IAOvE;;;;OAIG;IACH,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IA6BtD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAalC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAU3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/RoomBase.d.ts b/types/DatabaseServices/Room/Entity/RoomBase.d.ts deleted file mode 100644 index dd6a9bc..0000000 --- a/types/DatabaseServices/Room/Entity/RoomBase.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Entity } from "../../Entity/Entity"; -/** - * 户型元件的基类 - * 墙 平面(地板 天花) - */ -export declare abstract class RoomBase extends Entity { - get IsVisible(): boolean; -} -//# sourceMappingURL=RoomBase.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/RoomBase.d.ts.map b/types/DatabaseServices/Room/Entity/RoomBase.d.ts.map deleted file mode 100644 index 9b253f5..0000000 --- a/types/DatabaseServices/Room/Entity/RoomBase.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomBase.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Room/Entity/RoomBase.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAG7C;;;GAGG;AACH,8BACsB,QAAS,SAAQ,MAAM;IAEzC,IAAa,SAAS,YAGrB;CACJ"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleBase.d.ts b/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleBase.d.ts deleted file mode 100644 index 5a50a71..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleBase.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { CADFiler } from "../../../../CADFiler"; -import { CADObject } from "../../../../CADObject"; -import { ObjectId } from "../../../../ObjectId"; -import { RoomBase } from "../../RoomBase"; -import { RoomWallBase } from "../RoomWallBase"; -/** - * 墙上的洞 - * - * 这个类接管了墙上的洞的绘制,以便可以直接在视图上操作这个洞(选择到洞,并且拖动) 但是同时我们也需要拿到原始墙的信息,保持材质(或者白墙? 独立材质?) - */ -export declare class RoomHoleBase extends RoomBase { - RelevancyWalls: ObjectId[]; - protected _Height: number; - constructor(); - get Height(): number; - set Height(value: number); - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -//# sourceMappingURL=RoomHoleBase.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleBase.d.ts.map b/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleBase.d.ts.map deleted file mode 100644 index 009e3f3..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleBase.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomHoleBase.d.ts","sourceRoot":"","sources":["../../../../../../../src/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleBase.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C;;;;GAIG;AACH,qBACa,YAAa,SAAQ,QAAQ;IAE1B,cAAc,EAAE,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAM;IAE1D,SAAS,CAAC,OAAO,SAAO;;IAIxB,IAAW,MAAM,WAGhB;IACD,IAAW,MAAM,CAAC,KAAK,QAAA,EAMtB;cAIkB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAuBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAcxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAKhD"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleLine.d.ts b/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleLine.d.ts deleted file mode 100644 index eca0ffa..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleLine.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Object3D, Vector3 } from "three"; -import { RenderType } from "../../../../../GraphicsSystem/RenderType"; -import { CADFiler } from "../../../../CADFiler"; -import { CADObject } from "../../../../CADObject"; -import { Line } from "../../../../Entity/Line"; -import { RoomBase } from "../../RoomBase"; -import { RoomHoleBase } from "./RoomHoleBase"; -/** - * 直线洞 2点(暂时不要用这个 全部使用RoomHolePolyline) - */ -export declare class RoomHoleLine extends RoomHoleBase { - private _StartPoint; - private _EndPoint; - constructor(_StartPoint?: Vector3, _EndPoint?: Vector3); - get StartPoint(): Vector3; - get EndPoint(): Vector3; - set StartPoint(p: Vector3); - set EndPoint(p: Vector3); - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, obj: Object3D): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -//@ts-ignore -export interface RoomHoleLine extends RoomBase, Line { -} -//# sourceMappingURL=RoomHoleLine.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleLine.d.ts.map b/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleLine.d.ts.map deleted file mode 100644 index 311fe29..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleLine.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomHoleLine.d.ts","sourceRoot":"","sources":["../../../../../../../src/DatabaseServices/Room/Entity/Wall/Hole/RoomHoleLine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9C;;GAEG;AACH,qBACa,YAAa,SAAQ,YAAY;IAG9B,OAAO,CAAC,WAAW;IAC3B,OAAO,CAAC,SAAS;gBADD,WAAW,UAAc,EACjC,SAAS,UAAc;IAMnC,IAAI,UAAU,IAAI,OAAO,CAGxB;IAED,IAAI,QAAQ,IAAI,OAAO,CAGtB;IAED,IAAI,UAAU,CAAC,CAAC,EAAE,OAAO,EASxB;IAED,IAAI,QAAQ,CAAC,CAAC,EAAE,OAAO,EAStB;IAGD,cAAc,CAAC,UAAU,GAAE,UAAiC;IAM5D,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAOhD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IASlC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAYxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAMvC;AAGD,MAAM,WAAW,YAAa,SAAQ,QAAQ,EAAE,IAAI;CAAI"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHolePolyline.d.ts b/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHolePolyline.d.ts deleted file mode 100644 index 64d07d5..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHolePolyline.d.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { Geometry, Material, Matrix3, Mesh, Object3D, Vector3 } from "three"; -import { Line2 } from "three/examples/jsm/lines/Line2"; -import { ObjectSnapMode } from "../../../../../Editor/ObjectSnapMode"; -import { Box3Ext } from "../../../../../Geometry/Box"; -import { RenderType } from "../../../../../GraphicsSystem/RenderType"; -import { CADFiler } from "../../../../CADFiler"; -import { CADObject } from "../../../../CADObject"; -import { Curve } from "../../../../Entity/Curve"; -import { Polyline } from "../../../../Entity/Polyline"; -import { ObjectId } from "../../../../ObjectId"; -import { PhysicalMaterialRecord } from "../../../../PhysicalMaterialRecord"; -import { RoomWallBase } from "../RoomWallBase"; -import { RoomHoleBase } from "./RoomHoleBase"; -/** - * 折线洞 例如 转角窗 或者U型窗 - */ -export declare class RoomHolePolyline extends RoomHoleBase { - private _Points; - private _FakerWalls; - private _WpDists; - private _WpLeftWall; - private _WpRightWall; - get FakerWalls(): RoomWallBase[]; - set FakerWalls(_FakerWalls: RoomWallBase[]); - set WpDist(wpdists: number[]); - get WpDist(): number[]; - get WpLeftWall(): boolean; - get WpRightWall(): boolean; - set WpLeftWall(v: boolean); - set WpRightWall(v: boolean); - UpdateWpDraw(): void; - /** - * 根据外飘参数得到区域 - * - * @param wpdists 外飘距离 - * @cts 窗台石距离 - */ - GetWpRegion(wpdists: number[], cts?: number, ctszytc?: number): Polyline; - get BoundingBoxInOCS(): Box3Ext; - get PointsCount(): number; - get Points(): Vector3[]; - set Points(pts: Vector3[]); - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - GetGripPoints(): Vector3[]; - MoveGripPoints(ids: number[], vec: Vector3): void; - GetStretchPoints(): Array; - MoveStretchPoints(ids: Array, vec: Vector3): void; - get FakerPoints(): Vector3[]; - UpdatePoints(checkChange?: boolean): void; - LidCurves: Curve[]; - Regions: Polyline[]; - UpdateDrawGeometry(): void; - ClearDraw(): this; - private _EdgeGeometry; - get EdgeGeometry(): Geometry; - private _MeshGeometry; - get MeshGeometry(): Geometry; - set Material(materialId: ObjectId); - get Material(): ObjectId; - private _OverWriteMaterial; - get OverWriteMaterial(): Map>; - IsMtlLockAtSlot(slotIndex: number): boolean; - SetMaterialAtSlot(mtl: ObjectId, slotIndex: number): void; - SetAllMaterialAtSlot(mtl: ObjectId): void; - GetMtlLockedStatus(): { - allMtlLocked: boolean; - partMtlLocked: boolean; - }; - GetPhyMtlRecords(containErased?: boolean): PhysicalMaterialRecord[]; - private _GetValidOWMtl; - protected get MeshMaterial(): Material[]; - get MaterialsIds(): number[]; - GetPrintObject3D(): (Mesh | Line2)[]; - InitDrawObject(renderType?: RenderType): Object3D; - /** - * 重载:更新绘制的实体 - * @param {RenderType} renderType - * @param {Object3D} obj - */ - UpdateDrawObject(renderType: RenderType, obj: Object3D): Object3D; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -//# sourceMappingURL=RoomHolePolyline.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHolePolyline.d.ts.map b/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHolePolyline.d.ts.map deleted file mode 100644 index 73bac73..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/Hole/RoomHolePolyline.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomHolePolyline.d.ts","sourceRoot":"","sources":["../../../../../../../src/DatabaseServices/Room/Entity/Wall/Hole/RoomHolePolyline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,QAAQ,EAAwE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAA8C,QAAQ,EAAuB,OAAO,EAAE,MAAM,OAAO,CAAC;AAClO,OAAO,EAAE,KAAK,EAAE,MA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;IA8BlB,gBAAgB,CAAC,aAAa,GAAE,OAAe;IAqB/C,OAAO,CAAC,cAAc;IAQtB,SAAS,KAAK,YAAY,IAAI,QAAQ,EAAE,CA4BvC;IAED,IAAI,YAAY,IAAI,MAAM,EAAE,CAQ3B;IAED,gBAAgB;IAgBhB,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IAqCvE;;;;OAIG;IACH,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IA8CtD,wBAAwB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;cA4B3C,SAAS,CAAC,IAAI,EAAE,QAAQ;IA0ClC,SAAS,CAAC,IAAI,EAAE,QAAQ;IA8BjC,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAKvC"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/RoomWallArc.d.ts b/types/DatabaseServices/Room/Entity/Wall/RoomWallArc.d.ts deleted file mode 100644 index c38bb9a..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/RoomWallArc.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { BufferGeometry, Geometry, Matrix3, Mesh, Object3D, Vector3 } from "three"; -import { Line2 } from "three/examples/jsm/lines/Line2"; -import { ObjectSnapMode } from "../../../../Editor/ObjectSnapMode"; -import { RenderType } from "../../../../GraphicsSystem/RenderType"; -import { CADFiler } from "../../../CADFiler"; -import { Arc } from "../../../Entity/Arc"; -import { Line } from "../../../Entity/Line"; -import { ObjectId } from "../../../ObjectId"; -import { PhysicalMaterialRecord } from "../../../PhysicalMaterialRecord"; -import { RoomWallBase } from "./RoomWallBase"; -export declare class RoomWallArc extends RoomWallBase { - private _Radius; - private _StartAngle; - private _EndAngle; - /** - * 曲线为顺时针 - */ - private _Clockwise; - constructor(_Center?: Vector3, _Radius?: number, _StartAngle?: number, _EndAngle?: number, - /** - * 曲线为顺时针 - */ - _Clockwise?: boolean, _Thickness?: number, _Height?: number); - private _LeftCurveSign; - private _RightCurveSign; - private _LidCurveSign; - get CenterAxisCurve(): Arc | Line; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform: Matrix3): Vector3[]; - GetGripPoints(): Array; - MoveGripPoints(indexList: Array, vec: Vector3): void; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(indexList: number[], vec: Vector3): void; - UpdateDrawGeometry(): void; - ClearDraw(): this; - private _EdgeGeometry; - private _MeshGeometry; - get EdgeGeometry(): BufferGeometry; - get MeshGeometry(): Geometry; - OverWriteMaterial: Map>; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - GetPrintObject3D(): (Mesh | Line2)[]; - InitDrawObject(renderType?: RenderType): Object3D; - /** - * 重载:更新绘制的实体 - * @param {RenderType} renderType - * @param {Object3D} obj - */ - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//@ts-ignore -export interface RoomWallArc extends RoomWallBase, Arc { -} -//# sourceMappingURL=RoomWallArc.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/RoomWallArc.d.ts.map b/types/DatabaseServices/Room/Entity/Wall/RoomWallArc.d.ts.map deleted file mode 100644 index e5032c9..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/RoomWallArc.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomWallArc.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices/Room/Entity/Wall/RoomWallArc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAS,QAAQ,EAAmF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAsC,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/M,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAKvD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAKnE,OAAO,EAAE,U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,CAAC,aAAa,CAAW;IAChC,IAAI,YAAY,mBA0If;IACD,IAAI,YAAY,aAghBf;IAED,iBAAiB,gDAAuD;IAExE,wBAAwB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAc9D,gBAAgB;IAYhB,cAAc,CAAC,UAAU,GAAE,UAAiC,GAAG,QAAQ;IA+CvE;;;;OAIG;IACH,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;cAyEnC,SAAS,CAAC,IAAI,EAAE,QAAQ;IA8BlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAiBpC;AA+BD,MAAM,WAAW,WAAY,SAAQ,YAAY,EAAE,GAAG;CAAI"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/RoomWallBase.d.ts b/types/DatabaseServices/Room/Entity/Wall/RoomWallBase.d.ts deleted file mode 100644 index 44f0afd..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/RoomWallBase.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { Material, MeshStandardMaterial, Object3D } from "three"; -import { RenderType } from "../../../../GraphicsSystem/RenderType"; -import { CADFiler } from "../../../CADFiler"; -import { CADObject } from "../../../CADObject"; -import { Arc } from "../../../Entity/Arc"; -import { Curve } from "../../../Entity/Curve"; -import { Line } from "../../../Entity/Line"; -import { Polyline } from "../../../Entity/Polyline"; -import { ObjectId } from "../../../ObjectId"; -import { PhysicalMaterialRecord } from "../../../PhysicalMaterialRecord"; -import { RoomBase } from "../RoomBase"; -import { RoomHolePolyline } from "./Hole/RoomHolePolyline"; -import { WallSnapMode } from "./WallSnapMode"; -export declare const CURVE_FACE_TYPE_KEY = "__CURVE_FACE_TYPE_KEY__"; -export declare const CURVE_DIR_TYPE_KEY = "__CURVE_DIR_TYPE_KEY__"; -export declare const CURVE_WALL_TYPE_KEY = "__CURVE_WALL_TYPE_KEY__"; -export declare enum WallFaceType { - Inside = 0,//内部 - Pillar = 1,//柱子 - Outside = 2 -} -interface HoleData { - StartParam: number; - EndParam: number; - Bottom: number; - Top: number; -} -export declare abstract class RoomWallBase extends RoomBase { - static SnapMode: WallSnapMode; - RelevancyHoles: ObjectId[]; - Holes: HoleData[]; - get RealHoles(): HoleData[]; - protected _Thickness: number; - protected _Height: number; - get Height(): number; - set Height(_newHeight: number); - get Thickness(): number; - set Thickness(t: number); - get CenterAxisCurve(): Arc | Line; - UpdateCurve(cu: Curve): void; - LeftCurves: (Arc | Line)[]; - RightCurves: (Arc | Line)[]; - LidCurves: (Arc | Line)[]; - Region: Polyline; - OverWriteMaterial: Map>; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - IsMtlLockAtSlot(slotIndex: number): boolean; - SetMaterialAtSlot(mtl: ObjectId, slotIndex: number): void; - SetAllMaterialAtSlot(mtl: ObjectId): void; - GetMtlLockedStatus(): { - partMtlLocked: boolean; - allMtlLocked: boolean; - }; - GetPhyMtlRecords(containErased?: boolean): PhysicalMaterialRecord[]; - protected get MeshMaterial(): MeshStandardMaterial | import("three").MeshBasicMaterial; - private _GetValidOWMtl; - get MeshMaterials(): Material[]; - ResetSign(oldSign: Map, newSign: Map, allChange?: boolean, isLid?: boolean): void; - CopyFrom(obj: CADObject): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//@ts-ignore -export interface RoomWallBase extends RoomBase, Curve { -} -export declare const CURVE_MESH_NAMES: string[]; -export declare function applyMixins(derivedCtor: any, constructor: any, methons?: string[]): void; -export {}; -//# sourceMappingURL=RoomWallBase.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/RoomWallBase.d.ts.map b/types/DatabaseServices/Room/Entity/Wall/RoomWallBase.d.ts.map deleted file mode 100644 index f59334a..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/RoomWallBase.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomWallBase.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices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,OAAO;IAuEjG,QAAQ,CAAC,GAAG,EAAE,SAAS;IAkBhC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IA6BlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgB3B;AAGD,MAAM,WAAW,YAAa,SAAQ,QAAQ,EAAE,KAAK;CAAI;AAEzD,eAAO,MAAM,gBAAgB,UAyC5B,CAAC;AAGF,wBAAgB,WAAW,CAAC,WAAW,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,OAAO,WAAmB,QAQzF"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/RoomWallLine.d.ts b/types/DatabaseServices/Room/Entity/Wall/RoomWallLine.d.ts deleted file mode 100644 index 7ace470..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/RoomWallLine.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Box3, BufferGeometry, Geometry, Matrix3, Mesh, Object3D, Vector3 } from "three"; -import { Line2 } from "three/examples/jsm/lines/Line2"; -import { ObjectSnapMode } from "../../../../Editor/ObjectSnapMode"; -import { Box3Ext } from "../../../../Geometry/Box"; -import { RenderType } from "../../../../GraphicsSystem/RenderType"; -import { CADFiler } from "../../../CADFiler"; -import { Line } from "../../../Entity/Line"; -import { RoomWallBase } from "./RoomWallBase"; -export declare class RoomWallLine extends RoomWallBase { - private _StartPoint; - private _EndPoint; - constructor(_StartPoint?: Vector3, _EndPoint?: Vector3, _Thickness?: number, _Height?: number); - private _LeftCurveSign; - private _RightCurveSign; - private _LidCurveSign; - UpdateOCSToMinBox(): void; - get StartPoint(): Vector3; - get EndPoint(): Vector3; - set StartPoint(p: Vector3); - set EndPoint(p: Vector3); - Reverse(): this; - get CenterAxisCurve(): Line; - get BoundingBox(): Box3; - get BoundingBoxInOCS(): Box3Ext; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform: Matrix3): Vector3[]; - GetGripPoints(): Vector3[]; - MoveGripPoints(indexs: number[], vec: Vector3): void; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(indexList: number[], vec: Vector3): void; - UpdateDrawGeometry(): void; - private _EdgeGeometry; - get EdgeGeometry(): BufferGeometry; - private _MeshGeometry; - get MeshGeometry(): Geometry; - GetPrintObject3D(): (Mesh | Line2)[]; - InitDrawObject(renderType?: RenderType): Object3D; - /** - * 重载:更新绘制的实体 - * @param {RenderType} renderType - * @param {Object3D} obj - */ - UpdateDrawObject(renderType: RenderType, obj: Object3D): void; - UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D): void; - ClearDraw(): this; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=RoomWallLine.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/RoomWallLine.d.ts.map b/types/DatabaseServices/Room/Entity/Wall/RoomWallLine.d.ts.map deleted file mode 100644 index 2344104..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/RoomWallLine.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomWallLine.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices/Room/Entity/Wall/RoomWallLine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,cAAc,EAAgB,QAAQ,EAAmF,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAsC,OAAO,EAAE,MAAM,OAAO,CAAC;AAC5N,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAMvD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAInD,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAI5C,OAAO,EAAuB,YAAY,EAA6B,MAA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AE,UAAU,EAAE,GAAG,EAAE,QAAQ;IAc9D,SAAS;cAaU,SAAS,CAAC,IAAI,EAAE,QAAQ;IA6BlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgBpC"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/WallSnapMode.d.ts b/types/DatabaseServices/Room/Entity/Wall/WallSnapMode.d.ts deleted file mode 100644 index c2241f6..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/WallSnapMode.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare enum WallSnapMode { - None = 0, - Center = 1, - Out = 2, - All = 3 -} -//# sourceMappingURL=WallSnapMode.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/Entity/Wall/WallSnapMode.d.ts.map b/types/DatabaseServices/Room/Entity/Wall/WallSnapMode.d.ts.map deleted file mode 100644 index 5494e75..0000000 --- a/types/DatabaseServices/Room/Entity/Wall/WallSnapMode.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"WallSnapMode.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices/Room/Entity/Wall/WallSnapMode.ts"],"names":[],"mappings":"AACA,oBAAY,YAAY;IAEpB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,GAAG,IAAI;IACP,GAAG,IAAI;CACV"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/CurveTrim.d.ts b/types/DatabaseServices/Room/ParseService/CurveTrim.d.ts deleted file mode 100644 index 549a379..0000000 --- a/types/DatabaseServices/Room/ParseService/CurveTrim.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Box3, Vector3 } from "three"; -import { Contour } from "../../Contour"; -import { Arc } from "../../Entity/Arc"; -import { Curve } from "../../Entity/Curve"; -import { Line } from "../../Entity/Line"; -export declare class CurveTrim { - _curve: Line | Arc; - _TrimParams: [number, number][]; - _IsErase: boolean; - _Box: Box3; - constructor(_curve: Line | Arc); - TrimBy(contour: Contour, box: Box3, saveSyntropy?: boolean): void; - PointInContour(p: Vector3, contour: Contour, contourBox: Box3, saveSyntropy?: boolean): boolean; - TrimParam(sparam: number, eparam: number): void; - GetPointAtParam(param: number): Vector3; - get Curves(): Curve[]; -} -export declare class CurveTrimLine extends CurveTrim { - private derv; - private _Sp; - private _Fd; - constructor(curve: Line, derv: Vector3, _Sp?: Vector3, _Fd?: Vector3); - GetPointAtParam(param: number): Vector3; - PointInContour(p: Vector3, contour: Contour, contourBox: Box3, saveSyntropy?: boolean): boolean; - get Curves(): Line[]; -} -export declare class CurveTrimArc extends CurveTrim { - _curve: Arc; - private _IsLeft; - constructor(_curve: Arc, _IsLeft?: boolean); - PointInContour(p: Vector3, contour: Contour, contourBox: Box3, saveSyntropy?: boolean): boolean; - get Curves(): Arc[]; -} -export declare function CreateCurveTrim(cu: Line | Arc): CurveTrimLine | CurveTrimArc; -//# sourceMappingURL=CurveTrim.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/CurveTrim.d.ts.map b/types/DatabaseServices/Room/ParseService/CurveTrim.d.ts.map deleted file mode 100644 index 794b067..0000000 --- a/types/DatabaseServices/Room/ParseService/CurveTrim.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CurveTrim.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Room/ParseService/CurveTrim.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKtC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAKzC,qBAAa,SAAS;IAKC,MAAM,EAAE,IAAI,GAAG,GAAG;IAHrC,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAM;IACr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aseServices/Room/ParseService/GetCurveParam.d.ts deleted file mode 100644 index e352bdc..0000000 --- a/types/DatabaseServices/Room/ParseService/GetCurveParam.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Vector3 } from "three"; -import { Matrix2 } from "../../../Geometry/Matrix2"; -import { Arc } from "../../Entity/Arc"; -import { Line } from "../../Entity/Line"; -import { RoomWallBase } from "../Entity/Wall/RoomWallBase"; -export declare const LEFT_ROTATE_MTX2: Matrix2; -export interface GetCurveParam { - GetParamAtPoint(p: Vector3): number; - GetParamAtPoint2(p: Vector3): [number, boolean]; - GetPointAtParam(param: number): Vector3; -} -export declare function CreateGetCurveParam(curve: Line | Arc | RoomWallBase): GetLineParam | GetArcParam; -export declare class GetLineParam { - Direction: Vector3; - Length: number; - LeftDir: Vector3; - private _StartPoint; - constructor(line: Line); - private _RightDir; - get RightDir(): Vector3; - private _NegDirection; - get NegDirection(): Vector3; - GetParamAtPoint(p: Vector3): number; - GetParamAtPoint2(p: Vector3): [number, boolean]; - GetPointAtParam(param: number): Vector3; - OffsetPoint(p: Vector3, dis: number): Vector3; -} -export declare class GetArcParam implements GetCurveParam { - private _Arc; - constructor(_Arc: Arc); - GetParamAtPoint2(p: Vector3): [number, boolean]; - GetPointAtParam(param: number): Vector3; - GetParamAtPoint(p: Vector3): number; -} -//# sourceMappingURL=GetCurveParam.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/GetCurveParam.d.ts.map b/types/DatabaseServices/Room/ParseService/GetCurveParam.d.ts.map deleted file mode 100644 index 5ef402e..0000000 --- a/types/DatabaseServices/Room/ParseService/GetCurveParam.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GetCurveParam.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Room/ParseService/GetCurveParam.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,OAAO,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,C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,GAAG,MAAM;CAItC"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/Hole/RoomWallPlaceIHoleHelper.d.ts b/types/DatabaseServices/Room/ParseService/Hole/RoomWallPlaceIHoleHelper.d.ts deleted file mode 100644 index 47ea77a..0000000 --- a/types/DatabaseServices/Room/ParseService/Hole/RoomWallPlaceIHoleHelper.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import Flatbush from 'flatbush'; -import { Vector3 } from 'three'; -import { RoomWallBase, WallFaceType } from "../../Entity/Wall/RoomWallBase"; -import { GetCurveParam } from "../GetCurveParam"; -type Range = [number, number]; -export interface WallRange extends Range { - left: WallFaceType; - right: WallFaceType; -} -export declare class RoomWallPlaceIHoleHelper { - _Walls: RoomWallBase[]; - protected _ParamGets: GetCurveParam[]; - protected _ParamRanges: ([number, number][])[]; - protected _Fb: Flatbush; - constructor(_Walls: RoomWallBase[]); - FindBestPlace(p: Vector3): { - wall: RoomWallBase; - range: WallRange; - cpParam: number; - getParam: GetCurveParam; - }; - private GenFb; - ParseWallCanPlaceHoleRange(): void; -} -export declare function FindBestRange(param: number, ranges: [number, number][], fuzz?: number): [number, number]; -export declare function ParseWallRange(wall: RoomWallBase, getParam?: import("../GetCurveParam").GetLineParam | import("../GetCurveParam").GetArcParam): WallRange[]; -export {}; -//# sourceMappingURL=RoomWallPlaceIHoleHelper.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/Hole/RoomWallPlaceIHoleHelper.d.ts.map b/types/DatabaseServices/Room/ParseService/Hole/RoomWallPlaceIHoleHelper.d.ts.map deleted file mode 100644 index 23e6636..0000000 --- a/types/DatabaseServices/Room/ParseService/Hole/RoomWallPlaceIHoleHelper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomWallPlaceIHoleHelper.d.ts","sourceRoot":"","sources":["../../../../../../src/DatabaseServices/Room/ParseService/Hole/RoomWallPlaceIHoleHelper.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAW,OAAO,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAuB,YAAY,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACjG,OAAO,EAAuB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtE,KAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE9B,MAAM,WAAW,SAAU,SAAQ,KAAK;IAEpC,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,YAAY,CAAC;CACvB;AAED,qBAAa,wBAAwB;IAMd,MAAM,EAAE,YAAY,EAAE;IAJzC,SAAS,CAAC,UAAU,EAAE,aAAa,EAAE,CAAM;IAC3C,SAAS,CAAC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,EAAE,CAAM;IACpD,SAAS,CAAC,GAAG,EAAE,QAAQ,CAAC;gBAEL,MAAM,EAAE,YAAY,EAAE;IAMzC,aAAa,CAAC,CAAC,EAAE,OAAO;;;;;;IAwCxB,OAAO,CAAC,KAAK;IAab,0BAA0B;CAS7B;AAID,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,IAAI,SAAO,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CA4BtG;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,mFAA4B,GAsCvD,SAAS,EAAE,CAC1C"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/ParseRegionTextPos.d.ts b/types/DatabaseServices/Room/ParseService/ParseRegionTextPos.d.ts deleted file mode 100644 index c8fb868..0000000 --- a/types/DatabaseServices/Room/ParseService/ParseRegionTextPos.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Vector3 } from "three"; -import { Point } from "../../../Nest/Common/Point"; -import { Path } from "../../../Nest/Core/Path"; -/** - * 分析文字放置位置 - * @param contour 轮廓点表 - * @param holes 网洞点表 - * @param [textBox=TEXT_BOX] 标签盒子 - * @param [allowReturnNullPos=false] 允许返回null 当没有找到合适的位置返回null - * @returns Vector3 - */ -export declare function ParseRegionTextPos(contour: Point[], holes: (Point[])[], textBox?: Path, allowReturnNullPos?: boolean): Vector3 | undefined; -//# sourceMappingURL=ParseRegionTextPos.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/ParseRegionTextPos.d.ts.map b/types/DatabaseServices/Room/ParseService/ParseRegionTextPos.d.ts.map deleted file mode 100644 index fcf2a51..0000000 --- a/types/DatabaseServices/Room/ParseService/ParseRegionTextPos.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ParseRegionTextPos.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Room/ParseService/ParseRegionTextPos.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAInD,OAAO,EAAE,IAAI,EAAiC,MAAM,yBAAyB,CAAC;AAQ9E;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,OAAO,OAAW,EAAE,kBAAkB,UAAQ,GAAG,OAAO,GAAG,SAAS,CA6G5I"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RangeUtils.d.ts b/types/DatabaseServices/Room/ParseService/RangeUtils.d.ts deleted file mode 100644 index c005b36..0000000 --- a/types/DatabaseServices/Room/ParseService/RangeUtils.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -type Range = [number, number]; -export declare function InsertRangeIndex(ranges: Range[], sparam: number): number; -export declare function InsertSortedIndex(array: T[], element: E, comparefunc: (a: E, b: T) => number): number; -/** - * 插入范围,并且合并范围 - */ -export declare function InsertRangeAndUnion(ranges: Range[], sparam: number, eparam: number, insertIndex?: number): Range[]; -export declare function RangeUnion(ranges: Range[]): Range[]; -export declare function Intersection(range1: Range, range2: Range): Range | undefined; -export {}; -//# sourceMappingURL=RangeUtils.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RangeUtils.d.ts.map b/types/DatabaseServices/Room/ParseService/RangeUtils.d.ts.map deleted file mode 100644 index 2f50efd..0000000 --- a/types/DatabaseServices/Room/ParseService/RangeUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RangeUtils.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Room/ParseService/RangeUtils.ts"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAK9B,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,UAG/D;AAGD,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,MAAM,UAiBlG;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAC/B,MAAM,EAAE,KAAK,EAAE,EACf,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,WAAW,SAAmC,WA8DjD;AAGD,wBAAgB,UAAU,CAAC,MAAM,EAAE,KAAK,EAAE,WAiBzC;AAGD,wBAAgB,YAAY,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,KAAK,GAAG,SAAS,CAM5E"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RegionReplacement.d.ts b/types/DatabaseServices/Room/ParseService/RegionReplacement.d.ts deleted file mode 100644 index 12d311c..0000000 --- a/types/DatabaseServices/Room/ParseService/RegionReplacement.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import Flatbush from 'flatbush'; -import { Vector3 } from 'three'; -import { Polyline } from '../../Entity/Polyline'; -import { RoomRegion } from "../Entity/Region/RoomRegion"; -export declare class RegionReplacement { - private oldRegions; - fb: Flatbush; - contours: [Polyline, Polyline[]][]; - constructor(oldRegions: RoomRegion[]); - GetReplaceOldReg(p: Vector3): RoomRegion; -} -//# sourceMappingURL=RegionReplacement.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RegionReplacement.d.ts.map b/types/DatabaseServices/Room/ParseService/RegionReplacement.d.ts.map deleted file mode 100644 index 1f930b0..0000000 --- a/types/DatabaseServices/Room/ParseService/RegionReplacement.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RegionReplacement.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Room/ParseService/RegionReplacement.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGzD,qBAAa,iBAAiB;IAId,OAAO,CAAC,UAAU;IAF9B,EAAE,EAAE,QAAQ,CAAC;IACb,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAM;gBACpB,UAAU,EAAE,UAAU,EAAE;IAiB5C,gBAAgB,CAAC,CAAC,EAAE,OAAO;CAc9B"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RoomRegionParse.d.ts b/types/DatabaseServices/Room/ParseService/RoomRegionParse.d.ts deleted file mode 100644 index 2b4f8ab..0000000 --- a/types/DatabaseServices/Room/ParseService/RoomRegionParse.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Database } from "../../Database"; -import { Polyline } from "../../Entity/Polyline"; -import { RoomRegion } from "../Entity/Region/RoomRegion"; -import { RoomWallBase } from "../Entity/Wall/RoomWallBase"; -import { RegionReplacement } from "./RegionReplacement"; -export declare enum WallCurveDirType { - left = 0, - right = 1, - lid = 2 -} -/** - * 区域分析(房间+外墙+全屋顶) - */ -export declare class RoomRegionParse { - private _UpdateDb; - rr: RegionReplacement; - reped: Set; - oldregs: RoomRegion[]; - /** - * @param _UpdateDb 当提供db时,我们更新了区域的信息 - */ - constructor(_UpdateDb: Database); - Do(walls: RoomWallBase[]): Polyline[]; - End(): void; -} -//# sourceMappingURL=RoomRegionParse.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RoomRegionParse.d.ts.map b/types/DatabaseServices/Room/ParseService/RoomRegionParse.d.ts.map deleted file mode 100644 index 587b22c..0000000 --- a/types/DatabaseServices/Room/ParseService/RoomRegionParse.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomRegionParse.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Room/ParseService/RoomRegionParse.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,OAAO,EAA0B,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACjF,OAAO,EAAgE,YAAY,EAAgB,MAAM,6BAA6B,CAAC;AAEvI,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAcxD,oBAAY,gBAAgB;IAExB,IAAI,IAAI;IACR,KAAK,IAAI;IACT,GAAG,IAAI;CACV;AAGD;;GAEG;AACH,qBAAa,eAAe;IASZ,OAAO,CAAC,SAAS;IAP7B,EAAE,EAAE,iBAAiB,CAAC;IACtB,KAAK,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IACvB,OAAO,EAAE,UAAU,EAAE,CAAC;IAEtB;;OAEG;gBACiB,SAAS,EAAE,QAAQ;IAUvC,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE;IAkOxB,GAAG;CAaN"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RoomWallExtendAndBreak.d.ts b/types/DatabaseServices/Room/ParseService/RoomWallExtendAndBreak.d.ts deleted file mode 100644 index 8f1b2c2..0000000 --- a/types/DatabaseServices/Room/ParseService/RoomWallExtendAndBreak.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Curve } from "../../Entity/Curve"; -/** - * 1.自动合理的延伸墙体,以便保证吸附失败的时候自动吸附(当被MOVE时,我们希望修复吸附失败的问题!) - * 可延伸的距离等于墙体的厚度 - * - * 2.在交点处把墙体打断,以便我们分析区域 - */ -export declare class RoomWallExtendAndBreak { - _Curve2SplitCurveMap: Map; - _SplitCurve2OrgCurveMap: Map; - ExtendCurves: Set; - AloneCurves: Curve[]; - OrgCurveMapGroup: (Curve[])[]; - constructor(curves: Curve[]); -} -//# sourceMappingURL=RoomWallExtendAndBreak.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RoomWallExtendAndBreak.d.ts.map b/types/DatabaseServices/Room/ParseService/RoomWallExtendAndBreak.d.ts.map deleted file mode 100644 index 5a1c10d..0000000 --- a/types/DatabaseServices/Room/ParseService/RoomWallExtendAndBreak.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomWallExtendAndBreak.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Room/ParseService/RoomWallExtendAndBreak.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C;;;;;GAKG;AACH,qBAAa,sBAAsB;IAI/B,oBAAoB,sBAA6B;IAEjD,uBAAuB,oBAA2B;IAElD,YAAY,aAAoB;IAChC,WAAW,EAAE,KAAK,EAAE,CAAM;IAE1B,gBAAgB,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,CAAM;gBAEvB,MAAM,EAAE,KAAK,EAAE;CAqI9B"} \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RoomWallParse.d.ts b/types/DatabaseServices/Room/ParseService/RoomWallParse.d.ts deleted file mode 100644 index 02b49b5..0000000 --- a/types/DatabaseServices/Room/ParseService/RoomWallParse.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import Flatbush from 'flatbush'; -import { Box3, Vector3 } from "three"; -import { CurveMap } from "../../../Geometry/CurveMap"; -import { Contour } from "../../Contour"; -import { Database } from '../../Database'; -import { Curve } from "../../Entity/Curve"; -import { Polyline } from "../../Entity/Polyline"; -import { RoomWallBase } from "../Entity/Wall/RoomWallBase"; -import { RoomWallExtendAndBreak } from "./RoomWallExtendAndBreak"; -/** - * 户型分析服务: - * 1.自动延伸墙 - * 2.合理的构建墙 - * 3.自动分析地板 - * - * 墙体被分裂后合并(join line) - * - * TODO: - * 删除重复的墙(例如 2个rec wall) - * 增量更新 diff walls(始作俑者 1) -> dep walls(需要更新 2) ->dep's dep walls(需要被依赖 3) +[可能被影响到的wall 2(比如被切割的墙) (依赖墙 3)] - * ->1.用盒子搜索范围依赖(盒子1级依赖) - * ->2.用盒子扩大搜索范围依赖(盒子2级依赖) - * ->正确的分析1级依赖 2级依赖 (或者不要分析? 直接用盒子来?) - * ->分析 - * ->更新1级 2级 的墙 - */ -export declare class RoomWallParse { - private _ExtendsWalls; - private _UpdateDb; - private _IsCacheWallNodePoints; - static _CacheWallNodePoints: Vector3[]; - static _CacheWallMaps: [RoomWallExtendAndBreak, CurveMap][]; - static _CacheCurveWallMaps: Map; - static _CacheRoofs: Polyline[]; - /** - * @param [_ExtendsWalls=true] 更新墙体,在开图时不更新图纸 - * @param [_UpdateDb] 更新的图纸(新绘制Region) - * @param [_IsCacheWallNodePoints] 需要把节点缓存下来? - */ - constructor(_ExtendsWalls: boolean, _UpdateDb: Database, _IsCacheWallNodePoints: boolean); - /** - * @param walls 需要解析的墙体列表 - * @param changeWalls 更新的墙体列表(如果提供 增量模式) - */ - Parse(walls: RoomWallBase[], changeWalls?: RoomWallBase[]): void; - private PraseWallsFromSameFloor; - fb: Flatbush; - boxs: Box3[]; - GenFB(trimContours: Contour[]): void; -} -//# sourceMappingURL=RoomWallParse.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Room/ParseService/RoomWallParse.d.ts.map b/types/DatabaseServices/Room/ParseService/RoomWallParse.d.ts.map deleted file mode 100644 index af9d8ec..0000000 --- a/types/DatabaseServices/Room/ParseService/RoomWallParse.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomWallParse.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Room/ParseService/RoomWallParse.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAW,MAAM,4BAA4B,CAAC;AAK/D,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAI3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOlE;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,aAAa;IAaV,OAAO,CAAC,aAAa;IAAW,OAAO,CAAC,SAAS;IAAY,OAAO,CAAC,sBAAsB;IAVvG,MAAM,CAAC,oBAAoB,EAAE,OAAO,EAAE,CAAM;IAC5C,MAAM,CAAC,cAAc,EAAE,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAAE,CAAM;IACjE,MAAM,CAAC,mBAAmB,EAAE,GAAG,CAAC,KAAK,EAAE,YAAY,CAAC,CAAa;IACjE,MAAM,CAAC,WAAW,EAAE,QAAQ,EAAE,CAAM;IAEpC;;;;OAIG;gBACiB,aAAa,EAAE,OAAO,EAAU,SAAS,EAAE,QAAQ,EAAU,sBAAsB,EAAE,OAAO;IAKhH;;;OAGG;IACH,KAAK,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,WAAW,GAAE,YAAY,EAAc;IAuDpE,OAAO,CAAC,uBAAuB;IAkpB/B,EAAE,EAAE,QAAQ,CAAC;IACb,IAAI,EAAE,IAAI,EAAE,CAAC;IACb,KAAK,CAAC,YAAY,EAAE,OAAO,EAAE;CAoBhC"} \ No newline at end of file diff --git a/types/DatabaseServices/Shape.d.ts b/types/DatabaseServices/Shape.d.ts deleted file mode 100644 index 0acb5ad..0000000 --- a/types/DatabaseServices/Shape.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { Matrix3, Matrix4, Shape as TShape, Vector3 } from 'three'; -import { ObjectSnapMode } from '../Editor/ObjectSnapMode'; -import { CADFiler } from './CADFiler'; -import { Contour } from './Contour'; -import { Curve } from './Entity/Curve'; -export declare class Shape { - private _Outline; - private _Holes; - private _DisplayAccuracy; - constructor(_Outline?: Contour, _Holes?: Contour[]); - get DisplayAccuracy(): number; - set DisplayAccuracy(v: number); - get Outline(): Contour; - get Holes(): Contour[]; - get Area(): number; - get BoundingBox(): import("../Geometry/Box").Box3Ext; - set Outline(con: Contour); - set Holes(holes: Contour[]); - get Shape(): TShape; - get Position(): Vector3; - set Position(p: Vector3); - Z0(): this; - MatrixPlanarizere(): void; - ApplyMatrix(m: Matrix4): this; - ApplyScaleMatrix(m: Matrix4): this; - Explode(): Curve[]; - Clone(): Shape; - SetColor(color: number): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - GetGripPoints(): Vector3[]; - MoveGripPoints(indexList: Array, vec: Vector3): void; - GetStretchPoints(): Vector3[]; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - IntersectionBoolOperation(targetShape: Shape): Shape[]; - UnionBoolOperation(targetShape: Shape, checkIntersect?: boolean): Shape[]; - /** - * 如果完全被减掉,就返回0个.其他的返回1个或者n个 - * @param targetShapes 已经是合并后的形状数组 - */ - SubstactBoolOperation(targetShapes: Shape[]): Shape[]; - Equal(targetShape: Shape): boolean; - private targetOutlinesSubHoles; - /** - * 目标轮廓减去洞 - * - * @private - * @param {Contour[]} tarContours 轮廓列表 - * @param {Contour[]} holes 洞列表 - * @returns {Contour[]} 新的轮廓列表 - * @memberof Shape - */ - private targetOutlineSubHoleOutline; - static pairHoleAndOutline(contours: Contour[]): Shape[]; - /** - * 合并洞,本质是使用(并集算法)将可以并集的洞合并在一起,减少洞的数量. - * canSidewipe 用于走刀,擦边的,包含的,是否合并 - */ - static mergeContours(holes: Contour[], canSidewipe?: boolean): Contour[]; - /** - * 移除被包含的洞.(移除无效的洞,已经被更大的洞包含) - * - * @private - * @param {Contour[]} tmpHoles 洞列表 - * @returns {Contour[]} 返回的洞列表都不会互相包含. - * @memberof Shape - */ - private static removeBeContaineredHoles; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Shape.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Shape.d.ts.map b/types/DatabaseServices/Shape.d.ts.map deleted file mode 100644 index f946871..0000000 --- a/types/DatabaseServices/Shape.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Shape.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/Shape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,OAAO,EAAQ,KAAK,IAAI,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE/E,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,KAAK,E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,cAAc,UAAQ,GAAG,KAAK,EAAE;IA0CvE;;;OAGG;IACH,qBAAqB,CAAC,YAAY,EAAE,KAAK,EAAE;IAoD3C,KAAK,CAAC,WAAW,EAAE,KAAK;IAWxB,OAAO,CAAC,sBAAsB;IAW9B;;;;;;;;OAQG;IACH,OAAO,CAAC,2BAA2B;IA6BnC,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE;IAsBvD;;;OAGG;IACH,MAAM,CAAC,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,WAAW,UAAO,GAAG,OAAO,EAAE;IAgFrE;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,wBAAwB;IAgBvC,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAevB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAO3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Shape2.d.ts b/types/DatabaseServices/Shape2.d.ts deleted file mode 100644 index a07c544..0000000 --- a/types/DatabaseServices/Shape2.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Shape, Vector2 } from "three"; -export declare class Shape2 extends Shape { - private _DisplayAccuracy; - get DisplayAccuracy(): number; - set DisplayAccuracy(v: number); - getPoints(divisions?: number, optimizeArc?: boolean): Vector2[]; - absellipse(aX: number, aY: number, xRadius: number, yRadius: number, aStartAngle: number, aEndAngle: number, aClockwise: boolean, aRotation: number): this; -} -//# sourceMappingURL=Shape2.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Shape2.d.ts.map b/types/DatabaseServices/Shape2.d.ts.map deleted file mode 100644 index ecc535f..0000000 --- a/types/DatabaseServices/Shape2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Shape2.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/Shape2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMrD,qBAAa,MAAO,SAAQ,KAAK;IAE7B,OAAO,CAAC,gBAAgB,CAAa;IAErC,IAAI,eAAe,IAKI,MAAM,CAF5B;IAED,IAAI,eAAe,CAAC,CAAC,EAAE,MAAM,EAI5B;IACD,SAAS,CAAC,SAAS,GAAE,MAAW,EAAE,WAAW,UAAO,GAAG,OAAO,EAAE;IAkEhE,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI;CAuB7J"} \ No newline at end of file diff --git a/types/DatabaseServices/ShapeManager.d.ts b/types/DatabaseServices/ShapeManager.d.ts deleted file mode 100644 index 16da0bd..0000000 --- a/types/DatabaseServices/ShapeManager.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Matrix4 } from 'three'; -import { BoolOpeartionType } from '../GraphicsSystem/BoolOperateUtils'; -import { CADFiler } from './CADFiler'; -import { Shape } from './Shape'; -export declare class ShapeManager { - private _ShapeList; - constructor(_ShapeList?: Shape[]); - get ShapeList(): Shape[]; - get ShapeCount(): number; - get ShapeArea(): number; - AppendShapeList(shapes: Shape | Shape[]): this; - Clear(): void; - BoolOper(otherMg: ShapeManager, booltype: BoolOpeartionType): boolean; - IntersectionBoolOperation(target: ShapeManager): boolean; - UnionBoolOperation(targetMg: ShapeManager): boolean; - SubstactBoolOperation(target: ShapeManager): boolean; - /** - * 与region.ApplyMatrix不同的是,这个是直接操作内部对象. - * 通常用来计算布尔运算时需要真实的移动这个位置. - * 并且将不会刷新显示 - * - * @param {Matrix4} mat4 - * @memberof ShapeManager - */ - ApplyMatrix(mat4: Matrix4): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=ShapeManager.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/ShapeManager.d.ts.map b/types/DatabaseServices/ShapeManager.d.ts.map deleted file mode 100644 index 7784d1d..0000000 --- a/types/DatabaseServices/ShapeManager.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ShapeManager.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/ShapeManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,qBAAa,YAAY;IAET,OAAO,CAAC,UAAU;gBAAV,UAAU,GAAE,KAAK,EAAO;IAK5C,IAAI,SAAS,IAAI,KAAK,EAAE,CAGvB;IACD,IAAI,UAAU,WAGb;IACD,IAAI,SAAS,WAGZ;IACD,eAAe,CAAC,MAAM,EAAE,KAAK,GAAG,KAAK,EAAE;IAKvC,KAAK;IAIL,QAAQ,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,iBAAiB;IAa3D,yBAAyB,CAAC,MAAM,EAAE,YAAY;IAgB9C,kBAAkB,CAAC,QAAQ,EAAE,YAAY;IAmDzC,qBAAqB,CAAC,MAAM,EAAE,YAAY;IAY1C;;;;;;;OAOG;IACH,WAAW,CAAC,IAAI,EAAE,OAAO;IASzB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAWvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAS3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Spline.d.ts b/types/DatabaseServices/Spline.d.ts deleted file mode 100644 index 06f4fee..0000000 --- a/types/DatabaseServices/Spline.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { CatmullRomCurve3, Matrix3, Vector3 } from 'three'; -import { ObjectSnapMode } from '../Editor/ObjectSnapMode'; -import { CADFiler } from './CADFiler'; -import { Curve } from './Entity/Curve'; -import { Polyline } from './Entity/Polyline'; -export declare class Spline extends Curve { - private _PointList; - private _ClosedMark; - constructor(_PointList?: Vector3[]); - get Shape(): CatmullRomCurve3; - get Length(): number; - get Points(): Vector3[]; - set Points(pts: Vector3[]); - get CloseMark(): boolean; - get IsClose(): boolean; - set CloseMark(v: boolean); - get StartPoint(): Vector3; - get EndPoint(): Vector3; - get StartParam(): number; - get EndParam(): number; - GetClosestPointTo(pt: Vector3, extend: boolean): Vector3; - GetOffsetCurves(offsetDist: number): Array; - GetGripPoints(): Vector3[]; - GetStretchPoints(): Vector3[]; - MoveGripPoints(indexList: Array, vec: Vector3): void; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - GetDrawCount(): number; - Convert2Polyline(): Polyline; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Spline.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Spline.d.ts.map b/types/DatabaseServices/Spline.d.ts.map deleted file mode 100644 index f5072fd..0000000 --- a/types/DatabaseServices/Spline.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Spline.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/Spline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAM7C,qBACa,MAAO,SAAQ,KAAK;IAGjB,OAAO,CAAC,UAAU;IAD9B,OAAO,CAAC,WAAW,CAAkB;gBACjB,UAAU,GAAE,OAAO,EAAO;IAK9C,IAAI,KAAK,qBAGR;IAED,IAAI,MAAM,WAIT;IAED,IAAI,MAAM,IAIM,OAAO,EAAE,CADxB;IACD,IAAI,MAAM,CAAC,GAAG,EAAE,OAAO,EAAE,EAcxB;IAED,IAAI,SAAS,IAAI,OAAO,CAGvB;IAED,IAAI,OAAO,IAAI,OAAO,CAGrB;IACD,IAAI,SAAS,CAAC,CAAC,EAAE,OAAO,EAMvB;IACD,IAAI,UAAU,YAGb;IACD,IAAI,QAAQ,YAGX;IACD,IAAI,UAAU,WAGb;IAED,IAAI,QAAQ,WAGX;IAED,iBAAiB,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO;IAKxD,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IAqBlD,aAAa;IAIb,gBAAgB;IAIhB,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IASrD,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IASxD,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,OAAO,GACpB,OAAO,EAAE;IAkBZ,YAAY;IAKZ,gBAAgB,IAAI,QAAQ;IAK5B,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAWlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAQ3B"} \ No newline at end of file diff --git a/types/DatabaseServices/SplineConver2Polyline.d.ts b/types/DatabaseServices/SplineConver2Polyline.d.ts deleted file mode 100644 index adfc951..0000000 --- a/types/DatabaseServices/SplineConver2Polyline.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Vec2, Vector2 } from "three"; -import { Arc } from "./Entity/Arc"; -import { Line } from "./Entity/Line"; -import { Polyline } from "./Entity/Polyline"; -import { Spline } from "./Spline"; -export declare function SplineConver2Polyline(spl: Spline, tolerance?: number): Polyline; -/** - * 将碎点简化为多段线,(尝试转换为简单圆弧,或者使用双圆弧插值) - * @param pts 点表 - * @param [tolerance=0.1] 容差 - * @param [parseArc=true] 解析成简单圆弧 - * @param [lineLengthSq=2000] - * @returns 多段线 - */ -export declare function PointsSimplify2PolylineAndParseArc(pts: Vector2[], buls?: number[], tolerance?: number, parseArc?: boolean, lineLengthSq?: number): Polyline; -export declare function SmartPointsSimply2Polyline(pts: Vector2[], buls?: number[], tolerance?: number, lineLengthSq?: number): Polyline; -/** - * 简化多段线,返回结果比较好的多段线 - * @param pl - * @param [tolerance=0.1] - * @param [lineLengthSq=2000] - * @returns 返回undefined时,简化失败 - */ -export declare function SmartPolylineSimply2Polyline(pl: Polyline, tolerance?: number, lineLengthSq?: number): Polyline | undefined; -declare function Vec2(x: number, y: number): void; -/** - * 计算双圆弧插值的圆弧 - * @param p1 起点 - * @param p2 终点 - * @param t1 起点切线 - * @param t2 终点切线 - * @returns 两个圆弧(或者其中一个是直线) - */ -export declare function ComputeBiarc(p1: Vec2, p2: Vec2, t1: Vec2, t2: Vec2): [Arc | Line, Arc | Line]; -export {}; -//# sourceMappingURL=SplineConver2Polyline.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/SplineConver2Polyline.d.ts.map b/types/DatabaseServices/SplineConver2Polyline.d.ts.map deleted file mode 100644 index 3377bda..0000000 --- a/types/DatabaseServices/SplineConver2Polyline.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SplineConver2Polyline.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/SplineConver2Polyline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAW,MAAM,OAAO,CAAC;AAI/C,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAEnC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAiB,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,SAAM,GAAG,QAAQ,CAmF5E;AAyFD;;;;;;;GAOG;AACH,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,GAAE,MAAM,EAAc,EAAE,SAAS,SAAM,EAAE,QAAQ,UAAO,EAAE,YAAY,SAAO,GAAG,QAAQ,CAwF9J;AAED,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,GAAE,MAAM,EAAc,EAAE,SAAS,SAAM,EAAE,YAAY,SAAO,YAS1H;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,SAAM,EAAE,YAAY,SAAO,GAAG,QAAQ,GAAG,SAAS,CA2BrH;AAGD,iBAAS,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,QAIjC;AAwED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,GAAG,CAAC,GAAG,GAAG,IAAI,EAAE,GAAG,GAAG,IAAI,CAAC,CA6F7F"} \ No newline at end of file diff --git a/types/DatabaseServices/SymbolTableRecord.d.ts b/types/DatabaseServices/SymbolTableRecord.d.ts deleted file mode 100644 index df90739..0000000 --- a/types/DatabaseServices/SymbolTableRecord.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Status } from "../Common/Status"; -import { CADFiler } from "./CADFiler"; -import { CADObject } from "./CADObject"; -import { ISerialize } from "./ISerialize"; -export declare abstract class SymbolTableRecord extends CADObject { - protected name: string; - get Name(): string; - set Name(name: string); - Add(obj: CADObject, isCheckObjectCleanly?: boolean): Status; - WriteFile(file: CADFiler): void; - ReadFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -/** - * 记录当前Name的序列化数据 - */ -export declare class NameData implements ISerialize { - name: string; - ReadFile(file: CADFiler): this; - WriteFile(file: CADFiler): this; - constructor(name: string); -} -//# sourceMappingURL=SymbolTableRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/SymbolTableRecord.d.ts.map b/types/DatabaseServices/SymbolTableRecord.d.ts.map deleted file mode 100644 index 4ba4cc3..0000000 --- a/types/DatabaseServices/SymbolTableRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SymbolTableRecord.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/SymbolTableRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,8BAAsB,iBAAkB,SAAQ,SAAS;IAErD,SAAS,CAAC,IAAI,EAAE,MAAM,CAAM;IAC5B,IAAI,IAAI,IAIO,MAAM,CADpB;IACD,IAAI,IAAI,CAAC,IAAI,EAAE,MAAM,EAoBpB;IAED,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,oBAAoB,UAAO,GAAG,MAAM;IAKxD,SAAS,CAAC,IAAI,EAAE,QAAQ;IAOxB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAQvB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAgBvC;AAED;;GAEG;AACH,qBACa,QAAS,YAAW,UAAU;IAYpB,IAAI,EAAE,MAAM;IAV/B,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAK9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;gBAKZ,IAAI,EAAE,MAAM;CAClC"} \ No newline at end of file diff --git a/types/DatabaseServices/Tables/BlockTable.d.ts b/types/DatabaseServices/Tables/BlockTable.d.ts deleted file mode 100644 index 98101e1..0000000 --- a/types/DatabaseServices/Tables/BlockTable.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { SymbolTable } from "./SymbolTable"; -export declare class BlockTable extends SymbolTable { -} -//# sourceMappingURL=BlockTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Tables/BlockTable.d.ts.map b/types/DatabaseServices/Tables/BlockTable.d.ts.map deleted file mode 100644 index 25ece3f..0000000 --- a/types/DatabaseServices/Tables/BlockTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BlockTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Tables/BlockTable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBACa,UAAW,SAAQ,WAAW;CAG1C"} \ No newline at end of file diff --git a/types/DatabaseServices/Tables/LayerTable.d.ts b/types/DatabaseServices/Tables/LayerTable.d.ts deleted file mode 100644 index 24ee0c0..0000000 --- a/types/DatabaseServices/Tables/LayerTable.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { CADFiler } from "../CADFiler"; -import { CADObject } from "../CADObject"; -import { ISerialize } from "../ISerialize"; -import { LayerTableRecord } from "../LayerTableRecord"; -import { ObjectId } from "../ObjectId"; -import { SymbolTable } from "./SymbolTable"; -export declare class LayerTable extends SymbolTable { - protected _Current: ObjectId; - get Current(): ObjectId; - set Current(id: ObjectId); - /** 用于描述图层结构的根节点 */ - private _Root; - get Root(): LayerNode; - set Root(root: LayerNode); - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -/** 用于描述图层结构的节点 */ -export declare class LayerNode implements ISerialize { - name: string; - children: LayerNode[]; - constructor(name: string, isHasChildren?: boolean); - ReadFile(f: CADFiler): void; - WriteFile(f: CADFiler): void; -} -/** - * 记录当前id的序列化数据 - */ -export declare class ObjectIdData implements ISerialize { - objectId: ObjectId; - ReadFile(file: CADFiler): this; - WriteFile(file: CADFiler): this; - constructor(objectId: ObjectId); -} -/** 记录树状结构的序列化数据*/ -export declare class ObjectTreeData implements ISerialize { - data: LayerNode; - ReadFile(file: CADFiler): this; - WriteFile(file: CADFiler): this; - constructor(data: LayerNode); -} -//# sourceMappingURL=LayerTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Tables/LayerTable.d.ts.map b/types/DatabaseServices/Tables/LayerTable.d.ts.map deleted file mode 100644 index 767b516..0000000 --- a/types/DatabaseServices/Tables/LayerTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LayerTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Tables/LayerTable.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBACa,UAAW,SAAQ,WAAW;IAEvC,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAE/C,IAAW,OAAO,IAAI,QAAQ,CAAC,gBAAgB,CAAC,CAG/C;IAED,IAAW,OAAO,CAAC,EAAE,EAAE,QAAQ,CAAC,gBAAgB,CAAC,EAehD;IAED,mBAAmB;IACnB,OAAO,CAAC,KAAK,CAA8B;IAE3C,IAAW,IAAI,IAAI,SAAS,CAG3B;IAED,IAAW,IAAI,CAAC,IAAI,EAAE,SAAS,EAc9B;IAIQ,QAAQ,CAAC,IAAI,EAAE,QAAQ;IASvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IASxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAahD;AAED,kBAAkB;AAClB,qBACa,SAAU,YAAW,UAAU;IAIrB,IAAI,EAAE,MAAM;IAF/B,QAAQ,EAAE,SAAS,EAAE,CAAC;gBAEH,IAAI,EAAE,MAAM,EAAE,aAAa,UAAQ;IAMtD,QAAQ,CAAC,CAAC,EAAE,QAAQ;IAgBpB,SAAS,CAAC,CAAC,EAAE,QAAQ;CAYxB;AAED;;GAEG;AACH,qBACa,YAAa,YAAW,UAAU;IAYxB,QAAQ,EAAE,QAAQ;IAVrC,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAK9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;gBAKZ,QAAQ,EAAE,QAAQ;CACxC;AAED,kBAAkB;AAClB,qBACa,cAAe,YAAW,UAAU;IAY1B,IAAI,EAAE,SAAS;IAVlC,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAK9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;gBAKZ,IAAI,EAAE,SAAS;CACrC"} \ No newline at end of file diff --git a/types/DatabaseServices/Tables/MaterialTable.d.ts b/types/DatabaseServices/Tables/MaterialTable.d.ts deleted file mode 100644 index 308c260..0000000 --- a/types/DatabaseServices/Tables/MaterialTable.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { CADFiler } from "../CADFiler"; -import { ObjectId } from "../ObjectId"; -import { PhysicalMaterialRecord } from "../PhysicalMaterialRecord"; -import { SymbolTable } from "./SymbolTable"; -export declare class MaterialTable extends SymbolTable { - protected _CurFloorMtl: ObjectId; - protected _CurWallMtl: ObjectId; - protected _CurDrawMtl: ObjectId; - protected _CurBulkCeilingFaceMaterial: ObjectId; - get CurFloorMtl(): ObjectId; - get CurWallMtl(): ObjectId; - get CurBoardMtl(): ObjectId; - get CurBulkCeilingFaceMaterial(): ObjectId; - set CurFloorMtl(id: ObjectId); - set CurWallMtl(id: ObjectId); - set CurBoardMtl(id: ObjectId); - set CurBulkCeilingFaceMaterial(id: ObjectId); - get Materials(): Map; - Remove(record: PhysicalMaterialRecord): void; - GetAt(name: string): PhysicalMaterialRecord | undefined; - Has(name: string): boolean; - AllocateName(name?: string): string; - Destroy(): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=MaterialTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Tables/MaterialTable.d.ts.map b/types/DatabaseServices/Tables/MaterialTable.d.ts.map deleted file mode 100644 index 11df001..0000000 --- a/types/DatabaseServices/Tables/MaterialTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"MaterialTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Tables/MaterialTable.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,aAAc,SAAQ,WAAW;IAE9B,SAAS,CAAC,YAAY,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IACzD,SAAS,CAAC,WAAW,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IACxD,SAAS,CAAC,WAAW,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IACxD,SAAS,CAAC,2BAA2B,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IAEpF,IAAI,WAAW,qCAAgC;IAC/C,IAAI,UAAU,qCAA+B;IAC7C,IAAI,WAAW,qCAA+B;IAC9C,IAAI,0BAA0B,IA+BK,QAAQ,CAAC,sBAAsB,CAAC,CA/BU;IAE7E,IAAI,WAAW,CAAC,EAAE,kCAAA,EAQjB;IAED,IAAI,UAAU,CAAC,EAAE,kCAAA,EAQhB;IACD,IAAI,WAAW,CAAC,EAAE,kCAAA,EAQjB;IAED,IAAI,0BAA0B,CAAC,EAAE,EAAE,QAAQ,CAAC,sBAAsB,CAAC,EAQlE;IAED,IAAI,SAAS,IAEc,GAAG,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAC7D;IAED,MAAM,CAAC,MAAM,EAAE,sBAAsB;IAOrC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,sBAAsB,GAAG,SAAS;IAKvD,GAAG,CAAC,IAAI,EAAE,MAAM;IAKhB,YAAY,CAAC,IAAI,GAAE,MAAa,GAAG,MAAM;IAKzC,OAAO,IAAI,IAAI;IASN,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAkBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAUpC"} \ No newline at end of file diff --git a/types/DatabaseServices/Tables/SymbolTable.d.ts b/types/DatabaseServices/Tables/SymbolTable.d.ts deleted file mode 100644 index b7a8f7b..0000000 --- a/types/DatabaseServices/Tables/SymbolTable.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Status } from "../../Common/Status"; -import { CADFiler } from "../CADFiler"; -import { CADObject } from "../CADObject"; -import { SymbolTableRecord } from "../SymbolTableRecord"; -export declare class SymbolTable extends CADObject { - /** - * 符号列表,支持迭代,请勿直接修改数据 - */ - Symbols: Map; - Add(record: SymbolTableRecord, isCheckObjectCleanly?: boolean): Status; - Remove(record: SymbolTableRecord): void; - Destroy(): void; - GetAt(name: string): SymbolTableRecord | undefined; - Has(name: string): boolean; - AllocateName(name: string): string; - ChangeRecordName(record: SymbolTableRecord, newName: string): boolean; - protected _FileVer: number; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -//# sourceMappingURL=SymbolTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Tables/SymbolTable.d.ts.map b/types/DatabaseServices/Tables/SymbolTable.d.ts.map deleted file mode 100644 index 463fbce..0000000 --- a/types/DatabaseServices/Tables/SymbolTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SymbolTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Tables/SymbolTable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,qBACa,WAAY,SAAQ,SAAS;IAEtC;;OAEG;IACS,OAAO,iCAAwC;IAE3D,GAAG,CAAC,MAAM,EAAE,iBAAiB,EAAE,oBAAoB,UAAO,GAAG,MAAM;IAgBnE,MAAM,CAAC,MAAM,EAAE,iBAAiB;IAmBvB,OAAO,IAAI,IAAI;IAMxB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAKlD,GAAG,CAAC,IAAI,EAAE,MAAM;IAKhB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAUlC,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO;IAQrE,SAAS,CAAC,QAAQ,SAAK;IAEvB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAoBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAYxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAuBvC"} \ No newline at end of file diff --git a/types/DatabaseServices/Tables/TextureTable.d.ts b/types/DatabaseServices/Tables/TextureTable.d.ts deleted file mode 100644 index 7868530..0000000 --- a/types/DatabaseServices/Tables/TextureTable.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { TextureTableRecord } from "../Texture"; -import { SymbolTable } from "./SymbolTable"; -export declare class TextureTable extends SymbolTable { - AllocateName(): string; - get Textures(): Map; -} -//# sourceMappingURL=TextureTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Tables/TextureTable.d.ts.map b/types/DatabaseServices/Tables/TextureTable.d.ts.map deleted file mode 100644 index 71dfe17..0000000 --- a/types/DatabaseServices/Tables/TextureTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TextureTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Tables/TextureTable.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBACa,YAAa,SAAQ,WAAW;IAEzC,YAAY;IASZ,IAAI,QAAQ,IAAI,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAG9C;CACJ"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TempateThicknessAction.d.ts b/types/DatabaseServices/Template/Action/TempateThicknessAction.d.ts deleted file mode 100644 index 6e5b7f5..0000000 --- a/types/DatabaseServices/Template/Action/TempateThicknessAction.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { ObjectId } from "../../ObjectId"; -import { TemplateAction } from "./TemplateAction"; -export declare enum ThicknessDirection { - Center = 0, - Back = 1, - Front = 2 -} -export interface ThicknessActionData { - Direction: ThicknessDirection; - /** - * 附加的动作 - */ - Actions: TemplateAction[]; -} -/** - * 模版动作 - */ -export declare class TempateThicknessAction extends TemplateAction { - EntityDirectionMap: Map; - protected _Update(paramDiff: number, newValue: number): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TempateThicknessAction.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TempateThicknessAction.d.ts.map b/types/DatabaseServices/Template/Action/TempateThicknessAction.d.ts.map deleted file mode 100644 index 3288368..0000000 --- a/types/DatabaseServices/Template/Action/TempateThicknessAction.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TempateThicknessAction.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Action/TempateThicknessAction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,oBAAY,kBAAkB;IAE1B,MAAM,IAAI;IACV,IAAI,IAAI;IACR,KAAK,IAAI;CACZ;AAED,MAAM,WAAW,mBAAmB;IAGhC,SAAS,EAAE,kBAAkB,CAAC;IAC9B;;OAEG;IACH,OAAO,EAAE,cAAc,EAAE,CAAC;CAC7B;AAED;;GAEG;AACH,qBACa,sBAAuB,SAAQ,cAAc;IAEtD,kBAAkB,EAAE,GAAG,CAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAa;IACnE,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IA2BrD,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAqBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAe3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateAction.d.ts b/types/DatabaseServices/Template/Action/TemplateAction.d.ts deleted file mode 100644 index 9125ad2..0000000 --- a/types/DatabaseServices/Template/Action/TemplateAction.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { TemplateParam } from "../Param/TemplateParam"; -/** - * 模版动作 - */ -export declare class TemplateAction { - Name: string; - /** 表达式应该只能依赖自身 */ - Expr: string; - Description: string; - parent: TemplateParam; - WriteAllObjectRecord(): void; - Update(paramDiff: number | string, newValue: number | string): void; - /** - * @重载 - */ - protected _Update(paramDiff: number | string, newValue: number | string): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateAction.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateAction.d.ts.map b/types/DatabaseServices/Template/Action/TemplateAction.d.ts.map deleted file mode 100644 index c469cd4..0000000 --- a/types/DatabaseServices/Template/Action/TemplateAction.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateAction.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Action/TemplateAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD;;GAEG;AACH,qBACa,cAAc;IAEX,IAAI,EAAE,MAAM,CAAQ;IAChC,kBAAkB;IACN,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IAChC,MAAM,EAAE,aAAa,CAAC;IACtB,oBAAoB;IAKpB,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM;IAgB5D;;OAEG;IACH,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM;IAQvE,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAWvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAO3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateFilletAction.d.ts b/types/DatabaseServices/Template/Action/TemplateFilletAction.d.ts deleted file mode 100644 index 1631ac8..0000000 --- a/types/DatabaseServices/Template/Action/TemplateFilletAction.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { I2DModeling } from "../../Entity/Board"; -import { ExtrudeSolid } from "../../Entity/Extrude"; -import { ObjectId } from "../../ObjectId"; -import { TemplateAction } from "./TemplateAction"; -export interface IGrooveFillet { - Index: number; - ArcParams: number[]; - Grooves?: IGrooveFillet[]; -} -export interface IFilletcActionData { - Entity: ObjectId; - ArcParams: number[]; - Grooves?: IGrooveFillet[]; - Path2D?: IGrooveFillet[]; - ArcSweepPathParams?: number[]; -} -export declare class TemplateFilletAction extends TemplateAction { - FilletDatas: IFilletcActionData[]; - constructor(); - protected _Update(paramDiff: number, newValue: number): void; - protected Fillet(br: ExtrudeSolid | I2DModeling, newValue: number, d: { - ArcParams: number[]; - }): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateFilletAction.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateFilletAction.d.ts.map b/types/DatabaseServices/Template/Action/TemplateFilletAction.d.ts.map deleted file mode 100644 index f18a38a..0000000 --- a/types/DatabaseServices/Template/Action/TemplateFilletAction.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateFilletAction.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Action/TemplateFilletAction.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAS,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,aAAa;IAE1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,kBAAkB;IAE/B,MAAM,EAAE,QAAQ,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;CACjC;AAED,qBACa,oBAAqB,SAAQ,cAAc;IAGpD,WAAW,EAAE,kBAAkB,EAAE,CAAM;;IAOvC,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IA8ErD,SAAS,CAAC,MAAM,CAAC,EAAE,EAAE,YAAY,GAAG,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,EAAE,CAAC;KAAE;IAqD9F,QAAQ,CAAC,IAAI,EAAE,QAAQ;IA4FvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAkD3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateMaterialAction.d.ts b/types/DatabaseServices/Template/Action/TemplateMaterialAction.d.ts deleted file mode 100644 index 3d40230..0000000 --- a/types/DatabaseServices/Template/Action/TemplateMaterialAction.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { Entity } from "../../Entity/Entity"; -import { ObjectId } from "../../ObjectId"; -import { TemplateAction } from "./TemplateAction"; -export declare class TemplateMaterialAction extends TemplateAction { - Entitys: ObjectId[]; - CompositeEntitys: [ObjectId, number[]][]; - ApplyGoodInfo: boolean; - constructor(Entitys?: ObjectId[], CompositeEntitys?: [ObjectId, number[]][], ApplyGoodInfo?: boolean); - protected _Update(paramDiff: number): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateMaterialAction.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateMaterialAction.d.ts.map b/types/DatabaseServices/Template/Action/TemplateMaterialAction.d.ts.map deleted file mode 100644 index 2e4734f..0000000 --- a/types/DatabaseServices/Template/Action/TemplateMaterialAction.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateMaterialAction.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Action/TemplateMaterialAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBACa,sBAAuB,SAAQ,cAAc;IAI3C,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE;IAC3B,gBAAgB,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IAChD,aAAa;gBAFb,OAAO,GAAE,QAAQ,CAAC,MAAM,CAAC,EAAO,EAChC,gBAAgB,GAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,EAAO,EACrD,aAAa,UAAO;cAMZ,OAAO,CAAC,SAAS,EAAE,MAAM;IAsE5C,QAAQ,CAAC,IAAI,EAAE,QAAQ;IA0BvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateMoveAction.d.ts b/types/DatabaseServices/Template/Action/TemplateMoveAction.d.ts deleted file mode 100644 index 9a5f7e0..0000000 --- a/types/DatabaseServices/Template/Action/TemplateMoveAction.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Vector3 } from "three"; -import { CADFiler } from "../../CADFiler"; -import { ObjectId } from "../../ObjectId"; -import { TemplateAction } from "./TemplateAction"; -export declare class TemplateMoveAction extends TemplateAction { - StretchDirection: Vector3; - MoveEntitys: ObjectId[]; - constructor(StretchDirection?: Vector3, MoveEntitys?: ObjectId[]); - protected _CacheMoveVector: Vector3; - protected _Update(paramDiff: number): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateMoveAction.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateMoveAction.d.ts.map b/types/DatabaseServices/Template/Action/TemplateMoveAction.d.ts.map deleted file mode 100644 index 2af11e0..0000000 --- a/types/DatabaseServices/Template/Action/TemplateMoveAction.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateMoveAction.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Action/TemplateMoveAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBACa,kBAAmB,SAAQ,cAAc;IAG/B,gBAAgB;IACxB,WAAW,EAAE,QAAQ,EAAE;gBADf,gBAAgB,UAAc,EACtC,WAAW,GAAE,QAAQ,EAAO;IAMvC,SAAS,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACpC,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM;IAmBnC,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAcvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAS3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateSetSealAction.d.ts b/types/DatabaseServices/Template/Action/TemplateSetSealAction.d.ts deleted file mode 100644 index 8ab3a2b..0000000 --- a/types/DatabaseServices/Template/Action/TemplateSetSealAction.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { Board } from "../../Entity/Board"; -import { ObjectId } from "../../ObjectId"; -import { TemplateAction } from "./TemplateAction"; -/** - * 设置封边动作 - */ -export declare class TemplateSetSealAction extends TemplateAction { - EntitySealIndexsMap: { - entity: ObjectId; - indexs: number[]; - }[]; - protected _Update(diff: number, newV: number): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateSetSealAction.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateSetSealAction.d.ts.map b/types/DatabaseServices/Template/Action/TemplateSetSealAction.d.ts.map deleted file mode 100644 index 4a22595..0000000 --- a/types/DatabaseServices/Template/Action/TemplateSetSealAction.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateSetSealAction.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Action/TemplateSetSealAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;GAEG;AACH,qBACa,qBAAsB,SAAQ,cAAc;IAErD,mBAAmB,EAAE;QACjB,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;QACxB,MAAM,EAAE,MAAM,EAAE,CAAC;KACpB,EAAE,CAAM;cAEU,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAwBrD,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAcvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAW3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateStretchGripAction.d.ts b/types/DatabaseServices/Template/Action/TemplateStretchGripAction.d.ts deleted file mode 100644 index 402a82d..0000000 --- a/types/DatabaseServices/Template/Action/TemplateStretchGripAction.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { ObjectId } from "../../ObjectId"; -import { TemplateMoveAction } from "./TemplateMoveAction"; -/** - * Stretch夹点动作 - */ -export declare class TemplateStretchGripAction extends TemplateMoveAction { - EntityStretchPointMap: { - entity: ObjectId; - indexs: number[]; - }[]; - protected _Update(dist: number): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateStretchGripAction.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateStretchGripAction.d.ts.map b/types/DatabaseServices/Template/Action/TemplateStretchGripAction.d.ts.map deleted file mode 100644 index d413182..0000000 --- a/types/DatabaseServices/Template/Action/TemplateStretchGripAction.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateStretchGripAction.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Action/TemplateStretchGripAction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,qBACa,yBAA0B,SAAQ,kBAAkB;IAE7D,qBAAqB,EAAE;QACnB,MAAM,EAAE,QAAQ,CAAC;QACjB,MAAM,EAAE,MAAM,EAAE,CAAC;KACpB,EAAE,CAAM;IAET,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM;IAe9B,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAcvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAW3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateStretchScaleBoxAction.d.ts b/types/DatabaseServices/Template/Action/TemplateStretchScaleBoxAction.d.ts deleted file mode 100644 index 17eb885..0000000 --- a/types/DatabaseServices/Template/Action/TemplateStretchScaleBoxAction.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Box3, Vector3 } from "three"; -import { CADFiler } from "../../CADFiler"; -import { ObjectId } from "../../ObjectId"; -import { TemplateMoveAction } from "./TemplateMoveAction"; -/** - * 拽拖比例盒子动作 - */ -export declare class TemplateStretchScaleBoxAction extends TemplateMoveAction { - StretchDirection: Vector3; - EntityStretchData: { - entity: ObjectId; - scaleBox: Box3; - }[]; - /** - * 正常不会直接修改下面的2个属性,如果真的需要修改,请调用 `this.WriteAllObjectRecord`; - * 避免历史记录没有记录更新. - */ - constructor(StretchDirection?: Vector3, EntityStretchData?: { - entity: ObjectId; - scaleBox: Box3; - }[]); - protected _Update(dist: number): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -/** - * 拽拖固定大小盒子动作(弃用) - */ -//# sourceMappingURL=TemplateStretchScaleBoxAction.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateStretchScaleBoxAction.d.ts.map b/types/DatabaseServices/Template/Action/TemplateStretchScaleBoxAction.d.ts.map deleted file mode 100644 index 63cfc5f..0000000 --- a/types/DatabaseServices/Template/Action/TemplateStretchScaleBoxAction.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateStretchScaleBoxAction.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Action/TemplateStretchScaleBoxAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,qBACa,6BAA8B,SAAQ,kBAAkB;IAOtD,gBAAgB,EAAE,OAAO;IACzB,iBAAiB,EAAE;QAAE,MAAM,EAAE,QAAQ,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAC;KAAE,EAAE;IANrE;;;MAGE;gBAES,gBAAgB,GAAE,OAAuB,EACzC,iBAAiB,GAAE;QAAE,MAAM,EAAE,QAAQ,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAC;KAAE,EAAO;IAM1E,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM;IA8B9B,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAevB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAY3B;AAED;;GAEG"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateaRadiusAction.d.ts b/types/DatabaseServices/Template/Action/TemplateaRadiusAction.d.ts deleted file mode 100644 index 2c8743c..0000000 --- a/types/DatabaseServices/Template/Action/TemplateaRadiusAction.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { I2DModeling } from "../../Entity/Board"; -import { ExtrudeSolid } from "../../Entity/Extrude"; -import { TemplateFilletAction } from "./TemplateFilletAction"; -export declare enum TempalteActionRadiusType { - Radius = 0, - Bulge = 1,//凸度模式 - Height = 2 -} -export declare class TemplateaRadiusAction extends TemplateFilletAction { - IsBigArc: boolean; - RadiusType: TempalteActionRadiusType; - constructor(radiusType: TempalteActionRadiusType); - protected Fillet(br: ExtrudeSolid | I2DModeling, newValue: number, d: { - ArcParams: number[]; - }): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateaRadiusAction.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Action/TemplateaRadiusAction.d.ts.map b/types/DatabaseServices/Template/Action/TemplateaRadiusAction.d.ts.map deleted file mode 100644 index ab7f894..0000000 --- a/types/DatabaseServices/Template/Action/TemplateaRadiusAction.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateaRadiusAction.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Action/TemplateaRadiusAction.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAiB9D,oBAAY,wBAAwB;IAEhC,MAAM,IAAI;IACV,KAAK,IAAI,CAAC,MAAM;IAChB,MAAM,IAAI;CACb;AAGD,qBACa,qBAAsB,SAAQ,oBAAoB;IAE/C,QAAQ,UAAS;IACjB,UAAU,2BAAmC;gBAE7C,UAAU,EAAE,wBAAwB;cAO7B,MAAM,CAAC,EAAE,EAAE,YAAY,GAAG,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,EAAE,CAAC;KAAE;IA6DvG,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAiBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAQ3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Param/TemplateParam.d.ts b/types/DatabaseServices/Template/Param/TemplateParam.d.ts deleted file mode 100644 index 0f6ea6b..0000000 --- a/types/DatabaseServices/Template/Param/TemplateParam.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { PhysicalMaterialRecord } from "../../PhysicalMaterialRecord"; -import { TemplateAction } from "../Action/TemplateAction"; -import { TemplateRecord } from "../TemplateRecord"; -import { TemplateParamType } from "./TemplateParamType"; -/** - * 模版参数 - */ -export declare class TemplateParam { - /** - * 变量名称 - * 命名规范(同js) 并且 禁止前缀`_`,`$`. - */ - name: string; - /** 表达式 使用js引起求值(暂时) */ - expr: string | number; - /** - * 设置参数的值,通常在模版设计中可以这么干 - * 如果需要更新参数的动作,那么应该调用 UpdateParam - */ - value: string | number; - default: string | number; - description: string; - type: TemplateParamType; - min: number; - max: number; - option: any[]; - actions: TemplateAction[]; - parent: TemplateRecord; - isLock: boolean; - MaterialValue: PhysicalMaterialRecord; - constructor(); - WriteAllObjectRecord(): void; - /** - * private:仅供内部调用. - * 更新参数值,并且触发动作. - */ - UpdateParam(value: string | number): void; - /** - * 计算表达式的值并更新 - * @param vardefines 变量定义列表 - * @param paramMap 所有的参数列表.(可能我们需要依赖更新它) - */ - EvalUpdate(vardefines: Object, paramMap: Map, evaled: Set, update?: boolean): number; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateParam.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Param/TemplateParam.d.ts.map b/types/DatabaseServices/Template/Param/TemplateParam.d.ts.map deleted file mode 100644 index 3266af9..0000000 --- a/types/DatabaseServices/Template/Param/TemplateParam.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateParam.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Param/TemplateParam.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG1D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD;;GAEG;AACH,qBACa,aAAa;IAEtB;;;OAGG;IACS,IAAI,EAAE,MAAM,CAAC;IACzB,uBAAuB;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,CAAM;IACvC;;;OAGG;IACS,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,iBAAiB,CAA2B;IAClD,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IAEZ,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,MAAM,EAAE,cAAc,CAAC;IACvB,MAAM,UAAS;IAG3B,aAAa,EAAE,sBAAsB,CAAC;;IAyBtC,oBAAoB;IAMpB;;;OAGG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IA4ClC;;;;OAIG;IACH,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,aAAa,CAAC,EAAE,MAAM,UAAO,GAAG,MAAM;IA8EvH,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAqBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAkB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Param/TemplateParamType.d.ts b/types/DatabaseServices/Template/Param/TemplateParamType.d.ts deleted file mode 100644 index 44c41da..0000000 --- a/types/DatabaseServices/Template/Param/TemplateParamType.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * 模版参数类型 - */ -export declare enum TemplateParamType { - String = 0, - Float = 1, - Int = 2, - Enum = 3, - Material = 4 -} -//# sourceMappingURL=TemplateParamType.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Param/TemplateParamType.d.ts.map b/types/DatabaseServices/Template/Param/TemplateParamType.d.ts.map deleted file mode 100644 index c8616fa..0000000 --- a/types/DatabaseServices/Template/Param/TemplateParamType.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateParamType.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Param/TemplateParamType.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,iBAAiB;IAEzB,MAAM,IAAI;IACV,KAAK,IAAI;IACT,GAAG,IAAI;IACP,IAAI,IAAI;IACR,QAAQ,IAAI;CACf"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/Positioning.d.ts b/types/DatabaseServices/Template/Positioning/Positioning.d.ts deleted file mode 100644 index 14ee97a..0000000 --- a/types/DatabaseServices/Template/Positioning/Positioning.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Matrix4, Vector3 } from "three"; -import { CADFiler } from "../../CADFiler"; -import { ISerialize } from "../../ISerialize"; -import { ObjectId } from "../../ObjectId"; -import { TemplateRecord } from "../TemplateRecord"; -export interface PositioningParam { - objects?: ObjectId[]; - index?: number; - count?: number; -} -/** - * 模版定位信息(基类) - */ -export declare abstract class Positioning implements ISerialize { - SpaceCS: Matrix4; - SpaceSize: Vector3; - /** - * 定位 (更新 SpaceCS SpaceBox SpaceSize) - */ - Positioning(param?: PositioningParam): Promise; - parent: TemplateRecord; - WriteAllObjectRecord(): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Positioning.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/Positioning.d.ts.map b/types/DatabaseServices/Template/Positioning/Positioning.d.ts.map deleted file mode 100644 index 4c743c0..0000000 --- a/types/DatabaseServices/Template/Positioning/Positioning.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Positioning.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Positioning/Positioning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,gBAAgB;IAE7B,OAAO,CAAC,EAAE,QAAQ,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD;;GAEG;AACH,8BACsB,WAAY,YAAW,UAAU;IAEnD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACG,WAAW,CAAC,KAAK,CAAC,EAAE,gBAAgB;IAK1C,MAAM,EAAE,cAAc,CAAC;IACvB,oBAAoB;IAMpB,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAK9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;CAIlC"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningBoardSpace.d.ts b/types/DatabaseServices/Template/Positioning/PositioningBoardSpace.d.ts deleted file mode 100644 index 21a76eb..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningBoardSpace.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { Board } from "../../Entity/Board"; -import { ObjectId } from "../../ObjectId"; -import { Positioning } from "./Positioning"; -export declare class PositioningBoardSpace extends Positioning { - ObjectId: ObjectId; - /** - * 定位 - */ - Positioning(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=PositioningBoardSpace.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningBoardSpace.d.ts.map b/types/DatabaseServices/Template/Positioning/PositioningBoardSpace.d.ts.map deleted file mode 100644 index 6eb50d0..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningBoardSpace.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PositioningBoardSpace.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Positioning/PositioningBoardSpace.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBACa,qBAAsB,SAAQ,WAAW;IAEtC,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtC;;MAEE;IACI,WAAW;IAcjB,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAM9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;CAOlC"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningClampSpace.d.ts b/types/DatabaseServices/Template/Positioning/PositioningClampSpace.d.ts deleted file mode 100644 index 10d9842..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningClampSpace.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { ClampSpaceParse } from "../../../Geometry/SpaceParse/ClampSpaceParse"; -import { ClampSpaceParseFix } from "../../../Geometry/SpaceParse/ClampSpaceParseFix"; -import { CADFiler } from "../../CADFiler"; -import { Entity } from "../../Entity/Entity"; -import { ObjectId } from "../../ObjectId"; -import { Positioning, PositioningParam } from "./Positioning"; -export declare class PositioningClampSpace extends Positioning { - Objects: ObjectId[]; - SelectBoxIndex: number[]; - SignalDist: number; - FromSpaceParse(parse: ClampSpaceParse): void; - _SpaceParse: ClampSpaceParseFix; - /** - * 定位 - */ - Positioning(param?: PositioningParam): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=PositioningClampSpace.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningClampSpace.d.ts.map b/types/DatabaseServices/Template/Positioning/PositioningClampSpace.d.ts.map deleted file mode 100644 index cc3bfe7..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningClampSpace.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PositioningClampSpace.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Positioning/PositioningClampSpace.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAGrF,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE9D,qBACa,qBAAsB,SAAQ,WAAW;IAEtC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAM;IAGjC,cAAc,EAAE,MAAM,EAAE,CAAa;IACrC,UAAU,SAAO;IAE7B,cAAc,CAAC,KAAK,EAAE,eAAe;IAQrC,WAAW,EAAE,kBAAkB,CAAC;IAChC;;MAEE;IACI,WAAW,CAAC,KAAK,CAAC,EAAE,gBAAgB;IAyB1C,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAe9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;CAYlC"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningFixed.d.ts b/types/DatabaseServices/Template/Positioning/PositioningFixed.d.ts deleted file mode 100644 index 6ce4c18..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningFixed.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { Positioning } from "./Positioning"; -export declare class PositioningFixed extends Positioning { - Positioning(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=PositioningFixed.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningFixed.d.ts.map b/types/DatabaseServices/Template/Positioning/PositioningFixed.d.ts.map deleted file mode 100644 index 10d5aab..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningFixed.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PositioningFixed.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Positioning/PositioningFixed.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBACa,gBAAiB,SAAQ,WAAW;IAE9B,WAAW;IAK1B,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAa9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;CAWlC"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningHandleSpace.d.ts b/types/DatabaseServices/Template/Positioning/PositioningHandleSpace.d.ts deleted file mode 100644 index c97df06..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningHandleSpace.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { Board } from "../../Entity/Board"; -import { HardwareCompositeEntity } from "../../Hardware/HardwareCompositeEntity"; -import { ObjectId } from "../../ObjectId"; -import { Positioning } from "./Positioning"; -/** - * 拉手的定位空间 - */ -export declare class PositioningHandleSpace extends Positioning { - constructor(_ObjectId?: ObjectId); - ObjectId: ObjectId; - /** - * 定位 - */ - Positioning(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=PositioningHandleSpace.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningHandleSpace.d.ts.map b/types/DatabaseServices/Template/Positioning/PositioningHandleSpace.d.ts.map deleted file mode 100644 index f179d70..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningHandleSpace.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PositioningHandleSpace.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Positioning/PositioningHandleSpace.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C;;GAEG;AACH,qBACa,sBAAuB,SAAQ,WAAW;gBAEvC,SAAS,CAAC,EAAE,QAAQ,CAAC,KAAK,GAAG,uBAAuB,CAAC;IAMrD,QAAQ,EAAE,QAAQ,CAAC,KAAK,GAAG,uBAAuB,CAAC,CAAC;IAChE;;MAEE;IACI,WAAW;IAmBjB,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAM9B,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;CAOlC"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningTemporary.d.ts b/types/DatabaseServices/Template/Positioning/PositioningTemporary.d.ts deleted file mode 100644 index aa723b5..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningTemporary.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Positioning } from "./Positioning"; -/** - * 临时定位 - * 在首次绘制时使用2点3点空间时通常不能使用定位,使用临时定位设置给模块后,模块在第一次使用后清空定位. - */ -export declare class PositioningTemporary extends Positioning { -} -//# sourceMappingURL=PositioningTemporary.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/Positioning/PositioningTemporary.d.ts.map b/types/DatabaseServices/Template/Positioning/PositioningTemporary.d.ts.map deleted file mode 100644 index b77ab28..0000000 --- a/types/DatabaseServices/Template/Positioning/PositioningTemporary.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PositioningTemporary.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/Positioning/PositioningTemporary.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;GAGG;AACH,qBACa,oBAAqB,SAAQ,WAAW;CAGpD"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateArcWindowRecord.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateArcWindowRecord.d.ts deleted file mode 100644 index da486c0..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateArcWindowRecord.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { CADObject } from "../../CADObject"; -import { ObjectId } from "../../ObjectId"; -import { RoomHolePolyline } from "../../Room/Entity/Wall/Hole/RoomHolePolyline"; -import { TemplateRecord } from "../TemplateRecord"; -/** - * 弧形窗 - */ -export declare class TemplateArcWindowRecord extends TemplateRecord { - constructor(); - HoleObjectId: ObjectId; - ArcWallIndex: number; - InitWindowFrame(hole: RoomHolePolyline, arcWallIndex: number): void; - protected Update(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -//# sourceMappingURL=TemplateArcWindowRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateArcWindowRecord.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateArcWindowRecord.d.ts.map deleted file mode 100644 index c384df6..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateArcWindowRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateArcWindowRecord.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateArcWindowRecord.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAQ5C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAEhF,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;GAEG;AACH,qBACa,uBAAwB,SAAQ,cAAc;;IAQ3C,YAAY,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACzC,YAAY,EAAE,MAAM,CAAC;IAEjC,eAAe,CAAC,IAAI,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM;cA2D5C,MAAM;IAmKb,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAQvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IASxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAKhD"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateBehindBoard.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateBehindBoard.d.ts deleted file mode 100644 index 0fca622..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateBehindBoard.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ISpaceParse } from "../../../Geometry/SpaceParse/ISpaceParse"; -import { BehindBoardOption, IGrooveOption } from "../../../UI/Store/OptionInterface/IOptionInterface"; -import { CADFiler } from "../../CADFiler"; -import { TemplateBoardRecord } from "./TemplateBoard"; -/** - * 背板模板 - */ -export declare class TemplateBehindBoard extends TemplateBoardRecord { - protected _option: BehindBoardOption; - private grooveoption; - constructor(); - set Grooveoption(option: IGrooveOption); - get Option(): BehindBoardOption; - set Option(option: BehindBoardOption); - GeneralBoardList(space: ISpaceParse): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateBehindBoard.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateBehindBoard.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateBehindBoard.d.ts.map deleted file mode 100644 index 71097c7..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateBehindBoard.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateBehindBoard.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateBehindBoard.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAEtG,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,qBACa,mBAAoB,SAAQ,mBAAmB;IAExD,SAAS,CAAC,OAAO,EAAE,iBAAiB,CAAmC;IACvE,OAAO,CAAC,YAAY,CAKlB;;IAMF,IAAI,YAAY,CAAC,MAAM,EAAE,aAAa,EAIrC;IACD,IAAI,MAAM,IAUS,iBAAiB,CADnC;IACD,IAAI,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAWnC;IAEK,gBAAgB,CAAC,KAAK,EAAE,WAAW;IAsBzC,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAqCvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CA2B3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateBoard.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateBoard.d.ts deleted file mode 100644 index 6671574..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateBoard.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { ISpaceParse } from "../../../Geometry/SpaceParse/ISpaceParse"; -import { BoardProcessOption } from "../../../UI/Store/OptionInterface/BoardProcessOption"; -import { BoardConfigOption, IGrooveOption } from "../../../UI/Store/OptionInterface/IOptionInterface"; -import { CADFiler } from "../../CADFiler"; -import { Board } from "../../Entity/Board"; -import { ObjectId } from "../../ObjectId"; -import { TemplateRecord } from "../TemplateRecord"; -/** - * 板件模板的基类.(层板,立板,背板) - */ -export declare class TemplateBoardRecord extends TemplateRecord { - UseBoardProcessOption: boolean; - BoardProcessOption: BoardProcessOption; - DrawBoardCount: number; - protected IntersectSpaceEntitys: Set; - protected IntersectHighDrill: string[]; - protected _option: BoardConfigOption; - get Option(): BoardConfigOption; - set Option(option: BoardConfigOption); - set GrooveOption(option: IGrooveOption); - protected GeneralBoardList(space: ISpaceParse): Promise; - Purge(): void; - protected Update(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateBoard.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateBoard.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateBoard.d.ts.map deleted file mode 100644 index ea708ad..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateBoard.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateBoard.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateBoard.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAGtG,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;GAEG;AACH,qBACa,mBAAoB,SAAQ,cAAc;IAGnD,qBAAqB,UAAS;IAC9B,kBAAkB,EAAE,kBAAkB,CAAC;IAE3B,cAAc,SAAK;IAG/B,SAAS,CAAC,qBAAqB,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;IAE/C,SAAS,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAEvC,SAAS,CAAC,OAAO,EAAE,iBAAiB,CAAC;IAMrC,IAAI,MAAM,IAIS,iBAAiB,CADnC;IACD,IAAI,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAKnC;IAED,IAAI,YAAY,CAAC,MAAM,EAAE,aAAa,EAAK;cAE3B,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;IAKtE,KAAK;cAOW,MAAM;IA+ItB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAMvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAM3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateEntityRef.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateEntityRef.d.ts deleted file mode 100644 index 55f3217..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateEntityRef.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { TemplateRecord } from "../TemplateRecord"; -/** - * 来用包裹EntityRef 使他们自动成为一个模块 - */ -export declare class TemplateEntityRef extends TemplateRecord { - InitBaseParams(): this; - protected Update(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateEntityRef.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateEntityRef.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateEntityRef.d.ts.map deleted file mode 100644 index 58163ba..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateEntityRef.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateEntityRef.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateEntityRef.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;GAEG;AACH,qBACa,iBAAkB,SAAQ,cAAc;IAGjD,cAAc,IAAI,IAAI;cAoBN,MAAM;IA2BtB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAMvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAM3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateLatticeRecord.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateLatticeRecord.d.ts deleted file mode 100644 index 34f9872..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateLatticeRecord.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { ILatticeOption } from "../../../UI/Store/LatticeInterface"; -import { CADFiler } from "../../CADFiler"; -import { TemplateRecord } from "../TemplateRecord"; -export declare class TemplateLatticeRecord extends TemplateRecord { - private option; - constructor(); - get Option(): ILatticeOption; - set Option(option: ILatticeOption); - protected Update(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateLatticeRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateLatticeRecord.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateLatticeRecord.d.ts.map deleted file mode 100644 index 6469e60..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateLatticeRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateLatticeRecord.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateLatticeRecord.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBACa,qBAAsB,SAAQ,cAAc;IAErD,OAAO,CAAC,MAAM,CAA+C;;IAM7D,IAAI,MAAM,IAIS,cAAc,CADhC;IACD,IAAI,MAAM,CAAC,MAAM,EAAE,cAAc,EAKhC;cAQe,MAAM;IAkEtB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IA4CvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAsC3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateLayerBoard.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateLayerBoard.d.ts deleted file mode 100644 index 1eecee2..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateLayerBoard.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { ISpaceParse } from "../../../Geometry/SpaceParse/ISpaceParse"; -import { IGrooveOption, LayerBoardOption, LayerNailOption } from "../../../UI/Store/OptionInterface/IOptionInterface"; -import { CADFiler } from "../../CADFiler"; -import { Board } from "../../Entity/Board"; -import { ObjectId } from "../../ObjectId"; -import { TemplateBoardRecord } from "./TemplateBoard"; -/** - * 层板模板 - */ -export declare class TemplateLayerBoard extends TemplateBoardRecord { - constructor(); - protected _option: LayerBoardOption; - private _nailOption; - private grooveOption; - get Option(): LayerBoardOption; - set Option(option: LayerBoardOption); - IntersectSpaceEntitys: Set; - IntersectHighDrill: string[]; - set GrooveOption(option: IGrooveOption); - get NailOption(): LayerNailOption; - set NailOption(nailOpt: LayerNailOption); - GeneralBoardList(space: ISpaceParse): Promise; - protected Update(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateLayerBoard.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateLayerBoard.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateLayerBoard.d.ts.map deleted file mode 100644 index 2982f79..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateLayerBoard.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateLayerBoard.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateLayerBoard.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AAEtH,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,qBACa,kBAAmB,SAAQ,mBAAmB;;IAOvD,SAAS,CAAC,OAAO,EAAE,gBAAgB,CAAkC;IACrE,OAAO,CAAC,WAAW,CAA6C;IAChE,OAAO,CAAC,YAAY,CAKlB;IACF,IAAI,MAAM,IAWS,gBAAgB,CAFlC;IAED,IAAI,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAWlC;IAGD,qBAAqB,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAa;IACjD,kBAAkB,EAAE,MAAM,EAAE,CAAM;IAClC,IAAI,YAAY,CAAC,MAAM,EAAE,aAAa,EAIrC;IACD,IAAI,UAAU,IAIU,eAAe,CADtC;IACD,IAAI,UAAU,CAAC,OAAO,EAAE,eAAe,EAItC;IAEK,gBAAgB,CAAC,KAAK,EAAE,WAAW;cAuBzB,MAAM;IAyBtB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IA+EvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAkD3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateLeftRightBoardRecord.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateLeftRightBoardRecord.d.ts deleted file mode 100644 index 76ba64c..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateLeftRightBoardRecord.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { TemplateRecord } from "../TemplateRecord"; -/** - * 左右侧板模板 - */ -export declare class TemplateLeftRightBoardRecord extends TemplateRecord { - constructor(); - InitBaseParams(): this; - protected UpdateEntitys(): void; - ReadFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateLeftRightBoardRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateLeftRightBoardRecord.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateLeftRightBoardRecord.d.ts.map deleted file mode 100644 index bb01275..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateLeftRightBoardRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateLeftRightBoardRecord.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateLeftRightBoardRecord.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;GAEG;AACH,qBACa,4BAA6B,SAAQ,cAAc;;IAO5D,cAAc;cAmBK,aAAa;IAmChC,QAAQ,CAAC,IAAI,EAAE,QAAQ;CAwB1B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateRoomDoorRecord.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateRoomDoorRecord.d.ts deleted file mode 100644 index 1fa3790..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateRoomDoorRecord.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { CADObject } from "../../CADObject"; -import { ObjectId } from "../../ObjectId"; -import { RoomHolePolyline } from "../../Room/Entity/Wall/Hole/RoomHolePolyline"; -import { TemplateRecord } from "../TemplateRecord"; -/** - * 房门模块建模 - * 禁止使用板来建模(因为板会被倒角) - * 默认左侧为门铰链位置 右边为门把手位置 - * 需要提供门开启旋转轴(门铰链所在的位置) - * 移动门外开时门位置的移动动作 所需的移动值?(用于旋转轴的切换?) - * - */ -export declare class TemplateRoomDoorRecord extends TemplateRecord { - HoleObjectId: ObjectId; - DoorLogo: string; - IsMirror: boolean; - IsReverse: boolean; - constructor(); - InitHoleParams(): this; - protected Update(): Promise; - Reverse(): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -//# sourceMappingURL=TemplateRoomDoorRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateRoomDoorRecord.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateRoomDoorRecord.d.ts.map deleted file mode 100644 index 67f5c2c..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateRoomDoorRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateRoomDoorRecord.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateRoomDoorRecord.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAEhF,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD;;;;;;;GAOG;AAGH,qBACa,sBAAuB,SAAQ,cAAc;IAE1C,YAAY,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACzC,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,UAAS;IAEjB,SAAS,UAAS;;IAQ9B,cAAc;cAOW,MAAM;IA4C/B,OAAO;IAwBE,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAoBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAcxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAKhD"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateSizeBoard.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateSizeBoard.d.ts deleted file mode 100644 index 32f80aa..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateSizeBoard.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { TemplateRecord } from "../TemplateRecord"; -export declare class TemplateSizeBoard extends TemplateRecord { - protected Update(): Promise; -} -//# sourceMappingURL=TemplateSizeBoard.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateSizeBoard.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateSizeBoard.d.ts.map deleted file mode 100644 index 3171d84..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateSizeBoard.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateSizeBoard.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateSizeBoard.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBACa,iBAAkB,SAAQ,cAAc;cAEjC,MAAM;CA6BzB"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateTopBottomBoard.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateTopBottomBoard.d.ts deleted file mode 100644 index fa3083f..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateTopBottomBoard.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { BoardProcessOption } from "../../../UI/Store/OptionInterface/BoardProcessOption"; -import { TBBoardOption } from "../../../UI/Store/OptionInterface/IOptionInterface"; -import { CADFiler } from "../../CADFiler"; -import { TemplateRecord } from "../TemplateRecord"; -/**顶底板模板 */ -export declare class TemplateTopBottomBoard extends TemplateRecord { - private _topOption; - private _bottomOption; - UseBoardProcessOption: boolean; - BoardProcessOption: BoardProcessOption; - isChangeBigHole: boolean; - DrawCounts: [number, number, number]; - constructor(); - get TopOption(): TBBoardOption; - set TopOption(option: TBBoardOption); - get BottomOption(): TBBoardOption; - set BottomOption(option: TBBoardOption); - protected Update(): Promise; - private SetBoardProcess; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateTopBottomBoard.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateTopBottomBoard.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateTopBottomBoard.d.ts.map deleted file mode 100644 index f40df71..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateTopBottomBoard.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateTopBottomBoard.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateTopBottomBoard.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAGnF,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,WAAW;AACX,qBACa,sBAAuB,SAAQ,cAAc;IAEtD,OAAO,CAAC,UAAU,CAA+C;IACjE,OAAO,CAAC,aAAa,CAAkD;IACvE,qBAAqB,UAAS;IAC9B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,eAAe,UAAS;IACZ,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAa;;IAM7D,IAAI,SAAS,IAIS,aAAa,CADlC;IACD,IAAI,SAAS,CAAC,MAAM,EAAE,aAAa,EAKlC;IACD,IAAI,YAAY,IAIS,aAAa,CADrC;IACD,IAAI,YAAY,CAAC,MAAM,EAAE,aAAa,EAIrC;cAQe,MAAM;IA4HtB,OAAO,CAAC,eAAe;IA4BvB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IA2CvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAwC3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateVerticalBoard.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateVerticalBoard.d.ts deleted file mode 100644 index e8df438..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateVerticalBoard.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ISpaceParse } from "../../../Geometry/SpaceParse/ISpaceParse"; -import { IGrooveOption, VerticalBoardOption } from "../../../UI/Store/OptionInterface/IOptionInterface"; -import { CADFiler } from "../../CADFiler"; -import { ObjectId } from "../../ObjectId"; -import { TemplateBoardRecord } from "./TemplateBoard"; -/** - * 立板模板 - */ -export declare class TemplateVerticalBoard extends TemplateBoardRecord { - constructor(); - protected _option: VerticalBoardOption; - private grooveOption; - set GrooveOption(option: IGrooveOption); - get Option(): VerticalBoardOption; - set Option(option: VerticalBoardOption); - IntersectSpaceEntitys: Set; - IntersectHighDrill: string[]; - GeneralBoardList(space: ISpaceParse): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateVerticalBoard.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateVerticalBoard.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateVerticalBoard.d.ts.map deleted file mode 100644 index 732045d..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateVerticalBoard.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateVerticalBoard.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateVerticalBoard.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAExG,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD;;GAEG;AACH,qBACa,qBAAsB,SAAQ,mBAAmB;;IAO1D,SAAS,CAAC,OAAO,EAAE,mBAAmB,CAAqC;IAC3E,OAAO,CAAC,YAAY,CAKlB;IACF,IAAI,YAAY,CAAC,MAAM,EAAE,aAAa,EAIrC;IAED,IAAI,MAAM,IAUS,mBAAmB,CADrC;IACD,IAAI,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAWrC;IAGD,qBAAqB,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAa;IACjD,kBAAkB,EAAE,MAAM,EAAE,CAAM;IAE5B,gBAAgB,CAAC,KAAK,EAAE,WAAW;IAuBzC,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAqFvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAoC3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateVisualSpace.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateVisualSpace.d.ts deleted file mode 100644 index 272ec04..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateVisualSpace.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { TemplateRecord } from "../TemplateRecord"; -export declare class TemplateVisualSpace extends TemplateRecord { - IsVisible: boolean; - constructor(); - protected Update(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateVisualSpace.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateVisualSpace.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateVisualSpace.d.ts.map deleted file mode 100644 index 55fec36..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateVisualSpace.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateVisualSpace.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateVisualSpace.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBACa,mBAAoB,SAAQ,cAAc;IAEvC,SAAS,UAAQ;;cAOb,MAAM;IAuCtB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAOvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAY3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateWindowRecord.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateWindowRecord.d.ts deleted file mode 100644 index 972363d..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateWindowRecord.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { CADFiler } from "../../CADFiler"; -import { CADObject } from "../../CADObject"; -import { ObjectId } from "../../ObjectId"; -import { RoomHolePolyline } from "../../Room/Entity/Wall/Hole/RoomHolePolyline"; -import { TemplateRecord } from "../TemplateRecord"; -export declare class TemplateWindowRecord extends TemplateRecord { - HoleObjectId: ObjectId; - CTSId: ObjectId; - LeftIsWall: boolean; - RightIsWall: boolean; - WindowLogo: string; - LeftWindowLogo: string; - RightWindowLogo: string; - LeftWindowTemplateId: string; - RightWindowTemplateId: string; - constructor(); - InitHoleParams(): this; - set WpDist(v: number[]); - get WpDists(): number[]; - protected Update(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - ApplyPartialUndo(undoData: CADObject): void; -} -//# sourceMappingURL=TemplateWindowRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateWindowRecord.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateWindowRecord.d.ts.map deleted file mode 100644 index ccdb7d7..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateWindowRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateWindowRecord.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateWindowRecord.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAKhF,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAgEnD,qBACa,oBAAqB,SAAQ,cAAc;IAExC,YAAY,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAEzC,KAAK,EAAE,QAAQ,CAAC;IAChB,UAAU,UAAS;IACnB,WAAW,UAAS;IAEpB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IAExB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,MAAM,CAAC;;IAQ1C,cAAc;IAwBd,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,EAkBrB;IAED,IAAI,OAAO,IAAI,MAAM,EAAE,CA6BtB;cAEwB,MAAM;IAgLtB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAwBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAqBxB,gBAAgB,CAAC,QAAQ,EAAE,SAAS;CAKhD"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateWineRackRecord.d.ts b/types/DatabaseServices/Template/ProgramTempate/TemplateWineRackRecord.d.ts deleted file mode 100644 index 43daa4d..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateWineRackRecord.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IWineRackOption } from "../../../UI/Store/WineRackInterface"; -import { CADFiler } from "../../CADFiler"; -import { TemplateRecord } from "../TemplateRecord"; -export declare class TemplateWineRackRecord extends TemplateRecord { - private option; - constructor(); - get Option(): IWineRackOption; - set Option(option: IWineRackOption); - protected Update(): Promise; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateWineRackRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/ProgramTempate/TemplateWineRackRecord.d.ts.map b/types/DatabaseServices/Template/ProgramTempate/TemplateWineRackRecord.d.ts.map deleted file mode 100644 index a33228c..0000000 --- a/types/DatabaseServices/Template/ProgramTempate/TemplateWineRackRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateWineRackRecord.d.ts","sourceRoot":"","sources":["../../../../../src/DatabaseServices/Template/ProgramTempate/TemplateWineRackRecord.ts"],"names":[],"mappings":"AAQA,OAAO,EAAiB,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAErF,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBACa,sBAAuB,SAAQ,cAAc;IAEtD,OAAO,CAAC,MAAM,CAAiD;;IAM/D,IAAI,MAAM,IAIS,eAAe,CADjC;IACD,IAAI,MAAM,CAAC,MAAM,EAAE,eAAe,EAKjC;cACe,MAAM;IAmDtB,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAmDvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CA4C3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/TemplateRecord.d.ts b/types/DatabaseServices/Template/TemplateRecord.d.ts deleted file mode 100644 index 58d12dd..0000000 --- a/types/DatabaseServices/Template/TemplateRecord.d.ts +++ /dev/null @@ -1,167 +0,0 @@ -import { Matrix4, Vector3 } from "three"; -import { ISpaceParse } from "../../Geometry/SpaceParse/ISpaceParse"; -import { CADFiler } from "../CADFiler"; -import { Board } from "../Entity/Board"; -import { Entity } from "../Entity/Entity"; -import { ObjectId } from "../ObjectId"; -import { SymbolTableRecord } from "../SymbolTableRecord"; -import { TemplateParam } from "./Param/TemplateParam"; -import { Positioning } from "./Positioning/Positioning"; -import { TemplateSplitType, TemplateType } from "./TemplateType"; -export declare const TempateDefaultParamCount: number; -/** - * ### 模板记录 - * 模版与实体总是互相关联的,所以添加实体进入模版的时候,应该保证这个记录已经加入到数据库 - * - * 保留参数名称列表: L W H RX RY RZ X Y Z - * 保留参数前缀: _ $ - * - * #### 批量修改参数值. - * 程序应该只传入expr的值,(禁止直接编辑value).传入后,交由模版进行计算更新. - * 模版内部消化,决定是否保留expr.(当纯数字将被直接计算成value而不保存expr). - * - * 由于`DIV`变量的计算机制,`LWH`变量将不能依赖同层变量,(这可能会导致一些错误) - * - * 当模块节点处于切割空间内时,如果想重新绑定空间,那么空间树的位置将发生变更(实际上不管是不是在切割空间内,空间位置都可能发生变更) - * - */ -export declare class TemplateRecord extends SymbolTableRecord { - Type: TemplateType; - SplitType: TemplateSplitType; - private _Parent; - Children: ObjectId[]; - EffectTemplates: ObjectId[]; - Params: TemplateParam[]; - Objects: ObjectId[]; - private _Positioning; - isExpanded: boolean; - constructor(); - get Name(): string; - set Name(name: string); - get Parent(): ObjectId; - set Parent(id: ObjectId); - get Root(): TemplateRecord; - get IsRoot(): boolean; - get Entitys(): Entity[]; - get AllEntitys(): Entity[]; - GetProperty(p: TemplateType): boolean; - SetProperty(p: TemplateType, v: boolean): void; - get IsClear(): boolean; - set IsClear(isClear: boolean); - get IsSign(): boolean; - set IsSign(isSign: boolean); - get IsHidden(): boolean; - set IsHidden(isHidden: boolean); - get IsHiddenChildren(): boolean; - set IsHiddenChildren(isHidden: boolean); - Purge(): void; - Traverse(callback: (arg0: this) => void): void; - TraverseAsync(callback: (arg0: this) => Promise): Promise; - private _NodeDepthCache; - /** 节点深度,根节点=0 */ - get NodeDepth(): number; - get NodeIndex(): number; - /** 模版定位 */ - get Positioning(): Positioning; - /** - * 当存在夹层空间定位时,辅助定位表达式将使用夹层空间作为相对空间. - */ - set Positioning(p: Positioning); - /** 初始化基础参数 */ - InitBaseParams(): this; - get LParam(): TemplateParam; - get WParam(): TemplateParam; - get HParam(): TemplateParam; - get PXParam(): TemplateParam; - get PYParam(): TemplateParam; - get PZParam(): TemplateParam; - get RXParam(): TemplateParam; - get RYParam(): TemplateParam; - get RZParam(): TemplateParam; - GetParam(paramName: string): TemplateParam | undefined; - SetParamExpr(paramName: string, expr: string | number): void; - DeleteParam(paramName: string): this; - /** - * 通常UI操作的时候,都需要更新整个树,所以隐藏这个API. - * see `UpdateTemplateTree` - * - * 更新当前节点 - * - * ### 定位 (大小,方位) - * - * - (放弃)如果当前节点是更新树的最高层(但当前节点不是根节点) - * 那么当存在夹层空间定位的时候,可以不重复进行夹层空间定位,因为此时该空间不会发生变化. - * 补充:如果夹层空间的板件都在上层,那么可以做这个优化,如果定位的板件没在模块中,那么不能进行这个优化. - * - * - [更新优先]在没有实现变量依赖收集(类似mobx)时,我们认为`positioning`的优先级最高. - * 所以`positioning`会被优先更新. `LWH`,`XYZ`. - * - * - 在使用变量定位时,需要传入上层的坐标系,以便进行相对定位. - * 使用空间分析时,已经不需要上层坐标系. - * - * - 辅助定位:帮助空间坐标系进行旋转 - * 辅助定位的参数变量将暴露出来.{RX RY RZ} - * 辅助定位作为参数变量时,用户使用值时很难正确的计算值,应~加入交互选择.(辅助计算) - * - * ### 变量表达式计算 - * - * - `LWH`将被`positioning`替代,但变量定义仍然正常存在. - * - * - 变量大部分时候都是被批量更新,(同时传入许多参数). - * - */ - protected Update(): Promise; - protected UpdateEntitys(): void; - /** - * 使用PXPYPZ更新空间位置 - */ - private UpdatePosition; - /** - * 旋转空间定位,如果旋转成功,那么SpaceSize和SpaceCS都可能被更新 - */ - private RotateSpaceCS; - /** 以广度搜索优先更新节点树 */ - UpdateTemplateTree(): any; - /** 缓存本节点的变量定义值,当子层需要本层的参数时,可以直接获取 */ - protected _CacheParamVars: any; - protected _CacheSpaceCS: Matrix4; - protected _CacheSpaceSize: Vector3; - protected _CatchRootParam: Set; - /** - * 本节点可用的所有变量定义.(包括变量继承) - * @param [useCache=true] 当更新当前节点的时候,我们不希望使用缓存,(因为父节点的参数可能已经被更新) - * @returns - */ - GetParameterDefinition(useCache?: boolean): any; - ClearParameterDefinitionCache(): void; - /** - * 变量继承 - * - 每继承一层,前缀增加一个`_` - * - 顶层前缀`$` - * - * @returns 继承于父空间的变量定义列表 - */ - private GetParentParams; - get SpaceParse(): ISpaceParse; - /** - * 获得当前的模版空间的相对坐标系 - * - 存在父节点的时候使用父节点的模版空间坐标系 - * - 不存在父节点的时候使用自身的模版空间坐标系 - * - * - 空间坐标系将被定位更新 - * - * @param [useCache=true] 当更新当前节点的时候,我们不希望使用缓存,(因为父节点的参数可能已经被更新) - */ - private GetTemplateSpaceCS; - /** - * 获得当前模块的实际位置坐标系. - * 使用 GetTemplateSpaceCS 可能会得到不准确的位置.(得到Parent或者已经缓存的位置) - */ - GetTemplateRealitySpaceCS(): Matrix4; - get NeedUpdateParent(): boolean; - protected get PositioningSupportBoards(): Board[]; - protected _Version: number; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=TemplateRecord.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/TemplateRecord.d.ts.map b/types/DatabaseServices/Template/TemplateRecord.d.ts.map deleted file mode 100644 index 63ec46d..0000000 --- a/types/DatabaseServices/Template/TemplateRecord.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateRecord.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Template/TemplateRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAM1D,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAIpE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAA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BAAkB;IA4GxB,qCAAqC;IACrC,SAAS,CAAC,eAAe,EAAE,GAAG,CAAC;IAC/B,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,eAAe,EAAE,OAAO,CAAC;IACnC,SAAS,CAAC,eAAe,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;IAC9C;;;;OAIG;IACH,sBAAsB,CAAC,QAAQ,UAAO,GAAG,GAAG;IA6B5C,6BAA6B;IAS7B;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAwBvB,IAAI,UAAU,IAAI,WAAW,CAc5B;IAED;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;IAuB1B;;;OAGG;IACH,yBAAyB;IAazB,IAAI,gBAAgB,IAAI,OAAO,CAW9B;IAED,SAAS,KAAK,wBAAwB,IAAI,KAAK,EAAE,CAgChD;IAED,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC;IAI3B,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAiDvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAiC3B"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/TemplateTable.d.ts b/types/DatabaseServices/Template/TemplateTable.d.ts deleted file mode 100644 index 2984425..0000000 --- a/types/DatabaseServices/Template/TemplateTable.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ObjectCollection } from "../ObjectCollection"; -import { TemplateRecord } from "./TemplateRecord"; -import { Status } from "../../Common/Status"; -export declare class TemplateTable extends ObjectCollection { - Append(object: TemplateRecord, isCheckObjectCleanly?: boolean): import("../ObjectId").ObjectId; - Add(record: TemplateRecord, isCheckObjectCleanly?: boolean): Status; -} -//# sourceMappingURL=TemplateTable.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/TemplateTable.d.ts.map b/types/DatabaseServices/Template/TemplateTable.d.ts.map deleted file mode 100644 index 49cd8bd..0000000 --- a/types/DatabaseServices/Template/TemplateTable.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateTable.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Template/TemplateTable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,qBACa,aAAc,SAAQ,gBAAgB,CAAC,cAAc,CAAC;IAE/D,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,oBAAoB,UAAO;IAU1D,GAAG,CAAC,MAAM,EAAE,cAAc,EAAE,oBAAoB,UAAO,GAAG,MAAM;CAQnE"} \ No newline at end of file diff --git a/types/DatabaseServices/Template/TemplateType.d.ts b/types/DatabaseServices/Template/TemplateType.d.ts deleted file mode 100644 index 44bed97..0000000 --- a/types/DatabaseServices/Template/TemplateType.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * 模版类型 - */ -export declare enum TemplateType { - Usual = 0, - Grid = 1, - Array = 2, - Clear = 4, - Expanded = 8, - Hidden = 16, - HiddenChildren = 32, - Sign = 64, - Door = 128,//门板 - Drawer = 256,//抽屉 - Handle = 512,//拉手 - Hinge = 1024 -} -export declare enum TemplateSplitType { - None = -1, - X = 0, - Y = 1, - Z = 2 -} -//# sourceMappingURL=TemplateType.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Template/TemplateType.d.ts.map b/types/DatabaseServices/Template/TemplateType.d.ts.map deleted file mode 100644 index 91e77ed..0000000 --- a/types/DatabaseServices/Template/TemplateType.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateType.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Template/TemplateType.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,YAAY;IAGpB,KAAK,IAAI;IAET,IAAI,IAAI;IAER,KAAK,IAAI;IAET,KAAK,IAAI;IAET,QAAQ,IAAI;IAEZ,MAAM,KAAK;IACX,cAAc,KAAK;IAEnB,IAAI,KAAK;IAGT,IAAI,MAAM,CAAC,IAAI;IACf,MAAM,MAAM,CAAC,IAAI;IACjB,MAAM,MAAM,CAAC,IAAI;IACjB,KAAK,OAAO;CACf;AAcD,oBAAY,iBAAiB;IAEzB,IAAI,KAAK;IACT,CAAC,IAAI;IACL,CAAC,IAAI;IACL,CAAC,IAAI;CACR"} \ No newline at end of file diff --git a/types/DatabaseServices/Text/Text.d.ts b/types/DatabaseServices/Text/Text.d.ts deleted file mode 100644 index b2c45d0..0000000 --- a/types/DatabaseServices/Text/Text.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { Matrix3, Matrix4, Object3D, Vector3 } from 'three'; -import { FontType } from '../../Add-on/TextStyle/FontStyleInterface'; -import { ObjectSnapMode } from '../../Editor/ObjectSnapMode'; -import { Box3Ext } from '../../Geometry/Box'; -import { RenderType } from '../../GraphicsSystem/RenderType'; -import { CADFiler } from '../CADFiler'; -import { Entity } from '../Entity/Entity'; -import { FontStyleKeyCode } from '../FontStyle/FontStyleKeyCodeEnum'; -import { ObjectId } from '../ObjectId'; -export declare const TEXT_HEIGHT_SCALE = 1.35; -export declare enum TextAligen { - LeftTop = 3, - Top = 1, - RightTop = 5, - LeftMid = 2, - Mid = 0, - RightMid = 4, - LeftDown = 10, - Down = 8, - RightDown = 12 -} -export declare function DisposeTextShapeCache(): void; -/** - * 单行文字实体 - */ -export declare class Text extends Entity { - private _TextString; - private _TextRotation; - protected OnlyRenderType: boolean; - protected _FontStyle: ObjectId; - protected _FontStyleOverride: Map; - private _Align; - IsDoubleMesh: boolean; - IsFsText: boolean; - constructor(pos?: Vector3, _TextString?: string, _TextRotation?: number); - get TextRotation(): number; - set TextRotation(v: number); - get TextString(): string; - set TextString(str: string); - set TextAligen(al: TextAligen); - get TextAligen(): TextAligen; - /**设置字体样式 */ - set FontStyle(styleId: ObjectId); - get FontStyle(): ObjectId; - get FontName(): FontType; - set FontName(fontName: FontType); - get Height(): number; - set Height(value: number); - get WidthFactor(): number; - set WidthFactor(value: number); - get FontStyleOverride(): Map; - GetFontStyleOverrideValue(key: FontStyleKeyCode): any; - GetFontStyleValue(key: FontStyleKeyCode): any; - SetFontStyleOverrideValue(key: FontStyleKeyCode, value: any): void; - ClearFontStyleOverride(): void; - AsyncUpdateDrawObject(obj: Object3D, renderType: RenderType): Promise; - /**大概宽度 */ - get Width(): number; - get HasBoundingBox(): boolean; - get BoundingBox(): Box3Ext | import("three").Box3; - get BoundingBoxInOCS(): Box3Ext; - UpdateTranslate(): void; - private UpdateObjectTranslate; - ApplyMatrix(m: Matrix4): this; - protected ApplyScaleMatrix(m: Matrix4): this; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, obj: Object3D): void; - UpdateDrawObjectMaterial(renderType: RenderType, en: Object3D): void; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - GetStretchPoints(): Array; - MoveStretchPoints(indexList: Array, vec: Vector3): void; - protected ReadFontStyle(file: CADFiler): void; - protected WriteFontStyle(file: CADFiler): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -export declare const DbText: typeof Text; -//# sourceMappingURL=Text.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Text/Text.d.ts.map b/types/DatabaseServices/Text/Text.d.ts.map deleted file mode 100644 index baf4799..0000000 --- a/types/DatabaseServices/Text/Text.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Text/Text.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,OAAO,EAAE,OAAO,EAAQ,QAAQ,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3G,OAAO,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC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AO;IAYhD,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,OAAO,GACpB,OAAO,EAAE;IAcZ,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC;IAIlC,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;IAOxD,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ;IAWtC,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ;IAWvC,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IA2BlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAa3B;AAGD,eAAO,MAAM,MAAM,aAAO,CAAC"} \ No newline at end of file diff --git a/types/DatabaseServices/Texture.d.ts b/types/DatabaseServices/Texture.d.ts deleted file mode 100644 index 2ba91f8..0000000 --- a/types/DatabaseServices/Texture.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Texture, Wrapping } from 'three'; -import { CADFiler } from './CADFiler'; -import { SymbolTableRecord } from './SymbolTableRecord'; -export declare class TextureTableEventBus { - private static _SingleInstance; - static GetInstance(): TextureTableEventBus; - UpdateEvent(texture: TextureTableRecord): void; -} -/** - * 数据化的贴图类.实现了序列化. - */ -export declare class TextureTableRecord extends SymbolTableRecord { - private wrapS; - private wrapT; - repeatX: number; - repeatY: number; - rotation: number; - imageUrl: string; - moveX: number; - moveY: number; - imgUrl: string; - set WrapS(wrap: Wrapping); - get WrapS(): Wrapping; - get WrapT(): Wrapping; - set WrapT(wrap: Wrapping); - private texture; - Update(): Promise; - TextureUpdate(): Promise; - private waits; - WaitUpdate(): Promise; - GetThreeTexture(): Texture; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=Texture.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/Texture.d.ts.map b/types/DatabaseServices/Texture.d.ts.map deleted file mode 100644 index 9c1e36b..0000000 --- a/types/DatabaseServices/Texture.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Texture.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/Texture.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGlE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,MAAM,CAAC,eAAe,CAAuB;IACrD,MAAM,CAAC,WAAW,IAAI,oBAAoB;IAO1C,WAAW,CAAC,OAAO,EAAE,kBAAkB;CAG1C;AACD;;GAEG;AACH,qBACa,kBAAmB,SAAQ,iBAAiB;IAErD,OAAO,CAAC,KAAK,CAAoC;IACjD,OAAO,CAAC,KAAK,CAAoC;IACrC,OAAO,EAAE,MAAM,CAAK;IACpB,OAAO,EAAE,MAAM,CAAK;IACpB,QAAQ,EAAE,MAAM,CAAK;IACrB,QAAQ,EAAE,MAAM,CAAM;IAEtB,KAAK,SAAK;IACV,KAAK,SAAK;IAEV,MAAM,EAAE,MAAM,CAAM;IAEhC,IAAI,KAAK,CAAC,IAAI,EAAE,QAAQ,EAOvB;IACD,IAAI,KAAK,IARO,QAAQ,CAQU;IAClC,IAAI,KAAK,IAEO,QAAQ,CAFU;IAElC,IAAI,KAAK,CAAC,IAAI,EAAE,QAAQ,EAOvB;IAGD,OAAO,CAAC,OAAO,CAA0B;IACnC,MAAM;IAKN,aAAa;IAKnB,OAAO,CAAC,KAAK,CAAkB;IACzB,UAAU;IAShB,eAAe;IAMf,QAAQ,CAAC,IAAI,EAAE,QAAQ;IAoBvB,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/ViewportEntity.d.ts b/types/DatabaseServices/ViewportEntity.d.ts deleted file mode 100644 index 22851ab..0000000 --- a/types/DatabaseServices/ViewportEntity.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Box3, BufferGeometry, Matrix3, MeshBasicMaterial, Object3D, Scene, Vector3 } from "three"; -import { ObjectSnapMode } from "../Editor/ObjectSnapMode"; -import { CameraUpdate } from "../GraphicsSystem/CameraUpdate"; -import { RenderType } from "../GraphicsSystem/RenderType"; -import { CADFiler } from "./CADFiler"; -import { Entity } from "./Entity/Entity"; -import { LayerTableRecord } from "./LayerTableRecord"; -import { ObjectId } from "./ObjectId"; -export declare class ViewportEntity extends Entity { - private _width; - private _height; - scene: Scene; - readonly camera: CameraUpdate; - private _renderType; - private _HideObjectIds; - private _ShowObjectIds; - private _FreezeLayers; - private _RenderTarget; - private _EntitysBoundingBox; - ViewData: { - left: number; - bottom: number; - }; - _Color: number; - ViewportMaterial: MeshBasicMaterial; - private _Frustum; - constructor(_width?: number, _height?: number); - get Left(): number; - get Bottom(): number; - get Width(): number; - set Width(v: number); - get ViewWidth(): number; - get ViewHeight(): number; - get Height(): number; - set Height(v: number); - IsHide(id: ObjectId): boolean; - IsShow(id: ObjectId): boolean; - get HideObjects(): ObjectId[]; - get ShowObjects(): ObjectId[]; - HasFreezeLayer(id: ObjectId): boolean; - DeleteFreezeLayer(id: ObjectId): void; - AddFreezeLayer(id: ObjectId): void; - ShowAll(): void; - AppendShowObjects(ids: ObjectId[] | ObjectId): void; - RemoveShowObjects(ids: ObjectId[] | ObjectId): void; - AppendHideObjects(ids: ObjectId[] | ObjectId): void; - RemoveHideObjects(ids: ObjectId[] | ObjectId): void; - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform: Matrix3): Vector3[]; - SetUVs(geo: BufferGeometry): void; - protected OnlyRenderType: boolean; - get Entitys(): Entity[]; - get Points(): Vector3[]; - NeedUpdateTexture: boolean; - UpdateByPts(p1: Vector3, p2: Vector3): void; - GetGripPoints(): Vector3[]; - MoveGripPoints(indexList: number[], moveVec: Vector3): void; - ZoomAll(): void; - ZoomtoEntitys(ens: Entity[]): void; - get RenderType(): RenderType; - set RenderType(v: RenderType); - get BoundingBox(): Box3; - CanRennder(en: Entity): boolean; - DrawEntityToScene(en: Entity): void; - GoodBye(): void; - UpdateScene(): void; - CloneDrawObject(from: this): void; - IsInFrustum(obj: Object3D): boolean; - IsContainText(text: Entity): boolean; - IsFirstVersion: boolean; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=ViewportEntity.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/ViewportEntity.d.ts.map b/types/DatabaseServices/ViewportEntity.d.ts.map deleted file mode 100644 index 6f84c81..0000000 --- a/types/DatabaseServices/ViewportEntity.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ViewportEntity.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/ViewportEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,cAAc,EAAgD,OAAO,EAAiB,iBAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAqB,MAAM,OAAO,CAAC;AAKnL,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG1D,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAI1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAOtC,qBACa,cAAe,SAAQ,MAAM;IAkBlC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IAjBnB,KAAK,EAAE,KAAK,CAAe;IAC3B,QAAQ,CAAC,MAAM,EAA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E,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,GACnB,OAAO,EAAE;IAgBZ,MAAM,CAAC,GAAG,EAAE,cAAc;IAO1B,SAAS,CAAC,cAAc,UAAQ;IAChC,IAAI,OAAO,aAUV;IACD,IAAI,MAAM,cAST;IAED,iBAAiB,UAAQ;IAGzB,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO;IAQpC,aAAa;IAIb,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO;IAapD,OAAO;IAgBP,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE;IAU3B,IAAI,UAAU,IAII,UAAU,CAD3B;IACD,IAAI,UAAU,CAAC,CAAC,EAAE,UAAU,EAiC3B;IACD,IAAI,WAAW,SAGd;IACD,UAAU,CAAC,EAAE,EAAE,MAAM;IA0BrB,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAkCnC,OAAO;IAUP,WAAW;IAKX,eAAe,CAAC,IAAI,EAAE,IAAI;IAS1B,WAAW,CAAC,GAAG,EAAE,QAAQ;IAezB,aAAa,CAAC,IAAI,EAAE,MAAM;IAgB1B,cAAc,UAAS;IACvB,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAwDlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAqB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/ViewportEntity/ViewportEntity2.d.ts b/types/DatabaseServices/ViewportEntity/ViewportEntity2.d.ts deleted file mode 100644 index 7f370b5..0000000 --- a/types/DatabaseServices/ViewportEntity/ViewportEntity2.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Vector3, WebGLRenderer } from "three"; -import { CADFiler } from "../CADFiler"; -import { Entity } from "../Entity/Entity"; -/** - * 更新视口实体的时机: - * ->在布局状态下才应该更新,否则则标记为需要更新(或者不需要标记) - * ->在缩放相机时,标记所有的需要更新(异步更新任务)(优先更新可见视口) - * ->切换到布局时,更新全部视口(使用更新任务) - */ -export declare class ViewportEntity2 extends Entity { - private _Width; - private _Height; - static Renderer: WebGLRenderer; - OnlyRenderType: boolean; - private _RenderType; - private _DisplayEntitys; - private _CameraData; - constructor(_Width?: number, _Height?: number); - SetSize(width: number, height: number): void; - AppendEntity(ens: Iterable): void; - _Target: Vector3; - Destroy(): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; -} -//# sourceMappingURL=ViewportEntity2.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/ViewportEntity/ViewportEntity2.d.ts.map b/types/DatabaseServices/ViewportEntity/ViewportEntity2.d.ts.map deleted file mode 100644 index bb91004..0000000 --- a/types/DatabaseServices/ViewportEntity/ViewportEntity2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ViewportEntity2.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/ViewportEntity/ViewportEntity2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAIzD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAK1C;;;;;GAKG;AAEH,qBACa,eAAgB,SAAQ,MAAM;IAYnC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IAXnB,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC;IAC/B,cAAc,UAAQ;IAGtB,OAAO,CAAC,WAAW,CAAqC;IAExD,OAAO,CAAC,eAAe,CAA4B;IAEnD,OAAO,CAAC,WAAW,CAAoB;gBAE3B,MAAM,GAAE,MAAU,EAClB,OAAO,GAAE,MAAU;IAM/B,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAUrC,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC;IASlC,OAAO,UAAyB;IAIhC,OAAO;IAQP,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAsBlC,SAAS,CAAC,IAAI,EAAE,QAAQ;CAgB3B"} \ No newline at end of file diff --git a/types/DatabaseServices/WblockCloneFiler.d.ts b/types/DatabaseServices/WblockCloneFiler.d.ts deleted file mode 100644 index 1622f2e..0000000 --- a/types/DatabaseServices/WblockCloneFiler.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { DeepCloneFiler } from "./DeepCloneFiler"; -import { ObjectId } from "./ObjectId"; -export declare class WblockCloneFiler extends DeepCloneFiler { -} -/** - * 用于插入图纸,对所有的软引用变成硬引用,以保证所有的关联对象都能被插入进来 - */ -export declare class WblockCloneFiler2 extends DeepCloneFiler { - WriteObjectId(id: ObjectId): this; -} -//# sourceMappingURL=WblockCloneFiler.d.ts.map \ No newline at end of file diff --git a/types/DatabaseServices/WblockCloneFiler.d.ts.map b/types/DatabaseServices/WblockCloneFiler.d.ts.map deleted file mode 100644 index 55b6a17..0000000 --- a/types/DatabaseServices/WblockCloneFiler.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"WblockCloneFiler.d.ts","sourceRoot":"","sources":["../../../src/DatabaseServices/WblockCloneFiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,gBAAiB,SAAQ,cAAc;CAGnD;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,cAAc;IAEjD,aAAa,CAAC,EAAE,EAAE,QAAQ,GAAG,IAAI;CAMpC"} \ No newline at end of file diff --git a/types/Editor/BufferGeometry2GeometryCacheMap.d.ts b/types/Editor/BufferGeometry2GeometryCacheMap.d.ts deleted file mode 100644 index df932d1..0000000 --- a/types/Editor/BufferGeometry2GeometryCacheMap.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { BufferGeometry, Geometry } from "three"; -export declare const BufferGeometry2GeometryCacheMap: WeakMap; -//# sourceMappingURL=BufferGeometry2GeometryCacheMap.d.ts.map \ No newline at end of file diff --git a/types/Editor/BufferGeometry2GeometryCacheMap.d.ts.map b/types/Editor/BufferGeometry2GeometryCacheMap.d.ts.map deleted file mode 100644 index 60c0f6c..0000000 --- a/types/Editor/BufferGeometry2GeometryCacheMap.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BufferGeometry2GeometryCacheMap.d.ts","sourceRoot":"","sources":["../../../src/Editor/BufferGeometry2GeometryCacheMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,+BAA+B,mCAA0C,CAAC"} \ No newline at end of file diff --git a/types/Editor/CommandState.d.ts b/types/Editor/CommandState.d.ts deleted file mode 100644 index d628fbe..0000000 --- a/types/Editor/CommandState.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare let CommandState: { - CommandIng: boolean; -}; -//# sourceMappingURL=CommandState.d.ts.map \ No newline at end of file diff --git a/types/Editor/CommandState.d.ts.map b/types/Editor/CommandState.d.ts.map deleted file mode 100644 index 1f2e820..0000000 --- a/types/Editor/CommandState.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CommandState.d.ts","sourceRoot":"","sources":["../../../src/Editor/CommandState.ts"],"names":[],"mappings":"AACA,eAAO,IAAI,YAAY;;CAEtB,CAAC"} \ No newline at end of file diff --git a/types/Editor/DefaultConfig.d.ts b/types/Editor/DefaultConfig.d.ts deleted file mode 100644 index 2a5efae..0000000 --- a/types/Editor/DefaultConfig.d.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { FontStyleInfoOption } from "../Add-on/TextStyle/FontStyleInterface"; -import { EditViewOption } from "../Add-on/ViewortConfig/EditViewOption"; -import { Curve2RecOption } from "../Add-on/twoD2threeD/Modals/Curve2RecOption"; -import { IParseBoardNameOption, IRec2BrOption, IRect2Br2Option } from "../Add-on/twoD2threeD/R2bInterface"; -import { SpaceParseOption } from "../Geometry/SpaceParse/SpaceParseOption"; -import { IUpdateBoardInfosOption } from "../UI/Components/Board/UpdateBoardInfointerface"; -import { ICompHardwareOption, ICylMetalsOption, IExtMetalsOption, IToplineOption } from "../UI/Components/RightPanel/RightPanelInterface"; -import { IKuGangDrawOption } from "../UI/Components/Template/TemplateInterface"; -import { IBoardFindOption } from "../UI/Store/BoardFindInterface"; -import { IDoorConfigOption, IDrawerConfigOption, IHingeConfigOption } from "../UI/Store/DoorInterface"; -import { IHSOption } from "../UI/Store/HSInterface"; -import { ILatticeOption } from "../UI/Store/LatticeInterface"; -import { IAutoDimBrsOption, IFastDimOption } from "../UI/Store/OptionInterface/AutoDimBrsOption"; -import { IBoardBatchCurtailOption } from "../UI/Store/OptionInterface/BoardBatchCurtailOption "; -import { BoardProcessOption } from "../UI/Store/OptionInterface/BoardProcessOption"; -import { BulkheadCeilingOption } from "../UI/Store/OptionInterface/BulkheadCeilingOption"; -import { ClosingStripOption } from "../UI/Store/OptionInterface/ClosingStripOption"; -import { BehindBoardOption, BoardConfigOption, ChangeColorByBoardMaterialOption, ChangeColorByRoomOrCabinetOption, CommonPanelConfigOption, DatalistConfigOption, DoorRelatesInfoOption, IArcBoardGrooveOption, IBatchModifyPanelOption, IDimStyleOption, LayerBoardOption, LayerNailOption, ModifyTextsConfigOption, OneClickInspectionOption, PartsAnalysisOption, RightPlaneLightOption, ShareBoardInfConfigurationOption, SideBoardOption, SingleBoardOption, TBBoardOption, VerticalBoardOption, WindowPanelConfigOption } from "../UI/Store/OptionInterface/IOptionInterface"; -import { PointLightOption, RectAreaLightOption, SpotLightOption } from "../UI/Store/OptionInterface/LightConfigOption"; -import { Viewport2ConfigOption, Viewport3ConfigOption, Viewport4ConfigOption, ViewportConfigOption } from "../UI/Store/OptionInterface/ViewportConfigOption"; -import { IWineRackOption } from "../UI/Store/WineRackInterface"; -export declare const DefaultLayerBoardConfig: LayerBoardOption; -export declare const DefaultVerticalBoardConfig: VerticalBoardOption; -export declare const DefaultBehindBoardConfig: BehindBoardOption; -export declare const DefaultWineRackConfig: IWineRackOption; -export declare const DefaultTopBoardOption: TBBoardOption; -export declare const DefaultBottomBoardOption: TBBoardOption; -export declare const DefaultSideBoardOption: SideBoardOption; -export declare const DefaultViewportConfigOption: ViewportConfigOption; -export declare const DefaultViewport2ConfigOption: Viewport2ConfigOption; -export declare const DefaultViewport3ConfigOption: Viewport3ConfigOption; -export declare const DefaultViewport4ConfigOption: Viewport4ConfigOption; -export declare const DefaultModifyTextsOption: ModifyTextsConfigOption; -export declare const DefaultPointLightOption: PointLightOption; -export declare const DefaultSpotLightOption: SpotLightOption; -export declare const DefaultRectAreaLightOption: RectAreaLightOption; -export declare const DefaultRightPlaneLightOption: RightPlaneLightOption; -export declare const DefaultArcBoardOption: BoardConfigOption; -export declare const DefaultSingleBoardOption: SingleBoardOption; -export declare const DefaultClosingStripOption: ClosingStripOption; -export declare const DefaultBoardFindOption: IBoardFindOption; -export declare const DefaultLatticOption: ILatticeOption; -export declare const DefaultDoorOption: IDoorConfigOption; -export declare const DefaultHingeOption: IHingeConfigOption; -export declare const DefaultDrawerOption: IDrawerConfigOption; -export declare const DefaultBoardBatchCurtailOption: IBoardBatchCurtailOption; -export declare const DefaultBatchModifyPanelOption: IBatchModifyPanelOption; -export declare const DefaultLatticeConfig: ILatticeOption; -export declare const DefaultNailOption: LayerNailOption; -export declare const DefaultCylinederMetalsOption: ICylMetalsOption; -export declare const DefaultExtruderMetalsOption: IExtMetalsOption; -export declare const DefaultCompositeMetalsOption: ICompHardwareOption; -export declare const DefaultToplineMetalsOption: IToplineOption; -export declare const DefaultBoardProcessOption: BoardProcessOption; -export declare const DefaultCurve2RecOption: Curve2RecOption; -export declare const DefaultUpdateInfoOption: IUpdateBoardInfosOption; -export declare const DefaultKuGanOption: IKuGangDrawOption; -export declare const DefaultParseBoardNameOPtion: IParseBoardNameOption; -export declare const DefaultR2bOption: IRec2BrOption; -export declare const DefaultR2b2Option: IRect2Br2Option; -export declare const DefaultHSOption: IHSOption; -export declare const DefaultCommonPanelOption: CommonPanelConfigOption; -export declare const DefaultDatalistOption: DatalistConfigOption; -export declare const DefaultAutoDimBrsOption: IAutoDimBrsOption; -export declare const DefaultWindowPanelOption: WindowPanelConfigOption; -export declare const DefaultDimStyleOption: IDimStyleOption; -export declare const DefaultChangeColorByBoardMaterialOption: ChangeColorByBoardMaterialOption; -export declare const DefaultShareBoardInfConfigurationOption: ShareBoardInfConfigurationOption; -export declare const DefaultBulkheadCeilingOption: BulkheadCeilingOption; -export declare const DefaultChangeColorByRoomOrCabinetOption: ChangeColorByRoomOrCabinetOption; -export declare const DefaultDoorRelatesInfoOption: DoorRelatesInfoOption; -export declare const DefaultPartsAnalysisOption: PartsAnalysisOption; -export declare const DefaultFastDimOption: IFastDimOption; -export declare const DefaultOneClickInspectionOption: OneClickInspectionOption; -export declare const DefaultArcBoardGrooveOption: IArcBoardGrooveOption; -export declare const DefaultSpaceParseOption: SpaceParseOption; -export declare const DefaultEditViewOption: EditViewOption; -export declare const DefaultFontStyleOption: FontStyleInfoOption; -//# sourceMappingURL=DefaultConfig.d.ts.map \ No newline at end of file diff --git a/types/Editor/DefaultConfig.d.ts.map b/types/Editor/DefaultConfig.d.ts.map deleted file mode 100644 index cb843d8..0000000 --- a/types/Editor/DefaultConfig.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DefaultConfig.d.ts","sourceRoot":"","sources":["../../../src/Editor/DefaultConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAY,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAG3G,OAAO,EAAE,gBAAgB,E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M,0BAA0B,EAAE,mBAgBxC,CAAC;AAGF,eAAO,MAAM,oBAAoB,EAAE,cAQlC,CAAC;AAGF,eAAO,MAAM,+BAA+B,EAAE,wBAoC7C,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,qBAgBzC,CAAC;AAGF,eAAO,MAAM,uBAAuB,EAAE,gBAErC,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,cAyBnC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,mBAIpC,CAAC"} \ No newline at end of file diff --git a/types/Editor/ICursorConfig.d.ts b/types/Editor/ICursorConfig.d.ts deleted file mode 100644 index 25120a6..0000000 --- a/types/Editor/ICursorConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseOption } from "../UI/Store/OptionInterface/IOptionInterface"; -export interface ICursorConfig extends IBaseOption { - D2: number; - D3: number; - SquareSize: number; -} -//# sourceMappingURL=ICursorConfig.d.ts.map \ No newline at end of file diff --git a/types/Editor/ICursorConfig.d.ts.map b/types/Editor/ICursorConfig.d.ts.map deleted file mode 100644 index d51e6c3..0000000 --- a/types/Editor/ICursorConfig.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ICursorConfig.d.ts","sourceRoot":"","sources":["../../../src/Editor/ICursorConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAG3E,MAAM,WAAW,aAAc,SAAQ,WAAW;IAE9C,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;CACtB"} \ No newline at end of file diff --git a/types/Editor/ObjectSnapMode.d.ts b/types/Editor/ObjectSnapMode.d.ts deleted file mode 100644 index 2011105..0000000 --- a/types/Editor/ObjectSnapMode.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * OSMODE - */ -export declare enum ObjectSnapMode { - None = 0,//无 - End = 1,//端点 - Mid = 2,//中点 - Cen = 4,//圆心 - Node = 8,//节点 - Qua = 16,//象限点 - Int = 32,//交点 - Ins = 64,//插入点 - Per = 128,//垂足 - Tan = 256,//切点 - Nea = 512,//最近点 - NotEntitySnap = 1024,//清除所有对象捕捉 - App = 2048,//外观交点 - Ext = 4096,//延伸 - Par = 8192,//平行 - Axis = 16384,//极轴 - All = 31743 -} -//# sourceMappingURL=ObjectSnapMode.d.ts.map \ No newline at end of file diff --git a/types/Editor/ObjectSnapMode.d.ts.map b/types/Editor/ObjectSnapMode.d.ts.map deleted file mode 100644 index f7195d1..0000000 --- a/types/Editor/ObjectSnapMode.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ObjectSnapMode.d.ts","sourceRoot":"","sources":["../../../src/Editor/ObjectSnapMode.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,cAAc;IAEtB,IAAI,IAAI,CAAE,GAAG;IACb,GAAG,IAAI,CAAG,IAAI;IACd,GAAG,IAAI,CAAE,IAAI;IACb,GAAG,IAAI,CAAE,IAAI;IACb,IAAI,IAAI,CAAC,IAAI;IACb,GAAG,KAAK,CAAC,KAAK;IACd,GAAG,KAAK,CAAC,IAAI;IACb,GAAG,KAAK,CAAC,KAAK;IACd,GAAG,MAAM,CAAC,IAAI;IACd,GAAG,MAAM,CAAC,IAAI;IACd,GAAG,MAAM,CAAC,KAAK;IACf,aAAa,OAAO,CAAC,UAAU;IAC/B,GAAG,OAAO,CAAC,MAAM;IACjB,GAAG,OAAO,CAAC,IAAI;IACf,GAAG,OAAO,CAAC,IAAI;IACf,IAAI,QAAQ,CAAC,IAAI;IACjB,GAAG,QAAqB;CAC3B"} \ No newline at end of file diff --git a/types/Editor/OrderType.d.ts b/types/Editor/OrderType.d.ts deleted file mode 100644 index 0bfe4d3..0000000 --- a/types/Editor/OrderType.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export declare enum EOrderType { - ByCreate = "create_date desc", - ByCreate2 = "create_date", - ByUpdate = "update_date desc", - ByUpdate2 = "update_date", - ByName = "name", - ByName2 = "name desc" -} -//# sourceMappingURL=OrderType.d.ts.map \ No newline at end of file diff --git a/types/Editor/OrderType.d.ts.map b/types/Editor/OrderType.d.ts.map deleted file mode 100644 index 8520756..0000000 --- a/types/Editor/OrderType.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrderType.d.ts","sourceRoot":"","sources":["../../../src/Editor/OrderType.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAElB,QAAQ,qBAAqB;IAC7B,SAAS,gBAAgB;IACzB,QAAQ,qBAAqB;IAC7B,SAAS,gBAAgB;IACzB,MAAM,SAAS;IACf,OAAO,cAAc;CACxB"} \ No newline at end of file diff --git a/types/Editor/PointPick.d.ts b/types/Editor/PointPick.d.ts deleted file mode 100644 index e32c4e5..0000000 --- a/types/Editor/PointPick.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Intersection, Object3D, Raycaster, Vector3 } from 'three'; -import { IViewer } from '../GraphicsSystem/IView'; -import { Filter } from './SelectFilter'; -/** - * 构造射线投射器. - * @param {Vector3} ptVcs 屏幕坐标系的点 - */ -export declare function GenerateRaycaster(ptVcs: Vector3, view: IViewer): Raycaster; -/** - * 根据鼠标位置确定鼠标范围内选中的实体. - * @param {Vector3} ptVcs 鼠标的屏幕点 - * @param {IViewer} view 指定视图 - * @param {Object3D} [selectObject] 选择的对象. 如果为空则为app.view.scene - * @param {Boolean} selectBoxGetLastestEn 点选曲线和点时是否选取最后创建的 默认true - * @returns {Object3D[]} 返回选择到的对象,注意该返回的对象并不会得到它的子对象. - */ -export declare function PointPick(ptVcs: Vector3, view: IViewer, filter?: Filter, selectObjects?: Object3D[], selectSize?: number): Object3D[]; -export declare function PointPickOneObject(ptVcs: Vector3, view: IViewer, filter?: Filter, selectObjects?: Object3D[], useSelectBox?: boolean): Object3D | undefined; -export declare function Raycast(ray: Raycaster, objectCol: Object3D[], filter?: Filter): Intersection | undefined; -//# sourceMappingURL=PointPick.d.ts.map \ No newline at end of file diff --git a/types/Editor/PointPick.d.ts.map b/types/Editor/PointPick.d.ts.map deleted file mode 100644 index 47f27d4..0000000 --- a/types/Editor/PointPick.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PointPick.d.ts","sourceRoot":"","sources":["../../../src/Editor/PointPick.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAsB,SAAS,EAAW,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhG,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,OAAO,EAAe,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAErD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,CAU1E;AAKD;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,EACpC,IAAI,EAAE,OAAO,EACb,MAAM,CAAC,EAAE,MAAM,EACf,aAAa,GAAE,QAAQ,EAAwB,EAC/C,UAAU,SAAK,GAChB,QAAQ,EAAE,CAiBZ;AAED,wBAAgB,kBAAkB,CAC9B,KAAK,EAAE,OAAO,EACd,IAAI,EAAE,OAAO,EACb,MAAM,CAAC,EAAE,MAAM,EACf,aAAa,GAAE,QAAQ,EAAwB,EAC/C,YAAY,UAAO,GACpB,QAAQ,GAAG,SAAS,CAgCtB;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CA+BxG"} \ No newline at end of file diff --git a/types/Editor/PromptResult.d.ts b/types/Editor/PromptResult.d.ts deleted file mode 100644 index a225196..0000000 --- a/types/Editor/PromptResult.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Intersection, Matrix4, Object3D, Vector3 } from 'three'; -import { Entity } from '../DatabaseServices/Entity/Entity'; -import { ObjectSnapMode } from './ObjectSnapMode'; -import { SelectSet } from './SelectSet'; -export declare enum PromptStatus { - None = 0,//用户想选,但是没选到(手滑了 没点到) - Cancel = -1, - OK = 1, - Keyword = 2, - Other = 4,//用户不想选了,直接拍桌子要求上菜 GetEntity(右键 右键<确认> 空格) - String = 8, - Error = -2 -} -export declare class PromptResult { - Status: PromptStatus; - StringResult?: string; - isChild?: boolean; - Parent?: string; -} -export declare class PromptPointResult extends PromptResult { - SnapMode: ObjectSnapMode; - SnapEntity: Entity; - intersection: Intersection; - private _point; - /** - * 返回三维点 - * - * @readonly - * @memberof PromptPointResult - */ - get Point(): Vector3; - set Point(pt: Vector3); - constructor(); -} -export declare class PromptDistendResult extends PromptResult { - private _value; - get Distance(): number; - set Distance(v: number); -} -export declare class PromptRectResult extends PromptResult { - UCS: Matrix4; - Point1UCS: Vector3; - Point2UCS: Vector3; - Point1WCS: Vector3; - Point2WCS: Vector3; - get Width(): number; - get Height(): number; -} -export declare class PromptEntityResult extends PromptResult { - Entity?: Entity; - Point?: Vector3; - Object?: Object3D; - IsCircle?: boolean; - constructor(Entity?: Entity, Point?: Vector3, Object?: Object3D, IsCircle?: boolean); -} -export declare class PromptSsgetResult extends PromptResult { - SelectSet?: SelectSet; -} -//# sourceMappingURL=PromptResult.d.ts.map \ No newline at end of file diff --git a/types/Editor/PromptResult.d.ts.map b/types/Editor/PromptResult.d.ts.map deleted file mode 100644 index f5b5016..0000000 --- a/types/Editor/PromptResult.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PromptResult.d.ts","sourceRoot":"","sources":["../../../src/Editor/PromptResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAA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EAEf,KAAK,CAAC,EAAE,OAAO,EACf,MAAM,CAAC,EAAE,QAAQ,EACjB,QAAQ,CAAC,EAAE,OAAO;CAKhC;AAED,qBAAa,iBAAkB,SAAQ,YAAY;IAE/C,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB"} \ No newline at end of file diff --git a/types/Editor/SelectBase.d.ts b/types/Editor/SelectBase.d.ts deleted file mode 100644 index 1c4041d..0000000 --- a/types/Editor/SelectBase.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Face3, Frustum, Matrix4, Object3D, Vector3 } from 'three'; -import { Entity } from '../DatabaseServices/Entity/Entity'; -import { IViewer } from '../GraphicsSystem/IView'; -import { Filter } from './SelectFilter'; -/** - * 选择对象的基类数据 如盒子选择数据 点选数据 以后可能有多边形选区 - */ -export declare class SelectSetBase { - protected _Viewer: IViewer; - _ViewerWidth: number; - _ViewerHeight: number; - _ProjScreenMatrix: Matrix4; - _SelectList: Set; - protected _bIsPerCamera: boolean; - protected _Frustum: Frustum; - constructor(view: IViewer); - get Frustum(): Frustum; - /** - * 执行该方法 会对场景内部的实体进行选择测试. 如果满足条件 将会添加在选择(渲染)列表中. - */ - Select(selectList?: Object3D[], filter?: Filter): void; - SelectGroup(filter?: Filter): number; - FrustomIntersectObject(obj: Object3D): boolean; - get SelectEntityList(): Entity[]; - CheckSelectTraverse(obj: Object3D): boolean; - /** - * 子类重载:判断实体是否需要被选中. - * @param {Object3D} obj - * @returns {boolean} - */ - protected CheckSelect(obj: Object3D): boolean; - WorldToScreenPoint(pt: Vector3): Vector3; - GetObjectVertices(obj: Object3D): { - pts: Array; - faces: Array; - }; - private GetGeometrVerticesAndFaces; - IntersectLineBase(index1: number, index2: number, screenPts: Array, worldPts: Array): boolean; - protected IntersectLine(p1Screen: Vector3, p2Screen: Vector3): boolean; - IntersectObject(obj: Object3D): boolean; - ContainsPoint(ptWcs: Vector3): boolean; - /** - * 直线在平截头体里面的裁剪. - * - * @param {Vector3} p1Screen p1对应的屏幕点,如果裁剪成功,参数会被改变 - * @param {Vector3} p2Screen 如果裁剪成功,参数会被改变 - * @param {Vector3} p1Wcs p1对应的世界坐标系 - * @param {Vector3} p2Wcs - * @param {Frustum} frusum - * @returns {boolean} 如果直线在平截头体内,那么返回true,否则返回false - */ - LineFrusumClip(p1Screen: Vector3, p2Screen: Vector3, p1Wcs: Vector3, p2Wcs: Vector3, frusum: Frustum): boolean; -} -//# sourceMappingURL=SelectBase.d.ts.map \ No newline at end of file diff --git a/types/Editor/SelectBase.d.ts.map b/types/Editor/SelectBase.d.ts.map deleted file mode 100644 index a873c90..0000000 --- a/types/Editor/SelectBase.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SelectBase.d.ts","sourceRoot":"","sources":["../../../src/Editor/SelectBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,EAAE,OAAO,EAA6D,OAAO,EAAQ,QAAQ,EAAqB,OAAO,EAAE,MAAM,OAAO,CAAC;AAG7K,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,OAAO,EAAe,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAErD;;GAEG;AACH,qBAAa,aAAa;IAGtB,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IAEtB,iBAAiB,UAAiB;IAClC,WAAW,gBAAuB;IAClC,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAiB;gBAEhC,IAAI,EAAE,OAAO;IAczB,IAAI,OAAO,YAA4B;IAEvC;;MAEE;IACF,MAAM,CAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM;IAa/C,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;IAoCpC,sBAAsB,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO;IAiB9C,IAAI,gBAAgB,IAAI,MAAM,EAAE,CAO/B;IAED,mBAAmB,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO;IAsB3C;;;;OAIG;IACH,SAAS,CAAC,WAAW,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO;IAK7C,kBAAkB,CAAC,EAAE,EAAE,OAAO,GAAG,OAAO;IASxC,iBAAiB,CAAC,GAAG,EAAE,QAAQ,GAAG;QAAE,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;KAAE;IAO/E,OAAO,CAAC,0BAA0B;IA6DlC,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,OAAO;IAgB/G,SAAS,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO;IAItE,eAAe,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO;IAyCvC,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAEtC;;;;;;;;;MASE;IACF,cAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO;CAoBjH"} \ No newline at end of file diff --git a/types/Editor/SelectBox.d.ts b/types/Editor/SelectBox.d.ts deleted file mode 100644 index 4ffea30..0000000 --- a/types/Editor/SelectBox.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Box2, Object3D, Vector2, Vector3 } from 'three'; -import { IViewer } from '../GraphicsSystem/IView'; -import { SelectSetBase } from './SelectBase'; -export declare enum SelectType { - None = 0, - C = 1,//Crossing selection. - W = 2 -} -/** - * 矩形选区 - * 如果图形无法选择,那么注意该图形是否调用计算图形的包围球. - */ -export declare class SelectBox extends SelectSetBase { - private _SelectBox; - private _BoxCheck; - _SelectType: SelectType; - constructor(view: IViewer, p1: Vector2, p2: Vector2, selectType?: SelectType); - get SelectBox(): Box2; - CheckSelectTraverse(obj: Object3D): boolean; - private CheckSelectC; - private CheckSelectW; - IntersectLine(p1Screen: Vector3, p2Screen: Vector3): boolean; - /** - * 包含该对象. 采用所有点都在选区内的做法 - */ - ContainerObject(obj: Object3D): 1 | 0 | -1; - ContainsPoint(ptWcs: Vector3): boolean; -} -//# sourceMappingURL=SelectBox.d.ts.map \ No newline at end of file diff --git a/types/Editor/SelectBox.d.ts.map b/types/Editor/SelectBox.d.ts.map deleted file mode 100644 index c7b32c8..0000000 --- a/types/Editor/SelectBox.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SelectBox.d.ts","sourceRoot":"","sources":["../../../src/Editor/SelectBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,QAAQ,EAAyC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C,oBAAY,UAAU;IAElB,IAAI,IAAI;IACR,CAAC,IAAI,CAAC,qBAAqB;IAC3B,CAAC,IAAI;CACR;AAED;;;GAGG;AACH,qBAAa,SAAU,SAAQ,aAAa;IAGxC,OAAO,CAAC,UAAU,CAAoB;IACtC,OAAO,CAAC,SAAS,CAAoB;IACrC,WAAW,EAAE,UAAU,CAAC;gBAEZ,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,UAAU;IAyB5E,IAAI,SAAS,SAGZ;IAGD,mBAAmB,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO;IAsD3C,OAAO,CAAC,YAAY;IASpB,OAAO,CAAC,YAAY;IAUpB,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO;IAI5D;;OAEG;IACH,eAAe,CAAC,GAAG,EAAE,QAAQ,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAa1C,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CAIzC"} \ No newline at end of file diff --git a/types/Editor/SelectFilter.d.ts b/types/Editor/SelectFilter.d.ts deleted file mode 100644 index 8b32700..0000000 --- a/types/Editor/SelectFilter.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Object3D } from "three"; -import { Entity } from "../DatabaseServices/Entity/Entity"; -export interface Filter { - filterTypes?: any[]; - filterFunction?: (obj: Object3D, ent?: Entity) => boolean; - /** - * 过滤掉已经被删除的图元或者未加入到数据库的图元 - */ - filterErase?: boolean; - selectFreeze?: boolean; -} -export declare function CheckFilter(obj: Object3D, filter?: Filter): boolean; -//# sourceMappingURL=SelectFilter.d.ts.map \ No newline at end of file diff --git a/types/Editor/SelectFilter.d.ts.map b/types/Editor/SelectFilter.d.ts.map deleted file mode 100644 index 13606af..0000000 --- a/types/Editor/SelectFilter.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SelectFilter.d.ts","sourceRoot":"","sources":["../../../src/Editor/SelectFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,MAAM,WAAW,MAAM;IAGnB,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC;IAC1D;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,WAsBzD"} \ No newline at end of file diff --git a/types/Editor/SelectPick.d.ts b/types/Editor/SelectPick.d.ts deleted file mode 100644 index 7aa605a..0000000 --- a/types/Editor/SelectPick.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Object3D, Raycaster, Vector3 } from 'three'; -import { IViewer } from '../GraphicsSystem/IView'; -import { SelectBox } from './SelectBox'; -/** - * 点选的数据结构 - */ -export declare class SelectPick extends SelectBox { - _PickPointVcs: Vector3; - _Raycaster: Raycaster; - constructor(view: IViewer, ptVcs: Vector3, size?: number); - /** - * 单选重构了该方法,可以检验对象是否在选择框内 - * @param {Object3D} obj - * @returns {Boolean} - */ - IntersectObject(obj: Object3D): boolean; -} -//# sourceMappingURL=SelectPick.d.ts.map \ No newline at end of file diff --git a/types/Editor/SelectPick.d.ts.map b/types/Editor/SelectPick.d.ts.map deleted file mode 100644 index 798dca7..0000000 --- a/types/Editor/SelectPick.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SelectPick.d.ts","sourceRoot":"","sources":["../../../src/Editor/SelectPick.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAW,OAAO,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,OAAO,EAAE,SAAS,EAAc,MAAM,aAAa,CAAC;AAEpD;;GAEG;AACH,qBAAa,UAAW,SAAQ,SAAS;IAGrC,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,SAAS,CAAmB;gBAC5B,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,SAAO;IAWtD;;;;OAIG;IACH,eAAe,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO;CAQ1C"} \ No newline at end of file diff --git a/types/Editor/SelectSet.d.ts b/types/Editor/SelectSet.d.ts deleted file mode 100644 index 03b6b26..0000000 --- a/types/Editor/SelectSet.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Object3D } from 'three'; -import { Entity } from '../DatabaseServices/Entity/Entity'; -import { SelectSetBase } from './SelectBase'; -import { Filter } from './SelectFilter'; -export declare class SelectSet { - constructor(); - /** - * 选择数据 - */ - _SelectSetList: SelectSetBase[]; - IdSelectMap: Map; - AddSelect(selectData: SelectSetBase): void; - RemoveSelect(selectData: SelectSetBase): void; - Clear(): void; - get SelectSetList(): SelectSetBase[]; - get SelectObjectList(): Array; - get SelectEntityList(): Entity[]; - get SelectObjectCount(): number; - Filter(filter: Filter): void; -} -//# sourceMappingURL=SelectSet.d.ts.map \ No newline at end of file diff --git a/types/Editor/SelectSet.d.ts.map b/types/Editor/SelectSet.d.ts.map deleted file mode 100644 index be112be..0000000 --- a/types/Editor/SelectSet.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SelectSet.d.ts","sourceRoot":"","sources":["../../../src/Editor/SelectSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAe,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGrD,qBAAa,SAAS;;IAGlB;;OAEG;IACH,cAAc,kBAA8B;IAC5C,WAAW,6BAAoC;IAE/C,SAAS,CAAC,UAAU,EAAE,aAAa;IAoBnC,YAAY,CAAC,UAAU,EAAE,aAAa;IAetC,KAAK;IAML,IAAI,aAAa,oBAGhB;IAED,IAAI,gBAAgB,IAAI,KAAK,CAAC,QAAQ,CAAC,CAMtC;IACD,IAAI,gBAAgB,IAAI,MAAM,EAAE,CAO/B;IAED,IAAI,iBAAiB,IAAI,MAAM,CAM9B;IAED,MAAM,CAAC,MAAM,EAAE,MAAM;CAKxB"} \ No newline at end of file diff --git a/types/Editor/TranstrolControl/Segment1dUtil.d.ts b/types/Editor/TranstrolControl/Segment1dUtil.d.ts deleted file mode 100644 index 21ef02f..0000000 --- a/types/Editor/TranstrolControl/Segment1dUtil.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -export declare const START = 0; -export declare const END = 1; -export type Segment1d = [number, number]; -export declare enum PointType { - Right = 1,//前 坐标加大 - Left = -1 -} -export declare function FindInWall(x: number, walls: Segment1d[]): Segment1d; -export declare function Segment1dUnion(segs: Segment1d[]): Segment1d[]; -/** - * 一维区间的裁剪 - * @param primitiveSegs 原始区间 例如 [0,1] [2,3] - * @param subs 减去的区间 例如 [ [0,0.2] , [0.15,0.5] ]... - * @returns 剩余区间 [0.5,1] [2,3]... - */ -export declare function Segment1dSubtraction2(primitiveSegs: Segment1d[], subs: Segment1d[]): Segment1d[]; -/** - * 查找最近的区间和位置 - * @export - * @param {number} num 当前位置例如 5 - * @param {Segment1d[]} intervals 需要查找的区间例如 [[1,2],[7,9]] - * @param {number} allIntervalsLength 实际区间长度 - * @param {number} checkOtherNum 同时检查第二个数值是否在有效区间 - * @param {number} minDist 移动的最小步数 - * @param {number} inceptionNum 初始移动距离 当移动距离等于初始距离时应用 大于初始距离时 要符合(dist减去inceptionNum) 是最小步数的倍数 这样可以满足排钻通孔偏移后各个排钻32倍数 - * @return {*} closestInterval closestNum最近值 closestDist值距离 positive值 正数在左/负数右边 - */ -export declare function FindClosestInterval(num: number, intervals: Segment1d[], allIntervalsLength: number, minDist?: number, checkOtherNum?: number, inceptionNum?: number): { - closestInterval: Segment1d; - closestNum: number; - closestDist: number; - positive: number; -}; -export declare function OperInterval(oldIntervals: Segment1d[], addIntervals: Segment1d[], filter?: Segment1d[]): any[]; -//# sourceMappingURL=Segment1dUtil.d.ts.map \ No newline at end of file diff --git a/types/Editor/TranstrolControl/Segment1dUtil.d.ts.map b/types/Editor/TranstrolControl/Segment1dUtil.d.ts.map deleted file mode 100644 index d92bb32..0000000 --- a/types/Editor/TranstrolControl/Segment1dUtil.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Segment1dUtil.d.ts","sourceRoot":"","sources":["../../../../src/Editor/TranstrolControl/Segment1dUtil.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,IAAI,CAAC;AACvB,eAAO,MAAM,GAAG,IAAI,CAAC;AACrB,MAAM,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACzC,oBAAY,SAAS;IAEjB,KAAK,IAAI,CAAC,QAAQ;IAClB,IAAI,KAAK;CACZ;AASD,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,SAAS,CA+BnE;AA8BD,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,eAmC/C;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,aAAa,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CA+ChG;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO,GAAE,MAAW,EAAE,aAAa,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GACpK;IAAE,eAAe,EAAE,SAAS,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;CAAE,CA8H7F;AAED,wBAAgB,YAAY,CAAC,YAAY,EAAE,SAAS,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,SA0BtG"} \ No newline at end of file diff --git a/types/Editor/VisualSpaceBox.d.ts b/types/Editor/VisualSpaceBox.d.ts deleted file mode 100644 index e168225..0000000 --- a/types/Editor/VisualSpaceBox.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Material, Matrix3, Object3D, Vector3 } from "three"; -import { CADFiler } from "../DatabaseServices/CADFiler"; -import { Entity } from "../DatabaseServices/Entity/Entity"; -import { Box3Ext } from "../Geometry/Box"; -import { RenderType } from "../GraphicsSystem/RenderType"; -import { ObjectSnapMode } from "./ObjectSnapMode"; -export declare class VisualSpaceBox extends Entity { - protected _Length: number; - protected _Width: number; - protected _Height: number; - OnlyRenderType: boolean; - private _LText; - private _WText; - private _HText; - private _IsRoot; - private _DisplayLength; - private _DisplayWidth; - private _DisplayHeight; - constructor(_Length?: number, _Width?: number, _Height?: number); - get Length(): number; - get Width(): number; - get Height(): number; - set IsRoot(b: boolean); - set DisplayWidth(b: boolean); - set DisplayLength(b: boolean); - set DisplayHeight(b: boolean); - SetSize(l: number, w: number, h: number): void; - get BoundingBoxInOCS(): Box3Ext; - get BoundingBox(): Box3Ext; - /** - * - * @param snapMode 捕捉模式(单一) - * @param pickPoint const - * @param lastPoint const - * @param viewXform const 最近点捕捉需要这个变量 - * @returns object snap points - */ - GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[]; - InitDrawObject(renderType?: RenderType): Object3D; - UpdateDrawObject(type: RenderType, obj: Object3D): void; - UpdateDrawObjectMaterial(type: RenderType, obj: Object3D, material?: Material): void; - protected _ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - GetGripPoints(): Array; - MoveGripPoints(indexList: number[], vec: Vector3): void; - GetStretchPoints(): Array; - /** - * 拉伸夹点,用于Stretch命令 - * - * @param {Array} indexList 拉伸点索引列表. - * @param {Vector3} vec 移动向量 - * @memberof Entity - */ - MoveStretchPoints(indexList: Array, vec: Vector3): void; -} -//# sourceMappingURL=VisualSpaceBox.d.ts.map \ No newline at end of file diff --git a/types/Editor/VisualSpaceBox.d.ts.map b/types/Editor/VisualSpaceBox.d.ts.map deleted file mode 100644 index 7d4613d..0000000 --- a/types/Editor/VisualSpaceBox.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"VisualSpaceBox.d.ts","sourceRoot":"","sources":["../../../src/Editor/VisualSpaceBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwD,QAAQ,EAAE,OAAO,EAAiB,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKlI,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIlD,qBACa,cAAe,SAAQ,MAAM;IAgBlC,SAAS,CAAC,OAAO,EAAE,MAAM;IACzB,SAAS,CAAC,MAAM,EAAE,MAAM;IACxB,SAAS,CAAC,OAAO,EAAE,MAAM;IAhB7B,cAAc,UAAQ;IAEtB,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,MAAM,CAAY;IAEd,OAAO,CAAC,OAAO,CAAS;IAExB,OAAO,CAAC,cAAc,CAAQ;IAC9B,OAAO,CAAC,aAAa,CAAQ;IAC7B,OAAO,CAAC,cAAc,CAAQ;gBAI5B,OAAO,GAAE,MAAU,EACnB,MAAM,GAAE,MAAU,EAClB,OAAO,GAAE,MAAU;IAgBjC,IAAI,MAAM,WAA2B;IACrC,IAAI,KAAK,WAA0B;IACnC,IAAI,MAAM,WAA2B;IAGrC,IAAI,MAAM,CAAC,CAAC,EAAE,OAAO,EA2BpB;IAED,IAAI,YAAY,CAAC,CAAC,EAAE,OAAO,EAQ1B;IACD,IAAI,aAAa,CAAC,CAAC,EAAE,OAAO,EAQ3B;IACD,IAAI,aAAa,CAAC,CAAC,EAAE,OAAO,EAQ3B;IAED,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAWvC,IAAI,gBAAgB,YAGnB;IAED,IAAI,WAAW,YAGd;IAGD;;;;;;;SAOK;IACL,mBAAmB,CACf,QAAQ,EAAE,cAAc,EACxB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,OAAO,GACpB,OAAO,EAAE;IA4BZ,cAAc,CAAC,UAAU,GAAE,UAAiC;IAiB5D,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ;IA+ChD,wBAAwB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,EAAE,QAAQ;IAa7E,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAclC,SAAS,CAAC,IAAI,EAAE,QAAQ;IAuBxB,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC;IAe/B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO;IA4ChD,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC;IAKlC;;;;;;OAMG;IACH,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO;CAM3D"} \ No newline at end of file diff --git a/types/GLSL/GoochShader.d.ts b/types/GLSL/GoochShader.d.ts deleted file mode 100644 index 5b30477..0000000 --- a/types/GLSL/GoochShader.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { ShaderMaterialParameters, Vector3 } from "three"; -export declare function GetGoochShader(): { - uniforms: { - LightPosition: { - type: string; - value: Vector3; - }; - SurfaceColor: { - type: string; - value: Vector3; - }; - WarmColor: { - type: string; - value: Vector3; - }; - CoolColor: { - type: string; - value: Vector3; - }; - DiffuseWarm: { - type: string; - value: number; - }; - DiffuseCool: { - type: string; - value: number; - }; - opacity: { - type: string; - value: number; - }; - }; - vertexShader: any; - fragmentShader: any; -}; -export declare function GetGoodShaderSimple(color?: Vector3, side?: import("three").Side, logBuf?: boolean, opacity?: number): ShaderMaterialParameters; -//# sourceMappingURL=GoochShader.d.ts.map \ No newline at end of file diff --git a/types/GLSL/GoochShader.d.ts.map b/types/GLSL/GoochShader.d.ts.map deleted file mode 100644 index ae3f04b..0000000 --- a/types/GLSL/GoochShader.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GoochShader.d.ts","sourceRoot":"","sources":["../../../src/GLSL/GoochShader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,wBAAwB,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGrE,wBAAgB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB7B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,GAAE,OAAqB,EAAE,IAAI,uBAAY,EAAE,MAAM,UAAQ,EAAE,OAAO,SAAI,GAAG,wBAAwB,CAazI"} \ No newline at end of file diff --git a/types/Geometry/BSPGroupParse.d.ts b/types/Geometry/BSPGroupParse.d.ts deleted file mode 100644 index 1008617..0000000 --- a/types/Geometry/BSPGroupParse.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Geom3, Poly3 } from "@jscad/modeling/src/geometries/types"; -import { Vector3 } from "three"; -/** - * 解决 THREEBSP(CSG) 产生的结果没有办法得到分裂的个数. - * 本类分析了THREEBSP的组合情况. - * - * Example: - * - * let topology = new BSPGroupParse(csg); - * topology.parse(); - */ -export declare class BSPGroupParse { - fractionDigits: number; - constructor(bsp?: Geom3, fractionDigits?: number); - Add(poly: Poly3): void; - /** - * 返回组合点 - */ - Parse(): Vector3[][]; - private map; - private Get; - private GetPts; - private vecMap; - private GenerateP; -} -//# sourceMappingURL=BSPGroupParse.d.ts.map \ No newline at end of file diff --git a/types/Geometry/BSPGroupParse.d.ts.map b/types/Geometry/BSPGroupParse.d.ts.map deleted file mode 100644 index 483fa0f..0000000 --- a/types/Geometry/BSPGroupParse.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BSPGroupParse.d.ts","sourceRoot":"","sources":["../../../src/Geometry/BSPGroupParse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAEpE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhC;;;;;;;;GAQG;AACH,qBAAa,aAAa;IAEU,cAAc;gBAAlC,GAAG,CAAC,EAAE,KAAK,EAAS,cAAc,SAAI;IAMlD,GAAG,CAAC,IAAI,EAAE,KAAK;IAaf;;OAEG;IACH,KAAK,IAAI,OAAO,EAAE,EAAE;IAoBpB,OAAO,CAAC,GAAG,CAAkC;IAC7C,OAAO,CAAC,GAAG;IAUX,OAAO,CAAC,MAAM;IAad,OAAO,CAAC,MAAM,CAAgC;IAC9C,OAAO,CAAC,SAAS;CAMpB"} \ No newline at end of file diff --git a/types/Geometry/Board2DModelCSG/Board2DModelCSGBuilder.d.ts b/types/Geometry/Board2DModelCSG/Board2DModelCSGBuilder.d.ts deleted file mode 100644 index 044497b..0000000 --- a/types/Geometry/Board2DModelCSG/Board2DModelCSGBuilder.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import geom3 from "@jscad/modeling/src/geometries/geom3"; -import { Board } from "../../DatabaseServices/Entity/Board"; -export declare function Board2DModelCSGBuilder(board: Board): geom3.Geom3[]; -//# sourceMappingURL=Board2DModelCSGBuilder.d.ts.map \ No newline at end of file diff --git a/types/Geometry/Board2DModelCSG/Board2DModelCSGBuilder.d.ts.map b/types/Geometry/Board2DModelCSG/Board2DModelCSGBuilder.d.ts.map deleted file mode 100644 index 3676661..0000000 --- a/types/Geometry/Board2DModelCSG/Board2DModelCSGBuilder.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Board2DModelCSGBuilder.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/Board2DModelCSG/Board2DModelCSGBuilder.ts"],"names":[],"mappings":"AACA,OAAO,KAA2B,MAAM,sCAAsC,CAAC;AAgB/E,OAAO,EAAE,KAAK,EAAkB,MAAM,qCAAqC,CAAC;AAa5E,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,KAAK,iBAyWlD"} \ No newline at end of file diff --git a/types/Geometry/Board2DModelCSG/BoardSideModelCSGBuilder.d.ts b/types/Geometry/Board2DModelCSG/BoardSideModelCSGBuilder.d.ts deleted file mode 100644 index cc341a9..0000000 --- a/types/Geometry/Board2DModelCSG/BoardSideModelCSGBuilder.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Geom3 } from "@jscad/modeling/src/geometries/geom3"; -import { Matrix4 } from "three"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { Curve } from "../../DatabaseServices/Entity/Curve"; -export declare function BoardSideModelCSGBuilder(board: Board): Geom3[]; -export declare function GetSideCuFaceMtx(cu: Curve, inverseZ?: boolean): Matrix4; -//# sourceMappingURL=BoardSideModelCSGBuilder.d.ts.map \ No newline at end of file diff --git a/types/Geometry/Board2DModelCSG/BoardSideModelCSGBuilder.d.ts.map b/types/Geometry/Board2DModelCSG/BoardSideModelCSGBuilder.d.ts.map deleted file mode 100644 index 0dd8b67..0000000 --- a/types/Geometry/Board2DModelCSG/BoardSideModelCSGBuilder.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoardSideModelCSGBuilder.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/Board2DModelCSG/BoardSideModelCSGBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAa,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAK5D,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,EAAE,CAgC9D;AAED,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,UAAQ,GAAG,OAAO,CAUrE"} \ No newline at end of file diff --git a/types/Geometry/BoardUVGenerator.d.ts b/types/Geometry/BoardUVGenerator.d.ts deleted file mode 100644 index 391e4e5..0000000 --- a/types/Geometry/BoardUVGenerator.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { ExtrudeBufferGeometry, UVGenerator, Vector2 } from "three"; -declare class BoardUVGenerator implements UVGenerator { - generateTopUV(geometry: ExtrudeBufferGeometry, vertices: number[], indexA: number, indexB: number, indexC: number): Vector2[]; - generateSideWallUV(geometry: ExtrudeBufferGeometry, vertices: number[], indexA: number, indexB: number, indexC: number, indexD: number): Vector2[]; -} -declare class BoardUVGenerator2 extends BoardUVGenerator { - generateTopUV(geometry: ExtrudeBufferGeometry, vertices: number[], indexA: number, indexB: number, indexC: number): Vector2[]; -} -export declare let boardUVGenerator: BoardUVGenerator; -export declare let boardUVGenerator2: BoardUVGenerator2; -export {}; -//# sourceMappingURL=BoardUVGenerator.d.ts.map \ No newline at end of file diff --git a/types/Geometry/BoardUVGenerator.d.ts.map b/types/Geometry/BoardUVGenerator.d.ts.map deleted file mode 100644 index d0904cc..0000000 --- a/types/Geometry/BoardUVGenerator.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoardUVGenerator.d.ts","sourceRoot":"","sources":["../../../src/Geometry/BoardUVGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEpE,cAAM,gBAAiB,YAAW,WAAW;IAEzC,aAAa,CAAC,QAAQ,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAejH,kBAAkB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAkCzI;AAED,cAAM,iBAAkB,SAAQ,gBAAgB;IAE5C,aAAa,CAAC,QAAQ,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAepH;AAED,eAAO,IAAI,gBAAgB,kBAAyB,CAAC;AACrD,eAAO,IAAI,iBAAiB,mBAA0B,CAAC"} \ No newline at end of file diff --git a/types/Geometry/Box.d.ts b/types/Geometry/Box.d.ts deleted file mode 100644 index 2a8a2c0..0000000 --- a/types/Geometry/Box.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Box3 } from 'three'; -/** - * 盒子的切割类型 - */ -export declare enum SplitType { - X = 0, - Y = 1, - Z = 2 -} -/** - * 扩展Box3,添加切割方法,体积等 - */ -export declare class Box3Ext extends Box3 { - TempData: any; - get Volume(): number; - isSolid(minSize?: number): boolean; - substract(b: Box3Ext, spaceType: SplitType): Box3Ext[]; - clampSpace(b2: Box3Ext, splitType: SplitType): this; - containsBox(box: Box3, fuzz?: number): boolean; - intersectsBox(box: Box3, fuzz?: number): boolean; -} -export declare function IntersectsBox(box1: Box3, box2: Box3, fuzz?: number): boolean; -/**盒子二维面是否相交 */ -export declare function IntersectBox2(box1: Box3, box2: Box3, fuzz?: number): boolean; -export declare function BoxIsSolid(box: Box3, minSize?: number): boolean; -//# sourceMappingURL=Box.d.ts.map \ No newline at end of file diff --git a/types/Geometry/Box.d.ts.map b/types/Geometry/Box.d.ts.map deleted file mode 100644 index 179e3b5..0000000 --- a/types/Geometry/Box.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/Geometry/Box.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,OAAO,CAAC;AAEtC;;GAEG;AACH,oBAAY,SAAS;IAEjB,CAAC,IAAI;IACL,CAAC,IAAI;IACL,CAAC,IAAI;CACR;AAED;;GAEG;AACH,qBAAa,OAAQ,SAAQ,IAAI;IAE7B,QAAQ,EAAE,GAAG,CAAC;IACd,IAAI,MAAM,WAIT;IAGD,OAAO,CAAC,OAAO,SAAI;IAInB,SAAS,CAAC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;IAiB1C,UAAU,CAAC,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;IAS5C,WAAW,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,SAAO,GAAG,OAAO;IAM5C,aAAa,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,SAAO,GAAG,OAAO;CAIjD;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,SAAO,GAAG,OAAO,CAK1E;AAED,eAAe;AACf,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,SAAO,WAIhE;AAGD,wBAAgB,UAAU,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,SAAI,WAIhD"} \ No newline at end of file diff --git a/types/Geometry/BufferGeometryUtils.d.ts b/types/Geometry/BufferGeometryUtils.d.ts deleted file mode 100644 index 80eaf8b..0000000 --- a/types/Geometry/BufferGeometryUtils.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { BufferAttribute, BufferGeometry, ShapeGeometry, Vector3 } from "three"; -export declare namespace BufferGeometryUtils { - function CreateFromPts(pts: Vector3[]): BufferGeometry; - /** - * 更新BufferGeometry的顶点 - * @param geo - * @param pts - * @param ignoreBoxError 忽略更新点后盒子错误的问题 - * @returns 当成功时返回true,更新失败时返回false - */ - function UpdatePts(geo: BufferGeometry, pts: Vector3[], ignoreBoxError?: boolean): boolean; - function ArrowGeometry(): ShapeGeometry; - function MergeBufferGeometries(geometries: BufferGeometry[], useGroups?: boolean): BufferGeometry; - function MergeBufferAttributes(attributes: BufferAttribute[]): BufferAttribute; -} -//# sourceMappingURL=BufferGeometryUtils.d.ts.map \ No newline at end of file diff --git a/types/Geometry/BufferGeometryUtils.d.ts.map b/types/Geometry/BufferGeometryUtils.d.ts.map deleted file mode 100644 index 451b402..0000000 --- a/types/Geometry/BufferGeometryUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BufferGeometryUtils.d.ts","sourceRoot":"","sources":["../../../src/Geometry/BufferGeometryUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAS,aAAa,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGvF,yBAAiB,mBAAmB,CACpC;IACI,SAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,cAAc,CAG5D;IAED;;;;;;OAMG;IACH,SAAgB,SAAS,CAAC,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,cAAc,UAAQ,GAAG,OAAO,CAgB9F;IAGD,SAAgB,aAAa,kBAa5B;IAED,SAAgB,qBAAqB,CAAC,UAAU,EAAE,cAAc,EAAE,EAAE,SAAS,GAAE,OAAe,GAAG,cAAc,CAyK9G;IAED,SAAgB,qBAAqB,CAAC,UAAU,EAAE,eAAe,EAAE,GAAG,eAAe,CAuCpF;CAEJ"} \ No newline at end of file diff --git a/types/Geometry/CSGSubtract/CSGSubtractTaskManager.d.ts b/types/Geometry/CSGSubtract/CSGSubtractTaskManager.d.ts deleted file mode 100644 index de93697..0000000 --- a/types/Geometry/CSGSubtract/CSGSubtractTaskManager.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Task } from "../../Common/ThreadPool/Task"; -export type CSGTask = Pick; -type CSGSubtractFunction = (task: CSGTask) => void; -export declare const _CSGSubtractInjectInteractionFunctions: CSGSubtractFunction[]; -export declare function AddCSGSubtractTask(task: CSGTask): void; -export type TaskKey = Pick; -type TerminateCSGTaskFunction = (task: TaskKey) => void; -export declare const _TerminateTaskInjectInteractionFunctions: TerminateCSGTaskFunction[]; -export declare function TerminateCSGTask(task: TaskKey): void; -export {}; -//# sourceMappingURL=CSGSubtractTaskManager.d.ts.map \ No newline at end of file diff --git a/types/Geometry/CSGSubtract/CSGSubtractTaskManager.d.ts.map b/types/Geometry/CSGSubtract/CSGSubtractTaskManager.d.ts.map deleted file mode 100644 index 07cd4b9..0000000 --- a/types/Geometry/CSGSubtract/CSGSubtractTaskManager.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CSGSubtractTaskManager.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/CSGSubtract/CSGSubtractTaskManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAEpD,MAAM,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;AAE1D,KAAK,mBAAmB,GAAG,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;AACnD,eAAO,MAAM,sCAAsC,EAAE,mBAAmB,EAAO,CAAC;AAChF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,QAI/C;AAED,MAAM,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxC,KAAK,wBAAwB,GAAG,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;AACxD,eAAO,MAAM,wCAAwC,EAAE,wBAAwB,EAAO,CAAC;AACvF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,QAI7C"} \ No newline at end of file diff --git a/types/Geometry/CheckIntersect.d.ts b/types/Geometry/CheckIntersect.d.ts deleted file mode 100644 index 045842c..0000000 --- a/types/Geometry/CheckIntersect.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Box2 } from "three"; -export interface Vec2 { - x: number; - y: number; -} -/** - * 盒子相交测试,快速判断盒子和直线或者圆是否有相交 - */ -export declare class BoxCheckIntersect { - p1: Vec2; - p2: Vec2; - p3: Vec2; - p4: Vec2; - box: Box2; - constructor(box: Box2); - IsIntersectLine(p1: Vec2, p2: Vec2): boolean; - IsIntersectCircle(cen: Vec2, radius: number): boolean; -} -//# sourceMappingURL=CheckIntersect.d.ts.map \ No newline at end of file diff --git a/types/Geometry/CheckIntersect.d.ts.map b/types/Geometry/CheckIntersect.d.ts.map deleted file mode 100644 index 40980c7..0000000 --- a/types/Geometry/CheckIntersect.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CheckIntersect.d.ts","sourceRoot":"","sources":["../../../src/Geometry/CheckIntersect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAsB,MAAM,OAAO,CAAC;AAWjD,MAAM,WAAW,IAAI;IAEjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACb;AAwBD;;GAEG;AACH,qBAAa,iBAAiB;IAE1B,EAAE,EAAE,IAAI,CAAC;IACT,EAAE,EAAE,IAAI,CAAC;IACT,EAAE,EAAE,IAAI,CAAC;IACT,EAAE,EAAE,IAAI,CAAC;IACT,GAAG,EAAE,IAAI,CAAC;gBACE,GAAG,EAAE,IAAI;IAWrB,eAAe,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,GAAG,OAAO;IAyB5C,iBAAiB,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO;CAMxD"} \ No newline at end of file diff --git a/types/Geometry/CoordinateSystem.d.ts b/types/Geometry/CoordinateSystem.d.ts deleted file mode 100644 index e00e55a..0000000 --- a/types/Geometry/CoordinateSystem.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Matrix4, Vector3 } from 'three'; -/** - * 坐标系运算. - */ -export declare class CoordinateSystem { - Postion: Vector3; - XAxis: Vector3; - YAxis: Vector3; - ZAxis: Vector3; - constructor(postion?: Vector3, xAxis?: Vector3, yAxis?: Vector3, zAxis?: Vector3); - applyMatrix4(mat4: Matrix4): this; - getMatrix4(m?: Matrix4): Matrix4; - CopyForm(mat4: Matrix4): this; - extractBasis(xAxisA: Vector3, yAxisA: Vector3, zAxisA: Vector3): void; - copy(cs: CoordinateSystem): CoordinateSystem; - clone(): CoordinateSystem; -} -//# sourceMappingURL=CoordinateSystem.d.ts.map \ No newline at end of file diff --git a/types/Geometry/CoordinateSystem.d.ts.map b/types/Geometry/CoordinateSystem.d.ts.map deleted file mode 100644 index e9a98f4..0000000 --- a/types/Geometry/CoordinateSystem.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CoordinateSystem.d.ts","sourceRoot":"","sources":["../../../src/Geometry/CoordinateSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEzC;;GAEG;AACH,qBAAa,gBAAgB;IAEzB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;gBAEH,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,OAAO;IAQhF,YAAY,CAAC,IAAI,EAAE,OAAO;IAU1B,UAAU,CAAC,CAAC,UAAc,GAAG,OAAO;IAMpC,QAAQ,CAAC,IAAI,EAAE,OAAO;IAOtB,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO;IAM9D,IAAI,CAAC,EAAE,EAAE,gBAAgB,GAAG,gBAAgB;IAQ5C,KAAK;CASR"} \ No newline at end of file diff --git a/types/Geometry/Count.d.ts b/types/Geometry/Count.d.ts deleted file mode 100644 index e2071fd..0000000 --- a/types/Geometry/Count.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * 一个简单的计数器实现,本质是使用一个Map来保存元素的个数 - * - * 例: - * let count = new Count(); - * count.AddCount("Test", 1); - * count.GetCount("Test");//现在 Test 的个数为1 - */ -export declare class Count { - private m_CountMap; - GetCount(obj: any): number; - AddCount(obj: any, add: number): void; -} -//# sourceMappingURL=Count.d.ts.map \ No newline at end of file diff --git a/types/Geometry/Count.d.ts.map b/types/Geometry/Count.d.ts.map deleted file mode 100644 index b8a2f51..0000000 --- a/types/Geometry/Count.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Count.d.ts","sourceRoot":"","sources":["../../../src/Geometry/Count.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AACH,qBAAa,KAAK;IAEd,OAAO,CAAC,UAAU,CAA8B;IAChD,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM;IAU1B,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM;CAIjC"} \ No newline at end of file diff --git a/types/Geometry/CreateContour2.d.ts b/types/Geometry/CreateContour2.d.ts deleted file mode 100644 index d228488..0000000 --- a/types/Geometry/CreateContour2.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Contour } from "../DatabaseServices/Contour"; -import { Curve } from "../DatabaseServices/Entity/Curve"; -/** - * 某些时候我们不能创建轮廓,此时我们使用类似c2r的方法来构建一个外部轮廓. - */ -export declare function CreateContours(curves: Curve[], fuzz?: number): Contour[]; -export declare function CreateContour2(curves: Curve[], fuzz?: number): Contour | undefined; -//# sourceMappingURL=CreateContour2.d.ts.map \ No newline at end of file diff --git a/types/Geometry/CreateContour2.d.ts.map b/types/Geometry/CreateContour2.d.ts.map deleted file mode 100644 index 96e62b0..0000000 --- a/types/Geometry/CreateContour2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateContour2.d.ts","sourceRoot":"","sources":["../../../src/Geometry/CreateContour2.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAGtD,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AASzD;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,IAAI,SAAO,GAAG,OAAO,EAAE,CAwItE;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,IAAI,SAAO,GAAG,OAAO,GAAG,SAAS,CAGhF"} \ No newline at end of file diff --git a/types/Geometry/CreatePolylinePath.d.ts b/types/Geometry/CreatePolylinePath.d.ts deleted file mode 100644 index 2a97dc3..0000000 --- a/types/Geometry/CreatePolylinePath.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Vector2 } from 'three'; -import { Shape2 } from '../DatabaseServices/Shape2'; -export declare function CreatePolylinePath(pts: Vector2[], buls: number[], displayAccuracy?: number): Shape2; -export declare function CreateShapeFromPoints(): void; -//# sourceMappingURL=CreatePolylinePath.d.ts.map \ No newline at end of file diff --git a/types/Geometry/CreatePolylinePath.d.ts.map b/types/Geometry/CreatePolylinePath.d.ts.map deleted file mode 100644 index ad799b2..0000000 --- a/types/Geometry/CreatePolylinePath.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreatePolylinePath.d.ts","sourceRoot":"","sources":["../../../src/Geometry/CreatePolylinePath.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAgCpD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,eAAe,SAAI,GAAG,MAAM,CA2B9F;AAED,wBAAgB,qBAAqB,SAGpC"} \ No newline at end of file diff --git a/types/Geometry/CreateWireframe.d.ts b/types/Geometry/CreateWireframe.d.ts deleted file mode 100644 index f4f9b4d..0000000 --- a/types/Geometry/CreateWireframe.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { BufferGeometry, Line, LineBasicMaterial, Matrix4, Object3D } from "three"; -import { ExtrudeHole } from "../DatabaseServices/3DSolid/ExtrudeHole"; -import { Board } from "../DatabaseServices/Entity/Board"; -import { ExtrudeSolid } from "../DatabaseServices/Entity/Extrude"; -import { Shape2 } from "../DatabaseServices/Shape2"; -export declare function CreateWireframe(en3D: Board | ExtrudeSolid): Object3D[]; -export declare function FastWireframe(br: ExtrudeSolid, color?: number, divCount?: number, optArc?: boolean): Line[]; -export declare function FastExtrudeEdgeGeometryOfShape(shape: Shape2, z0: number, z1: number, divCount?: number, optArc?: boolean, coords?: number[]): number[]; -export declare function FastExtrudeEdgeGeometry(ext: ExtrudeSolid, color?: number, divCount?: number, optArc?: boolean, coords?: number[], inv?: Matrix4): number[]; -export declare function FastWireframe2(dr: ExtrudeHole, color?: number): Line[]; -//# sourceMappingURL=CreateWireframe.d.ts.map \ No newline at end of file diff --git a/types/Geometry/CreateWireframe.d.ts.map b/types/Geometry/CreateWireframe.d.ts.map deleted file mode 100644 index 4c302cf..0000000 --- a/types/Geometry/CreateWireframe.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CreateWireframe.d.ts","sourceRoot":"","sources":["../../../src/Geometry/CreateWireframe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAoC,IAAI,EAAE,iBAAiB,EAAgB,OAAO,EAAE,QAAQ,EAAW,MAAM,OAAO,CAAC;AAK5I,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAMpD,wBAAgB,eAAe,CAAC,IAAI,EAAE,KAAK,GAAG,YAAY,cAsEzD;AAaD,wBAAgB,aAAa,CAAC,EAAE,EAAE,YAAY,EAAE,KAAK,SAAI,EAAE,QAAQ,SAAI,EAAE,MAAM,UAAO,GAAG,IAAI,CAAC,cAAc,EAAE,iBAAiB,CAAC,EAAE,CAgFjI;AAED,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,SAAI,EAAE,MAAM,UAAO,EAAE,MAAM,GAAE,MAAM,EAAO,YAqBvI;AAID,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,YAAY,EAAE,KAAK,SAAI,EAAE,QAAQ,SAAI,EAAE,MAAM,UAAO,EAAE,MAAM,GAAE,MAAM,EAAO,EAAE,GAAG,GAAE,OAAmB,YAmDjJ;AAED,wBAAgB,cAAc,CAAC,EAAE,EAAE,WAAW,EAAE,KAAK,SAAI,6CAoCxD"} \ No newline at end of file diff --git a/types/Geometry/CurveIntersection.d.ts b/types/Geometry/CurveIntersection.d.ts deleted file mode 100644 index 704f437..0000000 --- a/types/Geometry/CurveIntersection.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Box3, Vector3 } from "three"; -import { Curve } from "../DatabaseServices/Entity/Curve"; -import { IntersectOption } from "../GraphicsSystem/IntersectWith"; -/** - * 简化优化版本的曲线求交, 优化版本可以参考(算法导论33.2 确定任意一对线段是否相交 p599) - */ -export declare class CurveIntersection { - protected fuzz: number; - protected boxMap: Map; - /** - * 交点数据集,key 为曲线 value 为和它相交的(曲线和交点的Map) - */ - intersect: Map>; - intersect2: Map; - intersect3: [Curve, Curve, Vector3[]][]; - /** - * @param {Curve[]} cus 请注意数组的顺序会被更改,如果你在意数组的顺序,请拷贝数组后传进来 - * @memberof CurveIntersection - */ - constructor(cus: Curve[], parseIntersectionParam?: boolean, intType?: IntersectOption, fuzz?: number, parseRecord?: boolean); - protected IntersectWith2(c1: Curve, c2: Curve, intType: IntersectOption): import("../GraphicsSystem/IntersectWith").IntersectResult[]; - protected AppendIntersectionParams(curve: Curve, params: [number, Vector3][]): void; - protected GenBox(cus: Curve[]): void; - protected SortCurve(cus: Curve[]): void; - GetIntersect(cu: Curve): Map; -} -export declare class CurveIntersection2 extends CurveIntersection { - /** - * Curve2Polyline使用这个时,为了避免多余的交点导致曲线切割过度,过滤掉无关的点 - */ - protected IntersectWith2(c1: Curve, c2: Curve, intType: IntersectOption): import("../GraphicsSystem/IntersectWith").IntersectResult[]; -} -//# sourceMappingURL=CurveIntersection.d.ts.map \ No newline at end of file diff --git a/types/Geometry/CurveIntersection.d.ts.map b/types/Geometry/CurveIntersection.d.ts.map deleted file mode 100644 index 684208d..0000000 --- a/types/Geometry/CurveIntersection.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CurveIntersection.d.ts","sourceRoot":"","sources":["../../../src/Geometry/CurveIntersection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE;;GAEG;AACH,qBAAa,iBAAiB;IAkBsE,SAAS,CAAC,IAAI;IAf9G,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAa;IAE/C;;OAEG;IACH,SAAS,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC,CAAa;IAEzD,UAAU,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,CAAa;IAExD,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAM;IAE7C;;;OAGG;gBACS,GAAG,EAAE,KAAK,EAAE,EAAE,sBAAsB,UAAQ,EAAE,OAAO,kBAA6B,EAAY,IAAI,SAAO,EAAE,WAAW,UAAQ;IA6C1I,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe;IAKvE,SAAS,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE;IAW5E,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE;IAM7B,SAAS,CAAC,SAAS,CAAC,GAAG,EAAE,KAAK,EAAE;IAQhC,YAAY,CAAC,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC;CASjD;AAED,qBAAa,kBAAmB,SAAQ,iBAAiB;IAErD;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe;CAW1E"} \ No newline at end of file diff --git a/types/Geometry/CurveMap.d.ts b/types/Geometry/CurveMap.d.ts deleted file mode 100644 index a2cbac8..0000000 --- a/types/Geometry/CurveMap.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Vector3 } from "three"; -import { Curve } from "../DatabaseServices/Entity/Curve"; -export interface Vertice { - position: Vector3; - routes: Route[]; -} -export interface Route { - curve: Curve; - from: Vertice; - to: Vertice; - length: number; - isReverse: boolean; - an?: number; - s: Vector3; - e: Vector3; -} -/** - * 曲线连接图 - * 所有的顶点和边的关系 - */ -export declare class CurveMap { - numdimensions: number; - _RemoveSortLine: boolean; - private multiplier; - constructor(numdimensions?: number, _RemoveSortLine?: boolean, multiplier?: number); - _VerticeMap: Map; - _Vertices: Vertice[]; - /** - * 得到节点图的所有站点列表 - */ - get Stands(): Vertice[]; - /** - * @param curve - * @param [isArc=curve instanceof Arc] - * @param [removeDuplicate=false] - * @returns 加入成功? - */ - AddCurveToMap(curve: Curve, isArc?: boolean, removeDuplicate?: boolean, parseAngle?: boolean): boolean; - /** - * 获得唯一的顶点 - */ - GetOnlyVertice(p: Vector3): Vertice; - _LookupTable: { - [key: string]: Vector3; - }; - /** - * 生成一个唯一的向量. - */ - GenerateP(p: Vector3): Vector3; -} -//# sourceMappingURL=CurveMap.d.ts.map \ No newline at end of file diff --git a/types/Geometry/CurveMap.d.ts.map b/types/Geometry/CurveMap.d.ts.map deleted file mode 100644 index 0e65792..0000000 --- a/types/Geometry/CurveMap.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CurveMap.d.ts","sourceRoot":"","sources":["../../../src/Geometry/CurveMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAIzD,MAAM,WAAW,OAAO;IAGpB,QAAQ,EAAE,OAAO,CAAC;IAElB,MAAM,EAAE,KAAK,EAAE,CAAC;CACnB;AAGD,MAAM,WAAW,KAAK;IAElB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,CAAC,EAAE,OAAO,CAAC;IACX,CAAC,EAAE,OAAO,CAAC;CACd;AAED;;;GAGG;AACH,qBAAa,QAAQ;IAGN,aAAa;IACb,eAAe;IACtB,OAAO,CAAC,UAAU;gBAFX,aAAa,SAAI,EACjB,eAAe,UAAQ,EACtB,UAAU,SAAsB;IAQ5C,WAAW,wBAA+B;IAE1C,SAAS,EAAE,OAAO,EAAE,CAAM;IAE1B;;OAEG;IACH,IAAI,MAAM,IAAI,OAAO,EAAE,CAGtB;IAED;;;;;OAKG;IACH,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,GAAE,OAA8B,EAAE,eAAe,GAAE,OAAe,EAAE,UAAU,UAAQ,GAAG,OAAO;IA2CjI;;MAEE;IACF,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO;IAYnC,YAAY,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KAAE,CAAM;IAE/C;;OAEG;IACH,SAAS,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO;CAmCjC"} \ No newline at end of file diff --git a/types/Geometry/DoIntersect.d.ts b/types/Geometry/DoIntersect.d.ts deleted file mode 100644 index 9c0378b..0000000 --- a/types/Geometry/DoIntersect.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Vec2 } from "./CheckIntersect"; -export declare function orientation(p: Vec2, q: Vec2, r: Vec2): number; -/** - * 判断线段`p1q1`和线段`p2q2`是否相交. - */ -export declare function doIntersect(p1: Vec2, q1: Vec2, p2: Vec2, q2: Vec2): boolean; -//# sourceMappingURL=DoIntersect.d.ts.map \ No newline at end of file diff --git a/types/Geometry/DoIntersect.d.ts.map b/types/Geometry/DoIntersect.d.ts.map deleted file mode 100644 index 3d7e472..0000000 --- a/types/Geometry/DoIntersect.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DoIntersect.d.ts","sourceRoot":"","sources":["../../../src/Geometry/DoIntersect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAoBxC,wBAAgB,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,GAAG,MAAM,CAS7D;AACD;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,GAAG,OAAO,CAyB3E"} \ No newline at end of file diff --git a/types/Geometry/DrillParse/BoardGetFace.d.ts b/types/Geometry/DrillParse/BoardGetFace.d.ts deleted file mode 100644 index 538ff76..0000000 --- a/types/Geometry/DrillParse/BoardGetFace.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { Matrix4 } from "three"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { Curve } from "../../DatabaseServices/Entity/Curve"; -import { IHighSealedItem } from "../../UI/Store/OptionInterface/IHighSealedItem"; -import { Face } from "./Face"; -export declare enum BoardFaceType { - Side = 0, - NoSide = 1 -} -export declare class BoardGetFace { - Board: Board; - Faces: Face[]; - constructor(Board: Board); - ParseFaces(): void; - GetTopAndBottomFace(isEdgeFace?: boolean): void; - GetSideFaces(): void; - GetArcBoardFaces(faceSealingDataMap?: Map, highSealingData?: IHighSealedItem[], sealCu?: Curve[]): void; - IntersectFace(br: BoardGetFace, bInsEqual?: boolean): Face[]; - static GetAllSidesFaces(br: Board, isMergeFace?: boolean): Face[]; -} -export declare function MatrixIsCoplane2(matrixFrom: Matrix4, matrixTo: Matrix4, zFuzz: number): boolean; -export declare function GetSideFaceMtx(cu: Curve, inverseZ?: boolean): Matrix4; -export declare class ParseBoardSideFace extends BoardGetFace { - Board: Board; - constructor(Board: Board); - ParseFaces(): void; - GetSideFaces(): void; -} -//# sourceMappingURL=BoardGetFace.d.ts.map \ No newline at end of file diff --git a/types/Geometry/DrillParse/BoardGetFace.d.ts.map b/types/Geometry/DrillParse/BoardGetFace.d.ts.map deleted file mode 100644 index 18775fb..0000000 --- a/types/Geometry/DrillParse/BoardGetFace.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoardGetFace.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/DrillParse/BoardGetFace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAoB,MAAM,OAAO,CAAC;AAQlD,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAI5D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAIjF,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,oBAAY,aAAa;IAErB,IAAI,IAAI;IACR,MAAM,IAAI;CACb;AACD,qBAAa,YAAY;IAGF,KAAK,EAAE,KAAK;IAD/B,KAAK,EAAE,IAAI,EAAE,CAAM;gBACA,KAAK,EAAE,KAAK;IAI/B,UAAU;IAYV,mBAAmB,CAAC,UAAU,UAAQ;IAwCtC,YAAY;IA4BZ,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,eAAe,CAAC,EAAE,eAAe,EAAE,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE;IA8K9G,aAAa,CAAC,EAAE,EAAE,YAAY,EAAE,SAAS,GAAE,OAAe,GAAG,IAAI,EAAE;IAqBnE,MAAM,CAAC,gBAAgB,CAAC,EAAE,EAAE,KAAK,EAAE,WAAW,UAAQ;CAwBzD;AAGD,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAe/F;AACD,wBAAgB,cAAc,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,UAAQ,GAAG,OAAO,CAmBnE;AAED,qBAAa,kBAAmB,SAAQ,YAAY;IAE7B,KAAK,EAAE,KAAK;gBAAZ,KAAK,EAAE,KAAK;IAK/B,UAAU;IAKV,YAAY;CA0Bf"} \ No newline at end of file diff --git a/types/Geometry/DrillParse/CanDrawHoleFuzz.d.ts b/types/Geometry/DrillParse/CanDrawHoleFuzz.d.ts deleted file mode 100644 index f741739..0000000 --- a/types/Geometry/DrillParse/CanDrawHoleFuzz.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const CanDrawHoleFuzz = 0.1; -//# sourceMappingURL=CanDrawHoleFuzz.d.ts.map \ No newline at end of file diff --git a/types/Geometry/DrillParse/CanDrawHoleFuzz.d.ts.map b/types/Geometry/DrillParse/CanDrawHoleFuzz.d.ts.map deleted file mode 100644 index 3508002..0000000 --- a/types/Geometry/DrillParse/CanDrawHoleFuzz.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CanDrawHoleFuzz.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/DrillParse/CanDrawHoleFuzz.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/types/Geometry/DrillParse/Face.d.ts b/types/Geometry/DrillParse/Face.d.ts deleted file mode 100644 index 69d8ee1..0000000 --- a/types/Geometry/DrillParse/Face.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Box3, Matrix4, Vector3 } from "three"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -import { Region } from "../../DatabaseServices/Entity/Region"; -import { Segment1d } from "../../Editor/TranstrolControl/Segment1dUtil"; -import { BoardFaceType } from "./BoardGetFace"; -export interface BoardFaceParams { - type: BoardFaceType; - length: number; - width: number; - localBoard: Board; - matrix4: Matrix4; - region?: Region; - isRect?: boolean; - drillType?: string; - polyLineOCS?: Matrix4; - CurveBoardFaceRegionPolyline?: Polyline; -} -export declare class Face { - type: BoardFaceType; - Length: number; - Width: number; - private _Region; - LocalBoard: Board; - InterBoard: Board; - isEqualType: boolean; - OCS: Matrix4; - IsRect: boolean; - DrillType: string; - FixedInterval: Segment1d[]; - Segment1D: Segment1d[]; - PolyLineOCS: Matrix4; - CurveBoardFaceRegionPolyline: Polyline; - constructor(parameters?: BoardFaceParams); - get Region(): Region; - get OCSInv(): Matrix4; - get Normal(): Vector3; - Intersect(f: Face): Face[]; - IsIntersect(f: Face, fuzz?: number, currentCoverBoxes?: Box3[]): { - isInt: boolean; - coverBoxesList?: Box3[]; - }; -} -//# sourceMappingURL=Face.d.ts.map \ No newline at end of file diff --git a/types/Geometry/DrillParse/Face.d.ts.map b/types/Geometry/DrillParse/Face.d.ts.map deleted file mode 100644 index b96dbd6..0000000 --- a/types/Geometry/DrillParse/Face.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Face.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/DrillParse/Face.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAI/C,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAIxE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,MAAM,WAAW,eAAe;IAE5B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,KAAK,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4BAA4B,CAAC,EAAE,QAAQ,CAAC;CAC3C;AACD,qBAAa,IAAI;IAEb,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,OAAO,CAAS;IACxB,UAAU,EAAE,KAAK,CAAC;IAClB,UAAU,EAAE,KAAK,CAAC;IAClB,WAAW,EAAE,OAAO,CAAS;IAC7B,GAAG,EAAE,OAAO,CAAiB;IAC7B,MAAM,EAAE,OAAO,CAAQ;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,SAAS,EAAE,CAAC;IAC3B,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,WAAW,EAAE,OAAO,CAAiB;IACrC,4BAA4B,EAAE,QAAQ,CAAC;gBAC3B,UAAU,CAAC,EAAE,eAAe;IAuBxC,IAAI,MAAM,WAQT;IACD,IAAI,MAAM,YAGT;IACD,IAAI,MAAM,YAGT;IACD,SAAS,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE;IAkL1B,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,SAAO,EAAE,iBAAiB,GAAE,IAAI,EAAO,GAAG;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,cAAc,CAAC,EAAE,IAAI,EAAE,CAAC;KAAE;CAqIlH"} \ No newline at end of file diff --git a/types/Geometry/DrillParse/Sement1dUntils.d.ts b/types/Geometry/DrillParse/Sement1dUntils.d.ts deleted file mode 100644 index 2fe5d31..0000000 --- a/types/Geometry/DrillParse/Sement1dUntils.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Segment1d } from "../../Editor/TranstrolControl/Segment1dUtil"; -export declare function Segment1dJoin(segment: Segment1d[]): Segment1d[]; -export declare function IntersectSegment1ds(segment1: Segment1d[], segment2: Segment1d[]): Segment1d[]; -//# sourceMappingURL=Sement1dUntils.d.ts.map \ No newline at end of file diff --git a/types/Geometry/DrillParse/Sement1dUntils.d.ts.map b/types/Geometry/DrillParse/Sement1dUntils.d.ts.map deleted file mode 100644 index 3ea3e73..0000000 --- a/types/Geometry/DrillParse/Sement1dUntils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Sement1dUntils.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/DrillParse/Sement1dUntils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAKxE,wBAAgB,aAAa,CAAC,OAAO,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CAuC/D;AAGD,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CAiB7F"} \ No newline at end of file diff --git a/types/Geometry/EdgeGeometry.d.ts b/types/Geometry/EdgeGeometry.d.ts deleted file mode 100644 index 95ce8d7..0000000 --- a/types/Geometry/EdgeGeometry.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { BufferGeometry } from "three"; -import { Geom3Res, PolygonRes } from "../Common/CSGIntersect"; -export declare class EdgesGeometry extends BufferGeometry { - /** - * 在使用Extrude实体的时候,有可能导致面无限分裂,并且有可能造成丢线问题,使用FromCSG方法可解. - */ - FromGeometry(geometry: any, thresholdAngle?: number): this; - /** - * 解决原来算法性能低下并且结果不理想的问题 - */ - FromCSG(csg: Geom3Res): this; - PolygonsOutline(polygons: PolygonRes[], coords: number[]): void; -} -//# sourceMappingURL=EdgeGeometry.d.ts.map \ No newline at end of file diff --git a/types/Geometry/EdgeGeometry.d.ts.map b/types/Geometry/EdgeGeometry.d.ts.map deleted file mode 100644 index 16db2c1..0000000 --- a/types/Geometry/EdgeGeometry.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"EdgeGeometry.d.ts","sourceRoot":"","sources":["../../../src/Geometry/EdgeGeometry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAqE,MAAM,OAAO,CAAC;AAEhH,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAS9D,qBAAa,aAAc,SAAQ,cAAc;IAE7C;;OAEG;IACH,YAAY,CAAC,QAAQ,KAAA,EAAE,cAAc,GAAE,MAAU;IA8GjD;;OAEG;IACH,OAAO,CAAC,GAAG,EAAE,QAAQ;IA8BrB,eAAe,CAAC,QAAQ,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;CAwF3D"} \ No newline at end of file diff --git a/types/Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2.d.ts b/types/Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2.d.ts deleted file mode 100644 index bb59af9..0000000 --- a/types/Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2.d.ts +++ /dev/null @@ -1,177 +0,0 @@ -import { Box3, BufferGeometry, Vector3 } from "three"; -import { Contour } from "../../DatabaseServices/Contour"; -import { ExtrudeContourCurve, ExtrudeSolid } from "../../DatabaseServices/Entity/Extrude"; -import { Line } from "../../DatabaseServices/Entity/Line"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -export declare enum DepthType { - Front = 1, - Back = 2, - All = 3 -} -export declare const ExtrudeBuildConfig: { - bevel: boolean; -}; -/** - * 槽的几何数据,包括槽的墙面和槽的盖子 - */ -export declare class Groove { - depthType: DepthType; - depth: number; - allDepth: number; - private box; - contourWall: ExtudeWall; - holeWalls: ExtudeWall[]; - private lid; - constructor(contour: Contour, holes: Contour[], depthType: DepthType, depth: number, allDepth: number, box?: import("../Box").Box3Ext); - /** - * @param groove this - groove - * @param [eachOther=true] 相互裁剪 - */ - ClipTo(groove: Groove, eachOther?: boolean): void; - private ClipLid; - Draw(verticesArray: number[], uvArray: number[], edgeBuild: EdgeGeometryBuild, rotateUv: boolean, displayAccuracy?: number): void; -} -declare enum DirectionType { - Outer = 0,//外墙 - Inner = 1 -} -export declare class ContourTreeNode { - contour: Contour; - children: ContourTreeNode[]; - parent: ContourTreeNode; - box: Box3; - area: number; - constructor(contour: Contour, children?: ContourTreeNode[]); - SetParent(node: ContourTreeNode): void; - get Depth(): number; - get IsHole(): boolean; - Draw(verticesArray: number[], uvArray: number[], front: boolean, z: number, rotateUv: boolean, allDepth: number): void; - static ParseContourTree(contourNodes: ContourTreeNode[], ignoreInCurve?: boolean, checkIntersect?: boolean): void; -} -declare class EdgeGeometryBuild { - allDepth: number; - lineVerticesArray: number[]; - frontLines: Line[]; - backLines: Line[]; - constructor(allDepth: number); - AddLidLine(p1: Vector3, p2: Vector3, depth: number): void; - BuildLid(verticesArray: number[], uvArray: number[], rotateUv: boolean): void; -} -/** - * 胶带 - */ -export declare class Tape { - start: number; - end: number; - bottom: number; - top: number; - constructor(start: number, end: number, bottom: number, top: number); - get Curve(): Polyline; - Clip(t: this): Tape[]; - Split(xlst: number[]): Tape[]; -} -/** - * 二维形状,内部用曲线胶带表示(用来计算盖子差集算法) - */ -export declare class CurveTapeShape { - children: CurveTapeShape[]; - contour: CurveTape; - holes: CurveTape[]; - constructor(contour: Contour, holes: Contour[]); - CloneNew(): CurveTapeShape; - /** - * 删除包含,同向 - */ - ClipTo(s: CurveTapeShape, append?: boolean): void; - SplitTo(s: CurveTapeShape): void; - /** - * 只保留被包含部分 - */ - private ReverseClipTo; - ChildrenClip(): void; - Draw(verticesArray: number[], uvArray: number[], front: boolean, z: number, rotateUv: boolean, allDepth: number): void; -} -/** - * 曲线胶带(一维) - */ -declare class CurveTape { - contour: Contour; - wallType: DirectionType; - tapes: Range[]; - splitParams: number[]; - constructor(contour: Contour, wallType: DirectionType); - get Curves(): Polyline[]; - /** - * 分析与另一个形状的包含关系 - */ - Parse(s: CurveTapeShape): CurveParamRangeRelation; - /** - * 删除包含,同向面 - */ - ClipTo(s: CurveTapeShape): this; - /** - * 保留被包含的部分 - */ - ReverseClipTo(s: CurveTapeShape): this; -} -declare class ExtudeWall { - curve: ExtrudeContourCurve; - depthType: DepthType; - depth: number; - allDepth: number; - wallType: DirectionType; - private Tape; - constructor(curve: ExtrudeContourCurve, depthType: DepthType, depth: number, allDepth: number, wallType: DirectionType); - /** - * 减去在另一个groove内的部分 - * @param groove this - groove - * @param [clipSyntropy=false] 删除同向的面 - */ - ClipTo(groove: Groove, clipSyntropy?: boolean): void; - ClipReverse(wall: this): void; - /** - * 当起始参数大于终止参数时,裁剪的区域经过终点 - * - * @param startParam 起始参数 - * @param endParam 终止参数 - * @param faceType 裁剪面朝向 - * @param depth 裁剪面的深度 - */ - ClipFromParam(startParam: number, endParam: number, faceType: DepthType, depth: number): this; - Draw(verticesArray: number[], uvArray: number[], edgeBuild: EdgeGeometryBuild, displayAccuracy?: number): void; -} -/** - * 曲线参数范围关系(包含,分离,同向共线,反向共线) - * 用来表示某一曲线在另一个曲线内的关系 - */ -interface CurveParamRangeRelation { - outer: Range[]; - container: Range[]; - syntropy: Range[]; - reverse: Range[]; -} -/** - * - * @param orgStart 被裁剪范围的起点(如果起点大于终点,那么表示 s->end + 0->e) - * @param orgEnd - * @param clipStart - * @param clipEnd - * @param end - * @returns - */ -export declare function SubtractRange(orgStart: number, orgEnd: number, clipStart: number, clipEnd: number, end: number): Range[]; -export declare function SubtractRange2(r: Range, sr: Range, end: number): Range[]; -type Range = [number, number]; -export declare class ExtrudeGeometryBuilder { - private br; - verticesArray: number[]; - uvArray: number[]; - edgeAndLidBuilder: EdgeGeometryBuild; - constructor(br: ExtrudeSolid, rotateUv?: boolean); - protected GenerateMeshData(br: ExtrudeSolid, rotateUv: boolean): void; - get MeshGeometry(): BufferGeometry; - get EdgeGeometry(): BufferGeometry; - protected ParseGrooves(): Groove[]; -} -export {}; -//# sourceMappingURL=ExtrudeEdgeGeometry2.d.ts.map \ No newline at end of file diff --git a/types/Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2.d.ts.map b/types/Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2.d.ts.map deleted file mode 100644 index 104a2e7..0000000 --- a/types/Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ExtrudeEdgeGeometry2.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,cAAc,EAA2E,OAAO,EAAE,MAAM,OAAO,CAAC;AAK/H,OAAO,EAAE,OAAO,EAAqB,MAAM,gCAAgC,CAAC;AAK5E,OAAO,EAAE,mBA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types/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.d.ts b/types/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.d.ts deleted file mode 100644 index 2b4788b..0000000 --- a/types/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Vector3 } from "three"; -import { Arc } from "../../DatabaseServices/Entity/Arc"; -import { Circle } from "../../DatabaseServices/Entity/Circle"; -import { ExtrudeContourCurve } from "../../DatabaseServices/Entity/Extrude"; -export declare const ARC_DRAW_CONFIG: { - ARC_SplitLength: number; - ARC_RADIUS_MIN: number; - Arc_MinSplitCount: number; - ARC_MaxSplitCount: number; -}; -export declare function GetArcDrawCount(arc: Arc | Circle | number): number; -/** - * - * @param cu - */ -export declare function SplitCurveParams(cu: ExtrudeContourCurve): number[]; -export declare function SplitCurvePoints(cu: ExtrudeContourCurve): Vector3[]; -export declare function SplitArcParams(arc: Arc): number[]; -//# sourceMappingURL=SplitCurveParams.d.ts.map \ No newline at end of file diff --git a/types/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.d.ts.map b/types/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.d.ts.map deleted file mode 100644 index 1793621..0000000 --- a/types/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SplitCurveParams.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAO5E,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC;AAGF,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CASlE;AAGD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,mBAAmB,GAAG,MAAM,EAAE,CA6ClE;AAED,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,mBAAmB,GAAG,OAAO,EAAE,CAgCnE;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,EAAE,CAmBjD"} \ No newline at end of file diff --git a/types/Geometry/FastOffset.d.ts b/types/Geometry/FastOffset.d.ts deleted file mode 100644 index 6cfb728..0000000 --- a/types/Geometry/FastOffset.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Vector3 } from "three"; -/** - * 快速的对点表进行偏移 - * @param contour - * @param [offsetDist=1] - * @param [ignoreSpike=true] 忽略尖角优化(如果不忽略,那么尖角将会变钝(有点奇怪)) - * @returns 偏移后的点表 - */ -export declare function FastOffset(contour: Vector3[], offsetDist?: number, ignoreSpike?: boolean): Vector3[]; -//# sourceMappingURL=FastOffset.d.ts.map \ No newline at end of file diff --git a/types/Geometry/FastOffset.d.ts.map b/types/Geometry/FastOffset.d.ts.map deleted file mode 100644 index 6210df3..0000000 --- a/types/Geometry/FastOffset.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FastOffset.d.ts","sourceRoot":"","sources":["../../../src/Geometry/FastOffset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AAI/C;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,UAAU,SAAI,EAAE,WAAW,UAAO,GAAG,OAAO,EAAE,CAY5F"} \ No newline at end of file diff --git a/types/Geometry/GeUtils.d.ts b/types/Geometry/GeUtils.d.ts deleted file mode 100644 index a07b5e0..0000000 --- a/types/Geometry/GeUtils.d.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { Box3, BufferGeometry, Geometry, Line, Matrix4, Mesh, Object3D, Vector, Vector2, Vector3 } from 'three'; -import { Vec3 } from './IVec3'; -export declare const IdentityMtx4: Matrix4; -export declare const ZeroVec: Vector3; -export declare const XAxis: Vector3; -export declare const XAxisN: Vector3; -export declare const YAxis: Vector3; -export declare const YAxisN: Vector3; -export declare const ZAxis: Vector3; -export declare const ZAxisN: Vector3; -export declare function AsVector2(p: { - x: number; - y: number; -}): Vector2; -export declare function AsVector3(p: { - x: number; - y: number; - z?: number; -}): Vector3; -/** - * 判断一维线段a和b是否存在交集 - */ -export declare function isIntersect(amin: number, amax: number, bmin: number, bmax: number, eps?: number): boolean; -export declare function isIntersect2(a1: number, a2: number, b1: number, b2: number, eps?: number): boolean; -/** - * 旋转一个点,旋转中心在原点 - * @param {Vector3} p 点 - * @param {number} a 角度. - * @returns {Vector3} 返回pt不拷贝. - */ -export declare function rotatePoint(p: Vector3, a: number): Vector3; -export declare function equaln(v1: number, v2: number, fuzz?: number): boolean; -export declare function equalnn(dis?: number): (v1: number, v2: number) => boolean; -interface P2 { - x: number; - y: number; -} -export declare function equalv3(v1: Vec3, v2: Vec3, fuzz?: number): boolean; -export declare function equalv2(v1: P2, v2: P2, fuzz?: number): boolean; -/** - * 按照极坐标的方式移动一个点 - * @param {T} v 向量(2d,3d) - * @param {number} an 角度 - * @param {number} dis 距离 - * @returns {T} - */ -export declare function polar(v: T, an: number, dis: number): T; -export declare function angle(v: Vector3 | Vector2): number; -/** - * 求两个向量的夹角,顺时针为负,逆时针为正 - * @param {Vector3} v1 - * @param {Vector3} v2 - * @param {Vector3} [ref] 参考向量,如果为世界坐标系则为0,0,1 - */ -export declare function angleTo(v1: Vector3, v2: Vector3, ref?: Vector3): number; -export declare function getLoocAtUpVec(dir: Vector3): Vector3; -export declare function createLookAtMat4(dir: Vector3): Matrix4; -/** - * 判断2个向量是不是平行,尽量传入单位向量,才能保证计算精度 - */ -export declare function isParallelTo(v1: Vector3, v2: Vector3, fuzz?: number): boolean; -/** - * 垂直向量 - */ -export declare function isPerpendicularityTo(v1: Vector3, v2: Vector3, fuzz?: number): boolean; -export declare function ptToString(v: Vector3, fractionDigits?: number): string; -export declare function midPoint(v1: Vector3, v2: Vector3): Vector3; -export declare function midPoint2(v1: Vector2, v2: Vector2): Vector2; -/** - * 获得Three对象的包围盒. - * @param obj - * @param [updateMatrix] 是否应该更新对象矩阵 - * @returns box - */ -export declare function GetBox(obj: Object3D, updateMatrix?: boolean): Box3; -export declare function GetBoxArr(arr: Array): Box3; -export declare function MoveMatrix(v: Vector3): Matrix4; -export declare function getPtPostion(sp: Vector3, ep: Vector3, c: Vector3, inPt: Vector3): { - sp: Vector3; - ep: Vector3; -}; -export declare function angleAndX(v: Vector3 | Vector2): number; -/** - * 将角度调整为0-2pi之间 - */ -export declare function clampRad(an: number): number; -export declare function updateGeometry(l: Line | Mesh, geometry: Geometry | BufferGeometry): void; -export declare function UpdateBoundingSphere(obj: Object3D): void; -export type compareVectorFn = (v1: Vector, v2: Vector) => number; -/** - * 构建返回一个用来排序的函数.根据key创建排序规则. - * - * 当key = "xyz" 时,点集按 x从小到大,y从小到大 z从小到大 - * key = "X" 时,点集按 x从大到小 - * 以此类推. - * - * 例子: - * let pts:Vector3[] =...; - * pts.sort(comparePoint("x")); //x从小到大排序 - * pts.sort(comparePoint("zX")); //z从小到大 x从大到小 - * - * @export - * @param {string} sortKey - * @returns {compareVectorFn} - */ -export declare function ComparePointFnGenerate(sortKey: string, fuzz?: number): compareVectorFn; -/** - *计算各轴旋转角度 - */ -export declare function GetEulerAngle(x: Vector3, y: Vector3, z: Vector3): { - roX: number; - roY: number; - roZ: number; -}; -/** - * 方形框捕捉 - * @param sqCenter 正方形点 - * @param snapPt 被捕捉的点 - * @param size 捕捉框大小 - */ -export declare function SnapPoint(sqCenter: Vector3, snapPt: Vector3, size: number): boolean; -export declare function SelectNearP(pts: Vector3[], refPt: Vector3): Vector3; -/**n是否在AB之间,fuzz 若为负的,允许相等 */ -export declare function IsBetweenA2B(n: number, A: number, B: number, fuzz?: number): boolean; -/** 矩阵是世界坐标系 */ -export declare function MatrixIsIdentityCS(mtx: Matrix4): boolean; -export {}; -//# sourceMappingURL=GeUtils.d.ts.map \ No newline at end of file diff --git a/types/Geometry/GeUtils.d.ts.map b/types/Geometry/GeUtils.d.ts.map deleted file mode 100644 index 95e6937..0000000 --- a/types/Geometry/GeUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GeUtils.d.ts","sourceRoot":"","sources":["../../../src/Geometry/GeUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhH,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,eAAO,MAAM,YAAY,SAAgB,CAAC;AAC1C,eAAO,MAAM,OAAO,SAAgB,CAAC;AACrC,eAAO,MAAM,KAAK,SAAuB,CAAC;AAC1C,eAAO,MAAM,MAAM,SAAwB,CAAC;AAC5C,eAAO,MAAM,KAAK,SAAuB,CAAC;AAC1C,eAAO,MAAM,MAAM,SAAwB,CAAC;AAC5C,eAAO,MAAM,KAAK,SAAuB,CAAC;AAC1C,eAAO,MAAM,MAAM,SAAwB,CAAC;AAG5C,wBAAgB,SAAS,CAAC,CAAC,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;CAAE,WAGrD;AACD,wBAAgB,SAAS,CAAC,CAAC,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;CAAE,WAGjE;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,I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;;;GAeG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,SAAO,GAAG,eAAe,CAmCpF;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO;;;;EAU/D;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAInF;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CASnE;AAED,6BAA6B;AAC7B,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,SAAQ,WAGzE;AAED,eAAe;AACf,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAGxD"} \ No newline at end of file diff --git a/types/Geometry/IVec3.d.ts b/types/Geometry/IVec3.d.ts deleted file mode 100644 index 2a99108..0000000 --- a/types/Geometry/IVec3.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface Vec3 { - x: number; - y: number; - z: number; -} -//# sourceMappingURL=IVec3.d.ts.map \ No newline at end of file diff --git a/types/Geometry/IVec3.d.ts.map b/types/Geometry/IVec3.d.ts.map deleted file mode 100644 index 62db27e..0000000 --- a/types/Geometry/IVec3.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IVec3.d.ts","sourceRoot":"","sources":["../../../src/Geometry/IVec3.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,IAAI;IAEjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACb"} \ No newline at end of file diff --git a/types/Geometry/Matrix2.d.ts b/types/Geometry/Matrix2.d.ts deleted file mode 100644 index c4ecc0b..0000000 --- a/types/Geometry/Matrix2.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Matrix4, Vector2, Vector3 } from "three"; -export declare class Matrix2 { - el: number[]; - set(ix: number, iy: number, jx: number, jy: number): this; - applyVector(vec: Vector2 | Vector3): this; - fromMatrix4(mtx4: Matrix4): void; - setRotate(theta: number): this; - invert(): this; -} -//# sourceMappingURL=Matrix2.d.ts.map \ No newline at end of file diff --git a/types/Geometry/Matrix2.d.ts.map b/types/Geometry/Matrix2.d.ts.map deleted file mode 100644 index 5c58300..0000000 --- a/types/Geometry/Matrix2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Matrix2.d.ts","sourceRoot":"","sources":["../../../src/Geometry/Matrix2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAElD,qBAAa,OAAO;IAGhB,EAAE,WAAgB;IAElB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;IAUlD,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO;IAUlC,WAAW,CAAC,IAAI,EAAE,OAAO;IAOzB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAS9B,MAAM,IAAI,IAAI;CAUjB"} \ No newline at end of file diff --git a/types/Geometry/OBB/obb.d.ts b/types/Geometry/OBB/obb.d.ts deleted file mode 100644 index 5ae2061..0000000 --- a/types/Geometry/OBB/obb.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Vector3, Matrix4 } from 'three'; -export declare class OBB { - ocs: Matrix4; - halfSizes: Vector3; - _EPSILON: number; - center: Vector3; - constructor(ocs: Matrix4, halfSizes: Vector3); - intersectsOBB(obb: OBB, is2D?: boolean, ucsInv?: Matrix4): boolean; -} -//# sourceMappingURL=obb.d.ts.map \ No newline at end of file diff --git a/types/Geometry/OBB/obb.d.ts.map b/types/Geometry/OBB/obb.d.ts.map deleted file mode 100644 index 023e2de..0000000 --- a/types/Geometry/OBB/obb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"obb.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/OBB/obb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAWzC,qBAAa,GAAG;IAMO,GAAG,EAAE,OAAO;IAAS,SAAS,EAAE,OAAO;IAJ1D,QAAQ,SAAQ;IAET,MAAM,EAAE,OAAO,CAAC;gBAEJ,GAAG,EAAE,OAAO,EAAS,SAAS,EAAE,OAAO;IAK1D,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,OAAO;CAkOrE"} \ No newline at end of file diff --git a/types/Geometry/Orbit.d.ts b/types/Geometry/Orbit.d.ts deleted file mode 100644 index 0d182a1..0000000 --- a/types/Geometry/Orbit.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Vector3 } from "three"; -/** - * 轨道控制的数学类,观察向量和角度的互相转换 - * 当x当抬头或者低头到90度时,触发万向锁. - */ -export declare class Orbit { - private phi; - theta: number; - get RoX(): number; - set RoX(v: number); - /** - * 使用旋转角度 计算观察向量 - * @param [outDirection] 引用传入,如果传入,那么就不构造新的向量 - * @returns 返回观察向量 - */ - UpdateDirection(outDirection?: Vector3): Vector3; - /** - * 使用观察向量,计算旋转角度 - * @param dir 这个向量会被修改成单位向量. - */ - SetFromDirection(dir: Vector3): void; - /** - * 参考任意轴坐标系算法. - * http://help.autodesk.com/view/ACD/2017/CHS/?guid=GUID-E19E5B42-0CC7-4EBA-B29F-5E1D595149EE - */ - static ComputUpDirection(n: Vector3, ay?: Vector3, ax?: Vector3): Vector3; -} -//# sourceMappingURL=Orbit.d.ts.map \ No newline at end of file diff --git a/types/Geometry/Orbit.d.ts.map b/types/Geometry/Orbit.d.ts.map deleted file mode 100644 index 74493de..0000000 --- a/types/Geometry/Orbit.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Orbit.d.ts","sourceRoot":"","sources":["../../../src/Geometry/Orbit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,OAAO,EAAE,MAAM,OAAO,CAAC;AAG3C;;;GAGG;AACH,qBAAa,KAAK;IAGd,OAAO,CAAC,GAAG,CAAa;IAGxB,KAAK,EAAE,MAAM,CAAK;IAElB,IAAI,GAAG,WAGN;IACD,IAAI,GAAG,CAAC,CAAC,QAAA,EAGR;IAED;;;;OAIG;IACH,eAAe,CAAC,YAAY,UAAgB,GAAG,OAAO;IAYtD;;;OAGG;IACH,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAapC;;;OAGG;IACH,MAAM,CAAC,iBAAiB,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,GAAE,OAAuB,EAAE,EAAE,GAAE,OAAuB,GAAG,OAAO;CAY1G"} \ No newline at end of file diff --git a/types/Geometry/Plane.d.ts b/types/Geometry/Plane.d.ts deleted file mode 100644 index 540d78f..0000000 --- a/types/Geometry/Plane.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Line3, Plane, Ray, Vector3 } from "three"; -export declare class PlaneExt extends Plane { - constructor(normal?: Vector3, constant?: number | Vector3); - parseConstantFromPoint(constant: Vector3): void; - intersectLine(line: Line3, optionalTarget?: Vector3, extendLine?: boolean): Vector3; - intersectRay(ray: Ray, optionalTarget?: Vector3, extendLine?: boolean): Vector3; -} -//# sourceMappingURL=Plane.d.ts.map \ No newline at end of file diff --git a/types/Geometry/Plane.d.ts.map b/types/Geometry/Plane.d.ts.map deleted file mode 100644 index 2cd7083..0000000 --- a/types/Geometry/Plane.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Plane.d.ts","sourceRoot":"","sources":["../../../src/Geometry/Plane.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEnD,qBAAa,QAAS,SAAQ,KAAK;gBAEnB,MAAM,UAAuB,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO;IAStE,sBAAsB,CAAC,QAAQ,EAAE,OAAO;IAKxC,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE,cAAc,UAAgB,EAAE,UAAU,UAAQ,GAAG,OAAO;IA4BvF,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,cAAc,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO;CAMlF"} \ No newline at end of file diff --git a/types/Geometry/PointShapeUtils.d.ts b/types/Geometry/PointShapeUtils.d.ts deleted file mode 100644 index 453e9b4..0000000 --- a/types/Geometry/PointShapeUtils.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Vector3 } from "three"; -import { BoardOpenDir, LinesType } from "../DatabaseServices/Entity/BoardInterface"; -export declare class PointShapeUtils { - static SquarePts(size: number): Vector3[]; - static OutsideLinePts(squareSize: number, lineLength: number): Vector3[]; - static CrossLinePts(lineLength: number): Vector3[]; - static CrossLine3DPts(lineLength: number): Vector3[][]; - static TrianglePts(size: number): Vector3[]; - static CirclePts(size: number): any[]; - static ObliqueCrossPts(size: number): Vector3[]; - static ObliqueCrossLinePts(size: number): Vector3[]; - static SandClockPts(size: number): Vector3[]; - static TangentPts(size: number): Vector3[]; - static PerPts(size: number): Vector3[]; - static LinesDirPts(len: number, width: number, lineType: LinesType): Vector3[]; - static LinesOpenDirPts(len: number, width: number, openDir: BoardOpenDir): Vector3[]; -} -//# sourceMappingURL=PointShapeUtils.d.ts.map \ No newline at end of file diff --git a/types/Geometry/PointShapeUtils.d.ts.map b/types/Geometry/PointShapeUtils.d.ts.map deleted file mode 100644 index 50a9541..0000000 --- a/types/Geometry/PointShapeUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"PointShapeUtils.d.ts","sourceRoot":"","sources":["../../../src/Geometry/PointShapeUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAEpF,qBAAa,eAAe;IAGxB,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;IAW7B,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAmB5D,MAAM,CAAC,YAAY,CAAC,UAAU,EAAE,MAAM;IAUtC,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM;IAYxC,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM;IAU/B,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM;IAS7B,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM;IAInC,MAAM,CAAC,mBAAmB,CAAC,IAAI,EAAE,MAAM;IAKvC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM;IAWhC,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM;IAa9B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM;IAY1B,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS;IA2ClE,MAAM,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY;CAgC3E"} \ No newline at end of file diff --git a/types/Geometry/RegionParse.d.ts b/types/Geometry/RegionParse.d.ts deleted file mode 100644 index 884d9fa..0000000 --- a/types/Geometry/RegionParse.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Curve } from "../DatabaseServices/Entity/Curve"; -import { Route, Vertice } from "./CurveMap"; -type RegionRouteS = (Route[])[]; -/** -面域分析,基于最小循环图重新实现的版本,拓展了实现求最大轮廓。 -当最大轮廓=最小轮廓时,只绘制最大轮廓(独立轮廓无分裂)。 - -算法只实现去重模式,业务场景应该没有非去重模式。 -如果需要非去重模式,那么应该获取到多个CurveMap,然后对多个CurveMap进行面域分析,得出多个重叠的面域。 - */ -export declare class RegionParse { - numDimensions: number; - private removeDuplicate; - RegionsOutline: RegionRouteS; - RegionsInternal: RegionRouteS; - ExpLineMap: Map; - private _CurveCount; - /** - * @param cuList 请不要传递圆和椭圆. - * @param [numDimensions=3] 精度:小数点后个数 - * @param [removeDuplicate=true] 删除重复(现在必须是true,请不要修改它) - */ - constructor(cuList: Curve[], numDimensions?: number, removeDuplicate?: boolean); - static RegionsIsOverlap(Route: Route[]): boolean; - private RemoveFilamentAt; - private RemoveEdge; - /** - * 找到最下方并且最左边的站 yx - */ - private FindLowerLeftStand; - /** - * 构造路线图. 每个节点对应下一个路口的路线表. 路口表使用逆时针排序,起始角度使用正x轴. - * @returns 所有的顶点 - */ - protected GenerateVerticeMap(curveList: Curve[]): Array; - private BreakArc; - /** - * 曲线是否已经被算法使用 - */ - GetCueveUsed(cu: Curve): boolean; -} -export declare function CalcRouteAngle(r: Route, length: number): void; -export {}; -//# sourceMappingURL=RegionParse.d.ts.map \ No newline at end of file diff --git a/types/Geometry/RegionParse.d.ts.map b/types/Geometry/RegionParse.d.ts.map deleted file mode 100644 index accf5d1..0000000 --- a/types/Geometry/RegionParse.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RegionParse.d.ts","sourceRoot":"","sources":["../../../src/Geometry/RegionParse.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAEzD,OAAO,EAAY,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMtD,KAAK,YAAY,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;AAEhC;;;;;;GAMG;AACH,qBAAa,WAAW;IAiBgB,aAAa;IAAM,OAAO,CAAC,eAAe;IAd9E,cAAc,EAAE,YAAY,CAAM;IAElC,eAAe,EAAE,YAAY,CAAM;IAGnC,UAAU,EAAE,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,CAAa;IAE5C,OAAO,CAAC,WAAW,CAAS;IAE5B;;;;OAIG;gBACS,MAAM,EAAE,KAAK,EAAE,EAAS,aAAa,SAAI,EAAU,eAAe,UAAO;IAiErF,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE;IAKtC,OAAO,CAAC,gBAAgB;IAiBxB,OAAO,CAAC,UAAU;IAWlB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAW1B;;;OAGG;IACH,SAAS,CAAC,kBAAkB,CAAC,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC;IAwEhE,OAAO,CAAC,QAAQ;IAUhB;;OAEG;IACH,YAAY,CAAC,EAAE,EAAE,KAAK,GAAG,OAAO;CAYnC;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,QAQtD"} \ No newline at end of file diff --git a/types/Geometry/RotateUV.d.ts b/types/Geometry/RotateUV.d.ts deleted file mode 100644 index 355d8f6..0000000 --- a/types/Geometry/RotateUV.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Matrix2 } from './Matrix2'; -export declare const ROTATE_MTX2: Matrix2; -export declare function RotateUVs(geo: THREE.Geometry): void; -//# sourceMappingURL=RotateUV.d.ts.map \ No newline at end of file diff --git a/types/Geometry/RotateUV.d.ts.map b/types/Geometry/RotateUV.d.ts.map deleted file mode 100644 index 7ad6b5a..0000000 --- a/types/Geometry/RotateUV.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RotateUV.d.ts","sourceRoot":"","sources":["../../../src/Geometry/RotateUV.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,WAAW,SAAiC,CAAC;AAC1D,wBAAgB,SAAS,CAAC,GAAG,EAAE,KAAK,CAAC,QAAQ,QAW5C"} \ No newline at end of file diff --git a/types/Geometry/SimpleExtrudeEdgeGeometry.d.ts b/types/Geometry/SimpleExtrudeEdgeGeometry.d.ts deleted file mode 100644 index e981c2c..0000000 --- a/types/Geometry/SimpleExtrudeEdgeGeometry.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { BufferGeometry, Vector3 } from "three"; -export declare function GenerateExtrudeEdgeGeometry(contourPoints: Vector3[][], height: number): BufferGeometry; -export declare function GenerateBoxEdgeGeometry(length: number, width: number, height: number): BufferGeometry; -//# sourceMappingURL=SimpleExtrudeEdgeGeometry.d.ts.map \ No newline at end of file diff --git a/types/Geometry/SimpleExtrudeEdgeGeometry.d.ts.map b/types/Geometry/SimpleExtrudeEdgeGeometry.d.ts.map deleted file mode 100644 index 27fc98d..0000000 --- a/types/Geometry/SimpleExtrudeEdgeGeometry.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SimpleExtrudeEdgeGeometry.d.ts","sourceRoot":"","sources":["../../../src/Geometry/SimpleExtrudeEdgeGeometry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMhD,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc,CAOtG;AAmBD,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,cAAc,CAIrG"} \ No newline at end of file diff --git a/types/Geometry/SpaceParse/ClampSpaceParse.d.ts b/types/Geometry/SpaceParse/ClampSpaceParse.d.ts deleted file mode 100644 index 06d45ed..0000000 --- a/types/Geometry/SpaceParse/ClampSpaceParse.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Ray } from "three"; -import { PromptDistendResult } from "../../Editor/PromptResult"; -import { Box3Ext, SplitType } from "../Box"; -import { ISpaceParse } from "./ISpaceParse"; -/** - * 夹层空间分析 - */ -export declare class ClampSpaceParse extends ISpaceParse { - Parse(): Promise; - /** - * 单板延伸空间的时候的延伸距离 - */ - get SignalDist(): number; - protected _signalDist: number; - ParseSignalBoard(): Promise; - GetSignalDist(): Promise; - SetRay(ray: Ray): void; - SelectBoxRecord: Map; - WrapSelectBox(splitBoxs: Box3Ext[], splitType: SplitType): Promise; - /** - * virtual (请重载) 当盒子空间被切割时,选择合适的空间 - * @param splitBoxs 切割后的盒子(2个) - * @param splitType 切割类型 - * @returns box 盒子 - */ - SelectBox(splitBoxs: Box3Ext[], splitType: SplitType): Promise; - /** - *用单块板包围盒切割空间 - */ - private SpliteBoxsAndSelect; -} -//# sourceMappingURL=ClampSpaceParse.d.ts.map \ No newline at end of file diff --git a/types/Geometry/SpaceParse/ClampSpaceParse.d.ts.map b/types/Geometry/SpaceParse/ClampSpaceParse.d.ts.map deleted file mode 100644 index 2f6957c..0000000 --- a/types/Geometry/SpaceParse/ClampSpaceParse.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ClampSpaceParse.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/SpaceParse/ClampSpaceParse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAW,MAAM,OAAO,CAAC;AAGrC,OAAO,EAAE,mBAAmB,EAAgB,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAe5C;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAEtC,KAAK;IAiEX;;OAEG;IACH,IAAI,UAAU,WAGb;IACD,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC;IAExB,gBAAgB;IAuChB,aAAa,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAQnD,MAAM,CAAC,GAAG,EAAE,GAAG;IAIf,eAAe,yBAAgC;IACzC,aAAa,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC;IAOjF;;;;;OAKG;IACG,SAAS,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC;IAK7E;;OAEG;YACW,mBAAmB;CA+CpC"} \ No newline at end of file diff --git a/types/Geometry/SpaceParse/ClampSpaceParseFix.d.ts b/types/Geometry/SpaceParse/ClampSpaceParseFix.d.ts deleted file mode 100644 index 73a93c3..0000000 --- a/types/Geometry/SpaceParse/ClampSpaceParseFix.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ClampSpaceParse } from "./ClampSpaceParse"; -import { PromptDistendResult } from "../../Editor/PromptResult"; -import { Box3Ext, SplitType } from "../Box"; -export declare class ClampSpaceParseFix extends ClampSpaceParse { - set SignalDist(v: number); - get SignalDist(): number; - GetSignalDist(): Promise; - SelectBox(splitBoxs: Box3Ext[], splitType: SplitType): Promise; -} -//# sourceMappingURL=ClampSpaceParseFix.d.ts.map \ No newline at end of file diff --git a/types/Geometry/SpaceParse/ClampSpaceParseFix.d.ts.map b/types/Geometry/SpaceParse/ClampSpaceParseFix.d.ts.map deleted file mode 100644 index 108ae4f..0000000 --- a/types/Geometry/SpaceParse/ClampSpaceParseFix.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ClampSpaceParseFix.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/SpaceParse/ClampSpaceParseFix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAgB,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAE5C,qBAAa,kBAAmB,SAAQ,eAAe;IAEnD,IAAI,UAAU,CAAC,CAAC,EAAE,MAAM,EAGvB;IACD,IAAI,UAAU,IAJI,MAAM,CAOvB;IAGK,aAAa,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAQ7C,SAAS,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC;CAKhF"} \ No newline at end of file diff --git a/types/Geometry/SpaceParse/ISpaceParse.d.ts b/types/Geometry/SpaceParse/ISpaceParse.d.ts deleted file mode 100644 index db435bc..0000000 --- a/types/Geometry/SpaceParse/ISpaceParse.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { Matrix4, Vector3 } from "three"; -import { Board } from "../../DatabaseServices/Entity/Board"; -import { BoardType } from "../../DatabaseServices/Entity/BoardInterface"; -import { Box3Ext, SplitType } from "../Box"; -import { VisualSpaceBox } from './../../Editor/VisualSpaceBox'; -export declare class ISpaceParse { - /** - * 解析空间成功 - */ - ParseOK: boolean; - /** - * 空间占地盒子 - */ - SpaceBox: Box3Ext; - /** - * 空间盒子所在的位置矩阵 - */ - SpaceOCS: Matrix4; - SpaceOCSInv: Matrix4; - /** - * 板件映射表 - */ - BoardMap: Map; - /** - * 解析空间所用的板件列表 - */ - Boards: Board[]; - LeftBoard: Board; - RightBoard: Board; - /** - * 动态中,禁止执行二次操作 - */ - IsDynamic: Boolean; - /**选到的虚拟空间 */ - VisualSpaceBox: VisualSpaceBox; - Rotation: { - x: number; - y: number; - z: number; - }; - /** - * # 构造后请手动调用Parse()方法. - * @param boards 板件列表 - * @param [spaceOCS] 默认空间矩阵,如果不设置将使用第一块板作为空间矩阵 - */ - constructor(boards?: Board[], spaceOCS?: Matrix4); - Parse(): Promise; - get Size(): Vector3; - get DrawCS(): Matrix4; - protected GetBoardInSpaceType(br: Board): BoardType; - /** - * 构造板件类型Map - */ - protected GeneralBoardMap(): void; - /** - * 解析板件的盒子,并且(排序,归并) - * @param boardCol - * @param splitType - */ - protected ParseBoardBox(boardCol: Board[], splitType: SplitType): Box3Ext[]; -} -//# sourceMappingURL=ISpaceParse.d.ts.map \ No newline at end of file diff --git a/types/Geometry/SpaceParse/ISpaceParse.d.ts.map b/types/Geometry/SpaceParse/ISpaceParse.d.ts.map deleted file mode 100644 index 9fbc29a..0000000 --- a/types/Geometry/SpaceParse/ISpaceParse.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ISpaceParse.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/SpaceParse/ISpaceParse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,qBAAa,WAAW;IAEpB;;OAEG;IACH,OAAO,UAAS;IAEhB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,GAAG,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,CAAa;IAE9C;;OAEG;IACH,MAAM,EAAE,KAAK,EAAE,CAAC;IAEhB,SAAS,EAAE,KAAK,CAAC;IACjB,UAAU,EAAE,KAAK,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAS;IAC3B,aAAa;IACb,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ;;;;MAAwB;IAEhC;;;;OAIG;gBACS,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,QAAQ,CAAC,EAAE,OAAO;IAe1C,KAAK;IAEX,IAAI,IAAI,YAKP;IAED,IAAI,MAAM,IAAI,OAAO,CAOpB;IAED,SAAS,CAAC,mBAAmB,CAAC,EAAE,EAAE,KAAK,GAAG,SAAS;IAenD;;OAEG;IACH,SAAS,CAAC,eAAe;IAmBzB;;;;OAIG;IACH,SAAS,CAAC,aAAa,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,EAAE;CAmE9E"} \ No newline at end of file diff --git a/types/Geometry/SpaceParse/SpaceParseOption.d.ts b/types/Geometry/SpaceParse/SpaceParseOption.d.ts deleted file mode 100644 index 98556ab..0000000 --- a/types/Geometry/SpaceParse/SpaceParseOption.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface SpaceParseOption { - autoParseDepth: boolean; -} -//# sourceMappingURL=SpaceParseOption.d.ts.map \ No newline at end of file diff --git a/types/Geometry/SpaceParse/SpaceParseOption.d.ts.map b/types/Geometry/SpaceParse/SpaceParseOption.d.ts.map deleted file mode 100644 index 158fbbf..0000000 --- a/types/Geometry/SpaceParse/SpaceParseOption.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SpaceParseOption.d.ts","sourceRoot":"","sources":["../../../../src/Geometry/SpaceParse/SpaceParseOption.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,gBAAgB;IAE7B,cAAc,EAAE,OAAO,CAAC;CAC3B"} \ No newline at end of file diff --git a/types/Geometry/SweepGeometry.d.ts b/types/Geometry/SweepGeometry.d.ts deleted file mode 100644 index 47800b8..0000000 --- a/types/Geometry/SweepGeometry.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { BufferGeometry, Geometry, Vector2, Vector3 } from "three"; -import { LineGeometry } from "three/examples/jsm/lines/LineGeometry"; -import { Curve } from "../DatabaseServices/Entity/Curve"; -import { Polyline } from "../DatabaseServices/Entity/Polyline"; -/** - * 使用轮廓和扫描路径构建扫描几何体,实现衣柜中的顶线或者地脚线之类的实体. - * 该几何体需要轮廓和路径的起始截面垂直,否则构造的实体将会错误. - */ -export declare class SweepGeometry extends Geometry { - edgePts: number[]; - polygonIndexes: any[]; - ShapeMaterialSlotData: number[]; - constructor(contour: Polyline, path: Curve[] | Curve, ShapeMaterialSlotData?: number[]); - get LineGeom(): LineGeometry; - get EdgeGeom(): BufferGeometry; - AddShape(contour: Polyline, path: Curve): void; - AddShape2(contour: Polyline, paths: Curve[]): void; - /** - * 使用4点构建面 - * @param a 左下 - * @param b 右下 - * @param c 左上 - * @param d 右上 - * @param uvs - * @param [materialIndex] - */ - protected BuildFace4(a: number, b: number, c: number, d: number, uvs: Vector2[], materialIndex?: number): void; - /** - * 构造边缘面开始标记 - * @param dir 前进方向(单位向量) - */ - protected SideStartMark(dir: Vector3): void; - protected BuildSideFaces(shapePts2d: Vector2[], pathPts2d: Vector2[], pathPts: Vector3[], verts: Vector3[][]): void; - protected BuildLid(shapePts2d: Vector2[], verts: Vector3[][]): void; -} -/** - * 将轮廓变换到`路径上某个点`. - * - * @param {Vector3[]} contourPts 原始的轮廓点(在世界坐标系) - * @param {Vector3} normal 路径法向量 - * @param {Vector3} curP 路径上当前点 - * @param {Vector3} [preP] 路径的前一个点 - * @param {Vector3} [nextP] 路径下一个点 - * @returns 变换后的轮廓点表 - */ -export declare function ProjectionToPlane(contourPts: Vector3[], normal: Vector3, curP: Vector3, preP?: Vector3, nextP?: Vector3): Vector3[]; -type Polygon = number[]; -export declare class SweepGeometrySimple extends SweepGeometry { - SidePolygons: (Polygon[])[]; - private _curSidePolygons; - private _curDir; - TriFaces: (number[])[]; - shapeVerts: Vector3[][]; - shapePts2d: Vector2[]; - computeVertexNormals(): void; - computeFaceNormals(): void; - BuildFace4(a: number, b: number, c: number, d: number, uvs: Vector2[], materialIndex?: number): void; - protected SideStartMark(dir: Vector3): void; - protected BuildSideFaces(shapePts2d: Vector2[], pathPts2d: Vector2[], pathPts: Vector3[], verts: Vector3[][]): void; - protected BuildLid(shapePts2d: Vector2[], verts: Vector3[][]): void; -} -export {}; -//# sourceMappingURL=SweepGeometry.d.ts.map \ No newline at end of file diff --git a/types/Geometry/SweepGeometry.d.ts.map b/types/Geometry/SweepGeometry.d.ts.map deleted file mode 100644 index 87f45d4..0000000 --- a/types/Geometry/SweepGeometry.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"SweepGeometry.d.ts","sourceRoot":"","sources":["../../../src/Geometry/SweepGeometry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAiC,QAAQ,EAA6F,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7L,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAErE,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAK/D;;;GAGG;AACH,qBAAa,aAAc,SAAQ,QAAQ;IAEvC,OAAO,EAAE,MAAM,EAAE,CAAM;IACvB,cAAc,QAAM;IACpB,qBAAqB,EAAE,MAAM,EAAE,CAAC;gBACpB,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,qBAAqB,CAAC,EAAE,MAAM,EAAE;IAYtF,IAAI,QAAQ,IAAI,YAAY,CAQ3B;IAED,IAAI,QAAQ,mBAGX;IAED,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK;IAoDvC,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE;IAyE3C;;;;;;;;OAQG;IACH,SAAS,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,aAAa,CAAC,EAAE,MAAM;IAQvG;;;OAGG;IACH,SAAS,CAAC,aAAa,CAAC,GAAG,EAA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AE,OAAO,EAAE,EAAE;CACxE"} \ No newline at end of file diff --git a/types/Geometry/UVUtils.d.ts b/types/Geometry/UVUtils.d.ts deleted file mode 100644 index bef3882..0000000 --- a/types/Geometry/UVUtils.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Geometry, Matrix4 } from "three"; -export declare function ScaleUV(geo: Geometry, scale?: number): void; -export declare function ScaleUV2(geo: Geometry, ocs: Matrix4, xScale?: number, yScale?: number, isInvert?: boolean): void; -//# sourceMappingURL=UVUtils.d.ts.map \ No newline at end of file diff --git a/types/Geometry/UVUtils.d.ts.map b/types/Geometry/UVUtils.d.ts.map deleted file mode 100644 index d4c00ca..0000000 --- a/types/Geometry/UVUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UVUtils.d.ts","sourceRoot":"","sources":["../../../src/Geometry/UVUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAW,MAAM,OAAO,CAAC;AAEnD,wBAAgB,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,SAAO,QAYlD;AACD,wBAAgB,QAAQ,CAAC,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,SAAO,EAAE,MAAM,SAAO,EAAE,QAAQ,UAAQ,QAwBnG"} \ No newline at end of file diff --git a/types/Geometry/WordUVGenerator.d.ts b/types/Geometry/WordUVGenerator.d.ts deleted file mode 100644 index 8eb423e..0000000 --- a/types/Geometry/WordUVGenerator.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ExtrudeBufferGeometry, UVGenerator, Vector2 } from "three"; -declare class WorldUVGenerator implements UVGenerator { - generateTopUV(geometry: ExtrudeBufferGeometry, vertices: number[], indexA: number, indexB: number, indexC: number): Vector2[]; - generateSideWallUV(geometry: ExtrudeBufferGeometry, vertices: number[], indexA: number, indexB: number, indexC: number, indexD: number): Vector2[]; -} -export declare const worldUVGenerator: WorldUVGenerator; -export {}; -//# sourceMappingURL=WordUVGenerator.d.ts.map \ No newline at end of file diff --git a/types/Geometry/WordUVGenerator.d.ts.map b/types/Geometry/WordUVGenerator.d.ts.map deleted file mode 100644 index 3401a09..0000000 --- a/types/Geometry/WordUVGenerator.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"WordUVGenerator.d.ts","sourceRoot":"","sources":["../../../src/Geometry/WordUVGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGpE,cAAM,gBAAiB,YAAW,WAAW;IAEzC,aAAa,CAAC,QAAQ,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAgBjH,kBAAkB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAkCzI;AAED,eAAO,MAAM,gBAAgB,kBAAyB,CAAC"} \ No newline at end of file diff --git a/types/GraphicsSystem/BoolOperateUtils.d.ts b/types/GraphicsSystem/BoolOperateUtils.d.ts deleted file mode 100644 index 5b22838..0000000 --- a/types/GraphicsSystem/BoolOperateUtils.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Vector3 } from 'three'; -import { Circle } from '../DatabaseServices/Entity/Circle'; -import { Curve } from '../DatabaseServices/Entity/Curve'; -import { Ellipse } from '../DatabaseServices/Entity/Ellipse'; -import { Polyline } from '../DatabaseServices/Entity/Polyline'; -export declare enum BoolOpeartionType { - Intersection = 0, - Union = 1, - Subtract = 2 -} -export declare function isTargetCurInOrOnSourceCur(bigCurve: Polyline | Circle | Ellipse, smallCurve: Curve): boolean; -export declare function IsPtsAllOutOrOnReg(sourceReg: Polyline | Circle, pts: Vector3[]): boolean; -//# sourceMappingURL=BoolOperateUtils.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/BoolOperateUtils.d.ts.map b/types/GraphicsSystem/BoolOperateUtils.d.ts.map deleted file mode 100644 index f6449e5..0000000 --- a/types/GraphicsSystem/BoolOperateUtils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoolOperateUtils.d.ts","sourceRoot":"","sources":["../../../src/GraphicsSystem/BoolOperateUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,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,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAG/D,oBAAY,iBAAiB;IAEzB,YAAY,IAAI;IAChB,KAAK,IAAI;IACT,QAAQ,IAAI;CACf;AAMD,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,EAAE,UAAU,EAAE,KAAK,WAmBlG;AA+BD,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,WAO9E"} \ No newline at end of file diff --git a/types/GraphicsSystem/CalcEdgeSealing.d.ts b/types/GraphicsSystem/CalcEdgeSealing.d.ts deleted file mode 100644 index c437a30..0000000 --- a/types/GraphicsSystem/CalcEdgeSealing.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Board } from "../DatabaseServices/Entity/Board"; -import { Curve } from "../DatabaseServices/Entity/Curve"; -import { ExtrudeContourCurve } from "../DatabaseServices/Entity/Extrude"; -import { IHighEdgeRemarkItem, IHighReservedEdgeItem, IHighSealedItem } from "../UI/Store/OptionInterface/IHighSealedItem"; -type CurveGroups = (Curve[])[]; -/** - * 将曲线分段(根据高级封边的特性 (因为圆弧无法单独使用封边,所以和圆弧在一起的曲线必须和圆弧一样的封边,否则偏移失败)) - * @l-arc-l,l-arc-arc-l,l-arc-l-arc-l.... - * @param in_out_curves 曲线组( 函数结束后 这个数组被改变 ) - * @returns 返回编组 curveGroups - */ -export declare function SubsectionCurvesOfHightSeal(in_out_curves: Curve[]): CurveGroups; -export declare function GetBoardHighSeal(br: Board, sealcus: Curve[]): IHighSealedItem[]; -export declare function GetBoardHighReservedEdge(br: Board, sealcus: Curve[]): IHighReservedEdgeItem[]; -export declare function GetHighBoardEdgeRemark(br: Board, sealcus: Curve[]): IHighEdgeRemarkItem[]; -/**偏移前后曲线起点没改变 */ -export declare function OffsetOutlineSpNotChange(oldcu: Curve, newCu: Curve): boolean; -/** - * 获取板件的轮廓曲线数组(合并共线了 已经对封边进行合并了 尊重原始时针) - * GetBrContourCurvesBySealGrouped - * @param offsetInside 向内偏移1(为了编辑封边) - * */ -export declare function GetBoardSealingCurves(br: Board, offsetInside?: boolean): Curve[]; -export interface BrSealedData { - brContour: ExtrudeContourCurve; - sealedContour: ExtrudeContourCurve; - brCurves: Curve[]; - highSeals: IHighSealedItem[]; - highReservedEdges: IHighReservedEdgeItem[]; - hasSealedErr?: boolean; -} -/** - * 获取板件的轮廓(没有扣封边)(拆单时表现) - * 在拆单的时候 我们用这个轮廓(为了数据对应准确性) - * 修改时 请注意函数 GetSealedBoardContour -*/ -export declare function GetBoardContour(br: Board): ExtrudeContourCurve | undefined; -/** - * 获取板件(扣封边后的)轮廓(拆单时) - * 修改时 请注意函数 GetBoardContour - */ -export declare function GetSealedBoardContour(br: Board): BrSealedData | undefined; -/** - * 将11对应的封边数值改成WebCAD的高级封边 - * @param seals 每段曲线的封边 - * @param curves 曲线表 - * @returns 转换成高级封边后的封边值 (圆弧会编组) - */ -export declare function ConverEachSeal2HightSealData(seals: IHighSealedItem[], curves: Curve[]): IHighSealedItem[]; -/** - * 设置板的上下左右封边(解析来自高级封边) - * @param br - * @param sealDatas 封边数据 - * @param [sealCurves] 封边的曲线 - * @param [brContourCurve] 传递封边的曲线轮廓 - */ -export declare function SetBoardTopDownLeftRightSealData(br: Board, sealDatas: IHighSealedItem[], sealCurves?: Curve[], brContourCurve?: ExtrudeContourCurve): void; -export declare function SetBoardReservedEdgeData(br: Board, sealDatas: IHighReservedEdgeItem[], sealCurves?: Curve[], brContourCurve?: ExtrudeContourCurve): void; -export declare function SetBoardEdgeRemarkData(br: Board, remarkDatas: IHighEdgeRemarkItem[], sealCurves?: Curve[], brContourCurve?: ExtrudeContourCurve): void; -export {}; -//# sourceMappingURL=CalcEdgeSealing.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/CalcEdgeSealing.d.ts.map b/types/GraphicsSystem/CalcEdgeSealing.d.ts.map deleted file mode 100644 index 3a3fe66..0000000 --- a/types/GraphicsSystem/CalcEdgeSealing.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CalcEdgeSealing.d.ts","sourceRoot":"","sources":["../../../src/GraphicsSystem/CalcEdgeSealing.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAEzD,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAOzE,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAI1H,KAAK,WAAW,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;AAE/B;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,KAAK,EAAE,GAAG,WAAW,CAkH/E;AAID,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,eAAe,EAAE,CAkD/E;AAED,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,KAA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EAAE,mBAAmB,QAoCjJ;AAED,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,EAAE,UAAU,CAAC,EAAE,KAAK,EAAE,EAAE,cAAc,CAAC,EAAE,mBAAmB,QAqC/I"} \ No newline at end of file diff --git a/types/GraphicsSystem/CameraUpdate.d.ts b/types/GraphicsSystem/CameraUpdate.d.ts deleted file mode 100644 index a17e5ae..0000000 --- a/types/GraphicsSystem/CameraUpdate.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Box3, OrthographicCamera, PerspectiveCamera, Vector3 } from 'three'; -import { CADFiler } from '../DatabaseServices/CADFiler'; -import { Orbit } from '../Geometry/Orbit'; -export declare const ViewNearMinSize = 0.01; -export declare enum CameraType { - OrthographicCamera = 1, - PerspectiveCamera = 2 -} -type Camera = OrthographicCamera | PerspectiveCamera; -/** - * - * 相机的控制. - * ->切换相机 - * ->设置视口大小 - * ->旋转和移动相机. - */ -export declare class CameraUpdate { - private _CurCamera; - private _CameraArray; - private _Width; - private _Height; - private _ViewHeight; - private _Target; - private _Direction; - private _Orbit; - private _Near; - DisableRotate: boolean; - constructor(); - get Orbit(): Orbit; - get Aspect(): number; - get Target(): Vector3; - set Target(value: Vector3); - get Camera(): Camera; - get ViewHeight(): number; - set ViewHeight(height: number); - get Direction(): Vector3; - SetSize(width: number, height: number): void; - get Width(): number; - get Height(): number; - get Fov(): number; - set Fov(fov: number); - get Near(): number; - set Near(value: number); - /** - * 平移相机. - * @param {Vector3} mouseMove - */ - Pan(mouseMove: Vector3): void; - Rotate(mouseMove: Vector3, target: Vector3): void; - UpdateCameraMatrix(): void; - Zoom(scale: number, scaleCenter?: Vector3): void; - ZoomExtentsBox3(box3: Box3): void; - /** - * 设置相机的观察向量. - * @param {Vector3} dir 方向向量,这个向量传入后会被更改为单位向量 - */ - LookAt(dir: Vector3): void; - LookAtEvent(dir: Vector3): void; - UpdateUp(): void; - /** - * 根据视口大小,设置相机视口范围. - */ - Update(): void; - ZoomEvent(): void; - set CameraType(type: CameraType); - get CameraType(): CameraType; - SwitchCamera(): void; - ReadFile(file: CADFiler): void; - WriteFile(file: CADFiler): void; - CopyFrom(camer: CameraUpdate): void; -} -export {}; -//# sourceMappingURL=CameraUpdate.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/CameraUpdate.d.ts.map b/types/GraphicsSystem/CameraUpdate.d.ts.map deleted file mode 100644 index b80e60c..0000000 --- a/types/GraphicsSystem/CameraUpdate.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CameraUpdate.d.ts","sourceRoot":"","sources":["../../../src/GraphicsSystem/CameraUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAa,kBAAkB,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAExF,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,eAAO,MAAM,eAAe,OAAO,CAAC;AAUpC,oBAAY,UAAU;IAElB,kBAAkB,IAAI;IACtB,iBAAiB,IAAI;CACxB;AAED,KAAK,MAAM,GAAG,kBAAkB,GAAG,iBAAiB,CAAC;AAErD;;;;;;GAMG;AACH,qBAAa,YAAY;IAErB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,YAAY,CAA4C;IAGhE,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAAS;IAExB,OAAO,CAAC,WAAW,CAAgB;IAGnC,OAAO,CAAC,OAAO,CAA0B;IAEzC,OAAO,CAAC,UAAU,CAAkC;IAEpD,OAAO,CAAC,MAAM,CAAsB;IAGpC,OAAO,CAAC,KAAK,CAA2B;IAExC,aAAa,UAAS;;IAkBtB,IAAI,KAAK,UAA0B;IAEnC,IAAI,MAAM,IAAI,MAAM,CAGnB;IAED,IAAI,MAAM,IACQ,OAAO,CADY;IACrC,IAAI,MAAM,CAAC,KAAK,EAAE,OAAO,EAGxB;IAED,IAAI,MAAM,IAAI,MAAM,CAGnB;IACD,IAAI,UAAU,WAGb;IACD,IAAI,UAAU,CAAC,MAAM,QAAA,EAIpB;IAED,IAAI,SAAS,YAGZ;IAED,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAKrC,IAAI,KAAK,WAGR;IACD,IAAI,MAAM,WAGT;IAED,IAAI,GAAG,IAKM,MAAM,CAFlB;IAED,IAAI,GAAG,CAAC,GAAG,EAAE,MAAM,EAKlB;IAED,IAAW,IAAI,IAAI,MAAM,CAGxB;IACD,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,EAM5B;IAED;;;OAGG;IACH,GAAG,CAAC,SAAS,EAAE,OAAO;IAStB,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO;IA4C1C,kBAAkB;IAWlB,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO;IAoBzC,eAAe,CAAC,IAAI,EAAE,IAAI;IA0B1B;;;OAGG;IACH,MAAM,CAAC,GAAG,EAAE,OAAO;IAQnB,WAAW,CAAC,GAAG,EAAE,OAAO;IAExB,QAAQ;IAIR;;OAEG;IACH,MAAM;IAyBN,SAAS;IAIT,IAAI,UAAU,CAAC,IAAI,EAAE,UAAU,EAI9B;IACD,IAAI,UAAU,IALO,UAAU,CAW9B;IAED,YAAY;IAaZ,QAAQ,CAAC,IAAI,EAAE,QAAQ;IA8BvB,SAAS,CAAC,IAAI,EAAE,QAAQ;IAYxB,QAAQ,CAAC,KAAK,EAAE,YAAY;CAS/B"} \ No newline at end of file diff --git a/types/GraphicsSystem/GripScene.d.ts b/types/GraphicsSystem/GripScene.d.ts deleted file mode 100644 index 6f18630..0000000 --- a/types/GraphicsSystem/GripScene.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { BufferGeometry, Object3D, Points, PointsMaterial } from 'three'; -export declare class GripScene extends Object3D { - _GripMaterial: PointsMaterial; - _GripMap: Map>; - constructor(); - Append(obj: Object3D): void; - Remove(obj: Object3D): void; - Clear(): void; - Update(entity: Object3D): void; - UpdateAll(): void; -} -//# sourceMappingURL=GripScene.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/GripScene.d.ts.map b/types/GraphicsSystem/GripScene.d.ts.map deleted file mode 100644 index 53b8175..0000000 --- a/types/GraphicsSystem/GripScene.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GripScene.d.ts","sourceRoot":"","sources":["../../../src/GraphicsSystem/GripScene.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKzE,qBAAa,SAAU,SAAQ,QAAQ;IAGnC,aAAa,EAAE,cAAc,CAAC;IAE9B,QAAQ,0HAA+B;;IAWvC,MAAM,CAAC,GAAG,EAAE,QAAQ;IAiBpB,MAAM,CAAC,GAAG,EAAE,QAAQ;IAYpB,KAAK;IASL,MAAM,CAAC,MAAM,EAAE,QAAQ;IAKvB,SAAS;CAqBZ"} \ No newline at end of file diff --git a/types/GraphicsSystem/IView.d.ts b/types/GraphicsSystem/IView.d.ts deleted file mode 100644 index 1f812ec..0000000 --- a/types/GraphicsSystem/IView.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Camera, Scene } from "three"; -export interface IViewer { - Camera: Camera; - Width: number; - Height: number; - Scene: Scene; -} -//# sourceMappingURL=IView.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/IView.d.ts.map b/types/GraphicsSystem/IView.d.ts.map deleted file mode 100644 index 35ec095..0000000 --- a/types/GraphicsSystem/IView.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IView.d.ts","sourceRoot":"","sources":["../../../src/GraphicsSystem/IView.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,WAAW,OAAO;IAEpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CAChB"} \ No newline at end of file diff --git a/types/GraphicsSystem/IntersectWith.d.ts b/types/GraphicsSystem/IntersectWith.d.ts deleted file mode 100644 index 32cda6c..0000000 --- a/types/GraphicsSystem/IntersectWith.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { 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'; -/** - * 相交延伸选项. - * - * @export - * @enum {number} - */ -export declare enum IntersectOption { - /** - * 两者都不延伸 - */ - ExtendNone = 0, - /** - * 延伸自身 - */ - ExtendThis = 1, - /** - * 延伸参数 - */ - ExtendArg = 2, - /** - * 延伸两者 - */ - ExtendBoth = 3 -} -export interface IntersectResult { - pt: Vector3; - thisParam: number; - argParam: number; -} -export declare function reverseIntersectOption(intType: IntersectOption): IntersectOption; -export declare function IntersectCircleAndCircle(cu1: Circle | Arc, cu2: Circle | Arc, tolerance?: number): IntersectResult[]; -/** - * 计算圆与圆弧的交点. - * - * @export - * @param {Circle} circle 圆 - * @param {Arc} arc 圆弧 - * @param {IntersectOption} extType 延伸选项 - * @returns 交点集合 - */ -export declare function IntersectCircleAndArc(circle: Circle, arc: Arc, extType: IntersectOption, tolerance?: number): IntersectResult[]; -/** - * 计算圆弧与圆弧的交点 - * - * @export - * @param {Arc} arc1 圆弧 - * @param {Arc} arc2 圆弧 - * @param {IntersectOption} extType 延伸选项 - * @returns 交点集合 - */ -export declare function IntersectArcAndArc(arc1: Arc, arc2: Arc, extType: IntersectOption, tolerance?: number): IntersectResult[]; -export declare function IntersectEllipseAndLine(l: Line, el: Ellipse, extType: IntersectOption, tolerance?: number): any; -export declare function IntersectLineAndCircle(line: Line, circle: Circle, extType: IntersectOption, tolerance?: number): IntersectResult[]; -export declare function IntersectLineAndArc(line: Line, arc: Arc, extType: IntersectOption, tolerance?: number): IntersectResult[]; -export declare function IntersectLAndLFor2D(p1: Vector3, p2: Vector3, p3: Vector3, p4: Vector3): Vector3; -export declare function IntersectLAndLFor2D2(p1: Vector3, p2: Vector3, p3: Vector3, p4: Vector3): Vector3[]; -export declare function IntersectLine3AndLine3(p1: Vector3, p2: Vector3, p3: Vector3, p4: Vector3, epsilon?: number): Vector3; -export declare function IntersectLineAndLine(l1: Line, l2: Line, extType: IntersectOption, fuzz?: number): IntersectResult[]; -export declare function IntersectPolylineAndCurve(pl: Polyline, cu: Curve, extType: IntersectOption, tolerance?: number): IntersectResult[]; -export declare function IntersectLineAndEllipseFor2D(l: Line, el: Ellipse): { - pt: Vector3; - thisParam: number; - argParam: number; -}[]; -export declare function IntersectEllipseAndCircleOrArc(el: Ellipse, cir: Circle | Arc, type: IntersectOption): IntersectResult[]; -export declare function IntersectEllipse(el1: Ellipse, el2: Ellipse, type: IntersectOption): IntersectResult[]; -//# sourceMappingURL=IntersectWith.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/IntersectWith.d.ts.map b/types/GraphicsSystem/IntersectWith.d.ts.map deleted file mode 100644 index 80f7beb..0000000 --- a/types/GraphicsSystem/IntersectWith.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IntersectWith.d.ts","sourceRoot":"","sources":["../../../src/GraphicsSystem/IntersectWith.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,OAAO,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,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AAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,SAAO,qBAInG;AAED,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,GAAG,OAAO,CA0B/F;AAED,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,GAAG,OAAO,EAAE,CAiClG;AAED,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,SAAO,WAIxG;AAqDD,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,SAAO,GAAG,eAAe,EAAE,CAmCjH;AAED,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,SAAO,GAAG,eAAe,EAAE,CAoGhI;AAED,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO;;;;IAoFhE;AACD,wBAAgB,8BAA8B,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,GAAG,EAAE,IAAI,EAAE,eAAe,qBA+EnG;AACD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,qBA2CjF"} \ No newline at end of file diff --git a/types/GraphicsSystem/OffsetPolyline.d.ts b/types/GraphicsSystem/OffsetPolyline.d.ts deleted file mode 100644 index 0867e7d..0000000 --- a/types/GraphicsSystem/OffsetPolyline.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { Box3, Matrix4, Vector3 } from "three"; -import { Contour } from "../DatabaseServices/Contour"; -import { Arc } from "../DatabaseServices/Entity/Arc"; -import { Circle } from "../DatabaseServices/Entity/Circle"; -import { Curve } from "../DatabaseServices/Entity/Curve"; -import { Line } from "../DatabaseServices/Entity/Line"; -import { Polyline } from "../DatabaseServices/Entity/Polyline"; -interface IOffsetResult { - index: number; - curve: Curve; - /**偏移距离(仅在局部偏移时提供) */ - dist?: number; - sp?: Vector3; - ep?: Vector3; - preCurve?: Curve; - nextCurve?: Curve; - paddingCurve?: Curve[]; -} -export declare class CurveTreeNode { - curve: Curve; - children: this[]; - box: Box3; - used: boolean; - Create(curve: Curve, box?: Box3): this; - constructor(curve: Curve, box?: Box3); - TrimBy(contour: Contour, box: Box3): void; - get Nodes(): this[]; -} -export declare enum PolylineJoinType { - Square = 0, - Round = 1 -} -export declare class OffsetPolyline { - _Polyline: Polyline; - _OffsetDist: number; - _ToolPath: boolean; - private _OffsetDistSq; - private _JoinType; - _CacheOCS: Matrix4; - _Vertexs: Vector3[]; - _SubCurves: Curve[]; - _Circles: Circle[]; - _SubOffsetedCurves: IOffsetResult[]; - _CurveTreeNodes: CurveTreeNode[]; - _CurveTrimedTreeNodes: CurveTreeNode[]; - _TrimPolylineContours: Contour[]; - _TrimCircleContours: Circle[]; - _TrimArcContours: Contour[]; - _RetCurves: Polyline[]; - _IsClose: boolean; - _OffsetDistSign: number; - _IsTopoOffset: boolean; - _AllowConverToCircle: boolean; - /** - * - * @param _Polyline - * @param _OffsetDist - * @param [_ToolPath=false] 走刀模式(在这个模式下,我们会进行圆弧过渡(或者直线过渡)避免尖角过大) - * @param [_OffsetDistSq=(_OffsetDist ** 2) * 2.1] 允许的最大尖角长度 默认值差不多是矩形的尖角大一点 - * @param [_JoinType=PolylineJoinType.Round] 尖角的处理方式,默认是圆弧过渡,可以切换成直线过渡 - */ - constructor(_Polyline: Polyline, _OffsetDist: number, _ToolPath?: boolean, _OffsetDistSq?: number, //对直角走刀不进行圆弧过度 - _JoinType?: PolylineJoinType); - Do(): Polyline[]; - InitSubCurves(): this; - protected GeneralCirclesAndVertexs(): void; - protected OffsetSubCurves(): void; - LinkSubCurves(): void; - /** - * 判断两曲线是否尖角化 - * 在 - * 1.直线和圆弧,圆弧和圆弧 - * 2.有交点,无真交点时 - * 必须在正确的方向做出延伸动作,所以必须在尖角的情况下延伸,偏移的结果就像一个谷字去掉一个口的结果,上面的人就是偏移后的结果. - * 如果是谷,则允许连接 #I7WKKG - */ - private IsSharpCorner; - protected GeneralTrimContours(): void; - protected TrimByContours(): void; - private FilterInvalidCurve; - private JoinCollinear; - private LinkResultPolyline; - private RepairResultPolylineClosemark; - CheckPointDir(pt: Vector3): boolean; - GetPointAtCurveDir(pt: Vector3): number; - protected CreateArc(center: Vector3, startP: Vector3, endP?: Vector3): Arc; - protected CreateSquare(center: Vector3, curveNow: IOffsetResult, curveNext: IOffsetResult, entTypeCode: number): Line; -} -export declare function EntityEncode2(c1: Curve, c2: Curve): number; -export declare function CurveIsFine(curve: Curve): boolean; -export {}; -//# sourceMappingURL=OffsetPolyline.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/OffsetPolyline.d.ts.map b/types/GraphicsSystem/OffsetPolyline.d.ts.map deleted file mode 100644 index b0d1f31..0000000 --- a/types/GraphicsSystem/OffsetPolyline.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OffsetPolyline.d.ts","sourceRoot":"","sources":["../../../src/GraphicsSystem/OffsetPolyline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAK/C,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM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/types/GraphicsSystem/ParseEdgeSealDir.d.ts b/types/GraphicsSystem/ParseEdgeSealDir.d.ts deleted file mode 100644 index ae64c9f..0000000 --- a/types/GraphicsSystem/ParseEdgeSealDir.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Curve } from "../DatabaseServices/Entity/Curve"; -/** - * 分析曲线的上下左右位置的线 - * @param curves - */ -export declare function ParseEdgeSealDir(curves: Curve[]): [number, number, number, number]; -//# sourceMappingURL=ParseEdgeSealDir.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/ParseEdgeSealDir.d.ts.map b/types/GraphicsSystem/ParseEdgeSealDir.d.ts.map deleted file mode 100644 index 819733f..0000000 --- a/types/GraphicsSystem/ParseEdgeSealDir.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ParseEdgeSealDir.d.ts","sourceRoot":"","sources":["../../../src/GraphicsSystem/ParseEdgeSealDir.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAGzD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAiDlF"} \ No newline at end of file diff --git a/types/GraphicsSystem/RenderType.d.ts b/types/GraphicsSystem/RenderType.d.ts deleted file mode 100644 index cf41733..0000000 --- a/types/GraphicsSystem/RenderType.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * 场景的渲染类型. - */ -export declare enum RenderType { - /** - * 线框模式 - */ - Wireframe = 1, - /** - * 概念 - */ - Conceptual = 2, - /** - * 物理着色PBR - */ - Physical = 3, - Jig = 4, - Print = 5, - /**物理带线框 */ - Physical2 = 6, - Edge = 7,//封边检查 OpenCabinet.UNOPENRENDERTYPE 该视图下不支持开门动作 - PlaceFace = 8,//排版面 OpenCabinet.UNOPENRENDERTYPE 该视图下不支持开门动作 - BigHoleFace = 81,//大孔面 OpenCabinet.UNOPENRENDERTYPE 该视图下不支持开门动作 - CustomNumber = 9,//自定义编号 - ModelGroove = 10,//造型槽 OpenCabinet.UNOPENRENDERTYPE 该视图下不支持开门动作 - /******************************************** 在视口时的渲染模式 */ - /** - * 线框模式 - */ - WireframePrint = 101, - /** - * 概念 - */ - ConceptualPrint = 102, - /** - * 物理着色PBR - */ - PhysicalPrint = 103, - JigPrint = 104, - PrintPrint = 105, - /**真实带线框 */ - Physical2Print = 106, - CustomNumberPrint = 109, - ConceptualTransparent = 182 -} -export declare function IsPhysical(renderType: RenderType): renderType is RenderType.Physical | RenderType.Physical2 | RenderType.PhysicalPrint | RenderType.Physical2Print; -//# sourceMappingURL=RenderType.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/RenderType.d.ts.map b/types/GraphicsSystem/RenderType.d.ts.map deleted file mode 100644 index 40af928..0000000 --- a/types/GraphicsSystem/RenderType.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RenderType.d.ts","sourceRoot":"","sources":["../../../src/GraphicsSystem/RenderType.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,UAAU;IAElB;;OAEG;IACH,SAAS,IAAI;IAEb;;OAEG;IACH,UAAU,IAAI;IAGd;;OAEG;IACH,QAAQ,IAAI;IAEZ,GAAG,IAAI;IACP,KAAK,IAAI;IACT,WAAW;IACX,SAAS,IAAI;IACb,IAAI,IAAI,CAAC,kDAAkD;IAC3D,SAAS,IAAI,CAAC,8CAA8C;IAC5D,WAAW,KAAK,CAAE,8CAA8C;IAChE,YAAY,IAAI,CAAC,OAAO;IACxB,WAAW,KAAK,CAAC,+CAA+C;IAEhE,0DAA0D;IAC1D;;MAEE;IACF,cAAc,MAAM;IAEpB;;OAEG;IACH,eAAe,MAAM;IAGrB;;OAEG;IACH,aAAa,MAAM;IAEnB,QAAQ,MAAM;IACd,UAAU,MAAM;IAChB,WAAW;IACX,cAAc,MAAM;IACpB,iBAAiB,MAAM;IAEvB,qBAAqB,MAAM;CAC9B;AAED,wBAAgB,UAAU,CAAC,UAAU,EAAE,UAAU,mHAGhD"} \ No newline at end of file diff --git a/types/GraphicsSystem/ToolPath/FeedingToolPath.d.ts b/types/GraphicsSystem/ToolPath/FeedingToolPath.d.ts deleted file mode 100644 index 8be7179..0000000 --- a/types/GraphicsSystem/ToolPath/FeedingToolPath.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Singleton } from "../../Common/Singleton"; -import { ExtrudeHole } from "../../DatabaseServices/3DSolid/ExtrudeHole"; -import { Board, IModeling } from "../../DatabaseServices/Entity/Board"; -import { Curve } from "../../DatabaseServices/Entity/Curve"; -import { ExtrudeContourCurve, ExtrudeSolid } from "../../DatabaseServices/Entity/Extrude"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -import { Shape } from "../../DatabaseServices/Shape"; -import { IOriginSideModelingData } from "../../Production/Product"; -/** - *计算走刀工具类 - */ -export declare class FeedingToolPath extends Singleton { - /** - * 处理形状,内偏移 - * @param shape 造型Shape - * @param knifRadius 刀半径/偏移距离 - * @param [isOut=true] 是否是最外轮廓,如果是,洞需要外偏移一个刀半径,多段线偏移保留不闭合轮廓 - */ - private HandleShape; - /**用于测试走刀路径 */ - TestCalcPath(br: Board, isCd?: boolean, rk?: number): Curve[]; - /** - * 计算走刀路径 - */ - CalcPath(modelings: IModeling[], br: Board, rk?: number): Curve[]; - GetModelFeedPath(br: { - Thickness: number; - ContourCurve: ExtrudeContourCurve; - }, modeling: IModeling, redundancyKnif?: number): Curve[]; - GetSideModelFeedPath(solid: ExtrudeSolid, faceContour: Polyline, redundancyKnif?: number): Curve[]; - private GrooveAddSize; - /** - * 获取所有的轮廓 - * @param cus - * @param retCus 不能组成轮廓的线被添加到这里 - * @returns - */ - private GetContours; - CheckModeling(br: Board): number[]; - CheckSideModeling(br: Board): ExtrudeSolid[]; - CheckCustomHole(br: Board): ExtrudeHole[]; - HandleThoughGroove(brCon: ExtrudeContourCurve, shape: Shape, knifeRadius: number): void; -} -export declare function GetModelingFromCustomDrill(br: Board): { - modeling: (IModeling & { - originEn: ExtrudeHole; - })[]; - sideModeling: IOriginSideModelingData[]; -}; -//# sourceMappingURL=FeedingToolPath.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/ToolPath/FeedingToolPath.d.ts.map b/types/GraphicsSystem/ToolPath/FeedingToolPath.d.ts.map deleted file mode 100644 index bbafdb6..0000000 --- a/types/GraphicsSystem/ToolPath/FeedingToolPath.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FeedingToolPath.d.ts","sourceRoot":"","sources":["../../../../src/GraphicsSystem/ToolPath/FeedingToolPath.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAEzE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAEvE,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAE1F,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAWrD,OAAO,EAAE,uBAAuB,EAAiC,MAAM,0BAA0B,CAAC;AAMlG;;GAEG;AACH,qBAAa,eAAgB,SAAQ,SAAS;IAE1C;;;;;OAKG;IACH,OAAO,CAAC,WAAW;IA0KnB,cAAc;IACd,YAAY,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,UAAQ,EAAE,EAAE,SAAI;IAmB5C;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,SAAI,GAAG,KAAK,EAAE;IAW5D,gBAAgB,CAAC,EAAE,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,mBAAmB,CAAC;KAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,SAAI,GAAG,KAAK,EAAE;IAgDjI,oBAAoB,CAAC,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,SAAI,GAAG,KAAK,EAAE;IAsC7F,OAAO,CAAC,aAAa;IA+BrB;;;;;OAKG;IACH,OAAO,CAAC,WAAW;IAwCnB,aAAa,CAAC,EAAE,EAAE,KAAK;IAoBvB,iBAAiB,CAAC,EAAE,EAAE,KAAK;IA0C3B,eAAe,CAAC,EAAE,EAAE,KAAK;IAsBzB,kBAAkB,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM;CAsInF;AAED,wBAAgB,0BAA0B,CAAC,EAAE,EAAE,KAAK;;kBAOT,WAAW;;;EA8OrD"} \ No newline at end of file diff --git a/types/GraphicsSystem/ToolPath/OptimizeToolPath.d.ts b/types/GraphicsSystem/ToolPath/OptimizeToolPath.d.ts deleted file mode 100644 index b51c26b..0000000 --- a/types/GraphicsSystem/ToolPath/OptimizeToolPath.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IRectInfo } from "../../Common/CurveUtils"; -import { Curve } from "../../DatabaseServices/Entity/Curve"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -import { Shape } from "../../DatabaseServices/Shape"; -/** - * 优化走刀路径,连接偏移后的曲线数组 - * @param offsetCus 偏移后的曲线组 - * @param originShape 原始走刀形状 - * @param rad 刀半径 - * @returns tool path - */ -export declare function OptimizeToolPath(offsetCus: Curve[], originShape: Shape, rad: number): Curve[]; -/**获取内偏移的轮廓 */ -export declare function GetOffsetCurves(cu: Curve, dist: number, rectInfo?: IRectInfo): Curve[]; -/** 获得曲线内偏移方向*/ -export declare function GetCurveToInDir(cu: Curve): number; -/**矩形偏移,正为内偏移 */ -export declare function RectOffset(rect: Polyline, rectInfo: IRectInfo, dist: number): Polyline; -//# sourceMappingURL=OptimizeToolPath.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/ToolPath/OptimizeToolPath.d.ts.map b/types/GraphicsSystem/ToolPath/OptimizeToolPath.d.ts.map deleted file mode 100644 index c8a1414..0000000 --- a/types/GraphicsSystem/ToolPath/OptimizeToolPath.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OptimizeToolPath.d.ts","sourceRoot":"","sources":["../../../../src/GraphicsSystem/ToolPath/OptimizeToolPath.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsD,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGxG,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAGrD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,EAAE,CAqH7F;AAiHD,cAAc;AACd,wBAAgB,eAAe,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,GAAG,KAAK,EAAE,CAatF;AAED,eAAe;AACf,wBAAgB,eAAe,CAAC,EAAE,EAAE,KAAK,GAAG,MAAM,CAGjD;AAED,gBAAgB;AAChB,wBAAgB,UAAU,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,YA+B3E"} \ No newline at end of file diff --git a/types/GraphicsSystem/ToolPath/VKnifToolPath.d.ts b/types/GraphicsSystem/ToolPath/VKnifToolPath.d.ts deleted file mode 100644 index 73b4616..0000000 --- a/types/GraphicsSystem/ToolPath/VKnifToolPath.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Curve } from "../../DatabaseServices/Entity/Curve"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -import { Vec3 } from "../../Geometry/IVec3"; -/** - * V型刀走刀数据,第一刀直接扎进去,最后一刀提刀 - * @param polyline - * @param feedingDepth 走刀深度 - * @param knifAngle 通常为60度.按弧度表示 - */ -export declare function VKnifToolPath(polyline: Polyline, feedingDepth: number, knifAngle: number): { - pt: Vec3; - bul: number; -}[]; -export declare function VData2Curve(data: { - pt: Vec3; - bul: number; -}[]): Curve[]; -//# sourceMappingURL=VKnifToolPath.d.ts.map \ No newline at end of file diff --git a/types/GraphicsSystem/ToolPath/VKnifToolPath.d.ts.map b/types/GraphicsSystem/ToolPath/VKnifToolPath.d.ts.map deleted file mode 100644 index 95925df..0000000 --- a/types/GraphicsSystem/ToolPath/VKnifToolPath.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"VKnifToolPath.d.ts","sourceRoot":"","sources":["../../../../src/GraphicsSystem/ToolPath/VKnifToolPath.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAElE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAG5C;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;CAAE,EAAE,CAmEvH;AAGD,wBAAgB,WAAW,CAAC,IAAI,EAAE;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;CAAE,EAAE,WAiB7D"} \ No newline at end of file diff --git a/types/Nest/Common/Area.d.ts b/types/Nest/Common/Area.d.ts deleted file mode 100644 index a00afaf..0000000 --- a/types/Nest/Common/Area.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Point } from "./Point"; -export declare function Area(pts: Point[]): number; -//# sourceMappingURL=Area.d.ts.map \ No newline at end of file diff --git a/types/Nest/Common/Area.d.ts.map b/types/Nest/Common/Area.d.ts.map deleted file mode 100644 index de13087..0000000 --- a/types/Nest/Common/Area.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Area.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/Area.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,wBAAgB,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,MAAM,CAYzC"} \ No newline at end of file diff --git a/types/Nest/Common/Box2.d.ts b/types/Nest/Common/Box2.d.ts deleted file mode 100644 index 51f1776..0000000 --- a/types/Nest/Common/Box2.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Vector2 } from "./Vector2"; -import { Point } from "./Point"; -export declare class Box2 { - min: Vector2; - max: Vector2; - constructor(min?: Vector2, max?: Vector2); - get area(): number; - set(min: Vector2, max: Vector2): Box2; - setFromPoints(points: Iterable): Box2; - private static _setFromCenterAndSize_v1; - setFromCenterAndSize(center: Vector2, size: Vector2): Box2; - clone(): Box2; - copy(box: Box2): Box2; - makeEmpty(): Box2; - isEmpty(): boolean; - getCenter(result?: Vector2): Vector2; - getSize(result?: Vector2): Vector2; - expandByPoint(point: Point): Box2; - expandByVector(vector: Vector2): Box2; - expandByScalar(scalar: number): Box2; - containsPoint(point: Vector2): boolean; - containsBox(box: Box2): boolean; - getParameter(point: Vector2, result?: Vector2): Vector2; - intersectsBox(box: Box2): boolean; - clampPoint(point: Vector2, result?: Vector2): Vector2; - private static _distanceToPoint_v1; - distanceToPoint(point: Vector2): number; - intersect(box: Box2): Box2; - union(box: Box2): Box2; - translate(offset: Point): Box2; - equals(box: Box2): boolean; -} -//# sourceMappingURL=Box2.d.ts.map \ No newline at end of file diff --git a/types/Nest/Common/Box2.d.ts.map b/types/Nest/Common/Box2.d.ts.map deleted file mode 100644 index 72b744e..0000000 --- a/types/Nest/Common/Box2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Box2.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/Box2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBAAa,IAAI;IAEb,GAAG,EAAE,OAAO,CAAC;IACb,GAAG,EAAE,OAAO,CAAC;gBACD,GAAG,UAAsC,EAAE,GAAG,UAAsC;IAMhG,IAAI,IAAI,IAAI,MAAM,CAGjB;IAED,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,GAAG,IAAI;IAMrC,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI;IAS5C,OAAO,CAAC,MAAM,CAAC,wBAAwB,CAAiB;IACxD,oBAAoB,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI;IAQ1D,KAAK,IAAI,IAAI;IAIb,IAAI,CAAC,GAAG,EAAE,IAAI,GAAG,IAAI;IAMrB,SAAS,IAAI,IAAI;IAMjB,OAAO,IAAI,OAAO;IAKlB,SAAS,CAAC,MAAM,GAAE,OAAuB,GAAG,OAAO;IAInD,OAAO,CAAC,MAAM,GAAE,OAAuB,GAAG,OAAO;IAIjD,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAMjC,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAMrC,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAMpC,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAStC,WAAW,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO;IAS/B,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,GAAE,OAAuB,GAAG,OAAO;IAStE,aAAa,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO;IAUjC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,GAAE,OAAuB,GAAG,OAAO;IAIpE,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAiB;IACnD,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM;IAMvC,SAAS,CAAC,GAAG,EAAE,IAAI,GAAG,IAAI;IAM1B,KAAK,CAAC,GAAG,EAAE,IAAI,GAAG,IAAI;IAMtB,SAAS,CAAC,MAAM,EAAE,KAAK,GAAG,IAAI;IAM9B,MAAM,CAAC,GAAG,EAAE,IAAI,GAAG,OAAO;CAI7B"} \ No newline at end of file diff --git a/types/Nest/Common/ClipperCpp.d.ts b/types/Nest/Common/ClipperCpp.d.ts deleted file mode 100644 index b2087ae..0000000 --- a/types/Nest/Common/ClipperCpp.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import * as clipperLib from "js-angusj-clipper/web"; -export declare let clipperCpp: { - lib?: clipperLib.ClipperLibWrapper; -}; -export declare function InitClipperCpp(): Promise; -//# sourceMappingURL=ClipperCpp.d.ts.map \ No newline at end of file diff --git a/types/Nest/Common/ClipperCpp.d.ts.map b/types/Nest/Common/ClipperCpp.d.ts.map deleted file mode 100644 index ebb61fb..0000000 --- a/types/Nest/Common/ClipperCpp.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ClipperCpp.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/ClipperCpp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AAEpD,eAAO,IAAI,UAAU,EAAE;IAAE,GAAG,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC;CAAO,CAAC;AACpE,wBAAgB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAmB9C"} \ No newline at end of file diff --git a/types/Nest/Common/Filer.d.ts b/types/Nest/Common/Filer.d.ts deleted file mode 100644 index 9d738b4..0000000 --- a/types/Nest/Common/Filer.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * CAD文件数据 - */ -export declare class NestFiler { - _datas: any[]; - private readIndex; - constructor(_datas?: any[]); - Clear(): this; - Reset(): this; - Write(data: any): this; - Read(): any; -} -//# sourceMappingURL=Filer.d.ts.map \ No newline at end of file diff --git a/types/Nest/Common/Filer.d.ts.map b/types/Nest/Common/Filer.d.ts.map deleted file mode 100644 index 5349b01..0000000 --- a/types/Nest/Common/Filer.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Filer.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/Filer.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,SAAS;IAGC,MAAM,EAAE,GAAG,EAAE;IADhC,OAAO,CAAC,SAAS,CAAa;gBACX,MAAM,GAAE,GAAG,EAAO;IAErC,KAAK;IAKL,KAAK;IAML,KAAK,CAAC,IAAI,EAAE,GAAG;IAMf,IAAI,IAAI,GAAG;CAId"} \ No newline at end of file diff --git a/types/Nest/Common/Point.d.ts b/types/Nest/Common/Point.d.ts deleted file mode 100644 index 6da79f0..0000000 --- a/types/Nest/Common/Point.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface Point { - x: number; - y: number; -} -//# sourceMappingURL=Point.d.ts.map \ No newline at end of file diff --git a/types/Nest/Common/Point.d.ts.map b/types/Nest/Common/Point.d.ts.map deleted file mode 100644 index 8a1529e..0000000 --- a/types/Nest/Common/Point.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/Point.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,KAAK;IAElB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACb"} \ No newline at end of file diff --git a/types/Nest/Common/Util.d.ts b/types/Nest/Common/Util.d.ts deleted file mode 100644 index c050310..0000000 --- a/types/Nest/Common/Util.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare function equaln(v1: number, v2: number, fuzz?: number): boolean; -export declare function FixIndex(index: number, arr: Array | number): number; -/** - * @param compart true => t2 , false => t1 - * @returns 索引 - */ -export declare function Max(arr: T[], compart: (t1: T, t2: T) => boolean): number; -//# sourceMappingURL=Util.d.ts.map \ No newline at end of file diff --git a/types/Nest/Common/Util.d.ts.map b/types/Nest/Common/Util.d.ts.map deleted file mode 100644 index 376d370..0000000 --- a/types/Nest/Common/Util.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Util.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/Util.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,SAAO,WAGzD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,UAS/D;AAED;;;GAGG;AACH,wBAAgB,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,OAAO,GAAG,MAAM,CAc3E"} \ No newline at end of file diff --git a/types/Nest/Common/Vector2.d.ts b/types/Nest/Common/Vector2.d.ts deleted file mode 100644 index 2e4218e..0000000 --- a/types/Nest/Common/Vector2.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Point } from "./Point"; -export declare class Vector2 { - x: number; - y: number; - readonly isVector2: boolean; - constructor(x?: number, y?: number); - get width(): number; - set width(value: number); - get height(): number; - set height(value: number); - set(x: number, y: number): Vector2; - setScalar(scalar: number): Vector2; - setX(x: number): Vector2; - setY(y: number): Vector2; - setComponent(index: number, value: number): Vector2; - getComponent(index: number): number; - clone(): Vector2; - copy(v: Vector2): Vector2; - add(v: Point): Vector2; - addScalar(s: number): Vector2; - addVectors(a: Vector2, b: Vector2): Vector2; - addScaledVector(v: Vector2, s: number): Vector2; - sub(v: Vector2): Vector2; - subScalar(s: number): Vector2; - subVectors(a: Vector2, b: Vector2): Vector2; - multiply(v: Vector2): Vector2; - multiplyScalar(scalar: number): Vector2; - divide(v: Vector2): Vector2; - divideScalar(scalar: number): Vector2; - min(v: Point): Vector2; - max(v: Point): Vector2; - clamp(min: Vector2, max: Vector2): Vector2; - private static clampScalar_min; - private static clampScalar_max; - clampScalar(minVal: number, maxVal: number): Vector2; - clampLength(min: number, max: number): Vector2; - floor(): Vector2; - ceil(): Vector2; - round(): Vector2; - roundToZero(): Vector2; - negate(): Vector2; - dot(v: Vector2): number; - lengthSq(): number; - length(): number; - lengthManhattan(): number; - normalize(): Vector2; - angle(): number; - distanceTo(v: Vector2): number; - distanceToSquared(v: Vector2): number; - distanceToManhattan(v: Vector2): number; - setLength(length: number): Vector2; - lerp(v: Vector2, alpha: number): Vector2; - lerpVectors(v1: Vector2, v2: Vector2, alpha: number): Vector2; - equals(v: Vector2): boolean; - fromArray(array: Float32Array | number[], offset?: number): Vector2; - toArray(array?: Float32Array | number[], offset?: number): Float32Array | number[]; - fromAttribute(attribute: any, index: number, offset?: number): Vector2; - rotateAround(center: Vector2, angle: number): Vector2; -} -//# sourceMappingURL=Vector2.d.ts.map \ No newline at end of file diff --git a/types/Nest/Common/Vector2.d.ts.map b/types/Nest/Common/Vector2.d.ts.map deleted file mode 100644 index fd78c68..0000000 --- a/types/Nest/Common/Vector2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Vector2.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Common/Vector2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBAAa,OAAO;IAEhB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAQ;gBACvB,CAAC,GAAE,MAAU,E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O,CAAC,KAAK,GAAE,YAAY,GAAG,MAAM,EAAO,EAAE,MAAM,GAAE,MAAU,GAAG,YAAY,GAAG,MAAM,EAAE;IAMzF,aAAa,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAE,MAAU,GAAG,OAAO;IAOzE,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;CASxD"} \ No newline at end of file diff --git a/types/Nest/Converter/Curves2Points.d.ts b/types/Nest/Converter/Curves2Points.d.ts deleted file mode 100644 index bdb7d0a..0000000 --- a/types/Nest/Converter/Curves2Points.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Circle } from "../../DatabaseServices/Entity/Circle"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -import { Point } from "../Common/Point"; -/** 内外接多边形 */ -export declare function Circle2Points(circle: Circle, knifRadius: number, splitSize?: number, outside?: boolean): Point[]; -/** - * 针对板件的曲线变点表做的特殊优化 - */ -export declare function Curves2Points(cu: Circle | Polyline, outside: boolean, knifeRadius: number): [(Circle | Polyline), Point[]]; -export declare function Polyline2Points(pl: Polyline, outside: boolean, knifeRadius: number): [Polyline, Point[]]; -/** - * 移除小圆弧,使用尖角直连(有可能产生自交 概率不大) - * @param pl 请传入逆时针多段线(我们将直接修改这个多段线,如果你不想被修改 你应该拷贝一个) - * @param [radius=30] - */ -export declare function PolylineFilletMinArc(pl: Polyline, radius?: number): void; -//# sourceMappingURL=Curves2Points.d.ts.map \ No newline at end of file diff --git a/types/Nest/Converter/Curves2Points.d.ts.map b/types/Nest/Converter/Curves2Points.d.ts.map deleted file mode 100644 index 0befa16..0000000 --- a/types/Nest/Converter/Curves2Points.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Curves2Points.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Converter/Curves2Points.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAE9D,OAAO,EAAoB,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAIpF,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAIxC,aAAa;AACb,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,SAAK,EAAE,OAAO,UAAQ,GAAG,KAAK,EAAE,CAiB1G;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,GAAG,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,CAM1H;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC,CAqDxG;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,SAAK,QA6B7D"} \ No newline at end of file diff --git a/types/Nest/Converter/Path2Polyline.d.ts b/types/Nest/Converter/Path2Polyline.d.ts deleted file mode 100644 index 29162e2..0000000 --- a/types/Nest/Converter/Path2Polyline.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Point } from "../Common/Point"; -import { Polyline } from "../../DatabaseServices/Entity/Polyline"; -export declare function Path2Polyline(path: Point[]): Polyline; -//# sourceMappingURL=Path2Polyline.d.ts.map \ No newline at end of file diff --git a/types/Nest/Converter/Path2Polyline.d.ts.map b/types/Nest/Converter/Path2Polyline.d.ts.map deleted file mode 100644 index 8659dcf..0000000 --- a/types/Nest/Converter/Path2Polyline.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Path2Polyline.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Converter/Path2Polyline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAGlE,wBAAgB,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,CASrD"} \ No newline at end of file diff --git a/types/Nest/Core/NestCache.d.ts b/types/Nest/Core/NestCache.d.ts deleted file mode 100644 index f58b578..0000000 --- a/types/Nest/Core/NestCache.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Point } from "../Common/Point"; -import { Path } from "./Path"; -export declare class NestCache { - static CachePartPosCount: number; - static CacheNoSetCount: number; - private static _PositionCache; - private static _PosCacheCount; - private static _NoPutCache; - private static _NoPutCacheCount; - static SetPos(key: string, value: Point): void; - static GetPos(key: string): Point; - static SetNoPut(key: string, value: Set): void; - static GetNoPut(key: string): Set; - /** - * 用于创建原点在0点的矩形路径 - */ - static CreatePath(x: number, y: number, knifRadius?: number): Path; - static Clear(): void; -} -//# sourceMappingURL=NestCache.d.ts.map \ No newline at end of file diff --git a/types/Nest/Core/NestCache.d.ts.map b/types/Nest/Core/NestCache.d.ts.map deleted file mode 100644 index 83a40a7..0000000 --- a/types/Nest/Core/NestCache.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"NestCache.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Core/NestCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAI9B,qBAAa,SAAS;IAGlB,MAAM,CAAC,iBAAiB,SAAK;IAE7B,MAAM,CAAC,eAAe,SAAK;IAE3B,OAAO,CAAC,MAAM,CAAC,cAAc,CAAiC;IAC9D,OAAO,CAAC,MAAM,CAAC,cAAc,CAAI;IACjC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAuC;IACjE,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAI;IAEnC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK;IAavC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK;IAKjC,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC;IAa/C,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;IAKzC;;OAEG;IACH,MAAM,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,SAAM,GAAG,IAAI;IAc/D,MAAM,CAAC,KAAK;CASf"} \ No newline at end of file diff --git a/types/Nest/Core/Path.d.ts b/types/Nest/Core/Path.d.ts deleted file mode 100644 index 2cd8696..0000000 --- a/types/Nest/Core/Path.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Box2 } from "../Common/Box2"; -import { NestFiler } from "../Common/Filer"; -import { Point } from "../Common/Point"; -import { Vector2 } from "../Common/Vector2"; -/** - * 轮廓路径类 - * 可以求NFP,和保存NFPCahce - * 因为NFP结果是按照最低点移动的,所以将点旋转后,按照盒子将点移动到0点. - */ -export declare class Path { - OrigionPoints?: Point[]; - Id: number; - Points: Point[]; - OutsideNFPCache: { - [key: number]: Point[][]; - }; - InsideNFPCache: { - [key: number]: Point[][]; - }; - constructor(OrigionPoints?: Point[], rotation?: number); - Origion: Path; - OrigionMinPoint: Vector2; - Rotation: number; - Size: Vector2; - private Init; - GetNFPs(path: Path, outside: boolean): (Point[])[]; - GetOutsideNFP(path: Path): (Point[])[]; - GetInsideNFP(path: Path): (Point[])[]; - private _InPoint; - /** - * 用这个点来检测是否在Path内部 - */ - private get InPoint(); - protected _BigIntPoints: Point[]; - get BigIntPoints(): Point[]; - private _BigSize; - get BigSize(): Vector2; - protected _MirrorPoints: Point[]; - get MirrorPoints(): Point[]; - protected _BoundingBox: Box2; - get BoundingBox(): Box2; - protected _Area: number; - get Area(): number; - set Area(a: number); - private _IsRect; - get IsRect(): boolean; - ReadFile(file: NestFiler): void; - WriteFile(file: NestFiler): void; -} -/** - * 平移点表,返回新点表 - */ -export declare function PathTranslate(pts: Point[], p: Point): Point[]; -export declare function PathTranslate_Self(pts: Point[], mx: number, my: number): Point[]; -export declare function PathScale(pts: Point[], scale: number): Point[]; -//# sourceMappingURL=Path.d.ts.map \ No newline at end of file diff --git a/types/Nest/Core/Path.d.ts.map b/types/Nest/Core/Path.d.ts.map deleted file mode 100644 index 9e8597e..0000000 --- a/types/Nest/Core/Path.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Path.d.ts","sourceRoot":"","sources":["../../../../src/Nest/Core/Path.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C;;;;GAIG;AACH,qBAAa,IAAI;IAOM,aAAa,CAAC,EAAE,KAAK,EAAE;IAL1C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,eAAe,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,EAAE,EAAE,CAAC;KAAE,CAAM;IACpD,cAAc,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,EAAE,EAAE,CAAC;KAAE,CAAM;gBAEhC,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,QAAQ,GAAE,MAAU;IAMhE,OAAO,EAAE,IAAI,CAAC;IAEd,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,IAAI;IAyCZ,OAAO,CAA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ts b/types/Production/Convert2PtsBul.d.ts deleted file mode 100644 index 6212e4f..0000000 --- a/types/Production/Convert2PtsBul.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Vector2, Vector3 } from "three"; -import { Arc } from "../DatabaseServices/Entity/Arc"; -import { Circle } from "../DatabaseServices/Entity/Circle"; -import { Polyline } from "../DatabaseServices/Entity/Polyline"; -/**轮廓(多段线Pts Bul)数据 */ -export interface IContourData { - pts: Vector2[]; - buls: number[]; -} -/** - * 转换成多段线点表(pts bul) - * @param cu - * @param [isOutline=true] 如果是外部轮廓,则返回逆时针点表 - * @returns pts buls - */ -export declare function ConverToPtsBul(cu: Polyline | Circle, isOutline?: boolean): IContourData; -export declare function ConverArcToPtsBul(arc: Arc, hasEnd?: boolean): { - pts: Vector3[]; - buls: number[]; -}; -//# sourceMappingURL=Convert2PtsBul.d.ts.map \ No newline at end of file diff --git a/types/Production/Convert2PtsBul.d.ts.map b/types/Production/Convert2PtsBul.d.ts.map deleted file mode 100644 index 7664a7f..0000000 --- a/types/Production/Convert2PtsBul.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Convert2PtsBul.d.ts","sourceRoot":"","sources":["../../../src/Production/Convert2PtsBul.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAI/D,sBAAsB;AACtB,MAAM,WAAW,YAAY;IAEzB,GAAG,EAAE,OAAO,EAAE,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;CAClB;AAQD;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,EAAE,EAAE,QAAQ,GAAG,MAAM,EAAE,SAAS,UAAO,GAAG,YAAY,CAyCpF;AAGD,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,UAAQ,GAAG;IAAE,GAAG,EAAE,OAAO,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAC;CAAE,CAe/F"} \ No newline at end of file diff --git a/types/Production/Product.d.ts b/types/Production/Product.d.ts deleted file mode 100644 index 74b4b44..0000000 --- a/types/Production/Product.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -import { Vector3 } from "three"; -import { FaceDirection } from "../Add-on/DrawDrilling/DrillType"; -import { EBoardKeyList } from "../Common/BoardKeyList"; -import { GangDrillType } from "../DatabaseServices/3DSolid/CylinderHole"; -import { Board, I2DModeingItem, IKnifeInfo, IModeling } from "../DatabaseServices/Entity/Board"; -import { BoardOpenDir } from "../DatabaseServices/Entity/BoardInterface"; -import { ExtrudeContourCurve } from "../DatabaseServices/Entity/Extrude"; -import { Polyline } from "../DatabaseServices/Entity/Polyline"; -import { HardwareCompositeEntity } from "../DatabaseServices/Hardware/HardwareCompositeEntity"; -import { HardwareTopline } from "../DatabaseServices/Hardware/HardwareTopline"; -import { BrSealedData } from "../GraphicsSystem/CalcEdgeSealing"; -import { IHardwareOption } from "../UI/Components/RightPanel/RightPanelInterface"; -import { IHighEdgeRemarkItem, IHighReservedEdgeItem, ISealingData } from "../UI/Store/OptionInterface/IHighSealedItem"; -import { Entity } from './../DatabaseServices/Entity/Entity'; -import { IContourData } from "./Convert2PtsBul"; -export interface I3DContourData { - pts: Vector3[]; - buls: number[]; -} -export type IHardwareType = HardwareTopline | HardwareCompositeEntity; -export interface IModelingData { - feeding: IContourData[]; - thickness: number; - dir: FaceDirection | number; - knifeRadius: number; - origin: IOriginModelingData; -} -export interface IDrillingOption { - position: Vector3; - radius: number; - type: GangDrillType; - depth: number; - face: FaceDirection; - endPt?: Vector3; - angle?: number; - name: string; - goodsId?: string; -} -export interface IBoardHoleInfo { - frontBackHoles: IDrillingOption[]; - sideHoles: IDrillingOption[]; -} -interface IBoardProdInfo { - id: number; - name: string; - [EBoardKeyList.RoomName]: string; - [EBoardKeyList.CabinetName]: string; - [EBoardKeyList.Mat]: string; - [EBoardKeyList.BrMat]: string; - [EBoardKeyList.Color]: string; - [EBoardKeyList.Lines]: number; - [EBoardKeyList.DrillType]: string; - [EBoardKeyList.Thick]: number; - spliteHeight: string; - spliteThickness: string; - spliteWidth: string; - isRect: boolean; - remarks: [string, string][]; - kaiLiaoWidth: number; - kaiLiaoHeight: number; - openDir: BoardOpenDir; -} -export interface I2DModeling { - path: IContourData; - dir: FaceDirection; - items: I2DModeingItem[]; -} -export interface I3DModeling { - path: I3DContourData; - dir: FaceDirection; - knife: IKnifeInfo; -} -/**拆单数据 */ -export interface ISpliteOrderData { - info: IBoardProdInfo; - outline: IContourData; - sealing: ISealingData[]; - boardEdgeRemark: IHighEdgeRemarkItem[]; - reservedEdge: IHighReservedEdgeItem[]; - modeling: IModelingData[]; - curveBoardModeling: IModeling[]; - holes: IBoardHoleInfo; - sideModeling: IOriginSideModelingData[]; - offsetTanslation: Vector3; - originOutlin: IContourData; - metalsData?: { - metals: number; - comp: number; - }; - boardContour: IContourData; - modeling2D: I2DModeling[]; - modeling3D: I3DModeling[]; - isReverse: boolean; -} -export interface IBoardMetalsData { - metals: ISpliteHardwareData[]; - comp: ISpliteHardwareData[]; -} -export interface ISpliteHardwareData { - metalsOption: IHardwareOption; - dataList: [string, string][]; - children: ISpliteHardwareData[]; - length?: number; - size: Vector3; -} -export interface IOriginModelingData { - outline: IContourData; - holes: IContourData[]; - thickness?: number; - dir?: FaceDirection | number; - knifeRadius?: number; - addLen?: number; - addWidth?: number; - addDepth?: number; -} -export interface IOriginSideModelingData extends IOriginModelingData { - chaiDanName: string; - modelType: ModelType; -} -export declare enum ModelType { - frontBackModel = 0,//正反面造型槽 - sideModel = 1,//绘制的侧槽造型 - drill = 2,//自定义排钻生成的非圆侧孔 - sideHoleModel = 3 -} -interface IChaiDanFeedingData extends IOriginModelingData { - boardContour: IContourData; - brThickness: number; -} -export declare namespace Production { - /**获取板件拆单数据 */ - function GetBoardSplitOrderData(br: Board, redundancyKnif?: number): ISpliteOrderData | undefined; - function ParseSealData(sealData: BrSealedData, defaultSealColor?: string): { - seals: ISealingData[]; - reservedEdges: IHighReservedEdgeItem[]; - }; - function ParseBoardEdgeRemarkData(sealData: BrSealedData, highBoardEdgeRemark: IHighEdgeRemarkItem[]): IHighEdgeRemarkItem[]; - function GetBoardInfo(br: Board, size: Vector3): IBoardProdInfo; - function GetMetalTotalEntitys(md: HardwareCompositeEntity, isHole?: boolean, filter?: (e: Entity) => boolean): Entity[]; - function GetOriginBoardModelingData(br: Board): { - modeling: IOriginModelingData[]; - sideModeling: { - sideModel: IOriginSideModelingData[]; - sideHole: IDrillingOption[]; - }; - }; - /** - * 计算板的造型走刀数据(包括自定义排钻的走刀 侧面走刀) - * @param br - * @param offsetTanslation - */ - function GetBoardModelingData(br: Board, offsetTanslation: Vector3, redundancyKnif: number, curveBoardModeling: IModeling[]): { - modeling: IModelingData[]; - sideModeling: IOriginSideModelingData[]; - }; - function GetBoardSideModelingData(br: Board, toaster?: boolean): { - sideModel: IOriginSideModelingData[]; - sideHole: IDrillingOption[]; - }; - function HasSpiteSize(br: Board): boolean; - function GetSpiteSize(br: Board): { - spliteHeight: number; - spliteWidth: number; - spliteThickness: number; - }; - function GetSpliteOutlineBySpliteSize(br: Board): Polyline | null; - /**孔信息,侧孔的z 均为 从上到下距离 */ - function GetBoardHolesData(br: Board, offsetTanslation: Vector3, sealedContour: ExtrudeContourCurve): IBoardHoleInfo; - function GetHardwareCompositeData(en: HardwareCompositeEntity): ISpliteHardwareData; - function GetHardwareToplineData(en: HardwareTopline): ISpliteHardwareData[]; - /**获取排钻数量 */ - function GetTotalDrillCount(brs: (Board | IHardwareType)[]): { - drillCount: import("../Add-on/LookOverBoardInfos/LookOverBoardInfosTool").ICountType[]; - hardwareCount: import("../Add-on/LookOverBoardInfos/LookOverBoardInfosTool").ICountType[]; - sealCount: import("../Add-on/LookOverBoardInfos/LookOverBoardInfosTool").ICountType[]; - areaCount: import("../Add-on/LookOverBoardInfos/LookOverBoardInfosTool").ICountType[]; - }; - function GetCabSize(brList: Board[]): Map; - function Data2Polyline(data: IContourData, isClose?: boolean): Polyline; - function Get2DModeing(br: Board, offset: Vector3): I2DModeling[]; - function Get3DModeing(br: Board, offset: Vector3): I3DModeling[]; - function GetChaiDanFeedingPath(data: IChaiDanFeedingData, redundancyKnif?: number): IContourData[]; - function GetGroupName(ent: Entity): string; -} -export declare function ParseArcBoardHoles(br: Board, offsetTanslation: Vector3): Vector3; -export {}; -//# sourceMappingURL=Product.d.ts.map \ No newline at end of file diff --git a/types/Production/Product.d.ts.map b/types/Production/Product.d.ts.map deleted file mode 100644 index 7349fc2..0000000 --- a/types/Production/Product.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../../src/Production/Product.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,OAAO,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAKvD,OAAO,EAAgB,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAKvF,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAK/E,OAAO,EAAE,YAAY,EAAyB,MAAM,mCAAmC,CAAC;AAExF,OAAO,EAAe,eAAe,EAAk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mB,GAAG,cAAc,CA8I1H;IAkdD,SAAgB,wBAAwB,CAAC,EAAE,EAAE,uBAAuB,GAAG,mBAAmB,CAsCzF;IAED,SAAgB,sBAAsB,CAAC,EAAE,EAAE,eAAe,yBA0CzD;IAED,YAAY;IACZ,SAAgB,kBAAkB,CAAC,GAAG,EAAE,CAAC,KAAK,GAAG,aAAa,CAAC,EAAE;;;;;MAGhE;IAED,SAAgB,UAAU,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,CA4B/D;IAED,SAAgB,aAAa,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,UAAO,YAM/D;IAED,SAAgB,YAAY,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,iBAqBtD;IAED,SAAgB,YAAY,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,iBAiDtD;IAED,SAAgB,qBAAqB,CAAC,IAAI,EAAE,mBAAmB,EAAE,cAAc,SAAI,kBAmBlF;IACD,SAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAKhD;CACJ;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,OAAO,WAsFtE"} \ No newline at end of file diff --git a/types/Reactor/RoomHoleReactor.d.ts b/types/Reactor/RoomHoleReactor.d.ts deleted file mode 100644 index 1a0fd8e..0000000 --- a/types/Reactor/RoomHoleReactor.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { CADObject } from "../DatabaseServices/CADObject"; -import { RoomHolePolyline } from "../DatabaseServices/Room/Entity/Wall/Hole/RoomHolePolyline"; -import { RoomWallBase } from "../DatabaseServices/Room/Entity/Wall/RoomWallBase"; -/** - * 更新墙与洞的关联性 - */ -export declare function UpdateRelevanceWallHole(ents: CADObject[], isUndoRedo?: boolean): Promise; -/** - * 更新墙的洞的数据,并且更新绘制 - */ -export declare function UpdateWallHolesDataAndUpdateDraw(wall: RoomWallBase): RoomWallBase; -/** - * 更新网洞的绘制 - * 在墙移动的时候,或者网洞变化的时候 这个网洞的绘制就需要被更新 - */ -export declare function UpdateHoleFakerWallsAndUpdateDraw(hole: RoomHolePolyline): void; -export declare function GetHoleLengthOfIndex(hole: RoomHolePolyline, index: number): number; -//# sourceMappingURL=RoomHoleReactor.d.ts.map \ No newline at end of file diff --git a/types/Reactor/RoomHoleReactor.d.ts.map b/types/Reactor/RoomHoleReactor.d.ts.map deleted file mode 100644 index 01304c2..0000000 --- a/types/Reactor/RoomHoleReactor.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RoomHoleReactor.d.ts","sourceRoot":"","sources":["../../../src/Reactor/RoomHoleReactor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAG1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAE9F,OAAO,EAAE,YAAY,EAAE,MAAM,mDAAmD,CAAC;AAUjF;;GAEG;AACH,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,UAAU,UAAQ,iBA2DlF;AAGD;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,YAAY,gBAiClE;AAGD;;;GAGG;AACH,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,gBAAgB,QA+NvE;AAGD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CA2BlF"} \ No newline at end of file diff --git a/types/UI/Components/ApplyGoodInfo.d.ts b/types/UI/Components/ApplyGoodInfo.d.ts deleted file mode 100644 index 2fc129a..0000000 --- a/types/UI/Components/ApplyGoodInfo.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Board } from '../../DatabaseServices/Entity/Board'; -import { PhysicalMaterialRecord } from '../../DatabaseServices/PhysicalMaterialRecord'; -export declare function ApplyGoodInfo(en: Board, material: PhysicalMaterialRecord): void; -//# sourceMappingURL=ApplyGoodInfo.d.ts.map \ No newline at end of file diff --git a/types/UI/Components/ApplyGoodInfo.d.ts.map b/types/UI/Components/ApplyGoodInfo.d.ts.map deleted file mode 100644 index f788d84..0000000 --- a/types/UI/Components/ApplyGoodInfo.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ApplyGoodInfo.d.ts","sourceRoot":"","sources":["../../../../src/UI/Components/ApplyGoodInfo.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAGvF,wBAAgB,aAAa,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,sBAAsB,QAQxE"} \ No newline at end of file diff --git a/types/UI/Components/Board/BoardFindInterface.d.ts b/types/UI/Components/Board/BoardFindInterface.d.ts deleted file mode 100644 index 3083f3e..0000000 --- a/types/UI/Components/Board/BoardFindInterface.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum FindModifyStyle { - FuzzyQuery = 0,//模糊匹配 - PreciseQuery = 1 -} -//# sourceMappingURL=BoardFindInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Components/Board/BoardFindInterface.d.ts.map b/types/UI/Components/Board/BoardFindInterface.d.ts.map deleted file mode 100644 index 47c3326..0000000 --- a/types/UI/Components/Board/BoardFindInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoardFindInterface.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Components/Board/BoardFindInterface.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IAEvB,UAAU,IAAI,CAAC,MAAM;IACrB,YAAY,IAAI;CACnB"} \ No newline at end of file diff --git a/types/UI/Components/Board/UpdateBoardInfointerface.d.ts b/types/UI/Components/Board/UpdateBoardInfointerface.d.ts deleted file mode 100644 index fb62b2d..0000000 --- a/types/UI/Components/Board/UpdateBoardInfointerface.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { FaceDirection } from "../../../Add-on/DrawDrilling/DrillType"; -import { EBoardKeyList } from "../../../Common/BoardKeyList"; -import { ComposingType, LinesType } from "../../../DatabaseServices/Entity/BoardInterface"; -import { IBaseOption, IDrawBoardAutoCutOption } from "../../Store/OptionInterface/IOptionInterface"; -export interface IUpdateBoardInfosOption extends IBaseOption { - condition: IUpdateInfoCondition; - [EBoardKeyList.BrName]: string; - [EBoardKeyList.RoomName]: string; - [EBoardKeyList.CabinetName]: string; - [EBoardKeyList.Lines]: LinesType; - [EBoardKeyList.BigHole]: FaceDirection; - [EBoardKeyList.DrillType]: string; - [EBoardKeyList.ComposingFace]: ComposingType; - upDownDrill: [boolean, boolean]; - [EBoardKeyList.UpSealed]?: string; - [EBoardKeyList.DownSealed]?: string; - [EBoardKeyList.LeftSealed]?: string; - [EBoardKeyList.RightSealed]?: string; - [EBoardKeyList.KnifeRad]: string; - remarks: [string, string][]; - [EBoardKeyList.BrMat]: string; - [EBoardKeyList.Mat]: string; - [EBoardKeyList.Color]: string; - grooveAddLength: string; - grooveAddWidth: string; - grooveAddDepth: string; - highDrill: string[]; - isChaiDan: boolean; - edgeRemarkUp: string; - edgeRemarkDown: string; - edgeRemarkLeft: string; - edgeRemarkRight: string; -} -export interface IUpdateInfoCondition { - [EBoardKeyList.BrName]: boolean; - [EBoardKeyList.RoomName]: boolean; - [EBoardKeyList.CabinetName]: boolean; - [EBoardKeyList.Lines]: boolean; - [EBoardKeyList.BigHole]: boolean; - [EBoardKeyList.DrillType]: boolean; - [EBoardKeyList.ComposingFace]: boolean; - [EBoardKeyList.UpSealed]: boolean; - [EBoardKeyList.DownSealed]: boolean; - [EBoardKeyList.LeftSealed]: boolean; - [EBoardKeyList.RightSealed]: boolean; - useZhengFanDrill: boolean; - remarks: boolean; - [EBoardKeyList.KnifeRad]: boolean; - [EBoardKeyList.Mat]: boolean; - grooveAddLength: boolean; - grooveAddWidth: boolean; - grooveAddDepth: boolean; - upDrill: boolean; - downDrill: boolean; - leftDrill: boolean; - rightDrill: boolean; - isChaiDan: boolean; - autoCutOption: IDrawBoardAutoCutOption; - edgeRemarkUp: boolean; - edgeRemarkDown: boolean; - edgeRemarkLeft: boolean; - edgeRemarkRight: boolean; -} -//# sourceMappingURL=UpdateBoardInfointerface.d.ts.map \ No newline at end of file diff --git a/types/UI/Components/Board/UpdateBoardInfointerface.d.ts.map b/types/UI/Components/Board/UpdateBoardInfointerface.d.ts.map deleted file mode 100644 index 6704df0..0000000 --- a/types/UI/Components/Board/UpdateBoardInfointerface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"UpdateBoardInfointerface.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Components/Board/UpdateBoardInfointerface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAEpG,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAExD,SAAS,EAAE,oBAAoB,CAAC;IAChC,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAC/B,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IACjC,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACpC,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;IACjC,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC;IACvC,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAClC,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC;IAC7C,WAAW,EAAE,CAAC,OAA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AAO,CAAC;IACvC,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAClC,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IACpC,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IACpC,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IACrC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAClC,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC;IAC7B,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,uBAAuB,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;CAC5B"} \ No newline at end of file diff --git a/types/UI/Components/RightPanel/RightPanelInterface.d.ts b/types/UI/Components/RightPanel/RightPanelInterface.d.ts deleted file mode 100644 index 117bb05..0000000 --- a/types/UI/Components/RightPanel/RightPanelInterface.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { EBoardKeyList } from "../../../Common/BoardKeyList"; -import { IBaseOption } from "../../Store/OptionInterface/IOptionInterface"; -export interface IHardwareOption extends IBaseOption { - name: string; - unit: string; - [EBoardKeyList.RoomName]: string; - [EBoardKeyList.CabinetName]: string; - costExpr: string; - actualExpr: string; - model: string; - factory: string; - brand: string; - spec: string; - comments: string; - isHole: boolean; - goodsId?: string; - goodsSn?: string; -} -export interface ICylMetalsOption extends IHardwareOption { - rad: number; - height: number; - count: string; -} -export interface IExtMetalsOption extends IHardwareOption { - thickness: number; - knifeRad: number; - addLen: number; - isHole: boolean; - count: string; -} -export declare enum EMetalsType { - Metals = "\u4E94\u91D1", - Comp = "\u7EC4\u4EF6" -} -export interface ICompHardwareOption extends IHardwareOption { - type: EMetalsType; - isSplite: boolean; - isSplitePrice: boolean; - color: string; - [EBoardKeyList.Mat]: string; - count: string; - goodsId: string; - goodsSn: string; -} -export interface IToplineOption extends IHardwareOption { - addLen: string; -} -//# sourceMappingURL=RightPanelInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Components/RightPanel/RightPanelInterface.d.ts.map b/types/UI/Components/RightPanel/RightPanelInterface.d.ts.map deleted file mode 100644 index cc0addb..0000000 --- a/types/UI/Components/RightPanel/RightPanelInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"RightPanelInterface.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Components/RightPanel/RightPanelInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAE3E,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAEhD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IACjC,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IAErD,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IAErD,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,WAAW;IAEnB,MAAM,iBAAO;IACb,IAAI,iBAAO;CACd;AAED,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IAExD,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,cAAe,SAAQ,eAAe;IAEnD,MAAM,EAAE,MAAM,CAAC;CAClB"} \ No newline at end of file diff --git a/types/UI/Components/Template/TemplateInterface.d.ts b/types/UI/Components/Template/TemplateInterface.d.ts deleted file mode 100644 index bd6a383..0000000 --- a/types/UI/Components/Template/TemplateInterface.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IKuGangDrawOption { - insertMode: string; - minSpacing: number; - count: number; - isHor: boolean; - depth: number; - isDefault: boolean; - leftDist: number; - rightDist: number; - upDist: number; - downDist: number; -} -//# sourceMappingURL=TemplateInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Components/Template/TemplateInterface.d.ts.map b/types/UI/Components/Template/TemplateInterface.d.ts.map deleted file mode 100644 index 83435c9..0000000 --- a/types/UI/Components/Template/TemplateInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"TemplateInterface.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Components/Template/TemplateInterface.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,iBAAiB;IAE9B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CACpB"} \ No newline at end of file diff --git a/types/UI/Store/BoardFindInterface.d.ts b/types/UI/Store/BoardFindInterface.d.ts deleted file mode 100644 index 69a9e82..0000000 --- a/types/UI/Store/BoardFindInterface.d.ts +++ /dev/null @@ -1,149 +0,0 @@ -import { FaceDirection } from "../../Add-on/DrawDrilling/DrillType"; -import { EBoardKeyList } from "../../Common/BoardKeyList"; -import { BoardOpenDir, ComposingType, LinesType } from "../../DatabaseServices/Entity/BoardInterface"; -import { FindModifyStyle } from "../Components/Board/BoardFindInterface"; -import { IBaseOption } from "./OptionInterface/IOptionInterface"; -export declare const DRILL_KEYS: string[]; -export declare const SEAL_KEYS: EBoardKeyList[]; -export declare const EDGEREMARK_KEYS: string[]; -export interface IBoardFindOption extends IBaseOption { - condition: IFindCondition; - compareType: ICompareType; - tolerance: ITolerance; - [EBoardKeyList.Height]: string; - [EBoardKeyList.Width]: string; - [EBoardKeyList.Thick]: string; - [EBoardKeyList.RoomName]: string; - [EBoardKeyList.CabinetName]: string; - brName: string; - hardwareName: string; - [EBoardKeyList.BrMat]: string; - [EBoardKeyList.Mat]: string; - [EBoardKeyList.Color]: string; - [EBoardKeyList.Lines]: LinesType; - [EBoardKeyList.BigHole]: FaceDirection; - [EBoardKeyList.DrillType]: string; - [EBoardKeyList.ComposingFace]: ComposingType; - [EBoardKeyList.OpenDir]: BoardOpenDir; - [EBoardKeyList.UpSealed]: string; - [EBoardKeyList.DownSealed]: string; - [EBoardKeyList.LeftSealed]: string; - [EBoardKeyList.RightSealed]: string; - hardwareDoorName: string; - highDrill: string[]; - upDownDrill: [boolean, boolean]; - isClose: boolean; - remarks: [string, string][]; - query: FindModifyStyle; - extraRemarks: [string, string][]; - isChaidan: boolean; - [EBoardKeyList.KnifeRad]: string; - edgeRemarkUp: string; - edgeRemarkDown: string; - edgeRemarkLeft: string; - edgeRemarkRight: string; - [EBoardKeyList.SpliteHeight]: string; - [EBoardKeyList.SpliteWidth]: string; - [EBoardKeyList.SpliteThickness]: string; - appendRemark: [string, string, number][]; -} -export interface IFindCondition { - [EBoardKeyList.Height]: boolean; - [EBoardKeyList.Width]: boolean; - [EBoardKeyList.Thick]: boolean; - useWood: boolean; - useDrill: boolean; - useNail: boolean; - useDoor: boolean; - useDim: boolean; - useSpecial: boolean; - useModeling: boolean; - [EBoardKeyList.RoomName]: boolean; - [EBoardKeyList.CabinetName]: boolean; - brName: boolean; - hardwareName: boolean; - [EBoardKeyList.Mat]: boolean; - [EBoardKeyList.Lines]: boolean; - [EBoardKeyList.BigHole]: boolean; - [EBoardKeyList.DrillType]: boolean; - useKeyWord: boolean; - addRemarks: boolean; - [EBoardKeyList.ComposingFace]: boolean; - [EBoardKeyList.OpenDir]: boolean; - [EBoardKeyList.UpSealed]: boolean; - [EBoardKeyList.DownSealed]: boolean; - [EBoardKeyList.LeftSealed]: boolean; - [EBoardKeyList.RightSealed]: boolean; - upDrill: boolean; - downDrill: boolean; - leftDrill: boolean; - rightDrill: boolean; - useZhengFanDrill: boolean; - useChaidan: boolean; - [EBoardKeyList.KnifeRad]: boolean; - edgeRemarkUp: boolean; - edgeRemarkDown: boolean; - edgeRemarkLeft: boolean; - edgeRemarkRight: boolean; - [EBoardKeyList.SpliteHeight]: boolean; - [EBoardKeyList.SpliteWidth]: boolean; - [EBoardKeyList.SpliteThickness]: boolean; -} -export interface ICompareType { - [EBoardKeyList.Height]: ECompareType; - [EBoardKeyList.Width]: ECompareType; - [EBoardKeyList.Thick]: ECompareType; - [EBoardKeyList.RoomName]: ECompareType; - [EBoardKeyList.CabinetName]: ECompareType; - brName: ECompareType; - hardwareName: ECompareType; - [EBoardKeyList.BrMat]: ECompareType; - [EBoardKeyList.Mat]: ECompareType; - [EBoardKeyList.Color]: ECompareType; - [EBoardKeyList.Lines]: ECompareType; - [EBoardKeyList.BigHole]: ECompareType; - [EBoardKeyList.DrillType]: ECompareType; - [EBoardKeyList.ComposingFace]: ECompareType; - [EBoardKeyList.OpenDir]: ECompareType; - [EBoardKeyList.KnifeRad]: ECompareType; - edgeRemarkUp: ECompareType; - edgeRemarkDown: ECompareType; - edgeRemarkLeft: ECompareType; - edgeRemarkRight: ECompareType; - [EBoardKeyList.SpliteHeight]: ECompareType; - [EBoardKeyList.SpliteWidth]: ECompareType; - [EBoardKeyList.SpliteThickness]: ECompareType; -} -export interface ITolerance { - [EBoardKeyList.Height]: string; - [EBoardKeyList.Width]: string; - [EBoardKeyList.Thick]: string; - [EBoardKeyList.KnifeRad]: string; - [EBoardKeyList.SpliteHeight]: string; - [EBoardKeyList.SpliteWidth]: string; - [EBoardKeyList.SpliteThickness]: string; -} -export declare enum EFindType { - Find = 0, - Modify = 1, - FindMaxSize = 2, - FindSplite = 3, - GetOption = 4, - RemoveModeling = 5, - RemoveSpecialShape = 6, - RemoveModelingAndSpecial = 7, - ModifyHardware = 8, - FindMinSize = 9, - GetHardWareOption = 10, - RemoveSplitSize = 11 -} -export declare enum ECompareType { - Equal = "=", - UnEqual = "!=", - Greater = ">=", - Less = "<=", - Include = "//",//模糊匹配 - Prefix = "\u524D\u7F00", - Suffix = "\u540E\u7F00" -} -//# sourceMappingURL=BoardFindInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/BoardFindInterface.d.ts.map b/types/UI/Store/BoardFindInterface.d.ts.map deleted file mode 100644 index ffbe764..0000000 --- a/types/UI/Store/BoardFindInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoardFindInterface.d.ts","sourceRoot":"","sources":["../../../../src/UI/Store/BoardFindInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACtG,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEjE,eAAO,MAAM,UAAU,UAAsD,CAAC;AAC9E,eAAO,MAAM,SAAS,iBAA0G,CAAC;AACjI,eAAO,MAAM,eAAe,UAA0E,CAAC;AAGvG,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IAEjD,SAAS,EAAE,cAAc,CAAC;IAC1B,WAAW,EAAE,YAAY,CAAC;IAC1B,SAAS,EAAE,UAAU,CAAC;IAEtB,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAC/B,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAC9B,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IACjC,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAC9B,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5B,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,MAAM,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diff --git a/types/UI/Store/DoorInterface.d.ts b/types/UI/Store/DoorInterface.d.ts deleted file mode 100644 index 832d673..0000000 --- a/types/UI/Store/DoorInterface.d.ts +++ /dev/null @@ -1,200 +0,0 @@ -import { IBaseOption, IHightDrillOption } from "./OptionInterface/IOptionInterface"; -import { ITemplateParam } from "./RightPanelStore/ITemplateParam"; -export interface IDoorAndDrawerConfigOption extends IBaseOption { - col: number; - row: number; - isAllSelect: boolean; - topOffset: number; - bottomOffset: number; - doorPosType: DoorPosType; - offset: number; - topExt: number; - bottomExt: number; - leftExt: number; - rightExt: number; - topSpace: number; - bottomSpace: number; - leftSpace: number; - rightSpace: number; - midSpace: number; - verticalBoardName: string; - thickness: number; - depth: number; - isAuto: boolean; - isFloor50?: boolean; - boardName: string; - handleAngle: number; - handleHorPos: HandleHorPos; - horSpacing: number; - handleVePos: HandleVePos; - veSpacing: number; - upOffsetExpr: string; - downOffsetExpr: string; - lbSealedUp: number; - lbSealedDown: number; - lbSealedLeft: number; - lbSealedRight: number; - lbHightDrillOption: IHightDrillOption; - useBoardProcessOption?: boolean; - isModifyHardwareMaterial: boolean; - boardMatName: string; - material: string; - color: string; - roomName: string; - cabinetName: string; -} -/** - * 门板数据接口 - */ -export interface IDoorConfigOption extends IDoorAndDrawerConfigOption { - doorThickness: number; - topBrSeal: number; - bottomBrSeal: number; - leftBrSeal: number; - rightBrSeal: number; - topDoorSeal: number; - bottomDoorSeal: number; - leftDoorSeal: number; - rightDoorSeal: number; - hingeCount: number; - hindeTopDist: number; - hindeBottomDist: number; - useRule: boolean; - changeTemplateBoardNameOfOpenDir: boolean; - frontAndBackDrill: boolean; - layerBoardName: string; - cbHightDrillOption: IHightDrillOption; - deviation: number; - verticalEdgeRemarkUp: string; - verticalEdgeRemarkDown: string; - verticalEdgeRemarkLeft: string; - verticalEdgeRemarkRight: string; - layerEdgeRemarkUp: string; - layerEdgeRemarkDown: string; - layerEdgeRemarkLeft: string; - layerEdgeRemarkRight: string; - parseHinge: boolean; - sealColorUp: string; - sealColorDown: string; - sealColorLeft: string; - sealColorRight: string; - reservedEdgeUp: string; - reservedEdgeDown: string; - reservedEdgeLeft: string; - reservedEdgeRight: string; - layerSealColorUp: string; - layerSealColorDown: string; - layerSealColorLeft: string; - layerSealColorRight: string; - layerReservedEdgeUp: string; - layerReservedEdgeDown: string; - layerReservedEdgeLeft: string; - layerReservedEdgeRight: string; - verticalSealColorUp: string; - verticalSealColorDown: string; - verticalSealColorLeft: string; - verticalSealColorRight: string; - verticalReservedEdgeUp: string; - verticalReservedEdgeDown: string; - verticalReservedEdgeLeft: string; - verticalReservedEdgeRight: string; -} -/** - * 铰链数据接口 - */ -export interface IHingeConfigOption extends IBaseOption { - hingeCount: number; - hindeTopDist: number; - hindeBottomDist: number; - useRule: boolean; - deviation: number; - parseHinge: boolean; -} -/** - * 抽屉数据接口 - */ -export interface IDrawerConfigOption extends IDoorAndDrawerConfigOption { - drawerTotalDepth: number; - trackDepth: number; - isAutoSelectTrack: boolean; - isLockTopOffset: boolean; - isLockBottomOffset: boolean; - sealColorUp: string; - sealColorDown: string; - sealColorLeft: string; - sealColorRight: string; - reservedEdgeUp: string; - reservedEdgeDown: string; - reservedEdgeLeft: string; - reservedEdgeRight: string; -} -export declare enum DoorPosType { - Out = 0,//外盖 - In = 1 -} -export declare enum HandleHorPos { - Left = 0, - Right = 1, - Mid = 2 -} -export declare enum HandleVePos { - Top = 0, - Bottom = 1, - Mid = 2 -} -export declare enum DoorOpenDir { - Left = "lf", - Right = "rt", - Top = "tp", - Bottom = "bm", - None = "none" -} -export interface IDrawerInfo extends IBaseOption { - row: number; - col: number; - divWidth: number; - divHeight: number; - showWidth: string; - showHeight: string; - width: number; - height: number; - isLockWidth: boolean; - isLockHeight: boolean; - isSelect: boolean; - tempInfo: ISelectTempInfo; - marginRight?: number; -} -export interface IDoorInfo extends IDrawerInfo { - openDir: DoorOpenDir; - isDrawLayer: boolean; - isDrawVer: boolean; -} -export interface IDrawerDoorTempInfo { - name: string; - id: string; - logo?: string; - props?: ITemplateParam[]; - title?: string; - isHandle?: boolean; - isHinge?: boolean; - tagName?: string; - isKuGan?: boolean; - diy_logo?: string; -} -export interface IWindowTempInfo { - logo?: string; -} -/**选择的模板信息,temp-抽屉或门板,handletemp-拉手模板,windowTemp-窗户模板,其他是铰链模板 */ -export interface ISelectTempInfo { - temp: IDrawerDoorTempInfo; - handleTemp?: IDrawerDoorTempInfo; - hingeTemp?: IDrawerDoorTempInfo; - [key: string]: IDrawerDoorTempInfo; -} -/**抽屉一定要有的参数 */ -export declare const DrawerTempParName: string[]; -/**禁止改的属性 */ -export declare const DisableChangeParName: string[]; -/**门板需要的参数 */ -export declare const DoorNeedParamNames: string[]; -//# sourceMappingURL=DoorInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/DoorInterface.d.ts.map b/types/UI/Store/DoorInterface.d.ts.map deleted file mode 100644 index 5ef4826..0000000 --- a/types/UI/Store/DoorInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"DoorInterface.d.ts","sourceRoot":"","sources":["../../../../src/UI/Store/DoorInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,MAAM,WAAW,0BAA2B,SAAQ,WAAW;IAE3D,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB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AC9D,YAAY;AACZ,eAAO,MAAM,oBAAoB,UAAsE,CAAC;AAExG,aAAa;AACb,eAAO,MAAM,kBAAkB,UAA2F,CAAC"} \ No newline at end of file diff --git a/types/UI/Store/HSInterface.d.ts b/types/UI/Store/HSInterface.d.ts deleted file mode 100644 index cc9e376..0000000 --- a/types/UI/Store/HSInterface.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { ECompareType } from "./BoardFindInterface"; -import { IBaseOption } from "./OptionInterface/IOptionInterface"; -export interface IHSOption extends IBaseOption { - isAll: boolean; - isHide: boolean; - isDelete: boolean; - behind: boolean; - layer: boolean; - vertial: boolean; - footer: boolean; - tbBoard: boolean; - specialShape: boolean; - hole: boolean; - door: boolean; - drawer: boolean; - closingStrip: boolean; - winerack: boolean; - wood: boolean; - nails: boolean; - topline: boolean; - handle: boolean; - hinge: boolean; - hwComposity: boolean; - lattice: boolean; - dim: boolean; - curve: boolean; - line: boolean; - polyline: boolean; - circle: boolean; - arc: boolean; - custom: boolean; - noChaiDan: boolean; - matchType?: ECompareType; - customBoardName?: string; - visual?: boolean; - spotlight?: boolean; - pointLight?: boolean; - rectAreaLight?: boolean; - text: boolean; -} -//# sourceMappingURL=HSInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/HSInterface.d.ts.map b/types/UI/Store/HSInterface.d.ts.map deleted file mode 100644 index 599cbae..0000000 --- a/types/UI/Store/HSInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"HSInterface.d.ts","sourceRoot":"","sources":["../../../../src/UI/Store/HSInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEjE,MAAM,WAAW,SAAU,SAAQ,WAAW;IAE1C,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,OAAO,CAAC;CACjB"} \ No newline at end of file diff --git a/types/UI/Store/LatticeInterface.d.ts b/types/UI/Store/LatticeInterface.d.ts deleted file mode 100644 index 92110ad..0000000 --- a/types/UI/Store/LatticeInterface.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { IBaseOption } from "./OptionInterface/IOptionInterface"; -export declare enum ELatticeArrayType { - ByWidth = 0, - ByCount = 1 -} -export interface ILatticeOption extends IBaseOption { - arrayType: ELatticeArrayType; - gripWidth: number; - gripDepth: number; - widthCount: number; - depthCount: number; - knifeRad: number; - thickness: number; - arcLen: number; - downDist: number; - space: number; - grooveAddWidth: number; - upSealed: number; - downSealed: number; - leftSealed: number; - rightSealed: number; - isAuto: boolean; - isChange: boolean; - isOpenCut: boolean; - upCut: number; - downCut: number; - linesType: number; - useBoardProcessOption?: boolean; - boardMatName: string; - material: string; - color: string; - roomName: string; - cabinetName: string; -} -//# sourceMappingURL=LatticeInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/LatticeInterface.d.ts.map b/types/UI/Store/LatticeInterface.d.ts.map deleted file mode 100644 index 4a44c29..0000000 --- a/types/UI/Store/LatticeInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LatticeInterface.d.ts","sourceRoot":"","sources":["../../../../src/UI/Store/LatticeInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEjE,oBAAY,iBAAiB;IAEzB,OAAO,IAAI;IACX,OAAO,IAAI;CACd;AAED,MAAM,WAAW,cAAe,SAAQ,WAAW;IAE/C,SAAS,EAAE,iBAAiB,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACvB"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/AutoDimBrsOption.d.ts b/types/UI/Store/OptionInterface/AutoDimBrsOption.d.ts deleted file mode 100644 index b26a575..0000000 --- a/types/UI/Store/OptionInterface/AutoDimBrsOption.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IBaseOption } from "./IOptionInterface"; -export declare enum ForBoardNameType { - Same = "same", - NoSame = "nosame", - Include = "include", - NoInclude = "noinclude" -} -export interface IAutoDimBrsOption extends IBaseOption { - total: boolean; - out: boolean; - inW: boolean; - inH: boolean; - noRepeat: boolean; - noSmSize: boolean; - noAppointSize: boolean; - noInSize: boolean; - noShowMinSize: number; - noShowMinInSize: number; - noShowAppointSizes: string; - useParseGroups: string; - forBoardName: boolean; - forBoardNameStr: string; - forBoardNameType: ForBoardNameType; - insideOffset: boolean; - insideOffsetDist: number; -} -export interface IFastDimOption extends IBaseOption { - filterSmallSize: boolean; - filterSmallSizeValue: number; - filterAppointSize: boolean; - filterAppointSizeValues: string; - filterAppointForBoardName: boolean; - conditionType: ForBoardNameType; - filterAppointForBoardNameValues: string; -} -//# sourceMappingURL=AutoDimBrsOption.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/AutoDimBrsOption.d.ts.map b/types/UI/Store/OptionInterface/AutoDimBrsOption.d.ts.map deleted file mode 100644 index 00cc2ae..0000000 --- a/types/UI/Store/OptionInterface/AutoDimBrsOption.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"AutoDimBrsOption.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/OptionInterface/AutoDimBrsOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,gBAAgB;IAExB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;CAC1B;AAED,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IAElD,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,OAAO,CAAC;IACb,GAAG,EAAE,OAAO,CAAC;IACb,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,cAAe,SAAQ,WAAW;IAE/C,eAAe,EAAE,OAAO,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,yBAAyB,EAAE,OAAO,CAAC;IACnC,aAAa,EAAE,gBAAgB,CAAC;IAChC,+BAA+B,EAAE,MAAM,CAAC;CAC3C"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/BoardBatchCurtailOption .d.ts b/types/UI/Store/OptionInterface/BoardBatchCurtailOption .d.ts deleted file mode 100644 index 36e0253..0000000 --- a/types/UI/Store/OptionInterface/BoardBatchCurtailOption .d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { IBaseOption } from "./IOptionInterface"; -export declare enum CurtailType { - PerBr = "0", - Total = "1", - OCS = "2" -} -export interface IBoardBatchCurtailOption extends IBaseOption { - type: CurtailType; - front: number; - back: number; - left: number; - right: number; - moveBrs: boolean; -} -//# sourceMappingURL=BoardBatchCurtailOption%20.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/BoardBatchCurtailOption .d.ts.map b/types/UI/Store/OptionInterface/BoardBatchCurtailOption .d.ts.map deleted file mode 100644 index a234375..0000000 --- a/types/UI/Store/OptionInterface/BoardBatchCurtailOption .d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoardBatchCurtailOption .d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/OptionInterface/BoardBatchCurtailOption .ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,WAAW;IAEnB,KAAK,MAAM;IACX,KAAK,MAAM;IACX,GAAG,MAAM;CACZ;AAED,MAAM,WAAW,wBAAyB,SAAQ,WAAW;IAEzD,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CACpB"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/BoardProcessOption.d.ts b/types/UI/Store/OptionInterface/BoardProcessOption.d.ts deleted file mode 100644 index e82973e..0000000 --- a/types/UI/Store/OptionInterface/BoardProcessOption.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { FaceDirection } from "../../../Add-on/DrawDrilling/DrillType"; -import { EBoardKeyList } from "../../../Common/BoardKeyList"; -import { ComposingType, LinesType } from "../../../DatabaseServices/Entity/BoardInterface"; -import { ObjectId } from "../../../DatabaseServices/ObjectId"; -import { IHighEdgeRemarkItem, IHighReservedEdgeItem, IHighSealedItem } from "./IHighSealedItem"; -import { IBaseOption } from "./IOptionInterface"; -export interface BoardProcessOption extends IBaseOption { - [EBoardKeyList.RoomName]?: string; - [EBoardKeyList.CabinetName]?: string; - [EBoardKeyList.BrMat]?: string; - [EBoardKeyList.Mat]?: string; - [EBoardKeyList.Color]?: string; - [EBoardKeyList.Lines]?: LinesType; - [EBoardKeyList.ProcessGroup]?: ObjectId[]; - [EBoardKeyList.BigHole]?: FaceDirection; - [EBoardKeyList.DrillType]?: string; - [EBoardKeyList.ComposingFace]?: ComposingType; - [EBoardKeyList.HighSealed]?: IHighSealedItem[]; - [EBoardKeyList.UpSealed]?: string; - [EBoardKeyList.DownSealed]?: string; - [EBoardKeyList.LeftSealed]?: string; - [EBoardKeyList.RightSealed]?: string; - [EBoardKeyList.SpliteHeight]?: string; - [EBoardKeyList.SpliteWidth]?: string; - [EBoardKeyList.SpliteThickness]?: string; - highDrill?: string[]; - frontDrill: boolean; - backDrill: boolean; - remarks: [string, string][]; - useBoardProcessOption?: boolean; - edgeRemarkUp?: string; - edgeRemarkDown?: string; - edgeRemarkLeft?: string; - edgeRemarkRight?: string; - highBoardEdgeRemark?: IHighEdgeRemarkItem[]; - reservedEdgeUp?: string; - reservedEdgeDown?: string; - reservedEdgeLeft?: string; - reservedEdgeRight?: string; - highReservedEdge?: IHighReservedEdgeItem[]; - sealColorUp?: string; - sealColorDown?: string; - sealColorLeft?: string; - sealColorRight?: string; - sealColorType?: string; -} -//# sourceMappingURL=BoardProcessOption.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/BoardProcessOption.d.ts.map b/types/UI/Store/OptionInterface/BoardProcessOption.d.ts.map deleted file mode 100644 index 821bfbd..0000000 --- a/types/UI/Store/OptionInterface/BoardProcessOption.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BoardProcessOption.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C,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;IACpC,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;IACpC,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAC;IACrC,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;IACtC,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAC;IACrC,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,EAAE,MAAM,CAAC;IAEzC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IAGnB,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAE5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAE3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/BulkheadCeilingOption.d.ts b/types/UI/Store/OptionInterface/BulkheadCeilingOption.d.ts deleted file mode 100644 index 766f323..0000000 --- a/types/UI/Store/OptionInterface/BulkheadCeilingOption.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { BulkheadCeiling_ContourType } from "../../../DatabaseServices/Room/Entity/Ceiling/BulkheadCeiling"; -import { IBaseOption } from "./IOptionInterface"; -export interface ICeilingProfileMaterialItem { - readonly color: number; - example: { - id: number; - name: string; - type: string; - }; -} -export interface ICeilingItem { - readonly color: number; - example: { - contourType: BulkheadCeiling_ContourType; - id: number; - name: string; - logo: string; - deviation: number; - }; -} -export interface BulkheadCeilingOption extends IBaseOption { - Item: ICeilingItem[]; - Height: number; -} -export interface BulkheadCeilingProfileMaterialOption extends IBaseOption { - Item: ICeilingProfileMaterialItem[]; -} -export declare enum Display { - Block = "block", - None = "none" -} -//# sourceMappingURL=BulkheadCeilingOption.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/BulkheadCeilingOption.d.ts.map b/types/UI/Store/OptionInterface/BulkheadCeilingOption.d.ts.map deleted file mode 100644 index fb90276..0000000 --- a/types/UI/Store/OptionInterface/BulkheadCeilingOption.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"BulkheadCeilingOption.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/OptionInterface/BulkheadCeilingOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,WAAW,2BAA2B;IAExC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;CACL;AAED,MAAM,WAAW,YAAY;IAEzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE;QACL,WAAW,EAAE,2BAA2B,CAAC;QACzC,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;KACrB,CAAC;CACL;AAED,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IAEtD,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oCAAqC,SAAQ,WAAW;IAErE,IAAI,EAAE,2BAA2B,EAAE,CAAC;CACvC;AAED,oBAAY,OAAO;IAEf,KAAK,UAAU;IACf,IAAI,SAAS;CAChB"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/ClosingStripOption.d.ts b/types/UI/Store/OptionInterface/ClosingStripOption.d.ts deleted file mode 100644 index 13c6e49..0000000 --- a/types/UI/Store/OptionInterface/ClosingStripOption.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { BrRelativePos } from "../../../DatabaseServices/Entity/BoardInterface"; -import { BoardConfigOption } from "./IOptionInterface"; -export declare enum StripType { - H = "h", - V = "v" -} -export interface ClosingStripOption extends BoardConfigOption { - boardRelative: BrRelativePos; - striptype: StripType; - frontShrink: number; - isDrawFuZhu: boolean; - fzWidth: number; - fzThickness: number; - addSKTCabinetName: boolean; - brName: string; - FuZhuType: StripType; - fuZhuBrName: string; - fuZhuMaterial: string; - fuZhuColor: string; -} -//# sourceMappingURL=ClosingStripOption.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/ClosingStripOption.d.ts.map b/types/UI/Store/OptionInterface/ClosingStripOption.d.ts.map deleted file mode 100644 index de4ad60..0000000 --- a/types/UI/Store/OptionInterface/ClosingStripOption.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ClosingStripOption.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/OptionInterface/ClosingStripOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,oBAAY,SAAS;IAEjB,CAAC,MAAM;IACP,CAAC,MAAM;CACV;AAED,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAEzD,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACtB"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/IHighSealedItem.d.ts b/types/UI/Store/OptionInterface/IHighSealedItem.d.ts deleted file mode 100644 index db88408..0000000 --- a/types/UI/Store/OptionInterface/IHighSealedItem.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export interface IHighSealedItem { - size: number; - sealColor: string; -} -export interface ISealingData extends IHighSealedItem { - length: number; - type?: string; - shop?: string; -} -export interface IHighEdgeRemarkItem { - description: string; -} -export interface IHighReservedEdgeItem { - size: number; -} -//# sourceMappingURL=IHighSealedItem.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/IHighSealedItem.d.ts.map b/types/UI/Store/OptionInterface/IHighSealedItem.d.ts.map deleted file mode 100644 index e07dfc8..0000000 --- a/types/UI/Store/OptionInterface/IHighSealedItem.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IHighSealedItem.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/OptionInterface/IHighSealedItem.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAE5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAa,SAAQ,eAAe;IAEjD,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAEhC,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,qBAAqB;IAElC,IAAI,EAAE,MAAM,CAAC;CAChB"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/IOptionInterface.d.ts b/types/UI/Store/OptionInterface/IOptionInterface.d.ts deleted file mode 100644 index cdb51e6..0000000 --- a/types/UI/Store/OptionInterface/IOptionInterface.d.ts +++ /dev/null @@ -1,376 +0,0 @@ -import { FaceDirection } from "../../../Add-on/DrawDrilling/DrillType"; -import { BoardOpenDir, BoardType, BrRelativePos } from "../../../DatabaseServices/Entity/BoardInterface"; -import { EOrderType } from "../../../Editor/OrderType"; -import { RenderType } from "../../../GraphicsSystem/RenderType"; -import { ECompareType } from "../BoardFindInterface"; -import { BehindHeightPositon, RadioType, ViewDirection } from "./OptionEnum"; -export interface IBaseOption { - version?: number; -} -/** - *板件参数 - */ -export interface BoardConfigOption extends IBaseOption { - type: BoardType; - name: string; - thickness?: number; - height?: number; - width?: number; - openDir?: BoardOpenDir; - cuttingProtrudingPart?: boolean; - sweepAngle?: number; - exprThickness?: string; - exprCount?: string; -} -export interface RightPlaneLightOption { - version: number; - ShowHemiLight: boolean; - SkyLightColor: string; - SkyLightIntensity: number; - SkyLightIndirectLightingIntensity: number; - ShowSunLight: boolean; - SunLightIntensity: number; - SunLightIndirectLightingIntensity: number; - SunLightColor: string; - SunLightTemperature: number; - SunLightElevationDeg: number; - SunLightRotateDeg: number; - SunLightSourceAngle: number; - ShowExposure: boolean; - AutoExposure: boolean; - ExposureCompensation: number; - SunTime: string; -} -export interface ModifyTextsConfigOption { - changeTexts: [string, string][]; -} -export interface MaterialMapOption { - id: string; - kjlName: string; -} -export interface SideBoardOption extends BoardConfigOption { - spaceSize?: number; - leftShrink: number; - rightShrink: number; -} -/** - *背板参数 - * - * @export - * @interface BehindBoardOption - * @extends {BoardConfigOption} - */ -export interface BehindBoardOption extends BoardConfigOption { - leftExt: number; - rightExt: number; - topExt: number; - bottomExt: number; - boardPosition: BehindHeightPositon; - moveDist: number; - spaceSize?: number; - count?: number; - boardRelative?: BrRelativePos; - calcHeight: string; - calcSpaceSize: string; - calcMoveDist: string; - exprCount: string; - exprThickness: string; -} -/** - *层板参数 - * - * @export - * @interface LayerBoardOption - * @extends {BoardConfigOption} - */ -export interface LayerBoardOption extends BoardConfigOption { - calcHeight: string; - frontShrink: number; - leftShrink: number; - rightShrink: number; - isTotalLength: boolean; - isActive: boolean; - spaceSize?: number; - count?: number; - boardRelative?: BrRelativePos; - calcSpaceSize: string; - calcFrontShrink: string; - calcLeftShrink: string; - calcRightShrink: string; - exprCount: string; - exprThickness: string; -} -/** - *层板钉参数 - * - * @export - * @interface LayerNailOption - */ -export interface LayerNailOption extends IBaseOption { - isDraw: boolean; - addCount: number; - dist: number; - isGroup: boolean; - isInBack: boolean; - front: number; - behind: number; - count: number; - rad: number; - length: number; - depth: number; -} -/** - *立板参数 - */ -export interface VerticalBoardOption extends BoardConfigOption { - frontShrink: number; - bottomShrink: number; - isTotalLength: boolean; - isTotalWidth: boolean; - count?: number; - spaceSize?: number; - boardRelative?: BrRelativePos; - calcWidth: string; - calcHeight: string; - calcSpaceSize: string; - calcFrontShrink: string; - calcBottomShrink: string; - exprCount: string; - exprThickness: string; -} -export interface TBBoardOption extends BoardConfigOption { - isDraw: boolean; - frontDist: number; - behindDistance: number; - isWrapSide: boolean; - useLFData: boolean; - leftExt: number; - rightExt: number; - offset: number; - isDrawFooter?: boolean; - footThickness?: number; - footBehindShrink?: number; - isDrawBackFooter?: boolean; - footerOffset?: number; - isDrawStrengthenStrip?: boolean; - divCount?: number; - bigHoleDir?: FaceDirection; -} -export interface SingleBoardOption extends BoardConfigOption { - rotateX: number; - rotateY: number; - rotateZ: number; - drawNumber?: number; -} -export interface IGrooveOption extends IBaseOption { - grooveAddLength?: string; - grooveAddWidth?: string; - grooveAddDepth?: string; - knifeRadius?: string; - exprGrooveAddLength?: string; - exprGrooveAddWidth?: string; - exprGrooveAddDepth?: string; - exprKnifeRadius?: string; -} -export interface IShinkOption extends IBaseOption { - name: string; - left: number; - right: number; - front: number; - back: number; - isLREqual: boolean; - isFBEqual: boolean; - isDrill: boolean; -} -export type IUiOption = { - [P in (keyof T)]: T[P] extends number ? string : T[P]; -}; -export interface INailRule extends IBaseOption { - startDist: number; - endDist: number; - count: number; -} -export declare enum HightDrillOption { - up = "up", - down = "down", - left = "left", - right = "right" -} -export interface IHightDrillOption { - [HightDrillOption.up]: string; - [HightDrillOption.down]: string; - [HightDrillOption.left]: string; - [HightDrillOption.right]: string; -} -export interface IBatchModifyPanelOption extends IBaseOption { - length: string; - width: string; - thick: string; - position: RadioType; -} -export type AnyObject = { - [key: string]: any; -}; -export interface ISmoothEdgeOption extends IBaseOption { - smoothEdge: number; - edge: number; - scale: number; - filterArrs: string[][]; - filterArr?: string[]; -} -export interface IDrawBoardAutoCutOption { - isAutoCut: boolean; - isRelevance: boolean; -} -export interface IKnifeProps { - radius: number; - angle: number; -} -export interface CommonPanelConfigOption extends IBaseOption { - orderMap: { - [key: string]: string; - }; - orderType: EOrderType; -} -export interface DatalistColumnWidthOption { - name: number; - date: number; - size: number; - operate: number; -} -export interface DatalistConfigOption extends IBaseOption { - resizeUI: { - [key: string]: DatalistColumnWidthOption; - }; -} -export interface WindowPanelConfigOption { - Length: number; - Height: number; - Thick: number; - WindowOffGround: number; - IsBayWindow: boolean; - BayLeftIsWall?: boolean; - BayRightIsWall?: boolean; - BayDist?: number; - BayLeftDist?: number; - BayMiddleDist?: number; - BayRightDist?: number; - HasWindowStone: boolean; - StoneThick?: number; - StoneBulge?: number; - StoneLeftRightBulge?: number; -} -export interface IDimStyleOption extends IBaseOption { - dimFXLON: boolean; - dimFXL: number; - dimASZ: number; - dimGAP: number; - dimEXE: number; - dimTXT: number; - dimTAD: number; - dimALTD: number; - dimADEC: number; -} -export interface ChangeColorByBoardMaterialOption { - accordThickness: boolean; - accordMaterial: boolean; - accordMaterialName: boolean; - accordMaterialColor: boolean; -} -export interface ShareBoardInfConfigurationOption extends IBaseOption { - Physical2EdgeColor: number; - VisualStyle: RenderType; - Viewport: ViewDirection; - IsExportBoard: boolean; - IsExportHardware: boolean; - showBom: boolean; - expireDays: string; -} -export interface ProcessingGroupOption { - processGroupCategory: string[]; - addAlone: boolean; -} -export interface ConfigListMapOption extends IBaseOption { - configList: { - [k: string]: string[]; - }; -} -export interface ChangeColorByRoomOrCabinetOption { - accordRoomName: boolean; - accordCabinetName: boolean; -} -export interface DoorRelatesInfoOption extends IBaseOption { - hingeOption: [string, boolean][]; - hingeDecimal: number; -} -export interface IAutoHoleFaceOption extends IBaseOption { - hight: number; - filterDrill: string; - filterBoards: string; -} -export interface OneClickInspectionOption extends IBaseOption { - InspectionOption: { - isInterfere: boolean; - isMaxSizeBoard: boolean; - isMinSizeBoard: boolean; - isModel: boolean; - isDrill: boolean; - isSpecialBoardContour: boolean; - isSplitBoard: boolean; - isDrawHole: boolean; - }; - excludeDrawHoleOption: { - boardName: boolean; - boardNameValue: string; - processingGroupName: boolean; - processingGroupNameValue: string; - boardThickness: boolean; - boardThicknessValue: number; - IsSplitBoard: boolean; - boardNameCompareType: ECompareType; - processingGroupNameCompareType: ECompareType; - boardThicknessCompareType: ECompareType; - }; - excludeInterfereOption: { - boardName: boolean; - boardNameValue: string; - processingGroupName: boolean; - processingGroupNameValue: string; - hwComposityName: boolean; - hwComposityNameValue: string; - noChaiDanBoard: boolean; - boardNameCompareType: ECompareType; - processingGroupNameCompareType: ECompareType; - hwComposityNameCompareType: ECompareType; - }; -} -export interface IArcBoardGrooveOption extends IBaseOption { - isDrawArcGroove: boolean; - retainedThickness: string; - grooveAddLength: string; - grooveAddWidth: string; - grooveAddDepth: string; - knifeRadius: string; - grooveSpacing2: string; - grooveWidth2: string; - arcExtension2: string; - retainedThickness2: string; - knifeRadius2: string; - grooveAddLength2: string; - grooveAddWidth2: string; - grooveAddDepth2: string; -} -export interface IResourceStoreIcon extends IBaseOption { - iconType: string; -} -export interface IBBSModelOption extends IBaseOption { - height: number; - width: number; - top: number; - left: number; - isMax: boolean; -} -export interface PartsAnalysisOption extends IBaseOption { - PartsOption: [string, boolean][]; -} -//# sourceMappingURL=IOptionInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/IOptionInterface.d.ts.map b/types/UI/Store/OptionInterface/IOptionInterface.d.ts.map deleted file mode 100644 index addaf27..0000000 --- a/types/UI/Store/OptionInterface/IOptionInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IOptionInterface.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/OptionInterface/IOptionInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AACzG,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7E,MAAM,WAAW,WAAW;IAExB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IAElD,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;I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CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;CACpC"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/LightConfigOption.d.ts b/types/UI/Store/OptionInterface/LightConfigOption.d.ts deleted file mode 100644 index f9c7dcd..0000000 --- a/types/UI/Store/OptionInterface/LightConfigOption.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { IBaseOption } from "./IOptionInterface"; -export interface LightConfigOption extends IBaseOption { - Intensity: number; - lightColor: string; - temperature: number; - IndirectLightingIntensity: number; - SpecularScale: number; - CaseShadow: boolean; -} -export interface PointLightOption extends LightConfigOption { - SourceRadius: number; - SoftSourceRadius: number; - SourceLength: number; -} -export interface SpotLightOption extends LightConfigOption { - Angle: number; - InnerConeAngle: number; - SourceRadius: number; - SoftSourceRadius: number; - SourceLength: number; - AttenuationRadius: number; - ShowHelper: boolean; -} -export interface RectAreaLightOption extends LightConfigOption { - Width: number; - Height: number; - BarnDoorAngle: number; - BarnDoorLength: number; - AttenuationRadius: number; - ShowHelper: boolean; -} -//# sourceMappingURL=LightConfigOption.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/LightConfigOption.d.ts.map b/types/UI/Store/OptionInterface/LightConfigOption.d.ts.map deleted file mode 100644 index 32fa679..0000000 --- a/types/UI/Store/OptionInterface/LightConfigOption.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"LightConfigOption.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/OptionInterface/LightConfigOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IAElD,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,yBAAyB,EAAE,MAAM,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IAEvD,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IAEtD,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAE1D,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;CACvB"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/OptionEnum.d.ts b/types/UI/Store/OptionInterface/OptionEnum.d.ts deleted file mode 100644 index 52b575c..0000000 --- a/types/UI/Store/OptionInterface/OptionEnum.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - *背板靠上还是靠下 - * - * @export - * @enum {number} - */ -export declare enum BehindHeightPositon { - ForTop = "top", - ForBottom = "bottom", - AllHeight = "all" -} -/** - *板件相对位置 - * - * @export - * @enum {number} - */ -export declare enum ViewDirection { - Left = 1, - Right = 2, - Up = 3, - Front = 4, - Bottom = 5, - Back = 6, - Southwest = 7 -} -export declare enum ViewportPosition { - Vertical = "vertical", - Horizontal = "horizontal", - Left = "left", - Right = "right", - Bottom = "bottom", - Top = "top" -} -export declare enum RadioType { - lefttop = "1", - leftbottom = "2", - righttop = "3", - rightbottom = "4" -} -//# sourceMappingURL=OptionEnum.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/OptionEnum.d.ts.map b/types/UI/Store/OptionInterface/OptionEnum.d.ts.map deleted file mode 100644 index b0aed83..0000000 --- a/types/UI/Store/OptionInterface/OptionEnum.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OptionEnum.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/OptionInterface/OptionEnum.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oBAAY,mBAAmB;IAE3B,MAAM,QAAQ;IACd,SAAS,WAAW;IACpB,SAAS,QAAQ;CACpB;AACD;;;;;GAKG;AAEH,oBAAY,aAAa;IAErB,IAAI,IAAI;IACR,KAAK,IAAI;IACT,EAAE,IAAI;IACN,KAAK,IAAI;IACT,MAAM,IAAI;IACV,IAAI,IAAI;IACR,SAAS,IAAI;CAChB;AAED,oBAAY,gBAAgB;IAExB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,GAAG,QAAQ;CACd;AAED,oBAAY,SAAS;IAEjB,OAAO,MAAM;IACb,UAAU,MAAM;IAChB,QAAQ,MAAM;IACd,WAAW,MAAM;CACpB"} \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/ViewportConfigOption.d.ts b/types/UI/Store/OptionInterface/ViewportConfigOption.d.ts deleted file mode 100644 index db966d6..0000000 --- a/types/UI/Store/OptionInterface/ViewportConfigOption.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { RenderType } from "../../../GraphicsSystem/RenderType"; -import { ViewDirection, ViewportPosition } from "./OptionEnum"; -export interface ViewportConfigOption { - view: ViewDirection; - renderType: RenderType; - revertRotation: boolean; -} -export interface Viewport2ConfigOption { - viewportPosition: ViewportPosition; - view1: ViewDirection; - view2: ViewDirection; - renderType: RenderType[]; - revertRotation: boolean; -} -export interface Viewport3ConfigOption { - viewportPosition: ViewportPosition; - view: ViewDirection[]; - renderType: RenderType[]; - revertRotation: boolean; -} -export interface Viewport4ConfigOption { - view: ViewDirection[]; - renderType: RenderType[]; - revertRotation: boolean; -} -//# sourceMappingURL=ViewportConfigOption.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/OptionInterface/ViewportConfigOption.d.ts.map b/types/UI/Store/OptionInterface/ViewportConfigOption.d.ts.map deleted file mode 100644 index f6b08ad..0000000 --- a/types/UI/Store/OptionInterface/ViewportConfigOption.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ViewportConfigOption.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/OptionInterface/ViewportConfigOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAE/D,MAAM,WAAW,oBAAoB;IAEjC,IAAI,EAAE,aAAa,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAqB;IAElC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,aAAa,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC;IACrB,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;CAC3B;AACD,MAAM,WAAW,qBAAqB;IAElC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAqB;IAElC,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;CAC3B"} \ No newline at end of file diff --git a/types/UI/Store/RightPanelStore/ITemplateParam.d.ts b/types/UI/Store/RightPanelStore/ITemplateParam.d.ts deleted file mode 100644 index 4c26903..0000000 --- a/types/UI/Store/RightPanelStore/ITemplateParam.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { TemplateParamType } from "../../../DatabaseServices/Template/Param/TemplateParamType"; -export interface ITemplateParam { - name: string; - value: string | number; - description: string; - expr?: string | number; - isValidExpr?: boolean; - isLock?: boolean; - type?: TemplateParamType; -} -//# sourceMappingURL=ITemplateParam.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/RightPanelStore/ITemplateParam.d.ts.map b/types/UI/Store/RightPanelStore/ITemplateParam.d.ts.map deleted file mode 100644 index 6002413..0000000 --- a/types/UI/Store/RightPanelStore/ITemplateParam.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ITemplateParam.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Store/RightPanelStore/ITemplateParam.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAE/F,MAAM,WAAW,cAAc;IAE3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC5B"} \ No newline at end of file diff --git a/types/UI/Store/WineRackInterface.d.ts b/types/UI/Store/WineRackInterface.d.ts deleted file mode 100644 index a225b7d..0000000 --- a/types/UI/Store/WineRackInterface.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { EBoardKeyList } from "../../Common/BoardKeyList"; -import { IBaseOption } from "./OptionInterface/IOptionInterface"; -export declare enum EWineRackType { - Oblique = 0, - Upright = 1 -} -/**酒格样式 */ -export declare enum EWineRackStyle { - WholeLattice = 0,//全格优先 - Semilattice = 1 -} -export declare enum EWRackArrayType { - ByWidth = 0, - ByCount = 1, - Fixed = 2 -} -/**铺满方式 */ -export declare enum EFullType { - ByHeight = 0, - ByWidth = 1, - Symmetry = 2 -} -/**高度优先时靠左还是靠右 */ -export declare enum EFullDir { - Left = 0, - Right = 1 -} -export interface IWineRackOption extends IBaseOption { - type: EWineRackType; - wineRackStyle: EWineRackStyle; - arrayType: EWRackArrayType; - fullType: EFullType; - isFull: boolean; - fullDir: EFullDir; - isLock: boolean; - heightCount: number; - widthCount: number; - isTotalDepth: boolean; - depth: number; - calcDepth: string; - gripWidth: number; - boardThick: number; - grooveWidthAdd: number; - leftEdge: number; - rightEdge: number; - topEdge: number; - bottomEdge: number; - frontCut: number; - leftCut: number; - rightCut: number; - topCut: number; - grooveLengthAdd: number; - isDrawLy: boolean; - isDrawVer: boolean; - brThick2: number; - isExtendsBH2: boolean; - followNarrow: boolean; - useBoardProcessOption?: boolean; - boardMatName: string; - material: string; - color: string; - roomName: string; - cabinetName: string; -} -export interface IR2WROption { - depth: number; - addLen: number; - knifeRadius: number; - [EBoardKeyList.UpSealed]: number; - [EBoardKeyList.DownSealed]: number; - [EBoardKeyList.LeftSealed]: number; - [EBoardKeyList.RightSealed]: number; -} -//# sourceMappingURL=WineRackInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/WineRackInterface.d.ts.map b/types/UI/Store/WineRackInterface.d.ts.map deleted file mode 100644 index ba2e378..0000000 --- a/types/UI/Store/WineRackInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"WineRackInterface.d.ts","sourceRoot":"","sources":["../../../../src/UI/Store/WineRackInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEjE,oBAAY,aAAa;IAErB,OAAO,IAAI;IACX,OAAO,IAAI;CACd;AAED,UAAU;AACV,oBAAY,cAAc;IAEtB,YAAY,IAAI,CAAC,MAAM;IACvB,WAAW,IAAI;CAClB;AAED,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QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAExB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IACjC,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IACnC,CAAC,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IACnC,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CACvC"} \ No newline at end of file diff --git a/types/UI/Store/drillInterface.d.ts b/types/UI/Store/drillInterface.d.ts deleted file mode 100644 index fb945bc..0000000 --- a/types/UI/Store/drillInterface.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { IBaseOption } from "./OptionInterface/IOptionInterface"; -export declare enum SpacingType { - Multiple32 = "32", - EqualDist = "equal" -} -/** - *勿随意更改属性名,若更改,需更改对应UI模态框的属性和检验方法的key - * - */ -export interface DrillingOption extends IBaseOption { - startDist: number; - endDist: number; - name: string; - originDist: number; - retDist: number; - isEqualProportion: boolean; - spacing: SpacingType; - count: number; - isFromBack: boolean; - isForceDiv: boolean; - notGangDist: number; - pxlOffset: number; - collsionDist: number; - haveDist: boolean; - dist2To1Dist: number; - tIsOffset: boolean; - tIsChange: boolean; - tHoleOffset: number; - tYmjRad: number; - isDrawWood: boolean; - wbHoleRad: number; - wbHoleDepth: number; - wsHoleRad: number; - wsHoleLength: number; - wdepth: number; - pxlRad: number; - pxlDepth: number; - pxlDepthExpr: string; - ljgRad: number; - ljgLength: number; - ljgLengthExpr: string; - ymjRad: number; - ymjDepth: number; - ymjDepthExpr: string; - ljgPos: string; - woodPinPos: string; - ymjPos: string; - canSameType: boolean; - useNormalGroup: boolean; - useTemp: boolean; - tempId: string; - tempName: string; - allowPxl: boolean; - goodsId: string; - goodsSn: string; - woodGoodsId: string; - woodGoodsSn: string; -} -//# sourceMappingURL=drillInterface.d.ts.map \ No newline at end of file diff --git a/types/UI/Store/drillInterface.d.ts.map b/types/UI/Store/drillInterface.d.ts.map deleted file mode 100644 index 38f0933..0000000 --- a/types/UI/Store/drillInterface.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"drillInterface.d.ts","sourceRoot":"","sources":["../../../../src/UI/Store/drillInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEjE,oBAAY,WAAW;IAEnB,UAAU,OAAO;IACjB,SAAS,UAAU;CACtB;AACD;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,WAAW;IAE/C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,WAAW,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACvB"} \ No newline at end of file diff --git a/types/csg/core/CAG.d.ts b/types/csg/core/CAG.d.ts deleted file mode 100644 index 58bb60d..0000000 --- a/types/csg/core/CAG.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Vector3 } from "three"; -import { CSG } from "./CSG"; -import { Polygon } from "./math/Polygon3"; -import { Side } from "./math/Side"; -import { Vector2D } from "./math/Vector2"; -import { Vector3D } from "./math/Vector3"; -/** - * Class CAG - * Holds a solid area geometry like CSG but 2D. - * Each area consists of a number of sides. - * Each side is a line between 2 points. - */ -export declare class CAG { - sides: Side[]; - isCanonicalized: boolean; - constructor(sides?: Side[]); - fromPoints(pts: Vector3[]): this; - flipped(): CAG; - getBounds(): Vector2D[]; - canonicalized(): CAG; - extrude(offsetVector: Vector3D): CSG; - private toCSGWall; - toPolygons(bottom?: boolean): Polygon[]; -} -//# sourceMappingURL=CAG.d.ts.map \ No newline at end of file diff --git a/types/csg/core/CAG.d.ts.map b/types/csg/core/CAG.d.ts.map deleted file mode 100644 index 56c292e..0000000 --- a/types/csg/core/CAG.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CAG.d.ts","sourceRoot":"","sources":["../../../../src/csg/core/CAG.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,OAAO,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAM1C;;;;;GAKG;AACH,qBAAa,GAAG;IAGO,KAAK,EAAE,IAAI,EAAE;IADhC,eAAe,EAAE,OAAO,CAAS;gBACd,KAAK,GAAE,IAAI,EAAO;IAIrC,UAAU,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,IAAI;IAkBhC,OAAO;IAOP,SAAS;IAkBT,aAAa,IAAI,GAAG;IAOpB,OAAO,CAAC,YAAY,EAAE,QAAQ,GAAG,GAAG;IAcpC,OAAO,CAAC,SAAS;IAMjB,UAAU,CAAC,MAAM,UAAQ,GAAG,OAAO,EAAE;CA+BxC"} \ No newline at end of file diff --git a/types/csg/core/CSG.d.ts b/types/csg/core/CSG.d.ts deleted file mode 100644 index d1bd1e1..0000000 --- a/types/csg/core/CSG.d.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { Matrix4 } from "three"; -import { Polygon } from "./math/Polygon3"; -import { Vector3D } from "./math/Vector3"; -/** Class CSG - * Holds a binary space partition tree representing a 3D solid. Two solids can - * be combined using the `union()`, `subtract()`, and `intersect()` methods. - * @constructor - */ -export declare class CSG { - polygons: Polygon[]; - /** # 是否已精简重复点 */ - isCanonicalized: boolean; - /** # 是否已合并轮廓 */ - isRetesselated: boolean; - cachedBoundingBox: Vector3D[]; - constructor(polygons?: Polygon[]); - /** - * Return a new CSG solid representing the space in either this solid or - * in the given solids. Neither this solid nor the given solids are modified. - * @param {CSG[]} csg - list of CSG objects - * @returns {CSG} new CSG object - * @example - * let C = A.union(B) - * @example - * +-------+ +-------+ - * | | | | - * | A | | | - * | +--+----+ = | +----+ - * +----+--+ | +----+ | - * | B | | | - * | | | | - * +-------+ +-------+ - */ - union(csg: CSG | CSG[]): CSG; - unionSub(csg: CSG, retesselate?: boolean, canonicalize?: boolean): CSG; - unionForNonIntersecting(csg: CSG): CSG; - /** - * Return a new CSG solid representing space in this solid but - * not in the given solids. Neither this solid nor the given solids are modified. - * @returns new CSG object - * @example - * let C = A.subtract(B) - * @example - * +-------+ +-------+ - * | | | | - * | A | | | - * | +--+----+ = | +--+ - * +----+--+ | +----+ - * | B | - * | | - * +-------+ - */ - subtract(csg: CSG | CSG[]): CSG; - subtractSub(csg: CSG, retesselate?: boolean, canonicalize?: boolean): CSG; - /** - * Return a new CSG solid representing space in both this solid and - * in the given solids. Neither this solid nor the given solids are modified. - * let C = A.intersect(B) - * @returns new CSG object - * @example - * +-------+ - * | | - * | A | - * | +--+----+ = +--+ - * +----+--+ | +--+ - * | B | - * | | - * +-------+ - */ - intersect(csg: CSG | CSG[]): CSG; - intersectSub(csg: CSG, retesselate?: boolean, canonicalize?: boolean): CSG; - /** - * Return a new CSG solid with solid and empty space switched. - * This solid is not modified. - */ - invert(): CSG; - transform1(matrix4x4: Matrix4): CSG; - /** - * Return a new CSG solid that is transformed using the given Matrix. - * Several matrix transformations can be combined before transforming this solid. - * @param {CSG.Matrix4x4} matrix4x4 - matrix to be applied - * @returns {CSG} new CSG object - * @example - * var m = new CSG.Matrix4x4() - * m = m.multiply(CSG.Matrix4x4.rotationX(40)) - * m = m.multiply(CSG.Matrix4x4.translation([-.5, 0, 0])) - * let B = A.transform(m) - */ - transform(matrix4x4: Matrix4): this; - canonicalized(): CSG; - reTesselated(): CSG; - mayOverlap(csg: CSG): boolean; - toTriangles(): Polygon[]; -} -//# sourceMappingURL=CSG.d.ts.map \ No newline at end of file diff --git a/types/csg/core/CSG.d.ts.map b/types/csg/core/CSG.d.ts.map deleted file mode 100644 index 084afb8..0000000 --- a/types/csg/core/CSG.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"CSG.d.ts","sourceRoot":"","sources":["../../../../src/csg/core/CSG.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1C;;;;GAIG;AACH,qBAAa,GAAG;IAOO,QAAQ,EAAE,OAAO,EAAE;IALtC,iBAAiB;IACjB,eAAe,EAAE,OAAO,CAAS;IACjC,gBAAgB;IAChB,cAAc,EAAE,OAAO,CAAS;IAChC,iBAAiB,EAAE,QAAQ,EAAE,CAAC;gBACX,QAAQ,GAAE,OAAO,EAAO;IAG3C;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,GAAG;IAmB5B,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,WAAW,UAAQ,EAAE,YAAY,UAAQ,GAAG,GAAG;IAwBlE,uBAAuB,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG;IAStC;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,GAAG;IAgB/B,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,WAAW,UAAQ,EAAE,YAAY,UAAQ,GAAG,GAAG;IAerE;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,GAAG;IAgBhC,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,WAAW,UAAQ,EAAE,YAAY,UAAQ,GAAG,GAAG;IAiBtE;;;OAGG;IACH,MAAM,IAAI,GAAG;IAOb,UAAU,CAAC,SAAS,EAAE,OAAO;IAY7B;;;;;;;;;;OAUG;IACH,SAAS,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI;IAyCnC,aAAa;IAKb,YAAY;IAOZ,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO;IAgB7B,WAAW,IAAI,OAAO,EAAE;CAsB3B"} \ No newline at end of file diff --git a/types/csg/core/FuzzyFactory.d.ts b/types/csg/core/FuzzyFactory.d.ts deleted file mode 100644 index 115d6cb..0000000 --- a/types/csg/core/FuzzyFactory.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare class FuzzyFactory { - lookuptable: {}; - multiplier: number; - constructor(numdimensions?: number, tolerance?: number); - lookupOrCreate(els: number[], object: T): T; -} -//# sourceMappingURL=FuzzyFactory.d.ts.map \ No newline at end of file diff --git a/types/csg/core/FuzzyFactory.d.ts.map b/types/csg/core/FuzzyFactory.d.ts.map deleted file mode 100644 index c95f805..0000000 --- a/types/csg/core/FuzzyFactory.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FuzzyFactory.d.ts","sourceRoot":"","sources":["../../../../src/csg/core/FuzzyFactory.ts"],"names":[],"mappings":"AAgBA,qBAAa,YAAY;IAErB,WAAW,EAAE,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;gBACP,aAAa,GAAE,MAAU,EAAE,SAAS,GAAE,MAAY;IAW9D,cAAc,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC;CAkCjD"} \ No newline at end of file diff --git a/types/csg/core/FuzzyFactory2d.d.ts b/types/csg/core/FuzzyFactory2d.d.ts deleted file mode 100644 index e3ec12b..0000000 --- a/types/csg/core/FuzzyFactory2d.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { FuzzyFactory } from "./FuzzyFactory"; -import { Side } from "./math/Side"; -import { Vertex2D } from "./math/Vertex2"; -export declare class FuzzyCAGFactory { - vertexfactory: FuzzyFactory; - constructor(); - getVertex(sourcevertex: Vertex2D): Vertex2D; - getSide(sourceside: Side): Side; -} -//# sourceMappingURL=FuzzyFactory2d.d.ts.map \ No newline at end of file diff --git a/types/csg/core/FuzzyFactory2d.d.ts.map b/types/csg/core/FuzzyFactory2d.d.ts.map deleted file mode 100644 index 0cd2b5f..0000000 --- a/types/csg/core/FuzzyFactory2d.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FuzzyFactory2d.d.ts","sourceRoot":"","sources":["../../../../src/csg/core/FuzzyFactory2d.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,qBAAa,eAAe;IAExB,aAAa,eAA4B;;IAGzC,SAAS,CAAC,YAAY,EAAE,QAAQ;IAOhC,OAAO,CAAC,UAAU,EAAE,IAAI;CAM3B"} \ No newline at end of file diff --git a/types/csg/core/FuzzyFactory3d.d.ts b/types/csg/core/FuzzyFactory3d.d.ts deleted file mode 100644 index 2e01596..0000000 --- a/types/csg/core/FuzzyFactory3d.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { FuzzyFactory } from "./FuzzyFactory"; -import { Plane } from "./math/Plane"; -import { Polygon } from "./math/Polygon3"; -import { Vertex3D } from "./math/Vertex3"; -export declare class FuzzyCSGFactory { - vertexfactory: FuzzyFactory; - planefactory: FuzzyFactory; - constructor(); - getVertex(sourcevertex: Vertex3D): Vertex3D; - getPlane(sourceplane: Plane): Plane; - getPolygon(sourcePolygon: Polygon, outputPolygon?: Polygon): Polygon; -} -//# sourceMappingURL=FuzzyFactory3d.d.ts.map \ No newline at end of file diff --git a/types/csg/core/FuzzyFactory3d.d.ts.map b/types/csg/core/FuzzyFactory3d.d.ts.map deleted file mode 100644 index 8622139..0000000 --- a/types/csg/core/FuzzyFactory3d.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"FuzzyFactory3d.d.ts","sourceRoot":"","sources":["../../../../src/csg/core/FuzzyFactory3d.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,qBAAa,eAAe;IAExB,aAAa,eAA4B;IACzC,YAAY,eAA4B;;IAGxC,SAAS,CAAC,YAAY,EAAE,QAAQ,GAAG,QAAQ;IAO3C,QAAQ,CAAC,WAAW,EAAE,KAAK,GAAG,KAAK;IAOnC,UAAU,CAAC,aAAa,EAAE,OAAO,EAAE,aAAa,UAAgB,GAAG,OAAO;CA2B7E"} \ No newline at end of file diff --git a/types/csg/core/Geometry2CSG.d.ts b/types/csg/core/Geometry2CSG.d.ts deleted file mode 100644 index 6fa23d7..0000000 --- a/types/csg/core/Geometry2CSG.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Geom3 } from "@jscad/modeling/src/geometries/geom3"; -import { BufferGeometry, Geometry } from "three"; -import { Geom3Res } from "../../Common/CSGIntersect"; -import { CSG } from "./CSG"; -export declare function Geometry2CSG(geometry: Geometry | BufferGeometry): CSG; -export declare function CSG2Geometry(csg: CSG): Geometry; -export declare function Geometry2CSG2(geometry: Geometry | BufferGeometry): Geom3; -export declare function CSG2Geometry2(csg: Geom3 | Geom3Res): Geometry; -//# sourceMappingURL=Geometry2CSG.d.ts.map \ No newline at end of file diff --git a/types/csg/core/Geometry2CSG.d.ts.map b/types/csg/core/Geometry2CSG.d.ts.map deleted file mode 100644 index 8cdd649..0000000 --- a/types/csg/core/Geometry2CSG.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Geometry2CSG.d.ts","sourceRoot":"","sources":["../../../../src/csg/core/Geometry2CSG.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAIpE,OAAO,EAAE,cAAc,EAAS,QAAQ,EAA2B,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAO5B,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,GAAG,cAAc,GAAG,GAAG,CAkCrE;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,GAAG,GAAG,QAAQ,CAmC/C;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,cAAc,GAAG,KAAK,CAmBxE;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CA8B7D"} \ No newline at end of file diff --git a/types/csg/core/constants.d.ts b/types/csg/core/constants.d.ts deleted file mode 100644 index 91a280f..0000000 --- a/types/csg/core/constants.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare const _CSGDEBUG = false; -/** Epsilon used during determination of near zero distances. - * @default - */ -export declare const EPS = 0.05; -export declare let staticTag: number; -export declare const getTag: () => number; -//# sourceMappingURL=constants.d.ts.map \ No newline at end of file diff --git a/types/csg/core/constants.d.ts.map b/types/csg/core/constants.d.ts.map deleted file mode 100644 index 407de1b..0000000 --- a/types/csg/core/constants.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/csg/core/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,QAAQ,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,GAAG,OAAO,CAAC;AAGxB,eAAO,IAAI,SAAS,QAAI,CAAC;AACzB,eAAO,MAAM,MAAM,cAAoB,CAAC"} \ No newline at end of file diff --git a/types/csg/core/math/IsMirrot.d.ts b/types/csg/core/math/IsMirrot.d.ts deleted file mode 100644 index ab37026..0000000 --- a/types/csg/core/math/IsMirrot.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Matrix4 } from "three"; -export declare function IsMirror(mtx: Matrix4): boolean; -//# sourceMappingURL=IsMirrot.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/IsMirrot.d.ts.map b/types/csg/core/math/IsMirrot.d.ts.map deleted file mode 100644 index d3d1ec9..0000000 --- a/types/csg/core/math/IsMirrot.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IsMirrot.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/IsMirrot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAW,MAAM,OAAO,CAAC;AAKzC,wBAAgB,QAAQ,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAQ9C"} \ No newline at end of file diff --git a/types/csg/core/math/Line2.d.ts b/types/csg/core/math/Line2.d.ts deleted file mode 100644 index 8233a6c..0000000 --- a/types/csg/core/math/Line2.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Vector2D } from "./Vector2"; -/** class Line2D - * Represents a directional line in 2D space - * A line is parametrized by its normal vector (perpendicular to the line, rotated 90 degrees counter clockwise) - * and w. The line passes through the point .times(w). - * Equation: p is on line if normal.dot(p)==w - */ -export declare class Line2D { - normal: Vector2D; - w: number; - constructor(normal: Vector2D, w: number); - direction(): Vector2D; - static fromPoints(p1: Vector2D, p2: Vector2D): Line2D; -} -//# sourceMappingURL=Line2.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/Line2.d.ts.map b/types/csg/core/math/Line2.d.ts.map deleted file mode 100644 index 1add273..0000000 --- a/types/csg/core/math/Line2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Line2.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/Line2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC;;;;;GAKG;AACH,qBAAa,MAAM;IAEf,MAAM,EAAE,QAAQ,CAAC;IACjB,CAAC,EAAE,MAAM,CAAC;gBACE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM;IASvC,SAAS;IAIT,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ;CAU/C"} \ No newline at end of file diff --git a/types/csg/core/math/OrthoNormalBasis.d.ts b/types/csg/core/math/OrthoNormalBasis.d.ts deleted file mode 100644 index 97352a2..0000000 --- a/types/csg/core/math/OrthoNormalBasis.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Plane } from "./Plane"; -import { Vector2D } from "./Vector2"; -import { Vector3D } from "./Vector3"; -/** class OrthoNormalBasis - * Reprojects points on a 3D plane onto a 2D plane - * or from a 2D plane back onto the 3D plane - */ -export declare class OrthoNormalBasis { - plane: Plane; - v: Vector3D; - u: Vector3D; - planeorigin: Vector3D; - constructor(plane: Plane, rightVector?: Vector3D); - to2D(vec3: Vector3D): Vector2D; - to3D(vec2: Vector2D): Vector3D; -} -//# sourceMappingURL=OrthoNormalBasis.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/OrthoNormalBasis.d.ts.map b/types/csg/core/math/OrthoNormalBasis.d.ts.map deleted file mode 100644 index e044357..0000000 --- a/types/csg/core/math/OrthoNormalBasis.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"OrthoNormalBasis.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/OrthoNormalBasis.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC;;;GAGG;AAEH,qBAAa,gBAAgB;IAKN,KAAK,EAAE,KAAK;IAH/B,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;IACZ,WAAW,EAAE,QAAQ,CAAC;gBACH,KAAK,EAAE,KAAK,EAAE,WAAW,GAAE,QAAiD;IAO/F,IAAI,CAAC,IAAI,EAAE,QAAQ;IAKnB,IAAI,CAAC,IAAI,EAAE,QAAQ;CAMtB"} \ No newline at end of file diff --git a/types/csg/core/math/Plane.d.ts b/types/csg/core/math/Plane.d.ts deleted file mode 100644 index 9057efd..0000000 --- a/types/csg/core/math/Plane.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Matrix4 } from "three"; -import { Vector3D } from "./Vector3"; -import { Vertex3D } from "./Vertex3"; -export declare class Plane { - normal: Vector3D; - w: number; - tag: number; - constructor(normal: Vector3D, w: number); - flipped(): Plane; - getTag(): number; - coplanarTo(plane: Plane): boolean; - transform(matrix4x4: Matrix4): Plane; - splitLineBetweenPoints(p1: Vertex3D, p2: Vertex3D): Vertex3D; - static fromVector3Ds(a: Vector3D, b: Vector3D, c: Vector3D): Plane; -} -//# sourceMappingURL=Plane.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/Plane.d.ts.map b/types/csg/core/math/Plane.d.ts.map deleted file mode 100644 index d7cb95c..0000000 --- a/types/csg/core/math/Plane.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Plane.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/Plane.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAIrC,qBAAa,KAAK;IAEd,MAAM,EAAE,QAAQ,CAAC;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,GAAG,EAAE,MAAM,CAAC;gBACA,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM;IAMvC,OAAO;IAKP,MAAM;IAON,UAAU,CAAC,KAAK,EAAE,KAAK;IAKvB,SAAS,CAAC,SAAS,EAAE,OAAO;IAyB5B,sBAAsB,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,GAAG,QAAQ;IAY5D,MAAM,CAAC,aAAa,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ;CAQ7D"} \ No newline at end of file diff --git a/types/csg/core/math/Polygon3.d.ts b/types/csg/core/math/Polygon3.d.ts deleted file mode 100644 index 9339ec0..0000000 --- a/types/csg/core/math/Polygon3.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Matrix4 } from "three"; -import { Plane } from "./Plane"; -import { Vector3D } from "./Vector3"; -import { Vertex3D } from "./Vertex3"; -export declare enum Type { - CoplanarFront = 0, - CoplanarBack = 1, - Front = 2, - Back = 3, - Spanning = 4 -} -interface SplitPolygonData { - type: Type; - front: Polygon; - back: Polygon; -} -/** Class Polygon - * Represents a convex polygon. The vertices used to initialize a polygon must - * be coplanar and form a convex loop. They do not have to be `Vertex` - * instances but they must behave similarly (duck typing can be used for - * customization). - *
- * Each convex polygon has a `shared` property, which is shared between all - * polygons that are clones of each other or were split from the same polygon. - * This can be used to define per-polygon properties (such as surface color). - *
- * The plane of the polygon is calculated from the vertex coordinates if not provided. - * The plane can alternatively be passed as the third argument to avoid calculations. - * - *表示凸多边形。 用于初始化多边形的顶点必须共面并形成凸环。 - *多边形是彼此克隆或从同一多边形分割的多边形。 - *这可用于定义每个多边形属性(例如表面颜色)。 - */ -export declare class Polygon { - vertices: Vertex3D[]; - plane?: Plane; - cachedBoundingSphere: [Vector3D, number]; - cachedBoundingBox: [Vector3D, Vector3D]; - constructor(vertices: Vertex3D[], plane?: Plane); - /** Check whether the polygon is convex. (it should be, otherwise we will get unexpected results)*/ - checkIfConvex(): boolean; - boundingSphere(): [Vector3D, number]; - boundingBox(): Vector3D[]; - flipped(): Polygon; - transform(matrix4x4: Matrix4): Polygon; - splitByPlane(plane: Plane): SplitPolygonData; - /** - * 是一个凸多边形 - * @param vertices 顶点列表 - * @param planenormal 平面法线 - * @returns true:是凸多边形 false:不是凸多边形 - */ - static verticesConvex(vertices: Vertex3D[], planenormal: Vector3D): boolean; - static isConvexPoint(prevpoint: Vector3D, point: Vector3D, nextpoint: Vector3D, normal: Vector3D): boolean; -} -export {}; -//# sourceMappingURL=Polygon3.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/Polygon3.d.ts.map b/types/csg/core/math/Polygon3.d.ts.map deleted file mode 100644 index ce36299..0000000 --- a/types/csg/core/math/Polygon3.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Polygon3.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/Polygon3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,oBAAY,IAAI;IAEZ,aAAa,IAAI;IACjB,YAAY,IAAI;IAChB,KAAK,IAAI;IACT,IAAI,IAAI;IACR,QAAQ,IAAI;CACf;AAGD,UAAU,gBAAgB;IAEtB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,OAAO;IAIG,QAAQ,EAAE,QAAQ,EAAE;IAAS,KAAK,CAAC,EAAE,KAAK;IAF7D,oBAAoB,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACzC,iBAAiB,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;gBACrB,QAAQ,EAAE,QAAQ,EAAE,EAAS,KAAK,CAAC,EAAE,KAAK;IAS7D,mGAAmG;IACnG,aAAa,IAAI,OAAO;IAOxB,cAAc;IAed,WAAW,IAAI,QAAQ,EAAE;IAwBzB,OAAO;IASP,SAAS,CAAC,SAAS,EAAE,OAAO;IAa5B,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,gBAAgB;IA8F5C;;;;;OAKG;IACH,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,QAAQ,GAAG,OAAO;IAoB3E,MAAM,CAAC,aAAa,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ;CAMnG"} \ No newline at end of file diff --git a/types/csg/core/math/Side.d.ts b/types/csg/core/math/Side.d.ts deleted file mode 100644 index e7e1a65..0000000 --- a/types/csg/core/math/Side.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Polygon } from "./Polygon3"; -import { Vertex2D } from "./Vertex2"; -export declare class Side { - vertex0: Vertex2D; - vertex1: Vertex2D; - constructor(vertex0: Vertex2D, vertex1: Vertex2D); - toPolygon3D(z0: number, z1: number): Polygon; - flipped(): Side; - length(): number; - static _fromFakePolygon(polygon: Polygon): Side; -} -//# sourceMappingURL=Side.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/Side.d.ts.map b/types/csg/core/math/Side.d.ts.map deleted file mode 100644 index a4585bb..0000000 --- a/types/csg/core/math/Side.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Side.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/Side.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGrC,qBAAa,IAAI;IAEM,OAAO,EAAE,QAAQ;IAAS,OAAO,EAAE,QAAQ;gBAA3C,OAAO,EAAE,QAAQ,EAAS,OAAO,EAAE,QAAQ;IAC9D,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;IA0BlC,OAAO;IAKP,MAAM;IAMN,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;CAuClD"} \ No newline at end of file diff --git a/types/csg/core/math/Vector2.d.ts b/types/csg/core/math/Vector2.d.ts deleted file mode 100644 index 7d6e684..0000000 --- a/types/csg/core/math/Vector2.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Vector3D } from "./Vector3"; -import { Vector2 } from "three"; -export declare class Vector2D extends Vector2 { - toVector3D(z: number): Vector3D; - clone(): this; - normal(): Vector2D; - cross(a: Vector2): number; -} -//# sourceMappingURL=Vector2.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/Vector2.d.ts.map b/types/csg/core/math/Vector2.d.ts.map deleted file mode 100644 index 3b5a360..0000000 --- a/types/csg/core/math/Vector2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Vector2.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/Vector2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,qBAAa,QAAS,SAAQ,OAAO;IAGjC,UAAU,CAAC,CAAC,EAAE,MAAM;IAIpB,KAAK,IAEsC,IAAI;IAG/C,MAAM;IAKN,KAAK,CAAC,CAAC,EAAE,OAAO;CAInB"} \ No newline at end of file diff --git a/types/csg/core/math/Vector3.d.ts b/types/csg/core/math/Vector3.d.ts deleted file mode 100644 index 49c807e..0000000 --- a/types/csg/core/math/Vector3.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Vector3 } from "three"; -/** Class Vector3D - * Represents a 3D vector with X, Y, Z coordinates. - */ -export declare class Vector3D extends Vector3 { - clone(): this; - randomNonParallelVector(): Vector3D; - toString(): string; -} -//# sourceMappingURL=Vector3.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/Vector3.d.ts.map b/types/csg/core/math/Vector3.d.ts.map deleted file mode 100644 index c49bf2f..0000000 --- a/types/csg/core/math/Vector3.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Vector3.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/Vector3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC;;GAEG;AACH,qBAAa,QAAS,SAAQ,OAAO;IAEjC,KAAK,IAE8C,IAAI;IAGvD,uBAAuB;IAcvB,QAAQ;CAYX"} \ No newline at end of file diff --git a/types/csg/core/math/Vertex2.d.ts b/types/csg/core/math/Vertex2.d.ts deleted file mode 100644 index 7953e22..0000000 --- a/types/csg/core/math/Vertex2.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Vector2D } from "./Vector2"; -export declare class Vertex2D { - tag: any; - pos: Vector2D; - constructor(pos: Vector2D); - toString(): string; - getTag(): any; -} -//# sourceMappingURL=Vertex2.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/Vertex2.d.ts.map b/types/csg/core/math/Vertex2.d.ts.map deleted file mode 100644 index af7147b..0000000 --- a/types/csg/core/math/Vertex2.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Vertex2.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/Vertex2.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,qBAAa,QAAQ;IAEjB,GAAG,EAAE,GAAG,CAAC;IACT,GAAG,EAAE,QAAQ,CAAC;gBACF,GAAG,EAAE,QAAQ;IAKzB,QAAQ;IAKR,MAAM;CAUT"} \ No newline at end of file diff --git a/types/csg/core/math/Vertex3.d.ts b/types/csg/core/math/Vertex3.d.ts deleted file mode 100644 index 7fc7fe1..0000000 --- a/types/csg/core/math/Vertex3.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Vector2D } from "./Vector2"; -import { Vector3D } from "./Vector3"; -import { Matrix4 } from "three"; -export declare class Vertex3D { - pos: Vector3D; - uv: Vector2D; - tag: number; - constructor(pos: Vector3D, uv?: Vector2D); - clone(): Vertex3D; - flipped(): this; - getTag(): number; - interpolate(other: Vertex3D, t: number): Vertex3D; - transform(matrix4x4: Matrix4): Vertex3D; -} -//# sourceMappingURL=Vertex3.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/Vertex3.d.ts.map b/types/csg/core/math/Vertex3.d.ts.map deleted file mode 100644 index 595077b..0000000 --- a/types/csg/core/math/Vertex3.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Vertex3.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/Vertex3.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAShC,qBAAa,QAAQ;IAGE,GAAG,EAAE,QAAQ;IAAS,EAAE;IAD3C,GAAG,EAAE,MAAM,CAAC;gBACO,GAAG,EAAE,QAAQ,EAAS,EAAE,WAAiB;IAE5D,KAAK;IAOL,OAAO;IAKP,MAAM;IAcN,WAAW,CAAC,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM;IAStC,SAAS,CAAC,SAAS,EAAE,OAAO;CAK/B"} \ No newline at end of file diff --git a/types/csg/core/math/reTesselateCoplanarPolygons.d.ts b/types/csg/core/math/reTesselateCoplanarPolygons.d.ts deleted file mode 100644 index 9a27704..0000000 --- a/types/csg/core/math/reTesselateCoplanarPolygons.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Polygon } from "./Polygon3"; -export declare function reTesselateCoplanarPolygons(sourcePolygons: Polygon[], destpolygons?: Polygon[]): void; -//# sourceMappingURL=reTesselateCoplanarPolygons.d.ts.map \ No newline at end of file diff --git a/types/csg/core/math/reTesselateCoplanarPolygons.d.ts.map b/types/csg/core/math/reTesselateCoplanarPolygons.d.ts.map deleted file mode 100644 index 5833aa0..0000000 --- a/types/csg/core/math/reTesselateCoplanarPolygons.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"reTesselateCoplanarPolygons.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/math/reTesselateCoplanarPolygons.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAkCrC,wBAAgB,2BAA2B,CAAC,cAAc,EAAE,OAAO,EAAE,EAAE,YAAY,GAAE,OAAO,EAAO,GAAG,IAAI,CAmazG"} \ No newline at end of file diff --git a/types/csg/core/trees.d.ts b/types/csg/core/trees.d.ts deleted file mode 100644 index 44f5357..0000000 --- a/types/csg/core/trees.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Plane } from "./math/Plane"; -import { Polygon } from "./math/Polygon3"; -import { Vector3D } from "./math/Vector3"; -declare class PolygonTreeNode { - parent: PolygonTreeNode; - children: PolygonTreeNode[]; - polygon: Polygon; - removed: boolean; - constructor(polygon?: Polygon); - addPolygons(polygons: Polygon[]): void; - remove(): void; - isRemoved(): boolean; - isRootNode(): boolean; - invert(): void; - getPolygon(): Polygon; - getPolygons(outPolygons?: Polygon[]): Polygon[]; - splitByPlane(plane: Plane, coplanarFrontNodes: PolygonTreeNode[], coplanarBackNodes: PolygonTreeNode[], frontNodes: PolygonTreeNode[], backNodes: PolygonTreeNode[]): void; - private splitByPlaneNotChildren; - addChild(polygon: Polygon): PolygonTreeNode; - invertSub(): void; - recursivelyInvalidatePolygon(): void; -} -export declare class Tree { - polygonTree: PolygonTreeNode; - rootNode: Node; - constructor(polygons: Polygon[]); - invert(): void; - /** - * this 减去 tree 删除此BSP树中位于其他BSP树内的所有多边形 - * @param tree 不会被修改 - * @param [alsoRemovecoplanarFront=false] 同时删除共面 - */ - clipTo(tree: Tree, alsoRemovecoplanarFront?: boolean): void; - allPolygons(): Polygon[]; - addPolygons(polygons: Polygon[]): void; -} -declare class Node { - plane: Plane; - front: Node; - back: Node; - polygonTreeNodes: PolygonTreeNode[]; - parent: Node; - constructor(parent: Node); - invert(): void; - clipPolygons(polygonTreeNodes: PolygonTreeNode[], alsoRemoveCoplanarFront: boolean): void; - clipTo(tree: Tree, alsoRemovecoplanarFront: boolean): void; - addPolygonTreeNodes(polygonTreeNodes: PolygonTreeNode[]): void; - getParentPlaneNormals(normals: Vector3D[], maxdepth: number): void; -} -export {}; -//# sourceMappingURL=trees.d.ts.map \ No newline at end of file diff --git a/types/csg/core/trees.d.ts.map b/types/csg/core/trees.d.ts.map deleted file mode 100644 index 840979e..0000000 --- a/types/csg/core/trees.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"trees.d.ts","sourceRoot":"","sources":["../../../../src/csg/core/trees.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,OAAO,EAAQ,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AA2B1C,cAAM,eAAe;IAEjB,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,eAAe,EAAE,CAAM;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAS;gBACb,OAAO,CAAC,EAAE,OAAO;IAO7B,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE;IAc/B,MAAM;IAsBN,SAAS;IAKT,UAAU;IAOV,MAAM;IAMN,UAAU,IAAI,OAAO;IAMrB,WAAW,CAAC,WAAW,GAAE,OAAO,EAAO,GAAG,OAAO,EAAE;IA2BnD,YAAY,CACR,KAAK,EAAE,KAAK,EACZ,kBAAkB,EAAE,eAAe,EAAE,EACrC,iBAAiB,EAAE,eAAe,EAAE,EACpC,UAAU,EAAE,eAAe,EAAE,EAC7B,SAAS,EAAE,eAAe,EAAE;IAgChC,OAAO,CAAC,uBAAuB;IA6D/B,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,eAAe;IAQ3C,SAAS;IAgBT,4BAA4B;CAU/B;AAMD,qBAAa,IAAI;IAEb,WAAW,kBAAyB;IACpC,QAAQ,OAAkB;gBACd,QAAQ,EAAE,OAAO,EAAE;IAK/B,MAAM;IAON;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,uBAAuB,UAAQ;IAKlD,WAAW;IAKX,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE;CAOlC;AAUD,cAAM,IAAI;IAEN,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,IAAI,CAAC;IACZ,IAAI,EAAE,IAAI,CAAC;IACX,gBAAgB,EAAE,eAAe,EAAE,CAAM;IACzC,MAAM,EAAE,IAAI,CAAC;gBACD,MAAM,EAAE,IAAI;IAMxB,MAAM;IAmBN,YAAY,CAAC,gBAAgB,EAAE,eAAe,EAAE,EAAE,uBAAuB,EAAE,OAAO;IAkDlF,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO;IAoBnD,mBAAmB,CAAC,gBAAgB,EAAE,eAAe,EAAE;IA2DvD,qBAAqB,CAAC,OAAO,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM;CAW9D"} \ No newline at end of file diff --git a/types/csg/core/utils.d.ts b/types/csg/core/utils.d.ts deleted file mode 100644 index ef69fca..0000000 --- a/types/csg/core/utils.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Vector2D } from "./math/Vector2"; -export declare function fnNumberSort(a: any, b: any): number; -export declare const solve2Linear: (a: number, b: number, c: number, d: number, u: number, v: number) => number[]; -export declare function insertSorted(array: T[], element: T, comparefunc: (a: T, b: T) => number): void; -export declare function interpolateBetween2DPointsForY(point1: Vector2D, point2: Vector2D, y: number): number; -//# sourceMappingURL=utils.d.ts.map \ No newline at end of file diff --git a/types/csg/core/utils.d.ts.map b/types/csg/core/utils.d.ts.map deleted file mode 100644 index 4bd6343..0000000 --- a/types/csg/core/utils.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/csg/core/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,wBAAgB,YAAY,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA,UAGhC;AAED,eAAO,MAAM,YAAY,MAAgB,MAAM,KAAK,MAAM,KAAK,MAAM,KAAK,MAAM,KAAK,MAAM,KAAK,MAAM,aASrG,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,MAAM,QAgB1F;AAKD,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,UAqB3F"} \ No newline at end of file diff --git a/types/csg/core/utils/canonicalize.d.ts b/types/csg/core/utils/canonicalize.d.ts deleted file mode 100644 index 8d773da..0000000 --- a/types/csg/core/utils/canonicalize.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { FuzzyCSGFactory } from "../FuzzyFactory3d"; -import { CSG } from "../CSG"; -import { CAG } from "../CAG"; -/** - * Returns a cannoicalized version of the input csg : ie every very close - * points get deduplicated - * - * 返回删除重复点的csg,重复点将被合并 - */ -export declare function canonicalizeCSG(csg: CSG): CSG; -export declare function canonicalizeCAG(cag: CAG): CAG; -export declare function CSGFromCSGFuzzyFactory(factory: FuzzyCSGFactory, sourcecsg: CSG): CSG; -//# sourceMappingURL=canonicalize.d.ts.map \ No newline at end of file diff --git a/types/csg/core/utils/canonicalize.d.ts.map b/types/csg/core/utils/canonicalize.d.ts.map deleted file mode 100644 index 557ed87..0000000 --- a/types/csg/core/utils/canonicalize.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"canonicalize.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/utils/canonicalize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAI7B;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,CAO7C;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,OAMvC;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,OAO9E"} \ No newline at end of file diff --git a/types/csg/core/utils/csgMeasurements.d.ts b/types/csg/core/utils/csgMeasurements.d.ts deleted file mode 100644 index f6e8a2c..0000000 --- a/types/csg/core/utils/csgMeasurements.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Vector3D } from "../math/Vector3"; -import { CSG } from "../CSG"; -/** - * Returns an array of Vector3D, providing minimum coordinates and maximum coordinates - * of this solid. - * @example - * let bounds = A.getBounds() - * let minX = bounds[0].x - */ -export declare function bounds(csg: CSG): Vector3D[]; -//# sourceMappingURL=csgMeasurements.d.ts.map \ No newline at end of file diff --git a/types/csg/core/utils/csgMeasurements.d.ts.map b/types/csg/core/utils/csgMeasurements.d.ts.map deleted file mode 100644 index a390ee3..0000000 --- a/types/csg/core/utils/csgMeasurements.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"csgMeasurements.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/utils/csgMeasurements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,QAAQ,EAAE,CA2B3C"} \ No newline at end of file diff --git a/types/csg/core/utils/retesellate.d.ts b/types/csg/core/utils/retesellate.d.ts deleted file mode 100644 index 9d836c3..0000000 --- a/types/csg/core/utils/retesellate.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { CSG } from "../CSG"; -export declare function reTesselate(csg: CSG): CSG; -//# sourceMappingURL=retesellate.d.ts.map \ No newline at end of file diff --git a/types/csg/core/utils/retesellate.d.ts.map b/types/csg/core/utils/retesellate.d.ts.map deleted file mode 100644 index ed471d9..0000000 --- a/types/csg/core/utils/retesellate.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"retesellate.d.ts","sourceRoot":"","sources":["../../../../../src/csg/core/utils/retesellate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAK7B,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,CA+BzC"} \ No newline at end of file diff --git a/types/entitys.exp.d.ts b/types/entitys.exp.d.ts deleted file mode 100644 index f9749fa..0000000 --- a/types/entitys.exp.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -export * from "./DatabaseServices/AllObjectData"; -export * from "./DatabaseServices/BlockTableRecord"; -export * from "./DatabaseServices/CADFactory"; -export * from "./DatabaseServices/CommandHistoryRecord"; -export * from "./DatabaseServices/CreateObjectData"; -export * from "./DatabaseServices/Database"; -export * from "./DatabaseServices/EraseEntityData"; -export * from "./DatabaseServices/FaceEntity"; -export * from "./DatabaseServices/GroupTable"; -export * from "./DatabaseServices/GroupTableRecord"; -export * from "./DatabaseServices/HistoricManage"; -export * from "./DatabaseServices/HistorycRecord"; -export * from "./DatabaseServices/LayerTableRecord"; -export * from "./DatabaseServices/MaterialTableRecord"; -export * from "./DatabaseServices/ObjectAllDataHistoryRecord"; -export * from "./DatabaseServices/ObjectCollection"; -export * from "./DatabaseServices/PhysicalMaterialRecord"; -export * from "./DatabaseServices/RemoveObjectData"; -export * from "./DatabaseServices/Spline"; -export * from "./DatabaseServices/SymbolTableRecord"; -export * from "./DatabaseServices/Texture"; -export * from "./DatabaseServices/ViewportEntity"; -export * from "./DatabaseServices/3DSolid/CylinderHole"; -export * from "./DatabaseServices/3DSolid/Cylineder"; -export * from "./DatabaseServices/3DSolid/ExtrudeHole"; -export * from "./DatabaseServices/3DSolid/Hole"; -export * from "./DatabaseServices/3DSolid/RevolveSolid"; -export * from "./DatabaseServices/3DSolid/SweepSolid"; -export * from "./DatabaseServices/AlignLine/AlignLineGroupRecord"; -export * from "./DatabaseServices/AlignLine/AlignLineGroupTable"; -export * from "./DatabaseServices/CameraSnapshoot/CameraSnapshootRecord"; -export * from "./DatabaseServices/DimStyle/DimStyleRecord"; -export * from "./DatabaseServices/DimStyle/DimStyleTable"; -export * from "./DatabaseServices/Dimension/2LineAngularDimension"; -export * from "./DatabaseServices/Dimension/AlignedDimension"; -export * from "./DatabaseServices/Dimension/ArcDimension"; -export * from "./DatabaseServices/Dimension/DiameterDimension"; -export * from "./DatabaseServices/Dimension/Dimension"; -export * from "./DatabaseServices/Dimension/LinearDimension"; -export * from "./DatabaseServices/Dimension/MLeaderDimension"; -export * from "./DatabaseServices/Dimension/RadiusDimension"; -export * from "./DatabaseServices/Entity/Arc"; -export * from "./DatabaseServices/Entity/Board"; -export * from "./DatabaseServices/Entity/BoxSolid"; -export * from "./DatabaseServices/Entity/Circle"; -export * from "./DatabaseServices/Entity/CompositeEntity"; -export * from "./DatabaseServices/Entity/Curve"; -export * from "./DatabaseServices/Entity/Ellipse"; -export * from "./DatabaseServices/Entity/Entity"; -export * from "./DatabaseServices/Entity/EntityFbx"; -export * from "./DatabaseServices/Entity/EntityRef"; -export * from "./DatabaseServices/Entity/Extrude"; -export * from "./DatabaseServices/Entity/Line"; -export * from "./DatabaseServices/Entity/Point"; -export * from "./DatabaseServices/Entity/Polyline"; -export * from "./DatabaseServices/Entity/Region"; -export * from "./DatabaseServices/FontStyle/FontStyleTable"; -export * from "./DatabaseServices/FontStyle/FontsStyleRecord"; -export * from "./DatabaseServices/Hardware/HardwareCompositeEntity"; -export * from "./DatabaseServices/Hardware/HardwareTopline"; -export * from "./DatabaseServices/Lights/AmbientLight"; -export * from "./DatabaseServices/Lights/DirectionalLight"; -export * from "./DatabaseServices/Lights/HemisphereLight"; -export * from "./DatabaseServices/Lights/Light"; -export * from "./DatabaseServices/Lights/PointLight"; -export * from "./DatabaseServices/Lights/RectAreaLight"; -export * from "./DatabaseServices/Lights/SpotLight"; -export * from "./DatabaseServices/ProcessingGroup/ProcessingGroupRecord"; -export * from "./DatabaseServices/ProcessingGroup/ProcessingGroupTable"; -export * from "./DatabaseServices/Room/Entity/RoomBase"; -export * from "./DatabaseServices/Room/Entity/Ceiling/BulkheadCeiling"; -export * from "./DatabaseServices/Room/Entity/Flat/RoomFlatBase"; -export * from "./DatabaseServices/Room/Entity/Flat/RoomFlatFloor"; -export * from "./DatabaseServices/Room/Entity/Flat/RoomFlatTop"; -export * from "./DatabaseServices/Room/Entity/Region/RoomRegion"; -export * from "./DatabaseServices/Room/Entity/Wall/RoomWallArc"; -export * from "./DatabaseServices/Room/Entity/Wall/RoomWallBase"; -export * from "./DatabaseServices/Room/Entity/Wall/RoomWallLine"; -export * from "./DatabaseServices/Room/Entity/Wall/Hole/RoomHoleBase"; -export * from "./DatabaseServices/Room/Entity/Wall/Hole/RoomHoleLine"; -export * from "./DatabaseServices/Room/Entity/Wall/Hole/RoomHolePolyline"; -export * from "./DatabaseServices/Tables/BlockTable"; -export * from "./DatabaseServices/Tables/LayerTable"; -export * from "./DatabaseServices/Tables/SymbolTable"; -export * from "./DatabaseServices/Tables/TextureTable"; -export * from "./DatabaseServices/Template/TemplateRecord"; -export * from "./DatabaseServices/Template/TemplateTable"; -export * from "./DatabaseServices/Template/Action/TempateThicknessAction"; -export * from "./DatabaseServices/Template/Action/TemplateAction"; -export * from "./DatabaseServices/Template/Action/TemplateFilletAction"; -export * from "./DatabaseServices/Template/Action/TemplateMaterialAction"; -export * from "./DatabaseServices/Template/Action/TemplateMoveAction"; -export * from "./DatabaseServices/Template/Action/TemplateSetSealAction"; -export * from "./DatabaseServices/Template/Action/TemplateStretchGripAction"; -export * from "./DatabaseServices/Template/Action/TemplateStretchScaleBoxAction"; -export * from "./DatabaseServices/Template/Action/TemplateaRadiusAction"; -export * from "./DatabaseServices/Template/Param/TemplateParam"; -export * from "./DatabaseServices/Template/Positioning/Positioning"; -export * from "./DatabaseServices/Template/Positioning/PositioningBoardSpace"; -export * from "./DatabaseServices/Template/Positioning/PositioningClampSpace"; -export * from "./DatabaseServices/Template/Positioning/PositioningFixed"; -export * from "./DatabaseServices/Template/Positioning/PositioningHandleSpace"; -export * from "./DatabaseServices/Template/Positioning/PositioningTemporary"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateArcWindowRecord"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateBehindBoard"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateBoard"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateEntityRef"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateLatticeRecord"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateLayerBoard"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateLeftRightBoardRecord"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateRoomDoorRecord"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateSizeBoard"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateTopBottomBoard"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateVerticalBoard"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateVisualSpace"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateWindowRecord"; -export * from "./DatabaseServices/Template/ProgramTempate/TemplateWineRackRecord"; -export * from "./DatabaseServices/Text/Text"; -export * from "./DatabaseServices/ViewportEntity/ViewportEntity2"; -export * from "./Editor/VisualSpaceBox"; -//# sourceMappingURL=entitys.exp.d.ts.map \ No newline at end of file diff --git a/types/entitys.exp.d.ts.map b/types/entitys.exp.d.ts.map deleted file mode 100644 index e3250bc..0000000 --- a/types/entitys.exp.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"entitys.exp.d.ts","sourceRoot":"","sources":["../../src/entitys.exp.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,qCAAqC,CAAA;AACnD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yCAAyC,CAAA;AACvD,cAAc,qCAAqC,CAAA;AACnD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,oCAAoC,CAAA;AAClD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,qCAAqC,CAAA;AACnD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mCAAmC,CAAA;AACjD,cAAc,qCAAqC,CAAA;AACnD,cAAc,wCAAwC,CAAA;AACtD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,qCAAqC,CAAA;AACnD,cAAc,2CAA2C,CAAA;AACzD,cAAc,qCAAqC,CAAA;AACnD,cAAc,2BAA2B,CAAA;AACzC,cAAc,sCAAsC,CAAA;AACpD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mCAAmC,CAAA;AACjD,cAAc,yCAAyC,CAAA;AACvD,cAAc,sCAAsC,CAAA;AACpD,cAAc,wCAAwC,CAAA;AACtD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,yCAAyC,CAAA;AACvD,cAAc,uCAAuC,CAAA;AACrD,cAAc,mDAAmD,CAAA;AACjE,cAAc,kDAAkD,CAAA;AAChE,cAAc,0DAA0D,CAAA;AACxE,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- a/types/ueapi.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -export * from "./DatabaseServices/Entity/Board"; -export * from "./DatabaseServices/Entity/Circle"; -export * from "./DatabaseServices/Entity/Extrude"; -export * from "./DatabaseServices/Entity/Polyline"; -export * from "./DatabaseServices/Shape2"; -export * from "./Geometry/BoardUVGenerator"; -export * from "./Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2"; -export * from "./DatabaseServices/CADObject"; -export * from "./DatabaseServices/ObjectId"; -export * from "./DatabaseServices/CADFactory"; -export * from "./DatabaseServices/IdMaping"; -export * from "./DatabaseServices/Room/ParseService/RoomWallParse"; -export * from "./DatabaseServices/Room/ParseService/RoomRegionParse"; -export * from "./DatabaseServices/Entity/GenLocalUv"; -export * from "./GraphicsSystem/RenderType"; -export * from "./Nest/Common/ClipperCpp"; -export * from "./Reactor/RoomHoleReactor"; -export * from "./Common/Status"; -export * from "./Add-on/Purge"; -export * from "./entitys.exp"; -export * from "./DatabaseServices/CADFiler"; -export * from "./DatabaseServices/Database"; -export * from "./GraphicsSystem/CameraUpdate"; -//# sourceMappingURL=ueapi.d.ts.map \ No newline at end of file diff --git a/types/ueapi.d.ts.map b/types/ueapi.d.ts.map deleted file mode 100644 index 3d32d34..0000000 --- a/types/ueapi.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ueapi.d.ts","sourceRoot":"","sources":["../../src/ueapi.ts"],"names":[],"mappings":"AACA,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wDAAwD,CAAC;AAEvE,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAG5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAA;AAE3C,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AAErE,cAAc,sCAAsC,CAAC;AAGrD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AAGzC,cAAc,2BAA2B,CAAC;AAE1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAI/B,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC"} \ No newline at end of file