mxcad 1.0.92 → 1.0.93
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.d.ts +12 -2
- package/dist/mxcad.es.js +124 -105
- package/dist/mxcad.umd.js +3 -3
- package/dist/wasm/2d/mxdrawassembly_min.js +590 -588
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +582 -580
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/package.json +2 -2
package/dist/mxcad.es.js
CHANGED
|
@@ -111,7 +111,7 @@ class bC {
|
|
|
111
111
|
return e;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
let
|
|
114
|
+
let k = new bC();
|
|
115
115
|
class p {
|
|
116
116
|
static kOrigin;
|
|
117
117
|
imp;
|
|
@@ -346,15 +346,15 @@ class Se {
|
|
|
346
346
|
return this.imp.length();
|
|
347
347
|
}
|
|
348
348
|
at(t, e = !0) {
|
|
349
|
-
return e ?
|
|
349
|
+
return e ? k.decodeFromGb2312(this.imp.at(t)) : this.imp.at(t);
|
|
350
350
|
}
|
|
351
351
|
setAt(t, e, C = !0) {
|
|
352
|
-
C ? this.imp.setAt(t,
|
|
352
|
+
C ? this.imp.setAt(t, k.encodeToGb2312(e)) : this.imp.setAt(t, e);
|
|
353
353
|
}
|
|
354
354
|
forEach(t, e = !0) {
|
|
355
355
|
let C = this.imp.length();
|
|
356
356
|
for (let i = 0; i < C; i++)
|
|
357
|
-
t(e ?
|
|
357
|
+
t(e ? k.decodeFromGb2312(this.imp.at(i)) : this.imp.at(i), i);
|
|
358
358
|
}
|
|
359
359
|
clear() {
|
|
360
360
|
this.imp.clear();
|
|
@@ -430,18 +430,18 @@ class It {
|
|
|
430
430
|
}
|
|
431
431
|
getJson() {
|
|
432
432
|
let t = this.imp.getJson();
|
|
433
|
-
return
|
|
433
|
+
return k.decodeFromGb2312(t);
|
|
434
434
|
}
|
|
435
435
|
setJson(t) {
|
|
436
|
-
let e =
|
|
436
|
+
let e = k.encodeToGb2312(t);
|
|
437
437
|
return this.imp.setJson(e);
|
|
438
438
|
}
|
|
439
439
|
isKindOf(t) {
|
|
440
440
|
return this.imp.isKindOf(t);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
var
|
|
444
|
-
class
|
|
443
|
+
var z = /* @__PURE__ */ ((E) => (E[E.kMxCAD = 0] = "kMxCAD", E[E.kMxDraw = 1] = "kMxDraw", E[E.kInvalid = 2] = "kInvalid", E))(z || {});
|
|
444
|
+
class H {
|
|
445
445
|
id;
|
|
446
446
|
type;
|
|
447
447
|
constructor(t = 0, e = 2) {
|
|
@@ -638,7 +638,7 @@ class jC extends Ft {
|
|
|
638
638
|
this.imp.setColor(t.getImp());
|
|
639
639
|
}
|
|
640
640
|
get linetypeObjectId() {
|
|
641
|
-
return new
|
|
641
|
+
return new H(this.imp.linetypeObjectId(), z.kMxCAD);
|
|
642
642
|
}
|
|
643
643
|
set linetypeObjectId(t) {
|
|
644
644
|
this.imp.setLinetypeObjectId(t.id);
|
|
@@ -692,18 +692,18 @@ class ne extends It {
|
|
|
692
692
|
}
|
|
693
693
|
GetCurrentlyLineTypeName() {
|
|
694
694
|
let t = this.imp.GetCurrentlyLineTypeName();
|
|
695
|
-
return
|
|
695
|
+
return k.decodeFromGb2312(t);
|
|
696
696
|
}
|
|
697
697
|
SetCurrentlyLineTypeName(t) {
|
|
698
|
-
let e =
|
|
698
|
+
let e = k.encodeToGb2312(t);
|
|
699
699
|
this.imp.SetCurrentlyLineTypeName(e);
|
|
700
700
|
}
|
|
701
701
|
GetCurrentlyLayerName() {
|
|
702
702
|
let t = this.imp.GetCurrentlyLayerName();
|
|
703
|
-
return
|
|
703
|
+
return k.decodeFromGb2312(t);
|
|
704
704
|
}
|
|
705
705
|
SetCurrentlyLayerName(t) {
|
|
706
|
-
let e =
|
|
706
|
+
let e = k.encodeToGb2312(t);
|
|
707
707
|
this.imp.SetCurrentlyLayerName(e);
|
|
708
708
|
}
|
|
709
709
|
GetCurrentlyTrueColor() {
|
|
@@ -724,15 +724,15 @@ class ne extends It {
|
|
|
724
724
|
}
|
|
725
725
|
GetCurrentlyTextStyleName() {
|
|
726
726
|
let t = this.imp.GetCurrentlyTextStyleName();
|
|
727
|
-
return
|
|
727
|
+
return k.decodeFromGb2312(t);
|
|
728
728
|
}
|
|
729
729
|
SetCurrentlyTextStyle(t) {
|
|
730
|
-
let e =
|
|
730
|
+
let e = k.encodeToGb2312(t);
|
|
731
731
|
this.imp.SetCurrentlyTextStyle(e);
|
|
732
732
|
}
|
|
733
733
|
HandleToIdIndex(t) {
|
|
734
734
|
let e = this.imp.HandleToIdIndex(t);
|
|
735
|
-
return new
|
|
735
|
+
return new H(e, z.kMxCAD);
|
|
736
736
|
}
|
|
737
737
|
IsModifyed() {
|
|
738
738
|
return this.imp.IsModifyed();
|
|
@@ -752,7 +752,7 @@ class Le extends It {
|
|
|
752
752
|
return this.imp.done();
|
|
753
753
|
}
|
|
754
754
|
getEntityId() {
|
|
755
|
-
return new
|
|
755
|
+
return new H(this.imp.getEntityId(), z.kMxCAD);
|
|
756
756
|
}
|
|
757
757
|
step(t = !0, e = !0) {
|
|
758
758
|
return this.imp.step(t, e);
|
|
@@ -763,9 +763,9 @@ class zt extends Ft {
|
|
|
763
763
|
super(t), t || this.initTempObject(new F.mxcadassemblyimp.MdDbBlockTableRecord());
|
|
764
764
|
}
|
|
765
765
|
appendAcDbEntity(t) {
|
|
766
|
-
return new
|
|
766
|
+
return new H(
|
|
767
767
|
this.imp.appendAcDbEntity(t.getImp()),
|
|
768
|
-
|
|
768
|
+
z.kMxCAD
|
|
769
769
|
);
|
|
770
770
|
}
|
|
771
771
|
newIterator(t = !0, e = !0) {
|
|
@@ -1064,10 +1064,10 @@ class ee extends pt {
|
|
|
1064
1064
|
this.imp.setWidthFactor(t);
|
|
1065
1065
|
}
|
|
1066
1066
|
get textString() {
|
|
1067
|
-
return
|
|
1067
|
+
return k.decodeFromGb2312(this.imp.textString());
|
|
1068
1068
|
}
|
|
1069
1069
|
set textString(t) {
|
|
1070
|
-
this.imp.setTextString(
|
|
1070
|
+
this.imp.setTextString(k.encodeToGb2312(t));
|
|
1071
1071
|
}
|
|
1072
1072
|
get horizontalMode() {
|
|
1073
1073
|
return this.imp.horizontalMode();
|
|
@@ -1082,7 +1082,7 @@ class ee extends pt {
|
|
|
1082
1082
|
this.imp.setVerticalMode(t);
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
|
-
class
|
|
1085
|
+
class kt extends pt {
|
|
1086
1086
|
constructor(t) {
|
|
1087
1087
|
super(t), t || this.initTempObject(new F.mxcadassemblyimp.MdDbMText());
|
|
1088
1088
|
}
|
|
@@ -1117,10 +1117,10 @@ class Ht extends pt {
|
|
|
1117
1117
|
this.imp.setAttachment(t);
|
|
1118
1118
|
}
|
|
1119
1119
|
get contents() {
|
|
1120
|
-
return
|
|
1120
|
+
return k.decodeFromGb2312(this.imp.contents());
|
|
1121
1121
|
}
|
|
1122
1122
|
set contents(t) {
|
|
1123
|
-
this.imp.setContents(
|
|
1123
|
+
this.imp.setContents(k.encodeToGb2312(t));
|
|
1124
1124
|
}
|
|
1125
1125
|
}
|
|
1126
1126
|
class ht extends at {
|
|
@@ -1143,7 +1143,7 @@ class ht extends at {
|
|
|
1143
1143
|
this.imp.setRadius(t);
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
|
-
class
|
|
1146
|
+
class Ht extends at {
|
|
1147
1147
|
constructor(t) {
|
|
1148
1148
|
super(t), t || this.initTempObject(new F.mxcadassemblyimp.MdDbPolyline());
|
|
1149
1149
|
}
|
|
@@ -1197,7 +1197,7 @@ class Ce extends pt {
|
|
|
1197
1197
|
super(t), t || this.initTempObject(new F.mxcadassemblyimp.MdDbBlockReference());
|
|
1198
1198
|
}
|
|
1199
1199
|
get blockTableRecordId() {
|
|
1200
|
-
return new
|
|
1200
|
+
return new H(this.imp.blockTableRecordId(), z.kMxCAD);
|
|
1201
1201
|
}
|
|
1202
1202
|
set blockTableRecordId(t) {
|
|
1203
1203
|
this.imp.setBlockTableRecordId(t.id);
|
|
@@ -1209,10 +1209,16 @@ class Ce extends pt {
|
|
|
1209
1209
|
this.imp.setPosition(t.imp);
|
|
1210
1210
|
}
|
|
1211
1211
|
get scaleFactors() {
|
|
1212
|
-
return this.imp.scaleFactors();
|
|
1212
|
+
return new p(this.imp.scaleFactors());
|
|
1213
1213
|
}
|
|
1214
1214
|
set scaleFactors(t) {
|
|
1215
|
-
this.imp.setScaleFactors(t);
|
|
1215
|
+
this.imp.setScaleFactors(t.imp);
|
|
1216
|
+
}
|
|
1217
|
+
setScale(t) {
|
|
1218
|
+
this.imp.setScaleFactors(new p(t, t, t).imp);
|
|
1219
|
+
}
|
|
1220
|
+
getScale() {
|
|
1221
|
+
return this.imp.scaleFactors().x;
|
|
1216
1222
|
}
|
|
1217
1223
|
get rotation() {
|
|
1218
1224
|
return this.imp.rotation();
|
|
@@ -1265,7 +1271,7 @@ class Ae extends pt {
|
|
|
1265
1271
|
this.imp.setTextRotation(t);
|
|
1266
1272
|
}
|
|
1267
1273
|
get dimensionStyle() {
|
|
1268
|
-
return new
|
|
1274
|
+
return new H(this.imp.dimensionStyle(), z.kMxCAD);
|
|
1269
1275
|
}
|
|
1270
1276
|
set dimensionStyle(t) {
|
|
1271
1277
|
this.imp.setDimensionStyle(t.id);
|
|
@@ -1304,9 +1310,9 @@ class Ae extends pt {
|
|
|
1304
1310
|
this.imp.SetDimVarString(t, e);
|
|
1305
1311
|
}
|
|
1306
1312
|
getDimVarObjectId(t) {
|
|
1307
|
-
return new
|
|
1313
|
+
return new H(
|
|
1308
1314
|
this.imp.GetDimVarObjectId(t),
|
|
1309
|
-
|
|
1315
|
+
z.kMxCAD
|
|
1310
1316
|
);
|
|
1311
1317
|
}
|
|
1312
1318
|
setDimVarObjectId(t, e) {
|
|
@@ -1507,7 +1513,7 @@ class M extends It {
|
|
|
1507
1513
|
if (this.imp.AtObjectName(t) == "McDbMText") {
|
|
1508
1514
|
let C = this.imp.AtObjectMdDbMText(t);
|
|
1509
1515
|
if (C)
|
|
1510
|
-
return { val: new
|
|
1516
|
+
return { val: new kt(C), ret: F.getCallResult() };
|
|
1511
1517
|
}
|
|
1512
1518
|
return { val: void 0, ret: -1 };
|
|
1513
1519
|
}
|
|
@@ -1515,10 +1521,10 @@ class M extends It {
|
|
|
1515
1521
|
this.imp.AddObject(t.getImp());
|
|
1516
1522
|
}
|
|
1517
1523
|
AtObjectId(t) {
|
|
1518
|
-
return { val: new
|
|
1524
|
+
return { val: new H(this.imp.AtObjectId(t), z.kMxCAD), ret: F.getCallResult() };
|
|
1519
1525
|
}
|
|
1520
1526
|
AtString(t, e = !0) {
|
|
1521
|
-
return e ? { val:
|
|
1527
|
+
return e ? { val: k.decodeFromGb2312(this.imp.AtString(t)), ret: F.getCallResult() } : { val: this.imp.AtString(t), ret: F.getCallResult() };
|
|
1522
1528
|
}
|
|
1523
1529
|
AtPoint(t) {
|
|
1524
1530
|
return { val: new p(this.imp.AtPoint(t)), ret: F.getCallResult() };
|
|
@@ -1536,7 +1542,7 @@ class M extends It {
|
|
|
1536
1542
|
return this.imp.AddObjectId(t, e);
|
|
1537
1543
|
}
|
|
1538
1544
|
AddString(t, e = -10, C = !0) {
|
|
1539
|
-
return C ? this.imp.AddString(
|
|
1545
|
+
return C ? this.imp.AddString(k.encodeToGb2312(t), e) : this.imp.AddString(t, e);
|
|
1540
1546
|
}
|
|
1541
1547
|
AddMcDbEntityTypes(t) {
|
|
1542
1548
|
return this.imp.AddString(t, 5020);
|
|
@@ -1564,7 +1570,7 @@ class be {
|
|
|
1564
1570
|
findEntAtPoint(t, e, C, i = -1, D = null) {
|
|
1565
1571
|
this.init();
|
|
1566
1572
|
let B = this.imp.findEntAtPoint(t, e, C, i, _t(D));
|
|
1567
|
-
return new
|
|
1573
|
+
return new H(B, z.kMxCAD);
|
|
1568
1574
|
}
|
|
1569
1575
|
selectEnt(t, e = null, C = !0) {
|
|
1570
1576
|
return this.init(), new Promise(async (i) => {
|
|
@@ -1579,7 +1585,7 @@ class be {
|
|
|
1579
1585
|
xt.findEntAtPoint(B).then((r) => {
|
|
1580
1586
|
let n = [];
|
|
1581
1587
|
r.forEach((u) => {
|
|
1582
|
-
n.push(new
|
|
1588
|
+
n.push(new H(u, z.kMxDraw));
|
|
1583
1589
|
});
|
|
1584
1590
|
let A = this.findEntAtPoint(B.x, B.y, B.z, -1, e);
|
|
1585
1591
|
A.isValid() && n.push(A), i(n);
|
|
@@ -1593,7 +1599,7 @@ class be {
|
|
|
1593
1599
|
getCurrentSelect(t = null) {
|
|
1594
1600
|
let e = [];
|
|
1595
1601
|
R.getCurrentDraw().getMxCurrentSelect().forEach((D) => {
|
|
1596
|
-
e.push(new
|
|
1602
|
+
e.push(new H(D, z.kMxDraw));
|
|
1597
1603
|
});
|
|
1598
1604
|
let i = R.getCurrentDraw().getMxCADCurrentSelect();
|
|
1599
1605
|
if (i.length <= 0)
|
|
@@ -1610,7 +1616,7 @@ class be {
|
|
|
1610
1616
|
i.push(r.at(A));
|
|
1611
1617
|
}
|
|
1612
1618
|
return i.forEach((D) => {
|
|
1613
|
-
e.push(new
|
|
1619
|
+
e.push(new H(D, z.kMxCAD));
|
|
1614
1620
|
}), e;
|
|
1615
1621
|
}
|
|
1616
1622
|
async userSelect(t, e = null) {
|
|
@@ -1685,7 +1691,7 @@ class mt extends It {
|
|
|
1685
1691
|
return this.imp.count();
|
|
1686
1692
|
}
|
|
1687
1693
|
item(t) {
|
|
1688
|
-
return new
|
|
1694
|
+
return new H(this.imp.item(t), z.kMxCAD);
|
|
1689
1695
|
}
|
|
1690
1696
|
forEach(t) {
|
|
1691
1697
|
let e = this.imp.count();
|
|
@@ -1888,7 +1894,7 @@ class vC extends ct {
|
|
|
1888
1894
|
return this.imp.go();
|
|
1889
1895
|
}
|
|
1890
1896
|
}
|
|
1891
|
-
class
|
|
1897
|
+
class kC extends ct {
|
|
1892
1898
|
constructor() {
|
|
1893
1899
|
super(new IC()), this.setDynamicInputType(Gt.kNoInput), this.setDisableOsnap(!0);
|
|
1894
1900
|
}
|
|
@@ -1901,7 +1907,7 @@ class HC extends ct {
|
|
|
1901
1907
|
}
|
|
1902
1908
|
class wt extends ct {
|
|
1903
1909
|
filter;
|
|
1904
|
-
id = new
|
|
1910
|
+
id = new H();
|
|
1905
1911
|
constructor() {
|
|
1906
1912
|
super(new x()), this.setCursorType(se.kRect), this.setDynamicInputType(Gt.kDynTip), this.setDisableOsnap(!0);
|
|
1907
1913
|
}
|
|
@@ -1916,7 +1922,7 @@ class wt extends ct {
|
|
|
1916
1922
|
let e = this;
|
|
1917
1923
|
this.imp.go((C) => {
|
|
1918
1924
|
if (C != 0)
|
|
1919
|
-
t(new
|
|
1925
|
+
t(new H());
|
|
1920
1926
|
else {
|
|
1921
1927
|
let i = this.imp.value();
|
|
1922
1928
|
e.id = Q.findEntAtPoint(i.x, i.y, i.z, -1, e.filter), t(e.id);
|
|
@@ -1954,7 +1960,7 @@ class yt {
|
|
|
1954
1960
|
let B = this.imp.mxdrawObject, r = Math.round(Math.random() * 1e7);
|
|
1955
1961
|
if (e) {
|
|
1956
1962
|
let A = (u, l) => {
|
|
1957
|
-
B.removeEventFuction("openFileComplete", A),
|
|
1963
|
+
r == l && (B.removeEventFuction("openFileComplete", A), e(u));
|
|
1958
1964
|
};
|
|
1959
1965
|
B.addEvent("openFileComplete", A);
|
|
1960
1966
|
}
|
|
@@ -1962,6 +1968,19 @@ class yt {
|
|
|
1962
1968
|
let n = "";
|
|
1963
1969
|
return i && (n = JSON.stringify(i)), this.imp.openWebFile(t, C, r, n, D);
|
|
1964
1970
|
}
|
|
1971
|
+
InsertBlock(t, e, C = !0, i = 0) {
|
|
1972
|
+
let D = this.imp.mxdrawObject, B = Math.round(Math.random() * 1e7);
|
|
1973
|
+
return new Promise((r) => {
|
|
1974
|
+
let n = (u) => {
|
|
1975
|
+
(!u || u.length == 0) && r(new H());
|
|
1976
|
+
let l = JSON.parse(u);
|
|
1977
|
+
l.callid == B && (D.removeEventFuction("insertBlockComplete", n), l.result != 0 && console.log("insertBlock result:" + l.result), r(new H(l.blkrecid, z.kMxCAD)));
|
|
1978
|
+
};
|
|
1979
|
+
D.addEvent("insertBlockComplete", n);
|
|
1980
|
+
let A = "";
|
|
1981
|
+
this.imp.insertBlock(t, e, C, B, A, i);
|
|
1982
|
+
});
|
|
1983
|
+
}
|
|
1965
1984
|
getCurrentFileName() {
|
|
1966
1985
|
return yt.currentFileName;
|
|
1967
1986
|
}
|
|
@@ -2179,7 +2198,7 @@ class yt {
|
|
|
2179
2198
|
return new Se(this.imp.GetAllLayoutName());
|
|
2180
2199
|
}
|
|
2181
2200
|
SetCurrentLayout(t) {
|
|
2182
|
-
this.imp.SetCurrentLayout(
|
|
2201
|
+
this.imp.SetCurrentLayout(k.encodeToGb2312(t));
|
|
2183
2202
|
}
|
|
2184
2203
|
GetMxCpp() {
|
|
2185
2204
|
return F;
|
|
@@ -2235,7 +2254,7 @@ class Ue {
|
|
|
2235
2254
|
return new ee(C);
|
|
2236
2255
|
} else if (e == "McDbPolyline") {
|
|
2237
2256
|
let C = this.imp.ObjectIdToMdDbPolyline(t);
|
|
2238
|
-
return new
|
|
2257
|
+
return new Ht(C);
|
|
2239
2258
|
} else if (e == "McDbCircle") {
|
|
2240
2259
|
let C = this.imp.ObjectIdToMdDbCircle(t);
|
|
2241
2260
|
return new ht(C);
|
|
@@ -2253,7 +2272,7 @@ class Ue {
|
|
|
2253
2272
|
return new Ee(C);
|
|
2254
2273
|
} else if (e == "McDbMText") {
|
|
2255
2274
|
let C = this.imp.ObjectIdToMdDbMText(t);
|
|
2256
|
-
return new
|
|
2275
|
+
return new kt(C);
|
|
2257
2276
|
} else if (e == "McDbEllipse") {
|
|
2258
2277
|
let C = this.imp.ObjectIdToMdDbEllipse(t);
|
|
2259
2278
|
return new qt(C);
|
|
@@ -2275,7 +2294,7 @@ class Ue {
|
|
|
2275
2294
|
if (!t)
|
|
2276
2295
|
return null;
|
|
2277
2296
|
let e = t.getObjectName(), C = null;
|
|
2278
|
-
return e == "McDbLine" ? C = new vt() : e == "McDbText" ? C = new ee() : e == "McDbPolyline" ? C = new
|
|
2297
|
+
return e == "McDbLine" ? C = new vt() : e == "McDbText" ? C = new ee() : e == "McDbPolyline" ? C = new Ht() : e == "McDbCircle" ? C = new ht() : e == "McDbArc" ? C = new Kt() : e == "McDbBlockReference" ? C = new Ce() : e == "McDbAlignedDimension" ? C = new ie() : e == "McDbRotatedDimension" ? C = new Ee() : e == "McDbMText" ? C = new kt() : t.isKindOf("McDbCurve") ? (C = new at(), C.initTempObject(new F.mxcadassemblyimp.MdDbCurve())) : t.isKindOf("McDbEntity") && (C = new pt(), C.initTempObject(new F.mxcadassemblyimp.MdDbEntity())), C ? (C.getImp().ConnectionTempObject(t), F.App.DestroyObject(t), C) : new Ft(t);
|
|
2279
2298
|
}
|
|
2280
2299
|
setFontFilePath(t) {
|
|
2281
2300
|
this.imp.setFontFilePath(t);
|
|
@@ -2307,7 +2326,7 @@ class Ye {
|
|
|
2307
2326
|
return this.App.GetCurrentMxCAD().GetDatabase();
|
|
2308
2327
|
}
|
|
2309
2328
|
}
|
|
2310
|
-
const oe = "1.0.
|
|
2329
|
+
const oe = "1.0.93", HC = "SharedArrayBuffer" in window, Xt = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src), KC = (E, t = self.location.href) => Xt ? `https://unpkg.com/mxcad@${oe}/dist/wasm/2d-st/${E}` : t + E, WC = (E, t = self.location.href) => Xt ? `https://unpkg.com/mxcad@${oe}/dist/wasm/2d/${E}` : t + E, zC = (E, t = self.location.href) => Xt ? `https://unpkg.com/mxcad@${oe}/dist/wasm/3d/${E}` : t + E, je = (E) => new Promise((t, e) => {
|
|
2311
2330
|
const C = document.createElement("script");
|
|
2312
2331
|
C.src = E, C.type = "text/javascript", C.crossOrigin = "anonymous", document.body.appendChild(C), C.onload = () => {
|
|
2313
2332
|
t();
|
|
@@ -2319,7 +2338,7 @@ const oe = "1.0.92", kC = "SharedArrayBuffer" in window, Xt = document.currentSc
|
|
|
2319
2338
|
return await je(i), await globalThis[t](e);
|
|
2320
2339
|
};
|
|
2321
2340
|
let F;
|
|
2322
|
-
async function Ve(E, t =
|
|
2341
|
+
async function Ve(E, t = HC || !Xt ? KC : WC, e, C, i) {
|
|
2323
2342
|
return new Promise(async (D, B) => {
|
|
2324
2343
|
try {
|
|
2325
2344
|
if (F || (F = new Ye()), F.mxcadassemblyimp)
|
|
@@ -2552,7 +2571,7 @@ async function xC() {
|
|
|
2552
2571
|
};
|
|
2553
2572
|
R.call("Mx_MText", i);
|
|
2554
2573
|
}
|
|
2555
|
-
async function
|
|
2574
|
+
async function ke() {
|
|
2556
2575
|
const E = new x();
|
|
2557
2576
|
let t = F.GetCurrentDatabase().GetCurrentlyDrawColor();
|
|
2558
2577
|
const e = new wC();
|
|
@@ -2572,7 +2591,7 @@ async function He() {
|
|
|
2572
2591
|
},
|
|
2573
2592
|
(i) => {
|
|
2574
2593
|
if (i != X.kCancel) {
|
|
2575
|
-
let D = F.GetCurrentMxCAD(), B = new
|
|
2594
|
+
let D = F.GetCurrentMxCAD(), B = new Ht();
|
|
2576
2595
|
for (let r = 0; r < e.points.length; r++)
|
|
2577
2596
|
B.addVertexAt(e.points[r]);
|
|
2578
2597
|
D.DrawEntity(B);
|
|
@@ -2581,9 +2600,9 @@ async function He() {
|
|
|
2581
2600
|
);
|
|
2582
2601
|
}
|
|
2583
2602
|
R.on("init", () => {
|
|
2584
|
-
R.addCommand("Mx_Pline",
|
|
2603
|
+
R.addCommand("Mx_Pline", ke);
|
|
2585
2604
|
});
|
|
2586
|
-
async function
|
|
2605
|
+
async function He() {
|
|
2587
2606
|
const E = new x();
|
|
2588
2607
|
E.setMessage(`
|
|
2589
2608
|
\u6307\u5B9A\u4E00\u70B9:`);
|
|
@@ -2600,7 +2619,7 @@ async function ke() {
|
|
|
2600
2619
|
}), E.setMessage(`
|
|
2601
2620
|
\u6307\u5B9A\u4E8C\u70B9:`), await E.go(), E.drawReserve();
|
|
2602
2621
|
}
|
|
2603
|
-
R.addCommand("Mx_Polygon",
|
|
2622
|
+
R.addCommand("Mx_Polygon", He);
|
|
2604
2623
|
function ti(E, t, e) {
|
|
2605
2624
|
const C = E.x, i = t.x, D = e.x, B = E.y, r = t.y, n = e.y, A = C - i, u = B - r, l = C - D, a = B - n, c = (C * C - i * i + (B * B - r * r)) / 2, h = (C * C - D * D + (B * B - n * n)) / 2, g = u * l - A * a, O = -(a * c - u * h) / g, N = -(A * h - l * c) / g;
|
|
2606
2625
|
return new THREE.Vector3(O, N, 0);
|
|
@@ -3395,14 +3414,14 @@ class Tt {
|
|
|
3395
3414
|
MdGeVec: S,
|
|
3396
3415
|
MdGeAngleDim: qe,
|
|
3397
3416
|
MdGeArray1OfInteger: bt,
|
|
3398
|
-
MdGeArray1OfPnt:
|
|
3417
|
+
MdGeArray1OfPnt: q,
|
|
3399
3418
|
MdGeArray1OfReal: st,
|
|
3400
|
-
MdGeArray2OfPnt:
|
|
3419
|
+
MdGeArray2OfPnt: W,
|
|
3401
3420
|
MdGeArray2OfReal: jt,
|
|
3402
3421
|
MdGeBezierCurve: Ze,
|
|
3403
3422
|
MdGeBezierSurface: Xe,
|
|
3404
3423
|
MdGeChamfer: Qe,
|
|
3405
|
-
MdGeCircle:
|
|
3424
|
+
MdGeCircle: K,
|
|
3406
3425
|
MdGeCSYS: j,
|
|
3407
3426
|
MdGeCone: Ct,
|
|
3408
3427
|
MdGeCylinder: it,
|
|
@@ -4408,7 +4427,7 @@ class bt extends _ {
|
|
|
4408
4427
|
this.imp.Resize(t, e, C);
|
|
4409
4428
|
}
|
|
4410
4429
|
}
|
|
4411
|
-
class
|
|
4430
|
+
class q extends _ {
|
|
4412
4431
|
constructor(t, e) {
|
|
4413
4432
|
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeArray1OfPnt())) : typeof t == "number" && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeArray1OfPnt(t, e))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
4414
4433
|
}
|
|
@@ -4496,7 +4515,7 @@ class st extends _ {
|
|
|
4496
4515
|
this.imp.Resize(t, e, C);
|
|
4497
4516
|
}
|
|
4498
4517
|
}
|
|
4499
|
-
class
|
|
4518
|
+
class W extends _ {
|
|
4500
4519
|
constructor(t, e, C, i, D) {
|
|
4501
4520
|
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeArray2OfPnt())) : typeof t == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeArray2OfPnt(t, e, C, i))) : t instanceof m && arguments.length == 5 ? (super(), this.initTempObject(new s.MdGeArray2OfPnt(t.getImp(), e, C, i, D))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
4502
4521
|
}
|
|
@@ -4598,7 +4617,7 @@ class jt extends _ {
|
|
|
4598
4617
|
}
|
|
4599
4618
|
class Ze extends _ {
|
|
4600
4619
|
constructor(t, e) {
|
|
4601
|
-
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBezierCurve())) : t instanceof
|
|
4620
|
+
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBezierCurve())) : t instanceof q && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGeBezierCurve(t.getImp()))) : t instanceof q && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeBezierCurve(t.getImp(), e?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
4602
4621
|
}
|
|
4603
4622
|
Increase(t) {
|
|
4604
4623
|
this.imp.Increase(t);
|
|
@@ -4667,7 +4686,7 @@ class Ze extends _ {
|
|
|
4667
4686
|
return new m(this.imp.Pole(t));
|
|
4668
4687
|
}
|
|
4669
4688
|
Poles() {
|
|
4670
|
-
return new
|
|
4689
|
+
return new q(this.imp.Poles());
|
|
4671
4690
|
}
|
|
4672
4691
|
Weight(t) {
|
|
4673
4692
|
return this.imp.Weight(t);
|
|
@@ -4693,7 +4712,7 @@ class Ze extends _ {
|
|
|
4693
4712
|
}
|
|
4694
4713
|
class Xe extends _ {
|
|
4695
4714
|
constructor(t, e) {
|
|
4696
|
-
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBezierSurface())) : t instanceof
|
|
4715
|
+
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBezierSurface())) : t instanceof W && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGeBezierSurface(t.getImp()))) : t instanceof W && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeBezierSurface(t.getImp(), e?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
4697
4716
|
}
|
|
4698
4717
|
ExchangeUV() {
|
|
4699
4718
|
this.imp.ExchangeUV();
|
|
@@ -4768,7 +4787,7 @@ class Xe extends _ {
|
|
|
4768
4787
|
return new m(this.imp.Pole(t, e));
|
|
4769
4788
|
}
|
|
4770
4789
|
Poles() {
|
|
4771
|
-
return new
|
|
4790
|
+
return new W(this.imp.Poles());
|
|
4772
4791
|
}
|
|
4773
4792
|
UDegree() {
|
|
4774
4793
|
return this.imp.UDegree();
|
|
@@ -4916,7 +4935,7 @@ class Qe extends _ {
|
|
|
4916
4935
|
return new o(this.imp.Shape());
|
|
4917
4936
|
}
|
|
4918
4937
|
}
|
|
4919
|
-
class
|
|
4938
|
+
class K extends _ {
|
|
4920
4939
|
constructor(t, e) {
|
|
4921
4940
|
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeCircle())) : t instanceof P && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeCircle(t.getImp(), e))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
4922
4941
|
}
|
|
@@ -4969,49 +4988,49 @@ class k extends _ {
|
|
|
4969
4988
|
this.imp.MirrorByPoint(t.getImp());
|
|
4970
4989
|
}
|
|
4971
4990
|
MirroredByPoint(t) {
|
|
4972
|
-
return new
|
|
4991
|
+
return new K(this.imp.MirroredByPoint(t.getImp()));
|
|
4973
4992
|
}
|
|
4974
4993
|
MirrorByAxis(t) {
|
|
4975
4994
|
this.imp.MirrorByAxis(t.getImp());
|
|
4976
4995
|
}
|
|
4977
4996
|
MirroredByAxis(t) {
|
|
4978
|
-
return new
|
|
4997
|
+
return new K(this.imp.MirroredByAxis(t.getImp()));
|
|
4979
4998
|
}
|
|
4980
4999
|
MirrorByCSYSR(t) {
|
|
4981
5000
|
this.imp.MirrorByCSYSR(t.getImp());
|
|
4982
5001
|
}
|
|
4983
5002
|
MirroredByCSYSR(t) {
|
|
4984
|
-
return new
|
|
5003
|
+
return new K(t.getImp());
|
|
4985
5004
|
}
|
|
4986
5005
|
Rotate(t, e) {
|
|
4987
5006
|
this.imp.Rotate(t.getImp(), e);
|
|
4988
5007
|
}
|
|
4989
5008
|
Rotated(t, e) {
|
|
4990
|
-
return new
|
|
5009
|
+
return new K(this.imp.Rotated(t.getImp(), e));
|
|
4991
5010
|
}
|
|
4992
5011
|
Scale(t, e) {
|
|
4993
5012
|
this.imp.Scale(t.getImp(), e);
|
|
4994
5013
|
}
|
|
4995
5014
|
Scaled(t, e) {
|
|
4996
|
-
return new
|
|
5015
|
+
return new K(this.imp.Scaled(t.getImp(), e));
|
|
4997
5016
|
}
|
|
4998
5017
|
Transform(t) {
|
|
4999
5018
|
this.imp.Transform(t.getImp());
|
|
5000
5019
|
}
|
|
5001
5020
|
Transformed(t) {
|
|
5002
|
-
return new
|
|
5021
|
+
return new K(this.imp.Transformed(t.getImp()));
|
|
5003
5022
|
}
|
|
5004
5023
|
TranslateByVec(t) {
|
|
5005
5024
|
this.imp.TranslateByVec(t.getImp());
|
|
5006
5025
|
}
|
|
5007
5026
|
TranslatedByVec(t) {
|
|
5008
|
-
return new
|
|
5027
|
+
return new K(this.imp.TranslatedByVec(t.getImp()));
|
|
5009
5028
|
}
|
|
5010
5029
|
TranslateBy2Points(t, e) {
|
|
5011
5030
|
this.imp.TranslateBy2Points(t.getImp(), e.getImp());
|
|
5012
5031
|
}
|
|
5013
5032
|
TranslatedBy2Points(t, e) {
|
|
5014
|
-
return new
|
|
5033
|
+
return new K(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
|
|
5015
5034
|
}
|
|
5016
5035
|
Shape() {
|
|
5017
5036
|
return new o(this.imp.Shape());
|
|
@@ -5441,10 +5460,10 @@ class $ extends _ {
|
|
|
5441
5460
|
}
|
|
5442
5461
|
class Je extends _ {
|
|
5443
5462
|
constructor(t, e) {
|
|
5444
|
-
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeDiameterDim())) : t instanceof
|
|
5463
|
+
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeDiameterDim())) : t instanceof K && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGeDiameterDim(t.getImp()))) : t instanceof K && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeDiameterDim(t.getImp(), e?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
5445
5464
|
}
|
|
5446
5465
|
Circle() {
|
|
5447
|
-
return new
|
|
5466
|
+
return new K(this.imp.Circle());
|
|
5448
5467
|
}
|
|
5449
5468
|
AnchorPoint() {
|
|
5450
5469
|
return new m(this.imp.AnchorPoint());
|
|
@@ -5923,7 +5942,7 @@ class xe extends _ {
|
|
|
5923
5942
|
}
|
|
5924
5943
|
class Qt extends _ {
|
|
5925
5944
|
constructor(t, e, C, i, D) {
|
|
5926
|
-
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBSplineCurve())) : t instanceof
|
|
5945
|
+
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBSplineCurve())) : t instanceof q && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeBSplineCurve(t.getImp(), e?.getImp(), C?.getImp(), i))) : t instanceof q && arguments.length == 5 ? (super(), this.initTempObject(new s.MdGeBSplineCurve(t.getImp(), e?.getImp(), C?.getImp(), i, D))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
5927
5946
|
}
|
|
5928
5947
|
IncreaseDegree(t) {
|
|
5929
5948
|
this.imp.IncreaseDegree(t);
|
|
@@ -6040,7 +6059,7 @@ class Qt extends _ {
|
|
|
6040
6059
|
return new m(this.imp.Pole(t));
|
|
6041
6060
|
}
|
|
6042
6061
|
Poles() {
|
|
6043
|
-
return new
|
|
6062
|
+
return new q(this.imp.Poles());
|
|
6044
6063
|
}
|
|
6045
6064
|
StartPoint() {
|
|
6046
6065
|
return new m(this.imp.StartPoint());
|
|
@@ -6066,7 +6085,7 @@ class Qt extends _ {
|
|
|
6066
6085
|
}
|
|
6067
6086
|
class le extends _ {
|
|
6068
6087
|
constructor(t, e, C, i, D, B, r, n, A) {
|
|
6069
|
-
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBSplineSurface())) : t instanceof
|
|
6088
|
+
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBSplineSurface())) : t instanceof W && arguments.length == 7 ? (super(), this.initTempObject(new s.MdGeBSplineSurface(t.getImp(), e?.getImp(), C?.getImp(), i?.getImp(), D?.getImp(), B, r))) : t instanceof W && arguments.length == 8 ? (super(), this.initTempObject(new s.MdGeBSplineSurface(t.getImp(), e?.getImp(), C?.getImp(), i?.getImp(), D?.getImp(), B, r, n))) : t instanceof W && arguments.length == 9 ? (super(), this.initTempObject(new s.MdGeBSplineSurface(t.getImp(), e?.getImp(), C?.getImp(), i?.getImp(), D?.getImp(), B, r, n, A))) : !(t instanceof W) && arguments.length == 1 && super(t);
|
|
6070
6089
|
}
|
|
6071
6090
|
ExchangeUV() {
|
|
6072
6091
|
this.imp.ExchangeUV();
|
|
@@ -6216,7 +6235,7 @@ class le extends _ {
|
|
|
6216
6235
|
return new m(this.imp.Pole(t, e));
|
|
6217
6236
|
}
|
|
6218
6237
|
Poles() {
|
|
6219
|
-
return new
|
|
6238
|
+
return new W(this.Poles());
|
|
6220
6239
|
}
|
|
6221
6240
|
UDegree() {
|
|
6222
6241
|
return this.imp.UDegree();
|
|
@@ -6284,7 +6303,7 @@ class le extends _ {
|
|
|
6284
6303
|
}
|
|
6285
6304
|
class tC extends _ {
|
|
6286
6305
|
constructor(t, e, C, i) {
|
|
6287
|
-
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeInterpolateBSpl())) : t instanceof
|
|
6306
|
+
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeInterpolateBSpl())) : t instanceof q && typeof e == "boolean" && typeof C == "number" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeInterpolateBSpl(t.getImp(), e, C))) : t instanceof q && e instanceof st && typeof C == "boolean" && typeof i == "number" ? (super(), this.initTempObject(new s.MdGeInterpolateBSpl(t.getImp(), e.getImp(), C, i))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
6288
6307
|
}
|
|
6289
6308
|
Load(t, e, C) {
|
|
6290
6309
|
arguments.length == 2 ? this.imp.Load(t.getImp(), e.getImp()) : this.imp.Load(t.getImp(), e.getImp(), C);
|
|
@@ -6698,7 +6717,7 @@ class DC extends _ {
|
|
|
6698
6717
|
}
|
|
6699
6718
|
class BC extends _ {
|
|
6700
6719
|
constructor(t, e, C, i, D) {
|
|
6701
|
-
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePointsToBSpl())) : t instanceof
|
|
6720
|
+
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePointsToBSpl())) : t instanceof q && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGePointsToBSpl(t.getImp()))) : t instanceof q && typeof e == "number" && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGePointsToBSpl(t.getImp(), e))) : t instanceof q && typeof e == "number" && typeof C == "number" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGePointsToBSpl(t.getImp(), e, C))) : t instanceof q && typeof e == "number" && typeof C == "number" && typeof i == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGePointsToBSpl(t.getImp(), e, C, i))) : t instanceof q && typeof e == "number" && typeof C == "number" && typeof i == "number" && typeof D == "number" ? (super(), this.initTempObject(new s.MdGePointsToBSpl(t.getImp(), e, C, i, D))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
6702
6721
|
}
|
|
6703
6722
|
Init(t, e, C, i, D, B) {
|
|
6704
6723
|
arguments.length == 2 ? this.imp.Init(t.getImp(), e.getImp()) : arguments.length == 3 ? this.imp.Init(t.getImp(), e.getImp(), C) : arguments.length == 4 ? this.imp.Init(t.getImp(), e.getImp(), C, i) : arguments.length == 5 ? this.imp.Init(t.getImp(), e.getImp(), C, i, D) : arguments.length == 6 && this.imp.Init(t.getImp(), e.getImp(), C, i, D, B);
|
|
@@ -6712,13 +6731,13 @@ class BC extends _ {
|
|
|
6712
6731
|
}
|
|
6713
6732
|
class rC extends _ {
|
|
6714
6733
|
constructor(t, e, C, i, D) {
|
|
6715
|
-
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePointsToBSplSurface())) : t instanceof
|
|
6734
|
+
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePointsToBSplSurface())) : t instanceof W && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGePointsToBSplSurface(t.getImp()))) : t instanceof W && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGePointsToBSplSurface(t.getImp(), e))) : t instanceof W && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGePointsToBSplSurface(t.getImp(), e, C))) : t instanceof W && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGePointsToBSplSurface(t.getImp(), e, C, i))) : t instanceof W && arguments.length == 5 && (super(), this.initTempObject(new s.MdGePointsToBSplSurface(t.getImp(), e, C, i, D)));
|
|
6716
6735
|
}
|
|
6717
6736
|
Init(t, e, C, i, D) {
|
|
6718
6737
|
arguments.length == 1 ? this.imp.Init(t.getImp()) : arguments.length == 2 ? this.imp.Init(t.getImp(), e) : arguments.length == 3 ? this.imp.Init(t.getImp(), e, C) : arguments.length == 4 ? this.imp.Init(t.getImp(), e, C, i) : arguments.length == 5 && this.imp.Init(t.getImp(), e, C, i, D);
|
|
6719
6738
|
}
|
|
6720
6739
|
Interpolate(t, e, C, i, D) {
|
|
6721
|
-
t instanceof
|
|
6740
|
+
t instanceof W && arguments.length == 1 ? this.imp.Interpolate(t.getImp()) : t instanceof W && typeof e == "boolean" && arguments.length == 2 ? this.imp.Interpolate(t.getImp(), e) : t instanceof jt && typeof e == "number" && typeof C == "number" && typeof i == "number" && typeof D == "number" && this.imp.Interpolate(t.getImp(), e);
|
|
6722
6741
|
}
|
|
6723
6742
|
IsDone() {
|
|
6724
6743
|
return this.imp.IsDone();
|
|
@@ -6746,10 +6765,10 @@ class sC extends _ {
|
|
|
6746
6765
|
}
|
|
6747
6766
|
class nC extends _ {
|
|
6748
6767
|
constructor(t, e) {
|
|
6749
|
-
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeRadiusDim())) : t instanceof
|
|
6768
|
+
arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeRadiusDim())) : t instanceof K && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGeRadiusDim(t.getImp()))) : t instanceof K && e instanceof m ? (super(), this.initTempObject(new s.MdGeRadiusDim(t.getImp(), e.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
|
|
6750
6769
|
}
|
|
6751
6770
|
Circle() {
|
|
6752
|
-
return new
|
|
6771
|
+
return new K(this.imp.Circle());
|
|
6753
6772
|
}
|
|
6754
6773
|
AnchorPoint() {
|
|
6755
6774
|
return new m(this.imp.AnchorPoint());
|
|
@@ -7509,11 +7528,11 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7509
7528
|
MxCADUiPrAngle: VC,
|
|
7510
7529
|
MxCADUiPrInt: fC,
|
|
7511
7530
|
MxCADUiPrKeyWord: vC,
|
|
7512
|
-
MxCADUiPrString:
|
|
7531
|
+
MxCADUiPrString: kC,
|
|
7513
7532
|
MxCADUiPrEntity: wt,
|
|
7514
7533
|
McRxObject: It,
|
|
7515
|
-
McObjectIdType:
|
|
7516
|
-
McObjectId:
|
|
7534
|
+
McObjectIdType: z,
|
|
7535
|
+
McObjectId: H,
|
|
7517
7536
|
McDbObject: Ft,
|
|
7518
7537
|
McDbObjectArray: ft,
|
|
7519
7538
|
get McDb() {
|
|
@@ -7533,9 +7552,9 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7533
7552
|
McDbCurve: at,
|
|
7534
7553
|
McDbLine: vt,
|
|
7535
7554
|
McDbText: ee,
|
|
7536
|
-
McDbMText:
|
|
7555
|
+
McDbMText: kt,
|
|
7537
7556
|
McDbCircle: ht,
|
|
7538
|
-
McDbPolyline:
|
|
7557
|
+
McDbPolyline: Ht,
|
|
7539
7558
|
McDbBlockReference: Ce,
|
|
7540
7559
|
McDbDimension: Ae,
|
|
7541
7560
|
McDbAlignedDimension: ie,
|
|
@@ -7556,8 +7575,8 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7556
7575
|
drawCircle: fe,
|
|
7557
7576
|
drawLine: ve,
|
|
7558
7577
|
drawMText: xC,
|
|
7559
|
-
drawPolyLine:
|
|
7560
|
-
drawPolygon:
|
|
7578
|
+
drawPolyLine: ke,
|
|
7579
|
+
drawPolygon: He,
|
|
7561
7580
|
drawArc: Ke,
|
|
7562
7581
|
drawEllipticalArc: We,
|
|
7563
7582
|
Mx_Erase: ze,
|
|
@@ -7582,14 +7601,14 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7582
7601
|
MdGeVec: S,
|
|
7583
7602
|
MdGeAngleDim: qe,
|
|
7584
7603
|
MdGeArray1OfInteger: bt,
|
|
7585
|
-
MdGeArray1OfPnt:
|
|
7604
|
+
MdGeArray1OfPnt: q,
|
|
7586
7605
|
MdGeArray1OfReal: st,
|
|
7587
|
-
MdGeArray2OfPnt:
|
|
7606
|
+
MdGeArray2OfPnt: W,
|
|
7588
7607
|
MdGeArray2OfReal: jt,
|
|
7589
7608
|
MdGeBezierCurve: Ze,
|
|
7590
7609
|
MdGeBezierSurface: Xe,
|
|
7591
7610
|
MdGeChamfer: Qe,
|
|
7592
|
-
MdGeCircle:
|
|
7611
|
+
MdGeCircle: K,
|
|
7593
7612
|
MdGeCSYS: j,
|
|
7594
7613
|
MdGeCone: Ct,
|
|
7595
7614
|
MdGeCylinder: it,
|
|
@@ -7656,11 +7675,11 @@ export {
|
|
|
7656
7675
|
jC as McDbLayerTableRecord,
|
|
7657
7676
|
vt as McDbLine,
|
|
7658
7677
|
ye as McDbLinetypeTable,
|
|
7659
|
-
|
|
7678
|
+
kt as McDbMText,
|
|
7660
7679
|
Ft as McDbObject,
|
|
7661
7680
|
ft as McDbObjectArray,
|
|
7662
7681
|
Fe as McDbPoint,
|
|
7663
|
-
|
|
7682
|
+
Ht as McDbPolyline,
|
|
7664
7683
|
Ee as McDbRotatedDimension,
|
|
7665
7684
|
ee as McDbText,
|
|
7666
7685
|
Te as McDbTextStyleTable,
|
|
@@ -7671,15 +7690,15 @@ export {
|
|
|
7671
7690
|
Se as McGeStringArray,
|
|
7672
7691
|
y as McGeVector3d,
|
|
7673
7692
|
yt as McObject,
|
|
7674
|
-
|
|
7675
|
-
|
|
7693
|
+
H as McObjectId,
|
|
7694
|
+
z as McObjectIdType,
|
|
7676
7695
|
It as McRxObject,
|
|
7677
7696
|
De as MdGe,
|
|
7678
7697
|
qe as MdGeAngleDim,
|
|
7679
7698
|
bt as MdGeArray1OfInteger,
|
|
7680
|
-
|
|
7699
|
+
q as MdGeArray1OfPnt,
|
|
7681
7700
|
st as MdGeArray1OfReal,
|
|
7682
|
-
|
|
7701
|
+
W as MdGeArray2OfPnt,
|
|
7683
7702
|
jt as MdGeArray2OfReal,
|
|
7684
7703
|
w as MdGeAxis,
|
|
7685
7704
|
re as MdGeBRep,
|
|
@@ -7691,7 +7710,7 @@ export {
|
|
|
7691
7710
|
j as MdGeCSYS,
|
|
7692
7711
|
P as MdGeCSYSR,
|
|
7693
7712
|
Qe as MdGeChamfer,
|
|
7694
|
-
|
|
7713
|
+
K as MdGeCircle,
|
|
7695
7714
|
gt as MdGeColor,
|
|
7696
7715
|
pe as MdGeCompSolid,
|
|
7697
7716
|
me as MdGeCompound,
|
|
@@ -7753,7 +7772,7 @@ export {
|
|
|
7753
7772
|
fC as MxCADUiPrInt,
|
|
7754
7773
|
vC as MxCADUiPrKeyWord,
|
|
7755
7774
|
tt as MxCADUiPrPoint,
|
|
7756
|
-
|
|
7775
|
+
kC as MxCADUiPrString,
|
|
7757
7776
|
Q as MxCADUtility,
|
|
7758
7777
|
be as MxCADUtilityClass,
|
|
7759
7778
|
F as MxCpp,
|
|
@@ -7772,8 +7791,8 @@ export {
|
|
|
7772
7791
|
We as drawEllipticalArc,
|
|
7773
7792
|
ve as drawLine,
|
|
7774
7793
|
xC as drawMText,
|
|
7775
|
-
|
|
7776
|
-
|
|
7794
|
+
ke as drawPolyLine,
|
|
7795
|
+
He as drawPolygon,
|
|
7777
7796
|
JC as drawText,
|
|
7778
7797
|
_t as getFilterImp,
|
|
7779
7798
|
Ve as loadMxCADassembly,
|