mxcad 1.0.118 → 1.0.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mxcad.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MxFun as T, MrxDbgUiPrPoint as we, MxCursorType as Qt, DynamicInputType as X, MrxDbgUtils as vt, DetailedResult as
|
|
1
|
+
import { MxFun as T, MrxDbgUiPrPoint as we, MxCursorType as Qt, DynamicInputType as X, MrxDbgUtils as vt, DetailedResult as ze, MrxDbgUiPrDist as qr, MrxDbgUiPrAngle as Qr, MrxDbgUiPrInt as Mr, MrxDbgUiPrKeyWord as xr, MrxDbgUiPrString as $r, MxDrawObject as en, store as tn, loadCoreCode as rn, MxPaintBrush as je, MrxDbgUiPrBaseReturn as se, MxDbCircleShape as Ri, MxDbCircleArc as Ft, MxDbLine as nn, Mx3PointArc as Cn, MxDbEllipseShape as sn, McEdGetPointWorldDrawObject as En, MxDbEllipse as Dn } from "mxdraw";
|
|
2
2
|
function bi(i) {
|
|
3
3
|
return btoa(unescape(encodeURIComponent(i)));
|
|
4
4
|
}
|
|
@@ -127,8 +127,8 @@ class Bn {
|
|
|
127
127
|
return t;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
let
|
|
131
|
-
class
|
|
130
|
+
let _ = new Bn();
|
|
131
|
+
class S {
|
|
132
132
|
static kOrigin;
|
|
133
133
|
imp;
|
|
134
134
|
constructor(e, t, r) {
|
|
@@ -168,10 +168,10 @@ class _ {
|
|
|
168
168
|
return this.imp.isEqualTo(e.imp);
|
|
169
169
|
}
|
|
170
170
|
clone() {
|
|
171
|
-
return new
|
|
171
|
+
return new S(this.imp);
|
|
172
172
|
}
|
|
173
173
|
c() {
|
|
174
|
-
return new
|
|
174
|
+
return new S(this.imp);
|
|
175
175
|
}
|
|
176
176
|
get x() {
|
|
177
177
|
return this.imp.x;
|
|
@@ -374,15 +374,15 @@ class _t {
|
|
|
374
374
|
return this.imp.length();
|
|
375
375
|
}
|
|
376
376
|
at(e, t = !0) {
|
|
377
|
-
return t ?
|
|
377
|
+
return t ? _.decodeFromGb2312(this.imp.at(e)) : this.imp.at(e);
|
|
378
378
|
}
|
|
379
379
|
setAt(e, t, r = !0) {
|
|
380
|
-
r ? this.imp.setAt(e,
|
|
380
|
+
r ? this.imp.setAt(e, _.encodeToGb2312(t)) : this.imp.setAt(e, t);
|
|
381
381
|
}
|
|
382
382
|
forEach(e, t = !0) {
|
|
383
383
|
let r = this.imp.length();
|
|
384
384
|
for (let n = 0; n < r; n++)
|
|
385
|
-
e(t ?
|
|
385
|
+
e(t ? _.decodeFromGb2312(this.imp.at(n)) : this.imp.at(n), n);
|
|
386
386
|
}
|
|
387
387
|
clear() {
|
|
388
388
|
this.imp.clear();
|
|
@@ -406,7 +406,7 @@ class Oi {
|
|
|
406
406
|
return this.imp.length() == 0;
|
|
407
407
|
}
|
|
408
408
|
at(e) {
|
|
409
|
-
return new
|
|
409
|
+
return new S(this.imp.at(e));
|
|
410
410
|
}
|
|
411
411
|
setAt(e, t) {
|
|
412
412
|
this.imp.setAt(e, t.imp);
|
|
@@ -461,10 +461,10 @@ class rt {
|
|
|
461
461
|
}
|
|
462
462
|
getJson() {
|
|
463
463
|
let e = this.imp.getJson();
|
|
464
|
-
return
|
|
464
|
+
return _.decodeFromGb2312(e);
|
|
465
465
|
}
|
|
466
466
|
setJson(e) {
|
|
467
|
-
let t =
|
|
467
|
+
let t = _.encodeToGb2312(e);
|
|
468
468
|
return this.imp.setJson(t);
|
|
469
469
|
}
|
|
470
470
|
isKindOf(e) {
|
|
@@ -629,10 +629,10 @@ class ie extends rt {
|
|
|
629
629
|
return { val: new R(this.imp.AtObjectId(e), k.kMxCAD), ret: u.getCallResult() == 0 };
|
|
630
630
|
}
|
|
631
631
|
AtString(e, t = !0) {
|
|
632
|
-
return t ? { val:
|
|
632
|
+
return t ? { val: _.decodeFromGb2312(this.imp.AtString(e)), ret: u.getCallResult() == 0 } : { val: this.imp.AtString(e), ret: u.getCallResult() == 0 };
|
|
633
633
|
}
|
|
634
634
|
AtPoint(e) {
|
|
635
|
-
return { val: new
|
|
635
|
+
return { val: new S(this.imp.AtPoint(e)), ret: u.getCallResult() == 0 };
|
|
636
636
|
}
|
|
637
637
|
ItemDataType() {
|
|
638
638
|
return this.imp.ItemDataType();
|
|
@@ -647,7 +647,7 @@ class ie extends rt {
|
|
|
647
647
|
return this.imp.AddObjectId(e, t);
|
|
648
648
|
}
|
|
649
649
|
AddString(e, t = -10, r = !0) {
|
|
650
|
-
return r ? this.imp.AddString(
|
|
650
|
+
return r ? this.imp.AddString(_.encodeToGb2312(e), t) : this.imp.AddString(e, t);
|
|
651
651
|
}
|
|
652
652
|
AddMcDbEntityTypes(e) {
|
|
653
653
|
return this.imp.AddString(e, 5020);
|
|
@@ -759,7 +759,7 @@ class Gi {
|
|
|
759
759
|
break;
|
|
760
760
|
}
|
|
761
761
|
return r && r(s), new Promise((D) => {
|
|
762
|
-
s ==
|
|
762
|
+
s == ze.kEcsIn || s == ze.kNewCommadIn || s == ze.kUnknown ? D(null) : D(t && E ? { pt1: t, pt2: E } : null);
|
|
763
763
|
});
|
|
764
764
|
}
|
|
765
765
|
getMcDbEntitysBoundingBox(e) {
|
|
@@ -771,7 +771,7 @@ class Gi {
|
|
|
771
771
|
let s = C.getBoundingBox();
|
|
772
772
|
!s.ret || (!t || !r ? (t = new THREE.Vector3(s.minPt.x, s.minPt.y, 0), r = new THREE.Vector3(s.maxPt.x, s.maxPt.y, 0)) : (t.x > s.minPt.x && (t.x = s.minPt.x), t.y > s.minPt.y && (t.y = s.minPt.y), r.x < s.maxPt.x && (r.x = s.maxPt.x), r.y < s.maxPt.y && (r.y = s.maxPt.y)));
|
|
773
773
|
}), t && r)
|
|
774
|
-
return { minPt: new
|
|
774
|
+
return { minPt: new S(t), maxPt: new S(r) };
|
|
775
775
|
}
|
|
776
776
|
calcBulge(e, t, r) {
|
|
777
777
|
return { val: this.imp.calcBulge(e.imp, t.imp, r.imp), ret: u.getCallResult() == 0 };
|
|
@@ -782,8 +782,8 @@ var Ni = /* @__PURE__ */ ((i) => (i[i.kSelected = 0] = "kSelected", i[i.kNone =
|
|
|
782
782
|
class fe extends rt {
|
|
783
783
|
isWhileSelect = !0;
|
|
784
784
|
isSelectHighlight = !0;
|
|
785
|
-
selectPt1 = new
|
|
786
|
-
selectPt2 = new
|
|
785
|
+
selectPt1 = new S();
|
|
786
|
+
selectPt2 = new S();
|
|
787
787
|
constructor() {
|
|
788
788
|
super(), this.initTempObject(new u.mxcadassemblyimp.McDrawSelSet());
|
|
789
789
|
}
|
|
@@ -817,7 +817,7 @@ class fe extends rt {
|
|
|
817
817
|
return e;
|
|
818
818
|
}
|
|
819
819
|
async userSelect(e, t = null) {
|
|
820
|
-
this.selectPt1 = new
|
|
820
|
+
this.selectPt1 = new S(), this.selectPt2 = new S();
|
|
821
821
|
let r = new we();
|
|
822
822
|
e && r.setMessage(e), r.setCursorType(Qt.kRect), r.setDynamicInputType(X.kDynTip), r.disableAllTrace();
|
|
823
823
|
let n = 0, C = Ue(t), s = u.getCurrentMxCAD();
|
|
@@ -841,7 +841,7 @@ class fe extends rt {
|
|
|
841
841
|
if (this.imp.userSelect(D.x, D.y, F.x, F.y, C, this.isSelectHighlight), this.selectPt1.copy(D), this.selectPt2.copy(F), !this.isWhileSelect)
|
|
842
842
|
break;
|
|
843
843
|
}
|
|
844
|
-
return this.isSelectHighlight && this.imp.highlightEntity(!1), n ==
|
|
844
|
+
return this.isSelectHighlight && this.imp.highlightEntity(!1), n == ze.kEcsIn || n == ze.kNewCommadIn || n == ze.kUnknown ? new Promise((E) => {
|
|
845
845
|
E(!1);
|
|
846
846
|
}) : new Promise((E) => {
|
|
847
847
|
E(!0);
|
|
@@ -855,18 +855,16 @@ class ke {
|
|
|
855
855
|
this.imp = e, this.mxobj = T.getCurrentDraw();
|
|
856
856
|
}
|
|
857
857
|
doc2cad1(e) {
|
|
858
|
-
|
|
859
|
-
return new _(t.x, t.y, t.z);
|
|
858
|
+
return new S(e.x, e.y, e.z);
|
|
860
859
|
}
|
|
861
860
|
doc2cad2(e, t, r) {
|
|
862
|
-
|
|
863
|
-
return new _(n.x, n.y, n.z);
|
|
861
|
+
return new S(e, t, r);
|
|
864
862
|
}
|
|
865
863
|
cad2doc1(e) {
|
|
866
|
-
return
|
|
864
|
+
return new THREE.Vector3(e.x, e.y, e.z);
|
|
867
865
|
}
|
|
868
866
|
cad2doc2(e, t, r) {
|
|
869
|
-
return
|
|
867
|
+
return new THREE.Vector3(e, t, r);
|
|
870
868
|
}
|
|
871
869
|
keyWords() {
|
|
872
870
|
return this.imp.keyWords();
|
|
@@ -986,7 +984,7 @@ class Q extends ke {
|
|
|
986
984
|
return this.doc2cad1(this.imp.value());
|
|
987
985
|
}
|
|
988
986
|
getDocValue() {
|
|
989
|
-
return new
|
|
987
|
+
return new S(this.imp.value());
|
|
990
988
|
}
|
|
991
989
|
basePt() {
|
|
992
990
|
return this.doc2cad1(this.imp.basePt());
|
|
@@ -1100,7 +1098,7 @@ class Je extends ke {
|
|
|
1100
1098
|
return this.id;
|
|
1101
1099
|
}
|
|
1102
1100
|
getDocPickPoint() {
|
|
1103
|
-
return new
|
|
1101
|
+
return new S(this.imp.value());
|
|
1104
1102
|
}
|
|
1105
1103
|
}
|
|
1106
1104
|
var ct;
|
|
@@ -1174,7 +1172,7 @@ class Te {
|
|
|
1174
1172
|
this.imp.colorIndex = e;
|
|
1175
1173
|
}
|
|
1176
1174
|
getColorString() {
|
|
1177
|
-
return
|
|
1175
|
+
return _.decodeFromGb2312(this.imp.getColorString());
|
|
1178
1176
|
}
|
|
1179
1177
|
getColorValue(e, t) {
|
|
1180
1178
|
let r = 0;
|
|
@@ -1188,10 +1186,10 @@ class ki extends Be {
|
|
|
1188
1186
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbLinetypeTableRecord());
|
|
1189
1187
|
}
|
|
1190
1188
|
get name() {
|
|
1191
|
-
return
|
|
1189
|
+
return _.decodeFromGb2312(this.imp.getName());
|
|
1192
1190
|
}
|
|
1193
1191
|
set name(e) {
|
|
1194
|
-
this.imp.setName(
|
|
1192
|
+
this.imp.setName(_.encodeToGb2312(e));
|
|
1195
1193
|
}
|
|
1196
1194
|
get numDashes() {
|
|
1197
1195
|
return this.imp.numDashes();
|
|
@@ -1206,10 +1204,10 @@ class ki extends Be {
|
|
|
1206
1204
|
return this.imp.setDashLengthAt(e, t);
|
|
1207
1205
|
}
|
|
1208
1206
|
get comments() {
|
|
1209
|
-
return
|
|
1207
|
+
return _.decodeFromGb2312(this.imp.comments());
|
|
1210
1208
|
}
|
|
1211
1209
|
set comments(e) {
|
|
1212
|
-
this.imp.setComments(
|
|
1210
|
+
this.imp.setComments(_.encodeToGb2312(e));
|
|
1213
1211
|
}
|
|
1214
1212
|
shapeStyleAt(e) {
|
|
1215
1213
|
return this.imp.shapeStyleAt(e);
|
|
@@ -1254,10 +1252,10 @@ class ki extends Be {
|
|
|
1254
1252
|
return this.imp.setShapeRotationAt(e, t);
|
|
1255
1253
|
}
|
|
1256
1254
|
textAt(e) {
|
|
1257
|
-
return
|
|
1255
|
+
return _.decodeFromGb2312(this.imp.textAt(e));
|
|
1258
1256
|
}
|
|
1259
1257
|
setTextAt(e, t) {
|
|
1260
|
-
return this.imp.setTextAt(e,
|
|
1258
|
+
return this.imp.setTextAt(e, _.encodeToGb2312(t));
|
|
1261
1259
|
}
|
|
1262
1260
|
}
|
|
1263
1261
|
class Yi extends Be {
|
|
@@ -1265,10 +1263,10 @@ class Yi extends Be {
|
|
|
1265
1263
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbTextStyleTableRecord());
|
|
1266
1264
|
}
|
|
1267
1265
|
get name() {
|
|
1268
|
-
return
|
|
1266
|
+
return _.decodeFromGb2312(this.imp.getName());
|
|
1269
1267
|
}
|
|
1270
1268
|
set name(e) {
|
|
1271
|
-
this.imp.setName(
|
|
1269
|
+
this.imp.setName(_.encodeToGb2312(e));
|
|
1272
1270
|
}
|
|
1273
1271
|
get isShapeFile() {
|
|
1274
1272
|
return this.imp.isShapeFile();
|
|
@@ -1307,19 +1305,19 @@ class Yi extends Be {
|
|
|
1307
1305
|
this.imp.setFlagBits(e);
|
|
1308
1306
|
}
|
|
1309
1307
|
get fileName() {
|
|
1310
|
-
return
|
|
1308
|
+
return _.decodeFromGb2312(this.imp.fileName());
|
|
1311
1309
|
}
|
|
1312
1310
|
set fileName(e) {
|
|
1313
|
-
this.imp.setFileName(
|
|
1311
|
+
this.imp.setFileName(_.encodeToGb2312(e));
|
|
1314
1312
|
}
|
|
1315
1313
|
get bigFontFileName() {
|
|
1316
|
-
return
|
|
1314
|
+
return _.decodeFromGb2312(this.imp.bigFontFileName());
|
|
1317
1315
|
}
|
|
1318
1316
|
set bigFontFileName(e) {
|
|
1319
|
-
this.imp.setBigFontFileName(
|
|
1317
|
+
this.imp.setBigFontFileName(_.encodeToGb2312(e));
|
|
1320
1318
|
}
|
|
1321
1319
|
setFont(e, t, r, n, C) {
|
|
1322
|
-
return this.imp.setFont(
|
|
1320
|
+
return this.imp.setFont(_.encodeToGb2312(e), t, r, n, C);
|
|
1323
1321
|
}
|
|
1324
1322
|
font() {
|
|
1325
1323
|
let e = this.imp.font();
|
|
@@ -1334,10 +1332,10 @@ class ji extends Be {
|
|
|
1334
1332
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbLayerTableRecord());
|
|
1335
1333
|
}
|
|
1336
1334
|
get name() {
|
|
1337
|
-
return
|
|
1335
|
+
return _.decodeFromGb2312(this.imp.getName());
|
|
1338
1336
|
}
|
|
1339
1337
|
set name(e) {
|
|
1340
|
-
this.imp.setName(
|
|
1338
|
+
this.imp.setName(_.encodeToGb2312(e));
|
|
1341
1339
|
}
|
|
1342
1340
|
get isFrozen() {
|
|
1343
1341
|
return this.imp.isFrozen();
|
|
@@ -1390,11 +1388,11 @@ class Gt extends Be {
|
|
|
1390
1388
|
return new R(this.imp.add(e.getImp()), k.kMxCAD);
|
|
1391
1389
|
}
|
|
1392
1390
|
get(e, t = !0) {
|
|
1393
|
-
let r =
|
|
1391
|
+
let r = _.encodeToGb2312(e);
|
|
1394
1392
|
return new R(this.imp.get(r, t));
|
|
1395
1393
|
}
|
|
1396
1394
|
has(e) {
|
|
1397
|
-
let t =
|
|
1395
|
+
let t = _.encodeToGb2312(e);
|
|
1398
1396
|
return this.imp.get(t, !0) != 0;
|
|
1399
1397
|
}
|
|
1400
1398
|
}
|
|
@@ -1412,11 +1410,11 @@ class Nt extends Be {
|
|
|
1412
1410
|
return new R(this.imp.add(e.getImp()), k.kMxCAD);
|
|
1413
1411
|
}
|
|
1414
1412
|
get(e, t = !0) {
|
|
1415
|
-
let r =
|
|
1413
|
+
let r = _.encodeToGb2312(e);
|
|
1416
1414
|
return new R(this.imp.get(r, t));
|
|
1417
1415
|
}
|
|
1418
1416
|
has(e) {
|
|
1419
|
-
let t =
|
|
1417
|
+
let t = _.encodeToGb2312(e);
|
|
1420
1418
|
return this.imp.get(t, !0) != 0;
|
|
1421
1419
|
}
|
|
1422
1420
|
}
|
|
@@ -1434,11 +1432,11 @@ class kt extends Be {
|
|
|
1434
1432
|
return new R(this.imp.add(e.getImp()), k.kMxCAD);
|
|
1435
1433
|
}
|
|
1436
1434
|
get(e, t = !0) {
|
|
1437
|
-
let r =
|
|
1435
|
+
let r = _.encodeToGb2312(e);
|
|
1438
1436
|
return new R(this.imp.get(r, t));
|
|
1439
1437
|
}
|
|
1440
1438
|
has(e) {
|
|
1441
|
-
let t =
|
|
1439
|
+
let t = _.encodeToGb2312(e);
|
|
1442
1440
|
return this.imp.get(t, !0) != 0;
|
|
1443
1441
|
}
|
|
1444
1442
|
}
|
|
@@ -1481,18 +1479,18 @@ class $t extends rt {
|
|
|
1481
1479
|
}
|
|
1482
1480
|
getCurrentlyLineTypeName() {
|
|
1483
1481
|
let e = this.imp.GetCurrentlyLineTypeName();
|
|
1484
|
-
return
|
|
1482
|
+
return _.decodeFromGb2312(e);
|
|
1485
1483
|
}
|
|
1486
1484
|
setCurrentlyLineTypeName(e) {
|
|
1487
|
-
let t =
|
|
1485
|
+
let t = _.encodeToGb2312(e);
|
|
1488
1486
|
this.imp.SetCurrentlyLineTypeName(t);
|
|
1489
1487
|
}
|
|
1490
1488
|
getCurrentlyLayerName() {
|
|
1491
1489
|
let e = this.imp.GetCurrentlyLayerName();
|
|
1492
|
-
return
|
|
1490
|
+
return _.decodeFromGb2312(e);
|
|
1493
1491
|
}
|
|
1494
1492
|
setCurrentlyLayerName(e) {
|
|
1495
|
-
let t =
|
|
1493
|
+
let t = _.encodeToGb2312(e);
|
|
1496
1494
|
this.imp.SetCurrentlyLayerName(t);
|
|
1497
1495
|
}
|
|
1498
1496
|
getCurrentlyTrueColor() {
|
|
@@ -1513,10 +1511,10 @@ class $t extends rt {
|
|
|
1513
1511
|
}
|
|
1514
1512
|
getCurrentlyTextStyleName() {
|
|
1515
1513
|
let e = this.imp.GetCurrentlyTextStyleName();
|
|
1516
|
-
return
|
|
1514
|
+
return _.decodeFromGb2312(e);
|
|
1517
1515
|
}
|
|
1518
1516
|
setCurrentlyTextStyle(e) {
|
|
1519
|
-
let t =
|
|
1517
|
+
let t = _.encodeToGb2312(e);
|
|
1520
1518
|
this.imp.SetCurrentlyTextStyle(t);
|
|
1521
1519
|
}
|
|
1522
1520
|
handleToIdIndex(e) {
|
|
@@ -1547,16 +1545,16 @@ class ei extends Be {
|
|
|
1547
1545
|
return u.App.getImp().DestroyMdGeLongArray(r), t;
|
|
1548
1546
|
}
|
|
1549
1547
|
get origin() {
|
|
1550
|
-
return new
|
|
1548
|
+
return new S(this.imp.origin());
|
|
1551
1549
|
}
|
|
1552
1550
|
set origin(e) {
|
|
1553
1551
|
this.imp.setOrigin(e.imp);
|
|
1554
1552
|
}
|
|
1555
1553
|
getBoundingBox() {
|
|
1556
1554
|
let e = this.imp.getBoundingBox();
|
|
1557
|
-
return e.length() < 2 ? { minPt: new
|
|
1558
|
-
minPt: new
|
|
1559
|
-
maxPt: new
|
|
1555
|
+
return e.length() < 2 ? { minPt: new S(), maxPt: new S(), ret: !1 } : {
|
|
1556
|
+
minPt: new S(e.at(0)),
|
|
1557
|
+
maxPt: new S(e.at(1)),
|
|
1560
1558
|
ret: !0
|
|
1561
1559
|
};
|
|
1562
1560
|
}
|
|
@@ -1564,10 +1562,10 @@ class ei extends Be {
|
|
|
1564
1562
|
this.imp.invalidBoundingBoxBuffer();
|
|
1565
1563
|
}
|
|
1566
1564
|
get name() {
|
|
1567
|
-
return
|
|
1565
|
+
return _.decodeFromGb2312(this.imp.getName());
|
|
1568
1566
|
}
|
|
1569
1567
|
set name(e) {
|
|
1570
|
-
this.imp.setName(
|
|
1568
|
+
this.imp.setName(_.encodeToGb2312(e));
|
|
1571
1569
|
}
|
|
1572
1570
|
}
|
|
1573
1571
|
class Yt extends Be {
|
|
@@ -1584,11 +1582,11 @@ class Yt extends Be {
|
|
|
1584
1582
|
return new R(this.imp.add(e.getImp()), k.kMxCAD);
|
|
1585
1583
|
}
|
|
1586
1584
|
get(e, t = !0) {
|
|
1587
|
-
let r =
|
|
1585
|
+
let r = _.encodeToGb2312(e);
|
|
1588
1586
|
return new R(this.imp.get(r, t));
|
|
1589
1587
|
}
|
|
1590
1588
|
has(e) {
|
|
1591
|
-
let t =
|
|
1589
|
+
let t = _.encodeToGb2312(e);
|
|
1592
1590
|
return this.imp.get(t, !0) != 0;
|
|
1593
1591
|
}
|
|
1594
1592
|
}
|
|
@@ -1613,16 +1611,16 @@ class Le extends Be {
|
|
|
1613
1611
|
this.imp.SetColorIndex(e);
|
|
1614
1612
|
}
|
|
1615
1613
|
get layer() {
|
|
1616
|
-
return
|
|
1614
|
+
return _.decodeFromGb2312(this.imp.Layer());
|
|
1617
1615
|
}
|
|
1618
1616
|
set layer(e) {
|
|
1619
|
-
this.imp.SetLayer(
|
|
1617
|
+
this.imp.SetLayer(_.encodeToGb2312(e));
|
|
1620
1618
|
}
|
|
1621
1619
|
get linetype() {
|
|
1622
|
-
return
|
|
1620
|
+
return _.decodeFromGb2312(this.imp.Linetype());
|
|
1623
1621
|
}
|
|
1624
1622
|
set linetype(e) {
|
|
1625
|
-
this.imp.SetLinetype(
|
|
1623
|
+
this.imp.SetLinetype(_.encodeToGb2312(e));
|
|
1626
1624
|
}
|
|
1627
1625
|
get linetypeScale() {
|
|
1628
1626
|
return this.imp.LinetypeScale();
|
|
@@ -1643,10 +1641,10 @@ class Le extends Be {
|
|
|
1643
1641
|
this.imp.SetLineweight(e);
|
|
1644
1642
|
}
|
|
1645
1643
|
get textStyle() {
|
|
1646
|
-
return
|
|
1644
|
+
return _.decodeFromGb2312(this.imp.TextStyle());
|
|
1647
1645
|
}
|
|
1648
1646
|
set textStyle(e) {
|
|
1649
|
-
this.imp.SetTextStyle(
|
|
1647
|
+
this.imp.SetTextStyle(_.encodeToGb2312(e));
|
|
1650
1648
|
}
|
|
1651
1649
|
highlight(e) {
|
|
1652
1650
|
this.imp.Highlight(e);
|
|
@@ -1670,48 +1668,48 @@ class Le extends Be {
|
|
|
1670
1668
|
let e = this.imp.GetBoundingBox();
|
|
1671
1669
|
if (e) {
|
|
1672
1670
|
let t = {
|
|
1673
|
-
minPt: new
|
|
1674
|
-
maxPt: new
|
|
1671
|
+
minPt: new S(e.AtPoint(0)),
|
|
1672
|
+
maxPt: new S(e.AtPoint(1)),
|
|
1675
1673
|
ret: !0
|
|
1676
1674
|
};
|
|
1677
1675
|
return u.App.destroyObject(e), t;
|
|
1678
1676
|
} else
|
|
1679
|
-
return { minPt: new
|
|
1677
|
+
return { minPt: new S(), maxPt: new S(), ret: !1 };
|
|
1680
1678
|
}
|
|
1681
1679
|
getxData(e = "") {
|
|
1682
|
-
return new ie(this.imp.GetXData(
|
|
1680
|
+
return new ie(this.imp.GetXData(_.encodeToGb2312(e)));
|
|
1683
1681
|
}
|
|
1684
1682
|
setxData(e) {
|
|
1685
1683
|
return this.imp.SetXData(e.getImp());
|
|
1686
1684
|
}
|
|
1687
1685
|
getxDataString(e) {
|
|
1688
|
-
let t = this.imp.GetxDataString(
|
|
1689
|
-
return { val:
|
|
1686
|
+
let t = this.imp.GetxDataString(_.encodeToGb2312(e), 0);
|
|
1687
|
+
return { val: _.decodeFromGb2312(t), ret: !0 };
|
|
1690
1688
|
}
|
|
1691
1689
|
setxDataString(e, t) {
|
|
1692
|
-
return this.imp.SetxDataString(
|
|
1690
|
+
return this.imp.SetxDataString(_.encodeToGb2312(e), 0, _.encodeToGb2312(t));
|
|
1693
1691
|
}
|
|
1694
1692
|
getxDataDouble(e) {
|
|
1695
|
-
return { val: this.imp.GetxDataDouble(
|
|
1693
|
+
return { val: this.imp.GetxDataDouble(_.encodeToGb2312(e), 0), ret: !0 };
|
|
1696
1694
|
}
|
|
1697
1695
|
setxDataDouble(e, t) {
|
|
1698
|
-
return this.imp.SetxDataDouble(
|
|
1696
|
+
return this.imp.SetxDataDouble(_.encodeToGb2312(e), 0, t);
|
|
1699
1697
|
}
|
|
1700
1698
|
getxDataLong(e) {
|
|
1701
|
-
return { val: this.imp.GetxDataLong(
|
|
1699
|
+
return { val: this.imp.GetxDataLong(_.encodeToGb2312(e), 0), ret: !0 };
|
|
1702
1700
|
}
|
|
1703
1701
|
setxDataLong(e, t) {
|
|
1704
|
-
return this.imp.SetxDataLong(
|
|
1702
|
+
return this.imp.SetxDataLong(_.encodeToGb2312(e), 0, t);
|
|
1705
1703
|
}
|
|
1706
1704
|
getxDataPoint(e) {
|
|
1707
|
-
let t = this.imp.GetxDataPoint(
|
|
1705
|
+
let t = this.imp.GetxDataPoint(_.encodeToGb2312(e), 0), r = new S(), n = !1;
|
|
1708
1706
|
return t && (r.x = t.x, r.y = t.y, r.z = t.z, u.App.getImp().DestroyMdGePoint3d(t), n = !0), { val: r, ret: n };
|
|
1709
1707
|
}
|
|
1710
1708
|
setxDataPoint(e, t) {
|
|
1711
|
-
return this.imp.SetxDataPoint(
|
|
1709
|
+
return this.imp.SetxDataPoint(_.encodeToGb2312(e), 0, t.imp);
|
|
1712
1710
|
}
|
|
1713
1711
|
deleteXData(e) {
|
|
1714
|
-
return this.imp.DeleteXData(
|
|
1712
|
+
return this.imp.DeleteXData(_.encodeToGb2312(e));
|
|
1715
1713
|
}
|
|
1716
1714
|
getAllAppName() {
|
|
1717
1715
|
return new _t(this.imp.GetAllAppName());
|
|
@@ -1759,25 +1757,25 @@ class Ne extends Le {
|
|
|
1759
1757
|
}
|
|
1760
1758
|
getPointAtDist(e) {
|
|
1761
1759
|
return {
|
|
1762
|
-
val: new
|
|
1760
|
+
val: new S(this.imp.getPointAtDist(e)),
|
|
1763
1761
|
ret: u.getCallResult() == 0
|
|
1764
1762
|
};
|
|
1765
1763
|
}
|
|
1766
1764
|
getStartPoint() {
|
|
1767
1765
|
return {
|
|
1768
|
-
val: new
|
|
1766
|
+
val: new S(this.imp.getStartPoint()),
|
|
1769
1767
|
ret: u.getCallResult() == 0
|
|
1770
1768
|
};
|
|
1771
1769
|
}
|
|
1772
1770
|
getEndPoint() {
|
|
1773
1771
|
return {
|
|
1774
|
-
val: new
|
|
1772
|
+
val: new S(this.imp.getStartPoint()),
|
|
1775
1773
|
ret: u.getCallResult() == 0
|
|
1776
1774
|
};
|
|
1777
1775
|
}
|
|
1778
1776
|
getPointAtParam(e) {
|
|
1779
1777
|
return {
|
|
1780
|
-
val: new
|
|
1778
|
+
val: new S(this.imp.getPointAtParam(e)),
|
|
1781
1779
|
ret: u.getCallResult() == 0
|
|
1782
1780
|
};
|
|
1783
1781
|
}
|
|
@@ -1801,7 +1799,7 @@ class Ne extends Le {
|
|
|
1801
1799
|
}
|
|
1802
1800
|
getClosestPointTo(e, t) {
|
|
1803
1801
|
return {
|
|
1804
|
-
val: new
|
|
1802
|
+
val: new S(this.imp.getClosestPointTo(e.imp, t)),
|
|
1805
1803
|
ret: u.getCallResult() == 0
|
|
1806
1804
|
};
|
|
1807
1805
|
}
|
|
@@ -1838,16 +1836,16 @@ class Ne extends Le {
|
|
|
1838
1836
|
}
|
|
1839
1837
|
class We extends Ne {
|
|
1840
1838
|
constructor(e, t, r, n, C, s) {
|
|
1841
|
-
e instanceof Object ? e instanceof
|
|
1839
|
+
e instanceof Object ? e instanceof S ? (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbLine()), t instanceof S && (this.startPoint = e, this.endPoint = t)) : super(e) : (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbLine()), this.startPoint = new S(e, t, r), this.endPoint = new S(n, C, s));
|
|
1842
1840
|
}
|
|
1843
1841
|
get startPoint() {
|
|
1844
|
-
return new
|
|
1842
|
+
return new S(this.imp.startPoint());
|
|
1845
1843
|
}
|
|
1846
1844
|
set startPoint(e) {
|
|
1847
1845
|
this.imp.setStartPoint(e.imp);
|
|
1848
1846
|
}
|
|
1849
1847
|
get endPoint() {
|
|
1850
|
-
return new
|
|
1848
|
+
return new S(this.imp.endPoint());
|
|
1851
1849
|
}
|
|
1852
1850
|
set endPoint(e) {
|
|
1853
1851
|
this.imp.setEndPoint(e.imp);
|
|
@@ -1858,13 +1856,13 @@ class jt extends Le {
|
|
|
1858
1856
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbText());
|
|
1859
1857
|
}
|
|
1860
1858
|
get position() {
|
|
1861
|
-
return new
|
|
1859
|
+
return new S(this.imp.position());
|
|
1862
1860
|
}
|
|
1863
1861
|
set position(e) {
|
|
1864
1862
|
this.imp.setPosition(e.imp);
|
|
1865
1863
|
}
|
|
1866
1864
|
get alignmentPoint() {
|
|
1867
|
-
return new
|
|
1865
|
+
return new S(this.imp.position());
|
|
1868
1866
|
}
|
|
1869
1867
|
set alignmentPoint(e) {
|
|
1870
1868
|
this.imp.setAlignmentPoint(e.imp);
|
|
@@ -1894,10 +1892,10 @@ class jt extends Le {
|
|
|
1894
1892
|
this.imp.setWidthFactor(e);
|
|
1895
1893
|
}
|
|
1896
1894
|
get textString() {
|
|
1897
|
-
return
|
|
1895
|
+
return _.decodeFromGb2312(this.imp.textString());
|
|
1898
1896
|
}
|
|
1899
1897
|
set textString(e) {
|
|
1900
|
-
this.imp.setTextString(
|
|
1898
|
+
this.imp.setTextString(_.encodeToGb2312(e));
|
|
1901
1899
|
}
|
|
1902
1900
|
get horizontalMode() {
|
|
1903
1901
|
return this.imp.horizontalMode();
|
|
@@ -1917,7 +1915,7 @@ class Ut extends Le {
|
|
|
1917
1915
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbMText());
|
|
1918
1916
|
}
|
|
1919
1917
|
get location() {
|
|
1920
|
-
return new
|
|
1918
|
+
return new S(this.imp.location());
|
|
1921
1919
|
}
|
|
1922
1920
|
set location(e) {
|
|
1923
1921
|
this.imp.setLocation(e.imp);
|
|
@@ -1947,21 +1945,21 @@ class Ut extends Le {
|
|
|
1947
1945
|
this.imp.setAttachment(e);
|
|
1948
1946
|
}
|
|
1949
1947
|
get contents() {
|
|
1950
|
-
return
|
|
1948
|
+
return _.decodeFromGb2312(this.imp.contents());
|
|
1951
1949
|
}
|
|
1952
1950
|
set contents(e) {
|
|
1953
|
-
this.imp.setContents(
|
|
1951
|
+
this.imp.setContents(_.encodeToGb2312(e));
|
|
1954
1952
|
}
|
|
1955
1953
|
}
|
|
1956
1954
|
class Ge extends Ne {
|
|
1957
1955
|
constructor(e, t, r, n) {
|
|
1958
|
-
e instanceof Object ? super(e) : (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbCircle()), typeof e == "number" && (this.imp.setCenter(new
|
|
1956
|
+
e instanceof Object ? super(e) : (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbCircle()), typeof e == "number" && (this.imp.setCenter(new S(e, t, r).imp), this.imp.setRadius(n)));
|
|
1959
1957
|
}
|
|
1960
1958
|
setCenter(e, t, r) {
|
|
1961
|
-
this.imp.setCenter(new
|
|
1959
|
+
this.imp.setCenter(new S(e, t, r).imp);
|
|
1962
1960
|
}
|
|
1963
1961
|
get center() {
|
|
1964
|
-
return new
|
|
1962
|
+
return new S(this.imp.center());
|
|
1965
1963
|
}
|
|
1966
1964
|
set center(e) {
|
|
1967
1965
|
this.imp.setCenter(e.imp);
|
|
@@ -2003,7 +2001,7 @@ class Se extends Ne {
|
|
|
2003
2001
|
return this.imp.numVerts();
|
|
2004
2002
|
}
|
|
2005
2003
|
getPointAt(e) {
|
|
2006
|
-
return { val: new
|
|
2004
|
+
return { val: new S(this.imp.getPointAt(e)), ret: u.getCallResult() };
|
|
2007
2005
|
}
|
|
2008
2006
|
getBulgeAt(e) {
|
|
2009
2007
|
return this.imp.getBulgeAt(e);
|
|
@@ -2033,19 +2031,19 @@ class Vt extends Le {
|
|
|
2033
2031
|
this.imp.setBlockTableRecordId(e.id);
|
|
2034
2032
|
}
|
|
2035
2033
|
get position() {
|
|
2036
|
-
return new
|
|
2034
|
+
return new S(this.imp.position());
|
|
2037
2035
|
}
|
|
2038
2036
|
set position(e) {
|
|
2039
2037
|
this.imp.setPosition(e.imp);
|
|
2040
2038
|
}
|
|
2041
2039
|
get scaleFactors() {
|
|
2042
|
-
return new
|
|
2040
|
+
return new S(this.imp.scaleFactors());
|
|
2043
2041
|
}
|
|
2044
2042
|
set scaleFactors(e) {
|
|
2045
2043
|
this.imp.setScaleFactors(e.imp);
|
|
2046
2044
|
}
|
|
2047
2045
|
setScale(e) {
|
|
2048
|
-
this.imp.setScaleFactors(new
|
|
2046
|
+
this.imp.setScaleFactors(new S(e, e, e).imp);
|
|
2049
2047
|
}
|
|
2050
2048
|
getScale() {
|
|
2051
2049
|
return this.imp.scaleFactors().x;
|
|
@@ -2063,7 +2061,7 @@ class Vt extends Le {
|
|
|
2063
2061
|
this.imp.setBlockTransform(e.imp);
|
|
2064
2062
|
}
|
|
2065
2063
|
get blockName() {
|
|
2066
|
-
return
|
|
2064
|
+
return _.decodeFromGb2312(this.imp.getBlockName());
|
|
2067
2065
|
}
|
|
2068
2066
|
}
|
|
2069
2067
|
class It extends Le {
|
|
@@ -2071,7 +2069,7 @@ class It extends Le {
|
|
|
2071
2069
|
super(e);
|
|
2072
2070
|
}
|
|
2073
2071
|
get textPosition() {
|
|
2074
|
-
return new
|
|
2072
|
+
return new S(this.imp.textPosition());
|
|
2075
2073
|
}
|
|
2076
2074
|
set textPosition(e) {
|
|
2077
2075
|
this.imp.setTextPosition(e.imp);
|
|
@@ -2092,10 +2090,10 @@ class It extends Le {
|
|
|
2092
2090
|
this.imp.setElevation(e);
|
|
2093
2091
|
}
|
|
2094
2092
|
get dimensionText() {
|
|
2095
|
-
return
|
|
2093
|
+
return _.decodeFromGb2312(this.imp.dimensionText());
|
|
2096
2094
|
}
|
|
2097
2095
|
set dimensionText(e) {
|
|
2098
|
-
this.imp.setDimensionText(
|
|
2096
|
+
this.imp.setDimensionText(_.encodeToGb2312(e));
|
|
2099
2097
|
}
|
|
2100
2098
|
get textRotation() {
|
|
2101
2099
|
return this.imp.textRotation();
|
|
@@ -2160,19 +2158,19 @@ class Wt extends It {
|
|
|
2160
2158
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbAlignedDimension());
|
|
2161
2159
|
}
|
|
2162
2160
|
get xLine1Point() {
|
|
2163
|
-
return new
|
|
2161
|
+
return new S(this.imp.xLine1Point());
|
|
2164
2162
|
}
|
|
2165
2163
|
set xLine1Point(e) {
|
|
2166
2164
|
this.imp.setXLine1Point(e.imp);
|
|
2167
2165
|
}
|
|
2168
2166
|
get xLine2Point() {
|
|
2169
|
-
return new
|
|
2167
|
+
return new S(this.imp.xLine2Point());
|
|
2170
2168
|
}
|
|
2171
2169
|
set xLine2Point(e) {
|
|
2172
2170
|
this.imp.setXLine2Point(e.imp);
|
|
2173
2171
|
}
|
|
2174
2172
|
get dimLinePoint() {
|
|
2175
|
-
return new
|
|
2173
|
+
return new S(this.imp.dimLinePoint());
|
|
2176
2174
|
}
|
|
2177
2175
|
set dimLinePoint(e) {
|
|
2178
2176
|
this.imp.setDimLinePoint(e.imp);
|
|
@@ -2189,19 +2187,19 @@ class Ht extends It {
|
|
|
2189
2187
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbRotatedDimension());
|
|
2190
2188
|
}
|
|
2191
2189
|
get xLine1Point() {
|
|
2192
|
-
return new
|
|
2190
|
+
return new S(this.imp.xLine1Point());
|
|
2193
2191
|
}
|
|
2194
2192
|
set xLine1Point(e) {
|
|
2195
2193
|
this.imp.setXLine1Point(e.imp);
|
|
2196
2194
|
}
|
|
2197
2195
|
get xLine2Point() {
|
|
2198
|
-
return new
|
|
2196
|
+
return new S(this.imp.xLine2Point());
|
|
2199
2197
|
}
|
|
2200
2198
|
set xLine2Point(e) {
|
|
2201
2199
|
this.imp.setXLine2Point(e.imp);
|
|
2202
2200
|
}
|
|
2203
2201
|
get dimLinePoint() {
|
|
2204
|
-
return new
|
|
2202
|
+
return new S(this.imp.dimLinePoint());
|
|
2205
2203
|
}
|
|
2206
2204
|
set dimLinePoint(e) {
|
|
2207
2205
|
this.imp.setDimLinePoint(e.imp);
|
|
@@ -2224,10 +2222,10 @@ class $e extends Ne {
|
|
|
2224
2222
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbArc());
|
|
2225
2223
|
}
|
|
2226
2224
|
setCenter(e, t, r) {
|
|
2227
|
-
this.imp.setCenter(new
|
|
2225
|
+
this.imp.setCenter(new S(e, t, r).imp);
|
|
2228
2226
|
}
|
|
2229
2227
|
get center() {
|
|
2230
|
-
return new
|
|
2228
|
+
return new S(this.imp.center());
|
|
2231
2229
|
}
|
|
2232
2230
|
set center(e) {
|
|
2233
2231
|
this.imp.setCenter(e.imp);
|
|
@@ -2263,13 +2261,13 @@ class $e extends Ne {
|
|
|
2263
2261
|
}
|
|
2264
2262
|
class wt extends Ne {
|
|
2265
2263
|
constructor(e, t, r, n, C, s, E, D, B) {
|
|
2266
|
-
e instanceof Object ? super(e) : (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbEllipse()), typeof e == "number" && (E || (E = 1), typeof D != "number" && (D = 0), typeof B != "number" && (B = 6.283185307179586), this.imp.InitData(new
|
|
2264
|
+
e instanceof Object ? super(e) : (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbEllipse()), typeof e == "number" && (E || (E = 1), typeof D != "number" && (D = 0), typeof B != "number" && (B = 6.283185307179586), this.imp.InitData(new S(e, t, r).imp, new G(n, C, s).imp, E, D, B)));
|
|
2267
2265
|
}
|
|
2268
2266
|
setCenter(e, t, r) {
|
|
2269
|
-
this.imp.setCenter(new
|
|
2267
|
+
this.imp.setCenter(new S(e, t, r).imp);
|
|
2270
2268
|
}
|
|
2271
2269
|
get center() {
|
|
2272
|
-
return new
|
|
2270
|
+
return new S(this.imp.center());
|
|
2273
2271
|
}
|
|
2274
2272
|
set center(e) {
|
|
2275
2273
|
this.imp.setCenter(e.imp);
|
|
@@ -2313,13 +2311,13 @@ class wt extends Ne {
|
|
|
2313
2311
|
}
|
|
2314
2312
|
class ti extends Le {
|
|
2315
2313
|
constructor(e, t, r) {
|
|
2316
|
-
e instanceof Object ? e instanceof
|
|
2314
|
+
e instanceof Object ? e instanceof S ? (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbPoint()), this.imp.setPosition(e.imp)) : super(e) : (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbPoint()), typeof e == "number" && this.imp.setPosition(new S(e, t, r).imp));
|
|
2317
2315
|
}
|
|
2318
2316
|
setPosition(e, t, r) {
|
|
2319
|
-
this.imp.setPosition(new
|
|
2317
|
+
this.imp.setPosition(new S(e, t, r).imp);
|
|
2320
2318
|
}
|
|
2321
2319
|
get position() {
|
|
2322
|
-
return new
|
|
2320
|
+
return new S(this.imp.position());
|
|
2323
2321
|
}
|
|
2324
2322
|
set position(e) {
|
|
2325
2323
|
this.imp.setPosition(e.imp);
|
|
@@ -2394,21 +2392,16 @@ class ii {
|
|
|
2394
2392
|
}
|
|
2395
2393
|
zoomAll() {
|
|
2396
2394
|
let e = this.database.currentSpace.getBoundingBox();
|
|
2397
|
-
|
|
2398
|
-
return !1;
|
|
2399
|
-
let t = this.getMxDrawObject();
|
|
2400
|
-
return t.zoomW(t.cadCoord2Doc2(e.minPt.toVector3()), t.cadCoord2Doc2(e.maxPt.toVector3())), !0;
|
|
2395
|
+
return e.ret ? (this.getMxDrawObject().zoomW(e.minPt.toVector3(), e.maxPt.toVector3()), !0) : !1;
|
|
2401
2396
|
}
|
|
2402
2397
|
zoomScale(e) {
|
|
2403
2398
|
this.getMxDrawObject().zoomScale(e);
|
|
2404
2399
|
}
|
|
2405
2400
|
zoomW(e, t) {
|
|
2406
|
-
|
|
2407
|
-
r.zoomW(r.cadCoord2Doc2(e.toVector3()), r.cadCoord2Doc2(t.toVector3()));
|
|
2401
|
+
this.getMxDrawObject().zoomW(e.toVector3(), t.toVector3());
|
|
2408
2402
|
}
|
|
2409
2403
|
zoomCenter(e, t) {
|
|
2410
|
-
|
|
2411
|
-
r.zoomCenter(n.x, n.y);
|
|
2404
|
+
this.getMxDrawObject().zoomCenter(e, t);
|
|
2412
2405
|
}
|
|
2413
2406
|
openWebFile(e, t, r = !0, n, C = 0) {
|
|
2414
2407
|
let s = this.imp.mxdrawObject, E = Math.round(Math.random() * 1e7);
|
|
@@ -2435,7 +2428,7 @@ class ii {
|
|
|
2435
2428
|
};
|
|
2436
2429
|
C.addEvent("insertBlockComplete", D);
|
|
2437
2430
|
let B = "";
|
|
2438
|
-
this.imp.insertBlock(e,
|
|
2431
|
+
this.imp.insertBlock(e, _.encodeToGb2312(t), r, s, B, n);
|
|
2439
2432
|
});
|
|
2440
2433
|
}
|
|
2441
2434
|
getCurrentFileName() {
|
|
@@ -2490,7 +2483,7 @@ class ii {
|
|
|
2490
2483
|
return this.imp.GetSysVarDouble(e);
|
|
2491
2484
|
}
|
|
2492
2485
|
getSysVarPoint(e) {
|
|
2493
|
-
return new
|
|
2486
|
+
return new S(this.imp.GetSysVarPoint(e));
|
|
2494
2487
|
}
|
|
2495
2488
|
setSysVarPoint(e, t) {
|
|
2496
2489
|
return this.imp.SetSysVarPoint(e, t.imp, !1);
|
|
@@ -2533,34 +2526,34 @@ class ii {
|
|
|
2533
2526
|
this.imp.SetDrawLineTypeScale(e);
|
|
2534
2527
|
}
|
|
2535
2528
|
get drawLinetype() {
|
|
2536
|
-
return
|
|
2529
|
+
return _.decodeFromGb2312(this.imp.GetDrawLinetype());
|
|
2537
2530
|
}
|
|
2538
2531
|
set drawLinetype(e) {
|
|
2539
|
-
this.imp.SetDrawLinetype(
|
|
2532
|
+
this.imp.SetDrawLinetype(_.encodeToGb2312(e));
|
|
2540
2533
|
}
|
|
2541
2534
|
get drawTextStyle() {
|
|
2542
|
-
return
|
|
2535
|
+
return _.decodeFromGb2312(this.imp.GetDrawTextStyle());
|
|
2543
2536
|
}
|
|
2544
2537
|
set drawTextStyle(e) {
|
|
2545
|
-
this.imp.SetDrawTextStyle(
|
|
2538
|
+
this.imp.SetDrawTextStyle(_.encodeToGb2312(e));
|
|
2546
2539
|
}
|
|
2547
2540
|
get drawLayer() {
|
|
2548
|
-
return
|
|
2541
|
+
return _.decodeFromGb2312(this.imp.GetDrawLayer());
|
|
2549
2542
|
}
|
|
2550
2543
|
set drawLayer(e) {
|
|
2551
|
-
this.imp.SetDrawLayer(
|
|
2544
|
+
this.imp.SetDrawLayer(_.encodeToGb2312(e));
|
|
2552
2545
|
}
|
|
2553
2546
|
addLayer(e) {
|
|
2554
|
-
this.imp.AddLayer(
|
|
2547
|
+
this.imp.AddLayer(_.encodeToGb2312(e));
|
|
2555
2548
|
}
|
|
2556
2549
|
addTextStyle(e, t, r, n) {
|
|
2557
|
-
this.imp.AddTextStyle(
|
|
2550
|
+
this.imp.AddTextStyle(_.encodeToGb2312(e), _.encodeToGb2312(t), _.encodeToGb2312(r), n);
|
|
2558
2551
|
}
|
|
2559
2552
|
addLinetype(e, t) {
|
|
2560
|
-
this.imp.AddLinetype(
|
|
2553
|
+
this.imp.AddLinetype(_.encodeToGb2312(e), _.encodeToGb2312(t));
|
|
2561
2554
|
}
|
|
2562
2555
|
addLinetypeEx(e, t, r) {
|
|
2563
|
-
this.imp.AddLinetypeEx(
|
|
2556
|
+
this.imp.AddLinetypeEx(_.encodeToGb2312(e), _.encodeToGb2312(t), _.encodeToGb2312(r));
|
|
2564
2557
|
}
|
|
2565
2558
|
drawLine(e, t, r, n) {
|
|
2566
2559
|
return new R(this.imp.DrawLine(e, t, 0, r, n, 0));
|
|
@@ -2572,10 +2565,10 @@ class ii {
|
|
|
2572
2565
|
return this.imp.AddDimStyle(e, t, r, n, C);
|
|
2573
2566
|
}
|
|
2574
2567
|
get drawDimStyle() {
|
|
2575
|
-
return
|
|
2568
|
+
return _.decodeFromGb2312(this.imp.GetDrawDimStyle());
|
|
2576
2569
|
}
|
|
2577
2570
|
set drawDimStyle(e) {
|
|
2578
|
-
this.imp.SetDrawDimStyle(
|
|
2571
|
+
this.imp.SetDrawDimStyle(_.encodeToGb2312(e));
|
|
2579
2572
|
}
|
|
2580
2573
|
pathMakeExclude(e) {
|
|
2581
2574
|
this.imp.PathMakeExclude(e);
|
|
@@ -2584,10 +2577,10 @@ class ii {
|
|
|
2584
2577
|
this.imp.AddPatternDefinition(e, t);
|
|
2585
2578
|
}
|
|
2586
2579
|
get drawPatternDefinition() {
|
|
2587
|
-
return
|
|
2580
|
+
return _.encodeToGb2312(this.imp.GetPatternDefinition());
|
|
2588
2581
|
}
|
|
2589
2582
|
set drawPatternDefinition(e) {
|
|
2590
|
-
this.imp.SetPatternDefinition(
|
|
2583
|
+
this.imp.SetPatternDefinition(_.decodeFromGb2312(e));
|
|
2591
2584
|
}
|
|
2592
2585
|
get drawLineWidth() {
|
|
2593
2586
|
return this.imp.GetDrawLineWidth();
|
|
@@ -2620,13 +2613,13 @@ class ii {
|
|
|
2620
2613
|
return new R(this.imp.DrawSolid(e, t, r, n, C, s, E, D));
|
|
2621
2614
|
}
|
|
2622
2615
|
drawMText(e, t, r, n, C, s, E) {
|
|
2623
|
-
return new R(this.imp.DrawMText(e, t,
|
|
2616
|
+
return new R(this.imp.DrawMText(e, t, _.encodeToGb2312(r), n, C, s, E));
|
|
2624
2617
|
}
|
|
2625
2618
|
drawText(e, t, r, n, C, s, E) {
|
|
2626
|
-
return new R(this.imp.DrawText(e, t,
|
|
2619
|
+
return new R(this.imp.DrawText(e, t, _.encodeToGb2312(r), n, C, s, E));
|
|
2627
2620
|
}
|
|
2628
2621
|
drawBlockReference(e, t, r, n, C) {
|
|
2629
|
-
return new R(this.imp.DrawBlockReference(e, t,
|
|
2622
|
+
return new R(this.imp.DrawBlockReference(e, t, _.encodeToGb2312(r), n, C));
|
|
2630
2623
|
}
|
|
2631
2624
|
drawDimAligned(e, t, r, n, C, s) {
|
|
2632
2625
|
return new R(this.imp.DrawDimAligned(e, t, r, n, C, s));
|
|
@@ -2683,30 +2676,28 @@ class ii {
|
|
|
2683
2676
|
return new _t(this.imp.GetAllLayoutName());
|
|
2684
2677
|
}
|
|
2685
2678
|
setCurrentLayout(e) {
|
|
2686
|
-
this.imp.SetCurrentLayout(
|
|
2679
|
+
this.imp.SetCurrentLayout(_.encodeToGb2312(e));
|
|
2687
2680
|
}
|
|
2688
2681
|
getMxCpp() {
|
|
2689
2682
|
return u;
|
|
2690
2683
|
}
|
|
2691
2684
|
doc2cad(e) {
|
|
2692
|
-
return
|
|
2685
|
+
return e;
|
|
2693
2686
|
}
|
|
2694
2687
|
cad2doc(e) {
|
|
2695
|
-
return
|
|
2688
|
+
return e;
|
|
2696
2689
|
}
|
|
2697
2690
|
doc2cad1(e) {
|
|
2698
|
-
|
|
2699
|
-
return new _(t.x, t.y, t.z);
|
|
2691
|
+
return new S(e.x, e.y, e.z);
|
|
2700
2692
|
}
|
|
2701
2693
|
doc2cad2(e, t, r) {
|
|
2702
|
-
|
|
2703
|
-
return new _(n.x, n.y, n.z);
|
|
2694
|
+
return new S(e, t, r);
|
|
2704
2695
|
}
|
|
2705
2696
|
cad2doc1(e) {
|
|
2706
|
-
return
|
|
2697
|
+
return new THREE.Vector3(e.x, e.y, e.z);
|
|
2707
2698
|
}
|
|
2708
2699
|
cad2doc2(e, t, r) {
|
|
2709
|
-
return
|
|
2700
|
+
return new THREE.Vector3(e, t, r);
|
|
2710
2701
|
}
|
|
2711
2702
|
updateDisplay(e = !1) {
|
|
2712
2703
|
this.imp.mxdrawObject.updateDisplay(e);
|
|
@@ -2736,7 +2727,7 @@ class Vi {
|
|
|
2736
2727
|
MxCADAssist;
|
|
2737
2728
|
objectIdToObjectCalls = {};
|
|
2738
2729
|
init(e) {
|
|
2739
|
-
this.imp = e, G.kZAxis = new G(0, 0, 1), G.kNegateZAxis = new G(0, 0, -1), G.kXAxis = new G(1, 0, 0), G.kYAxis = new G(0, 1, 0),
|
|
2730
|
+
this.imp = e, G.kZAxis = new G(0, 0, 1), G.kNegateZAxis = new G(0, 0, -1), G.kXAxis = new G(1, 0, 0), G.kYAxis = new G(0, 1, 0), S.kOrigin = new S(0, 0, 0), Ie.kIdentity = new Ie(), this.MxCADAssist = new u.mxcadassemblyimp.MxDrawAssist(), this.initObjectIdToObjectCalls();
|
|
2740
2731
|
}
|
|
2741
2732
|
getImp() {
|
|
2742
2733
|
return this.imp;
|
|
@@ -2800,7 +2791,7 @@ class Wi {
|
|
|
2800
2791
|
return this.App.getLastCallResult();
|
|
2801
2792
|
}
|
|
2802
2793
|
newMcGePoint3d(e) {
|
|
2803
|
-
let t = new
|
|
2794
|
+
let t = new S();
|
|
2804
2795
|
return e && typeof e.x == "number" && typeof e.y == "number" && (t.x = e.x, t.y = e.y, typeof e.z == "number" && (t.z = e.z)), t;
|
|
2805
2796
|
}
|
|
2806
2797
|
newMcGeVector3d(e) {
|
|
@@ -2814,7 +2805,7 @@ class Wi {
|
|
|
2814
2805
|
return this.App.getCurrentMxCAD().getDatabase();
|
|
2815
2806
|
}
|
|
2816
2807
|
}
|
|
2817
|
-
const ri = "1.0.
|
|
2808
|
+
const ri = "1.0.120", cn = "SharedArrayBuffer" in window, St = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src), mn = (i, e = self.location.href) => St ? `https://unpkg.com/mxcad@${ri}/dist/wasm/2d-st/${i}` : e + i, hn = (i, e = self.location.href) => St ? `https://unpkg.com/mxcad@${ri}/dist/wasm/2d/${i}` : e + i, dn = (i, e = self.location.href) => St ? `https://unpkg.com/mxcad@${ri}/dist/wasm/3d/${i}` : e + i, Hi = (i) => new Promise((e, t) => {
|
|
2818
2809
|
const r = document.createElement("script");
|
|
2819
2810
|
r.src = i, r.type = "text/javascript", r.crossOrigin = "anonymous", document.body.appendChild(r), r.onload = () => {
|
|
2820
2811
|
e();
|
|
@@ -2965,13 +2956,13 @@ function Fe(i, e) {
|
|
|
2965
2956
|
return { value: B[0] ? B[1] : void 0, done: !0 };
|
|
2966
2957
|
}
|
|
2967
2958
|
}
|
|
2968
|
-
function
|
|
2959
|
+
function Zi(i, e, t) {
|
|
2969
2960
|
if (t || arguments.length === 2)
|
|
2970
2961
|
for (var r = 0, n = e.length, C; r < n; r++)
|
|
2971
2962
|
(C || !(r in e)) && (C || (C = Array.prototype.slice.call(e, 0, r)), C[r] = e[r]);
|
|
2972
2963
|
return i.concat(C || Array.prototype.slice.call(e));
|
|
2973
2964
|
}
|
|
2974
|
-
var
|
|
2965
|
+
var zi = "4.1.0";
|
|
2975
2966
|
function qe(i, e) {
|
|
2976
2967
|
return new Promise(function(t) {
|
|
2977
2968
|
return setTimeout(t, i, e);
|
|
@@ -3365,13 +3356,13 @@ function Mi() {
|
|
|
3365
3356
|
]) >= 2;
|
|
3366
3357
|
}
|
|
3367
3358
|
function Kn() {
|
|
3368
|
-
return Xn() ? -4 :
|
|
3359
|
+
return Xn() ? -4 : Zn();
|
|
3369
3360
|
}
|
|
3370
|
-
function
|
|
3361
|
+
function Zn() {
|
|
3371
3362
|
var i = window, e = i.OfflineAudioContext || i.webkitOfflineAudioContext;
|
|
3372
3363
|
if (!e)
|
|
3373
3364
|
return -2;
|
|
3374
|
-
if (
|
|
3365
|
+
if (zn())
|
|
3375
3366
|
return -1;
|
|
3376
3367
|
var t = 4500, r = 5e3, n = new e(1, r, 44100), C = n.createOscillator();
|
|
3377
3368
|
C.type = "triangle", C.frequency.value = 1e4;
|
|
@@ -3388,7 +3379,7 @@ function zn() {
|
|
|
3388
3379
|
return B(), F;
|
|
3389
3380
|
};
|
|
3390
3381
|
}
|
|
3391
|
-
function
|
|
3382
|
+
function zn() {
|
|
3392
3383
|
return Pe() && !si() && !Un();
|
|
3393
3384
|
}
|
|
3394
3385
|
function Xn() {
|
|
@@ -3563,8 +3554,8 @@ function eC() {
|
|
|
3563
3554
|
switch (g.label) {
|
|
3564
3555
|
case 0:
|
|
3565
3556
|
return n = r.body, n.style.fontSize = $n, C = r.createElement("div"), C.style.setProperty("visibility", "hidden", "important"), s = {}, E = {}, D = function(m) {
|
|
3566
|
-
var d = r.createElement("span"),
|
|
3567
|
-
return
|
|
3557
|
+
var d = r.createElement("span"), I = d.style;
|
|
3558
|
+
return I.position = "absolute", I.top = "0", I.left = "0", I.fontFamily = m, d.textContent = xn, C.appendChild(d), d;
|
|
3568
3559
|
}, B = function(m, d) {
|
|
3569
3560
|
return D("'".concat(m, "',").concat(d));
|
|
3570
3561
|
}, F = function() {
|
|
@@ -3574,14 +3565,14 @@ function eC() {
|
|
|
3574
3565
|
m[v] = Ke.map(function(P) {
|
|
3575
3566
|
return B(v, P);
|
|
3576
3567
|
});
|
|
3577
|
-
},
|
|
3578
|
-
var f = L[
|
|
3568
|
+
}, I = 0, L = hi; I < L.length; I++) {
|
|
3569
|
+
var f = L[I];
|
|
3579
3570
|
d(f);
|
|
3580
3571
|
}
|
|
3581
3572
|
return m;
|
|
3582
3573
|
}, a = function(m) {
|
|
3583
|
-
return Ke.some(function(d,
|
|
3584
|
-
return m[
|
|
3574
|
+
return Ke.some(function(d, I) {
|
|
3575
|
+
return m[I].offsetWidth !== s[d] || m[I].offsetHeight !== E[d];
|
|
3585
3576
|
});
|
|
3586
3577
|
}, l = F(), p = A(), n.appendChild(C), [
|
|
3587
3578
|
4,
|
|
@@ -3739,8 +3730,8 @@ var mC = 2500, hC = 10, pt, Tt;
|
|
|
3739
3730
|
function dC() {
|
|
3740
3731
|
if (Tt === void 0) {
|
|
3741
3732
|
var i = function() {
|
|
3742
|
-
var e =
|
|
3743
|
-
|
|
3733
|
+
var e = Zt();
|
|
3734
|
+
zt(e) ? Tt = setTimeout(i, mC) : (pt = e, Tt = void 0);
|
|
3744
3735
|
};
|
|
3745
3736
|
i();
|
|
3746
3737
|
}
|
|
@@ -3753,11 +3744,11 @@ function gC() {
|
|
|
3753
3744
|
return Fe(this, function(t) {
|
|
3754
3745
|
switch (t.label) {
|
|
3755
3746
|
case 0:
|
|
3756
|
-
return e =
|
|
3747
|
+
return e = Zt(), zt(e) ? pt ? [2, Zi([], pt, !0)] : Wn() ? [4, Hn()] : [3, 2] : [3, 2];
|
|
3757
3748
|
case 1:
|
|
3758
|
-
t.sent(), e =
|
|
3749
|
+
t.sent(), e = Zt(), t.label = 2;
|
|
3759
3750
|
case 2:
|
|
3760
|
-
return
|
|
3751
|
+
return zt(e) || (pt = e), [2, e];
|
|
3761
3752
|
}
|
|
3762
3753
|
});
|
|
3763
3754
|
});
|
|
@@ -3786,7 +3777,7 @@ function _C() {
|
|
|
3786
3777
|
});
|
|
3787
3778
|
};
|
|
3788
3779
|
}
|
|
3789
|
-
function
|
|
3780
|
+
function Zt() {
|
|
3790
3781
|
var i = screen;
|
|
3791
3782
|
return [
|
|
3792
3783
|
ye(ae(i.availTop), null),
|
|
@@ -3795,7 +3786,7 @@ function zt() {
|
|
|
3795
3786
|
ye(ae(i.availLeft), null)
|
|
3796
3787
|
];
|
|
3797
3788
|
}
|
|
3798
|
-
function
|
|
3789
|
+
function zt(i) {
|
|
3799
3790
|
for (var e = 0; e < 4; ++e)
|
|
3800
3791
|
if (i[e])
|
|
3801
3792
|
return !1;
|
|
@@ -4255,20 +4246,20 @@ function KC() {
|
|
|
4255
4246
|
throw new Error("Too high value");
|
|
4256
4247
|
}
|
|
4257
4248
|
}
|
|
4258
|
-
function
|
|
4259
|
-
if (
|
|
4249
|
+
function ZC() {
|
|
4250
|
+
if (Ze("no-preference"))
|
|
4260
4251
|
return 0;
|
|
4261
|
-
if (
|
|
4252
|
+
if (Ze("high") || Ze("more"))
|
|
4262
4253
|
return 1;
|
|
4263
|
-
if (
|
|
4254
|
+
if (Ze("low") || Ze("less"))
|
|
4264
4255
|
return -1;
|
|
4265
|
-
if (
|
|
4256
|
+
if (Ze("forced"))
|
|
4266
4257
|
return 10;
|
|
4267
4258
|
}
|
|
4268
|
-
function
|
|
4259
|
+
function Ze(i) {
|
|
4269
4260
|
return matchMedia("(prefers-contrast: ".concat(i, ")")).matches;
|
|
4270
4261
|
}
|
|
4271
|
-
function
|
|
4262
|
+
function zC() {
|
|
4272
4263
|
if (Ii("reduce"))
|
|
4273
4264
|
return !0;
|
|
4274
4265
|
if (Ii("no-preference"))
|
|
@@ -4298,7 +4289,7 @@ function JC() {
|
|
|
4298
4289
|
return U.log(b + U.sqrt(b * b + 1));
|
|
4299
4290
|
}, d = function(b) {
|
|
4300
4291
|
return U.log((1 + b) / (1 - b)) / 2;
|
|
4301
|
-
},
|
|
4292
|
+
}, I = function(b) {
|
|
4302
4293
|
return U.exp(b) - 1 / U.exp(b) / 2;
|
|
4303
4294
|
}, L = function(b) {
|
|
4304
4295
|
return (U.exp(b) + 1 / U.exp(b)) / 2;
|
|
@@ -4321,7 +4312,7 @@ function JC() {
|
|
|
4321
4312
|
atan: C(0.5),
|
|
4322
4313
|
sin: s(-1e300),
|
|
4323
4314
|
sinh: E(1),
|
|
4324
|
-
sinhPf:
|
|
4315
|
+
sinhPf: I(1),
|
|
4325
4316
|
cos: D(10.000000000123),
|
|
4326
4317
|
cosh: B(1),
|
|
4327
4318
|
coshPf: L(1),
|
|
@@ -4368,7 +4359,7 @@ function MC(i, e) {
|
|
|
4368
4359
|
var n = r.document, C = n.body, s = C.style;
|
|
4369
4360
|
s.width = "".concat(e, "px"), s.webkitTextSizeAdjust = s.textSizeAdjust = "none", Ci() ? C.style.zoom = "".concat(1 / r.devicePixelRatio) : Pe() && (C.style.zoom = "reset");
|
|
4370
4361
|
var E = n.createElement("div");
|
|
4371
|
-
return E.textContent =
|
|
4362
|
+
return E.textContent = Zi([], Array(e / 20 << 0), !0).map(function() {
|
|
4372
4363
|
return "word";
|
|
4373
4364
|
}).join(" "), C.appendChild(E), i(n, C);
|
|
4374
4365
|
}, '<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');
|
|
@@ -4535,9 +4526,9 @@ function Ds(i) {
|
|
|
4535
4526
|
}
|
|
4536
4527
|
if (r)
|
|
4537
4528
|
for (var m = 0, d = r; m < d.length; m++) {
|
|
4538
|
-
var
|
|
4539
|
-
if (!(
|
|
4540
|
-
var L = t.getExtension(
|
|
4529
|
+
var I = d[m];
|
|
4530
|
+
if (!(I === tr && rr())) {
|
|
4531
|
+
var L = t.getExtension(I);
|
|
4541
4532
|
if (!!L)
|
|
4542
4533
|
for (var f = 0, v = Si(L); f < v.length; f++) {
|
|
4543
4534
|
var h = v[f], g = L[h];
|
|
@@ -4622,8 +4613,8 @@ var Fs = {
|
|
|
4622
4613
|
invertedColors: VC,
|
|
4623
4614
|
forcedColors: WC,
|
|
4624
4615
|
monochrome: KC,
|
|
4625
|
-
contrast:
|
|
4626
|
-
reducedMotion:
|
|
4616
|
+
contrast: ZC,
|
|
4617
|
+
reducedMotion: zC,
|
|
4627
4618
|
hdr: XC,
|
|
4628
4619
|
math: JC,
|
|
4629
4620
|
pdfViewerEnabled: xC,
|
|
@@ -4678,7 +4669,7 @@ function ds(i) {
|
|
|
4678
4669
|
},
|
|
4679
4670
|
confidence: t,
|
|
4680
4671
|
components: i,
|
|
4681
|
-
version:
|
|
4672
|
+
version: zi
|
|
4682
4673
|
};
|
|
4683
4674
|
}
|
|
4684
4675
|
function gs(i) {
|
|
@@ -4710,7 +4701,7 @@ function Is() {
|
|
|
4710
4701
|
if (!(window.__fpjs_d_m || Math.random() >= 1e-3))
|
|
4711
4702
|
try {
|
|
4712
4703
|
var i = new XMLHttpRequest();
|
|
4713
|
-
i.open("get", "https://m1.openfpcdn.io/fingerprintjs/v".concat(
|
|
4704
|
+
i.open("get", "https://m1.openfpcdn.io/fingerprintjs/v".concat(zi, "/npm-monitoring"), !0), i.send();
|
|
4714
4705
|
} catch (e) {
|
|
4715
4706
|
console.error(e);
|
|
4716
4707
|
}
|
|
@@ -4747,7 +4738,10 @@ const Ss = (i) => {
|
|
|
4747
4738
|
} catch (n) {
|
|
4748
4739
|
r(n);
|
|
4749
4740
|
}
|
|
4750
|
-
}), Rs = (i, e, t, r, n, C) =>
|
|
4741
|
+
}), Rs = (i, e, t, r, n, C) => {
|
|
4742
|
+
let s = i.CreateMxDraw(e, t, r, n, C);
|
|
4743
|
+
return s.McObject = new ii(s), s.McObject;
|
|
4744
|
+
};
|
|
4751
4745
|
async function bs() {
|
|
4752
4746
|
return (await (await ws()).get()).visitorId;
|
|
4753
4747
|
}
|
|
@@ -4785,8 +4779,8 @@ const Ts = async (i) => {
|
|
|
4785
4779
|
else {
|
|
4786
4780
|
let d = a;
|
|
4787
4781
|
a && a.length > 0 || (d = "mxkey.json.frontpage.json");
|
|
4788
|
-
let
|
|
4789
|
-
|
|
4782
|
+
let I = await Mt(d);
|
|
4783
|
+
I && I.registdata ? m.initRegist(I.registdata) : console.log("MxTip:empty regist data");
|
|
4790
4784
|
}
|
|
4791
4785
|
return bs().then((d) => {
|
|
4792
4786
|
m.getImp().SetAppId(d);
|
|
@@ -4930,7 +4924,7 @@ class Ps extends Ri {
|
|
|
4930
4924
|
}
|
|
4931
4925
|
}
|
|
4932
4926
|
const yi = (i) => {
|
|
4933
|
-
const [e, t, r] = i, { x: n, y: C, z: s } = e, { x: E, y: D, z: B } = t, { x: F, y: A, z: a } = r, l = C * B - D * s - C * a + A * s + D * a - A * B, p = -(n * B - E * s - n * a + F * s + E * a - F * B), h = n * D - E * C - n * A + F * C + E * A - F * D, g = -(n * D * a - n * A * B - E * C * a + E * A * s + F * C * B - F * D * s), m = 2 * (E - n), d = 2 * (D - C),
|
|
4927
|
+
const [e, t, r] = i, { x: n, y: C, z: s } = e, { x: E, y: D, z: B } = t, { x: F, y: A, z: a } = r, l = C * B - D * s - C * a + A * s + D * a - A * B, p = -(n * B - E * s - n * a + F * s + E * a - F * B), h = n * D - E * C - n * A + F * C + E * A - F * D, g = -(n * D * a - n * A * B - E * C * a + E * A * s + F * C * B - F * D * s), m = 2 * (E - n), d = 2 * (D - C), I = 2 * (B - s), L = n * n + C * C + s * s - E * E - D * D - B * B, f = 2 * (F - n), v = 2 * (A - C), P = 2 * (a - s), b = n * n + C * C + s * s - F * F - A * A - a * a, ee = -(p * I * b - p * P * L - d * h * b + d * P * g + v * h * L - v * I * g) / (l * d * P - l * v * I - m * p * P + m * v * h + f * p * I - f * d * h), oe = (l * I * b - l * P * L - m * h * b + m * P * g + f * h * L - f * I * g) / (l * d * P - l * v * I - m * p * P + m * v * h + f * p * I - f * d * h), At = -(l * d * b - l * v * L - m * p * b + m * v * g + f * p * L - f * d * g) / (l * d * P - l * v * I - m * p * P + m * v * h + f * p * I - f * d * h);
|
|
4934
4928
|
return new THREE.Vector3(ee, oe, At);
|
|
4935
4929
|
};
|
|
4936
4930
|
function or() {
|
|
@@ -4968,11 +4962,11 @@ function or() {
|
|
|
4968
4962
|
g.drawLine(D[0], h);
|
|
4969
4963
|
}), i.setMessage(`
|
|
4970
4964
|
\u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E8C\u4E2A\u70B9:`)), r === 1 && (D.push(i.value()), i.setUserDraw((h, g) => {
|
|
4971
|
-
const [m, d] = D,
|
|
4965
|
+
const [m, d] = D, I = h;
|
|
4972
4966
|
e.center = yi([
|
|
4973
4967
|
m,
|
|
4974
4968
|
d,
|
|
4975
|
-
|
|
4969
|
+
I
|
|
4976
4970
|
]), e.radius = e.center.distanceTo(m), g.drawCustomEntity(e);
|
|
4977
4971
|
}), i.setMessage(`
|
|
4978
4972
|
\u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E09\u4E2A\u70B9:`)), r === 2) {
|
|
@@ -5182,22 +5176,22 @@ async function ar() {
|
|
|
5182
5176
|
if (t.length < 2)
|
|
5183
5177
|
p.copy(G.kXAxis);
|
|
5184
5178
|
else {
|
|
5185
|
-
let m = t.length, d = t[m - 2].pt,
|
|
5186
|
-
if (xt(
|
|
5187
|
-
p = new
|
|
5179
|
+
let m = t.length, d = t[m - 2].pt, I = t[m - 2].dBulge, L = t[m - 1].pt;
|
|
5180
|
+
if (xt(I))
|
|
5181
|
+
p = new S(L.x, L.y, 0).sub(new S(d.x, d.y, 0));
|
|
5188
5182
|
else {
|
|
5189
5183
|
let f = new Se();
|
|
5190
|
-
f.addVertexAt(d,
|
|
5191
|
-
let v = f.getFirstDeriv(new
|
|
5184
|
+
f.addVertexAt(d, I), f.addVertexAt(L);
|
|
5185
|
+
let v = f.getFirstDeriv(new S(L.x, L.y, 0));
|
|
5192
5186
|
v.ret ? p = v.val : p.copy(G.kXAxis);
|
|
5193
5187
|
}
|
|
5194
5188
|
}
|
|
5195
5189
|
let h = t[t.length - 1];
|
|
5196
5190
|
l.setUserDraw((m, d) => {
|
|
5197
|
-
let
|
|
5191
|
+
let I = ft(h.pt, m, p), L = new Se();
|
|
5198
5192
|
L.addVertexAt(
|
|
5199
5193
|
h.pt,
|
|
5200
|
-
|
|
5194
|
+
I,
|
|
5201
5195
|
h.dStartWidth,
|
|
5202
5196
|
h.dEndWidth
|
|
5203
5197
|
), L.addVertexAt(m), d.drawMcDbEntity(L);
|
|
@@ -5208,31 +5202,31 @@ async function ar() {
|
|
|
5208
5202
|
m.dStartWidth = E, m.dEndWidth = D, m.dBulge = 0, m.pt = g, t[t.length - 1].dBulge = ft(h.pt, m.pt, p), t.push(m);
|
|
5209
5203
|
let d = t.length;
|
|
5210
5204
|
if (d >= 2) {
|
|
5211
|
-
let
|
|
5212
|
-
|
|
5205
|
+
let I = new Se();
|
|
5206
|
+
I.addVertexAt(
|
|
5213
5207
|
t[d - 2].pt,
|
|
5214
5208
|
t[d - 2].dBulge,
|
|
5215
5209
|
t[d - 2].dStartWidth,
|
|
5216
5210
|
t[d - 2].dEndWidth
|
|
5217
|
-
),
|
|
5211
|
+
), I.addVertexAt(t[d - 1].pt), B.push(F.drawEntity(I));
|
|
5218
5212
|
}
|
|
5219
5213
|
} else if (l.getStatus() == se.kKeyWord)
|
|
5220
5214
|
if (l.isKeyWordPicked("L"))
|
|
5221
5215
|
s = !0;
|
|
5222
5216
|
else if (l.isKeyWordPicked("S")) {
|
|
5223
|
-
let m = new
|
|
5217
|
+
let m = new S(t[t.length - 1].pt.x, t[t.length - 1].pt.y, 0), d = new Q();
|
|
5224
5218
|
d.setMessage(ue("NO1_ID_SPECIFY_ARC2", "\u6307\u5B9A\u5706\u5F27\u7684\u7B2C\u4E8C\u4E2A\u70B9")), d.setBasePt(m);
|
|
5225
|
-
let
|
|
5226
|
-
if (
|
|
5219
|
+
let I = await d.go();
|
|
5220
|
+
if (I === null)
|
|
5227
5221
|
break;
|
|
5228
5222
|
let L = new Q();
|
|
5229
5223
|
L.setMessage(ue("ID_CIRCULAR_ENDPOINT", "\u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9")), L.setUserDraw((v, P) => {
|
|
5230
5224
|
let b = new $e();
|
|
5231
|
-
b.computeArc(m.x, m.y,
|
|
5225
|
+
b.computeArc(m.x, m.y, I.x, I.y, v.x, v.y), P.drawMcDbEntity(b);
|
|
5232
5226
|
});
|
|
5233
5227
|
let f = await L.go();
|
|
5234
5228
|
if (f !== null) {
|
|
5235
|
-
let v = M.calcBulge(m,
|
|
5229
|
+
let v = M.calcBulge(m, I, f);
|
|
5236
5230
|
if (v.ret) {
|
|
5237
5231
|
let P = {};
|
|
5238
5232
|
P.dStartWidth = E, P.dEndWidth = D, P.pt = f, P.dBluge = 0, t[t.length - 1].dBulge = v.val, t.push(P);
|
|
@@ -5404,8 +5398,8 @@ async function pr() {
|
|
|
5404
5398
|
e,
|
|
5405
5399
|
() => {
|
|
5406
5400
|
r = e.value(), e.setMessage(`
|
|
5407
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u7B2C\u4E8C\u4E2A\u70B9:`), e.setKeyWords("[\u5706\u5FC3(C)/\u7AEF\u70B9(E)]"), e.setUserDraw((d,
|
|
5408
|
-
|
|
5401
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u7B2C\u4E8C\u4E2A\u70B9:`), e.setKeyWords("[\u5706\u5FC3(C)/\u7AEF\u70B9(E)]"), e.setUserDraw((d, I) => {
|
|
5402
|
+
I.setColor(i), I.drawLine(r, d);
|
|
5409
5403
|
}), h();
|
|
5410
5404
|
},
|
|
5411
5405
|
() => {
|
|
@@ -5422,8 +5416,8 @@ async function pr() {
|
|
|
5422
5416
|
e,
|
|
5423
5417
|
() => {
|
|
5424
5418
|
E = e.value(), C = new Ft(), C.closed = !1, je.use(C), C.color = i, C.center = E, t.center = E, e.setMessage(`
|
|
5425
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u8D77\u70B9:`), e.setUserDraw((d,
|
|
5426
|
-
|
|
5419
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u8D77\u70B9:`), e.setUserDraw((d, I) => {
|
|
5420
|
+
I.drawCustomEntity(C), I.setColor(i), I.drawLine(E, d);
|
|
5427
5421
|
}), A();
|
|
5428
5422
|
},
|
|
5429
5423
|
() => {
|
|
@@ -5436,8 +5430,8 @@ async function pr() {
|
|
|
5436
5430
|
B = e.value(), C.endPoint = B, e.setMessage(
|
|
5437
5431
|
`
|
|
5438
5432
|
\u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9(\u6309\u4F4F ctrl \u952E\u53D6\u76F8\u53CD\u65B9\u5411)\u6216 [\u89D2\u5EA6(A)/\u5F26\u957F(L)/\u4FEE\u6539\u534A\u5F84(R)]:`
|
|
5439
|
-
), e.setKeyWords("A L R"), F = new nn(), F.setDashLineDisplay(!0), F.setDashArray(0.05), F.setLineWidth(2), F.setColor("#ffd30d"), F.pt1 = C.center, e.setUserDraw((d,
|
|
5440
|
-
C.startPoint = d, F.pt2 = d,
|
|
5433
|
+
), e.setKeyWords("A L R"), F = new nn(), F.setDashLineDisplay(!0), F.setDashArray(0.05), F.setLineWidth(2), F.setColor("#ffd30d"), F.pt1 = C.center, e.setUserDraw((d, I) => {
|
|
5434
|
+
C.startPoint = d, F.pt2 = d, I.drawCustomEntity(C), I.drawCustomEntity(F);
|
|
5441
5435
|
}), l();
|
|
5442
5436
|
},
|
|
5443
5437
|
() => {
|
|
@@ -5456,22 +5450,22 @@ async function pr() {
|
|
|
5456
5450
|
return e.setMessage(
|
|
5457
5451
|
`
|
|
5458
5452
|
\u6307\u5B9A\u5706\u5F27\u7684\u5939\u89D2(\u6309\u4F4F ctrl \u952E\u53D6\u76F8\u53CD\u65B9\u5411)\u6216 [\u4FEE\u6539\u534A\u5F84(R)]:`
|
|
5459
|
-
), e.setKeyWords("R"), e.setUserDraw((d,
|
|
5460
|
-
C.startPoint = d,
|
|
5453
|
+
), e.setKeyWords("R"), e.setUserDraw((d, I) => {
|
|
5454
|
+
C.startPoint = d, I.drawCustomEntity(C), I.drawCustomEntity(F);
|
|
5461
5455
|
}), !0;
|
|
5462
5456
|
if (e.isKeyWordPicked("L"))
|
|
5463
5457
|
return e.setMessage(
|
|
5464
5458
|
`
|
|
5465
5459
|
\u6307\u5B9A\u5706\u5F27\u7684\u5939\u89D2(\u6309\u4F4F ctrl \u952E\u53D6\u76F8\u53CD\u65B9\u5411)\u6216 [\u4FEE\u6539\u534A\u5F84(R)]:`
|
|
5466
|
-
), e.setKeyWords("R"), e.setUserDraw((d,
|
|
5467
|
-
C.startPoint = d,
|
|
5460
|
+
), e.setKeyWords("R"), e.setUserDraw((d, I) => {
|
|
5461
|
+
C.startPoint = d, I.drawCustomEntity(C), I.drawCustomEntity(F);
|
|
5468
5462
|
}), !0;
|
|
5469
5463
|
if (e.isKeyWordPicked("R"))
|
|
5470
5464
|
e.setMessage(
|
|
5471
5465
|
`
|
|
5472
5466
|
\u6307\u5B9A\u5706\u5F27\u7684\u534A\u5F84${C.radius ? "<" + C.radius + ">" : ""}:`
|
|
5473
|
-
), e.setKeyWords(""), e.setUserDraw((d,
|
|
5474
|
-
|
|
5467
|
+
), e.setKeyWords(""), e.setUserDraw((d, I) => {
|
|
5468
|
+
I.drawLine(d, C.center), C.startPoint = d, I.drawCustomEntity(C);
|
|
5475
5469
|
}), A();
|
|
5476
5470
|
else
|
|
5477
5471
|
return !0;
|
|
@@ -5482,20 +5476,20 @@ async function pr() {
|
|
|
5482
5476
|
e,
|
|
5483
5477
|
() => {
|
|
5484
5478
|
p = e.value(), e.setMessage(`
|
|
5485
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9:`), n = new Cn(), n.color = i, n.autoClockwise = !0, n.closed = !1, je.use(n), e.setUserDraw((d,
|
|
5486
|
-
n.point1 = r, n.point3 = p, n.point2 = d,
|
|
5479
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9:`), n = new Cn(), n.color = i, n.autoClockwise = !0, n.closed = !1, je.use(n), e.setUserDraw((d, I) => {
|
|
5480
|
+
n.point1 = r, n.point3 = p, n.point2 = d, I.drawCustomEntity(n);
|
|
5487
5481
|
}), m();
|
|
5488
5482
|
},
|
|
5489
5483
|
() => {
|
|
5490
5484
|
if (e.isKeyWordPicked("C"))
|
|
5491
5485
|
C = new Ft(), C.closed = !1, je.use(C), C.color = i, e.setMessage(`
|
|
5492
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), e.setKeyWords(""), e.setUserDraw((d,
|
|
5493
|
-
C.startPoint = r,
|
|
5486
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), e.setKeyWords(""), e.setUserDraw((d, I) => {
|
|
5487
|
+
C.startPoint = r, I.drawLine(d, C.startPoint);
|
|
5494
5488
|
}), D();
|
|
5495
5489
|
else if (e.isKeyWordPicked("E"))
|
|
5496
5490
|
C = new Ft(), C.closed = !1, je.use(C), C.color = i, e.setMessage(`
|
|
5497
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), e.setKeyWords(""), e.setUserDraw((d,
|
|
5498
|
-
C.startPoint = r,
|
|
5491
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), e.setKeyWords(""), e.setUserDraw((d, I) => {
|
|
5492
|
+
C.startPoint = r, I.drawLine(d, C.startPoint);
|
|
5499
5493
|
}), D();
|
|
5500
5494
|
else
|
|
5501
5495
|
return !0;
|
|
@@ -5506,8 +5500,8 @@ async function pr() {
|
|
|
5506
5500
|
e,
|
|
5507
5501
|
() => {
|
|
5508
5502
|
n.point1 = r, n.point2 = e.value(), n.point3 = p;
|
|
5509
|
-
let d = new $e(),
|
|
5510
|
-
d.computeArc(
|
|
5503
|
+
let d = new $e(), I = g.doc2cad1(n.point1), L = g.doc2cad1(n.point3), f = g.doc2cad1(n.point2);
|
|
5504
|
+
d.computeArc(I.x, I.y, L.x, L.y, f.x, f.y), g.drawEntity(d);
|
|
5511
5505
|
},
|
|
5512
5506
|
() => {
|
|
5513
5507
|
if (e.isKeyWordPicked("C"))
|
|
@@ -5719,15 +5713,15 @@ async function Vs() {
|
|
|
5719
5713
|
n.setMessage("\u6307\u5B9A\u65CB\u8F6C\u89D2\u5EA6"), n.setBasePt(C), n.setUseBasePt(!0), n.setDynamicInputType(X.kXYCoordInput);
|
|
5720
5714
|
let s = u.getCurrentMxCAD();
|
|
5721
5715
|
n.setUserDraw((l, p) => {
|
|
5722
|
-
let h = l, g = C, d = h.sub(g).angleTo2(G.kXAxis, G.kNegateZAxis),
|
|
5723
|
-
if (
|
|
5724
|
-
let L = new
|
|
5725
|
-
L.transformBy(
|
|
5716
|
+
let h = l, g = C, d = h.sub(g).angleTo2(G.kXAxis, G.kNegateZAxis), I = new Ie();
|
|
5717
|
+
if (I.setToRotation(d, G.kZAxis, g), e && t) {
|
|
5718
|
+
let L = new S(e.x, t.y, 0), f = new S(t.x, e.y, 0), v = new S(L.x, f.y, 0), P = new S(f.x, L.y, 0);
|
|
5719
|
+
L.transformBy(I), f.transformBy(I), v.transformBy(I), P.transformBy(I), L = s.cad2doc(L), f = s.cad2doc(f), v = s.cad2doc(v), P = s.cad2doc(P), p.drawLine(P.toVector3(), L.toVector3()), p.drawLine(L.toVector3(), v.toVector3()), p.drawLine(v.toVector3(), f.toVector3()), p.drawLine(f.toVector3(), P.toVector3());
|
|
5726
5720
|
}
|
|
5727
|
-
|
|
5721
|
+
I.setToRotation(d, G.kZAxis, g);
|
|
5728
5722
|
for (let L = 0; L < i.length && L < 10; L++) {
|
|
5729
5723
|
let f = i[L].clone();
|
|
5730
|
-
!f || (f.transformBy(
|
|
5724
|
+
!f || (f.transformBy(I), p.drawMcDbEntity(f));
|
|
5731
5725
|
}
|
|
5732
5726
|
});
|
|
5733
5727
|
let E = await n.go();
|
|
@@ -5763,17 +5757,17 @@ async function Ws() {
|
|
|
5763
5757
|
E.setMessage("\u6307\u5B9A\u6BD4\u4F8B\u56E0\u5B50"), E.setBasePt(D), E.setUseBasePt(!0), E.setDynamicInputType(X.kXYCoordInput);
|
|
5764
5758
|
let B = u.getCurrentMxCAD();
|
|
5765
5759
|
E.setUserDraw((g, m) => {
|
|
5766
|
-
let d = new
|
|
5760
|
+
let d = new S(g), I = new S(D), L = d.distanceTo(I);
|
|
5767
5761
|
if (L < 1e-5)
|
|
5768
5762
|
return;
|
|
5769
5763
|
let f = L / s;
|
|
5770
5764
|
f > 1e5 && (f = 1e5);
|
|
5771
5765
|
let v = new Ie();
|
|
5772
|
-
if (v.setToScaling(f,
|
|
5773
|
-
let P = new
|
|
5766
|
+
if (v.setToScaling(f, I), e && t) {
|
|
5767
|
+
let P = new S(e.x, t.y, 0), b = new S(t.x, e.y, 0), ee = new S(P.x, b.y, 0), oe = new S(b.x, P.y, 0);
|
|
5774
5768
|
P.transformBy(v), b.transformBy(v), ee.transformBy(v), oe.transformBy(v), P = B.cad2doc(P), b = B.cad2doc(b), ee = B.cad2doc(ee), oe = B.cad2doc(oe), m.drawLine(oe.toVector3(), P.toVector3()), m.drawLine(P.toVector3(), ee.toVector3()), m.drawLine(ee.toVector3(), b.toVector3()), m.drawLine(b.toVector3(), oe.toVector3());
|
|
5775
5769
|
}
|
|
5776
|
-
v.setToScaling(f,
|
|
5770
|
+
v.setToScaling(f, I);
|
|
5777
5771
|
for (let P = 0; P < i.length && P < 10; P++) {
|
|
5778
5772
|
let b = i[P].clone();
|
|
5779
5773
|
!b || (b.transformBy(v), m.drawMcDbEntity(b));
|
|
@@ -5810,7 +5804,7 @@ async function Hs() {
|
|
|
5810
5804
|
async function Ks() {
|
|
5811
5805
|
u.getCurrentMxCAD().zoomAll();
|
|
5812
5806
|
}
|
|
5813
|
-
async function
|
|
5807
|
+
async function Zs() {
|
|
5814
5808
|
const i = new Xe();
|
|
5815
5809
|
i.setMessage(`
|
|
5816
5810
|
\u6307\u5B9A\u504F\u79FB\u8DDD\u79BB\u6216:`);
|
|
@@ -5837,7 +5831,7 @@ async function zs() {
|
|
|
5837
5831
|
u.getCurrentMxCAD().drawEntity(D);
|
|
5838
5832
|
});
|
|
5839
5833
|
}
|
|
5840
|
-
function
|
|
5834
|
+
function zs() {
|
|
5841
5835
|
u.getCurrentMxCAD().regen();
|
|
5842
5836
|
}
|
|
5843
5837
|
async function Xs() {
|
|
@@ -5860,7 +5854,7 @@ async function Xs() {
|
|
|
5860
5854
|
if (e && t) {
|
|
5861
5855
|
let F = new Ie();
|
|
5862
5856
|
F.setMirror(C, D);
|
|
5863
|
-
let A = new
|
|
5857
|
+
let A = new S(e.x, t.y, 0), a = new S(t.x, e.y, 0), l = new S(A.x, a.y, 0), p = new S(a.x, A.y, 0);
|
|
5864
5858
|
A.transformBy(F), a.transformBy(F), l.transformBy(F), p.transformBy(F), A = s.cad2doc(A), a = s.cad2doc(a), l = s.cad2doc(l), p = s.cad2doc(p), B.drawLine(p.toVector3(), A.toVector3()), B.drawLine(A.toVector3(), l.toVector3()), B.drawLine(l.toVector3(), a.toVector3()), B.drawLine(a.toVector3(), p.toVector3());
|
|
5865
5859
|
}
|
|
5866
5860
|
for (let F = 0; F < i.length && F < 10; F++) {
|
|
@@ -6023,7 +6017,7 @@ async function eE() {
|
|
|
6023
6017
|
}), r.erase();
|
|
6024
6018
|
}
|
|
6025
6019
|
T.on("init", () => {
|
|
6026
|
-
T.addCommand("Mx_Erase", mr), T.addCommand("Mx_Copy", js), T.addCommand("Mx_Move", Us), T.addCommand("Mx_Rotate", Vs), T.addCommand("Mx_Scale", Ws), T.addCommand("Mx_WindowZoom", Hs), T.addCommand("Mx_ZoomE", Ks), T.addCommand("Mx_Offset",
|
|
6020
|
+
T.addCommand("Mx_Erase", mr), T.addCommand("Mx_Copy", js), T.addCommand("Mx_Move", Us), T.addCommand("Mx_Rotate", Vs), T.addCommand("Mx_Scale", Ws), T.addCommand("Mx_WindowZoom", Hs), T.addCommand("Mx_ZoomE", Ks), T.addCommand("Mx_Offset", Zs), T.addCommand("Mx_Regen", zs), T.addCommand("Mx_Mirror", Xs), T.addCommand("Mx_Chamfer", Js), T.addCommand("Mx_Fillet", qs), T.addCommand("Mx_Trim", Qs), T.addCommand("Mx_Extend", Ms), T.addCommand("Mx_Explode", xs), T.addCommand("Mx_Join", $s), T.addCommand("Mx_Break", eE);
|
|
6027
6021
|
});
|
|
6028
6022
|
const tE = async (i, e, t) => {
|
|
6029
6023
|
const { locateFile: r } = t, n = r(i + ".js");
|
|
@@ -6101,12 +6095,12 @@ class Qe {
|
|
|
6101
6095
|
MdGeCompSolid: Bi,
|
|
6102
6096
|
MdGeCompound: Ai,
|
|
6103
6097
|
MdGeMat: le,
|
|
6104
|
-
MdGeXYZ:
|
|
6098
|
+
MdGeXYZ: z,
|
|
6105
6099
|
MdGeTrsf: Ve,
|
|
6106
6100
|
MdGeDir: K,
|
|
6107
6101
|
MdGeAxis: N,
|
|
6108
6102
|
MdGeCSYSR: W,
|
|
6109
|
-
MdGePoint:
|
|
6103
|
+
MdGePoint: w,
|
|
6110
6104
|
MdGeVec: O,
|
|
6111
6105
|
MdGeAngleDim: hr,
|
|
6112
6106
|
MdGeArray1OfInteger: tt,
|
|
@@ -6118,7 +6112,7 @@ class Qe {
|
|
|
6118
6112
|
MdGeBezierSurface: gr,
|
|
6119
6113
|
MdGeChamfer: _r,
|
|
6120
6114
|
MdGeCircle: J,
|
|
6121
|
-
MdGeCSYS:
|
|
6115
|
+
MdGeCSYS: Z,
|
|
6122
6116
|
MdGeCone: pe,
|
|
6123
6117
|
MdGeCylinder: ce,
|
|
6124
6118
|
MdGePlane: Ce,
|
|
@@ -6160,8 +6154,8 @@ class Qe {
|
|
|
6160
6154
|
MdGeSequenceOfShape: dt,
|
|
6161
6155
|
MdGeSequenceIteratorOfSequenceOfShape: gt,
|
|
6162
6156
|
MdGeMakeWires: Kr,
|
|
6163
|
-
MdGeMakeFace:
|
|
6164
|
-
MdGeMakeArcOfCircle:
|
|
6157
|
+
MdGeMakeFace: Zr,
|
|
6158
|
+
MdGeMakeArcOfCircle: zr,
|
|
6165
6159
|
MdGeLight: Xr
|
|
6166
6160
|
}), Qe.onloadWasmMxDraw3dModel && Qe.onloadWasmMxDraw3dModel(this);
|
|
6167
6161
|
});
|
|
@@ -6305,7 +6299,7 @@ class be extends c {
|
|
|
6305
6299
|
}
|
|
6306
6300
|
class j extends c {
|
|
6307
6301
|
constructor(e, t) {
|
|
6308
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeEdge())) : e instanceof
|
|
6302
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeEdge())) : e instanceof w && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeEdge(e.getImp(), t?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6309
6303
|
}
|
|
6310
6304
|
Wire() {
|
|
6311
6305
|
return new V(this.imp.Wire());
|
|
@@ -6355,7 +6349,7 @@ class Ai extends c {
|
|
|
6355
6349
|
}
|
|
6356
6350
|
class le extends y {
|
|
6357
6351
|
constructor(e, t, r, n, C, s, E, D, B) {
|
|
6358
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeMat())) : e instanceof
|
|
6352
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeMat())) : e instanceof z && t instanceof z && r instanceof z && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeMat(e.getImp(), t.getImp(), r.getImp()))) : typeof e == "number" && typeof t == "number" && typeof r == "number" && arguments.length == 9 ? (super(), this.initTempObject(new o.MdGeMat(e, t, r, n, C, s, E, D, B))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6359
6353
|
}
|
|
6360
6354
|
SetCol(e, t) {
|
|
6361
6355
|
this.imp.SetCol(e, t.getImp());
|
|
@@ -6391,16 +6385,16 @@ class le extends y {
|
|
|
6391
6385
|
this.imp.SetValue(e, t, r);
|
|
6392
6386
|
}
|
|
6393
6387
|
Column(e) {
|
|
6394
|
-
return new
|
|
6388
|
+
return new z(this.imp.Column(e));
|
|
6395
6389
|
}
|
|
6396
6390
|
Determinant() {
|
|
6397
6391
|
return this.imp.Determinant();
|
|
6398
6392
|
}
|
|
6399
6393
|
Diagonal() {
|
|
6400
|
-
return new
|
|
6394
|
+
return new z(this.imp.Diagonal());
|
|
6401
6395
|
}
|
|
6402
6396
|
Row(e) {
|
|
6403
|
-
return new
|
|
6397
|
+
return new z(this.imp.Row(e));
|
|
6404
6398
|
}
|
|
6405
6399
|
Value(e, t) {
|
|
6406
6400
|
return this.imp.Value(e, t);
|
|
@@ -6463,7 +6457,7 @@ class le extends y {
|
|
|
6463
6457
|
return new le(this.imp.Transposed());
|
|
6464
6458
|
}
|
|
6465
6459
|
}
|
|
6466
|
-
class
|
|
6460
|
+
class z extends y {
|
|
6467
6461
|
constructor(e, t, r) {
|
|
6468
6462
|
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeXYZ())) : typeof e == "number" && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeXYZ(e, t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6469
6463
|
}
|
|
@@ -6507,13 +6501,13 @@ class Z extends y {
|
|
|
6507
6501
|
this.imp.Add(e.imp);
|
|
6508
6502
|
}
|
|
6509
6503
|
Added(e) {
|
|
6510
|
-
return new
|
|
6504
|
+
return new z(this.imp.Added(e.imp));
|
|
6511
6505
|
}
|
|
6512
6506
|
Cross(e) {
|
|
6513
6507
|
this.imp.Cross(e.imp);
|
|
6514
6508
|
}
|
|
6515
6509
|
Crossed(e) {
|
|
6516
|
-
return new
|
|
6510
|
+
return new z(this.imp.Crossed(e.imp));
|
|
6517
6511
|
}
|
|
6518
6512
|
CrossMagnitude(e) {
|
|
6519
6513
|
return this.imp.CrossMagnitude(e.imp);
|
|
@@ -6525,13 +6519,13 @@ class Z extends y {
|
|
|
6525
6519
|
this.imp.CrossCross(e.imp, t.imp);
|
|
6526
6520
|
}
|
|
6527
6521
|
CrossCrossed(e, t) {
|
|
6528
|
-
return new
|
|
6522
|
+
return new z(this.imp.CrossCrossed(e.imp, t.imp));
|
|
6529
6523
|
}
|
|
6530
6524
|
Divide(e) {
|
|
6531
6525
|
this.imp.Divide(e);
|
|
6532
6526
|
}
|
|
6533
6527
|
Divided(e) {
|
|
6534
|
-
return new
|
|
6528
|
+
return new z(this.imp.Divided(e));
|
|
6535
6529
|
}
|
|
6536
6530
|
Dot(e) {
|
|
6537
6531
|
return this.imp.Dot(e.imp);
|
|
@@ -6549,31 +6543,31 @@ class Z extends y {
|
|
|
6549
6543
|
this.imp.MultiplyByMat(e.getImp());
|
|
6550
6544
|
}
|
|
6551
6545
|
MultipliedByS(e) {
|
|
6552
|
-
return new
|
|
6546
|
+
return new z(this.imp.MultipliedByS(e));
|
|
6553
6547
|
}
|
|
6554
6548
|
MultipliedByXYZ(e) {
|
|
6555
|
-
return new
|
|
6549
|
+
return new z(this.imp.MultipliedByXYZ(e.imp));
|
|
6556
6550
|
}
|
|
6557
6551
|
MultipliedByMat(e) {
|
|
6558
|
-
return new
|
|
6552
|
+
return new z(this.imp.MultipliedByMat(e.getImp()));
|
|
6559
6553
|
}
|
|
6560
6554
|
Normalize() {
|
|
6561
6555
|
this.imp.Normalize();
|
|
6562
6556
|
}
|
|
6563
6557
|
Normalized() {
|
|
6564
|
-
return new
|
|
6558
|
+
return new z(this.imp.Normalized());
|
|
6565
6559
|
}
|
|
6566
6560
|
Reverse() {
|
|
6567
6561
|
this.imp.Reverse();
|
|
6568
6562
|
}
|
|
6569
6563
|
Reversed() {
|
|
6570
|
-
return new
|
|
6564
|
+
return new z(this.imp.Reversed());
|
|
6571
6565
|
}
|
|
6572
6566
|
Subtract(e) {
|
|
6573
6567
|
this.imp.Subtract(e.imp);
|
|
6574
6568
|
}
|
|
6575
6569
|
Subtracted(e) {
|
|
6576
|
-
return new
|
|
6570
|
+
return new z(this.imp.Subtracted(e.imp));
|
|
6577
6571
|
}
|
|
6578
6572
|
}
|
|
6579
6573
|
class Ve extends y {
|
|
@@ -6753,13 +6747,13 @@ class K extends y {
|
|
|
6753
6747
|
}
|
|
6754
6748
|
class N extends y {
|
|
6755
6749
|
constructor(e, t) {
|
|
6756
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeAxis())) : e instanceof
|
|
6750
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeAxis())) : e instanceof w && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeAxis(e.getImp(), t?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6757
6751
|
}
|
|
6758
6752
|
Direction() {
|
|
6759
6753
|
return new K(this.imp.Direction());
|
|
6760
6754
|
}
|
|
6761
6755
|
Location() {
|
|
6762
|
-
return new
|
|
6756
|
+
return new w(this.imp.Location());
|
|
6763
6757
|
}
|
|
6764
6758
|
SetDirection(e) {
|
|
6765
6759
|
this.imp.SetDirection(e.getImp());
|
|
@@ -6770,10 +6764,10 @@ class N extends y {
|
|
|
6770
6764
|
}
|
|
6771
6765
|
class W extends y {
|
|
6772
6766
|
constructor(e, t, r) {
|
|
6773
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCSYSR())) : e instanceof
|
|
6767
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCSYSR())) : e instanceof w && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeCSYSR(e.getImp(), t?.getImp(), r?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6774
6768
|
}
|
|
6775
6769
|
Origin() {
|
|
6776
|
-
return new
|
|
6770
|
+
return new w(this.imp.Origin());
|
|
6777
6771
|
}
|
|
6778
6772
|
XDirection() {
|
|
6779
6773
|
return new K(this.imp.XDirection());
|
|
@@ -6785,7 +6779,7 @@ class W extends y {
|
|
|
6785
6779
|
return new K(this.imp.ZDirection());
|
|
6786
6780
|
}
|
|
6787
6781
|
SetOrigin(e, t, r) {
|
|
6788
|
-
e instanceof
|
|
6782
|
+
e instanceof w && arguments.length == 1 ? this.imp.SetOrigin(e.getImp()) : typeof e == "number" && arguments.length == 3 && this.imp.SetOrigin(e, t, r);
|
|
6789
6783
|
}
|
|
6790
6784
|
SetXDirection(e) {
|
|
6791
6785
|
this.imp.SetXDirection(e.getImp());
|
|
@@ -6857,7 +6851,7 @@ class W extends y {
|
|
|
6857
6851
|
return new W(this.imp.TranslatedBy2Points(e.getImp(), t.getImp()));
|
|
6858
6852
|
}
|
|
6859
6853
|
}
|
|
6860
|
-
class
|
|
6854
|
+
class w extends y {
|
|
6861
6855
|
constructor(e, t, r) {
|
|
6862
6856
|
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGePoint())) : typeof e == "number" && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGePoint(e, t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6863
6857
|
}
|
|
@@ -6898,49 +6892,49 @@ class S extends y {
|
|
|
6898
6892
|
this.imp.MirrorByPoint(e.imp);
|
|
6899
6893
|
}
|
|
6900
6894
|
MirroredByPoint(e) {
|
|
6901
|
-
return new
|
|
6895
|
+
return new w(this.imp.MirroredByPoint(e.imp));
|
|
6902
6896
|
}
|
|
6903
6897
|
MirrorByAxis(e) {
|
|
6904
6898
|
this.imp.MirrorByAxis(e.getImp());
|
|
6905
6899
|
}
|
|
6906
6900
|
MirroredByAxis(e) {
|
|
6907
|
-
return new
|
|
6901
|
+
return new w(this.imp.MirroredByAxis(e.getImp()));
|
|
6908
6902
|
}
|
|
6909
6903
|
MirrorByCSYSR(e) {
|
|
6910
6904
|
this.imp.MirrorByCSYSR(e.getImp());
|
|
6911
6905
|
}
|
|
6912
6906
|
MirroredByCSYSR(e) {
|
|
6913
|
-
return new
|
|
6907
|
+
return new w(this.imp.MirroredByCSYSR(e.getImp()));
|
|
6914
6908
|
}
|
|
6915
6909
|
Rotate(e, t) {
|
|
6916
6910
|
this.imp.Rotate(e.getImp(), t);
|
|
6917
6911
|
}
|
|
6918
6912
|
Rotated(e, t) {
|
|
6919
|
-
return new
|
|
6913
|
+
return new w(this.imp.Rotated(e.getImp(), t));
|
|
6920
6914
|
}
|
|
6921
6915
|
Scale(e, t) {
|
|
6922
6916
|
this.imp.Scale(e.imp, t);
|
|
6923
6917
|
}
|
|
6924
6918
|
Scaled(e, t) {
|
|
6925
|
-
return new
|
|
6919
|
+
return new w(this.imp.Scaled(e.imp, t));
|
|
6926
6920
|
}
|
|
6927
6921
|
Transform(e) {
|
|
6928
6922
|
this.imp.Transform(e.getImp());
|
|
6929
6923
|
}
|
|
6930
6924
|
Transformed(e) {
|
|
6931
|
-
return new
|
|
6925
|
+
return new w(this.imp.Transformed(e.getImp()));
|
|
6932
6926
|
}
|
|
6933
6927
|
TranslateByVec(e) {
|
|
6934
6928
|
this.imp.TranslateByVec(e.getImp());
|
|
6935
6929
|
}
|
|
6936
6930
|
TranslatedByVec(e) {
|
|
6937
|
-
return new
|
|
6931
|
+
return new w(this.imp.TranslatedByVec(e.getImp()));
|
|
6938
6932
|
}
|
|
6939
6933
|
TranslateBy2Points(e, t) {
|
|
6940
6934
|
this.imp.TranslateBy2Points(e.imp, t.imp);
|
|
6941
6935
|
}
|
|
6942
6936
|
TranslatedBy2Points(e, t) {
|
|
6943
|
-
return new
|
|
6937
|
+
return new w(this.imp.TranslatedBy2Points(e.imp, t.imp));
|
|
6944
6938
|
}
|
|
6945
6939
|
Shape() {
|
|
6946
6940
|
return new c(this.imp.Shape());
|
|
@@ -6951,7 +6945,7 @@ class S extends y {
|
|
|
6951
6945
|
}
|
|
6952
6946
|
class O extends y {
|
|
6953
6947
|
constructor(e, t, r) {
|
|
6954
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeVec())) : e instanceof
|
|
6948
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeVec())) : e instanceof w && t instanceof w && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeVec(e.getImp(), t.getImp()))) : typeof e == "number" && typeof t == "number" && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeVec(e, t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6955
6949
|
}
|
|
6956
6950
|
SetCoord(e, t, r) {
|
|
6957
6951
|
arguments.length == 2 ? this.imp.SetCoord(e, t) : this.imp.SetCoord(e, t, r);
|
|
@@ -7106,16 +7100,16 @@ class O extends y {
|
|
|
7106
7100
|
}
|
|
7107
7101
|
class hr extends y {
|
|
7108
7102
|
constructor(e, t, r) {
|
|
7109
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeAngleDim())) : e instanceof j && t instanceof j && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeAngleDim(e.getImp(), t.getImp()))) : e instanceof
|
|
7103
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeAngleDim())) : e instanceof j && t instanceof j && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeAngleDim(e.getImp(), t.getImp()))) : e instanceof w && t instanceof w && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeAngleDim(e.getImp(), t.getImp(), r?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
7110
7104
|
}
|
|
7111
7105
|
FirstPoint() {
|
|
7112
|
-
return new
|
|
7106
|
+
return new w(this.imp.FirstPoint());
|
|
7113
7107
|
}
|
|
7114
7108
|
SecondPoint() {
|
|
7115
|
-
return new
|
|
7109
|
+
return new w(this.imp.SecondPoint());
|
|
7116
7110
|
}
|
|
7117
7111
|
CenterPoint() {
|
|
7118
|
-
return new
|
|
7112
|
+
return new w(this.imp.CenterPoint());
|
|
7119
7113
|
}
|
|
7120
7114
|
FirstShape() {
|
|
7121
7115
|
return new c(this.imp.FirstShape());
|
|
@@ -7127,19 +7121,19 @@ class hr extends y {
|
|
|
7127
7121
|
return new c(this.imp.ThirdShape());
|
|
7128
7122
|
}
|
|
7129
7123
|
SetMeasuredGeometry(e, t, r) {
|
|
7130
|
-
e instanceof Y && arguments.length == 1 ? this.imp.SetMeasuredGeometry(e.getImp()) : e instanceof j && t instanceof j && arguments.length == 2 ? this.imp.SetMeasuredGeometry(e.getImp(), t.getImp()) : e instanceof
|
|
7124
|
+
e instanceof Y && arguments.length == 1 ? this.imp.SetMeasuredGeometry(e.getImp()) : e instanceof j && t instanceof j && arguments.length == 2 ? this.imp.SetMeasuredGeometry(e.getImp(), t.getImp()) : e instanceof w && t instanceof w && arguments.length == 3 && this.imp.SetMeasuredGeometry(e.getImp(), t.getImp(), r?.getImp());
|
|
7131
7125
|
}
|
|
7132
7126
|
SetTextPosition(e) {
|
|
7133
7127
|
this.imp.SetTextPosition(e.getImp());
|
|
7134
7128
|
}
|
|
7135
7129
|
GetTextPosition() {
|
|
7136
|
-
return new
|
|
7130
|
+
return new w(this.imp.GetTextPosition());
|
|
7137
7131
|
}
|
|
7138
7132
|
GetNormalForMinAngle() {
|
|
7139
7133
|
return new K(this.imp.GetNormalForMinAngle());
|
|
7140
7134
|
}
|
|
7141
7135
|
GetCenterOnArc(e, t, r) {
|
|
7142
|
-
return new
|
|
7136
|
+
return new w(this.imp.GetCenterOnArc(e.getImp(), t.getImp(), r.getImp()));
|
|
7143
7137
|
}
|
|
7144
7138
|
Display() {
|
|
7145
7139
|
this.imp.Display();
|
|
@@ -7218,13 +7212,13 @@ class $ extends y {
|
|
|
7218
7212
|
return this.imp.IsAllocated();
|
|
7219
7213
|
}
|
|
7220
7214
|
First() {
|
|
7221
|
-
return new
|
|
7215
|
+
return new w(this.imp.First());
|
|
7222
7216
|
}
|
|
7223
7217
|
Last() {
|
|
7224
|
-
return new
|
|
7218
|
+
return new w(this.imp.Last());
|
|
7225
7219
|
}
|
|
7226
7220
|
Value(e) {
|
|
7227
|
-
return new
|
|
7221
|
+
return new w(this.imp.Value(e));
|
|
7228
7222
|
}
|
|
7229
7223
|
SetValue(e, t) {
|
|
7230
7224
|
this.imp.SetValue(e, t.getImp());
|
|
@@ -7279,7 +7273,7 @@ class _e extends y {
|
|
|
7279
7273
|
}
|
|
7280
7274
|
class q extends y {
|
|
7281
7275
|
constructor(e, t, r, n, C) {
|
|
7282
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt())) : typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt(e, t, r, n))) : e instanceof
|
|
7276
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt())) : typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt(e, t, r, n))) : e instanceof w && arguments.length == 5 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt(e.getImp(), t, r, n, C))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
7283
7277
|
}
|
|
7284
7278
|
Init(e) {
|
|
7285
7279
|
this.imp.Init(e.getImp());
|
|
@@ -7318,7 +7312,7 @@ class q extends y {
|
|
|
7318
7312
|
return this.imp.IsDeletable();
|
|
7319
7313
|
}
|
|
7320
7314
|
Value(e, t) {
|
|
7321
|
-
return new
|
|
7315
|
+
return new w(this.imp.Value(e, t));
|
|
7322
7316
|
}
|
|
7323
7317
|
SetValue(e, t, r) {
|
|
7324
7318
|
this.imp.SetValue(e, t, r.getImp());
|
|
@@ -7430,10 +7424,10 @@ class dr extends y {
|
|
|
7430
7424
|
return new O(this.imp.DN(e, t));
|
|
7431
7425
|
}
|
|
7432
7426
|
StartPoint() {
|
|
7433
|
-
return new
|
|
7427
|
+
return new w(this.imp.StartPoint());
|
|
7434
7428
|
}
|
|
7435
7429
|
EndPoint() {
|
|
7436
|
-
return new
|
|
7430
|
+
return new w(this.imp.EndPoint());
|
|
7437
7431
|
}
|
|
7438
7432
|
FirstParameter() {
|
|
7439
7433
|
return this.imp.FirstParameter();
|
|
@@ -7445,7 +7439,7 @@ class dr extends y {
|
|
|
7445
7439
|
return this.imp.NbPoles();
|
|
7446
7440
|
}
|
|
7447
7441
|
Pole(e) {
|
|
7448
|
-
return new
|
|
7442
|
+
return new w(this.imp.Pole(e));
|
|
7449
7443
|
}
|
|
7450
7444
|
Poles() {
|
|
7451
7445
|
return new $(this.imp.Poles());
|
|
@@ -7546,7 +7540,7 @@ class gr extends y {
|
|
|
7546
7540
|
return this.imp.NbVPoles();
|
|
7547
7541
|
}
|
|
7548
7542
|
Pole(e, t) {
|
|
7549
|
-
return new
|
|
7543
|
+
return new w(this.imp.Pole(e, t));
|
|
7550
7544
|
}
|
|
7551
7545
|
Poles() {
|
|
7552
7546
|
return new q(this.imp.Poles());
|
|
@@ -7723,7 +7717,7 @@ class J extends y {
|
|
|
7723
7717
|
return this.imp.Length();
|
|
7724
7718
|
}
|
|
7725
7719
|
Location() {
|
|
7726
|
-
return new
|
|
7720
|
+
return new w(this.imp.Location());
|
|
7727
7721
|
}
|
|
7728
7722
|
Position() {
|
|
7729
7723
|
return new W(this.imp.Position());
|
|
@@ -7804,9 +7798,9 @@ class J extends y {
|
|
|
7804
7798
|
return new V(this.imp.Wire());
|
|
7805
7799
|
}
|
|
7806
7800
|
}
|
|
7807
|
-
class
|
|
7801
|
+
class Z extends y {
|
|
7808
7802
|
constructor(e, t, r) {
|
|
7809
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCSYS())) : e instanceof
|
|
7803
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCSYS())) : e instanceof w && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeCSYS(e.getImp(), t?.getImp()))) : e instanceof w && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeCSYS(e.getImp(), t?.getImp(), r?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
7810
7804
|
}
|
|
7811
7805
|
XReverse() {
|
|
7812
7806
|
this.imp.XReverse();
|
|
@@ -7824,7 +7818,7 @@ class z extends y {
|
|
|
7824
7818
|
this.imp.SetZDirection(e.getImp());
|
|
7825
7819
|
}
|
|
7826
7820
|
SetOrigin(e, t, r) {
|
|
7827
|
-
e instanceof
|
|
7821
|
+
e instanceof w && arguments.length == 1 ? this.imp.SetOrigin(e.getImp()) : typeof e == "number" && arguments.length == 3 && this.imp.SetOrigin(e, t, r);
|
|
7828
7822
|
}
|
|
7829
7823
|
SetXDirection(e) {
|
|
7830
7824
|
this.imp.SetXDirection(e.getImp());
|
|
@@ -7845,7 +7839,7 @@ class z extends y {
|
|
|
7845
7839
|
return new K(this.imp.ZDirection());
|
|
7846
7840
|
}
|
|
7847
7841
|
Origin() {
|
|
7848
|
-
return new
|
|
7842
|
+
return new w(this.imp.Origin());
|
|
7849
7843
|
}
|
|
7850
7844
|
XDirection() {
|
|
7851
7845
|
return new K(this.imp.XDirection());
|
|
@@ -7866,54 +7860,54 @@ class z extends y {
|
|
|
7866
7860
|
this.imp.MirrorByPoint(e.getImp());
|
|
7867
7861
|
}
|
|
7868
7862
|
MirroredByPoint(e) {
|
|
7869
|
-
return new
|
|
7863
|
+
return new Z(this.imp.MirroredByPoint(e.getImp()));
|
|
7870
7864
|
}
|
|
7871
7865
|
MirrorByAxis(e) {
|
|
7872
7866
|
this.imp.MirrorByAxis(e.getImp());
|
|
7873
7867
|
}
|
|
7874
7868
|
MirroredByAxis(e) {
|
|
7875
|
-
return new
|
|
7869
|
+
return new Z(this.imp.MirroredByAxis(e.getImp()));
|
|
7876
7870
|
}
|
|
7877
7871
|
MirrorByCSYSR(e) {
|
|
7878
7872
|
this.imp.MirrorByCSYSR(e.getImp());
|
|
7879
7873
|
}
|
|
7880
7874
|
MirroredByCSYSR(e) {
|
|
7881
|
-
return new
|
|
7875
|
+
return new Z(e.getImp());
|
|
7882
7876
|
}
|
|
7883
7877
|
Rotate(e, t) {
|
|
7884
7878
|
this.imp.Rotate(e.getImp(), t);
|
|
7885
7879
|
}
|
|
7886
7880
|
Rotated(e, t) {
|
|
7887
|
-
return new
|
|
7881
|
+
return new Z(this.imp.Rotated(e.getImp(), t));
|
|
7888
7882
|
}
|
|
7889
7883
|
Scale(e, t) {
|
|
7890
7884
|
this.imp.Scale(e.getImp(), t);
|
|
7891
7885
|
}
|
|
7892
7886
|
Scaled(e, t) {
|
|
7893
|
-
return new
|
|
7887
|
+
return new Z(this.imp.Scaled(e.getImp(), t));
|
|
7894
7888
|
}
|
|
7895
7889
|
Transform(e) {
|
|
7896
7890
|
this.imp.Transform(e.getImp());
|
|
7897
7891
|
}
|
|
7898
7892
|
Transformed(e) {
|
|
7899
|
-
return new
|
|
7893
|
+
return new Z(this.imp.Transformed(e.getImp()));
|
|
7900
7894
|
}
|
|
7901
7895
|
TranslateByVec(e) {
|
|
7902
7896
|
this.imp.TranslateByVec(e.getImp());
|
|
7903
7897
|
}
|
|
7904
7898
|
TranslatedByVec(e) {
|
|
7905
|
-
return new
|
|
7899
|
+
return new Z(this.imp.TranslatedByVec(e.getImp()));
|
|
7906
7900
|
}
|
|
7907
7901
|
TranslateBy2Points(e, t) {
|
|
7908
7902
|
this.imp.TranslateBy2Points(e.getImp(), t.getImp());
|
|
7909
7903
|
}
|
|
7910
7904
|
TranslatedBy2Points(e, t) {
|
|
7911
|
-
return new
|
|
7905
|
+
return new Z(this.imp.TranslatedBy2Points(e.getImp(), t.getImp()));
|
|
7912
7906
|
}
|
|
7913
7907
|
}
|
|
7914
7908
|
class pe extends y {
|
|
7915
7909
|
constructor(e, t, r) {
|
|
7916
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCone())) : e instanceof
|
|
7910
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCone())) : e instanceof Z && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeCone(e.getImp(), t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
7917
7911
|
}
|
|
7918
7912
|
SetAxis(e) {
|
|
7919
7913
|
this.imp.SetAxis(e.getImp());
|
|
@@ -7931,7 +7925,7 @@ class pe extends y {
|
|
|
7931
7925
|
this.imp.SetSemiAngle(e);
|
|
7932
7926
|
}
|
|
7933
7927
|
Apex() {
|
|
7934
|
-
return new
|
|
7928
|
+
return new w(this.imp.Apex());
|
|
7935
7929
|
}
|
|
7936
7930
|
UReverse() {
|
|
7937
7931
|
this.imp.UReverse();
|
|
@@ -7946,10 +7940,10 @@ class pe extends y {
|
|
|
7946
7940
|
return new N(this.imp.Axis());
|
|
7947
7941
|
}
|
|
7948
7942
|
Location() {
|
|
7949
|
-
return new
|
|
7943
|
+
return new w(this.imp.Location());
|
|
7950
7944
|
}
|
|
7951
7945
|
Position() {
|
|
7952
|
-
return new
|
|
7946
|
+
return new Z(this.imp.Position());
|
|
7953
7947
|
}
|
|
7954
7948
|
RefRadius() {
|
|
7955
7949
|
return this.imp.RefRadius();
|
|
@@ -8020,7 +8014,7 @@ class pe extends y {
|
|
|
8020
8014
|
}
|
|
8021
8015
|
class ce extends y {
|
|
8022
8016
|
constructor(e, t) {
|
|
8023
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCylinder())) : e instanceof
|
|
8017
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCylinder())) : e instanceof Z && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeCylinder(e.getImp(), t))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
8024
8018
|
}
|
|
8025
8019
|
SetAxis(e) {
|
|
8026
8020
|
this.imp.SetAxis(e.getImp());
|
|
@@ -8047,10 +8041,10 @@ class ce extends y {
|
|
|
8047
8041
|
return new N(this.imp.Axis());
|
|
8048
8042
|
}
|
|
8049
8043
|
Location() {
|
|
8050
|
-
return new
|
|
8044
|
+
return new w(this.imp.Location());
|
|
8051
8045
|
}
|
|
8052
8046
|
Position() {
|
|
8053
|
-
return new
|
|
8047
|
+
return new Z(this.imp.Position());
|
|
8054
8048
|
}
|
|
8055
8049
|
Radius() {
|
|
8056
8050
|
return this.imp.Radius();
|
|
@@ -8118,7 +8112,7 @@ class ce extends y {
|
|
|
8118
8112
|
}
|
|
8119
8113
|
class Ce extends y {
|
|
8120
8114
|
constructor(e, t, r, n) {
|
|
8121
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGePlane())) : e instanceof
|
|
8115
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGePlane())) : e instanceof Z && arguments.length == 1 ? (super(), this.initTempObject(new o.MdGePlane(e.getImp()))) : e instanceof w && t instanceof K && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGePlane(e.getImp(), t.getImp()))) : typeof e == "number" && typeof t == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGePlane(e, t, r, n))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
8122
8116
|
}
|
|
8123
8117
|
SetAxis(e) {
|
|
8124
8118
|
this.imp.SetAxis(e.getImp());
|
|
@@ -8142,10 +8136,10 @@ class Ce extends y {
|
|
|
8142
8136
|
return new N(this.imp.Axis());
|
|
8143
8137
|
}
|
|
8144
8138
|
Location() {
|
|
8145
|
-
return new
|
|
8139
|
+
return new w(this.imp.Location());
|
|
8146
8140
|
}
|
|
8147
8141
|
Position() {
|
|
8148
|
-
return new
|
|
8142
|
+
return new Z(this.imp.Position());
|
|
8149
8143
|
}
|
|
8150
8144
|
DistanceToPoint(e) {
|
|
8151
8145
|
return this.imp.DistanceToPoint(e.getImp());
|
|
@@ -8228,7 +8222,7 @@ class Ir extends y {
|
|
|
8228
8222
|
return new J(this.imp.Circle());
|
|
8229
8223
|
}
|
|
8230
8224
|
AnchorPoint() {
|
|
8231
|
-
return new
|
|
8225
|
+
return new w(this.imp.AnchorPoint());
|
|
8232
8226
|
}
|
|
8233
8227
|
Shape() {
|
|
8234
8228
|
return new c(this.imp.Shape());
|
|
@@ -8240,7 +8234,7 @@ class Ir extends y {
|
|
|
8240
8234
|
this.imp.SetTextPosition(e.getImp());
|
|
8241
8235
|
}
|
|
8242
8236
|
GetTextPosition() {
|
|
8243
|
-
return new
|
|
8237
|
+
return new w(this.imp.GetTextPosition());
|
|
8244
8238
|
}
|
|
8245
8239
|
Display() {
|
|
8246
8240
|
this.imp.Display();
|
|
@@ -8284,13 +8278,13 @@ class Re extends y {
|
|
|
8284
8278
|
return this.imp.Focal();
|
|
8285
8279
|
}
|
|
8286
8280
|
Focus1() {
|
|
8287
|
-
return new
|
|
8281
|
+
return new w(this.imp.Focus1());
|
|
8288
8282
|
}
|
|
8289
8283
|
Focus2() {
|
|
8290
|
-
return new
|
|
8284
|
+
return new w(this.imp.Focus2());
|
|
8291
8285
|
}
|
|
8292
8286
|
Location() {
|
|
8293
|
-
return new
|
|
8287
|
+
return new w(this.imp.Location());
|
|
8294
8288
|
}
|
|
8295
8289
|
MajorRadius() {
|
|
8296
8290
|
return this.imp.MajorRadius();
|
|
@@ -8586,13 +8580,13 @@ class te extends y {
|
|
|
8586
8580
|
return this.imp.Focal();
|
|
8587
8581
|
}
|
|
8588
8582
|
Focus1() {
|
|
8589
|
-
return new
|
|
8583
|
+
return new w(this.imp.Focus1());
|
|
8590
8584
|
}
|
|
8591
8585
|
Focus2() {
|
|
8592
|
-
return new
|
|
8586
|
+
return new w(this.imp.Focus2());
|
|
8593
8587
|
}
|
|
8594
8588
|
Location() {
|
|
8595
|
-
return new
|
|
8589
|
+
return new w(this.imp.Location());
|
|
8596
8590
|
}
|
|
8597
8591
|
MajorRadius() {
|
|
8598
8592
|
return this.imp.MajorRadius();
|
|
@@ -8675,10 +8669,10 @@ class te extends y {
|
|
|
8675
8669
|
}
|
|
8676
8670
|
class yr extends y {
|
|
8677
8671
|
constructor(e, t, r, n) {
|
|
8678
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeBox())) : e instanceof
|
|
8672
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeBox())) : e instanceof w && t instanceof w && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeBox(e.getImp(), t.getImp()))) : typeof e == "number" && typeof t == "number" && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeBox(e, t, r))) : e instanceof W && typeof t == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeBox(e.getImp(), t, r, n))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
8679
8673
|
}
|
|
8680
8674
|
Init(e, t, r, n) {
|
|
8681
|
-
e instanceof
|
|
8675
|
+
e instanceof w && t instanceof w && arguments.length == 2 ? this.imp.Init(e.getImp(), t.getImp()) : typeof e == "number" && typeof t == "number" && arguments.length == 3 ? this.imp.Init(e, t, r) : e instanceof W && typeof t == "number" && arguments.length == 4 && this.imp.Init(e.getImp(), t, r, n);
|
|
8682
8676
|
}
|
|
8683
8677
|
Shape() {
|
|
8684
8678
|
return new c(this.imp.Shape());
|
|
@@ -8782,13 +8776,13 @@ class Rt extends y {
|
|
|
8782
8776
|
return new O(this.imp.DN(e, t));
|
|
8783
8777
|
}
|
|
8784
8778
|
LocalValue(e, t, r) {
|
|
8785
|
-
return new
|
|
8779
|
+
return new w(this.imp.LocalValue(e, t, r));
|
|
8786
8780
|
}
|
|
8787
8781
|
LocalDN(e, t, r, n) {
|
|
8788
8782
|
return new O(this.imp.LocalDN(e, t, r, n));
|
|
8789
8783
|
}
|
|
8790
8784
|
EndPoint() {
|
|
8791
|
-
return new
|
|
8785
|
+
return new w(this.imp.EndPoint());
|
|
8792
8786
|
}
|
|
8793
8787
|
FirstUKnotIndex() {
|
|
8794
8788
|
return this.imp.FirstUKnotIndex();
|
|
@@ -8824,13 +8818,13 @@ class Rt extends y {
|
|
|
8824
8818
|
return this.imp.NbPoles();
|
|
8825
8819
|
}
|
|
8826
8820
|
Pole(e) {
|
|
8827
|
-
return new
|
|
8821
|
+
return new w(this.imp.Pole(e));
|
|
8828
8822
|
}
|
|
8829
8823
|
Poles() {
|
|
8830
8824
|
return new $(this.imp.Poles());
|
|
8831
8825
|
}
|
|
8832
8826
|
StartPoint() {
|
|
8833
|
-
return new
|
|
8827
|
+
return new w(this.imp.StartPoint());
|
|
8834
8828
|
}
|
|
8835
8829
|
Weight(e) {
|
|
8836
8830
|
return this.imp.Weight(e);
|
|
@@ -9000,7 +8994,7 @@ class Fi extends y {
|
|
|
9000
8994
|
return this.imp.NbVPoles();
|
|
9001
8995
|
}
|
|
9002
8996
|
Pole(e, t) {
|
|
9003
|
-
return new
|
|
8997
|
+
return new w(this.imp.Pole(e, t));
|
|
9004
8998
|
}
|
|
9005
8999
|
Poles() {
|
|
9006
9000
|
return new q(this.Poles());
|
|
@@ -9054,7 +9048,7 @@ class Fi extends y {
|
|
|
9054
9048
|
return new O(this.imp.LocalDN(e, t, r, n, C, s, E, D));
|
|
9055
9049
|
}
|
|
9056
9050
|
LocalValue(e, t, r, n, C, s) {
|
|
9057
|
-
return new
|
|
9051
|
+
return new w(this.imp.LocalValue(e, t, r, n, C, s));
|
|
9058
9052
|
}
|
|
9059
9053
|
Transform(e) {
|
|
9060
9054
|
this.imp.Transform(e.getImp());
|
|
@@ -9088,13 +9082,13 @@ class Rr extends y {
|
|
|
9088
9082
|
}
|
|
9089
9083
|
class br extends y {
|
|
9090
9084
|
constructor(e, t, r) {
|
|
9091
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeLengthDim())) : e instanceof j && t instanceof Ce && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeLengthDim(e.getImp(), t.getImp()))) : e instanceof
|
|
9085
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeLengthDim())) : e instanceof j && t instanceof Ce && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeLengthDim(e.getImp(), t.getImp()))) : e instanceof w && t instanceof w && r instanceof Ce ? (super(), this.initTempObject(new o.MdGeLengthDim(e.getImp(), t.getImp(), r.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9092
9086
|
}
|
|
9093
9087
|
FirstPoint() {
|
|
9094
|
-
return new
|
|
9088
|
+
return new w(this.imp.FirstPoint());
|
|
9095
9089
|
}
|
|
9096
9090
|
SecondPoint() {
|
|
9097
|
-
return new
|
|
9091
|
+
return new w(this.imp.SecondPoint());
|
|
9098
9092
|
}
|
|
9099
9093
|
FirstShape() {
|
|
9100
9094
|
return new c(this.imp.FirstShape());
|
|
@@ -9112,7 +9106,7 @@ class br extends y {
|
|
|
9112
9106
|
this.imp.SetTextPosition(e.getImp());
|
|
9113
9107
|
}
|
|
9114
9108
|
GetTextPosition() {
|
|
9115
|
-
return new
|
|
9109
|
+
return new w(this.imp.GetTextPosition());
|
|
9116
9110
|
}
|
|
9117
9111
|
SetDirection(e, t) {
|
|
9118
9112
|
this.imp.SetDirection(e.getImp(), t);
|
|
@@ -9123,7 +9117,7 @@ class br extends y {
|
|
|
9123
9117
|
}
|
|
9124
9118
|
class ne extends y {
|
|
9125
9119
|
constructor(e, t) {
|
|
9126
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeLine())) : e instanceof
|
|
9120
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeLine())) : e instanceof w && t instanceof K ? (super(), this.initTempObject(new o.MdGeLine(e.getImp(), t.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9127
9121
|
}
|
|
9128
9122
|
Reverse() {
|
|
9129
9123
|
this.imp.Reverse();
|
|
@@ -9144,7 +9138,7 @@ class ne extends y {
|
|
|
9144
9138
|
return new K(this.imp.Direction());
|
|
9145
9139
|
}
|
|
9146
9140
|
Location() {
|
|
9147
|
-
return new
|
|
9141
|
+
return new w(this.imp.Location());
|
|
9148
9142
|
}
|
|
9149
9143
|
Position() {
|
|
9150
9144
|
return new N(this.imp.Position());
|
|
@@ -9388,10 +9382,10 @@ class me extends y {
|
|
|
9388
9382
|
return this.imp.Focal();
|
|
9389
9383
|
}
|
|
9390
9384
|
Focus() {
|
|
9391
|
-
return new
|
|
9385
|
+
return new w(this.imp.Focus());
|
|
9392
9386
|
}
|
|
9393
9387
|
Location() {
|
|
9394
|
-
return new
|
|
9388
|
+
return new w(this.imp.Location());
|
|
9395
9389
|
}
|
|
9396
9390
|
Parameter() {
|
|
9397
9391
|
return this.imp.Parameter();
|
|
@@ -9533,13 +9527,13 @@ class Gr extends y {
|
|
|
9533
9527
|
}
|
|
9534
9528
|
class Nr extends y {
|
|
9535
9529
|
constructor(e, t) {
|
|
9536
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeRadiusDim())) : e instanceof J && arguments.length == 1 ? (super(), this.initTempObject(new o.MdGeRadiusDim(e.getImp()))) : e instanceof J && t instanceof
|
|
9530
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeRadiusDim())) : e instanceof J && arguments.length == 1 ? (super(), this.initTempObject(new o.MdGeRadiusDim(e.getImp()))) : e instanceof J && t instanceof w ? (super(), this.initTempObject(new o.MdGeRadiusDim(e.getImp(), t.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9537
9531
|
}
|
|
9538
9532
|
Circle() {
|
|
9539
9533
|
return new J(this.imp.Circle());
|
|
9540
9534
|
}
|
|
9541
9535
|
AnchorPoint() {
|
|
9542
|
-
return new
|
|
9536
|
+
return new w(this.imp.AnchorPoint());
|
|
9543
9537
|
}
|
|
9544
9538
|
Shape() {
|
|
9545
9539
|
return new c(this.imp.Shape());
|
|
@@ -9551,7 +9545,7 @@ class Nr extends y {
|
|
|
9551
9545
|
this.imp.SetTextPosition(e.getImp());
|
|
9552
9546
|
}
|
|
9553
9547
|
GetTextPosition() {
|
|
9554
|
-
return new
|
|
9548
|
+
return new w(this.imp.GetTextPosition());
|
|
9555
9549
|
}
|
|
9556
9550
|
Display() {
|
|
9557
9551
|
this.imp.Display();
|
|
@@ -9626,7 +9620,7 @@ class Yr extends y {
|
|
|
9626
9620
|
}
|
|
9627
9621
|
class he extends y {
|
|
9628
9622
|
constructor(e, t, r, n) {
|
|
9629
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeSphere())) : e instanceof
|
|
9623
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeSphere())) : e instanceof Z && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeSphere(e.getImp(), t))) : typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeSphere(e, t, r, n))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9630
9624
|
}
|
|
9631
9625
|
SetLocation(e) {
|
|
9632
9626
|
this.imp.SetLocation(e.getImp());
|
|
@@ -9650,10 +9644,10 @@ class he extends y {
|
|
|
9650
9644
|
return this.imp.Direct();
|
|
9651
9645
|
}
|
|
9652
9646
|
Location() {
|
|
9653
|
-
return new
|
|
9647
|
+
return new w(this.imp.Location());
|
|
9654
9648
|
}
|
|
9655
9649
|
Position() {
|
|
9656
|
-
return new
|
|
9650
|
+
return new Z(this.imp.Position());
|
|
9657
9651
|
}
|
|
9658
9652
|
Radius() {
|
|
9659
9653
|
return this.imp.Radius();
|
|
@@ -9730,7 +9724,7 @@ class jr extends y {
|
|
|
9730
9724
|
this.imp.SetText(e);
|
|
9731
9725
|
}
|
|
9732
9726
|
Position() {
|
|
9733
|
-
return new
|
|
9727
|
+
return new w(this.imp.Position());
|
|
9734
9728
|
}
|
|
9735
9729
|
SetPosition(e) {
|
|
9736
9730
|
this.imp.SetPosition(e.getImp());
|
|
@@ -9816,7 +9810,7 @@ class Ur extends y {
|
|
|
9816
9810
|
this.imp.UnsetOrientation3D();
|
|
9817
9811
|
}
|
|
9818
9812
|
Position() {
|
|
9819
|
-
return new
|
|
9813
|
+
return new w(this.imp.Position());
|
|
9820
9814
|
}
|
|
9821
9815
|
FontAspect() {
|
|
9822
9816
|
return this.imp.FontAspect();
|
|
@@ -9887,7 +9881,7 @@ class Jt {
|
|
|
9887
9881
|
}
|
|
9888
9882
|
class de extends y {
|
|
9889
9883
|
constructor(e, t, r) {
|
|
9890
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeTorus())) : e instanceof
|
|
9884
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeTorus())) : e instanceof Z && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeTorus(e.getImp(), t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9891
9885
|
}
|
|
9892
9886
|
SetAxis(e) {
|
|
9893
9887
|
this.imp.SetAxis(e.getImp());
|
|
@@ -9920,10 +9914,10 @@ class de extends y {
|
|
|
9920
9914
|
return new N(this.imp.Axis());
|
|
9921
9915
|
}
|
|
9922
9916
|
Location() {
|
|
9923
|
-
return new
|
|
9917
|
+
return new w(this.imp.Location());
|
|
9924
9918
|
}
|
|
9925
9919
|
Position() {
|
|
9926
|
-
return new
|
|
9920
|
+
return new Z(this.imp.Position());
|
|
9927
9921
|
}
|
|
9928
9922
|
MajorRadius() {
|
|
9929
9923
|
return this.imp.MajorRadius();
|
|
@@ -10042,10 +10036,10 @@ class it extends y {
|
|
|
10042
10036
|
return new N(this.imp.Axis());
|
|
10043
10037
|
}
|
|
10044
10038
|
Location() {
|
|
10045
|
-
return new
|
|
10039
|
+
return new w(this.imp.Location());
|
|
10046
10040
|
}
|
|
10047
10041
|
Position() {
|
|
10048
|
-
return new
|
|
10042
|
+
return new Z(this.imp.Position());
|
|
10049
10043
|
}
|
|
10050
10044
|
}
|
|
10051
10045
|
class qt {
|
|
@@ -10093,7 +10087,7 @@ class qt {
|
|
|
10093
10087
|
return this.imp.MaxContinuity(e.getImp());
|
|
10094
10088
|
}
|
|
10095
10089
|
Pnt(e) {
|
|
10096
|
-
return new
|
|
10090
|
+
return new w(this.imp.Pnt(e.getImp()));
|
|
10097
10091
|
}
|
|
10098
10092
|
Parameter(e, t, r) {
|
|
10099
10093
|
return arguments.length == 2 ? this.imp.Parameter(e.getImp(), t.getImp()) : this.imp.Parameter(e.getImp(), t.getImp(), r?.getImp());
|
|
@@ -10424,7 +10418,7 @@ class Kr extends y {
|
|
|
10424
10418
|
return new dt(this.imp.ConnectWiresToWires(e.getImp(), t, r));
|
|
10425
10419
|
}
|
|
10426
10420
|
}
|
|
10427
|
-
class
|
|
10421
|
+
class Zr extends y {
|
|
10428
10422
|
constructor(e) {
|
|
10429
10423
|
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeMakeFace())) : e instanceof V ? (super(), this.initTempObject(new o.MdGeMakeFace(e.getImp()))) : super(e);
|
|
10430
10424
|
}
|
|
@@ -10435,9 +10429,9 @@ class zr extends y {
|
|
|
10435
10429
|
return new Y(this.imp.Face());
|
|
10436
10430
|
}
|
|
10437
10431
|
}
|
|
10438
|
-
class
|
|
10432
|
+
class zr extends y {
|
|
10439
10433
|
constructor(e, t, r) {
|
|
10440
|
-
e instanceof
|
|
10434
|
+
e instanceof w ? arguments.length == 3 && (super(), this.initTempObject(new o.MdGeMakeArcOfCircle(e.getImp(), t?.getImp(), r?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
10441
10435
|
}
|
|
10442
10436
|
Edge() {
|
|
10443
10437
|
return new j(this.imp.Edge());
|
|
@@ -10487,10 +10481,10 @@ class Xr extends y {
|
|
|
10487
10481
|
this.imp.SetHeadlight(e);
|
|
10488
10482
|
}
|
|
10489
10483
|
Position() {
|
|
10490
|
-
return new
|
|
10484
|
+
return new w(this.imp.Position());
|
|
10491
10485
|
}
|
|
10492
10486
|
SetPosition(e, t, r) {
|
|
10493
|
-
e instanceof
|
|
10487
|
+
e instanceof w && arguments.length == 1 ? this.imp.SetPosition(e.getImp()) : typeof e == "number" && arguments.length == 3 && this.imp.SetPosition(e, t, r);
|
|
10494
10488
|
}
|
|
10495
10489
|
ConstAttenuation() {
|
|
10496
10490
|
return this.imp.ConstAttenuation();
|
|
@@ -10508,7 +10502,7 @@ class Xr extends y {
|
|
|
10508
10502
|
e instanceof K && arguments.length == 1 ? this.imp.SetDirection(e.getImp()) : typeof e == "number" && arguments.length == 3 && this.imp.SetDirection(e, t, r);
|
|
10509
10503
|
}
|
|
10510
10504
|
DisplayPosition() {
|
|
10511
|
-
return new
|
|
10505
|
+
return new w(this.imp.DisplayPosition());
|
|
10512
10506
|
}
|
|
10513
10507
|
SetDisplayPosition(e) {
|
|
10514
10508
|
this.imp.SetDisplayPosition(e.getImp());
|
|
@@ -10577,7 +10571,7 @@ const BE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10577
10571
|
_ML_String: ue,
|
|
10578
10572
|
IsZero: xt,
|
|
10579
10573
|
MxTools: xe,
|
|
10580
|
-
McGePoint3d:
|
|
10574
|
+
McGePoint3d: S,
|
|
10581
10575
|
McGeVector3d: G,
|
|
10582
10576
|
McGeMatrix3d: Ie,
|
|
10583
10577
|
McGeLongArray: Me,
|
|
@@ -10671,12 +10665,12 @@ const BE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10671
10665
|
MdGeCompSolid: Bi,
|
|
10672
10666
|
MdGeCompound: Ai,
|
|
10673
10667
|
MdGeMat: le,
|
|
10674
|
-
MdGeXYZ:
|
|
10668
|
+
MdGeXYZ: z,
|
|
10675
10669
|
MdGeTrsf: Ve,
|
|
10676
10670
|
MdGeDir: K,
|
|
10677
10671
|
MdGeAxis: N,
|
|
10678
10672
|
MdGeCSYSR: W,
|
|
10679
|
-
MdGePoint:
|
|
10673
|
+
MdGePoint: w,
|
|
10680
10674
|
MdGeVec: O,
|
|
10681
10675
|
MdGeAngleDim: hr,
|
|
10682
10676
|
MdGeArray1OfInteger: tt,
|
|
@@ -10688,7 +10682,7 @@ const BE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10688
10682
|
MdGeBezierSurface: gr,
|
|
10689
10683
|
MdGeChamfer: _r,
|
|
10690
10684
|
MdGeCircle: J,
|
|
10691
|
-
MdGeCSYS:
|
|
10685
|
+
MdGeCSYS: Z,
|
|
10692
10686
|
MdGeCone: pe,
|
|
10693
10687
|
MdGeCylinder: ce,
|
|
10694
10688
|
MdGePlane: Ce,
|
|
@@ -10733,8 +10727,8 @@ const BE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10733
10727
|
MdGeSequenceOfShape: dt,
|
|
10734
10728
|
MdGeSequenceIteratorOfSequenceOfShape: gt,
|
|
10735
10729
|
MdGeMakeWires: Kr,
|
|
10736
|
-
MdGeMakeFace:
|
|
10737
|
-
MdGeMakeArcOfCircle:
|
|
10730
|
+
MdGeMakeFace: Zr,
|
|
10731
|
+
MdGeMakeArcOfCircle: zr,
|
|
10738
10732
|
MdGeLight: Xr,
|
|
10739
10733
|
loadMxCADassembly3d: EE
|
|
10740
10734
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -10774,7 +10768,7 @@ export {
|
|
|
10774
10768
|
Yi as McDbTextStyleTableRecord,
|
|
10775
10769
|
Me as McGeLongArray,
|
|
10776
10770
|
Ie as McGeMatrix3d,
|
|
10777
|
-
|
|
10771
|
+
S as McGePoint3d,
|
|
10778
10772
|
Oi as McGePoint3dArray,
|
|
10779
10773
|
_t as McGeStringArray,
|
|
10780
10774
|
G as McGeVector3d,
|
|
@@ -10796,7 +10790,7 @@ export {
|
|
|
10796
10790
|
dr as MdGeBezierCurve,
|
|
10797
10791
|
gr as MdGeBezierSurface,
|
|
10798
10792
|
yr as MdGeBox,
|
|
10799
|
-
|
|
10793
|
+
Z as MdGeCSYS,
|
|
10800
10794
|
W as MdGeCSYSR,
|
|
10801
10795
|
_r as MdGeChamfer,
|
|
10802
10796
|
J as MdGeCircle,
|
|
@@ -10823,8 +10817,8 @@ export {
|
|
|
10823
10817
|
ht as MdGeListIteratorOfListOfShape,
|
|
10824
10818
|
Tr as MdGeListOfShape,
|
|
10825
10819
|
Lr as MdGeLoft,
|
|
10826
|
-
|
|
10827
|
-
|
|
10820
|
+
zr as MdGeMakeArcOfCircle,
|
|
10821
|
+
Zr as MdGeMakeFace,
|
|
10828
10822
|
fr as MdGeMakeThickSolid,
|
|
10829
10823
|
Kr as MdGeMakeWires,
|
|
10830
10824
|
le as MdGeMat,
|
|
@@ -10833,7 +10827,7 @@ export {
|
|
|
10833
10827
|
me as MdGeParab,
|
|
10834
10828
|
Pr as MdGePipe,
|
|
10835
10829
|
Ce as MdGePlane,
|
|
10836
|
-
|
|
10830
|
+
w as MdGePoint,
|
|
10837
10831
|
Or as MdGePointsToBSpl,
|
|
10838
10832
|
vr as MdGePointsToBSplSurface,
|
|
10839
10833
|
Gr as MdGePrism,
|
|
@@ -10856,7 +10850,7 @@ export {
|
|
|
10856
10850
|
be as MdGeVertex,
|
|
10857
10851
|
Wr as MdGeWedge,
|
|
10858
10852
|
V as MdGeWire,
|
|
10859
|
-
|
|
10853
|
+
z as MdGeXYZ,
|
|
10860
10854
|
ie as MxCADResbuf,
|
|
10861
10855
|
vi as MxCADResbufDataType,
|
|
10862
10856
|
fe as MxCADSelectionSet,
|