@@ -48982,7 +48982,7 @@ var BP3DJS = (function (exports) {
48982
48982
48983
48983
var config = { dimUnit: dimCentiMeter, wallHeight: 250, wallThickness: 10, systemUI: false };
48984
48984
48985
- var wallInformation = { exterior: true, interior: true, midline: true };
48985
+ var wallInformation = { exterior: true, interior: true, midline: true, labels: true, exteriorlabel: 'e:', interiorlabel: 'i:', midlinelabel: 'm:' };
48986
48986
48987
48987
/** Global configuration to customize the whole system. */
48988
48988
var Configuration = function () {
@@ -117903,7 +117903,8 @@ var BP3DJS = (function (exports) {
117903
117903
// dont draw labels on walls this short
117904
117904
return;
117905
117905
}
117906
- this.drawTextLabel('m:' + Dimensioning.cmToMeasure(length), this.viewmodel.convertX(pos.x), this.viewmodel.convertY(pos.y));
117906
+ var label = !wallInformation.labels ? '' : wallInformation.midlinelabel;
117907
+ this.drawTextLabel('' + label + Dimensioning.cmToMeasure(length), this.viewmodel.convertX(pos.x), this.viewmodel.convertY(pos.y));
117907
117908
}
117908
117909
117909
117910
/** */
@@ -117918,7 +117919,8 @@ var BP3DJS = (function (exports) {
117918
117919
return;
117919
117920
}
117920
117921
if (wallInformation.exterior) {
117921
- this.drawTextLabel('e:' + Dimensioning.cmToMeasure(length), this.viewmodel.convertX(pos.x), this.viewmodel.convertY(pos.y + 40));
117922
+ var label = !wallInformation.labels ? '' : wallInformation.exteriorlabel;
117923
+ this.drawTextLabel('' + label + Dimensioning.cmToMeasure(length), this.viewmodel.convertX(pos.x), this.viewmodel.convertY(pos.y + 40));
117922
117924
}
117923
117925
}
117924
117926
@@ -117934,7 +117936,8 @@ var BP3DJS = (function (exports) {
117934
117936
return;
117935
117937
}
117936
117938
if (wallInformation.interior) {
117937
- this.drawTextLabel('i:' + Dimensioning.cmToMeasure(length), this.viewmodel.convertX(pos.x), this.viewmodel.convertY(pos.y - 40));
117939
+ var label = !wallInformation.labels ? '' : wallInformation.interiorlabel;
117940
+ this.drawTextLabel('' + label + Dimensioning.cmToMeasure(length), this.viewmodel.convertX(pos.x), this.viewmodel.convertY(pos.y - 40));
117938
117941
}
117939
117942
}
117940
117943
}, {
0 commit comments