Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e4da4c46c7 |
@@ -1,156 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
var poly3 = require('@jscad/modeling/src/geometries/poly3');
|
||||
var booleans = require('@jscad/modeling/src/operations/booleans');
|
||||
|
||||
/**
|
||||
* @param compart true => t2 , false => t1
|
||||
* @returns 索引
|
||||
*/
|
||||
function Max(arr, compart)
|
||||
{
|
||||
let best = arr[0];
|
||||
let bestIndex = 0;
|
||||
for (let i = 1; i < arr.length; i++) {
|
||||
let t1 = arr[i];
|
||||
if (compart(best, t1)) {
|
||||
best = t1;
|
||||
bestIndex = i;
|
||||
}
|
||||
}
|
||||
return bestIndex;
|
||||
}
|
||||
|
||||
/** Epsilon used during determination of near zero distances.
|
||||
* @default
|
||||
*/
|
||||
const EPS = 5e-2;
|
||||
|
||||
// //////////////////////////////
|
||||
// tolerance: The maximum difference for each parameter allowed to be considered a match
|
||||
class FuzzyFactory
|
||||
{
|
||||
constructor(numdimensions = 3, tolerance = EPS)
|
||||
{
|
||||
this.lookuptable = {};
|
||||
this.multiplier = 1.0 / tolerance;
|
||||
}
|
||||
// let obj = f.lookupOrCreate([el1, el2, el3], function(elements) {/* create the new object */});
|
||||
// Performs a fuzzy lookup of the object with the specified elements.
|
||||
// If found, returns the existing object
|
||||
// If not found, calls the supplied callback function which should create a new object with
|
||||
// the specified properties. This object is inserted in the lookup database.
|
||||
lookupOrCreate(els, object)
|
||||
{
|
||||
let hash = "";
|
||||
let multiplier = this.multiplier;
|
||||
for (let el of els) {
|
||||
let valueQuantized = Math.round(el * multiplier);
|
||||
hash += valueQuantized + "/";
|
||||
}
|
||||
if (hash in this.lookuptable)
|
||||
return this.lookuptable[hash];
|
||||
else {
|
||||
let hashparts = els.map(el =>
|
||||
{
|
||||
let q0 = Math.floor(el * multiplier);
|
||||
let q1 = q0 + 1;
|
||||
return ["" + q0 + "/", "" + q1 + "/"];
|
||||
});
|
||||
let numelements = els.length;
|
||||
let numhashes = 1 << numelements;
|
||||
for (let hashmask = 0; hashmask < numhashes; ++hashmask) {
|
||||
let hashmaskShifted = hashmask;
|
||||
hash = "";
|
||||
hashparts.forEach(hashpart =>
|
||||
{
|
||||
hash += hashpart[hashmaskShifted & 1];
|
||||
hashmaskShifted >>= 1;
|
||||
});
|
||||
this.lookuptable[hash] = object;
|
||||
}
|
||||
return object;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//并集path2dCsgs 差集 删除小面积结果
|
||||
function CSGSubtract(geom, path2dCsgs)
|
||||
{
|
||||
let gemUnion = path2dCsgs[0];
|
||||
for (let i = 1; i < path2dCsgs.length; i++)
|
||||
gemUnion = booleans.union(gemUnion, path2dCsgs[i]);
|
||||
let newGeom = booleans.subtract(geom, gemUnion);
|
||||
//删除小面积(只留一个)
|
||||
{
|
||||
let fuzz = new FuzzyFactory;
|
||||
let vmap = new Map;
|
||||
for (let poly of newGeom.polygons) {
|
||||
for (let v of poly.vertices) {
|
||||
let key = fuzz.lookupOrCreate(v, v);
|
||||
let arr = vmap.get(key);
|
||||
if (!arr) {
|
||||
arr = [];
|
||||
vmap.set(key, arr);
|
||||
}
|
||||
arr.push(poly);
|
||||
v["__key__"] = key;
|
||||
}
|
||||
}
|
||||
let polys = newGeom.polygons.concat();
|
||||
let polyGroups = [];
|
||||
let calcs = new Set;
|
||||
while (polys.length) {
|
||||
let poly1 = polys.pop();
|
||||
calcs.add(poly1);
|
||||
let polyGroup = [poly1];
|
||||
polyGroups.push(polyGroup);
|
||||
for (let i = 0; i < polyGroup.length; i++) {
|
||||
let poly = polyGroup[i];
|
||||
for (let v of poly.vertices) {
|
||||
let key = v["__key__"];
|
||||
let arr = vmap.get(key);
|
||||
for (let vpoly of arr) {
|
||||
if (calcs.has(vpoly))
|
||||
continue;
|
||||
calcs.add(vpoly);
|
||||
polyGroup.push(vpoly);
|
||||
}
|
||||
}
|
||||
}
|
||||
// arrayRemoveIf(polys, poly => !calcs.has(poly)); //加上这个无法提高性能
|
||||
}
|
||||
let areas = polyGroups.map(polys =>
|
||||
{
|
||||
let area = 0;
|
||||
for (let poly of polys)
|
||||
area += poly3.measureArea(poly);
|
||||
return area;
|
||||
});
|
||||
let maxIndex = Max(areas, (t1, t2) => t2 > t1);
|
||||
newGeom.polygons = polyGroups[maxIndex];
|
||||
}
|
||||
return newGeom;
|
||||
}
|
||||
|
||||
addEventListener("message", e =>
|
||||
{
|
||||
const [path2dCsgs, geom] = e.data;
|
||||
try {
|
||||
const newGeom = CSGSubtract(geom, path2dCsgs);
|
||||
postMessage({
|
||||
status: 0,
|
||||
geom: newGeom
|
||||
});
|
||||
}
|
||||
catch (error) {
|
||||
postMessage({
|
||||
status: 1,
|
||||
error
|
||||
});
|
||||
}
|
||||
});
|
||||
var CSGSubtract_worker = {};
|
||||
|
||||
module.exports = CSGSubtract_worker;
|
||||
//# sourceMappingURL=CSGSubtract.worker.cjs.map
|
File diff suppressed because one or more lines are too long
@@ -1,146 +0,0 @@
|
||||
import { measureArea } from '@jscad/modeling/src/geometries/poly3';
|
||||
import { union, subtract } from '@jscad/modeling/src/operations/booleans';
|
||||
|
||||
/**
|
||||
* @param compart true => t2 , false => t1
|
||||
* @returns 索引
|
||||
*/
|
||||
function Max(arr, compart) {
|
||||
let best = arr[0];
|
||||
let bestIndex = 0;
|
||||
for (let i = 1; i < arr.length; i++) {
|
||||
let t1 = arr[i];
|
||||
if (compart(best, t1)) {
|
||||
best = t1;
|
||||
bestIndex = i;
|
||||
}
|
||||
}
|
||||
return bestIndex;
|
||||
}
|
||||
|
||||
/** Epsilon used during determination of near zero distances.
|
||||
* @default
|
||||
*/
|
||||
const EPS = 5e-2;
|
||||
|
||||
// //////////////////////////////
|
||||
// tolerance: The maximum difference for each parameter allowed to be considered a match
|
||||
class FuzzyFactory {
|
||||
constructor(numdimensions = 3, tolerance = EPS) {
|
||||
this.lookuptable = {};
|
||||
this.multiplier = 1.0 / tolerance;
|
||||
}
|
||||
// let obj = f.lookupOrCreate([el1, el2, el3], function(elements) {/* create the new object */});
|
||||
// Performs a fuzzy lookup of the object with the specified elements.
|
||||
// If found, returns the existing object
|
||||
// If not found, calls the supplied callback function which should create a new object with
|
||||
// the specified properties. This object is inserted in the lookup database.
|
||||
lookupOrCreate(els, object) {
|
||||
let hash = "";
|
||||
let multiplier = this.multiplier;
|
||||
for (let el of els) {
|
||||
let valueQuantized = Math.round(el * multiplier);
|
||||
hash += valueQuantized + "/";
|
||||
}
|
||||
if (hash in this.lookuptable)
|
||||
return this.lookuptable[hash];
|
||||
else {
|
||||
let hashparts = els.map(el => {
|
||||
let q0 = Math.floor(el * multiplier);
|
||||
let q1 = q0 + 1;
|
||||
return ["" + q0 + "/", "" + q1 + "/"];
|
||||
});
|
||||
let numelements = els.length;
|
||||
let numhashes = 1 << numelements;
|
||||
for (let hashmask = 0; hashmask < numhashes; ++hashmask) {
|
||||
let hashmaskShifted = hashmask;
|
||||
hash = "";
|
||||
hashparts.forEach(hashpart => {
|
||||
hash += hashpart[hashmaskShifted & 1];
|
||||
hashmaskShifted >>= 1;
|
||||
});
|
||||
this.lookuptable[hash] = object;
|
||||
}
|
||||
return object;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//并集path2dCsgs 差集 删除小面积结果
|
||||
function CSGSubtract(geom, path2dCsgs) {
|
||||
let gemUnion = path2dCsgs[0];
|
||||
for (let i = 1; i < path2dCsgs.length; i++)
|
||||
gemUnion = union(gemUnion, path2dCsgs[i]);
|
||||
let newGeom = subtract(geom, gemUnion);
|
||||
//删除小面积(只留一个)
|
||||
{
|
||||
let fuzz = new FuzzyFactory;
|
||||
let vmap = new Map;
|
||||
for (let poly of newGeom.polygons) {
|
||||
for (let v of poly.vertices) {
|
||||
let key = fuzz.lookupOrCreate(v, v);
|
||||
let arr = vmap.get(key);
|
||||
if (!arr) {
|
||||
arr = [];
|
||||
vmap.set(key, arr);
|
||||
}
|
||||
arr.push(poly);
|
||||
v["__key__"] = key;
|
||||
}
|
||||
}
|
||||
let polys = newGeom.polygons.concat();
|
||||
let polyGroups = [];
|
||||
let calcs = new Set;
|
||||
while (polys.length) {
|
||||
let poly1 = polys.pop();
|
||||
calcs.add(poly1);
|
||||
let polyGroup = [poly1];
|
||||
polyGroups.push(polyGroup);
|
||||
for (let i = 0; i < polyGroup.length; i++) {
|
||||
let poly = polyGroup[i];
|
||||
for (let v of poly.vertices) {
|
||||
let key = v["__key__"];
|
||||
let arr = vmap.get(key);
|
||||
for (let vpoly of arr) {
|
||||
if (calcs.has(vpoly))
|
||||
continue;
|
||||
calcs.add(vpoly);
|
||||
polyGroup.push(vpoly);
|
||||
}
|
||||
}
|
||||
}
|
||||
// arrayRemoveIf(polys, poly => !calcs.has(poly)); //加上这个无法提高性能
|
||||
}
|
||||
let areas = polyGroups.map(polys => {
|
||||
let area = 0;
|
||||
for (let poly of polys)
|
||||
area += measureArea(poly);
|
||||
return area;
|
||||
});
|
||||
let maxIndex = Max(areas, (t1, t2) => t2 > t1);
|
||||
newGeom.polygons = polyGroups[maxIndex];
|
||||
}
|
||||
return newGeom;
|
||||
}
|
||||
|
||||
const ctx = self;
|
||||
ctx.addEventListener("message", e => {
|
||||
const [path2dCsgs, geom] = e.data;
|
||||
try {
|
||||
const newGeom = CSGSubtract(geom, path2dCsgs);
|
||||
postMessage({
|
||||
status: 0,
|
||||
geom: newGeom
|
||||
});
|
||||
}
|
||||
catch (error) {
|
||||
postMessage({
|
||||
status: 1,
|
||||
error
|
||||
});
|
||||
}
|
||||
});
|
||||
var CSGSubtract_worker = {};
|
||||
|
||||
export { CSGSubtract_worker as default };
|
||||
//# sourceMappingURL=CSGSubtract.worker.mjs.map
|
File diff suppressed because one or more lines are too long
50336
api.cjs.js
50336
api.cjs.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
50577
api.esm.js
50577
api.esm.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
11
package.json
11
package.json
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"name": "webcad_ue4_api",
|
||||
"version": "0.3.12",
|
||||
"description": "",
|
||||
"main": "api.esm.js",
|
||||
"module": "api.esm.js",
|
||||
"types": "types/ueapi.d.ts",
|
||||
"private": true,
|
||||
"author": "cx",
|
||||
"license": "ISC"
|
||||
}
|
5
types/Add-on/999.d.ts
vendored
Normal file
5
types/Add-on/999.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Command_999 implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=999.d.ts.map
|
1
types/Add-on/999.d.ts.map
Normal file
1
types/Add-on/999.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"999.d.ts","sourceRoot":"","sources":["../../../src/Add-on/999.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,WAAY,YAAW,OAAO;IAEjC,IAAI;CAmCb"}
|
5
types/Add-on/ActivityLayerBoard.d.ts
vendored
Normal file
5
types/Add-on/ActivityLayerBoard.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class ActicityLayerBoard implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=ActivityLayerBoard.d.ts.map
|
1
types/Add-on/ActivityLayerBoard.d.ts.map
Normal file
1
types/Add-on/ActivityLayerBoard.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ActivityLayerBoard.d.ts","sourceRoot":"","sources":["../../../src/Add-on/ActivityLayerBoard.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AASnD,qBAAa,kBAAmB,YAAW,OAAO;IAExC,IAAI;CA2Eb"}
|
19
types/Add-on/AddPtOnBoard.d.ts
vendored
Normal file
19
types/Add-on/AddPtOnBoard.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
import { PromptPointResult } from "../Editor/PromptResult";
|
||||
import { Board } from "../DatabaseServices/Entity/Board";
|
||||
import { Polyline } from "../DatabaseServices/Entity/Polyline";
|
||||
declare abstract class PtOnBoard implements Command {
|
||||
prompt: string;
|
||||
exec(): Promise<void>;
|
||||
abstract operation(br: Board, ptRes: PromptPointResult): Polyline;
|
||||
}
|
||||
export declare class AddPtOnBoard extends PtOnBoard {
|
||||
prompt: string;
|
||||
operation(br: Board, ptRes: PromptPointResult): Polyline;
|
||||
}
|
||||
export declare class DeletePtOnBoard extends PtOnBoard {
|
||||
prompt: string;
|
||||
operation(br: Board, ptRes: PromptPointResult): Polyline;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=AddPtOnBoard.d.ts.map
|
1
types/Add-on/AddPtOnBoard.d.ts.map
Normal file
1
types/Add-on/AddPtOnBoard.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AddPtOnBoard.d.ts","sourceRoot":"","sources":["../../../src/Add-on/AddPtOnBoard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAgB,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAG/D,uBAAe,SAAU,YAAW,OAAO;IAEvC,MAAM,EAAE,MAAM,CAAC;IACT,IAAI;IAkCV,QAAQ,CAAC,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,iBAAiB,GAAG,QAAQ;CACpE;AAED,qBAAa,YAAa,SAAQ,SAAS;IAEvC,MAAM,SAAQ;IAEd,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,iBAAiB;CAqBhD;AAED,qBAAa,eAAgB,SAAQ,SAAS;IAE1C,MAAM,SAAQ;IAEd,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,iBAAiB;CAgChD"}
|
6
types/Add-on/Align.d.ts
vendored
Normal file
6
types/Add-on/Align.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Align implements Command {
|
||||
exec(): Promise<void>;
|
||||
private getPoint;
|
||||
}
|
||||
//# sourceMappingURL=Align.d.ts.map
|
1
types/Add-on/Align.d.ts.map
Normal file
1
types/Add-on/Align.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Align.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Align.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAMnD,qBAAa,KAAM,YAAW,OAAO;IAE3B,IAAI;YAyFI,QAAQ;CAWzB"}
|
51
types/Add-on/ArcBoard/ArcBoardBuild.d.ts
vendored
51
types/Add-on/ArcBoard/ArcBoardBuild.d.ts
vendored
@@ -1,51 +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<number, [Vector3, Vector3]>;
|
||||
_CornerFuzzFactory: FuzzyFactory;
|
||||
_CornerSet: Set<number>;
|
||||
/**
|
||||
*
|
||||
* @returns MeshGeom EdgeGeom
|
||||
*/
|
||||
BuildMeshEdgeGeom(): [BufferGeometry, BufferGeometry];
|
||||
/** 生成大孔面 */
|
||||
BuildBigHoleFace(): BufferGeometry;
|
||||
private ParseCorner;
|
||||
ParseAllX_Map(xs: number[]): void;
|
||||
ParseAllX_Map_BigHole(xs: number[]): [FuzzyFactory, Map<number, [Vector3, Vector3]>];
|
||||
PosMap2ArcPos(p: Vector3, cacheFuzzXFactory?: FuzzyFactory, cache_X_PosDirMap?: Map<number, [Vector3, Vector3]>): void;
|
||||
}
|
||||
//# sourceMappingURL=ArcBoardBuild.d.ts.map
|
@@ -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,MAAM,EAAE,KAAK,EAErB,UAAU,GAAE,QAAgC,EAE5C,WAAW,GAAE,MAA0B,EACvC,QAAQ,gBAA0B;IAM9C,IAAI,UAAU,aAA+B;IAC7C,IAAI,UAAU,aAA+B;IAE7C,kBAAkB;IAOlB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,QAAQ;IAO7D,IAAI,aAAa,IAAI,OAAO,CAQ3B;IACD,IAAI,aAAa,IAAI,OAAO,CAM3B;IACD,cAAc;IAcd,IAAI,YAAY,mBAGf;IAED,IAAI,YAAY,mBAGf;IAED,gBAAgB;IAoChB,IAAI,YAAY,aAKf;IAED,IAAI,WAAW,WAMd;IAED,OAAO,CAAC,cAAc,CAAW;IACjC,IAAI,aAAa,aAahB;IAoDD,kBAAkB,eAA6B;IAC/C,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAW;IAE9D,kBAAkB,EAAE,YAAY,CAAC;IACjC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAExB;;;OAGG;IACH,iBAAiB,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC;IAgTrD,YAAY;IACZ,gBAAgB;IAyHhB,OAAO,CAAC,WAAW;IAWnB,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE;IA2C1B,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE;IAuClC,aAAa,CAAC,CAAC,EAAE,OAAO,EAAE,iBAAiB,eAA0B,EAAE,iBAAiB,kCAA0B;CAkBrH"}
|
26
types/Add-on/ArcBoard/ArcBoardFeeding.d.ts
vendored
26
types/Add-on/ArcBoard/ArcBoardFeeding.d.ts
vendored
@@ -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<number, ArcBoardOptions>, onlyVert?: boolean): IModeling[];
|
||||
//# sourceMappingURL=ArcBoardFeeding.d.ts.map
|
@@ -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"}
|
5
types/Add-on/Area.d.ts
vendored
Normal file
5
types/Add-on/Area.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Command_Area implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Area.d.ts.map
|
1
types/Add-on/Area.d.ts.map
Normal file
1
types/Add-on/Area.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Area.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Area.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,YAAa,YAAW,OAAO;IAElC,IAAI;CA2Bb"}
|
50
types/Add-on/Array.d.ts
vendored
Normal file
50
types/Add-on/Array.d.ts
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
import { Singleton } from '../Common/Singleton';
|
||||
import { Command } from '../Editor/CommandMachine';
|
||||
import { IBaseOption, IUiOption } from '../UI/Store/BoardInterface';
|
||||
export declare enum ArrayType {
|
||||
Rectangle = "R",
|
||||
Circle = "C"
|
||||
}
|
||||
export declare enum CirArrMethod {
|
||||
itemsAndAngle = 0,
|
||||
itemsAndBeAngle = 1,
|
||||
fillAngleAndBeAngle = 2
|
||||
}
|
||||
export declare enum Pick {
|
||||
centerPoint = 0,
|
||||
rowOffset = 2,
|
||||
colOffset = 3,
|
||||
rowAndColOffset = 7,
|
||||
arrayAngle = 4,
|
||||
fillAngle = 5,
|
||||
betweenAngle = 6
|
||||
}
|
||||
export interface ArrayOptioins extends IBaseOption {
|
||||
row: number;
|
||||
col: number;
|
||||
type: ArrayType;
|
||||
rowOffset: number;
|
||||
colOffset: number;
|
||||
arrayAngle: number;
|
||||
x: number;
|
||||
y: number;
|
||||
itemTotal: number;
|
||||
fillAngle: number;
|
||||
betweenAngle: number;
|
||||
method: CirArrMethod;
|
||||
isCorrect: boolean;
|
||||
}
|
||||
export declare class ArrayStore extends Singleton {
|
||||
protected m_UiOption: IUiOption<ArrayOptioins>;
|
||||
m_Option: ArrayOptioins;
|
||||
get UIOption(): IUiOption<ArrayOptioins>;
|
||||
HasInvailValue(): "" | "存在无效数值,请修正" | "项目间的角度不能超过填充角度" | "项目总数不能为1";
|
||||
Cancel(): void;
|
||||
OnOk(): void;
|
||||
_Return(state: number): void;
|
||||
}
|
||||
export declare class Command_Array implements Command {
|
||||
arrayStore: ArrayStore;
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Array.d.ts.map
|
1
types/Add-on/Array.d.ts.map
Normal file
1
types/Add-on/Array.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Array.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Array.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAKhD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAQnD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEpE,oBAAY,SAAS;IAEjB,SAAS,MAAM;IACf,MAAM,MAAM;CACf;AAED,oBAAY,YAAY;IAEpB,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,mBAAmB,IAAI;CAC1B;AACD,oBAAY,IAAI;IAEZ,WAAW,IAAI;IACf,SAAS,IAAI;IACb,SAAS,IAAI;IACb,eAAe,IAAI;IACnB,UAAU,IAAI;IACd,SAAS,IAAI;IACb,YAAY,IAAI;CACnB;AACD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAE9C,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACtB;AACD,qBAAa,UAAW,SAAQ,SAAS;IAErC,SAAS,CAAC,UAAU,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;IACnC,QAAQ,EAAE,aAAa,CAgBjC;IACF,IAAI,QAAQ,6BAKX;IACD,cAAc;IAYd,MAAM;IAIN,IAAI;IAIJ,OAAO,CAAC,KAAK,EAAE,MAAM;CAKxB;AACD,qBAAa,aAAc,YAAW,OAAO;IAEzC,UAAU,EAAE,UAAU,CAA4B;IAE5C,IAAI;CA4Pb"}
|
25
types/Add-on/AutoHoleFaceSetting.d.ts
vendored
Normal file
25
types/Add-on/AutoHoleFaceSetting.d.ts
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
import { IConfigOption } from "../UI/Components/Board/UserConfig";
|
||||
import { IConfigStore } from "../UI/Store/BoardStore";
|
||||
export declare class AutoHoleFaceSetting implements Command {
|
||||
store: AutoHoleFaceSettingStore;
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
declare class AutoHoleFaceSettingStore implements IConfigStore {
|
||||
configName: string;
|
||||
configsNames: string[];
|
||||
config: {
|
||||
option: {
|
||||
hight: number;
|
||||
};
|
||||
};
|
||||
InitOption(): void;
|
||||
SaveConfig(): {
|
||||
option: {
|
||||
hight: number;
|
||||
};
|
||||
};
|
||||
UpdateOption(conf: IConfigOption<any>): void;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=AutoHoleFaceSetting.d.ts.map
|
1
types/Add-on/AutoHoleFaceSetting.d.ts.map
Normal file
1
types/Add-on/AutoHoleFaceSetting.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AutoHoleFaceSetting.d.ts","sourceRoot":"","sources":["../../../src/Add-on/AutoHoleFaceSetting.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGtD,qBAAa,mBAAoB,YAAW,OAAO;IAE/C,KAAK,EAAE,wBAAwB,CAAC;IAC1B,IAAI;CAmDb;AAGD,cAAM,wBAAyB,YAAW,YAAY;IAElD,UAAU,SAAQ;IAClB,YAAY,WAAU;IACtB,MAAM;;;;MAIJ;IACF,UAAU;IAQV,UAAU;;;;;IAIV,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC;CAIxC"}
|
11
types/Add-on/Batch/BatchModifySealOrDrill.d.ts
vendored
Normal file
11
types/Add-on/Batch/BatchModifySealOrDrill.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class BatchModify implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class Command_EditBoardSealEdgeData implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class Command_EditBoardDrilEdgeData implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=BatchModifySealOrDrill.d.ts.map
|
1
types/Add-on/Batch/BatchModifySealOrDrill.d.ts.map
Normal file
1
types/Add-on/Batch/BatchModifySealOrDrill.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BatchModifySealOrDrill.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/Batch/BatchModifySealOrDrill.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAiCtD,qBAAa,WAAY,YAAW,OAAO;IAEjC,IAAI;CAgCb;AAGD,qBAAa,6BAA8B,YAAW,OAAO;IAEnD,IAAI;CAYb;AAGD,qBAAa,6BAA8B,YAAW,OAAO;IAEnD,IAAI;CAab"}
|
5
types/Add-on/Batch/FindModeingKnifes.d.ts
vendored
Normal file
5
types/Add-on/Batch/FindModeingKnifes.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class FindModeingKnifeRadius implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=FindModeingKnifes.d.ts.map
|
1
types/Add-on/Batch/FindModeingKnifes.d.ts.map
Normal file
1
types/Add-on/Batch/FindModeingKnifes.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"FindModeingKnifes.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/Batch/FindModeingKnifes.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAMtD,qBAAa,sBAAuB,YAAW,OAAO;IAE5C,IAAI;CAgCb"}
|
5
types/Add-on/BoardBatchCurtail.d.ts
vendored
Normal file
5
types/Add-on/BoardBatchCurtail.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class BoardBatchCurtail implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=BoardBatchCurtail.d.ts.map
|
1
types/Add-on/BoardBatchCurtail.d.ts.map
Normal file
1
types/Add-on/BoardBatchCurtail.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BoardBatchCurtail.d.ts","sourceRoot":"","sources":["../../../src/Add-on/BoardBatchCurtail.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AA0BnD,qBAAa,iBAAkB,YAAW,OAAO;IAEvC,IAAI;CAuJb"}
|
10
types/Add-on/BoardCutting/AutoCuttingReactor.d.ts
vendored
Normal file
10
types/Add-on/BoardCutting/AutoCuttingReactor.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Board } from "../../DatabaseServices/Entity/Board";
|
||||
export declare class AutoCuttingReactor {
|
||||
constructor();
|
||||
StartReactor(ents: Board[]): Promise<void>;
|
||||
}
|
||||
/**
|
||||
* 对绘制出来的板件自动切割其周围的板件
|
||||
*/
|
||||
export declare function AutoCutting(isRelevance: boolean): Promise<void>;
|
||||
//# sourceMappingURL=AutoCuttingReactor.d.ts.map
|
1
types/Add-on/BoardCutting/AutoCuttingReactor.d.ts.map
Normal file
1
types/Add-on/BoardCutting/AutoCuttingReactor.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AutoCuttingReactor.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/AutoCuttingReactor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAK5D,qBAAa,kBAAkB;;IAwBrB,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE;CAWnC;AAED;;GAEG;AACH,wBAAsB,WAAW,CAAC,WAAW,EAAE,OAAO,iBAUrD"}
|
19
types/Add-on/BoardCutting/CuttingByFace.d.ts
vendored
Normal file
19
types/Add-on/BoardCutting/CuttingByFace.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Vector3 } from "three";
|
||||
import { Entity } from "../../DatabaseServices/Entity/Entity";
|
||||
import { ExtrudeSolid, ExtureContour } from "../../DatabaseServices/Entity/Extrude";
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class CuttingByFace implements Command {
|
||||
exec(): Promise<void>;
|
||||
protected GetExtrudeContours(): Promise<{
|
||||
useCurvesMap?: Map<ExtureContour, Entity[]>;
|
||||
}>;
|
||||
setHeight(en: ExtrudeSolid, dist: number, oldPosition: Vector3): void;
|
||||
private GetKnifeRadius;
|
||||
private GetMeatsBoards;
|
||||
}
|
||||
export declare class CuttingByRectFace extends CuttingByFace {
|
||||
protected GetExtrudeContours(): Promise<{
|
||||
useCurvesMap?: Map<ExtureContour, Entity[]>;
|
||||
}>;
|
||||
}
|
||||
//# sourceMappingURL=CuttingByFace.d.ts.map
|
1
types/Add-on/BoardCutting/CuttingByFace.d.ts.map
Normal file
1
types/Add-on/BoardCutting/CuttingByFace.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CuttingByFace.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/CuttingByFace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,OAAO,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEpF,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAOtD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;cAkHM,kBAAkB;;;IAKlC,SAAS,CAAC,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO;YAShD,cAAc;YAiBd,cAAc;CA4C/B;AAED,qBAAa,iBAAkB,SAAQ,aAAa;cAEhC,kBAAkB,IAAI,OAAO,CAAC;QAAE,YAAY,CAAC,EAAE,GAAG,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC,CAAC;KAAE,CAAC;CAiBlG"}
|
9
types/Add-on/BoardCutting/CuttingPropsModal.d.ts
vendored
Normal file
9
types/Add-on/BoardCutting/CuttingPropsModal.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ReactElement } from 'react';
|
||||
import { IGrooveOption } from '../../UI/Store/BoardInterface';
|
||||
interface Props {
|
||||
option: IGrooveOption;
|
||||
}
|
||||
declare function CuttingPropsModal({ option }: Props): ReactElement;
|
||||
declare const _default: typeof CuttingPropsModal;
|
||||
export default _default;
|
||||
//# sourceMappingURL=CuttingPropsModal.d.ts.map
|
1
types/Add-on/BoardCutting/CuttingPropsModal.d.ts.map
Normal file
1
types/Add-on/BoardCutting/CuttingPropsModal.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CuttingPropsModal.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/CuttingPropsModal.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,UAAU,KAAK;IAEX,MAAM,EAAE,aAAa,CAAC;CACzB;AAOD,iBAAS,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG,YAAY,CA8C1D;;AAED,wBAA2C"}
|
3
types/Add-on/BoardCutting/CuttingUtils.d.ts
vendored
Normal file
3
types/Add-on/BoardCutting/CuttingUtils.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import { ExtrudeSolid } from "../../DatabaseServices/Entity/Extrude";
|
||||
export declare function CuttingBoard(orgBoard: ExtrudeSolid, knifBoards: ExtrudeSolid[]): ExtrudeSolid[];
|
||||
//# sourceMappingURL=CuttingUtils.d.ts.map
|
1
types/Add-on/BoardCutting/CuttingUtils.d.ts.map
Normal file
1
types/Add-on/BoardCutting/CuttingUtils.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CuttingUtils.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/CuttingUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAErE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CAK/F"}
|
5
types/Add-on/BoardCutting/CuttingUtils2.d.ts
vendored
Normal file
5
types/Add-on/BoardCutting/CuttingUtils2.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Board } from "../../DatabaseServices/Entity/Board";
|
||||
import { HardwareCompositeEntity } from "../../DatabaseServices/Hardware/HardwareCompositeEntity";
|
||||
export declare function CuttingBoardByBoard(meats: Board[], knifs: Board[], isRelevance?: boolean): void;
|
||||
export declare function CuttingBoardByHardware(meats: Board[], hardwares: HardwareCompositeEntity[]): Promise<void>;
|
||||
//# sourceMappingURL=CuttingUtils2.d.ts.map
|
1
types/Add-on/BoardCutting/CuttingUtils2.d.ts.map
Normal file
1
types/Add-on/BoardCutting/CuttingUtils2.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CuttingUtils2.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/CuttingUtils2.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAGlG,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,WAAW,UAAO,QA0DrF;AAED,wBAAsB,sBAAsB,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,uBAAuB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuEhH"}
|
5
types/Add-on/BoardCutting/DeleteRelevance.d.ts
vendored
Normal file
5
types/Add-on/BoardCutting/DeleteRelevance.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class DeleteRelevance implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=DeleteRelevance.d.ts.map
|
1
types/Add-on/BoardCutting/DeleteRelevance.d.ts.map
Normal file
1
types/Add-on/BoardCutting/DeleteRelevance.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DeleteRelevance.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/DeleteRelevance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBAAa,eAAgB,YAAW,OAAO;IAErC,IAAI;CA8Cb"}
|
8
types/Add-on/BoardCutting/HardwareCuttingReactor.d.ts
vendored
Normal file
8
types/Add-on/BoardCutting/HardwareCuttingReactor.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Board } from "../../DatabaseServices/Entity/Board";
|
||||
import { HardwareCompositeEntity } from "../../DatabaseServices/Hardware/HardwareCompositeEntity";
|
||||
export declare class HardwareCuttingReactor {
|
||||
EnableHardware: boolean;
|
||||
constructor();
|
||||
StartReactor(hardwares: HardwareCompositeEntity[], ents: Board[]): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=HardwareCuttingReactor.d.ts.map
|
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"HardwareCuttingReactor.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/HardwareCuttingReactor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAIlG,qBAAa,sBAAsB;IAE/B,cAAc,UAAQ;;IA2BhB,YAAY,CAAC,SAAS,EAAE,uBAAuB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;CAUzE"}
|
13
types/Add-on/BoardCutting/LinearCutting.d.ts
vendored
Normal file
13
types/Add-on/BoardCutting/LinearCutting.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Vector3 } from "three";
|
||||
import { Board } from "../../DatabaseServices/Entity/Board";
|
||||
import { ExtureContourCurve } from "../../DatabaseServices/Entity/Extrude";
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class LinearCutting implements Command {
|
||||
exec(): Promise<void>;
|
||||
protected SplitBoard(br: Board, cus: ExtureContourCurve[]): void;
|
||||
protected GetCuttingPoints(): Promise<Vector3[] | undefined>;
|
||||
}
|
||||
export declare class RectLinearCutting extends LinearCutting {
|
||||
protected GetCuttingPoints(): Promise<Vector3[] | undefined>;
|
||||
}
|
||||
//# sourceMappingURL=LinearCutting.d.ts.map
|
1
types/Add-on/BoardCutting/LinearCutting.d.ts.map
Normal file
1
types/Add-on/BoardCutting/LinearCutting.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"LinearCutting.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/LinearCutting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,OAAO,EAAE,MAAM,OAAO,CAAC;AAIhD,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAQtD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;IAwLV,SAAS,CAAC,UAAU,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE;cAoBzC,gBAAgB,IAAI,OAAO,CAAC,OAAO,EAAE,GAAG,SAAS,CAAC;CAwBrE;AAED,qBAAa,iBAAkB,SAAQ,aAAa;cAEhC,gBAAgB,IAAI,OAAO,CAAC,OAAO,EAAE,GAAG,SAAS,CAAC;CAgBrE"}
|
5
types/Add-on/BoardCutting/NonAssociativeCutting.d.ts
vendored
Normal file
5
types/Add-on/BoardCutting/NonAssociativeCutting.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class NonAssociativeCutting implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=NonAssociativeCutting.d.ts.map
|
1
types/Add-on/BoardCutting/NonAssociativeCutting.d.ts.map
Normal file
1
types/Add-on/BoardCutting/NonAssociativeCutting.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NonAssociativeCutting.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/NonAssociativeCutting.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAqBtD,qBAAa,qBAAsB,YAAW,OAAO;IAE3C,IAAI;CA4Hb"}
|
5
types/Add-on/BoardCutting/ReferenceCutting.d.ts
vendored
Normal file
5
types/Add-on/BoardCutting/ReferenceCutting.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class ReferenceCutting implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=ReferenceCutting.d.ts.map
|
1
types/Add-on/BoardCutting/ReferenceCutting.d.ts.map
Normal file
1
types/Add-on/BoardCutting/ReferenceCutting.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ReferenceCutting.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/ReferenceCutting.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAStD,qBAAa,gBAAiB,YAAW,OAAO;IAEtC,IAAI;CA2Jb"}
|
36
types/Add-on/BoardCutting/ReferenceCuttingModal.d.ts
vendored
Normal file
36
types/Add-on/BoardCutting/ReferenceCuttingModal.d.ts
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
import React = require("react");
|
||||
import { Singleton } from "../../Common/Singleton";
|
||||
import { IBaseOption, BoardType } from "../../UI/Store/BoardInterface";
|
||||
export declare enum CuttingOffset {
|
||||
Front = "front",
|
||||
Middle = "middle",
|
||||
Back = "back"
|
||||
}
|
||||
export interface ReferenceCuttingOptioins extends IBaseOption {
|
||||
boardType: BoardType;
|
||||
offset: number;
|
||||
halfThickness: number;
|
||||
CuttingPosSelected: CuttingOffset;
|
||||
}
|
||||
export declare class ReferenceCuttingStore extends Singleton {
|
||||
protected m_UiOption: any;
|
||||
m_Option: ReferenceCuttingOptioins;
|
||||
get UIOption(): import("../../UI/Store/BoardInterface").IUiOption<ReferenceCuttingOptioins>;
|
||||
Cancel(): void;
|
||||
OnOk(): void;
|
||||
_Return(state: number): void;
|
||||
HasInvailValue(): string;
|
||||
}
|
||||
export declare class ReferenceCuttingModal extends React.Component<{
|
||||
store: ReferenceCuttingStore;
|
||||
}, {}> {
|
||||
private uiOption;
|
||||
private handleChangeOffsetDir;
|
||||
private getOffsetKeyWord;
|
||||
private event;
|
||||
registerEvent(): void;
|
||||
UNSAFE_componentWillMount(): void;
|
||||
componentWillUnmount(): void;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
//# sourceMappingURL=ReferenceCuttingModal.d.ts.map
|
1
types/Add-on/BoardCutting/ReferenceCuttingModal.d.ts.map
Normal file
1
types/Add-on/BoardCutting/ReferenceCuttingModal.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ReferenceCuttingModal.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardCutting/ReferenceCuttingModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,QAAQ,OAAO,CAAC,CAAC;AAUhC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAGvE,oBAAY,aAAa;IAErB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;CAChB;AAMD,MAAM,WAAW,wBAAyB,SAAQ,WAAW;IAEzD,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,aAAa,CAAC;CACrC;AACD,qBAAa,qBAAsB,SAAQ,SAAS;IAEhD,SAAS,CAAC,UAAU,MAAC;IACT,QAAQ,EAAE,wBAAwB,CAK5C;IACF,IAAI,QAAQ,gFAGX;IACD,MAAM;IAIN,IAAI;IAIJ,OAAO,CAAC,KAAK,EAAE,MAAM;IAKrB,cAAc;CAIjB;AAED,qBAEa,qBAAsB,SAAQ,KAAK,CAAC,SAAS,CAAC;IAAE,KAAK,EAAE,qBAAqB,CAAC;CAAE,EAAE,EAAE,CAAC;IAC7F,OAAO,CAAC,QAAQ,CAAC;IACjB,OAAO,CAAC,qBAAqB,CAc3B;IACF,OAAO,CAAC,gBAAgB,CAWtB;IACF,OAAO,CAAC,KAAK,CAAW;IACxB,aAAa;IAqBb,yBAAyB;IAKzB,oBAAoB;IAKpB,MAAM;CAmET"}
|
9
types/Add-on/BoardCutting/SplitPolyline.d.ts
vendored
9
types/Add-on/BoardCutting/SplitPolyline.d.ts
vendored
@@ -1,9 +0,0 @@
|
||||
import { Polyline } from "../../DatabaseServices/Entity/Polyline";
|
||||
/**
|
||||
* 线性切割多线段
|
||||
* @param {Polyline} meatPl 被切割的曲线
|
||||
* @param {Polyline[]} knifePls 刀曲线
|
||||
* @return
|
||||
*/
|
||||
export declare function SplitPolyline(meatPl: Polyline, knifePls: Polyline[]): Polyline[];
|
||||
//# sourceMappingURL=SplitPolyline.d.ts.map
|
@@ -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;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAyDhF"}
|
5
types/Add-on/BoardEditor/ChangeBoardColorByPBFace.d.ts
vendored
Normal file
5
types/Add-on/BoardEditor/ChangeBoardColorByPBFace.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class Command_ChangeBoardColorByPBFace implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=ChangeBoardColorByPBFace.d.ts.map
|
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ChangeBoardColorByPBFace.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardEditor/ChangeBoardColorByPBFace.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBAAa,gCAAiC,YAAW,OAAO;IAEtD,IAAI;CAqBb"}
|
5
types/Add-on/BoardEditor/ClearBoard2DModeling.d.ts
vendored
Normal file
5
types/Add-on/BoardEditor/ClearBoard2DModeling.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class Command_ClearBoard2DModeling implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=ClearBoard2DModeling.d.ts.map
|
1
types/Add-on/BoardEditor/ClearBoard2DModeling.d.ts.map
Normal file
1
types/Add-on/BoardEditor/ClearBoard2DModeling.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ClearBoard2DModeling.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardEditor/ClearBoard2DModeling.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAItD,qBAAa,4BAA6B,YAAW,OAAO;IAElD,IAAI;CAsBb"}
|
25
types/Add-on/BoardEditor/SelectThinBehindBoard.d.ts
vendored
Normal file
25
types/Add-on/BoardEditor/SelectThinBehindBoard.d.ts
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
import { IConfigOption } from "../../UI/Components/Board/UserConfig";
|
||||
import { IConfigStore } from "../../UI/Store/BoardStore";
|
||||
export declare class SelectThinBehindBoard implements Command {
|
||||
store: SelectThinBehindBoardStore;
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
declare class SelectThinBehindBoardStore implements IConfigStore {
|
||||
configName: string;
|
||||
configsNames: string[];
|
||||
config: {
|
||||
option: {
|
||||
thickness: number;
|
||||
};
|
||||
};
|
||||
InitOption(): void;
|
||||
SaveConfig(): {
|
||||
option: {
|
||||
thickness: number;
|
||||
};
|
||||
};
|
||||
UpdateOption(conf: IConfigOption<any>): void;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=SelectThinBehindBoard.d.ts.map
|
1
types/Add-on/BoardEditor/SelectThinBehindBoard.d.ts.map
Normal file
1
types/Add-on/BoardEditor/SelectThinBehindBoard.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SelectThinBehindBoard.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardEditor/SelectThinBehindBoard.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAGtD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,qBAAa,qBAAsB,YAAW,OAAO;IAEjD,KAAK,EAAE,0BAA0B,CAAC;IAC5B,IAAI;CAmDb;AAGD,cAAM,0BAA2B,YAAW,YAAY;IAEpD,UAAU,SAAQ;IAClB,YAAY,WAAU;IACtB,MAAM;;;;MAIJ;IACF,UAAU;IAQV,UAAU;;;;;IAIV,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC;CAIxC"}
|
@@ -1,6 +1,6 @@
|
||||
import { BoardProcessOption } from "../../UI/Store/BoardInterface";
|
||||
import { CADFiler } from "../../DatabaseServices/CADFiler";
|
||||
import { I2DModeling, I3DModeling } from "../../DatabaseServices/Entity/Board";
|
||||
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;
|
||||
|
@@ -1 +1 @@
|
||||
{"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;AAE1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AAEvF,aAAa;AACb,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,QAoCjF;AAGD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,QAkDpG;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"}
|
||||
{"version":3,"file":"SerializeBoardData.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardEditor/SerializeBoardData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAa,MAAM,qCAAqC,CAAC;AAI1F,aAAa;AACb,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,QAoCjF;AAGD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,QAkDpG;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,QAkBnF;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,QA8BjG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,GAAG,EAAE,MAAM,QAwBjG"}
|
13
types/Add-on/BoardEditor/SetBoardLines.d.ts
vendored
Normal file
13
types/Add-on/BoardEditor/SetBoardLines.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
import { ComposingType, LinesType } from "../../UI/Store/BoardInterface";
|
||||
export declare class SetBoardLines implements Command {
|
||||
private lines;
|
||||
constructor(lines: LinesType);
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class SetComposingFace implements Command {
|
||||
private composingFace;
|
||||
constructor(composingFace: ComposingType);
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=SetBoardLines.d.ts.map
|
1
types/Add-on/BoardEditor/SetBoardLines.d.ts.map
Normal file
1
types/Add-on/BoardEditor/SetBoardLines.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SetBoardLines.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardEditor/SetBoardLines.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAEzE,qBAAa,aAAc,YAAW,OAAO;IAE7B,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,SAAS;IAE9B,IAAI;CAcb;AAED,qBAAa,gBAAiB,YAAW,OAAO;IAEhC,OAAO,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE1C,IAAI;CAcb"}
|
5
types/Add-on/BoardEditor/TextModifyTool.d.ts
vendored
Normal file
5
types/Add-on/BoardEditor/TextModifyTool.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class Command_TextModifyTool implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=TextModifyTool.d.ts.map
|
1
types/Add-on/BoardEditor/TextModifyTool.d.ts.map
Normal file
1
types/Add-on/BoardEditor/TextModifyTool.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TextModifyTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardEditor/TextModifyTool.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBAAa,sBAAuB,YAAW,OAAO;IAE5C,IAAI;CAmBb"}
|
8
types/Add-on/BoardEditor/UpdateBoardInfos.d.ts
vendored
Normal file
8
types/Add-on/BoardEditor/UpdateBoardInfos.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
import { Board } from "../../DatabaseServices/Entity/Board";
|
||||
import { IUpdateBoardInfosOption } from "../../UI/Components/Board/UpdateBoardInfointerface";
|
||||
export declare class UpdateBoardInfos implements Command {
|
||||
exec(): Promise<void>;
|
||||
static ModifyBr(br: Board, option: IUpdateBoardInfosOption): void;
|
||||
}
|
||||
//# sourceMappingURL=UpdateBoardInfos.d.ts.map
|
1
types/Add-on/BoardEditor/UpdateBoardInfos.d.ts.map
Normal file
1
types/Add-on/BoardEditor/UpdateBoardInfos.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"UpdateBoardInfos.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/BoardEditor/UpdateBoardInfos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAItD,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oDAAoD,CAAC;AAO7F,qBAAa,gBAAiB,YAAW,OAAO;IAEtC,IAAI;IAmCV,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,uBAAuB;CA+G7D"}
|
21
types/Add-on/BoardFindModify.d.ts
vendored
Normal file
21
types/Add-on/BoardFindModify.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class BoardFindModify implements Command {
|
||||
private isModifyHwMatrial;
|
||||
exec(): Promise<void>;
|
||||
private GetBoards;
|
||||
private PutSelectList;
|
||||
private FindBrs;
|
||||
private FilterBr;
|
||||
private FilterBrSize;
|
||||
private CompareIsEqual;
|
||||
private ModifyBrs;
|
||||
private ModifyBr;
|
||||
private FindMaxSizeBrs;
|
||||
private FindMinSizeBrs;
|
||||
private FindHaveSpiteSize;
|
||||
private GetBoardOption;
|
||||
private RemoveBoardModelingOrSpecialShape;
|
||||
private ModifyHardware;
|
||||
private FilterHardware;
|
||||
}
|
||||
//# sourceMappingURL=BoardFindModify.d.ts.map
|
1
types/Add-on/BoardFindModify.d.ts.map
Normal file
1
types/Add-on/BoardFindModify.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BoardFindModify.d.ts","sourceRoot":"","sources":["../../../src/Add-on/BoardFindModify.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAWnD,qBAAa,eAAgB,YAAW,OAAO;IAE3C,OAAO,CAAC,iBAAiB,CAAS;IAC5B,IAAI;YAqCI,SAAS;IAmBvB,OAAO,CAAC,aAAa;YAQP,OAAO;IA4CrB,OAAO,CAAC,QAAQ;IAwJhB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,cAAc;YAOR,SAAS;IAYvB,OAAO,CAAC,QAAQ;YA8JF,cAAc;YAKd,cAAc;YAKd,iBAAiB;YASjB,cAAc;YAiDd,iCAAiC;YAkBjC,cAAc;IA4B5B,OAAO,CAAC,cAAc;CAqCzB"}
|
10
types/Add-on/BoolOperation.d.ts
vendored
Normal file
10
types/Add-on/BoolOperation.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export declare class IntersectionOperation {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class UnionOperation extends IntersectionOperation {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class SubsractOperation {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=BoolOperation.d.ts.map
|
1
types/Add-on/BoolOperation.d.ts.map
Normal file
1
types/Add-on/BoolOperation.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BoolOperation.d.ts","sourceRoot":"","sources":["../../../src/Add-on/BoolOperation.ts"],"names":[],"mappings":"AAgCA,qBAAa,qBAAqB;IAExB,IAAI;CAKb;AACD,qBAAa,cAAe,SAAQ,qBAAqB;IAE/C,IAAI;CAKb;AACD,qBAAa,iBAAiB;IAEpB,IAAI;CAeb"}
|
5
types/Add-on/Break.d.ts
vendored
Normal file
5
types/Add-on/Break.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Command_Break implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Break.d.ts.map
|
1
types/Add-on/Break.d.ts.map
Normal file
1
types/Add-on/Break.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Break.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Break.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;CA4Fb"}
|
5
types/Add-on/BuyMaterial.d.ts
vendored
Normal file
5
types/Add-on/BuyMaterial.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class BuyMaterial implements Command {
|
||||
exec(): void;
|
||||
}
|
||||
//# sourceMappingURL=BuyMaterial.d.ts.map
|
1
types/Add-on/BuyMaterial.d.ts.map
Normal file
1
types/Add-on/BuyMaterial.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BuyMaterial.d.ts","sourceRoot":"","sources":["../../../src/Add-on/BuyMaterial.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,WAAY,YAAW,OAAO;IAEvC,IAAI;CAIP"}
|
7
types/Add-on/ChangeColor.d.ts
vendored
Normal file
7
types/Add-on/ChangeColor.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class ChangeColor implements Command {
|
||||
private color;
|
||||
constructor(color: number);
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=ChangeColor.d.ts.map
|
1
types/Add-on/ChangeColor.d.ts.map
Normal file
1
types/Add-on/ChangeColor.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ChangeColor.d.ts","sourceRoot":"","sources":["../../../src/Add-on/ChangeColor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAInD,qBAAa,WAAY,YAAW,OAAO;IAE3B,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,MAAM;IAI3B,IAAI;CAYb"}
|
44
types/Add-on/ChangeColorByBoardMaterial.d.ts
vendored
Normal file
44
types/Add-on/ChangeColorByBoardMaterial.d.ts
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
import * as React from 'react';
|
||||
import { Board } from "../DatabaseServices/Entity/Board";
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
import { IConfigOption } from '../UI/Components/Board/UserConfig';
|
||||
import { IConfigStore } from '../UI/Store/BoardStore';
|
||||
export declare class ChangeColorByMaterial implements Command {
|
||||
store: CalcBrThicknessConfigStore;
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
interface BoardColorMaterialMapDialogProps {
|
||||
data: {
|
||||
mtl: string;
|
||||
brs: Board[];
|
||||
color: number;
|
||||
}[];
|
||||
}
|
||||
export declare class BoardColorMaterialMapDialog extends React.Component<BoardColorMaterialMapDialogProps, {}> {
|
||||
selectIndex: number;
|
||||
removeAop: Function;
|
||||
componentDidMount(): void;
|
||||
componentWillUnmount(): void;
|
||||
render(): JSX.Element;
|
||||
private click;
|
||||
}
|
||||
declare class CalcBrThicknessConfigStore implements IConfigStore {
|
||||
private static _SingleInstance;
|
||||
static GetInstance(): CalcBrThicknessConfigStore;
|
||||
configName: string;
|
||||
configsNames: string[];
|
||||
config: {
|
||||
option: {
|
||||
CalcBoardThickness: boolean;
|
||||
};
|
||||
};
|
||||
InitOption(): void;
|
||||
SaveConfig(): {
|
||||
option: {
|
||||
CalcBoardThickness: boolean;
|
||||
};
|
||||
};
|
||||
UpdateOption(conf: IConfigOption<any>): void;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ChangeColorByBoardMaterial.d.ts.map
|
1
types/Add-on/ChangeColorByBoardMaterial.d.ts.map
Normal file
1
types/Add-on/ChangeColorByBoardMaterial.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ChangeColorByBoardMaterial.d.ts","sourceRoot":"","sources":["../../../src/Add-on/ChangeColorByBoardMaterial.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAKnD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAGlE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGtD,qBAAa,qBAAsB,YAAW,OAAO;IAEjD,KAAK,EAAE,0BAA0B,CAAC;IAC5B,IAAI;CAgFb;AAED,UAAU,gCAAgC;IAEtC,IAAI,EAAE;QACF,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,KAAK,EAAE,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACjB,EAAE,CAAC;CACP;AAGD,qBACa,2BAA4B,SAAQ,KAAK,CAAC,SAAS,CAAC,gCAAgC,EAAE,EAAE,CAAC;IAEtF,WAAW,EAAE,MAAM,CAAM;IACrC,SAAS,EAAE,QAAQ,CAAC;IACpB,iBAAiB;IAyBjB,oBAAoB;IAKb,MAAM;IA6Bb,OAAO,CAAC,KAAK,CAMX;CACL;AAID,cAAM,0BAA2B,YAAW,YAAY;IAEpD,OAAO,CAAC,MAAM,CAAC,eAAe,CAA6B;IAC3D,MAAM,CAAC,WAAW,IAAI,0BAA0B;IAOhD,UAAU,SAAQ;IAClB,YAAY,WAAU;IACtB,MAAM;;;;MAIJ;IACF,UAAU;IAQV,UAAU;;;;;IAIV,YAAY,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC;CAIxC"}
|
10
types/Add-on/CheckHoles.d.ts
vendored
Normal file
10
types/Add-on/CheckHoles.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class CheckHoles implements Command {
|
||||
exec(): Promise<void>;
|
||||
/**
|
||||
* 存在通孔
|
||||
*/
|
||||
private IsThough;
|
||||
private IsCollsion;
|
||||
}
|
||||
//# sourceMappingURL=CheckHoles.d.ts.map
|
1
types/Add-on/CheckHoles.d.ts.map
Normal file
1
types/Add-on/CheckHoles.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CheckHoles.d.ts","sourceRoot":"","sources":["../../../src/Add-on/CheckHoles.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAQnD,qBAAa,UAAW,YAAW,OAAO;IAEhC,IAAI;IAyIV;;OAEG;IACH,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,UAAU;CAgBrB"}
|
7
types/Add-on/CheckModeling.d.ts
vendored
Normal file
7
types/Add-on/CheckModeling.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class CheckModeling implements Command {
|
||||
res: Function;
|
||||
exec(): Promise<void>;
|
||||
Wait(): Promise<unknown>;
|
||||
}
|
||||
//# sourceMappingURL=CheckModeling.d.ts.map
|
1
types/Add-on/CheckModeling.d.ts.map
Normal file
1
types/Add-on/CheckModeling.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CheckModeling.d.ts","sourceRoot":"","sources":["../../../src/Add-on/CheckModeling.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AASnD,qBAAa,aAAc,YAAW,OAAO;IAEzC,GAAG,EAAE,QAAQ,CAAC;IACR,IAAI;IA0DV,IAAI;CAIP"}
|
20
types/Add-on/CombinatAttributeBrush.d.ts
vendored
Normal file
20
types/Add-on/CombinatAttributeBrush.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import * as React from 'react';
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
interface IBrushOption {
|
||||
all: boolean;
|
||||
roomName: boolean;
|
||||
cabName: boolean;
|
||||
name: boolean;
|
||||
}
|
||||
export declare class CombinatAttributeBrush implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class BrushModal extends React.Component<{
|
||||
option: IBrushOption;
|
||||
}> {
|
||||
render(): JSX.Element;
|
||||
private ok;
|
||||
private cancel;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=CombinatAttributeBrush.d.ts.map
|
1
types/Add-on/CombinatAttributeBrush.d.ts.map
Normal file
1
types/Add-on/CombinatAttributeBrush.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CombinatAttributeBrush.d.ts","sourceRoot":"","sources":["../../../src/Add-on/CombinatAttributeBrush.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAenD,UAAU,YAAY;IAElB,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;CACjB;AAED,qBAAa,sBAAuB,YAAW,OAAO;IAE5C,IAAI;CA8Eb;AASD,qBACa,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC;IAAE,MAAM,EAAE,YAAY,CAAC;CAAE,CAAC;IAC/D,MAAM;IA2Bb,OAAO,CAAC,EAAE,CAKR;IACF,OAAO,CAAC,MAAM,CAGZ;CACL"}
|
9
types/Add-on/CommandFeeding.d.ts
vendored
Normal file
9
types/Add-on/CommandFeeding.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class FeedingCommand implements Command {
|
||||
exec(): Promise<void>;
|
||||
private DrawHole;
|
||||
private TestModeling;
|
||||
private DrawOriginModeling;
|
||||
private DateText;
|
||||
}
|
||||
//# sourceMappingURL=CommandFeeding.d.ts.map
|
1
types/Add-on/CommandFeeding.d.ts.map
Normal file
1
types/Add-on/CommandFeeding.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CommandFeeding.d.ts","sourceRoot":"","sources":["../../../src/Add-on/CommandFeeding.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAOnD,qBAAa,cAAe,YAAW,OAAO;IAEpC,IAAI;IA8EV,OAAO,CAAC,QAAQ;IA8BhB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,kBAAkB;IAqB1B,OAAO,CAAC,QAAQ;CAOnB"}
|
5
types/Add-on/Command_CombineEntity.d.ts
vendored
Normal file
5
types/Add-on/Command_CombineEntity.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Command_CombineEntity implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Command_CombineEntity.d.ts.map
|
1
types/Add-on/Command_CombineEntity.d.ts.map
Normal file
1
types/Add-on/Command_CombineEntity.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Command_CombineEntity.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Command_CombineEntity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAInD,qBAAa,qBAAsB,YAAW,OAAO;IAE3C,IAAI;CAgBb"}
|
5
types/Add-on/Command_CommandPanel.d.ts
vendored
Normal file
5
types/Add-on/Command_CommandPanel.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Command_CommandPanel implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Command_CommandPanel.d.ts.map
|
1
types/Add-on/Command_CommandPanel.d.ts.map
Normal file
1
types/Add-on/Command_CommandPanel.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Command_CommandPanel.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Command_CommandPanel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAKnD,qBAAa,oBAAqB,YAAW,OAAO;IAE1C,IAAI;CAMb"}
|
5
types/Add-on/Command_ExportObj.d.ts
vendored
Normal file
5
types/Add-on/Command_ExportObj.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from './../Editor/CommandMachine';
|
||||
export declare class Command_ExportObj implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Command_ExportObj.d.ts.map
|
1
types/Add-on/Command_ExportObj.d.ts.map
Normal file
1
types/Add-on/Command_ExportObj.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Command_ExportObj.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Command_ExportObj.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAIrD,qBAAa,iBAAkB,YAAW,OAAO;IAEvC,IAAI;CAUb"}
|
8
types/Add-on/Command_Option.d.ts
vendored
Normal file
8
types/Add-on/Command_Option.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
import { EOptionTabId } from "../UI/Components/Modal/OptionModal/ConfigDialog";
|
||||
export declare class Command_Options implements Command {
|
||||
private selectedTabId;
|
||||
constructor(selectedTabId: EOptionTabId);
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Command_Option.d.ts.map
|
1
types/Add-on/Command_Option.d.ts.map
Normal file
1
types/Add-on/Command_Option.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Command_Option.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Command_Option.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAA6B,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAE1G,qBAAa,eAAgB,YAAW,OAAO;IAE/B,OAAO,CAAC,aAAa;gBAAb,aAAa,EAAE,YAAY;IACzC,IAAI;CAKb"}
|
6
types/Add-on/Command_Purge.d.ts
vendored
Normal file
6
types/Add-on/Command_Purge.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Command_Purge implements Command {
|
||||
NoHistory: boolean;
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Command_Purge.d.ts.map
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user