Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
820a28b39a |
@@ -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
4860
api.cjs.js
4860
api.cjs.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
25204
api.esm.js
25204
api.esm.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "webcad_ue4_api",
|
||||
"version": "0.3.12",
|
||||
"version": "0.3.13",
|
||||
"description": "",
|
||||
"main": "api.esm.js",
|
||||
"module": "api.esm.js",
|
||||
|
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/ACAD/DxfEntityConvert.d.ts
vendored
Normal file
5
types/Add-on/ACAD/DxfEntityConvert.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { IDxf, IEntity } from "dxf-parser";
|
||||
import { Entity } from "../../DatabaseServices/Entity/Entity";
|
||||
export declare function Dxf2Entitys(dxfstr: string): Entity[];
|
||||
export declare function Conver2WebCADEntity(en: IEntity, doc: IDxf, ents: Entity[]): void;
|
||||
//# sourceMappingURL=DxfEntityConvert.d.ts.map
|
1
types/Add-on/ACAD/DxfEntityConvert.d.ts.map
Normal file
1
types/Add-on/ACAD/DxfEntityConvert.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DxfEntityConvert.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ACAD/DxfEntityConvert.ts"],"names":[],"mappings":"AAAA,OAAkB,EAA+C,IAAI,EAAkB,OAAO,EAAyG,MAAM,YAAY,CAAC;AAU1N,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAY9D,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,YAQzC;AAkBD,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAmShF"}
|
4
types/Add-on/ACAD/Entity2DxfEntity.d.ts
vendored
Normal file
4
types/Add-on/ACAD/Entity2DxfEntity.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
import { AngularDimLines, Arc as DxfArc, ArcDimension as DxfArcDimension, Circle as DxfCircle, DiameterDimension as DxfDiameterDimension, DxfWriter, Ellipse as DxfEllipse, Insert, Line as DxfLine, LinearDimension as DxfLinearDimension, LWPolyline, RadialDimension, Text as DxfText } from "dxf-write";
|
||||
import { Entity } from "../../DatabaseServices/Entity/Entity";
|
||||
export declare function Conver2DxfEntity(e: Entity, dxf: DxfWriter, blkName?: string): DxfLine | DxfArc | DxfCircle | LWPolyline | DxfEllipse | DxfLinearDimension | AngularDimLines | DxfDiameterDimension | RadialDimension | DxfArcDimension | Insert | DxfText;
|
||||
//# sourceMappingURL=Entity2DxfEntity.d.ts.map
|
1
types/Add-on/ACAD/Entity2DxfEntity.d.ts.map
Normal file
1
types/Add-on/ACAD/Entity2DxfEntity.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Entity2DxfEntity.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ACAD/Entity2DxfEntity.ts"],"names":[],"mappings":"AAAA,OACA,EACI,eAAe,EAAE,GAAG,IAAI,MAAM,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,IAAI,SAAS,EAAuB,iBAAiB,IAAI,oBAAoB,EACpJ,SAAS,EAAE,OAAO,IAAI,UAAU,EAAe,MAAM,EAAqC,IAAI,IAAI,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAoB,UAAU,EAAqB,eAAe,EAAoB,IAAI,IAAI,OAAO,EACxP,MAAM,WAAW,CAAC;AAoBnB,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAkB9D,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,MAAM,+KA6Q3E"}
|
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":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAQnD,qBAAa,kBAAmB,YAAW,OAAO;IAExC,IAAI;CA0Eb"}
|
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 { Board } from "../DatabaseServices/Entity/Board";
|
||||
import { Polyline } from "../DatabaseServices/Entity/Polyline";
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
import { PromptPointResult } from "../Editor/PromptResult";
|
||||
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":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAgB,MAAM,wBAAwB,CAAC;AAGzE,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"}
|
2
types/Add-on/AdjustUCS.d.ts
vendored
Normal file
2
types/Add-on/AdjustUCS.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function AdjustUCS(): void;
|
||||
//# sourceMappingURL=AdjustUCS.d.ts.map
|
1
types/Add-on/AdjustUCS.d.ts.map
Normal file
1
types/Add-on/AdjustUCS.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AdjustUCS.d.ts","sourceRoot":"","sources":["../../../src/Add-on/AdjustUCS.ts"],"names":[],"mappings":"AAKA,wBAAgB,SAAS,SAaxB"}
|
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"}
|
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/OptionInterface/IOptionInterface";
|
||||
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":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAKhD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAQnD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAEtF,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/UserConfigComponent";
|
||||
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":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAItD,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"}
|
6
types/Add-on/BackgroundSwitching.d.ts
vendored
Normal file
6
types/Add-on/BackgroundSwitching.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class BackgroundSwitching implements Command {
|
||||
Transparency: true;
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=BackgroundSwitching.d.ts.map
|
1
types/Add-on/BackgroundSwitching.d.ts.map
Normal file
1
types/Add-on/BackgroundSwitching.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BackgroundSwitching.d.ts","sourceRoot":"","sources":["../../../src/Add-on/BackgroundSwitching.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,qBAAa,mBAAoB,YAAW,OAAO;IAE/C,YAAY,EAAE,IAAI,CAAC;IACb,IAAI;CASb"}
|
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":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAgCtD,qBAAa,WAAY,YAAW,OAAO;IAEjC,IAAI;CAoCb;AAGD,qBAAa,6BAA8B,YAAW,OAAO;IAEnD,IAAI;CAoBb;AAGD,qBAAa,6BAA8B,YAAW,OAAO;IAEnD,IAAI;CAYb"}
|
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/BatchModifyPanel.d.ts
vendored
Normal file
5
types/Add-on/BatchModifyPanel.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class BatchModifyPanel implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=BatchModifyPanel.d.ts.map
|
1
types/Add-on/BatchModifyPanel.d.ts.map
Normal file
1
types/Add-on/BatchModifyPanel.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BatchModifyPanel.d.ts","sourceRoot":"","sources":["../../../src/Add-on/BatchModifyPanel.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAOnD,qBAAa,gBAAiB,YAAW,OAAO;IAEtC,IAAI;CAwFb"}
|
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":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AA8BnD,qBAAa,iBAAkB,YAAW,OAAO;IAEvC,IAAI;CA2Qb"}
|
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, needRelevanceHardware?: 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":"AAGA,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,EAAE,qBAAqB,UAAQ,iBAkBpF"}
|
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 { ExtrudeContour, ExtrudeSolid } from "../../DatabaseServices/Entity/Extrude";
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class CuttingByFace implements Command {
|
||||
exec(): Promise<void>;
|
||||
protected GetExtrudeContours(): Promise<{
|
||||
useCurvesMap?: Map<ExtrudeContour, Entity[]>;
|
||||
}>;
|
||||
setHeight(en: ExtrudeSolid, dist: number, oldPosition: Vector3): void;
|
||||
private GetKnifeRadius;
|
||||
private GetMeatsBoards;
|
||||
}
|
||||
export declare class CuttingByRectFace extends CuttingByFace {
|
||||
protected GetExtrudeContours(): Promise<{
|
||||
useCurvesMap?: Map<ExtrudeContour, 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,cAAc,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAErF,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAOtD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;cAkGM,kBAAkB;;;IAKlC,SAAS,CAAC,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO;YAShD,cAAc;YAiBd,cAAc;CAgC/B;AAED,qBAAa,iBAAkB,SAAQ,aAAa;cAEhC,kBAAkB,IAAI,OAAO,CAAC;QAAE,YAAY,CAAC,EAAE,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,CAAC,CAAC;KAAE,CAAC;CAgBnG"}
|
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/OptionInterface/IOptionInterface";
|
||||
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,iDAAiD,CAAC;AAEhF,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: Set<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":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAGlG,qBAAa,sBAAsB;IAE/B,cAAc,UAAQ;;IA4BhB,YAAY,CAAC,SAAS,EAAE,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC;CAU5E"}
|
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 { ExtrudeContourCurve } from "../../DatabaseServices/Entity/Extrude";
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class LinearCutting implements Command {
|
||||
exec(): Promise<void>;
|
||||
protected SplitBoard(br: Board, cus: ExtrudeContourCurve[]): 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":"AACA,OAAO,EAAkB,OAAO,EAAE,MAAM,OAAO,CAAC;AAIhD,OAAO,EAAE,KAAK,EAAe,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAE5E,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAStD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;IA+LV,SAAS,CAAC,UAAU,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE;cA2B1C,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;CAerE"}
|
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":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAetD,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":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAQtD,qBAAa,gBAAiB,YAAW,OAAO;IAEtC,IAAI;CA+Jb"}
|
37
types/Add-on/BoardCutting/ReferenceCuttingModal.d.ts
vendored
Normal file
37
types/Add-on/BoardCutting/ReferenceCuttingModal.d.ts
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
import * as React from 'react';
|
||||
import { Singleton } from "../../Common/Singleton";
|
||||
import { BoardType } from "../../DatabaseServices/Entity/BoardInterface";
|
||||
import { IBaseOption } from "../../UI/Store/OptionInterface/IOptionInterface";
|
||||
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/OptionInterface/IOptionInterface").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":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAIzE,OAAO,EAAE,WAAW,EAAE,MAAM,iDAAiD,CAAC;AAE9E,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,kGAGX;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"}
|
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":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAItD,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/UserConfigComponent";
|
||||
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":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAGtD,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,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"}
|
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 { ComposingType, LinesType } from "../../DatabaseServices/Entity/BoardInterface";
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
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,aAAa,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAGtD,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 { Board } from "../../DatabaseServices/Entity/Board";
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
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":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAwB,MAAM,oDAAoD,CAAC;AASnH,qBAAa,gBAAiB,YAAW,OAAO;IAEtC,IAAI;IA6EV,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,uBAAuB;CA2H7D"}
|
26
types/Add-on/BoardFindModify.d.ts
vendored
Normal file
26
types/Add-on/BoardFindModify.d.ts
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
import { ECompareType } from "../UI/Store/BoardFindInterface";
|
||||
export declare class BoardFindModify implements Command {
|
||||
private isModifyHwMatrial;
|
||||
exec(): Promise<void>;
|
||||
private GetBoards;
|
||||
private PutSelectList;
|
||||
private FindBrs;
|
||||
private FilterBr;
|
||||
private FilterBrSize;
|
||||
private ModifyBrs;
|
||||
private ModifyBr;
|
||||
private FindMaxSizeBrs;
|
||||
private FindMinSizeBrs;
|
||||
private FindHaveSpiteSize;
|
||||
private GetBoardOption;
|
||||
private GetHardWareOption;
|
||||
private RemoveBoardModelingOrSpecialShape;
|
||||
private ModifyHardware;
|
||||
private FilterHardware;
|
||||
}
|
||||
/**
|
||||
* @param {(string[] | number[])} [values] 多个匹配项 目前只用在模糊匹配
|
||||
*/
|
||||
export declare function CompareIsEqual(brValue: string | number, value: string | number, type: ECompareType, values?: string[]): boolean;
|
||||
//# 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;AAMnD,OAAO,EAAc,YAAY,EAA+C,MAAM,gCAAgC,CAAC;AAMvH,qBAAa,eAAgB,YAAW,OAAO;IAE3C,OAAO,CAAC,iBAAiB,CAAS;IAC5B,IAAI;YAyCI,SAAS;IAmBvB,OAAO,CAAC,aAAa;YAQP,OAAO;IA2CrB,OAAO,CAAC,QAAQ;IAwJhB,OAAO,CAAC,YAAY;YAiBN,SAAS;IAYvB,OAAO,CAAC,QAAQ;YAuKF,cAAc;YAKd,cAAc;YAKd,iBAAiB;YASjB,cAAc;YA8Dd,iBAAiB;YAcjB,iCAAiC;YAyBjC,cAAc;IA+B5B,OAAO,CAAC,cAAc;CAkDzB;AAOD;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,WAmCrH"}
|
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":"AAoCA,qBAAa,qBAAqB;IAExB,IAAI;CAKb;AACD,qBAAa,cAAe,SAAQ,qBAAqB;IAE/C,IAAI;CAKb;AACD,qBAAa,iBAAiB;IAEpB,IAAI;CAeb"}
|
8
types/Add-on/Break.d.ts
vendored
Normal file
8
types/Add-on/Break.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Command_Break implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class Command_BreakAll 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":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAKnD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;CAmGb;AAED,qBAAa,gBAAiB,YAAW,OAAO;IAEtC,IAAI;CAIb"}
|
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"}
|
17
types/Add-on/CameraSnapshootCMD.d.ts
vendored
Normal file
17
types/Add-on/CameraSnapshootCMD.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Command_CameraSnapshootSave implements Command {
|
||||
Transparency: boolean;
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class Command_CameraSnapshootSaveIndex implements Command {
|
||||
private _SaveIndex;
|
||||
constructor(_SaveIndex: number);
|
||||
Transparency: boolean;
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class Command_CameraSnapshootRestore implements Command {
|
||||
private _Index;
|
||||
constructor(_Index: number);
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=CameraSnapshootCMD.d.ts.map
|
1
types/Add-on/CameraSnapshootCMD.d.ts.map
Normal file
1
types/Add-on/CameraSnapshootCMD.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CameraSnapshootCMD.d.ts","sourceRoot":"","sources":["../../../src/Add-on/CameraSnapshootCMD.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAKnD,qBAAa,2BAA4B,YAAW,OAAO;IAEvD,YAAY,UAAQ;IACd,IAAI;CASb;AAGD,qBAAa,gCAAiC,YAAW,OAAO;IAEhD,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,MAAM;IACtC,YAAY,UAAQ;IACd,IAAI;CAsBb;AAGD,qBAAa,8BAA+B,YAAW,OAAO;IAE9C,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAC5B,IAAI;CAMb"}
|
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"}
|
12
types/Add-on/ChangeColorByBoard/BoardInfoSelectPanel.d.ts
vendored
Normal file
12
types/Add-on/ChangeColorByBoard/BoardInfoSelectPanel.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from "react";
|
||||
import "./BoardInfoSelectPanel.less";
|
||||
import { ChangeColorByBoardMaterialStore } from "./CalcBrThicknessConfigStore";
|
||||
export declare class BoardInfoSelectPanel extends React.Component<{
|
||||
store: ChangeColorByBoardMaterialStore;
|
||||
}, {}> {
|
||||
_RemoveFun: Function;
|
||||
componentDidMount(): void;
|
||||
componentWillUnmount(): void;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
//# sourceMappingURL=BoardInfoSelectPanel.d.ts.map
|
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BoardInfoSelectPanel.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ChangeColorByBoard/BoardInfoSelectPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,qBACa,oBAAqB,SAAQ,KAAK,CAAC,SAAS,CAAC;IAAE,KAAK,EAAE,+BAA+B,CAAC;CAAE,EAAE,EAAE,CAAC;IAEtG,UAAU,EAAE,QAAQ,CAAC;IAErB,iBAAiB;IAUjB,oBAAoB;IAKpB,MAAM;CAwDT"}
|
14
types/Add-on/ChangeColorByBoard/CalcBrThicknessConfigStore.d.ts
vendored
Normal file
14
types/Add-on/ChangeColorByBoard/CalcBrThicknessConfigStore.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { IConfigOption } from "../../UI/Components/Board/UserConfigComponent";
|
||||
import { IConfigStore } from "../../UI/Store/BoardStore";
|
||||
import { ChangeColorByBoardMaterialOption } from "../../UI/Store/OptionInterface/IOptionInterface";
|
||||
export declare class ChangeColorByBoardMaterialStore implements IConfigStore {
|
||||
configName: string;
|
||||
SaveConfig(): IConfigOption<import("../../UI/Store/OptionInterface/IOptionInterface").AnyObject>;
|
||||
m_Option: ChangeColorByBoardMaterialOption;
|
||||
configsNames: string[];
|
||||
InitOption(): void;
|
||||
UpdateOption(cof: IConfigOption<ChangeColorByBoardMaterialOption>): void;
|
||||
private static _SingleInstance;
|
||||
static GetInstance(): ChangeColorByBoardMaterialStore;
|
||||
}
|
||||
//# sourceMappingURL=CalcBrThicknessConfigStore.d.ts.map
|
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CalcBrThicknessConfigStore.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ChangeColorByBoard/CalcBrThicknessConfigStore.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AAEnG,qBAAa,+BAAgC,YAAW,YAAY;IAEpD,UAAU,SAAQ;IAC9B,UAAU;IAQE,QAAQ,EAAE,gCAAgC,CAAkD;IAC5F,YAAY,EAAE,MAAM,EAAE,CAAM;IACxC,UAAU;IAIV,YAAY,CAAC,GAAG,EAAE,aAAa,CAAC,gCAAgC,CAAC;IAKjE,OAAO,CAAC,MAAM,CAAC,eAAe,CAAkC;IAChE,MAAM,CAAC,WAAW,IAAI,+BAA+B;CAMxD"}
|
23
types/Add-on/ChangeColorByBoard/ChangeColorByMaterial.d.ts
vendored
Normal file
23
types/Add-on/ChangeColorByBoard/ChangeColorByMaterial.d.ts
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import * as React from 'react';
|
||||
import { Board } from "../../DatabaseServices/Entity/Board";
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class ChangeColorByMaterial implements Command {
|
||||
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;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ChangeColorByMaterial.d.ts.map
|
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ChangeColorByMaterial.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ChangeColorByBoard/ChangeColorByMaterial.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAkB,MAAM,6BAA6B,CAAC;AAUtE,qBAAa,qBAAsB,YAAW,OAAO;IAE3C,IAAI;CAqFb;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;IA+BjB,oBAAoB;IAKb,MAAM;IA8Bb,OAAO,CAAC,KAAK,CAMX;CACL"}
|
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":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAMnD,qBAAa,aAAc,YAAW,OAAO;IAEzC,GAAG,EAAE,QAAQ,CAAC;IACR,IAAI;IA0DV,IAAI;CAIP"}
|
8
types/Add-on/Cmd_Freeze.d.ts
vendored
Normal file
8
types/Add-on/Cmd_Freeze.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Cmd_Freeze implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class Cmd_UnFreeze implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Cmd_Freeze.d.ts.map
|
1
types/Add-on/Cmd_Freeze.d.ts.map
Normal file
1
types/Add-on/Cmd_Freeze.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Cmd_Freeze.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Cmd_Freeze.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAKnD,qBAAa,UAAW,YAAW,OAAO;IAEhC,IAAI;CAWb;AAGD,qBAAa,YAAa,YAAW,OAAO;IAElC,IAAI;CAeb"}
|
8
types/Add-on/Cmd_VisibleInRender.d.ts
vendored
Normal file
8
types/Add-on/Cmd_VisibleInRender.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
export declare class Cmd_VisibleInRender implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
export declare class Cmd_UnVisibleInRender implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Cmd_VisibleInRender.d.ts.map
|
1
types/Add-on/Cmd_VisibleInRender.d.ts.map
Normal file
1
types/Add-on/Cmd_VisibleInRender.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Cmd_VisibleInRender.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Cmd_VisibleInRender.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAInD,qBAAa,mBAAoB,YAAW,OAAO;IAEzC,IAAI;CAcb;AAED,qBAAa,qBAAsB,YAAW,OAAO;IAE3C,IAAI;CAeb"}
|
22
types/Add-on/CombinatAttributeBrush.d.ts
vendored
Normal file
22
types/Add-on/CombinatAttributeBrush.d.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import * as React from 'react';
|
||||
import { Command } from "../Editor/CommandMachine";
|
||||
interface IBrushOption {
|
||||
all: boolean;
|
||||
roomName: boolean;
|
||||
cabName: boolean;
|
||||
name: boolean;
|
||||
factory: boolean;
|
||||
comments: 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
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user