Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
965ae43070 | ||
![]() |
36541f1617 |
@@ -153,20 +153,15 @@ export class SimpleBoard
|
|||||||
let mesh = new Mesh(ext.MeshGeometry, boardMaterial);
|
let mesh = new Mesh(ext.MeshGeometry, boardMaterial);
|
||||||
mesh.userData = ext.Normal;
|
mesh.userData = ext.Normal;
|
||||||
edges.forEach(e => e.userData = ext.Normal);
|
edges.forEach(e => e.userData = ext.Normal);
|
||||||
mesh.applyMatrix4(ext.OCSNoClone);
|
|
||||||
mesh.updateWorldMatrix(false, true);
|
|
||||||
|
|
||||||
// 自定义编号
|
// 自定义编号
|
||||||
|
|
||||||
// let o = this._CustomNumberTextEntity.GetDrawObjectFromRenderType(RenderType.Conceptual);
|
|
||||||
// if (o)
|
|
||||||
// {
|
|
||||||
// mesh.add(o);
|
|
||||||
// }
|
|
||||||
if (this._CustomNumber)
|
if (this._CustomNumber)
|
||||||
{
|
{
|
||||||
mesh.add(this.createCustomNo());
|
mesh.add(this.createCustomNo());
|
||||||
}
|
}
|
||||||
|
mesh.applyMatrix4(ext.OCSNoClone);
|
||||||
|
mesh.updateWorldMatrix(false, true);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return { mesh, edges };
|
return { mesh, edges };
|
||||||
}
|
}
|
||||||
|
@@ -1,14 +1,14 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"L": 2000,
|
"L": 875,
|
||||||
"W": 600,
|
"W": 560,
|
||||||
"H": 18,
|
"H": 18.5,
|
||||||
"CabName": "",
|
"CabName": "客厅",
|
||||||
"BoardName": "左侧板",
|
"BoardName": "左侧板",
|
||||||
"BasePoint": {
|
"BasePoint": {
|
||||||
"x": 778.2094240837696,
|
"x": 6154.77834988623,
|
||||||
"y": 0,
|
"y": 224.38394523692736,
|
||||||
"z": 295.8115183248293
|
"z": 1399.4464813779712
|
||||||
},
|
},
|
||||||
"XVec": {
|
"XVec": {
|
||||||
"x": 0,
|
"x": 0,
|
||||||
@@ -31,16 +31,16 @@
|
|||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 600,
|
"x": 560,
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 600,
|
"x": 560,
|
||||||
"y": 2000
|
"y": 875
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 2000
|
"y": 875
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 0,
|
"x": 0,
|
||||||
@@ -54,159 +54,9 @@
|
|||||||
0,
|
0,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
"DataID": 3987342,
|
"DataID": 3988993,
|
||||||
"Drillings": [
|
"Drillings": [],
|
||||||
{
|
|
||||||
"x": 49,
|
|
||||||
"y": 987.4999999999999,
|
|
||||||
"r": 2.5,
|
|
||||||
"h": 11,
|
|
||||||
"f": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 549,
|
|
||||||
"y": 987.4999999999999,
|
|
||||||
"r": 2.5,
|
|
||||||
"h": 11,
|
|
||||||
"f": 0
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"BoardType": 1,
|
"BoardType": 1,
|
||||||
"CustomNumber": 1
|
"CustomNumber": 1
|
||||||
},
|
|
||||||
{
|
|
||||||
"L": 2000,
|
|
||||||
"W": 600,
|
|
||||||
"H": 18,
|
|
||||||
"CabName": "",
|
|
||||||
"BoardName": "右侧板",
|
|
||||||
"BasePoint": {
|
|
||||||
"x": 1960.2094240837696,
|
|
||||||
"y": 0,
|
|
||||||
"z": 295.8115183248293
|
|
||||||
},
|
|
||||||
"XVec": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 1,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"YVec": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"ZVec": {
|
|
||||||
"x": 1,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"Pts": [
|
|
||||||
{
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 600,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 600,
|
|
||||||
"y": 2000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 0,
|
|
||||||
"y": 2000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"Buls": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"DataID": 3987343,
|
|
||||||
"Drillings": [
|
|
||||||
{
|
|
||||||
"x": 49,
|
|
||||||
"y": 987.4999999999999,
|
|
||||||
"r": 2.5,
|
|
||||||
"h": 11,
|
|
||||||
"f": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 549,
|
|
||||||
"y": 987.4999999999999,
|
|
||||||
"r": 2.5,
|
|
||||||
"h": 11,
|
|
||||||
"f": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"BoardType": 1,
|
|
||||||
"CustomNumber": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"L": 1162,
|
|
||||||
"W": 600,
|
|
||||||
"H": 18,
|
|
||||||
"CabName": "",
|
|
||||||
"BoardName": "活动层板",
|
|
||||||
"BasePoint": {
|
|
||||||
"x": 1941.2094240837696,
|
|
||||||
"y": 0,
|
|
||||||
"z": 1304.8115183248292
|
|
||||||
},
|
|
||||||
"XVec": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 1,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"YVec": {
|
|
||||||
"x": -1,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"ZVec": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"Pts": [
|
|
||||||
{
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 600,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 600,
|
|
||||||
"y": 1162
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 0,
|
|
||||||
"y": 1162
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"Buls": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"DataID": 3987344,
|
|
||||||
"Drillings": [],
|
|
||||||
"BoardType": 0,
|
|
||||||
"CustomNumber": 3
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user