修改三维设备屏蔽门模型,修改屏蔽门描述

This commit is contained in:
sunzhenyu 2021-06-24 11:10:41 +08:00
parent 50102fb62a
commit 5bf37dfa0c
3 changed files with 4 additions and 31 deletions

View File

@ -30,36 +30,9 @@ export function Textconfig(){
show:true, show:true,
msg:null, msg:null,
}; };
if(selectmodel.children[i].name == "HDMZ"){
part.text = "滑动门左";
part.msg = "滑动门左";
selectmodel.children[i].text = "滑动门左";
}
if(selectmodel.children[i].name == "HDMY"){
part.text = "滑动门右";
part.msg = "滑动门右";
selectmodel.children[i].text = "滑动门右";
}
if(selectmodel.children[i].name == "CZJG"){
part.text = "承重结构";
part.msg = "承重结构";
selectmodel.children[i].text = "承重结构";
}
if(selectmodel.children[i].name == "GDM"){
part.text = "固定门";
part.msg = "固定门";
selectmodel.children[i].text = "固定门";
}
if(selectmodel.children[i].name == "YJMZ"){
part.text = "应急门左";
part.msg = "应急门左";
selectmodel.children[i].text = "应急门左";
}
if(selectmodel.children[i].name == "YJMY"){
part.text = "应急门右";
part.msg = "应急门右";
selectmodel.children[i].text = "应急门右";
}
if(selectmodel.children[i].name == "HLGJZ"){ if(selectmodel.children[i].name == "HLGJZ"){
part.text = "滑轮挂件左"; part.text = "滑轮挂件左";
part.msg = "滑轮挂件左"; part.msg = "滑轮挂件左";

View File

@ -961,7 +961,7 @@ export function Jl3ddeviceNew(dom,group,token,skinCode) {
textplane= new THREE.Mesh( textgeometry, textmaterial ); textplane= new THREE.Mesh( textgeometry, textmaterial );
// textplane.name = data[i].code; // textplane.name = data[i].code;
textplane.position.x = point.x; textplane.position.x = point.x;
textplane.position.y = point.y+6; textplane.position.y = point.y+7;
textplane.position.z = point.z; textplane.position.z = point.z;
textplane.rotation.y = -Math.PI/2; textplane.rotation.y = -Math.PI/2;
textplane.lookAt(scope.camera.position); textplane.lookAt(scope.camera.position);

Binary file not shown.