同步最新的源代码

This commit is contained in:
ChenX 2023-02-17 09:40:24 +08:00
parent 6c7fce6930
commit 8f005232a8
229 changed files with 1036 additions and 436 deletions

View File

@ -198,6 +198,7 @@ class IHostApplicationServices {
this.ShowHistoryLog = true;
this.Physical2EdgeColor = 7; //真实视图带线框的线框颜色 默认白色
this.ConceptualEdgeColor = 7; //概念线框的颜色
this.ConceptualOpacity = 1; //概念透明的透明度
this.DrawWallBottomFace = false; //绘制底面
//#region _RenderType 渲染类型
this._renderType = exports.RenderType.Wireframe;
@ -263,6 +264,9 @@ __decorate([
__decorate([
ProxyValue
], IHostApplicationServices.prototype, "ConceptualEdgeColor", void 0);
__decorate([
ProxyValue
], IHostApplicationServices.prototype, "ConceptualOpacity", void 0);
__decorate([
ProxyValue
], IHostApplicationServices.prototype, "_renderType", void 0);
@ -696,12 +700,18 @@ class CADFiler {
this._datas.push(data);
return this;
}
WriteBool(v) {
this.Write(v ? 1 : 0);
}
WriteVec3(v3) {
this._datas.push(v3.x, v3.y, v3.z);
}
Read() {
return this._datas[this.readIndex++];
}
ReadBool(v) {
return Boolean(this.Read());
}
ReadArray(count) {
let arr = this._datas.slice(this.readIndex, this.readIndex + count);
this.readIndex += count;
@ -1163,7 +1173,7 @@ exports.PhysicalMaterialRecord = class PhysicalMaterialRecord extends exports.Ma
this.material.needsUpdate = true;
});
this.material.needsUpdate = true;
if (this.useMap && this.map && !this.map.IsErase) {
if (this.useMap && this.map?.Object && !this.map.IsErase) {
let map = this.map.Object;
let texture = map.GetThreeTexture();
await map.WaitUpdate();
@ -1182,7 +1192,7 @@ exports.PhysicalMaterialRecord = class PhysicalMaterialRecord extends exports.Ma
this.material.emissive.setRGB(0, 0, 0);
this.material.emissiveMap = undefined;
}
if (this.useMap && this.useBumpMap && this.bumpMap && !this.bumpMap.IsErase) {
if (this.useMap && this.useBumpMap && this.bumpMap?.Object && !this.bumpMap.IsErase) {
let map = this.bumpMap.Object;
let texture = map.GetThreeTexture();
await map.WaitUpdate();
@ -1191,7 +1201,7 @@ exports.PhysicalMaterialRecord = class PhysicalMaterialRecord extends exports.Ma
}
else
this.material.bumpMap = undefined;
if (this.useMap && this.roughnessMap && this.roughnessMap && !this.roughnessMap.IsErase) {
if (this.useMap && this.roughnessMap?.Object && !this.roughnessMap.IsErase) {
let map = this.roughnessMap.Object;
let texture = map.GetThreeTexture();
await map.WaitUpdate();
@ -1498,6 +1508,7 @@ exports.Entity = Entity_1 = class Entity extends CADObject {
//模块空间的标系
this._SpaceOCS = new three.Matrix4();
this._Visible = true;
this._Freeze = false; //冻结(无法被选中)
//加工组
this.ProcessingGroupList = [];
/**
@ -1522,6 +1533,13 @@ exports.Entity = Entity_1 = class Entity extends CADObject {
get SpaceOCSInv() {
return new three.Matrix4().getInverse(this._SpaceOCS);
}
get Freeze() { return this._Freeze; }
set Freeze(f) {
if (f === this._Freeze)
return;
this.WriteAllObjectRecord();
this._Freeze = f;
}
set Material(materialId) {
if (materialId === this._MaterialId)
return;
@ -1943,11 +1961,12 @@ exports.Entity = Entity_1 = class Entity extends CADObject {
}
IntersectWith(curve, intType) { return; }
//#region -------------------------File-------------------------
Clone() {
Clone(cloneDraw = true) {
let ent = super.Clone();
ent._CurRenderType = this._CurRenderType;
ent.Template = undefined;
ent.CloneDrawObject(this);
if (cloneDraw)
ent.CloneDrawObject(this);
return ent;
}
CloneDrawObject(from) {
@ -2002,10 +2021,14 @@ exports.Entity = Entity_1 = class Entity extends CADObject {
this.ProcessingGroupList.push(id);
}
}
if (ver > 8)
this._Freeze = file.Read();
else
this._Freeze = false;
}
//对象将自身数据写入到文件.
WriteFile(file) {
file.Write(8);
file.Write(9);
super.WriteFile(file);
file.Write(this._Color);
file.WriteHardObjectId(this._MaterialId);
@ -2017,6 +2040,7 @@ exports.Entity = Entity_1 = class Entity extends CADObject {
file.Write(this.ProcessingGroupList.length);
for (let id of this.ProcessingGroupList)
file.WriteHardObjectId(id);
file.WriteBool(this._Freeze);
}
//局部撤销
ApplyPartialUndo(undoData) {
@ -2187,6 +2211,9 @@ function GetEntity(obj) {
function IsEntity(obj) {
return GetEntity(obj) instanceof exports.Entity;
}
function IsFreeze(obj) {
return obj["freeze"];
}
const IdentityMtx4 = new three.Matrix4();
const ZeroVec = new three.Vector3();
@ -2846,10 +2873,11 @@ function CreatePolylinePath(pts, buls) {
return shape;
}
function GetGoodShaderSimple(color = new three.Vector3, side = three.FrontSide, logBuf = false) {
function GetGoodShaderSimple(color = new three.Vector3, side = three.FrontSide, logBuf = false, opacity = 1) {
return {
uniforms: {
"SurfaceColor": { value: color }
"SurfaceColor": { value: color },
"opacity": { value: opacity },
},
side,
polygonOffset: true,
@ -3158,12 +3186,20 @@ class ColorMaterial {
this._BasicDoubleSideMaterialMap.set(color, mtl);
return mtl;
}
static GetConceptualMaterial(color, side = three.FrontSide) {
let key = `${color}${side}`;
static GetConceptualMaterial(color, side = three.FrontSide, enableTransparent = false) {
let key = `${color},${side},${enableTransparent ? 1 : 0}`;
if (this._ConceptualMaterial.has(key))
return this._ConceptualMaterial.get(key);
let shaderParams = GetGoodShaderSimple(new three.Vector3().fromArray(this.GetColor(color).toArray()), side, ColorMaterial.UseLogBuf);
let mtl = new three.ShaderMaterial(shaderParams);
if (enableTransparent) {
Object.defineProperty(mtl, "transparent", {
get: () => mtl.uniforms.opacity.value !== 1
});
Object.defineProperty(mtl.uniforms.opacity, "value", {
get: () => HostApplicationServices.ConceptualOpacity
});
}
this._ConceptualMaterial.set(key, mtl);
return mtl;
}
@ -11268,6 +11304,25 @@ var BrRelativePos;
BrRelativePos["Right"] = "right";
BrRelativePos["Div"] = "div";
})(BrRelativePos || (BrRelativePos = {}));
var ViewDirection;
(function (ViewDirection) {
ViewDirection[ViewDirection["Left"] = 1] = "Left";
ViewDirection[ViewDirection["Right"] = 2] = "Right";
ViewDirection[ViewDirection["Up"] = 3] = "Up";
ViewDirection[ViewDirection["Front"] = 4] = "Front";
ViewDirection[ViewDirection["Bottom"] = 5] = "Bottom";
ViewDirection[ViewDirection["Back"] = 6] = "Back";
ViewDirection[ViewDirection["Southwest"] = 7] = "Southwest";
})(ViewDirection || (ViewDirection = {}));
var ViewportPosition;
(function (ViewportPosition) {
ViewportPosition["Vertical"] = "vertical";
ViewportPosition["Horizontal"] = "horizontal";
ViewportPosition["Left"] = "left";
ViewportPosition["Right"] = "right";
ViewportPosition["Bottom"] = "bottom";
ViewportPosition["Top"] = "top";
})(ViewportPosition || (ViewportPosition = {}));
var StripType;
(function (StripType) {
StripType["H"] = "h";
@ -11704,6 +11759,7 @@ var EFindType;
EFindType[EFindType["ModifyHardware"] = 8] = "ModifyHardware";
EFindType[EFindType["FindMinSize"] = 9] = "FindMinSize";
EFindType[EFindType["GetHardWareOption"] = 10] = "GetHardWareOption";
EFindType[EFindType["RemoveSplitSize"] = 11] = "RemoveSplitSize";
})(EFindType || (EFindType = {}));
var ECompareType;
(function (ECompareType) {
@ -11923,26 +11979,26 @@ const DefaultSideBoardOption = {
};
Object.freeze(DefaultSideBoardOption);
const DefaultViewportConfigOption = {
view: 3,
wireFrame: "打印模式",
view: ViewDirection.Up,
renderType: exports.RenderType.Print,
};
Object.freeze(DefaultViewportConfigOption);
const DefaultViewport2ConfigOption = {
align: "垂直",
wireFrame: ["打印模式", "打印模式"],
view1: 1,
view2: 3,
viewportPosition: ViewportPosition.Vertical,
renderType: [exports.RenderType.Print, exports.RenderType.Print],
view1: ViewDirection.Left,
view2: ViewDirection.Up,
};
Object.freeze(DefaultViewport2ConfigOption);
const DefaultViewport3ConfigOption = {
align: "V",
wireFrame: ["打印模式", "打印模式", "打印模式"],
view: [4, 3, 7],
viewportPosition: ViewportPosition.Vertical,
renderType: [exports.RenderType.Print, exports.RenderType.Print, exports.RenderType.Print],
view: [ViewDirection.Front, ViewDirection.Up, ViewDirection.Southwest],
};
Object.freeze(DefaultViewport3ConfigOption);
const DefaultViewport4ConfigOption = {
view: [4, 1, 3, 7],
wireFrame: ["打印模式", "打印模式", "打印模式", "打印模式"],
view: [ViewDirection.Front, ViewDirection.Left, ViewDirection.Up, ViewDirection.Southwest],
renderType: [exports.RenderType.Print, exports.RenderType.Print, exports.RenderType.Print, exports.RenderType.Print],
};
Object.freeze(DefaultViewport4ConfigOption);
const DefaultModifyTextsOption = {
@ -12475,7 +12531,7 @@ const DefaultKuGanOption = {
};
Object.freeze(DefaultKuGanOption);
const DefaultParseBoardNameOPtion = {
version: 1,
version: 2,
verticalBrShrink: 0,
layerBrShrink: 0,
topBrShrink: 0,
@ -12495,6 +12551,7 @@ const DefaultParseBoardNameOPtion = {
isbottomMostBackBrName: true,
isstripeBrName: true,
iscabinetName: false,
isModifyRoomName: true,
isMultiBackBr: false,
isBack: true,
backName: "背板",
@ -12502,7 +12559,7 @@ const DefaultParseBoardNameOPtion = {
};
Object.freeze(DefaultParseBoardNameOPtion);
const DefaultR2bOption = {
version: 5,
version: 6,
cabinetDeep: 400,
cabinetBrThick: 18,
cabinetCurtail: 0,
@ -16469,7 +16526,7 @@ exports.ExtrudeSolid = ExtrudeSolid_1 = class ExtrudeSolid extends exports.Entit
return new three.LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(this.ColorIndex));
}
else if (renderType === exports.RenderType.Conceptual) {
return new three.Object3D().add(new three.Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex)), new three.LineSegments(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
return new three.Object3D().add(new three.Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex, three.FrontSide, true)), new three.LineSegments(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
}
else if (renderType === exports.RenderType.Physical) {
let mesh = new three.Mesh(this.MeshGeometry, this.MeshMaterial);
@ -16764,7 +16821,7 @@ exports.ExtrudeSolid = ExtrudeSolid_1 = class ExtrudeSolid extends exports.Entit
l.material = ColorMaterial.GetLineMaterial(this.ColorIndex);
}
else if (renderType === exports.RenderType.Conceptual) {
return obj.add(new three.Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex)), new three.LineSegments(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
return obj.add(new three.Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex, three.FrontSide, true)), new three.LineSegments(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
}
else if (renderType === exports.RenderType.Physical) {
let mesh = obj;
@ -16795,7 +16852,7 @@ exports.ExtrudeSolid = ExtrudeSolid_1 = class ExtrudeSolid extends exports.Entit
}
else if (renderType === exports.RenderType.Conceptual) {
let mesh = obj.children[0];
mesh.material = ColorMaterial.GetConceptualMaterial(this.ColorIndex);
mesh.material = ColorMaterial.GetConceptualMaterial(this.ColorIndex, three.FrontSide, true);
}
else if (renderType === exports.RenderType.Physical2) {
let mesh = obj.children[0];
@ -22280,9 +22337,20 @@ exports.RoomWallLine = class RoomWallLine extends exports.RoomWallBase {
}
}
else if (renderType === exports.RenderType.Print) {
DisposeThreeObj(obj);
Object3DRemoveAll(obj);
return obj.add(...this.GetPrintObject3D());
//优化代码 保证在布局是打印模式时,在模型空间删除洞时候 布局空间能正常更新.
let mesh = obj.children[1];
if (mesh.geometry !== this.MeshGeometry) {
mesh.geometry.dispose();
mesh.geometry = this.MeshGeometry;
}
let line = obj.children[0];
let geometry = new LineGeometry.LineGeometry();
let lineSegments = new Float32Array(this.EdgeGeometry.attributes.position.array);
let instanceBuffer = new three.InstancedInterleavedBuffer(lineSegments, 6, 1);
geometry.setAttribute('instanceStart', new three.InterleavedBufferAttribute(instanceBuffer, 3, 0));
geometry.setAttribute('instanceEnd', new three.InterleavedBufferAttribute(instanceBuffer, 3, 3));
line.geometry.dispose();
line.geometry = geometry;
}
}
//#endregion
@ -23215,11 +23283,8 @@ exports.RoomFlatBase = class RoomFlatBase extends exports.RoomBase {
l.material = ColorMaterial.GetLineMaterial(this.ColorIndex);
}
else if (renderType === exports.RenderType.Conceptual) ;
else if (renderType === exports.RenderType.Physical2) {
let mesh = obj.children[0];
mesh.material = this.MeshMaterial;
}
else {
else if (renderType === exports.RenderType.Physical2) ;
else if (renderType === exports.RenderType.Physical) {
let mesh = obj;
mesh.material = this.MeshMaterial;
}
@ -23231,7 +23296,7 @@ exports.RoomFlatBase = class RoomFlatBase extends exports.RoomBase {
return new three.Line(BufferGeometryUtils.CreateFromPts([AsVector3(this.ContourData.pts[0]), AsVector3(this.ContourData.pts[0])]), ColorMaterial.GetLineMaterial(this.ColorIndex));
}
else if (renderType === exports.RenderType.Conceptual) {
return new three.Object3D().add(new three.Mesh(this.MeshGeometry, ColorMaterial.GetBasicMaterialTransparent2(this.ColorIndex, 0.1)), new three.Line(this.EdgeGeometry, ColorMaterial.GetLineMaterial(7)));
return new three.Object3D().add(new three.Mesh(this.MeshGeometry, ColorMaterial.GetBasicMaterialTransparent2(this.ColorIndex, 0.1)), new three.Line(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
}
else if (renderType === exports.RenderType.Physical) {
let mesh = new three.Mesh(this.MeshGeometry, this.MeshMaterial);
@ -23243,6 +23308,9 @@ exports.RoomFlatBase = class RoomFlatBase extends exports.RoomBase {
});
return mesh;
}
else if (renderType === exports.RenderType.Print) {
return new three.Mesh(this.MeshGeometry, ColorMaterial.GetPrintConceptualMaterial());
}
else if (renderType === exports.RenderType.Jig) {
return new three.Object3D;
}
@ -23266,7 +23334,7 @@ exports.RoomFlatBase = class RoomFlatBase extends exports.RoomBase {
line.geometry = this.EdgeGeometry;
}
}
else if (renderType === exports.RenderType.Physical) {
else if (renderType === exports.RenderType.Physical || renderType === exports.RenderType.Print) {
let mesh = obj;
if (mesh.geometry !== this.MeshGeometry) {
mesh.geometry.dispose();
@ -23876,10 +23944,7 @@ class RoomRegionParse {
Do(walls) {
let curves = [];
let leftCurves = new Set();
let maxZ = -Infinity;
let minZ = walls[0].Z;
for (let wall of walls) {
maxZ = Math.max(wall.Z + wall.Height, maxZ);
if (!wall.LeftCurves) {
continue;
}
@ -23945,7 +24010,14 @@ class RoomRegionParse {
let roofs = [];
//解析 天花板区域 内空区域
for (let con of cons) {
let maxZ = -Infinity;
let minZ = Infinity;
let routes = regPolyline2RoutesMap.get(con.contour.Curve);
for (let r of routes) {
let wall = r.curve[CURVE_WALL_TYPE_KEY];
minZ = Math.min(minZ, wall.Position.z);
maxZ = Math.max(maxZ, wall.Position.z + wall.Height);
}
if (con.contour.Curve.ColorIndex === 2) //天花板区域(或者柱子)
{
if (con.Depth !== 0 || con.area < 1e6) //柱子
@ -24779,7 +24851,6 @@ function UpdateStartEndPoint(curve) {
curve.EndPoint = ep;
}
new exports.Line;
exports.RoomWallArc = class RoomWallArc extends exports.RoomWallBase {
constructor(_Center = new three.Vector3(), _Radius = 0.1, _StartAngle = 0.1, _EndAngle = 0.1,
/**
@ -25355,9 +25426,20 @@ exports.RoomWallArc = class RoomWallArc extends exports.RoomWallBase {
}
}
else if (renderType === exports.RenderType.Print) {
DisposeThreeObj(obj);
Object3DRemoveAll(obj);
return obj.add(...this.GetPrintObject3D());
//优化代码 保证在布局是打印模式时,在模型空间删除洞时候 布局空间能正常更新.
let mesh = obj.children[1];
if (mesh.geometry !== this.MeshGeometry) {
mesh.geometry.dispose();
mesh.geometry = this.MeshGeometry;
}
let line = obj.children[0];
let geometry = new LineGeometry.LineGeometry();
let lineSegments = new Float32Array(this.EdgeGeometry.attributes.position.array);
let instanceBuffer = new three.InstancedInterleavedBuffer(lineSegments, 6, 1);
geometry.setAttribute('instanceStart', new three.InterleavedBufferAttribute(instanceBuffer, 3, 0));
geometry.setAttribute('instanceEnd', new three.InterleavedBufferAttribute(instanceBuffer, 3, 3));
line.geometry.dispose();
line.geometry = geometry;
}
}
//#endregion
@ -26126,7 +26208,7 @@ function UpdateWallHolesDataAndUpdateDraw(wall) {
function UpdateHoleFakerWallsAndUpdateDraw(hole) {
if (hole.IsErase)
return;
let fakerWalls = hole.RelevancyWalls.map(w => w.Object.Clone());
let fakerWalls = hole.RelevancyWalls.map(w => w.Object.Clone(false));
let pts = hole.Points;
if (pts.length < 2 || fakerWalls.length !== pts.length - 1) {
hole.Erase();
@ -28371,7 +28453,7 @@ exports.Database = class Database {
this.DefaultMaterial = this.GetObjectId(71)?.Object ?? this.DefaultMaterial;
this.DefaultMaterial.Update();
HostApplicationServices.DefaultMeshMaterial = this.DefaultMaterial.Material;
HostApplicationServices.CurrentDimStyle = this.DimStyleTable.Current.Object.Id;
HostApplicationServices.CurrentDimStyle = this.DimStyleTable.Current;
}
Destroy() {
this.idMap.clear();
@ -28395,14 +28477,14 @@ exports.Database = class Database {
this.GroupTable.SetOwnerDatabase(this);
this.Lights.SetOwnerDatabase(this);
this.ProcessingGroupTable.SetOwnerDatabase(this);
this.DimStyleTable.SetOwnerDatabase(this);
this.hm.SetDefaultDb(this);
this.LayoutSpace.SetOwnerDatabase(this);
this.DimStyleTable.SetOwnerDatabase(this);
this.idIndex = 100;
}
//#region Serialize
FileWrite(file = new CADFiler) {
file.Write(9); //ver;
file.Write(10); //ver;
file.Write(this.idIndex);
this.ModelSpace.WriteFile(file);
this.TextureTable.WriteFile(file);
@ -28470,6 +28552,10 @@ exports.Database = class Database {
this.InitDimStyle();
this.idIndex = indexBak;
}
if (ver === 9) {
for (let e of this.LayoutSpace.EntityCol.Objects)
e.Owner = this.LayoutSpace.objectId;
}
this.SettingDefaultStyleAndMaterial();
this.hm.doing = false;
exports.Entity.__ReadFileIng__ = false;
@ -29427,6 +29513,8 @@ exports.TemplateAction = __decorate([
Factory
], exports.TemplateAction);
//当前仅在GetEntity 和Ssget上严格实现了 None 和 Other的情况
//其他的只有None 没有Other(其他的也不可能出现想选没选到的情况)
var PromptStatus;
(function (PromptStatus) {
PromptStatus[PromptStatus["None"] = 0] = "None";
@ -33398,8 +33486,6 @@ exports.ViewportEntity = ViewportEntity_1 = class ViewportEntity extends exports
this.OnlyRenderType = true;
this.NeedUpdateTexture = true;
this.IsFirstVersion = false;
this.scene.background = new three.Color(0xffffff);
this.ViewportMaterial = new three.MeshBasicMaterial({ map: this._RenderTarget.texture, transparent: true, opacity: 1 });
}
get Left() {
return this.Position.x;
@ -33445,6 +33531,19 @@ exports.ViewportEntity = ViewportEntity_1 = class ViewportEntity extends exports
get ShowObjects() {
return [...this._ShowObjectIds];
}
//#region 显示隐藏实体控制
//应显尽显
ShowAll() {
if (this._HideObjectIds.size === 0)
return;
this.WriteAllObjectRecord();
//这个实现建立在一切数据都是准确的情况下
for (let id of this._HideObjectIds)
this._ShowObjectIds.add(id); //这里应该直接绘制的
this._HideObjectIds.clear();
this.UpdateScene(); //优化 应该在上面直接绘制的
}
//添加显示实体
AppendShowObjects(ids) {
this.WriteAllObjectRecord();
if (!Array.isArray(ids))
@ -33452,26 +33551,37 @@ exports.ViewportEntity = ViewportEntity_1 = class ViewportEntity extends exports
for (let id of ids) {
if (id?.Object)
this._ShowObjectIds.add(id);
this._HideObjectIds.delete(id);
}
}
//(未被使用)移除显示实体
RemoveShowObjects(ids) {
this.WriteAllObjectRecord();
if (!Array.isArray(ids))
ids = [ids];
ids.forEach(id => this._ShowObjectIds.delete(id));
}
//添加隐藏实体
AppendHideObjects(ids) {
this.WriteAllObjectRecord();
if (!Array.isArray(ids))
ids = [ids];
ids.forEach(id => this._HideObjectIds.add(id));
for (let id of ids) {
this._HideObjectIds.add(id);
this._ShowObjectIds.delete(id);
}
}
//(未被使用)移除隐藏实体
RemoveHideObjects(ids) {
this.WriteAllObjectRecord();
if (!Array.isArray(ids))
ids = [ids];
ids.forEach(id => this._HideObjectIds.delete(id));
for (let id of ids) {
this._HideObjectIds.delete(id);
this._ShowObjectIds.add(id);
}
}
//#endregion
GetObjectSnapPoints(snapMode, pickPoint, lastPoint, viewXform) {
switch (snapMode) {
case ObjectSnapMode.End:
@ -33559,12 +33669,13 @@ exports.ViewportEntity = ViewportEntity_1 = class ViewportEntity extends exports
this._renderType = v;
for (let o of this.scene.children) {
if (o instanceof three.Group) {
DisposeThreeObj(o);
Object3DRemoveAll(o);
o.children.length = 0;
let e = o.userData.Entity;
let obj = e.GetDrawObjectFromRenderType(e.IsOnlyRender ? this._renderType + 100 : this._renderType);
if (obj)
o.children.push(obj);
else
console.warn(e, `视口:该实体渲染类型${this._renderType}类型不存在`);
}
}
}
@ -33592,20 +33703,25 @@ exports.ViewportEntity = ViewportEntity_1 = class ViewportEntity extends exports
}
return false;
}
AppendEntity(en) {
DrawEntityToScene(en) {
if (!this.CanRennder(en))
return;
let cloneObject = new three.Group();
let renderType = en.IsOnlyRender ? this._renderType + 100 : this._renderType;
let o = en.GetDrawObjectFromRenderType(renderType);
if (!o) {
console.warn(`该实体渲染类型${renderType}类型不存在`);
console.warn(en, `视口:该实体渲染类型${renderType}类型不存在`);
return;
}
cloneObject.children.push(o);
cloneObject.name = en.Id.Index.toString();
cloneObject.userData = { Entity: en };
cloneObject.updateMatrixWorld();
//因为LayoutTool里面有更新实体的操作 所以这个代码暂时是多余的
// //实体被删除的时候 这里自然的隐藏
// Object.defineProperty(cloneObject, "visible", {
// get: () => !en.IsErase
// });
this.scene.add(cloneObject);
this.NeedUpdateTexture = true;
}
@ -33627,10 +33743,13 @@ exports.ViewportEntity = ViewportEntity_1 = class ViewportEntity extends exports
}
else {
o.visible = true;
showIndexs.delete(o.name);
showIndexs.delete(o.name); //已经画好了
}
}
this._ShowObjectIds.forEach(i => showIndexs.has(i.Index.toString()) && this.AppendEntity(i.Object));
//将场景内还没绘制的画进去
for (let id of this._ShowObjectIds)
if (showIndexs.has(id.Index.toString()))
this.DrawEntityToScene(id.Object);
this.NeedUpdateTexture = true;
}
CloneDrawObject(from) {
@ -33650,6 +33769,7 @@ exports.ViewportEntity = ViewportEntity_1 = class ViewportEntity extends exports
});
return isInt;
}
//TODO:有个bug,在实体列表更新的时候 这个box没有更新,会导致一些错误.
IsContainText(text) {
if (!(text instanceof exports.Text))
return false;
@ -33660,10 +33780,7 @@ exports.ViewportEntity = ViewportEntity_1 = class ViewportEntity extends exports
this._EntitysBoundingBox.union(en.BoundingBox);
}
}
if (this._EntitysBoundingBox.containsBox(text.BoundingBox))
return true;
else
return false;
return this._EntitysBoundingBox.containsBox(text.BoundingBox);
}
_ReadFile(file) {
super._ReadFile(file);
@ -38004,11 +38121,14 @@ class GripScene extends three.Object3D {
}
function CheckFilter(obj, filter) {
if (!obj.visible || obj instanceof GripScene)
if (!obj.visible || obj instanceof GripScene || IsFreeze(obj))
return false;
let ent = GetEntity(obj);
// if (!ent) return false; (禁止这个代码(gizmo依赖这个)
if (ent?.Freeze && !filter?.selectFreeze)
return false;
if (!filter)
return true;
let ent = GetEntity(obj);
if (filter.filterErase && (!ent || ent.Id === undefined || ent.IsErase))
return false;
if (filter.filterFunction && !filter.filterFunction(obj, ent))

File diff suppressed because one or more lines are too long

View File

@ -170,6 +170,7 @@ class IHostApplicationServices {
this.ShowHistoryLog = true;
this.Physical2EdgeColor = 7; //真实视图带线框的线框颜色 默认白色
this.ConceptualEdgeColor = 7; //概念线框的颜色
this.ConceptualOpacity = 1; //概念透明的透明度
this.DrawWallBottomFace = false; //绘制底面
//#region _RenderType 渲染类型
this._renderType = RenderType.Wireframe;
@ -235,6 +236,9 @@ __decorate([
__decorate([
ProxyValue
], IHostApplicationServices.prototype, "ConceptualEdgeColor", void 0);
__decorate([
ProxyValue
], IHostApplicationServices.prototype, "ConceptualOpacity", void 0);
__decorate([
ProxyValue
], IHostApplicationServices.prototype, "_renderType", void 0);
@ -668,12 +672,18 @@ class CADFiler {
this._datas.push(data);
return this;
}
WriteBool(v) {
this.Write(v ? 1 : 0);
}
WriteVec3(v3) {
this._datas.push(v3.x, v3.y, v3.z);
}
Read() {
return this._datas[this.readIndex++];
}
ReadBool(v) {
return Boolean(this.Read());
}
ReadArray(count) {
let arr = this._datas.slice(this.readIndex, this.readIndex + count);
this.readIndex += count;
@ -1135,7 +1145,7 @@ let PhysicalMaterialRecord = class PhysicalMaterialRecord extends MaterialTableR
this.material.needsUpdate = true;
});
this.material.needsUpdate = true;
if (this.useMap && this.map && !this.map.IsErase) {
if (this.useMap && this.map?.Object && !this.map.IsErase) {
let map = this.map.Object;
let texture = map.GetThreeTexture();
await map.WaitUpdate();
@ -1154,7 +1164,7 @@ let PhysicalMaterialRecord = class PhysicalMaterialRecord extends MaterialTableR
this.material.emissive.setRGB(0, 0, 0);
this.material.emissiveMap = undefined;
}
if (this.useMap && this.useBumpMap && this.bumpMap && !this.bumpMap.IsErase) {
if (this.useMap && this.useBumpMap && this.bumpMap?.Object && !this.bumpMap.IsErase) {
let map = this.bumpMap.Object;
let texture = map.GetThreeTexture();
await map.WaitUpdate();
@ -1163,7 +1173,7 @@ let PhysicalMaterialRecord = class PhysicalMaterialRecord extends MaterialTableR
}
else
this.material.bumpMap = undefined;
if (this.useMap && this.roughnessMap && this.roughnessMap && !this.roughnessMap.IsErase) {
if (this.useMap && this.roughnessMap?.Object && !this.roughnessMap.IsErase) {
let map = this.roughnessMap.Object;
let texture = map.GetThreeTexture();
await map.WaitUpdate();
@ -1470,6 +1480,7 @@ let Entity = Entity_1 = class Entity extends CADObject {
//模块空间的标系
this._SpaceOCS = new Matrix4();
this._Visible = true;
this._Freeze = false; //冻结(无法被选中)
//加工组
this.ProcessingGroupList = [];
/**
@ -1494,6 +1505,13 @@ let Entity = Entity_1 = class Entity extends CADObject {
get SpaceOCSInv() {
return new Matrix4().getInverse(this._SpaceOCS);
}
get Freeze() { return this._Freeze; }
set Freeze(f) {
if (f === this._Freeze)
return;
this.WriteAllObjectRecord();
this._Freeze = f;
}
set Material(materialId) {
if (materialId === this._MaterialId)
return;
@ -1915,11 +1933,12 @@ let Entity = Entity_1 = class Entity extends CADObject {
}
IntersectWith(curve, intType) { return; }
//#region -------------------------File-------------------------
Clone() {
Clone(cloneDraw = true) {
let ent = super.Clone();
ent._CurRenderType = this._CurRenderType;
ent.Template = undefined;
ent.CloneDrawObject(this);
if (cloneDraw)
ent.CloneDrawObject(this);
return ent;
}
CloneDrawObject(from) {
@ -1974,10 +1993,14 @@ let Entity = Entity_1 = class Entity extends CADObject {
this.ProcessingGroupList.push(id);
}
}
if (ver > 8)
this._Freeze = file.Read();
else
this._Freeze = false;
}
//对象将自身数据写入到文件.
WriteFile(file) {
file.Write(8);
file.Write(9);
super.WriteFile(file);
file.Write(this._Color);
file.WriteHardObjectId(this._MaterialId);
@ -1989,6 +2012,7 @@ let Entity = Entity_1 = class Entity extends CADObject {
file.Write(this.ProcessingGroupList.length);
for (let id of this.ProcessingGroupList)
file.WriteHardObjectId(id);
file.WriteBool(this._Freeze);
}
//局部撤销
ApplyPartialUndo(undoData) {
@ -2159,6 +2183,9 @@ function GetEntity(obj) {
function IsEntity(obj) {
return GetEntity(obj) instanceof Entity;
}
function IsFreeze(obj) {
return obj["freeze"];
}
const IdentityMtx4 = new Matrix4();
const ZeroVec = new Vector3();
@ -2818,10 +2845,11 @@ function CreatePolylinePath(pts, buls) {
return shape;
}
function GetGoodShaderSimple(color = new Vector3, side = FrontSide, logBuf = false) {
function GetGoodShaderSimple(color = new Vector3, side = FrontSide, logBuf = false, opacity = 1) {
return {
uniforms: {
"SurfaceColor": { value: color }
"SurfaceColor": { value: color },
"opacity": { value: opacity },
},
side,
polygonOffset: true,
@ -3130,12 +3158,20 @@ class ColorMaterial {
this._BasicDoubleSideMaterialMap.set(color, mtl);
return mtl;
}
static GetConceptualMaterial(color, side = FrontSide) {
let key = `${color}${side}`;
static GetConceptualMaterial(color, side = FrontSide, enableTransparent = false) {
let key = `${color},${side},${enableTransparent ? 1 : 0}`;
if (this._ConceptualMaterial.has(key))
return this._ConceptualMaterial.get(key);
let shaderParams = GetGoodShaderSimple(new Vector3().fromArray(this.GetColor(color).toArray()), side, ColorMaterial.UseLogBuf);
let mtl = new ShaderMaterial(shaderParams);
if (enableTransparent) {
Object.defineProperty(mtl, "transparent", {
get: () => mtl.uniforms.opacity.value !== 1
});
Object.defineProperty(mtl.uniforms.opacity, "value", {
get: () => HostApplicationServices.ConceptualOpacity
});
}
this._ConceptualMaterial.set(key, mtl);
return mtl;
}
@ -11240,6 +11276,25 @@ var BrRelativePos;
BrRelativePos["Right"] = "right";
BrRelativePos["Div"] = "div";
})(BrRelativePos || (BrRelativePos = {}));
var ViewDirection;
(function (ViewDirection) {
ViewDirection[ViewDirection["Left"] = 1] = "Left";
ViewDirection[ViewDirection["Right"] = 2] = "Right";
ViewDirection[ViewDirection["Up"] = 3] = "Up";
ViewDirection[ViewDirection["Front"] = 4] = "Front";
ViewDirection[ViewDirection["Bottom"] = 5] = "Bottom";
ViewDirection[ViewDirection["Back"] = 6] = "Back";
ViewDirection[ViewDirection["Southwest"] = 7] = "Southwest";
})(ViewDirection || (ViewDirection = {}));
var ViewportPosition;
(function (ViewportPosition) {
ViewportPosition["Vertical"] = "vertical";
ViewportPosition["Horizontal"] = "horizontal";
ViewportPosition["Left"] = "left";
ViewportPosition["Right"] = "right";
ViewportPosition["Bottom"] = "bottom";
ViewportPosition["Top"] = "top";
})(ViewportPosition || (ViewportPosition = {}));
var StripType;
(function (StripType) {
StripType["H"] = "h";
@ -11676,6 +11731,7 @@ var EFindType;
EFindType[EFindType["ModifyHardware"] = 8] = "ModifyHardware";
EFindType[EFindType["FindMinSize"] = 9] = "FindMinSize";
EFindType[EFindType["GetHardWareOption"] = 10] = "GetHardWareOption";
EFindType[EFindType["RemoveSplitSize"] = 11] = "RemoveSplitSize";
})(EFindType || (EFindType = {}));
var ECompareType;
(function (ECompareType) {
@ -11895,26 +11951,26 @@ const DefaultSideBoardOption = {
};
Object.freeze(DefaultSideBoardOption);
const DefaultViewportConfigOption = {
view: 3,
wireFrame: "打印模式",
view: ViewDirection.Up,
renderType: RenderType.Print,
};
Object.freeze(DefaultViewportConfigOption);
const DefaultViewport2ConfigOption = {
align: "垂直",
wireFrame: ["打印模式", "打印模式"],
view1: 1,
view2: 3,
viewportPosition: ViewportPosition.Vertical,
renderType: [RenderType.Print, RenderType.Print],
view1: ViewDirection.Left,
view2: ViewDirection.Up,
};
Object.freeze(DefaultViewport2ConfigOption);
const DefaultViewport3ConfigOption = {
align: "V",
wireFrame: ["打印模式", "打印模式", "打印模式"],
view: [4, 3, 7],
viewportPosition: ViewportPosition.Vertical,
renderType: [RenderType.Print, RenderType.Print, RenderType.Print],
view: [ViewDirection.Front, ViewDirection.Up, ViewDirection.Southwest],
};
Object.freeze(DefaultViewport3ConfigOption);
const DefaultViewport4ConfigOption = {
view: [4, 1, 3, 7],
wireFrame: ["打印模式", "打印模式", "打印模式", "打印模式"],
view: [ViewDirection.Front, ViewDirection.Left, ViewDirection.Up, ViewDirection.Southwest],
renderType: [RenderType.Print, RenderType.Print, RenderType.Print, RenderType.Print],
};
Object.freeze(DefaultViewport4ConfigOption);
const DefaultModifyTextsOption = {
@ -12447,7 +12503,7 @@ const DefaultKuGanOption = {
};
Object.freeze(DefaultKuGanOption);
const DefaultParseBoardNameOPtion = {
version: 1,
version: 2,
verticalBrShrink: 0,
layerBrShrink: 0,
topBrShrink: 0,
@ -12467,6 +12523,7 @@ const DefaultParseBoardNameOPtion = {
isbottomMostBackBrName: true,
isstripeBrName: true,
iscabinetName: false,
isModifyRoomName: true,
isMultiBackBr: false,
isBack: true,
backName: "背板",
@ -12474,7 +12531,7 @@ const DefaultParseBoardNameOPtion = {
};
Object.freeze(DefaultParseBoardNameOPtion);
const DefaultR2bOption = {
version: 5,
version: 6,
cabinetDeep: 400,
cabinetBrThick: 18,
cabinetCurtail: 0,
@ -16441,7 +16498,7 @@ let ExtrudeSolid = ExtrudeSolid_1 = class ExtrudeSolid extends Entity {
return new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(this.ColorIndex));
}
else if (renderType === RenderType.Conceptual) {
return new Object3D().add(new Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex)), new LineSegments(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
return new Object3D().add(new Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex, FrontSide, true)), new LineSegments(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
}
else if (renderType === RenderType.Physical) {
let mesh = new Mesh(this.MeshGeometry, this.MeshMaterial);
@ -16736,7 +16793,7 @@ let ExtrudeSolid = ExtrudeSolid_1 = class ExtrudeSolid extends Entity {
l.material = ColorMaterial.GetLineMaterial(this.ColorIndex);
}
else if (renderType === RenderType.Conceptual) {
return obj.add(new Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex)), new LineSegments(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
return obj.add(new Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex, FrontSide, true)), new LineSegments(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
}
else if (renderType === RenderType.Physical) {
let mesh = obj;
@ -16767,7 +16824,7 @@ let ExtrudeSolid = ExtrudeSolid_1 = class ExtrudeSolid extends Entity {
}
else if (renderType === RenderType.Conceptual) {
let mesh = obj.children[0];
mesh.material = ColorMaterial.GetConceptualMaterial(this.ColorIndex);
mesh.material = ColorMaterial.GetConceptualMaterial(this.ColorIndex, FrontSide, true);
}
else if (renderType === RenderType.Physical2) {
let mesh = obj.children[0];
@ -22252,9 +22309,20 @@ let RoomWallLine = class RoomWallLine extends RoomWallBase {
}
}
else if (renderType === RenderType.Print) {
DisposeThreeObj(obj);
Object3DRemoveAll(obj);
return obj.add(...this.GetPrintObject3D());
//优化代码 保证在布局是打印模式时,在模型空间删除洞时候 布局空间能正常更新.
let mesh = obj.children[1];
if (mesh.geometry !== this.MeshGeometry) {
mesh.geometry.dispose();
mesh.geometry = this.MeshGeometry;
}
let line = obj.children[0];
let geometry = new LineGeometry();
let lineSegments = new Float32Array(this.EdgeGeometry.attributes.position.array);
let instanceBuffer = new InstancedInterleavedBuffer(lineSegments, 6, 1);
geometry.setAttribute('instanceStart', new InterleavedBufferAttribute(instanceBuffer, 3, 0));
geometry.setAttribute('instanceEnd', new InterleavedBufferAttribute(instanceBuffer, 3, 3));
line.geometry.dispose();
line.geometry = geometry;
}
}
//#endregion
@ -23187,11 +23255,8 @@ let RoomFlatBase = class RoomFlatBase extends RoomBase {
l.material = ColorMaterial.GetLineMaterial(this.ColorIndex);
}
else if (renderType === RenderType.Conceptual) ;
else if (renderType === RenderType.Physical2) {
let mesh = obj.children[0];
mesh.material = this.MeshMaterial;
}
else {
else if (renderType === RenderType.Physical2) ;
else if (renderType === RenderType.Physical) {
let mesh = obj;
mesh.material = this.MeshMaterial;
}
@ -23203,7 +23268,7 @@ let RoomFlatBase = class RoomFlatBase extends RoomBase {
return new Line$1(BufferGeometryUtils.CreateFromPts([AsVector3(this.ContourData.pts[0]), AsVector3(this.ContourData.pts[0])]), ColorMaterial.GetLineMaterial(this.ColorIndex));
}
else if (renderType === RenderType.Conceptual) {
return new Object3D().add(new Mesh(this.MeshGeometry, ColorMaterial.GetBasicMaterialTransparent2(this.ColorIndex, 0.1)), new Line$1(this.EdgeGeometry, ColorMaterial.GetLineMaterial(7)));
return new Object3D().add(new Mesh(this.MeshGeometry, ColorMaterial.GetBasicMaterialTransparent2(this.ColorIndex, 0.1)), new Line$1(this.EdgeGeometry, ColorMaterial.GetConceptualEdgeMaterial()));
}
else if (renderType === RenderType.Physical) {
let mesh = new Mesh(this.MeshGeometry, this.MeshMaterial);
@ -23215,6 +23280,9 @@ let RoomFlatBase = class RoomFlatBase extends RoomBase {
});
return mesh;
}
else if (renderType === RenderType.Print) {
return new Mesh(this.MeshGeometry, ColorMaterial.GetPrintConceptualMaterial());
}
else if (renderType === RenderType.Jig) {
return new Object3D;
}
@ -23238,7 +23306,7 @@ let RoomFlatBase = class RoomFlatBase extends RoomBase {
line.geometry = this.EdgeGeometry;
}
}
else if (renderType === RenderType.Physical) {
else if (renderType === RenderType.Physical || renderType === RenderType.Print) {
let mesh = obj;
if (mesh.geometry !== this.MeshGeometry) {
mesh.geometry.dispose();
@ -23848,10 +23916,7 @@ class RoomRegionParse {
Do(walls) {
let curves = [];
let leftCurves = new Set();
let maxZ = -Infinity;
let minZ = walls[0].Z;
for (let wall of walls) {
maxZ = Math.max(wall.Z + wall.Height, maxZ);
if (!wall.LeftCurves) {
continue;
}
@ -23917,7 +23982,14 @@ class RoomRegionParse {
let roofs = [];
//解析 天花板区域 内空区域
for (let con of cons) {
let maxZ = -Infinity;
let minZ = Infinity;
let routes = regPolyline2RoutesMap.get(con.contour.Curve);
for (let r of routes) {
let wall = r.curve[CURVE_WALL_TYPE_KEY];
minZ = Math.min(minZ, wall.Position.z);
maxZ = Math.max(maxZ, wall.Position.z + wall.Height);
}
if (con.contour.Curve.ColorIndex === 2) //天花板区域(或者柱子)
{
if (con.Depth !== 0 || con.area < 1e6) //柱子
@ -24751,7 +24823,6 @@ function UpdateStartEndPoint(curve) {
curve.EndPoint = ep;
}
new Line;
let RoomWallArc = class RoomWallArc extends RoomWallBase {
constructor(_Center = new Vector3(), _Radius = 0.1, _StartAngle = 0.1, _EndAngle = 0.1,
/**
@ -25327,9 +25398,20 @@ let RoomWallArc = class RoomWallArc extends RoomWallBase {
}
}
else if (renderType === RenderType.Print) {
DisposeThreeObj(obj);
Object3DRemoveAll(obj);
return obj.add(...this.GetPrintObject3D());
//优化代码 保证在布局是打印模式时,在模型空间删除洞时候 布局空间能正常更新.
let mesh = obj.children[1];
if (mesh.geometry !== this.MeshGeometry) {
mesh.geometry.dispose();
mesh.geometry = this.MeshGeometry;
}
let line = obj.children[0];
let geometry = new LineGeometry();
let lineSegments = new Float32Array(this.EdgeGeometry.attributes.position.array);
let instanceBuffer = new InstancedInterleavedBuffer(lineSegments, 6, 1);
geometry.setAttribute('instanceStart', new InterleavedBufferAttribute(instanceBuffer, 3, 0));
geometry.setAttribute('instanceEnd', new InterleavedBufferAttribute(instanceBuffer, 3, 3));
line.geometry.dispose();
line.geometry = geometry;
}
}
//#endregion
@ -26098,7 +26180,7 @@ function UpdateWallHolesDataAndUpdateDraw(wall) {
function UpdateHoleFakerWallsAndUpdateDraw(hole) {
if (hole.IsErase)
return;
let fakerWalls = hole.RelevancyWalls.map(w => w.Object.Clone());
let fakerWalls = hole.RelevancyWalls.map(w => w.Object.Clone(false));
let pts = hole.Points;
if (pts.length < 2 || fakerWalls.length !== pts.length - 1) {
hole.Erase();
@ -28343,7 +28425,7 @@ let Database = class Database {
this.DefaultMaterial = this.GetObjectId(71)?.Object ?? this.DefaultMaterial;
this.DefaultMaterial.Update();
HostApplicationServices.DefaultMeshMaterial = this.DefaultMaterial.Material;
HostApplicationServices.CurrentDimStyle = this.DimStyleTable.Current.Object.Id;
HostApplicationServices.CurrentDimStyle = this.DimStyleTable.Current;
}
Destroy() {
this.idMap.clear();
@ -28367,14 +28449,14 @@ let Database = class Database {
this.GroupTable.SetOwnerDatabase(this);
this.Lights.SetOwnerDatabase(this);
this.ProcessingGroupTable.SetOwnerDatabase(this);
this.DimStyleTable.SetOwnerDatabase(this);
this.hm.SetDefaultDb(this);
this.LayoutSpace.SetOwnerDatabase(this);
this.DimStyleTable.SetOwnerDatabase(this);
this.idIndex = 100;
}
//#region Serialize
FileWrite(file = new CADFiler) {
file.Write(9); //ver;
file.Write(10); //ver;
file.Write(this.idIndex);
this.ModelSpace.WriteFile(file);
this.TextureTable.WriteFile(file);
@ -28442,6 +28524,10 @@ let Database = class Database {
this.InitDimStyle();
this.idIndex = indexBak;
}
if (ver === 9) {
for (let e of this.LayoutSpace.EntityCol.Objects)
e.Owner = this.LayoutSpace.objectId;
}
this.SettingDefaultStyleAndMaterial();
this.hm.doing = false;
Entity.__ReadFileIng__ = false;
@ -29399,6 +29485,8 @@ TemplateAction = __decorate([
Factory
], TemplateAction);
//当前仅在GetEntity 和Ssget上严格实现了 None 和 Other的情况
//其他的只有None 没有Other(其他的也不可能出现想选没选到的情况)
var PromptStatus;
(function (PromptStatus) {
PromptStatus[PromptStatus["None"] = 0] = "None";
@ -33370,8 +33458,6 @@ let ViewportEntity = ViewportEntity_1 = class ViewportEntity extends Entity {
this.OnlyRenderType = true;
this.NeedUpdateTexture = true;
this.IsFirstVersion = false;
this.scene.background = new Color(0xffffff);
this.ViewportMaterial = new MeshBasicMaterial({ map: this._RenderTarget.texture, transparent: true, opacity: 1 });
}
get Left() {
return this.Position.x;
@ -33417,6 +33503,19 @@ let ViewportEntity = ViewportEntity_1 = class ViewportEntity extends Entity {
get ShowObjects() {
return [...this._ShowObjectIds];
}
//#region 显示隐藏实体控制
//应显尽显
ShowAll() {
if (this._HideObjectIds.size === 0)
return;
this.WriteAllObjectRecord();
//这个实现建立在一切数据都是准确的情况下
for (let id of this._HideObjectIds)
this._ShowObjectIds.add(id); //这里应该直接绘制的
this._HideObjectIds.clear();
this.UpdateScene(); //优化 应该在上面直接绘制的
}
//添加显示实体
AppendShowObjects(ids) {
this.WriteAllObjectRecord();
if (!Array.isArray(ids))
@ -33424,26 +33523,37 @@ let ViewportEntity = ViewportEntity_1 = class ViewportEntity extends Entity {
for (let id of ids) {
if (id?.Object)
this._ShowObjectIds.add(id);
this._HideObjectIds.delete(id);
}
}
//(未被使用)移除显示实体
RemoveShowObjects(ids) {
this.WriteAllObjectRecord();
if (!Array.isArray(ids))
ids = [ids];
ids.forEach(id => this._ShowObjectIds.delete(id));
}
//添加隐藏实体
AppendHideObjects(ids) {
this.WriteAllObjectRecord();
if (!Array.isArray(ids))
ids = [ids];
ids.forEach(id => this._HideObjectIds.add(id));
for (let id of ids) {
this._HideObjectIds.add(id);
this._ShowObjectIds.delete(id);
}
}
//(未被使用)移除隐藏实体
RemoveHideObjects(ids) {
this.WriteAllObjectRecord();
if (!Array.isArray(ids))
ids = [ids];
ids.forEach(id => this._HideObjectIds.delete(id));
for (let id of ids) {
this._HideObjectIds.delete(id);
this._ShowObjectIds.add(id);
}
}
//#endregion
GetObjectSnapPoints(snapMode, pickPoint, lastPoint, viewXform) {
switch (snapMode) {
case ObjectSnapMode.End:
@ -33531,12 +33641,13 @@ let ViewportEntity = ViewportEntity_1 = class ViewportEntity extends Entity {
this._renderType = v;
for (let o of this.scene.children) {
if (o instanceof Group) {
DisposeThreeObj(o);
Object3DRemoveAll(o);
o.children.length = 0;
let e = o.userData.Entity;
let obj = e.GetDrawObjectFromRenderType(e.IsOnlyRender ? this._renderType + 100 : this._renderType);
if (obj)
o.children.push(obj);
else
console.warn(e, `视口:该实体渲染类型${this._renderType}类型不存在`);
}
}
}
@ -33564,20 +33675,25 @@ let ViewportEntity = ViewportEntity_1 = class ViewportEntity extends Entity {
}
return false;
}
AppendEntity(en) {
DrawEntityToScene(en) {
if (!this.CanRennder(en))
return;
let cloneObject = new Group();
let renderType = en.IsOnlyRender ? this._renderType + 100 : this._renderType;
let o = en.GetDrawObjectFromRenderType(renderType);
if (!o) {
console.warn(`该实体渲染类型${renderType}类型不存在`);
console.warn(en, `视口:该实体渲染类型${renderType}类型不存在`);
return;
}
cloneObject.children.push(o);
cloneObject.name = en.Id.Index.toString();
cloneObject.userData = { Entity: en };
cloneObject.updateMatrixWorld();
//因为LayoutTool里面有更新实体的操作 所以这个代码暂时是多余的
// //实体被删除的时候 这里自然的隐藏
// Object.defineProperty(cloneObject, "visible", {
// get: () => !en.IsErase
// });
this.scene.add(cloneObject);
this.NeedUpdateTexture = true;
}
@ -33599,10 +33715,13 @@ let ViewportEntity = ViewportEntity_1 = class ViewportEntity extends Entity {
}
else {
o.visible = true;
showIndexs.delete(o.name);
showIndexs.delete(o.name); //已经画好了
}
}
this._ShowObjectIds.forEach(i => showIndexs.has(i.Index.toString()) && this.AppendEntity(i.Object));
//将场景内还没绘制的画进去
for (let id of this._ShowObjectIds)
if (showIndexs.has(id.Index.toString()))
this.DrawEntityToScene(id.Object);
this.NeedUpdateTexture = true;
}
CloneDrawObject(from) {
@ -33622,6 +33741,7 @@ let ViewportEntity = ViewportEntity_1 = class ViewportEntity extends Entity {
});
return isInt;
}
//TODO:有个bug,在实体列表更新的时候 这个box没有更新,会导致一些错误.
IsContainText(text) {
if (!(text instanceof Text))
return false;
@ -33632,10 +33752,7 @@ let ViewportEntity = ViewportEntity_1 = class ViewportEntity extends Entity {
this._EntitysBoundingBox.union(en.BoundingBox);
}
}
if (this._EntitysBoundingBox.containsBox(text.BoundingBox))
return true;
else
return false;
return this._EntitysBoundingBox.containsBox(text.BoundingBox);
}
_ReadFile(file) {
super._ReadFile(file);
@ -37976,11 +38093,14 @@ class GripScene extends Object3D {
}
function CheckFilter(obj, filter) {
if (!obj.visible || obj instanceof GripScene)
if (!obj.visible || obj instanceof GripScene || IsFreeze(obj))
return false;
let ent = GetEntity(obj);
// if (!ent) return false; (禁止这个代码(gizmo依赖这个)
if (ent?.Freeze && !filter?.selectFreeze)
return false;
if (!filter)
return true;
let ent = GetEntity(obj);
if (filter.filterErase && (!ent || ent.Id === undefined || ent.IsErase))
return false;
if (filter.filterFunction && !filter.filterFunction(obj, ent))

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "webcad_ue4_api",
"version": "0.3.11",
"version": "0.3.12",
"description": "",
"main": "api.esm.js",
"module": "api.esm.js",

View File

@ -1 +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;AAS1N,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,CAsRhF"}
{"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;AAS1N,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,CA0RhF"}

View File

@ -1 +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;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,cAAc,EAAE,MAAM,EAAE,CAAC,CAAC;KAAE,CAAC;CAiBnG"}
{"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;CAiBnG"}

View File

@ -1 +1 @@
{"version":3,"file":"BoardFindModify.d.ts","sourceRoot":"","sources":["../../../src/Add-on/BoardFindModify.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAYnD,qBAAa,eAAgB,YAAW,OAAO;IAE3C,OAAO,CAAC,iBAAiB,CAAS;IAC5B,IAAI;YAwCI,SAAS;IAmBvB,OAAO,CAAC,aAAa;YAQP,OAAO;IA2CrB,OAAO,CAAC,QAAQ;IAwJhB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,cAAc;IAYtB,YAAY,CAAC,CAAC,KAAA;YAIA,SAAS;IAYvB,OAAO,CAAC,QAAQ;YA8JF,cAAc;YAKd,cAAc;YAKd,iBAAiB;YASjB,cAAc;YAqDd,iBAAiB;YAcjB,iCAAiC;YAkBjC,cAAc;IA+B5B,OAAO,CAAC,cAAc;CAkDzB"}
{"version":3,"file":"BoardFindModify.d.ts","sourceRoot":"","sources":["../../../src/Add-on/BoardFindModify.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAYnD,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;IAgBpB,OAAO,CAAC,cAAc;IAYtB,YAAY,CAAC,CAAC,KAAA;YAIA,SAAS;IAYvB,OAAO,CAAC,QAAQ;YA8JF,cAAc;YAKd,cAAc;YAKd,iBAAiB;YASjB,cAAc;YAqDd,iBAAiB;YAcjB,iCAAiC;YAyBjC,cAAc;IA+B5B,OAAO,CAAC,cAAc;CAkDzB"}

8
types/Add-on/Cmd_Freeze.d.ts vendored Normal file
View 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

View 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;CAUb;AAGD,qBAAa,YAAa,YAAW,OAAO;IAElC,IAAI;CAeb"}

View File

@ -1 +1 @@
{"version":3,"file":"DXFLoad.d.ts","sourceRoot":"","sources":["../../../src/Add-on/DXFLoad.ts"],"names":[],"mappings":"AAWA,qBAAa,oBAAoB;IAEvB,IAAI;CAiBb;AAED,wBAAsB,YAAY,CAAC,CAAC,EAAE,IAAI,oBAyCzC"}
{"version":3,"file":"DXFLoad.d.ts","sourceRoot":"","sources":["../../../src/Add-on/DXFLoad.ts"],"names":[],"mappings":"AAcA,qBAAa,oBAAoB;IAEvB,IAAI;CAiBb;AAED,wBAAsB,YAAY,CAAC,CAAC,EAAE,IAAI,oBAuEzC"}

View File

@ -1 +1 @@
{"version":3,"file":"DrawBoardTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawBoardTool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAGpE,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAGlG,8BAAsB,aAAc,YAAW,OAAO;IAGlD,SAAS,CAAC,QAAQ,YAAmB;IACrC,SAAS,CAAC,SAAS,EAAE,cAAc,CAAC;IACpC,SAAS,CAAC,KAAK,EAAE,eAAe,GAAG,kBAAkB,GAAG,gBAAgB,CAAC;IACzE,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IACvB,IAAI;IAsBV,OAAO,CAAC,QAAQ,CAKd;YACY,mBAAmB;cAmCjB,UAAU,CAAC,aAAa,UAAO;CAClD"}
{"version":3,"file":"DrawBoardTool.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawBoardTool.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAGpE,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAGlG,8BAAsB,aAAc,YAAW,OAAO;IAGlD,SAAS,CAAC,QAAQ,YAAmB;IACrC,SAAS,CAAC,SAAS,EAAE,cAAc,CAAC;IACpC,SAAS,CAAC,KAAK,EAAE,eAAe,GAAG,kBAAkB,GAAG,gBAAgB,CAAC;IACzE,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IACvB,IAAI;IA0BV,OAAO,CAAC,QAAQ,CAKd;YACY,mBAAmB;cAmCjB,UAAU,CAAC,aAAa,UAAO;CAClD"}

View File

@ -1 +1 @@
{"version":3,"file":"DrawClosingStrip.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawClosingStrip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAW,MAAM,OAAO,CAAC;AAKzC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAc7C,qBAAa,gBAAiB,YAAW,OAAO;IAEtC,IAAI;IA4GV,iBAAiB,CAAC,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO;CAsHtD"}
{"version":3,"file":"DrawClosingStrip.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawClosingStrip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAW,MAAM,OAAO,CAAC;AAMzC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAc7C,qBAAa,gBAAiB,YAAW,OAAO;IAEtC,IAAI;IA4GV,iBAAiB,CAAC,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO;CAsHtD"}

View File

@ -1 +1 @@
{"version":3,"file":"DrawLeftRightBoard.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawLeftRightBoard.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAatD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;IAgBV,OAAO,CAAC,WAAW;IAmBnB,OAAO,CAAC,aAAa,CAuKnB;IACF,OAAO,CAAC,aAAa,CAiCnB;CACL"}
{"version":3,"file":"DrawLeftRightBoard.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawLeftRightBoard.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAatD,qBAAa,aAAc,YAAW,OAAO;IAEnC,IAAI;IAgBV,OAAO,CAAC,WAAW;IAmBnB,OAAO,CAAC,aAAa,CAuKnB;IACF,OAAO,CAAC,aAAa,CAiCnB;CACL"}

View File

@ -1 +1 @@
{"version":3,"file":"DrawSingleBoard.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawSingleBoard.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAQtD,qBAAa,eAAgB,YAAW,OAAO;IAErC,IAAI;CA0Fb"}
{"version":3,"file":"DrawSingleBoard.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawSingleBoard.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAQtD,qBAAa,eAAgB,YAAW,OAAO;IAErC,IAAI;CA0Fb"}

View File

@ -1 +1 @@
{"version":3,"file":"DrawTopBottomBoard.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawTopBottomBoard.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAUtD,qBAAa,kBAAmB,YAAW,OAAO;IAExC,IAAI;CAsCb"}
{"version":3,"file":"DrawTopBottomBoard.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawBoard/DrawTopBottomBoard.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAUtD,qBAAa,kBAAmB,YAAW,OAAO;IAExC,IAAI;CAsCb"}

View File

@ -1 +1 @@
{"version":3,"file":"DimBoards.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawDim/DimBoards.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AAErF,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAc5D;;;GAGG;AACH,qBAAa,SAAS;IAGlB,gBAAgB,UAAQ;IACxB,kBAAkB,UAAQ;IAE1B,wBAAwB,UAAQ;IAChC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OAGG;IACH,OAAO,CAAC,gBAAgB;IAkDxB,OAAO,CAAC,KAAK;IAyab;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,EAAE,CAAC,EAAE,MAAM;CAgLtE;AAGD,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,KAAK,GAAG,OAAO,CAenD"}

View File

@ -1 +1 @@
{"version":3,"file":"OperDimStyle.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawDim/OperDimStyle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAKhF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,OAAO,EAAE,aAAa,EAAiB,MAAM,iBAAiB,CAAC;AAE/D,oBAAY,gBAAgB;IAExB,GAAG,QAAQ;IACX,MAAM,WAAW;CACpB;AAGD,qBACa,YAAa,SAAQ,SAAS,CAAC;IAAE,QAAQ,EAAE,gBAAgB,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,aAAa,CAAC;CAAE,CAAC;IACzH,UAAU,oCAAuC;gBAErC,KAAK,KAAA;IAkBjB,MAAM;IAiDN,OAAO,aAGL;IAEF,KAAK,sBA4CH;IAEF,OAAO,SAAU,MAAM,UAKrB;IAEF,YAAY,CAAC,cAAc,EAAE,cAAc,EAAE,MAAM,EAAE,eAAe;CAYvE"}
{"version":3,"file":"OperDimStyle.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawDim/OperDimStyle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAKhF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,OAAO,EAAE,aAAa,EAAiB,MAAM,iBAAiB,CAAC;AAE/D,oBAAY,gBAAgB;IAExB,GAAG,QAAQ;IACX,MAAM,WAAW;CACpB;AAGD,qBACa,YAAa,SAAQ,SAAS,CAAC;IAAE,QAAQ,EAAE,gBAAgB,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,aAAa,CAAC;CAAE,CAAC;IACzH,UAAU,oCAAuC;gBAErC,KAAK,KAAA;IAkBjB,MAAM;IA2CN,OAAO,aAGL;IAEF,KAAK,sBA4CH;IAEF,OAAO,SAAU,MAAM,UAKrB;IAEF,YAAY,CAAC,cAAc,EAAE,cAAc,EAAE,MAAM,EAAE,eAAe;CAYvE"}

View File

@ -1 +1 @@
{"version":3,"file":"DrillingReactor.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawDrilling/DrillingReactor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAuC5D,qBAAa,eAAe;;IAwExB,OAAO,CAAC,iBAAiB;IAqBnB,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC;CAmBrC"}
{"version":3,"file":"DrillingReactor.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawDrilling/DrillingReactor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAwC5D,qBAAa,eAAe;;IAwExB,OAAO,CAAC,iBAAiB;IAqBnB,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC;CAmBrC"}

View File

@ -4,6 +4,7 @@ import { ObjectId } from "../DatabaseServices/ObjectId";
import { ViewportEntity } from "../DatabaseServices/ViewportEntity";
import { Command } from "../Editor/CommandMachine";
import { RenderType } from "../GraphicsSystem/RenderType";
import { ViewDirection } from "../UI/Store/BoardInterface";
export declare class DrawViewport implements Command {
exec(): Promise<void>;
}
@ -11,18 +12,19 @@ export declare class Draw4Viewport implements Command {
exec(): Promise<void>;
}
/**
* id和门板和非门板
* id和门板和非门板
* hideEntitys
* @param ens
* @returns ids//不含孔的所有实体, doorIds//门板, noDoorIds//非门板, dimIds//标注 }
* @returns ids//不含孔的所有实体, doorIds//门板, dimIds//标注 ,drawerIds//抽屉 }
*/
export declare function GetEntityIds(ens: Entity[]): {
export declare function GetEntityIds(ens: Entity[], hideEntitys?: Entity[]): {
ids: ObjectId<import("../ueapi").CADObject>[];
doorIds: ObjectId<import("../ueapi").CADObject>[];
noDoorIds: ObjectId<import("../ueapi").CADObject>[];
dimIds: ObjectId<import("../ueapi").CADObject>[];
curveIds: ObjectId<import("../ueapi").CADObject>[];
drawerIds: ObjectId<import("../ueapi").CADObject>[];
};
export declare function Get4Viewport(p1: Vector3, p2: Vector3, ens: Entity[], view: number[], wire: string[], isHideDoor?: boolean): ViewportEntity[];
export declare function Get4Viewport(p1: Vector3, p2: Vector3, ens: Entity[], directionInfos: ViewDirection[], renderType: RenderType[], isHideDoor?: boolean, hideEntitys?: Entity[]): ViewportEntity[];
export declare class Draw2Viewport implements Command {
exec(): Promise<void>;
}
@ -35,7 +37,7 @@ export interface ICustomViewportInfo {
width: number;
height: number;
position: Vector3;
hideEntitys: string[];
hideTypes: string[];
}
export declare function DrawCustomViewports(infos: ICustomViewportInfo[], ens: Entity[]): ViewportEntity[];
export declare function DrawCustomViewports(infos: ICustomViewportInfo[], ens: Entity[], hideEntitys: Entity[]): ViewportEntity[];
//# sourceMappingURL=DrawViewport.d.ts.map

View File

@ -1 +1 @@
{"version":3,"file":"DrawViewport.d.ts","sourceRoot":"","sources":["../../../src/Add-on/DrawViewport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,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,EAAE,iBAAiB,EAAgB,MAAM,wBAAwB,CAAC;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIhD;;;;;;GAMG;AACH,qBAAa,cAAe,YAAW,OAAO;IAEpC,IAAI;IAmCV,YAAY,CAAC,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,GAAG;IAO9D,MAAM,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO,GAAE,OAAe;CA4F3E"}
{"version":3,"file":"Extends.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Extends.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAGzD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,iBAAiB,EAAgB,MAAM,wBAAwB,CAAC;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIhD;;;;;;GAMG;AACH,qBAAa,cAAe,YAAW,OAAO;IAEpC,IAAI;IAqCV,YAAY,CAAC,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,GAAG;IAO9D,MAAM,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO,GAAE,OAAe;CA4F3E"}

View File

@ -1 +1 @@
{"version":3,"file":"Fillet.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Fillet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAU/C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAgB,MAAM,wBAAwB,CAAC;AAM1E,qBAAa,aAAc,YAAW,OAAO;IAEzC,aAAa,EAAE,MAAM,CAAK;IAC1B,OAAO,CAAC,YAAY,CAAqB;;IAOnC,IAAI;IA6IV,kBAAkB,CAAC,SAAS,EAAE,MAAM;IAU9B,WAAW,CAAC,KAAK,EAAE,kBAAkB;IA4BrC,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAoIrE"}
{"version":3,"file":"Fillet.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Fillet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAU/C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAgB,MAAM,wBAAwB,CAAC;AAM1E,qBAAa,aAAc,YAAW,OAAO;IAEzC,aAAa,EAAE,MAAM,CAAK;IAC1B,OAAO,CAAC,YAAY,CAAqB;;IAOnC,IAAI;IA+IV,kBAAkB,CAAC,SAAS,EAAE,MAAM;IAU9B,WAAW,CAAC,KAAK,EAAE,kBAAkB;IA4BrC,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAqIrE"}

View File

@ -1 +1 @@
{"version":3,"file":"HideSelected.d.ts","sourceRoot":"","sources":["../../../src/Add-on/HideSelected.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AASnD,qBAAa,oBAAqB,YAAW,OAAO;IAE1C,IAAI;CAmBb;AAED,qBAAa,eAAgB,YAAW,OAAO;IAErC,IAAI;CAqBb;AAED,qBAAa,sBAAuB,YAAW,OAAO;IAE5C,IAAI;CAyBb;AAED,qBAAa,kBAAmB,YAAW,OAAO;IAElC,OAAO,CAAC,OAAO;gBAAP,OAAO,EAAE,OAAO;IAC9B,IAAI;CAoHb;AAED,qBAAa,SAAU,YAAW,OAAO;IAErC,YAAY,UAAQ;IACd,IAAI;CAqCb;AAED,qBAAa,mBAAoB,YAAW,OAAO;IAE/C,IAAI;CAUP"}
{"version":3,"file":"HideSelected.d.ts","sourceRoot":"","sources":["../../../src/Add-on/HideSelected.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AASnD,qBAAa,oBAAqB,YAAW,OAAO;IAE1C,IAAI;CAmBb;AAED,qBAAa,eAAgB,YAAW,OAAO;IAErC,IAAI;CAqBb;AAED,qBAAa,sBAAuB,YAAW,OAAO;IAE5C,IAAI;CAyBb;AAID,qBAAa,kBAAmB,YAAW,OAAO;IAElC,OAAO,CAAC,OAAO;gBAAP,OAAO,EAAE,OAAO;IAC9B,IAAI;CAoHb;AAED,qBAAa,SAAU,YAAW,OAAO;IAErC,YAAY,UAAQ;IACd,IAAI;CAqCb;AAED,qBAAa,mBAAoB,YAAW,OAAO;IAE/C,IAAI;CAUP"}

View File

@ -1 +1 @@
{"version":3,"file":"KJLEdgeAndDrillParse.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/KJL/Import/KJLEdgeAndDrillParse.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE9E,qBAAa,oBAAoB;IAG7B,eAAe,sBAA6B;IAG5C,gBAAgB,sBAA6B;gBAEjC,MAAM,EAAE;QAAE,MAAM,EAAE,qBAAqB,CAAC;KAAE;IAMtD,YAAY,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;IAYzC,UAAU,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,EAAE,GAAG,SAAS;IAwCvD,aAAa,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,aAAa,GAAG,SAAS;IAcjE,MAAM,SAAe;IAErB,UAAU,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,aAAa,GAAG,SAAS;CAgCjE"}
{"version":3,"file":"KJLEdgeAndDrillParse.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/KJL/Import/KJLEdgeAndDrillParse.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE9E,qBAAa,oBAAoB;IAG7B,eAAe,sBAA6B;IAG5C,gBAAgB,sBAA6B;gBAEjC,MAAM,EAAE;QAAE,MAAM,EAAE,qBAAqB,CAAC;KAAE;IAMtD,YAAY,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;IAezC,UAAU,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,EAAE,GAAG,SAAS;IAwCvD,aAAa,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,aAAa,GAAG,SAAS;IAcjE,MAAM,SAAe;IAErB,UAAU,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,aAAa,GAAG,SAAS;CAgCjE"}

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

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

View File

@ -0,0 +1 @@
{"version":3,"file":"MatchProp.d.ts","sourceRoot":"","sources":["../../../src/Add-on/MatchProp.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAQnD,qBAAa,iBAAkB,YAAW,OAAO;IAEvC,IAAI;CAwCb"}

View File

@ -1 +1 @@
{"version":3,"file":"MoveToWCS0.d.ts","sourceRoot":"","sources":["../../../src/Add-on/MoveToWCS0.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAOnD,qBAAa,UAAW,YAAW,OAAO;IAEhC,IAAI;CAkBb;AAED,qBACa,mBAAoB,YAAW,OAAO;IAEzC,IAAI;IAgBV;;;;;;;;OAQG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,SAAO,EAAE,GAAG,SAAO;CA2DhF"}
{"version":3,"file":"MoveToWCS0.d.ts","sourceRoot":"","sources":["../../../src/Add-on/MoveToWCS0.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAI3D,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAOnD,qBAAa,UAAW,YAAW,OAAO;IAEhC,IAAI;CAkBb;AAED,qBACa,mBAAoB,YAAW,OAAO;IAEzC,IAAI;IAgBV;;;;;;;;OAQG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,SAAO,EAAE,GAAG,SAAO;CA2DhF"}

View File

@ -8,7 +8,7 @@ export declare class Command_OpenCabinet implements Command {
private SetDrawerDirection;
private GetDrawerMap;
private GetDoorGroups;
private DoMove;
DoMove(canOpen: boolean): Promise<void>;
private ModelingRotate;
private SetDoorGroupRotate;
}

View File

@ -1 +1 @@
{"version":3,"file":"OpenCabinet.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/OpenCabinet/OpenCabinet.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAWtD,qBAAa,mBAAoB,YAAW,OAAO;IAE/C,OAAO,CAAC,eAAe,CAAqC;IAC5D,OAAO,CAAC,aAAa,CAAoD;IACzE,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,MAAM,CAAK;IAEb,IAAI;IA+FV,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,YAAY;IA+DpB,OAAO,CAAC,aAAa;IA0CrB,OAAO,CAAC,MAAM;IA4Dd,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,kBAAkB;CA2F7B"}
{"version":3,"file":"OpenCabinet.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/OpenCabinet/OpenCabinet.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAWtD,qBAAa,mBAAoB,YAAW,OAAO;IAE/C,OAAO,CAAC,eAAe,CAAqC;IAC5D,OAAO,CAAC,aAAa,CAAoD;IACzE,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,MAAM,CAAK;IAEb,IAAI;IAgGV,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,YAAY;IA+DpB,OAAO,CAAC,aAAa;IA0Cf,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IA+D7C,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,kBAAkB;CA4F7B"}

View File

@ -1 +1 @@
{"version":3,"file":"Print.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Print.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAOnD,qBACa,KAAM,YAAW,OAAO;IAE3B,IAAI;CA2Cb;AAmxBD,wBAAgB,cAAc,WAkD7B;AAED,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,OAAO,UAAO,2BAiFhE"}
{"version":3,"file":"Print.d.ts","sourceRoot":"","sources":["../../../src/Add-on/Print.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAOnD,qBACa,KAAM,YAAW,OAAO;IAE3B,IAAI;CA0Cb;AAmxBD,wBAAgB,cAAc,WAkD7B;AAED,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,OAAO,UAAO,2BAiFhE"}

View File

@ -1 +1 @@
{"version":3,"file":"Curve2Wall.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/Room/Curve2Wall.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAGtD,qBAAa,kBAAmB,YAAW,OAAO;IAExC,IAAI;CA2Cb"}
{"version":3,"file":"Curve2Wall.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/Room/Curve2Wall.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAItD,qBAAa,kBAAmB,YAAW,OAAO;IAExC,IAAI;CA6Cb"}

View File

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

View File

@ -0,0 +1 @@
{"version":3,"file":"Command_ShareView.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ShareView/Command_ShareView.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAKtD,qBAAa,iBAAkB,YAAW,OAAO;IAEvC,IAAI;CA4Eb"}

5
types/Add-on/ShareView/Entry.d.ts vendored Normal file
View File

@ -0,0 +1,5 @@
import "../../UI/Css/blue.less";
import "../../UI/Css/golden.less";
import "../../UI/Css/style.less";
import "../../UI/Css/switchTheme.less";
//# sourceMappingURL=Entry.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"Entry.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ShareView/Entry.tsx"],"names":[],"mappings":"AAYA,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;AAClC,OAAO,yBAAyB,CAAC;AACjC,OAAO,+BAA+B,CAAC"}

14
types/Add-on/ShareView/Layout.d.ts vendored Normal file
View File

@ -0,0 +1,14 @@
import { ShareViewService } from './Service';
export declare class ShareViewLayout {
app: ShareViewService;
constructor();
initRootLayout(): void;
renderFunctionButton(): void;
renderCameraControlButton(): void;
renderMouseUI(): void;
renderVirtualKeys(): void;
renderCameraState(): void;
renderAxisMode(): void;
CanvasOnsizeEvent(): void;
}
//# sourceMappingURL=Layout.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ShareView/Layout.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAI7C,qBAAa,eAAe;IAExB,GAAG,EAAE,gBAAgB,CAAC;;IAwEtB,cAAc;IAqDd,oBAAoB;IAepB,yBAAyB;IAezB,aAAa;IAab,iBAAiB;IAQjB,iBAAiB;IAIjB,cAAc;IAKd,iBAAiB;CACpB"}

35
types/Add-on/ShareView/Service.d.ts vendored Normal file
View File

@ -0,0 +1,35 @@
import { ApplicationService } from "../../ApplicationServices/Application";
import { EBoardKeyList } from "../../Common/BoardKeyList";
import { CADFiler } from "../../DatabaseServices/CADFiler";
import { Entity } from "../../DatabaseServices/Entity/Entity";
import { Editor } from "../../Editor/Editor";
export declare let shareViewApp: ShareViewService;
export declare class ShareViewService extends ApplicationService {
BoxCtrl: BoxService;
constructor();
protected InitService(): void;
CreateDocument(name?: string): void;
SendCameraPosToRenderer: () => void;
LoadFile(f: CADFiler): Promise<void>;
}
export type BoxInfo = {
[EBoardKeyList.RoomName]?: string;
[EBoardKeyList.CabinetName]?: string;
};
export declare class BoxService {
_BoxList: BoxInfo[];
_BoxDict: {
[key: string]: Entity[];
};
_CabinetFormatData: any;
get CabinetFormatData(): any;
get BoxList(): BoxInfo[];
Init(editor: Editor): Promise<void>;
SetBoxVisible(index: number, visible: boolean): void;
SetCabinetFormatData(data: any): void;
FilterEntities(index: any, predicate: (Entity: any) => boolean): Entity[];
GetEntities(index: any): Entity[];
private GetEntityGroupKey;
private GetBoxInfo;
}
//# sourceMappingURL=Service.d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KAAK,OAAO;IAMpD,WAAW,CAAC,KAAK,KAAA;IAMjB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,UAAU;CAarB"}

11
types/Add-on/ShareView/Store.d.ts vendored Normal file
View File

@ -0,0 +1,11 @@
import { Singleton } from "../../Common/Singleton";
import { Board } from "../../DatabaseServices/Entity/Board";
export declare class BoxStore extends Singleton {
Index: number[];
RoomName: string;
SelectedBoard: Board;
ViewIDErrorMsg: string;
Theme: 'light' | 'dark' | string;
ThemeLog: 'light' | 'dark' | string;
}
//# sourceMappingURL=Store.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ShareView/Store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,qBAAa,QAAS,SAAQ,SAAS;IAGnC,KAAK,EAAE,MAAM,EAAE,CAAM;IAErB,QAAQ,EAAE,MAAM,CAAC;IAGjB,aAAa,EAAE,KAAK,CAAQ;IAG5B,cAAc,EAAE,MAAM,CAAM;IAI5B,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAW;IAI3C,QAAQ,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAM;CAC5C"}

View File

@ -0,0 +1,2 @@
export declare function SetSelectedBoardChange(before?: () => void, after?: () => void): void;
//# sourceMappingURL=StoreEvent.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"StoreEvent.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ShareView/StoreEvent.ts"],"names":[],"mappings":"AAIA,wBAAgB,sBAAsB,CAAC,MAAM,GAAE,MAAM,IAAW,EAAE,KAAK,GAAE,MAAM,IAAW,QAezF"}

25
types/Add-on/ShareView/Util.d.ts vendored Normal file
View File

@ -0,0 +1,25 @@
import { Board } from "../../DatabaseServices/Entity/Board";
import { Entity } from "../../DatabaseServices/Entity/Entity";
import { ICompHardwareOption, IToplineOption } from "../../UI/Components/RightPanel/RightPanelInterface";
import { BoxInfo } from "./Service";
export declare function ForbiddenToaster(action: () => Promise<void> | void): void;
export declare function ExplosionView(index: number, distance: number): Promise<void>;
export declare function resetBoxView(): void;
export declare function GetBoxCovers(callback: (url: string, item: BoxInfo, index: any) => void): Promise<any[]>;
export declare function GetBoxItemInfo(entites: Entity[]): {
boardList: Board[];
hardwareCompositeList: ICompHardwareOption[];
hardwareToplineList: IToplineOption[];
};
export declare function SwitchDoor(visible: boolean): Promise<void>;
export declare function CreateBoxDim(): Promise<void>;
export declare function DeleteBoxDim(): Promise<void>;
export declare function ToFixed(val: any): any;
export declare function SPGetSpiteSize(board: Board): {
height: any;
width: any;
thickness: any;
};
export declare function MaterialDetailScrollTo(): void;
export declare function ChangeThemeColor(type: 'light' | 'dark' | string): void;
//# sourceMappingURL=Util.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"Util.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ShareView/Util.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAS9D,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AAIzG,OAAO,EAAE,OAAO,EAAgB,MAAM,WAAW,CAAC;AAKlD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,QAalE;AAGD,wBAAsB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAwClE;AAID,wBAAgB,YAAY,SAgB3B;AAYD,wBAAsB,YAAY,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,KAAA,KAAK,IAAI,kBAkBvF;AAGD,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE;;;;EAmB/C;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE,OAAO,iBAiHhD;AAED,wBAAsB,YAAY,kBASjC;AAED,wBAAsB,YAAY,kBAcjC;AAGD,wBAAgB,OAAO,CAAC,GAAG,KAAA,OAe1B;AAGD,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK;;;;EAkB1C;AAID,wBAAgB,sBAAsB,SAOrC;AAID,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,QAG/D"}

View File

@ -0,0 +1,4 @@
/// <reference types="react" />
declare const BoardHideIcon: () => JSX.Element;
export default BoardHideIcon;
//# sourceMappingURL=BoardHideIcon.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"BoardHideIcon.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/BoardHideIcon.tsx"],"names":[],"mappings":";AASA,QAAA,MAAM,aAAa,mBAsDlB,CAAC;AAEF,eAAe,aAAa,CAAC"}

View File

@ -0,0 +1,4 @@
/// <reference types="react" />
declare const BoardMessageWidget: () => JSX.Element;
export default BoardMessageWidget;
//# sourceMappingURL=BoardMessageWidget.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"BoardMessageWidget.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/BoardMessageWidget.tsx"],"names":[],"mappings":";AAOA,QAAA,MAAM,kBAAkB,mBAyBtB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}

View File

@ -0,0 +1,9 @@
import React from "react";
interface IProps {
reset: Function;
ref: React.Ref<any>;
cancelCallback: Function;
}
declare const CabinetBottomSheet: React.FC<IProps>;
export default CabinetBottomSheet;
//# sourceMappingURL=CabinetBottomSheet.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"CabinetBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/CabinetBottomSheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoD,MAAM,OAAO,CAAC;AASzE,UAAU,MAAM;IAEZ,KAAK,EAAE,QAAQ,CAAC;IAChB,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,cAAc,EAAE,QAAQ,CAAC;CAC5B;AAGD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAqJvC,CAAC;AAGH,eAAe,kBAAkB,CAAC"}

View File

@ -0,0 +1,9 @@
import React from "react";
interface IProps {
ref: React.Ref<any>;
loading: (val: boolean) => void;
reset: () => void;
}
declare const ExplosionMapWidget: React.FC<IProps>;
export default ExplosionMapWidget;
//# sourceMappingURL=ExplosionMapWidget.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"ExplosionMapWidget.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/ExplosionMapWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAIjF,UAAU,MAAM;IAEZ,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,OAAO,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IAChC,KAAK,EAAE,MAAM,IAAI,CAAC;CAErB;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAkDvC,CAAC;AAEH,eAAe,kBAAkB,CAAC"}

View File

@ -0,0 +1,8 @@
import React from "react";
interface IProps {
ref: React.Ref<any>;
cancelCallback: Function;
}
declare const MaterialBottomSheet: React.FC<IProps>;
export default MaterialBottomSheet;
//# sourceMappingURL=MaterialBottomSheet.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"MaterialBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/MaterialBottomSheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAuE,MAAM,OAAO,CAAC;AAO5F,UAAU,MAAM;IAEZ,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,cAAc,EAAE,QAAQ,CAAC;CAE5B;AAGD,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAqQxC,CAAC;AAEH,eAAe,mBAAmB,CAAC"}

View File

@ -0,0 +1,2 @@
export declare const SPToaster: import("@blueprintjs/core").IToaster;
//# sourceMappingURL=SPToater.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"SPToater.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/SPToater.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,sCAIpB,CAAC"}

View File

@ -0,0 +1,4 @@
/// <reference types="react" />
import "../index.less";
export declare function ShareViewUI(): JSX.Element;
//# sourceMappingURL=ShareViewUI.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"ShareViewUI.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/ShareViewUI.tsx"],"names":[],"mappings":";AAOA,OAAO,eAAe,CAAC;AAcvB,wBAAgB,WAAW,gBA+R1B"}

View File

@ -0,0 +1,4 @@
/// <reference types="react" />
declare const ShareWidget: () => JSX.Element;
export default ShareWidget;
//# sourceMappingURL=ShareWidget.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"ShareWidget.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/ShareWidget.tsx"],"names":[],"mappings":";AAMA,QAAA,MAAM,WAAW,mBAwDf,CAAC;AAEH,eAAe,WAAW,CAAC"}

View File

@ -0,0 +1,4 @@
/// <reference types="react" />
declare const SideBar: () => JSX.Element;
export default SideBar;
//# sourceMappingURL=SideBar.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"SideBar.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/SideBar.tsx"],"names":[],"mappings":";AASA,QAAA,MAAM,OAAO,mBA2CZ,CAAC;AAGF,eAAe,OAAO,CAAC"}

View File

@ -0,0 +1,4 @@
/// <reference types="react" />
declare function ThemeButton(): JSX.Element;
export default ThemeButton;
//# sourceMappingURL=ThemeButton.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"ThemeButton.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/ThemeButton.tsx"],"names":[],"mappings":";AAMA,iBAAS,WAAW,gBAkBnB;AAGD,eAAe,WAAW,CAAC"}

View File

@ -0,0 +1,8 @@
import React from "react";
interface IProps {
closeDoor: Function;
ref: React.Ref<any>;
}
declare const ViewAngle: React.FC<IProps>;
export default ViewAngle;
//# sourceMappingURL=ViewAngle.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"ViewAngle.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/ViewAngle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuE,MAAM,OAAO,CAAC;AAM5F,UAAU,MAAM;IAEZ,SAAS,EAAE,QAAQ,CAAC;IACpB,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACvB;AAGD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAgH9B,CAAC;AAEH,eAAe,SAAS,CAAC"}

View File

@ -0,0 +1,4 @@
/// <reference types="react" />
declare const ViewIDErrorWidget: () => JSX.Element;
export default ViewIDErrorWidget;
//# sourceMappingURL=ViewIDErrorWidget.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"ViewIDErrorWidget.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/ViewIDErrorWidget.tsx"],"names":[],"mappings":";AAMA,QAAA,MAAM,iBAAiB,mBAgBtB,CAAC;AAGF,eAAe,iBAAiB,CAAC"}

View File

@ -0,0 +1,8 @@
import React from "react";
interface IProps {
reset: Function;
ref: React.Ref<any>;
}
declare const ViewStyle: React.FC<IProps>;
export default ViewStyle;
//# sourceMappingURL=ViewStyle.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"ViewStyle.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/ViewStyle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuE,MAAM,OAAO,CAAC;AAK5F,UAAU,MAAM;IAEZ,KAAK,EAAE,QAAQ,CAAC;IAChB,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACvB;AAGD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAgI9B,CAAC;AAEH,eAAe,SAAS,CAAC"}

View File

@ -3,7 +3,8 @@ import { Command } from "../Editor/CommandMachine";
import { RenderType } from "../GraphicsSystem/RenderType";
export declare class ChangeRenderType implements Command {
private _type;
constructor(_type: RenderType);
private _opacity;
constructor(_type: RenderType, _opacity?: number);
get NoHistory(): boolean;
get Transparency(): boolean;
exec(): Promise<void>;

View File

@ -1 +1 @@
{"version":3,"file":"SwitchVisualStyles.d.ts","sourceRoot":"","sources":["../../../src/Add-on/SwitchVisualStyles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAG1D,qBAAa,gBAAiB,YAAW,OAAO;IAEhC,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,UAAU;IAMrC,IAAI,SAAS,YAGZ;IAGD,IAAI,YAAY,YAGf;IAEK,IAAI;IAwCV,cAAc,CAAC,EAAE,EAAE,cAAc,EAAE;CAOtC"}
{"version":3,"file":"SwitchVisualStyles.d.ts","sourceRoot":"","sources":["../../../src/Add-on/SwitchVisualStyles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAG1D,qBAAa,gBAAiB,YAAW,OAAO;IAEhC,OAAO,CAAC,KAAK;IAAc,OAAO,CAAC,QAAQ;gBAAnC,KAAK,EAAE,UAAU,EAAU,QAAQ,SAAI;IAM3D,IAAI,SAAS,YAGZ;IAGD,IAAI,YAAY,YAGf;IAEK,IAAI;IAyCV,cAAc,CAAC,EAAE,EAAE,cAAc,EAAE;CAOtC"}

View File

@ -8,4 +8,7 @@ export declare class Command_DisableSyncData implements Command {
export declare class Command_ToggleSyncData implements Command {
exec(): void;
}
export declare class Command_ToggleViewFollow implements Command {
exec(): void;
}
//# sourceMappingURL=SyncData.d.ts.map

View File

@ -1 +1 @@
{"version":3,"file":"SyncData.d.ts","sourceRoot":"","sources":["../../../src/Add-on/SyncData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAKnD,qBAAa,sBAAuB,YAAW,OAAO;IAE5C,IAAI;CAIb;AAED,qBAAa,uBAAwB,YAAW,OAAO;IAE7C,IAAI;CAIb;AAED,qBAAa,sBAAuB,YAAW,OAAO;IAElD,IAAI;CAKP"}
{"version":3,"file":"SyncData.d.ts","sourceRoot":"","sources":["../../../src/Add-on/SyncData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAKnD,qBAAa,sBAAuB,YAAW,OAAO;IAE5C,IAAI;CAIb;AAED,qBAAa,uBAAwB,YAAW,OAAO;IAE7C,IAAI;CAIb;AAED,qBAAa,sBAAuB,YAAW,OAAO;IAElD,IAAI;CAKP;AAGD,qBAAa,wBAAyB,YAAW,OAAO;IAEpD,IAAI;CAIP"}

View File

@ -1 +1 @@
{"version":3,"file":"EditFrame.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ViewortConfig/EditFrame.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAOtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD,qBAAa,cAAc;IAEX,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAuD;IACjF,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAgG;IAC1H,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAmC;CAC5E;AAED,qBAAa,SAAU,YAAW,OAAO;IAErC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,UAAU,CAAa;IAC/B,KAAK,EAAE,oBAAoB,CAAC;IAEtB,IAAI;CA6Gb"}
{"version":3,"file":"EditFrame.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ViewortConfig/EditFrame.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAOtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEtD,qBAAa,cAAc;IAEX,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAwE;IAClG,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAgG;IAC1H,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAmC;CAC5E;AAED,qBAAa,SAAU,YAAW,OAAO;IAErC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,UAAU,CAAa;IAC/B,KAAK,EAAE,oBAAoB,CAAC;IAEtB,IAAI;CA6Gb"}

View File

@ -1 +1 @@
{"version":3,"file":"Viewport2Config.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ViewortConfig/Viewport2Config.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAoB,aAAa,EAAuB,MAAM,+CAA+C,CAAC;AAErH,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CA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"}

View File

@ -1,9 +1,10 @@
import { RenderType } from "../../GraphicsSystem/RenderType";
export declare const viewportOptions: {
label: string;
value: number;
}[];
export declare const wireFrame: {
export declare const ViewportRenderTypeOptions: {
label: string;
value: string;
value: RenderType;
}[];
//# sourceMappingURL=ViewportOptions.d.ts.map

View File

@ -1 +1 @@
{"version":3,"file":"ViewportOptions.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ViewortConfig/ViewportOptions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;GAQ3B,CAAC;AAEF,eAAO,MAAM,SAAS;;;GAQrB,CAAC"}
{"version":3,"file":"ViewportOptions.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ViewortConfig/ViewportOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D,eAAO,MAAM,eAAe;;;GAQ3B,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;GAQrC,CAAC"}

View File

@ -1,4 +1,10 @@
import { Command } from "../../Editor/CommandMachine";
export declare enum HideEntityText {
Door = "door",
Dim = "dim",
Curve = "curve",
Drawer = "drawer"
}
export declare class OneKeyLayout implements Command {
private _cacheRect;
exec(): Promise<void>;

View File

@ -1 +1 @@
{"version":3,"file":"OneKeyLayout.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/Viewport/OneKeyLayout.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAqBtD,qBAAa,YAAa,YAAW,OAAO;IAExC,OAAO,CAAC,UAAU,CAAyB;IACrC,IAAI;IAiYV,OAAO,CAAC,UAAU,CAiKhB;IAEF,OAAO,CAAC,WAAW;IAcnB,OAAO,CAAC,kBAAkB;IAyB1B,OAAO,CAAC,kBAAkB;CA8B7B"}
{"version":3,"file":"OneKeyLayout.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/Viewport/OneKeyLayout.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAsBtD,oBAAY,cAAc;IAEtB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;CACpB;AAED,qBAAa,YAAa,YAAW,OAAO;IAExC,OAAO,CAAC,UAAU,CAAyB;IACrC,IAAI;IA+XV,OAAO,CAAC,UAAU,CAmKhB;IAEF,OAAO,CAAC,WAAW;IAcnB,OAAO,CAAC,kBAAkB;IAyB1B,OAAO,CAAC,kBAAkB;CA8B7B"}

View File

@ -7,20 +7,20 @@ interface BoardProps {
BoardProps: Board[];
}
export declare class GroovesModifyModal extends React.Component<BoardProps, ICommonOptionProps, {}> {
_ei1: GrooveInfo[][];
_refs: React.RefObject<any>[];
_inputEls: React.RefObject<any>[][];
_inputEl1: React.RefObject<HTMLInputElement>;
_inputEl2: React.RefObject<HTMLInputElement>;
_inputEl3: React.RefObject<HTMLInputElement>;
_inputEl4: React.RefObject<HTMLInputElement>;
_isCheckAll: boolean;
getExtrudeSolidList(board: Board, grooves: GrooveInfo[][]): GrooveInfo[];
modifyOfPart(grooves: GrooveInfo[][], inputEls: React.RefObject<any>[][]): void;
modifyOfCheck: (e: GrooveInfo[][]) => void;
onChange: () => Promise<void>;
_GrooveInfo: GrooveInfo[][];
_Refs: React.RefObject<any>[];
_InputEls: React.RefObject<any>[][];
_InputEl1: React.RefObject<HTMLInputElement>;
_InputEl2: React.RefObject<HTMLInputElement>;
_InputEl3: React.RefObject<HTMLInputElement>;
_InputEl4: React.RefObject<HTMLInputElement>;
_IsCheckAll: boolean;
_GetExtrudeSolidList(board: Board, grooves: GrooveInfo[][]): GrooveInfo[];
_ModifyOfPart(grooves: GrooveInfo[][], inputEls: React.RefObject<any>[][]): void;
_ModifyOfCheck: (e: GrooveInfo[][]) => void;
_ChangeValue: () => Promise<void>;
_CheckNum(e: React.ChangeEvent<HTMLInputElement>, isKnifeRadius?: boolean): void;
onKeyDown(e: React.KeyboardEvent<HTMLInputElement>): void;
checkNum(e: React.ChangeEvent<HTMLInputElement>): void;
render(): JSX.Element;
}
export {};

View File

@ -1 +1 @@
{"version":3,"file":"GroovesModifyModal.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/showModal/GroovesModifyModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAG5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAEjF,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,UAAU,UAAU;IAEhB,UAAU,EAAE,KAAK,EAAE,CAAC;CACvB;AAED,qBACa,kBAAmB,SAAQ,KAAK,CAAC,SAAS,CAAC,UAAU,EAAE,kBAAkB,EAAE,EAAE,CAAC;IAEvF,IAAI,EAAE,UAAU,EAAE,EAAE,CAAM;IAC1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAM;IACnC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,CAAM;IACzC,SAAS,oCAAuC;IAChD,SAAS,oCAAuC;IAChD,SAAS,oCAAuC;IAChD,SAAS,oCAAuC;IACpC,WAAW,EAAE,OAAO,CAAS;IAEzC,mBAAmB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE;IA4BzD,YAAY,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE;IAgCxE,aAAa,MAAO,UAAU,EAAE,EAAE,UAuBhC;IAEF,QAAQ,sBAYN;IAEF,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;IASlD,QAAQ,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBA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@ -1 +1 @@
{"version":3,"file":"Curve2RecModal.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/twoD2threeD/Modals/Curve2RecModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,EAAoB,aAAa,EAAuB,MAAM,kDAAkD,CAAC;AAKxH,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,mBAAoB,SAAQ,SAAU,YAAW,YAAY;IAE1D,UAAU,SAAQ;IAClB,YAAY,EAAE,MAAM,EAAE,CAAM;IAC5B,MAAM,EAAE,eAAe,CAAiC;IACpE,SAAS,CAAC,QAAQ,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC/C,IAAI,QAAQ,+BAKX;IACD,UAAU;IAcV,UAAU;IAMV,YAAY,CAAC,GAAG,EAAE,aAAa,CAAC,eAAe,CAAC;IAMhD,cAAc;IAMd,MAAM;IAMN,IAAI;CAQP;AACD,qBACa,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC;IAAE,KAAK,EAAE,mBAAmB,CAAC;CAAE,EAAE,EAAE,CAAC;IACpF,OAAO,CAAC,WAAW,CAAkB;IACrC,iBAAiB;IAgBjB,oBAAoB;IAOpB,MAAM;CAmGT"}
{"version":3,"file":"Curve2RecModal.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/twoD2threeD/Modals/Curve2RecModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,EAAoB,aAAa,EAAuB,MAAM,kDAAkD,CAAC;AAKxH,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,mBAAoB,SAAQ,SAAU,YAAW,YAAY;IAE1D,UAAU,SAAQ;IAClB,YAAY,EAAE,MAAM,EAAE,CAAM;IAC5B,MAAM,EAAE,eAAe,CAAiC;IACpE,SAAS,CAAC,QAAQ,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAC/C,IAAI,QAAQ,+BAKX;IACD,UAAU;IAcV,UAAU;IAMV,YAAY,CAAC,GAAG,EAAE,aAAa,CAAC,eAAe,CAAC;IAMhD,cAAc;IAMd,MAAM;IAMN,IAAI;CAQP;AACD,qBACa,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC;IAAE,KAAK,EAAE,mBAAmB,CAAC;CAAE,EAAE,EAAE,CAAC;IACpF,OAAO,CAAC,WAAW,CAAkB;IACrC,iBAAiB;IAgBjB,oBAAoB;IAOpB,MAAM;CAuGT"}

View File

@ -1 +1 @@
{"version":3,"file":"R2b2.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/twoD2threeD/Modals/R2b2.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAWzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAUzC,qBACa,SAAU,SAAQ,SAAS,CAAC;IAAE,KAAK,EAAE,SAAS,CAAC;CAAE,CAAC;IAE3D,OAAO,CAAC,KAAK,CAAW;IACxB,iBAAiB;IAejB,oBAAoB;IAMpB,MAAM;IA4EN,OAAO,CAAC,KAAK,CAKX;IACF,OAAO,CAAC,OAAO,CAkBb;CACL"}
{"version":3,"file":"R2b2.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/twoD2threeD/Modals/R2b2.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAUzC,qBACa,SAAU,SAAQ,SAAS,CAAC;IAAE,KAAK,EAAE,SAAS,CAAC;CAAE,CAAC;IAE3D,OAAO,CAAC,KAAK,CAAW;IACxB,iBAAiB;IAejB,oBAAoB;IAMpB,MAAM;IA6EN,OAAO,CAAC,KAAK,CAKX;IACF,OAAO,CAAC,OAAO,CAkBb;CACL"}

View File

@ -1 +1 @@
{"version":3,"file":"Rec2Br.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/twoD2threeD/Modals/Rec2Br.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,OAAO,uBAAuB,CAAC;AAI/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,qBACa,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC;IAAE,KAAK,EAAE,WAAW,CAAC;CAAE,EAAE,EAAE,CAAC;IAEzE,OAAO,CAAC,WAAW,CAAkB;IAErC,iBAAiB;IAgCjB,oBAAoB;IAOpB,OAAO,CAAC,SAAS,CA6Cf;IACF,MAAM;IAqEA,UAAU;CAoBnB"}
{"version":3,"file":"Rec2Br.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/twoD2threeD/Modals/Rec2Br.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,OAAO,uBAAuB,CAAC;AAI/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,qBACa,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC;IAAE,KAAK,EAAE,WAAW,CAAC;CAAE,EAAE,EAAE,CAAC;IAEzE,OAAO,CAAC,WAAW,CAAkB;IAErC,iBAAiB;IAgCjB,oBAAoB;IAOpB,OAAO,CAAC,SAAS,CA+Cf;IACF,MAAM;IAsEA,UAAU;CAoBnB"}

View File

@ -1,6 +1,7 @@
import { Component } from 'react';
import { IUiOption } from '../../UI/Store/BoardInterface';
import { ParseBoardNameStore } from './ParseBoardNameStore';
import { GetOptionState } from "./R2bConfigComponent";
import { IParseBoardNameOption } from './R2bInterface';
import { Rec2BrStore } from './Rec2BrStore';
interface IParseBoardProps {
@ -8,6 +9,7 @@ interface IParseBoardProps {
m_Option: IParseBoardNameOption;
UIOption: IUiOption<IParseBoardNameOption>;
};
getOption?: (state: GetOptionState) => void;
}
export declare class ParseBoardName extends Component<IParseBoardProps> {
private m_ScaleParameter;

View File

@ -1 +1 @@
{"version":3,"file":"ParseBoardNamePanel.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/ParseBoardNamePanel.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUzC,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,UAAU,gBAAgB;IAEtB,KAAK,EAAE;QACH,QAAQ,EAAE,qBAAqB,CAAC;QAChC,QAAQ,EAAE,SAAS,CAAC,qBAAqB,CAAC,CAAC;KAC9C,CAAC;CACL;AAED,qBACa,cAAe,SAAQ,SAAS,CAAC,gBAAgB,CAAC;IAE3D,OAAO,CAAC,gBAAgB,CAGtB;IACF,WAAW,cAA4C;IACvD,MAAM;CAwMT;AAED,qBAAa,mBAAoB,SAAQ,SAAS,CAAC;IAAE,KAAK,EAAE,mBAAmB,CAAC;CAAE,CAAC;IAE/E,OAAO,CAAC,KAAK,CAAW;IACxB,iBAAiB;IAgBjB,oBAAoB;IAKpB,MAAM;IAmCN,OAAO,CAAC,EAAE,CAaR;IACF,OAAO,CAAC,KAAK,CAKX;CACL"}
{"version":3,"file":"ParseBoardNamePanel.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/ParseBoardNamePanel.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYzC,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,UAAU,gBAAgB;IAEtB,KAAK,EAAE;QACH,QAAQ,EAAE,qBAAqB,CAAC;QAChC,QAAQ,EAAE,SAAS,CAAC,qBAAqB,CAAC,CAAC;KAC9C,CAAC;IACF,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC/C;AAED,qBACa,cAAe,SAAQ,SAAS,CAAC,gBAAgB,CAAC;IAE3D,OAAO,CAAC,gBAAgB,CAGtB;IACF,WAAW,cAA4C;IACvD,MAAM;CA2OT;AAED,qBAAa,mBAAoB,SAAQ,SAAS,CAAC;IAAE,KAAK,EAAE,mBAAmB,CAAC;CAAE,CAAC;IAE/E,OAAO,CAAC,KAAK,CAAW;IACxB,iBAAiB;IAgBjB,oBAAoB;IAKpB,MAAM;IAoCN,OAAO,CAAC,EAAE,CAaR;IACF,OAAO,CAAC,KAAK,CAKX;CACL"}

View File

@ -1 +1 @@
{"version":3,"file":"ParseBoardNameStore.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/ParseBoardNameStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,qBAAa,mBAAoB,SAAQ,UAAU,CAAC,qBAAqB,CAAC;IAE1D,QAAQ,EAAE,qBAAqB,CAAsC;IACrE,UAAU,EAAE,SAAS,CAAC,qBAAqB,CAAC,CAAC;IACzD,UAAU;IAMV,cAAc;IAId,UAAU;;;IAOV,YAAY,CAAC,GAAG,EAAE,aAAa,CAAC,qBAAqB,CAAC;CAYzD;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAuD,CAAC"}
{"version":3,"file":"ParseBoardNameStore.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/ParseBoardNameStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,qBAAa,mBAAoB,SAAQ,UAAU,CAAC,qBAAqB,CAAC;IAE1D,QAAQ,EAAE,qBAAqB,CAAsC;IACrE,UAAU,EAAE,SAAS,CAAC,qBAAqB,CAAC,CAAC;IACzD,UAAU;IAMV,cAAc;IAId,UAAU;;;IAOV,YAAY,CAAC,GAAG,EAAE,aAAa,CAAC,qBAAqB,CAAC;CAoBzD;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAuD,CAAC"}

View File

@ -1 +1 @@
{"version":3,"file":"Polyline2Board.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/Polyline2Board.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAW,MAAM,OAAO,CAAC;AAS/C,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAGl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C,YAAY,EAAE,MAAM,CAAM;IAC1B,UAAU,SAAQ;IAClB,gBAAgB,UAAS;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,WAAW;IA8BrB,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE;IAkjB1B,SAAS,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,MAAM,UAAQ,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,EAAE;IA+FnE,iBAAiB,CAAC,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ;IAiB9C,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,aAAa;CA6BxB"}

View File

@ -6,6 +6,7 @@ export interface ISelectBrConfigNameProps {
export declare class SelectBrConfigName extends React.Component<ISelectBrConfigNameProps> {
private configNames;
componentDidMount(): Promise<void>;
_GetConfigNames(): void;
render(): JSX.Element;
private handleChange;
}

View File

@ -1 +1 @@
{"version":3,"file":"R2BCommon.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/R2BCommon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,wBAAwB;IAErC,KAAK,EAAE,WAAW,CAAC;CACtB;AAED,qBACa,kBAAmB,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC;IACjE,OAAO,CAAC,WAAW,CAAgB;IACzC,iBAAiB;IAYhB,MAAM;IA2Bb,OAAO,CAAC,YAAY,CAMlB;CACL;AAGD,UAAU,qBAAqB;IAE3B,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;KAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC/B;AAED,qBACa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC;IAEvE,MAAM;IAeN,OAAO,CAAC,YAAY,CAMlB;CACL"}
{"version":3,"file":"R2BCommon.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/R2BCommon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,wBAAwB;IAErC,KAAK,EAAE,WAAW,CAAC;CACtB;AAED,qBACa,kBAAmB,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC;IACjE,OAAO,CAAC,WAAW,CAAgB;IAEzC,iBAAiB;IAKvB,eAAe;IAeR,MAAM;IAsCb,OAAO,CAAC,YAAY,CAMlB;CACL;AAGD,UAAU,qBAAqB;IAE3B,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;KAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC/B;AAED,qBACa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC;IAEvE,MAAM;IAeN,OAAO,CAAC,YAAY,CAMlB;CACL"}

View File

@ -1 +1 @@
{"version":3,"file":"R2BProcessComponent.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/R2BProcessComponent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,yBAAyB;IAEtC,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC9C;AAED,qBACa,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,yBAAyB,CAAC;IAC/E,OAAO,CAAC,SAAS,CAAyB;IAE1C,OAAO,CAAC,OAAO,CAEb;IACK,MAAM;IAuHb,OAAO,CAAC,WAAW,CAMjB;CACL"}
{"version":3,"file":"R2BProcessComponent.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/R2BProcessComponent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,yBAAyB;IAEtC,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC9C;AAED,qBACa,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,yBAAyB,CAAC;IAC/E,OAAO,CAAC,SAAS,CAAyB;IAE1C,OAAO,CAAC,OAAO,CAEb;IACK,MAAM;IAgGb,OAAO,CAAC,WAAW,CAMjB;CACL"}

View File

@ -21,6 +21,7 @@ export interface IParseBoardNameOption extends IBaseOption {
isbottomMostBackBrName: boolean;
isstripeBrName: boolean;
iscabinetName: boolean;
isModifyRoomName: boolean;
isMultiBackBr: boolean;
isBack: boolean;
backName: string;

View File

@ -1 +1 @@
{"version":3,"file":"R2bInterface.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/R2bInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEtF,MAAM,WAAW,qB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U,CAAC,EAAE,MAAM,CAAC;IACnC,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACpC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;CAC/B"}

View File

@ -1 +1 @@
{"version":3,"file":"Rec2BrStore.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/Rec2BrStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,qBAAa,WAAY,SAAQ,UAAU,CAAC,aAAa,CAAC;IAE1C,QAAQ,EAAE,aAAa,CAA2B;IAClD,YAAY,EAAE,aAAa,CAKrC;IACF,OAAO,CAAC,gBAAgB,CAA2B;IAEnD,IAAI,cAAc,IAAI,SAAS,CAAC,aAAa,CAAC,CAK7C;IAGD,UAAU;IAiBV,cAAc;IAMd,UAAU;IASV,aAAa,CAAC,GAAG,EAAE,aAAa,CAAC,aAAa,CAAC;IAkBzC,YAAY,CAAC,GAAG,EAAE,aAAa,CAAC,aAAa,CAAC;IAsCpD,WAAW;;;CAyBd"}
{"version":3,"file":"Rec2BrStore.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/twoD2threeD/Rec2BrStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,qBAAa,WAAY,SAAQ,UAAU,CAAC,aAAa,CAAC;IAE1C,QAAQ,EAAE,aAAa,CAA2B;IAClD,YAAY,EAAE,aAAa,CAKrC;IACF,OAAO,CAAC,gBAAgB,CAA2B;IAEnD,IAAI,cAAc,IAAI,SAAS,CAAC,aAAa,CAAC,CAK7C;IAGD,UAAU;IAiBV,cAAc;IAMd,UAAU;IASV,aAAa,CAAC,GAAG,EAAE,aAAa,CAAC,aAAa,CAAC;IAkBzC,YAAY,CAAC,GAAG,EAAE,aAAa,CAAC,aAAa,CAAC;IA2CpD,WAAW;;;CAyBd"}

View File

@ -41,6 +41,7 @@ export declare class ApplicationService {
CameraFlySpeed: number;
private _PerCameraUseSkyBox;
constructor();
protected InitService(): void;
SendCameraPosToRenderer(): void;
get PerCameraUseSkyBox(): boolean;
set PerCameraUseSkyBox(b: boolean);

View File

@ -1 +1 @@
{"version":3,"file":"Application.d.ts","sourceRoot":"","sources":["../../../src/ApplicationServices/Application.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAWzE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAIxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG1D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAOlD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGlE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B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