修改三维设备屏蔽门模型,修改屏蔽门描述
This commit is contained in:
parent
50102fb62a
commit
5bf37dfa0c
@ -30,36 +30,9 @@ export function Textconfig(){
|
||||
show:true,
|
||||
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"){
|
||||
part.text = "滑轮挂件左";
|
||||
part.msg = "滑轮挂件左";
|
||||
|
@ -961,7 +961,7 @@ export function Jl3ddeviceNew(dom,group,token,skinCode) {
|
||||
textplane= new THREE.Mesh( textgeometry, textmaterial );
|
||||
// textplane.name = data[i].code;
|
||||
textplane.position.x = point.x;
|
||||
textplane.position.y = point.y+6;
|
||||
textplane.position.y = point.y+7;
|
||||
textplane.position.z = point.z;
|
||||
textplane.rotation.y = -Math.PI/2;
|
||||
textplane.lookAt(scope.camera.position);
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user