mxcad 1.0.96 → 1.0.97

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,5 +1,5 @@
1
- import { MxFun as R, MrxDbgUiPrPoint as tt, MxCursorType as oe, DynamicInputType as K, MrxDbgUtils as ie, DetailedResult as yt, MrxDbgUiPrDist as LC, MrxDbgUiPrAngle as bC, MrxDbgUiPrInt as PC, MrxDbgUiPrKeyWord as GC, MrxDbgUiPrString as NC, store as UC, loadCoreCode as YC, MxPaintBrush as ht, MrxDbgUiPrBaseReturn as Q, MxDbCircleShape as Re, MxDbPolyline as jC, MxDbCircleArc as ft, MxDbLine as kC, Mx3PointArc as fC, MxDbEllipseShape as VC, McEdGetPointWorldDrawObject as vC, MxDbEllipse as HC } from "mxdraw";
2
- function Se(i) {
1
+ import { MxFun as S, MrxDbgUiPrPoint as tt, MxCursorType as ue, DynamicInputType as K, MrxDbgUtils as Ee, DetailedResult as yt, MrxDbgUiPrDist as LC, MrxDbgUiPrAngle as bC, MrxDbgUiPrInt as PC, MrxDbgUiPrKeyWord as GC, MrxDbgUiPrString as NC, store as UC, loadCoreCode as YC, MxPaintBrush as ht, MrxDbgUiPrBaseReturn as Q, MxDbCircleShape as Se, MxDbPolyline as jC, MxDbCircleArc as ft, MxDbLine as kC, Mx3PointArc as fC, MxDbEllipseShape as VC, McEdGetPointWorldDrawObject as vC, MxDbEllipse as HC } from "mxdraw";
2
+ function Re(i) {
3
3
  return btoa(unescape(encodeURIComponent(i)));
4
4
  }
5
5
  function we(i) {
@@ -56,7 +56,7 @@ function Oe(i, t) {
56
56
  });
57
57
  }
58
58
  const Gt = {
59
- b64Encode: Se,
59
+ b64Encode: Re,
60
60
  b64Decode: we,
61
61
  saveAsFileDialog: ye,
62
62
  downloadFile: Te,
@@ -111,7 +111,7 @@ class KC {
111
111
  return e;
112
112
  }
113
113
  }
114
- let f = new KC();
114
+ let y = new KC();
115
115
  class p {
116
116
  static kOrigin;
117
117
  imp;
@@ -137,7 +137,7 @@ class p {
137
137
  return this.imp.subvec(t.imp), this;
138
138
  }
139
139
  sub(t) {
140
- return new y(this.imp.sub(t.imp));
140
+ return new T(this.imp.sub(t.imp));
141
141
  }
142
142
  distanceTo(t) {
143
143
  return this.imp.distanceTo(t.imp);
@@ -167,7 +167,7 @@ class p {
167
167
  this.imp.z = t;
168
168
  }
169
169
  }
170
- class y {
170
+ class T {
171
171
  static kXAxis;
172
172
  static kYAxis;
173
173
  static kZAxis;
@@ -180,10 +180,10 @@ class y {
180
180
  return this.imp.x = t.imp.x, this.imp.y = t.imp.y, this.imp.z = t.imp.z, this;
181
181
  }
182
182
  clone() {
183
- return new y(this.imp);
183
+ return new T(this.imp);
184
184
  }
185
185
  rotateBy(t, e) {
186
- return e || (e = y.kZAxis), this.imp.rotateBy(t, e.imp), this;
186
+ return e || (e = T.kZAxis), this.imp.rotateBy(t, e.imp), this;
187
187
  }
188
188
  negate() {
189
189
  return this.imp.negate(), this;
@@ -195,7 +195,7 @@ class y {
195
195
  return this.imp.angleTo(t.imp);
196
196
  }
197
197
  angleTo2(t, e) {
198
- return e || (e = y.kNegateZAxis), this.imp.angleTo(t.imp, e.imp);
198
+ return e || (e = T.kNegateZAxis), this.imp.angleTo(t.imp, e.imp);
199
199
  }
200
200
  normalize() {
201
201
  return this.imp.normalize(), this;
@@ -213,7 +213,7 @@ class y {
213
213
  return this.imp.dotProduct(t.imp);
214
214
  }
215
215
  crossProduct(t) {
216
- let e = new y();
216
+ let e = new T();
217
217
  return e.imp = this.imp.crossProduct(t.imp), e;
218
218
  }
219
219
  isEqualTo(t) {
@@ -331,7 +331,7 @@ class bt {
331
331
  this.imp.clear();
332
332
  }
333
333
  }
334
- class ue {
334
+ class qt {
335
335
  imp;
336
336
  constructor(t) {
337
337
  this.imp = new F.mxcadassemblyimp.MdGeStringArray(), t instanceof Object && this.imp.copy(t);
@@ -346,15 +346,15 @@ class ue {
346
346
  return this.imp.length();
347
347
  }
348
348
  at(t, e = !0) {
349
- return e ? f.decodeFromGb2312(this.imp.at(t)) : this.imp.at(t);
349
+ return e ? y.decodeFromGb2312(this.imp.at(t)) : this.imp.at(t);
350
350
  }
351
351
  setAt(t, e, C = !0) {
352
- C ? this.imp.setAt(t, f.encodeToGb2312(e)) : this.imp.setAt(t, e);
352
+ C ? this.imp.setAt(t, y.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 E = 0; E < C; E++)
357
- t(e ? f.decodeFromGb2312(this.imp.at(E)) : this.imp.at(E), E);
357
+ t(e ? y.decodeFromGb2312(this.imp.at(E)) : this.imp.at(E), E);
358
358
  }
359
359
  clear() {
360
360
  this.imp.clear();
@@ -430,10 +430,10 @@ class wt {
430
430
  }
431
431
  getJson() {
432
432
  let t = this.imp.getJson();
433
- return f.decodeFromGb2312(t);
433
+ return y.decodeFromGb2312(t);
434
434
  }
435
435
  setJson(t) {
436
- let e = f.encodeToGb2312(t);
436
+ let e = y.encodeToGb2312(t);
437
437
  return this.imp.setJson(e);
438
438
  }
439
439
  isKindOf(t) {
@@ -451,7 +451,7 @@ class H {
451
451
  return this.type != 2 && this.id != 0;
452
452
  }
453
453
  erase() {
454
- this.type == 1 ? R.getCurrentDraw().eraseMxEntity(this.id) : this.type == 0 && J.eraseEntity(this.id);
454
+ this.type == 1 ? S.getCurrentDraw().eraseMxEntity(this.id) : this.type == 0 && $.eraseEntity(this.id);
455
455
  }
456
456
  getMcDbObject() {
457
457
  return this.type == 0 ? F.App.ObjectIdToObject(this.id) : null;
@@ -479,14 +479,14 @@ class H {
479
479
  if (this.type == 0)
480
480
  return F.App.getImp().ObjectIdToObjectName(this.id);
481
481
  if (this.type == 1) {
482
- let t = R.getCurrentDraw().getMxEntity(this.id);
482
+ let t = S.getCurrentDraw().getMxEntity(this.id);
483
483
  if (t)
484
484
  return t.getTypeName();
485
485
  }
486
486
  return "";
487
487
  }
488
488
  getMxDbEntity() {
489
- return this.type == 1 ? R.getCurrentDraw().getMxEntity(this.id) : null;
489
+ return this.type == 1 ? S.getCurrentDraw().getMxEntity(this.id) : null;
490
490
  }
491
491
  }
492
492
  class ot extends wt {
@@ -537,7 +537,7 @@ class vt {
537
537
  return this.aryVal.length == 0;
538
538
  }
539
539
  }
540
- var Ee;
540
+ var De;
541
541
  ((i) => {
542
542
  ((t) => {
543
543
  t[t.kTextLeft = 0] = "kTextLeft", t[t.kTextCenter = 1] = "kTextCenter", t[t.kTextRight = 2] = "kTextRight", t[t.kTextAlign = 3] = "kTextAlign", t[t.kTextMid = 4] = "kTextMid", t[t.kTextFit = 5] = "kTextFit";
@@ -548,7 +548,7 @@ var Ee;
548
548
  })(i.AttachmentPoint || (i.AttachmentPoint = {})), ((t) => {
549
549
  t[t.kLnWt000 = 0] = "kLnWt000", t[t.kLnWt005 = 5] = "kLnWt005", t[t.kLnWt009 = 9] = "kLnWt009", t[t.kLnWt013 = 13] = "kLnWt013", t[t.kLnWt015 = 15] = "kLnWt015", t[t.kLnWt018 = 18] = "kLnWt018", t[t.kLnWt020 = 20] = "kLnWt020", t[t.kLnWt025 = 25] = "kLnWt025", t[t.kLnWt030 = 30] = "kLnWt030", t[t.kLnWt035 = 35] = "kLnWt035", t[t.kLnWt040 = 40] = "kLnWt040", t[t.kLnWt050 = 50] = "kLnWt050", t[t.kLnWt053 = 53] = "kLnWt053", t[t.kLnWt060 = 60] = "kLnWt060", t[t.kLnWt070 = 70] = "kLnWt070", t[t.kLnWt080 = 80] = "kLnWt080", t[t.kLnWt090 = 90] = "kLnWt090", t[t.kLnWt100 = 100] = "kLnWt100", t[t.kLnWt106 = 106] = "kLnWt106", t[t.kLnWt120 = 120] = "kLnWt120", t[t.kLnWt140 = 140] = "kLnWt140", t[t.kLnWt158 = 158] = "kLnWt158", t[t.kLnWt200 = 200] = "kLnWt200", t[t.kLnWt211 = 211] = "kLnWt211", t[t.kLnWtByLayer = -1] = "kLnWtByLayer", t[t.kLnWtByBlock = -2] = "kLnWtByBlock", t[t.kLnWtByLwDefault = -3] = "kLnWtByLwDefault";
550
550
  })(i.LineWeight || (i.LineWeight = {}));
551
- })(Ee || (Ee = {}));
551
+ })(De || (De = {}));
552
552
  class gt {
553
553
  imp;
554
554
  constructor(t, e, C) {
@@ -685,7 +685,7 @@ class pe extends wt {
685
685
  return new Ue(this.imp.GetBlockTable());
686
686
  }
687
687
  CurrentSpace() {
688
- return new qt(this.imp.CurrentSpace());
688
+ return new Zt(this.imp.CurrentSpace());
689
689
  }
690
690
  GetCurrentlyLineTypeScale() {
691
691
  return this.imp.GetCurrentlyLineTypeScale();
@@ -695,18 +695,18 @@ class pe extends wt {
695
695
  }
696
696
  GetCurrentlyLineTypeName() {
697
697
  let t = this.imp.GetCurrentlyLineTypeName();
698
- return f.decodeFromGb2312(t);
698
+ return y.decodeFromGb2312(t);
699
699
  }
700
700
  SetCurrentlyLineTypeName(t) {
701
- let e = f.encodeToGb2312(t);
701
+ let e = y.encodeToGb2312(t);
702
702
  this.imp.SetCurrentlyLineTypeName(e);
703
703
  }
704
704
  GetCurrentlyLayerName() {
705
705
  let t = this.imp.GetCurrentlyLayerName();
706
- return f.decodeFromGb2312(t);
706
+ return y.decodeFromGb2312(t);
707
707
  }
708
708
  SetCurrentlyLayerName(t) {
709
- let e = f.encodeToGb2312(t);
709
+ let e = y.encodeToGb2312(t);
710
710
  this.imp.SetCurrentlyLayerName(e);
711
711
  }
712
712
  GetCurrentlyTrueColor() {
@@ -727,10 +727,10 @@ class pe extends wt {
727
727
  }
728
728
  GetCurrentlyTextStyleName() {
729
729
  let t = this.imp.GetCurrentlyTextStyleName();
730
- return f.decodeFromGb2312(t);
730
+ return y.decodeFromGb2312(t);
731
731
  }
732
732
  SetCurrentlyTextStyle(t) {
733
- let e = f.encodeToGb2312(t);
733
+ let e = y.encodeToGb2312(t);
734
734
  this.imp.SetCurrentlyTextStyle(e);
735
735
  }
736
736
  HandleToIdIndex(t) {
@@ -761,7 +761,7 @@ class Ge extends wt {
761
761
  return this.imp.step(t, e);
762
762
  }
763
763
  }
764
- class qt extends ot {
764
+ class Zt extends ot {
765
765
  constructor(t) {
766
766
  super(t), t || this.initTempObject(new F.mxcadassemblyimp.MdDbBlockTableRecord());
767
767
  }
@@ -805,7 +805,7 @@ class Ne extends wt {
805
805
  }
806
806
  getRecord() {
807
807
  let t = this.imp.getRecord();
808
- return new qt(t);
808
+ return new Zt(t);
809
809
  }
810
810
  step(t = !0, e = !0) {
811
811
  this.imp.start(t, e);
@@ -817,7 +817,7 @@ class Ue extends ot {
817
817
  }
818
818
  getAt(t) {
819
819
  let e = this.getAt(t);
820
- return e && new qt(e);
820
+ return e && new Zt(e);
821
821
  }
822
822
  has(t) {
823
823
  return this.imp.has(t);
@@ -836,7 +836,7 @@ class lt extends ot {
836
836
  }
837
837
  explode() {
838
838
  let t = this.imp.explode();
839
- return new x(t);
839
+ return new J(t);
840
840
  }
841
841
  get trueColor() {
842
842
  return new gt(this.imp.TrueColor());
@@ -910,6 +910,44 @@ class lt extends ot {
910
910
  } else
911
911
  return { minPt: new p(), maxPt: new p(), ret: !1 };
912
912
  }
913
+ GetxData(t = "") {
914
+ return new J(this.imp.GetXData(y.encodeToGb2312(t)));
915
+ }
916
+ SetxData(t) {
917
+ return this.imp.SetXData(t.getImp());
918
+ }
919
+ GetxDataString(t) {
920
+ let e = this.imp.GetxDataString(y.encodeToGb2312(t), 0);
921
+ return { val: y.decodeFromGb2312(e), ret: !0 };
922
+ }
923
+ SetxDataString(t, e) {
924
+ return this.imp.SetxDataString(y.encodeToGb2312(t), 0, y.encodeToGb2312(e));
925
+ }
926
+ GetxDataDouble(t) {
927
+ return { val: this.imp.GetxDataDouble(y.encodeToGb2312(t), 0), ret: !0 };
928
+ }
929
+ SetxDataDouble(t, e) {
930
+ return this.imp.SetxDataDouble(y.encodeToGb2312(t), 0, e);
931
+ }
932
+ GetxDataLong(t) {
933
+ return { val: this.imp.GetxDataLong(y.encodeToGb2312(t), 0), ret: !0 };
934
+ }
935
+ SetxDataLong(t, e) {
936
+ return this.imp.SetxDataLong(y.encodeToGb2312(t), 0, e);
937
+ }
938
+ GetxDataPoint(t) {
939
+ let e = this.imp.GetxDataPoint(y.encodeToGb2312(t), 0), C = new p(), E = !1;
940
+ return e && (C.x = e.x, C.y = e.y, C.z = e.z, F.App.getImp().DestroyMdGePoint3d(e), E = !0), { val: C, ret: E };
941
+ }
942
+ SetxDataPoint(t, e) {
943
+ return this.imp.SetxDataPoint(y.encodeToGb2312(t), 0, e.imp);
944
+ }
945
+ DeleteXData(t) {
946
+ return this.imp.DeleteXData(y.encodeToGb2312(t));
947
+ }
948
+ GetAllAppName() {
949
+ return new qt(this.imp.GetAllAppName());
950
+ }
913
951
  }
914
952
  class ct extends lt {
915
953
  constructor(t) {
@@ -962,13 +1000,13 @@ class ct extends lt {
962
1000
  }
963
1001
  getFirstDerivFromParam(t) {
964
1002
  return {
965
- val: new y(this.imp.getFirstDeriv(t)),
1003
+ val: new T(this.imp.getFirstDeriv(t)),
966
1004
  ret: F.getCallResult()
967
1005
  };
968
1006
  }
969
1007
  getFirstDeriv(t) {
970
1008
  return {
971
- val: new y(this.imp.getFirstDerivEx(t.imp)),
1009
+ val: new T(this.imp.getFirstDerivEx(t.imp)),
972
1010
  ret: F.getCallResult()
973
1011
  };
974
1012
  }
@@ -983,7 +1021,7 @@ class ct extends lt {
983
1021
  return new vt(C);
984
1022
  }
985
1023
  splitCurves(t) {
986
- let e = new x();
1024
+ let e = new J();
987
1025
  t.forEach((E) => {
988
1026
  e.AddPoint(E);
989
1027
  });
@@ -991,7 +1029,7 @@ class ct extends lt {
991
1029
  return new vt(C);
992
1030
  }
993
1031
  splitCurvesFromParam(t) {
994
- let e = new x();
1032
+ let e = new J();
995
1033
  t.forEach((E) => {
996
1034
  e.AddDouble(E);
997
1035
  });
@@ -1003,7 +1041,7 @@ class ct extends lt {
1003
1041
  }
1004
1042
  getSamplePoints(t) {
1005
1043
  let e = this.imp.getSamplePoints(t);
1006
- return new x(e);
1044
+ return new J(e);
1007
1045
  }
1008
1046
  getLength() {
1009
1047
  return { val: this.imp.getLength(), ret: F.getCallResult() };
@@ -1026,7 +1064,7 @@ class Ht extends ct {
1026
1064
  this.imp.setEndPoint(t.imp);
1027
1065
  }
1028
1066
  }
1029
- class De extends lt {
1067
+ class Be extends lt {
1030
1068
  constructor(t) {
1031
1069
  super(t), t || this.initTempObject(new F.mxcadassemblyimp.MdDbText());
1032
1070
  }
@@ -1067,10 +1105,10 @@ class De extends lt {
1067
1105
  this.imp.setWidthFactor(t);
1068
1106
  }
1069
1107
  get textString() {
1070
- return f.decodeFromGb2312(this.imp.textString());
1108
+ return y.decodeFromGb2312(this.imp.textString());
1071
1109
  }
1072
1110
  set textString(t) {
1073
- this.imp.setTextString(f.encodeToGb2312(t));
1111
+ this.imp.setTextString(y.encodeToGb2312(t));
1074
1112
  }
1075
1113
  get horizontalMode() {
1076
1114
  return this.imp.horizontalMode();
@@ -1120,10 +1158,10 @@ class Kt extends lt {
1120
1158
  this.imp.setAttachment(t);
1121
1159
  }
1122
1160
  get contents() {
1123
- return f.decodeFromGb2312(this.imp.contents());
1161
+ return y.decodeFromGb2312(this.imp.contents());
1124
1162
  }
1125
1163
  set contents(t) {
1126
- this.imp.setContents(f.encodeToGb2312(t));
1164
+ this.imp.setContents(y.encodeToGb2312(t));
1127
1165
  }
1128
1166
  }
1129
1167
  class at extends ct {
@@ -1195,7 +1233,7 @@ class Wt extends ct {
1195
1233
  return this.imp.setBulgeAt(t, e);
1196
1234
  }
1197
1235
  }
1198
- class Be extends lt {
1236
+ class re extends lt {
1199
1237
  constructor(t) {
1200
1238
  super(t), t || this.initTempObject(new F.mxcadassemblyimp.MdDbBlockReference());
1201
1239
  }
@@ -1236,10 +1274,10 @@ class Be extends lt {
1236
1274
  this.imp.setBlockTransform(t.imp);
1237
1275
  }
1238
1276
  get blockName() {
1239
- return f.decodeFromGb2312(this.imp.getBlockName());
1277
+ return y.decodeFromGb2312(this.imp.getBlockName());
1240
1278
  }
1241
1279
  }
1242
- class Zt extends lt {
1280
+ class Qt extends lt {
1243
1281
  constructor(t) {
1244
1282
  super(t);
1245
1283
  }
@@ -1265,10 +1303,10 @@ class Zt extends lt {
1265
1303
  this.imp.setElevation(t);
1266
1304
  }
1267
1305
  get dimensionText() {
1268
- return f.decodeFromGb2312(this.imp.dimensionText());
1306
+ return y.decodeFromGb2312(this.imp.dimensionText());
1269
1307
  }
1270
1308
  set dimensionText(t) {
1271
- this.imp.setDimensionText(f.encodeToGb2312(t));
1309
+ this.imp.setDimensionText(y.encodeToGb2312(t));
1272
1310
  }
1273
1311
  get textRotation() {
1274
1312
  return this.imp.textRotation();
@@ -1325,10 +1363,10 @@ class Zt extends lt {
1325
1363
  this.imp.SetDimVarObjectId(t, e.id);
1326
1364
  }
1327
1365
  GetAllText() {
1328
- return new ue(this.imp.GetAllText());
1366
+ return new qt(this.imp.GetAllText());
1329
1367
  }
1330
1368
  }
1331
- class re extends Zt {
1369
+ class se extends Qt {
1332
1370
  constructor(t) {
1333
1371
  super(t), t || this.initTempObject(new F.mxcadassemblyimp.MdDbAlignedDimension());
1334
1372
  }
@@ -1357,7 +1395,7 @@ class re extends Zt {
1357
1395
  this.imp.setOblique(t);
1358
1396
  }
1359
1397
  }
1360
- class se extends Zt {
1398
+ class ne extends Qt {
1361
1399
  constructor(t) {
1362
1400
  super(t), t || this.initTempObject(new F.mxcadassemblyimp.MdDbRotatedDimension());
1363
1401
  }
@@ -1434,9 +1472,9 @@ class zt extends ct {
1434
1472
  );
1435
1473
  }
1436
1474
  }
1437
- class Qt extends ct {
1475
+ class Jt extends ct {
1438
1476
  constructor(t, e, C, E, D, B, r, n, A) {
1439
- t instanceof Object ? super(t) : (super(), this.initTempObject(new F.mxcadassemblyimp.MdDbEllipse()), typeof t == "number" && (r || (r = 1), typeof n != "number" && (n = 0), typeof A != "number" && (A = 6.283185307179586), this.imp.InitData(new p(t, e, C).imp, new y(E, D, B).imp, r, n, A)));
1477
+ t instanceof Object ? super(t) : (super(), this.initTempObject(new F.mxcadassemblyimp.MdDbEllipse()), typeof t == "number" && (r || (r = 1), typeof n != "number" && (n = 0), typeof A != "number" && (A = 6.283185307179586), this.imp.InitData(new p(t, e, C).imp, new T(E, D, B).imp, r, n, A)));
1440
1478
  }
1441
1479
  setCenter(t, e, C) {
1442
1480
  this.imp.setCenter(new p(t, e, C).imp);
@@ -1448,19 +1486,19 @@ class Qt extends ct {
1448
1486
  this.imp.setCenter(t.imp);
1449
1487
  }
1450
1488
  setMajorAxis(t, e, C) {
1451
- this.imp.setMajorAxis(new y(t, e, C).imp);
1489
+ this.imp.setMajorAxis(new T(t, e, C).imp);
1452
1490
  }
1453
1491
  get majorAxis() {
1454
- return new y(this.imp.majorAxis());
1492
+ return new T(this.imp.majorAxis());
1455
1493
  }
1456
1494
  set majorAxis(t) {
1457
1495
  this.imp.setMajorAxis(t.imp);
1458
1496
  }
1459
1497
  setMinorAxis(t, e, C) {
1460
- this.imp.setMinorAxis(new y(t, e, C).imp);
1498
+ this.imp.setMinorAxis(new T(t, e, C).imp);
1461
1499
  }
1462
1500
  get minorAxis() {
1463
- return new y(this.imp.minorAxis());
1501
+ return new T(this.imp.minorAxis());
1464
1502
  }
1465
1503
  set minorAxis(t) {
1466
1504
  this.imp.setMinorAxis(t.imp);
@@ -1498,11 +1536,11 @@ class le extends lt {
1498
1536
  this.imp.setPosition(t.imp);
1499
1537
  }
1500
1538
  }
1501
- function Rt(i = null) {
1539
+ function St(i = null) {
1502
1540
  let t;
1503
1541
  return i ? t = i.getImp() : t = new F.mxcadassemblyimp.McDrawResbuf(), t;
1504
1542
  }
1505
- class x extends wt {
1543
+ class J extends wt {
1506
1544
  constructor(t) {
1507
1545
  super(t), t || this.initTempObject(new F.mxcadassemblyimp.McDrawResbuf());
1508
1546
  }
@@ -1533,7 +1571,7 @@ class x extends wt {
1533
1571
  return { val: new H(this.imp.AtObjectId(t), X.kMxCAD), ret: F.getCallResult() };
1534
1572
  }
1535
1573
  AtString(t, e = !0) {
1536
- return e ? { val: f.decodeFromGb2312(this.imp.AtString(t)), ret: F.getCallResult() } : { val: this.imp.AtString(t), ret: F.getCallResult() };
1574
+ return e ? { val: y.decodeFromGb2312(this.imp.AtString(t)), ret: F.getCallResult() } : { val: this.imp.AtString(t), ret: F.getCallResult() };
1537
1575
  }
1538
1576
  AtPoint(t) {
1539
1577
  return { val: new p(this.imp.AtPoint(t)), ret: F.getCallResult() };
@@ -1551,7 +1589,7 @@ class x extends wt {
1551
1589
  return this.imp.AddObjectId(t, e);
1552
1590
  }
1553
1591
  AddString(t, e = -10, C = !0) {
1554
- return C ? this.imp.AddString(f.encodeToGb2312(t), e) : this.imp.AddString(t, e);
1592
+ return C ? this.imp.AddString(y.encodeToGb2312(t), e) : this.imp.AddString(t, e);
1555
1593
  }
1556
1594
  AddMcDbEntityTypes(t) {
1557
1595
  return this.imp.AddString(t, 5020);
@@ -1565,6 +1603,9 @@ class x extends wt {
1565
1603
  Remove(t) {
1566
1604
  this.imp.Remove(t);
1567
1605
  }
1606
+ PrintData() {
1607
+ this.imp.PrintData();
1608
+ }
1568
1609
  }
1569
1610
  class Ye {
1570
1611
  imp;
@@ -1578,20 +1619,20 @@ class Ye {
1578
1619
  }
1579
1620
  findEntAtPoint(t, e, C, E = -1, D = null) {
1580
1621
  this.init();
1581
- let B = this.imp.findEntAtPoint(t, e, C, E, Rt(D));
1622
+ let B = this.imp.findEntAtPoint(t, e, C, E, St(D));
1582
1623
  return new H(B, X.kMxCAD);
1583
1624
  }
1584
1625
  selectEnt(t, e = null, C = !0) {
1585
1626
  return this.init(), new Promise(async (E) => {
1586
1627
  const D = new tt();
1587
- t && D.setMessage(t), D.setCursorType(oe.kRect), D.disableAllTrace(), D.setDynamicInputType(K.kDynTip);
1628
+ t && D.setMessage(t), D.setCursorType(ue.kRect), D.disableAllTrace(), D.setDynamicInputType(K.kDynTip);
1588
1629
  let B = await D.go();
1589
1630
  if (!B) {
1590
1631
  E([]);
1591
1632
  return;
1592
1633
  }
1593
1634
  if (D.clearLastInputPoint(), C)
1594
- ie.findEntAtPoint(B).then((r) => {
1635
+ Ee.findEntAtPoint(B).then((r) => {
1595
1636
  let n = [];
1596
1637
  r.forEach((o) => {
1597
1638
  n.push(new H(o, X.kMxDraw));
@@ -1607,10 +1648,10 @@ class Ye {
1607
1648
  }
1608
1649
  getCurrentSelect(t = null) {
1609
1650
  let e = [];
1610
- R.getCurrentDraw().getMxCurrentSelect().forEach((D) => {
1651
+ S.getCurrentDraw().getMxCurrentSelect().forEach((D) => {
1611
1652
  e.push(new H(D, X.kMxDraw));
1612
1653
  });
1613
- let E = R.getCurrentDraw().getMxCADCurrentSelect();
1654
+ let E = S.getCurrentDraw().getMxCADCurrentSelect();
1614
1655
  if (E.length <= 0)
1615
1656
  return e;
1616
1657
  if (t) {
@@ -1618,7 +1659,7 @@ class Ye {
1618
1659
  E.forEach((A) => {
1619
1660
  D.append(A);
1620
1661
  });
1621
- let B = new F.mxcadassemblyimp.McDrawSelSet(), r = B.getFilterEntity(D.imp, Rt(t));
1662
+ let B = new F.mxcadassemblyimp.McDrawSelSet(), r = B.getFilterEntity(D.imp, St(t));
1622
1663
  F.App.DestroyObject(B), E = [];
1623
1664
  let n = r.length();
1624
1665
  for (let A = 0; A < n; A++)
@@ -1652,7 +1693,7 @@ class Ye {
1652
1693
  }
1653
1694
  if (!e)
1654
1695
  break;
1655
- let n = await ie.getCorner(e.toVector3(), t, E, (A) => {
1696
+ let n = await Ee.getCorner(e.toVector3(), t, E, (A) => {
1656
1697
  B = A.detailedResult;
1657
1698
  }, D);
1658
1699
  n && (r = new p(n));
@@ -1674,7 +1715,7 @@ class Ye {
1674
1715
  return { minPt: new p(e), maxPt: new p(C) };
1675
1716
  }
1676
1717
  }
1677
- let J = new Ye();
1718
+ let $ = new Ye();
1678
1719
  var je = /* @__PURE__ */ ((i) => (i[i.kSelected = 0] = "kSelected", i[i.kNone = 1] = "kNone", i[i.kCanceled = 2] = "kCanceled", i[i.kRejected = 3] = "kRejected", i[i.kKeyword = 4] = "kKeyword", i))(je || {});
1679
1720
  class mt extends wt {
1680
1721
  isWhileSelect = !0;
@@ -1688,13 +1729,13 @@ class mt extends wt {
1688
1729
  return { pt1: this.selectPt1, pt2: this.selectPt2 };
1689
1730
  }
1690
1731
  allSelect(t = null) {
1691
- return this.imp.allSelect(Rt(t));
1732
+ return this.imp.allSelect(St(t));
1692
1733
  }
1693
1734
  pointSelect(t, e, C = null, E = -1) {
1694
- return this.imp.pointSelect(t, e, Rt(C), E);
1735
+ return this.imp.pointSelect(t, e, St(C), E);
1695
1736
  }
1696
1737
  crossingSelect(t, e, C, E, D = null) {
1697
- return this.imp.crossingSelect(t, e, C, E, Rt(D));
1738
+ return this.imp.crossingSelect(t, e, C, E, St(D));
1698
1739
  }
1699
1740
  count() {
1700
1741
  return this.imp.count();
@@ -1716,8 +1757,8 @@ class mt extends wt {
1716
1757
  async userSelect(t, e = null) {
1717
1758
  this.selectPt1 = new p(), this.selectPt2 = new p();
1718
1759
  let C = new tt();
1719
- t && C.setMessage(t), C.setCursorType(oe.kRect), C.setDynamicInputType(K.kDynTip), C.disableAllTrace();
1720
- let E = 0, D = Rt(e);
1760
+ t && C.setMessage(t), C.setCursorType(ue.kRect), C.setDynamicInputType(K.kDynTip), C.disableAllTrace();
1761
+ let E = 0, D = St(e);
1721
1762
  for (; ; ) {
1722
1763
  C.setDynamicInputType(K.kDynTip);
1723
1764
  let B = await C.go();
@@ -1728,7 +1769,7 @@ class mt extends wt {
1728
1769
  continue;
1729
1770
  break;
1730
1771
  }
1731
- let r = await ie.getCorner(B, t, !0, (n) => {
1772
+ let r = await Ee.getCorner(B, t, !0, (n) => {
1732
1773
  E = n.detailedResult;
1733
1774
  });
1734
1775
  if (!r || (this.imp.userSelect(B.x, B.y, r.x, r.y, D, this.isSelectHighlight), this.selectPt1.setFromVector3(B), this.selectPt2.setFromVector3(r), !this.isWhileSelect))
@@ -1872,7 +1913,7 @@ class et extends _t {
1872
1913
  this.imp.setUseBasePt(t);
1873
1914
  }
1874
1915
  }
1875
- class Jt extends _t {
1916
+ class $t extends _t {
1876
1917
  constructor() {
1877
1918
  super(new LC());
1878
1919
  }
@@ -1946,7 +1987,7 @@ class Tt extends _t {
1946
1987
  filter;
1947
1988
  id = new H();
1948
1989
  constructor() {
1949
- super(new tt()), this.setCursorType(oe.kRect), this.setDynamicInputType(K.kDynTip), this.disableAllTrace();
1990
+ super(new tt()), this.setCursorType(ue.kRect), this.setDynamicInputType(K.kDynTip), this.disableAllTrace();
1950
1991
  }
1951
1992
  setFilter(t) {
1952
1993
  this.filter = t;
@@ -1962,7 +2003,7 @@ class Tt extends _t {
1962
2003
  t(new H());
1963
2004
  else {
1964
2005
  let E = this.imp.value();
1965
- e.id = J.findEntAtPoint(E.x, E.y, E.z, -1, e.filter), t(e.id);
2006
+ e.id = $.findEntAtPoint(E.x, E.y, E.z, -1, e.filter), t(e.id);
1966
2007
  }
1967
2008
  });
1968
2009
  });
@@ -2067,7 +2108,10 @@ class Ot {
2067
2108
  return new p(this.imp.GetSysVarPoint(t));
2068
2109
  }
2069
2110
  SetSysVarPoint(t, e) {
2070
- return this.imp.SetSysVarPoint(t, e.imp);
2111
+ return this.imp.SetSysVarPoint(t, e.imp, !1);
2112
+ }
2113
+ SetSysVarPoint2d(t, e) {
2114
+ return this.imp.SetSysVarPoint(t, e.imp, !0);
2071
2115
  }
2072
2116
  SetSysVarDouble(t, e) {
2073
2117
  return this.imp.SetSysVarDouble(t, e);
@@ -2232,10 +2276,10 @@ class Ot {
2232
2276
  !t || F.App.getImp().DestroyObject(t);
2233
2277
  }
2234
2278
  GetAllLayoutName() {
2235
- return new ue(this.imp.GetAllLayoutName());
2279
+ return new qt(this.imp.GetAllLayoutName());
2236
2280
  }
2237
2281
  SetCurrentLayout(t) {
2238
- this.imp.SetCurrentLayout(f.encodeToGb2312(t));
2282
+ this.imp.SetCurrentLayout(y.encodeToGb2312(t));
2239
2283
  }
2240
2284
  GetMxCpp() {
2241
2285
  return F;
@@ -2255,7 +2299,7 @@ class fe {
2255
2299
  MxCADAssist;
2256
2300
  objectIdToObjectCalls = {};
2257
2301
  init(t) {
2258
- this.imp = t, y.kZAxis = new y(0, 0, 1), y.kNegateZAxis = new y(0, 0, -1), y.kXAxis = new y(1, 0, 0), y.kYAxis = new y(0, 1, 0), p.kOrigin = new p(0, 0, 0), At.kIdentity = new At(), this.MxCADAssist = new F.mxcadassemblyimp.MxDrawAssist(), this.initObjectIdToObjectCalls();
2302
+ this.imp = t, T.kZAxis = new T(0, 0, 1), T.kNegateZAxis = new T(0, 0, -1), T.kXAxis = new T(1, 0, 0), T.kYAxis = new T(0, 1, 0), p.kOrigin = new p(0, 0, 0), At.kIdentity = new At(), this.MxCADAssist = new F.mxcadassemblyimp.MxDrawAssist(), this.initObjectIdToObjectCalls();
2259
2303
  }
2260
2304
  getImp() {
2261
2305
  return this.imp;
@@ -2281,7 +2325,7 @@ class fe {
2281
2325
  return this.imp.ObjectIdIsKindOf(t, e);
2282
2326
  }
2283
2327
  initObjectIdToObjectCalls() {
2284
- this.objectIdToObjectCalls.McDbCurve = (t) => new ct(this.imp.ObjectIdToMdDbCurve(t)), this.objectIdToObjectCalls.McDbDimension = (t) => new Zt(this.imp.ObjectIdToMdDbDimension(t)), this.objectIdToObjectCalls.McDbEntity = (t) => new lt(this.imp.ObjectIdToMdDbEntity(t)), this.objectIdToObjectCalls.McDbLine = (t) => new Ht(this.imp.ObjectIdToMdDbLine(t)), this.objectIdToObjectCalls.McDbText = (t) => new De(this.imp.ObjectIdToMdDbText(t)), this.objectIdToObjectCalls.McDbPolyline = (t) => new Wt(this.imp.ObjectIdToMdDbPolyline(t)), this.objectIdToObjectCalls.McDbCircle = (t) => new at(this.imp.ObjectIdToMdDbCircle(t)), this.objectIdToObjectCalls.McDbArc = (t) => new zt(this.imp.ObjectIdToMdDbArc(t)), this.objectIdToObjectCalls.McDbBlockReference = (t) => new Be(this.imp.ObjectIdToMdDbBlockReference(t)), this.objectIdToObjectCalls.McDbAlignedDimension = (t) => new re(this.imp.ObjectIdToMdDbAlignedDimension(t)), this.objectIdToObjectCalls.McDbRotatedDimension = (t) => new se(this.imp.ObjectIdToMdDbRotatedDimension(t)), this.objectIdToObjectCalls.McDbMText = (t) => new Kt(this.imp.ObjectIdToMdDbMText(t)), this.objectIdToObjectCalls.McDbEllipse = (t) => new Qt(this.imp.ObjectIdToMdDbEllipse(t)), this.objectIdToObjectCalls.McDbPoint = (t) => new le(this.imp.ObjectIdToMdDbPoint(t));
2328
+ this.objectIdToObjectCalls.McDbCurve = (t) => new ct(this.imp.ObjectIdToMdDbCurve(t)), this.objectIdToObjectCalls.McDbDimension = (t) => new Qt(this.imp.ObjectIdToMdDbDimension(t)), this.objectIdToObjectCalls.McDbEntity = (t) => new lt(this.imp.ObjectIdToMdDbEntity(t)), this.objectIdToObjectCalls.McDbLine = (t) => new Ht(this.imp.ObjectIdToMdDbLine(t)), this.objectIdToObjectCalls.McDbText = (t) => new Be(this.imp.ObjectIdToMdDbText(t)), this.objectIdToObjectCalls.McDbPolyline = (t) => new Wt(this.imp.ObjectIdToMdDbPolyline(t)), this.objectIdToObjectCalls.McDbCircle = (t) => new at(this.imp.ObjectIdToMdDbCircle(t)), this.objectIdToObjectCalls.McDbArc = (t) => new zt(this.imp.ObjectIdToMdDbArc(t)), this.objectIdToObjectCalls.McDbBlockReference = (t) => new re(this.imp.ObjectIdToMdDbBlockReference(t)), this.objectIdToObjectCalls.McDbAlignedDimension = (t) => new se(this.imp.ObjectIdToMdDbAlignedDimension(t)), this.objectIdToObjectCalls.McDbRotatedDimension = (t) => new ne(this.imp.ObjectIdToMdDbRotatedDimension(t)), this.objectIdToObjectCalls.McDbMText = (t) => new Kt(this.imp.ObjectIdToMdDbMText(t)), this.objectIdToObjectCalls.McDbEllipse = (t) => new Jt(this.imp.ObjectIdToMdDbEllipse(t)), this.objectIdToObjectCalls.McDbPoint = (t) => new le(this.imp.ObjectIdToMdDbPoint(t));
2285
2329
  }
2286
2330
  ObjectIdToObject(t) {
2287
2331
  if (!t)
@@ -2302,7 +2346,7 @@ class fe {
2302
2346
  if (!t)
2303
2347
  return null;
2304
2348
  let e = t.getObjectName(), C = null;
2305
- return e == "McDbLine" ? C = new Ht() : e == "McDbText" ? C = new De() : e == "McDbPolyline" ? C = new Wt() : e == "McDbCircle" ? C = new at() : e == "McDbArc" ? C = new zt() : e == "McDbBlockReference" ? C = new Be() : e == "McDbAlignedDimension" ? C = new re() : e == "McDbRotatedDimension" ? C = new se() : e == "McDbMText" ? C = new Kt() : t.isKindOf("McDbCurve") ? (C = new ct(), C.initTempObject(new F.mxcadassemblyimp.MdDbCurve())) : t.isKindOf("McDbEntity") && (C = new lt(), C.initTempObject(new F.mxcadassemblyimp.MdDbEntity())), C ? (C.getImp().ConnectionTempObject(t), F.App.DestroyObject(t), C) : new ot(t);
2349
+ return e == "McDbLine" ? C = new Ht() : e == "McDbText" ? C = new Be() : e == "McDbPolyline" ? C = new Wt() : e == "McDbCircle" ? C = new at() : e == "McDbArc" ? C = new zt() : e == "McDbBlockReference" ? C = new re() : e == "McDbAlignedDimension" ? C = new se() : e == "McDbRotatedDimension" ? C = new ne() : e == "McDbMText" ? C = new Kt() : t.isKindOf("McDbCurve") ? (C = new ct(), C.initTempObject(new F.mxcadassemblyimp.MdDbCurve())) : t.isKindOf("McDbEntity") && (C = new lt(), C.initTempObject(new F.mxcadassemblyimp.MdDbEntity())), C ? (C.getImp().ConnectionTempObject(t), F.App.DestroyObject(t), C) : new ot(t);
2306
2350
  }
2307
2351
  setFontFilePath(t) {
2308
2352
  this.imp.setFontFilePath(t);
@@ -2324,7 +2368,7 @@ class Ve {
2324
2368
  return t && typeof t.x == "number" && typeof t.y == "number" && (e.x = t.x, e.y = t.y, typeof t.z == "number" && (e.z = t.z)), e;
2325
2369
  }
2326
2370
  NewMcGeVector3d(t) {
2327
- let e = new y();
2371
+ let e = new T();
2328
2372
  return t && typeof t.x == "number" && typeof t.y == "number" && (e.x = t.x, e.y = t.y, typeof t.z == "number" && (e.z = t.z)), e;
2329
2373
  }
2330
2374
  GetCurrentMxCAD() {
@@ -2334,7 +2378,7 @@ class Ve {
2334
2378
  return this.App.GetCurrentMxCAD().GetDatabase();
2335
2379
  }
2336
2380
  }
2337
- const me = "1.0.96", xC = "SharedArrayBuffer" in window, $t = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src), ti = (i, t = self.location.href) => $t ? `https://unpkg.com/mxcad@${me}/dist/wasm/2d-st/${i}` : t + i, ei = (i, t = self.location.href) => $t ? `https://unpkg.com/mxcad@${me}/dist/wasm/2d/${i}` : t + i, Ci = (i, t = self.location.href) => $t ? `https://unpkg.com/mxcad@${me}/dist/wasm/3d/${i}` : t + i, ve = (i) => new Promise((t, e) => {
2381
+ const me = "1.0.97", xC = "SharedArrayBuffer" in window, Mt = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src), ti = (i, t = self.location.href) => Mt ? `https://unpkg.com/mxcad@${me}/dist/wasm/2d-st/${i}` : t + i, ei = (i, t = self.location.href) => Mt ? `https://unpkg.com/mxcad@${me}/dist/wasm/2d/${i}` : t + i, Ci = (i, t = self.location.href) => Mt ? `https://unpkg.com/mxcad@${me}/dist/wasm/3d/${i}` : t + i, ve = (i) => new Promise((t, e) => {
2338
2382
  const C = document.createElement("script");
2339
2383
  C.src = i, C.type = "text/javascript", C.crossOrigin = "anonymous", document.body.appendChild(C), C.onload = () => {
2340
2384
  t();
@@ -2346,7 +2390,7 @@ const me = "1.0.96", xC = "SharedArrayBuffer" in window, $t = document.currentSc
2346
2390
  return await ve(E), await globalThis[t](e);
2347
2391
  };
2348
2392
  let F;
2349
- async function He(i, t = xC || !$t ? ti : ei, e, C, E) {
2393
+ async function He(i, t = xC || !Mt ? ti : ei, e, C, E) {
2350
2394
  return new Promise(async (D, B) => {
2351
2395
  try {
2352
2396
  if (F || (F = new Ve()), F.mxcadassemblyimp)
@@ -2369,7 +2413,7 @@ const Ei = (i) => {
2369
2413
  return t.id || (t.id = Math.random().toString(16).slice(2)), t.id;
2370
2414
  }, Di = (i, t) => new Promise((e, C) => {
2371
2415
  try {
2372
- R.createMxObject({
2416
+ S.createMxObject({
2373
2417
  canvasId: Ei(i),
2374
2418
  isCPPMxCAD: !0,
2375
2419
  userIdentitySign: t,
@@ -2385,16 +2429,16 @@ const Ei = (i) => {
2385
2429
  }), Bi = async (i) => {
2386
2430
  UC.state.MxFun || await YC();
2387
2431
  const { multipleSelect: t, openParameter: e, networkFonts: C, fontspath: E, locateFile: D, wasmBinary: B, canvas: r, userIdentitySign: n, onOpenFileComplete: A, fileUrl: o, onInit: l = () => {
2388
- R.setIniset({
2432
+ S.setIniset({
2389
2433
  EnableIntelliSelect: !0,
2390
2434
  IntelliSelectType: 1,
2391
2435
  multipleSelect: !!t
2392
2436
  });
2393
2437
  } } = i || {};
2394
2438
  await He(() => {
2395
- }, D, B, E, C), R.initMxCpp(F), l();
2439
+ }, D, B, E, C), S.initMxCpp(F), l();
2396
2440
  let a = await Di(r, n);
2397
- const c = R.getMxFunTHREE();
2441
+ const c = S.getMxFunTHREE();
2398
2442
  let h = new c.Vector2();
2399
2443
  a.getRenderer().getSize(h);
2400
2444
  const g = F.App.CreateMxCAD(h.width, h.height, a.getCanvas().id, a.isWebgl2(), a.getId());
@@ -2404,9 +2448,9 @@ const Ei = (i) => {
2404
2448
  };
2405
2449
  var Ke = /* @__PURE__ */ ((i) => (i[i.kByLayer = 1] = "kByLayer", i[i.kByBlock = 2] = "kByBlock", i[i.kByColor = 3] = "kByColor", i[i.kByACI = 4] = "kByACI", i[i.kByPen = 5] = "kByPen", i[i.kForeground = 6] = "kForeground", i[i.kLayerOff = 7] = "kLayerOff", i[i.kLayerFrozen = 8] = "kLayerFrozen", i[i.kNone = 9] = "kNone", i))(Ke || {}), We = /* @__PURE__ */ ((i) => (i[i.kByblock = 0] = "kByblock", i[i.kRed = 1] = "kRed", i[i.kYellow = 2] = "kYellow", i[i.kGreen = 3] = "kGreen", i[i.KCyan = 4] = "KCyan", i[i.kBlue = 5] = "kBlue", i[i.kMagenta = 6] = "kMagenta", i[i.kWhite = 7] = "kWhite", i[i.kBylayer = 256] = "kBylayer", i))(We || {});
2406
2450
  let dt;
2407
- const Mt = (...i) => {
2451
+ const xt = (...i) => {
2408
2452
  if (!dt) {
2409
- const D = R.getMxFunTHREE();
2453
+ const D = S.getMxFunTHREE();
2410
2454
  dt = new D.Color();
2411
2455
  }
2412
2456
  const t = (D) => typeof D[0] == "object" && D[0].isColor, e = (D) => typeof D[0] == "number" && D.length === 1, C = (D) => typeof D[0] == "string" && D.length === 1;
@@ -2419,12 +2463,12 @@ const Mt = (...i) => {
2419
2463
  }, he = (i, ...t) => {
2420
2464
  const e = (E) => E.length > 1 || typeof E[0] == "object" && E[0].isColor || typeof E[0] == "string" || typeof E[0] == "number", C = (E) => typeof E[0] == "object" && !E[0]?.isColor;
2421
2465
  if (e(t)) {
2422
- const { r: E, g: D, b: B } = Mt(...t);
2466
+ const { r: E, g: D, b: B } = xt(...t);
2423
2467
  i.red = E * 255, i.green = D * 255, i.blue = B * 255;
2424
2468
  }
2425
2469
  C(t) && (i = Object.assign(i, t[0])), ri(i);
2426
2470
  }, Xe = (i) => {
2427
- const { red: t, green: e, blue: C, colorIndex: E } = i, D = Mt(t / 255, e / 255, C / 255);
2471
+ const { red: t, green: e, blue: C, colorIndex: E } = i, D = xt(t / 255, e / 255, C / 255);
2428
2472
  if (E === 7) {
2429
2473
  const r = {
2430
2474
  h: 0,
@@ -2482,7 +2526,7 @@ class Qe extends qe {
2482
2526
  h: 0,
2483
2527
  s: 0,
2484
2528
  l: 0
2485
- }, C = Mt();
2529
+ }, C = xt();
2486
2530
  C.getHSL(e);
2487
2531
  const E = () => C.setRGB(this.red / 255, this.green / 255, this.blue / 255), D = (r, n, A) => {
2488
2532
  this.red = r * 255, this.green = n * 255, this.blue = A * 255;
@@ -2516,7 +2560,7 @@ async function si() {
2516
2560
  let e = "\u6D4B\u8BD5";
2517
2561
  if (e.length <= 0)
2518
2562
  return;
2519
- let C = R.screenCoordLong2Doc(50);
2563
+ let C = S.screenCoordLong2Doc(50);
2520
2564
  e = Gt.b64Encode(e);
2521
2565
  const E = {
2522
2566
  postx: t.x,
@@ -2524,9 +2568,9 @@ async function si() {
2524
2568
  text: e,
2525
2569
  height: C
2526
2570
  };
2527
- R.call("Mx_Text", E);
2571
+ S.call("Mx_Text", E);
2528
2572
  }
2529
- class ni extends Re {
2573
+ class ni extends Se {
2530
2574
  getGripPoints() {
2531
2575
  const { x: t, y: e, z: C } = this.center;
2532
2576
  let E = new THREE.Vector3(t, e + this.radius, C), D = new THREE.Vector3(t, e - this.radius, C), B = new THREE.Vector3(t - this.radius, e, C), r = new THREE.Vector3(t + this.radius, e, C);
@@ -2538,7 +2582,7 @@ class ni extends Re {
2538
2582
  }
2539
2583
  }
2540
2584
  const Ie = (i) => {
2541
- const [t, e, C] = i, { x: E, y: D, z: B } = t, { x: r, y: n, z: A } = e, { x: o, y: l, z: a } = C, c = D * A - n * B - D * a + l * B + n * a - l * A, h = -(E * A - r * B - E * a + o * B + r * a - o * A), g = E * n - r * D - E * l + o * D + r * l - o * n, L = -(E * n * a - E * l * A - r * D * a + r * l * B + o * D * A - o * n * B), N = 2 * (r - E), d = 2 * (n - D), I = 2 * (A - B), k = E * E + D * D + B * B - r * r - n * n - A * A, U = 2 * (o - E), G = 2 * (l - D), V = 2 * (a - B), Ft = E * E + D * D + B * B - o * o - l * l - a * a, Pt = -(h * I * Ft - h * V * k - d * g * Ft + d * V * L + G * g * k - G * I * L) / (c * d * V - c * G * I - N * h * V + N * G * g + U * h * I - U * d * g), TC = (c * I * Ft - c * V * k - N * g * Ft + N * V * L + U * g * k - U * I * L) / (c * d * V - c * G * I - N * h * V + N * G * g + U * h * I - U * d * g), OC = -(c * d * Ft - c * G * k - N * h * Ft + N * G * L + U * h * k - U * d * L) / (c * d * V - c * G * I - N * h * V + N * G * g + U * h * I - U * d * g);
2585
+ const [t, e, C] = i, { x: E, y: D, z: B } = t, { x: r, y: n, z: A } = e, { x: o, y: l, z: a } = C, c = D * A - n * B - D * a + l * B + n * a - l * A, h = -(E * A - r * B - E * a + o * B + r * a - o * A), g = E * n - r * D - E * l + o * D + r * l - o * n, b = -(E * n * a - E * l * A - r * D * a + r * l * B + o * D * A - o * n * B), U = 2 * (r - E), d = 2 * (n - D), I = 2 * (A - B), f = E * E + D * D + B * B - r * r - n * n - A * A, Y = 2 * (o - E), N = 2 * (l - D), V = 2 * (a - B), Ft = E * E + D * D + B * B - o * o - l * l - a * a, Pt = -(h * I * Ft - h * V * f - d * g * Ft + d * V * b + N * g * f - N * I * b) / (c * d * V - c * N * I - U * h * V + U * N * g + Y * h * I - Y * d * g), TC = (c * I * Ft - c * V * f - U * g * Ft + U * V * b + Y * g * f - Y * I * b) / (c * d * V - c * N * I - U * h * V + U * N * g + Y * h * I - Y * d * g), OC = -(c * d * Ft - c * N * f - U * h * Ft + U * N * b + Y * h * f - Y * d * b) / (c * d * V - c * N * I - U * h * V + U * N * g + Y * h * I - Y * d * g);
2542
2586
  return new THREE.Vector3(Pt, TC, OC);
2543
2587
  };
2544
2588
  function Je() {
@@ -2570,16 +2614,16 @@ function Je() {
2570
2614
  const A = (h) => {
2571
2615
  if (E === "3P" && (i.setMessage(`
2572
2616
  \u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E00\u4E2A\u70B9:`), h === Q.kOk)) {
2573
- if (C === 0 && (n.push(i.value()), i.setUserDraw((g, L) => {
2574
- L.drawLine(n[0], g);
2617
+ if (C === 0 && (n.push(i.value()), i.setUserDraw((g, b) => {
2618
+ b.drawLine(n[0], g);
2575
2619
  }), i.setMessage(`
2576
- \u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E8C\u4E2A\u70B9:`)), C === 1 && (n.push(i.value()), i.setUserDraw((g, L) => {
2577
- const [N, d] = n, I = g;
2620
+ \u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E8C\u4E2A\u70B9:`)), C === 1 && (n.push(i.value()), i.setUserDraw((g, b) => {
2621
+ const [U, d] = n, I = g;
2578
2622
  t.center = Ie([
2579
- N,
2623
+ U,
2580
2624
  d,
2581
2625
  I
2582
- ]), t.radius = t.center.distanceTo(N), L.drawCustomEntity(t);
2626
+ ]), t.radius = t.center.distanceTo(U), b.drawCustomEntity(t);
2583
2627
  }), i.setMessage(`
2584
2628
  \u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E09\u4E2A\u70B9:`)), C === 2)
2585
2629
  return n.push(i.value()), t.center = Ie(n), t.radius = t.center.distanceTo(n[0]), F.GetCurrentMxCAD().DrawEntity(new at(t.center.x, t.center.y, 0, t.radius)), !0;
@@ -2592,8 +2636,8 @@ function Je() {
2592
2636
  }, a = (h) => {
2593
2637
  if (E === "2P" && (i.setMessage(`
2594
2638
  \u6307\u5B9A\u5706\u76F4\u5F84\u7684\u7B2C\u4E00\u4E2A\u7AEF\u70B9:`), h === Q.kOk)) {
2595
- if (C === 0 && (o = i.value(), i.setUserDraw((g, L) => {
2596
- l(o, g), L.drawCustomEntity(t), L.drawLine(o, g);
2639
+ if (C === 0 && (o = i.value(), i.setUserDraw((g, b) => {
2640
+ l(o, g), b.drawCustomEntity(t), b.drawLine(o, g);
2597
2641
  }), i.setMessage(`
2598
2642
  \u6307\u5B9A\u5706\u76F4\u5F84\u7684\u7B2C\u4E8C\u4E2A\u7AEF\u70B9:`)), C === 1)
2599
2643
  return l(o, i.value()), F.GetCurrentMxCAD().DrawEntity(new at(t.center.x, t.center.y, 0, t.radius)), !0;
@@ -2605,7 +2649,7 @@ function Je() {
2605
2649
  \u6307\u5B9A\u5BF9\u8C61\u4E0E\u5706\u7684\u7B2C\u4E00\u4E2A\u5207\u70B9:`), h === Q.kOk) {
2606
2650
  if (C === 0) {
2607
2651
  const g = i.value();
2608
- console.log(g), R.getCurrentDraw();
2652
+ console.log(g), S.getCurrentDraw();
2609
2653
  }
2610
2654
  C++;
2611
2655
  }
@@ -2631,8 +2675,8 @@ function Je() {
2631
2675
  }
2632
2676
  );
2633
2677
  }
2634
- R.on("init", () => {
2635
- R.addCommand("Mx_Circle", Je);
2678
+ S.on("init", () => {
2679
+ S.addCommand("Mx_Circle", Je);
2636
2680
  });
2637
2681
  async function $e() {
2638
2682
  const i = new et();
@@ -2660,8 +2704,8 @@ async function Ai() {
2660
2704
  F.GetCurrentMxCAD().DrawEntity(new le(t));
2661
2705
  }
2662
2706
  }
2663
- R.on("init", () => {
2664
- R.addCommand("Mx_Line", $e), R.addCommand("Mx_Point", Ai);
2707
+ S.on("init", () => {
2708
+ S.addCommand("Mx_Line", $e), S.addCommand("Mx_Point", Ai);
2665
2709
  });
2666
2710
  async function Fi() {
2667
2711
  const i = new tt();
@@ -2674,7 +2718,7 @@ async function Fi() {
2674
2718
  \u6D4B\u8BD5`;
2675
2719
  if (e.length <= 0)
2676
2720
  return;
2677
- let C = R.screenCoordLong2Doc(50);
2721
+ let C = S.screenCoordLong2Doc(50);
2678
2722
  e = Gt.b64Encode(e);
2679
2723
  const E = {
2680
2724
  postx: t.x,
@@ -2682,7 +2726,7 @@ async function Fi() {
2682
2726
  text: e,
2683
2727
  height: C
2684
2728
  };
2685
- R.call("Mx_MText", E);
2729
+ S.call("Mx_MText", E);
2686
2730
  }
2687
2731
  async function Me() {
2688
2732
  const i = new tt();
@@ -2712,8 +2756,8 @@ async function Me() {
2712
2756
  }
2713
2757
  );
2714
2758
  }
2715
- R.on("init", () => {
2716
- R.addCommand("Mx_Pline", Me);
2759
+ S.on("init", () => {
2760
+ S.addCommand("Mx_Pline", Me);
2717
2761
  });
2718
2762
  async function xe() {
2719
2763
  const i = new tt();
@@ -2732,10 +2776,10 @@ async function xe() {
2732
2776
  }), i.setMessage(`
2733
2777
  \u6307\u5B9A\u4E8C\u70B9:`), i.setDynamicInputType(K.kXYCoordInput), await i.go(), i.drawReserve();
2734
2778
  }
2735
- R.addCommand("Mx_Polygon", xe);
2779
+ S.addCommand("Mx_Polygon", xe);
2736
2780
  function oi(i, t, e) {
2737
- const C = i.x, E = t.x, D = e.x, B = i.y, r = t.y, n = e.y, A = C - E, o = B - r, l = C - D, a = B - n, c = (C * C - E * E + (B * B - r * r)) / 2, h = (C * C - D * D + (B * B - n * n)) / 2, g = o * l - A * a, L = -(a * c - o * h) / g, N = -(A * h - l * c) / g;
2738
- return new THREE.Vector3(L, N, 0);
2781
+ const C = i.x, E = t.x, D = e.x, B = i.y, r = t.y, n = e.y, A = C - E, o = B - r, l = C - D, a = B - n, c = (C * C - E * E + (B * B - r * r)) / 2, h = (C * C - D * D + (B * B - n * n)) / 2, g = o * l - A * a, b = -(a * c - o * h) / g, U = -(A * h - l * c) / g;
2782
+ return new THREE.Vector3(b, U, 0);
2739
2783
  }
2740
2784
  function ui(i, t) {
2741
2785
  const e = i.x, C = i.y, E = t.x, D = t.y;
@@ -2747,7 +2791,7 @@ function pi(i, t, e) {
2747
2791
  let E;
2748
2792
  return i < t ? E = t - i : E = t - i + 360, E > C;
2749
2793
  }
2750
- function ee(i, t, e) {
2794
+ function Ce(i, t, e) {
2751
2795
  const C = i.x, E = t.x, D = i.y, B = t.y;
2752
2796
  let r, n, A;
2753
2797
  return r = (D - B) / e, n = (C - E) / e, n >= 0.99999 && (n = 0.99999), n <= -0.99999 && (n = -0.99999), A = Math.acos(n), A = A / Math.PI * 180, r < -0.05 && (A = 360 - A), {
@@ -2756,7 +2800,7 @@ function ee(i, t, e) {
2756
2800
  angle: A
2757
2801
  };
2758
2802
  }
2759
- function Ce(i, t, e, C) {
2803
+ function ie(i, t, e, C) {
2760
2804
  const E = i - e, D = t - C;
2761
2805
  let B = 0;
2762
2806
  return E == 0 ? B = Math.PI / 2 : B = Math.atan(Math.abs(D / E)), E < 0 && D >= 0 ? B = Math.PI - B : E < 0 && D < 0 ? B = Math.PI + B : E >= 0 && D < 0 && (B = Math.PI * 2 - B), B;
@@ -2770,7 +2814,7 @@ const st = (i, t, e) => {
2770
2814
  };
2771
2815
  return C;
2772
2816
  };
2773
- class ae extends Re {
2817
+ class ae extends Se {
2774
2818
  constructor() {
2775
2819
  super(), this._propertyDbKeys = [...this._propertyDbKeys, "bulge"];
2776
2820
  }
@@ -2816,7 +2860,7 @@ class ae extends Re {
2816
2860
  t[e].add(C);
2817
2861
  const [E, D, B] = t;
2818
2862
  this.center = oi(E, B, D), this.radius = ui(D, this.center);
2819
- const r = ee(E, this.center, this.radius), n = ee(B, this.center, this.radius), A = ee(D, this.center, this.radius);
2863
+ const r = Ce(E, this.center, this.radius), n = Ce(B, this.center, this.radius), A = Ce(D, this.center, this.radius);
2820
2864
  this.clockwise = pi(
2821
2865
  n.angle,
2822
2866
  r.angle,
@@ -2879,7 +2923,7 @@ async function tC() {
2879
2923
  const c = st(
2880
2924
  t,
2881
2925
  () => {
2882
- a = t.value(), D.startPoint = a, D.endPoint = A, L.DrawArc(D.center.x, D.center.y, D.radius, D.startAngle, D.endAngle);
2926
+ a = t.value(), D.startPoint = a, D.endPoint = A, b.DrawArc(D.center.x, D.center.y, D.radius, D.startAngle, D.endAngle);
2883
2927
  },
2884
2928
  () => {
2885
2929
  if (t.isKeyWordPicked("A"))
@@ -2914,7 +2958,7 @@ async function tC() {
2914
2958
  h = t.value(), t.setMessage(`
2915
2959
  \u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9:`), E = new fC(), E.color = i, E.autoClockwise = !0, E.closed = !1, ht.use(E), t.setUserDraw((d, I) => {
2916
2960
  E.point1 = C, E.point3 = h, E.point2 = d, I.drawCustomEntity(E);
2917
- }), N();
2961
+ }), U();
2918
2962
  },
2919
2963
  () => {
2920
2964
  if (t.isKeyWordPicked("C"))
@@ -2931,13 +2975,13 @@ async function tC() {
2931
2975
  return !0;
2932
2976
  }
2933
2977
  );
2934
- let L = F.GetCurrentMxCAD();
2935
- const N = st(
2978
+ let b = F.GetCurrentMxCAD();
2979
+ const U = st(
2936
2980
  t,
2937
2981
  () => {
2938
2982
  E.point1 = C, E.point2 = t.value(), E.point3 = h;
2939
2983
  let d = new zt();
2940
- d.computeArc(E.point1.x, E.point1.y, E.point3.x, E.point3.y, E.point2.x, E.point2.y), L.DrawEntity(d);
2984
+ d.computeArc(E.point1.x, E.point1.y, E.point3.x, E.point3.y, E.point2.x, E.point2.y), b.DrawEntity(d);
2941
2985
  },
2942
2986
  () => {
2943
2987
  if (t.isKeyWordPicked("C"))
@@ -2950,8 +2994,8 @@ async function tC() {
2950
2994
  );
2951
2995
  B();
2952
2996
  }
2953
- R.on("init", () => {
2954
- R.addCommand("Mx_Arc", tC);
2997
+ S.on("init", () => {
2998
+ S.addCommand("Mx_Arc", tC);
2955
2999
  });
2956
3000
  function eC() {
2957
3001
  const i = new tt(), t = new VC();
@@ -2963,7 +3007,7 @@ function eC() {
2963
3007
  () => {
2964
3008
  e = i.value(), i.setUserDraw((A, o) => {
2965
3009
  const l = new THREE.Line3(e, A);
2966
- l.getCenter(C), t.center = C, t.xRadius = l.distance() / 2, t.yRadius = t.xRadius, t.rotation = Ce(A.x, A.y, C.x, C.y), o.drawLine(A, e);
3010
+ l.getCenter(C), t.center = C, t.xRadius = l.distance() / 2, t.yRadius = t.xRadius, t.rotation = ie(A.x, A.y, C.x, C.y), o.drawLine(A, e);
2967
3011
  }), i.setMessage(`
2968
3012
  \u6307\u5B9A\u692D\u5706\u5F27\u8F74\u7684\u53E6\u4E00\u4E2A\u7AEF\u70B9:`), i.setKeyWords(""), D();
2969
3013
  },
@@ -2985,7 +3029,7 @@ function eC() {
2985
3029
  () => {
2986
3030
  i.setMessage(`
2987
3031
  \u6307\u5B9A\u8D77\u59CB\u89D2\u5EA6`), i.setKeyWords(""), i.setUserDraw((A, o) => {
2988
- t.startAngle = Ce(A.x, A.y, C.x, C.y) - t.rotation, o.drawLine(C, A), o.drawCustomEntity(t);
3032
+ t.startAngle = ie(A.x, A.y, C.x, C.y) - t.rotation, o.drawLine(C, A), o.drawCustomEntity(t);
2989
3033
  }), i.setDynamicInputType(K.kXYCoordInput), r();
2990
3034
  },
2991
3035
  () => {
@@ -2994,7 +3038,7 @@ function eC() {
2994
3038
  i,
2995
3039
  () => {
2996
3040
  i.setUserDraw((A, o) => {
2997
- t.endAngle = Ce(A.x, A.y, C.x, C.y) - t.rotation, o.drawLine(C, A), o.drawCustomEntity(t);
3041
+ t.endAngle = ie(A.x, A.y, C.x, C.y) - t.rotation, o.drawLine(C, A), o.drawCustomEntity(t);
2998
3042
  }), i.setMessage(`
2999
3043
  \u6307\u5B9A\u7EC8\u6B62\u89D2\u5EA6`), i.setKeyWords(""), i.setDynamicInputType(K.kXYCoordInput), n();
3000
3044
  },
@@ -3003,8 +3047,8 @@ function eC() {
3003
3047
  ), n = st(
3004
3048
  i,
3005
3049
  () => {
3006
- let A = new y(t.xRadius, 0, 0);
3007
- A.rotateBy(t.rotation, y.kZAxis), F.GetCurrentMxCAD().DrawEntity(new Qt(t.center.x, t.center.y, 0, A.x, A.y, 0, t.yRadius / t.xRadius, t.startAngle, t.endAngle));
3050
+ let A = new T(t.xRadius, 0, 0);
3051
+ A.rotateBy(t.rotation, T.kZAxis), F.GetCurrentMxCAD().DrawEntity(new Jt(t.center.x, t.center.y, 0, A.x, A.y, 0, t.yRadius / t.xRadius, t.startAngle, t.endAngle));
3008
3052
  },
3009
3053
  () => {
3010
3054
  }
@@ -3019,15 +3063,15 @@ function li() {
3019
3063
  e.point2 = E, t.drawCustomEntity(e);
3020
3064
  }), i.setUserDraw(t), i.setMessage(`
3021
3065
  \u518D\u6B21\u70B9\u51FB\u7ED3\u675F\u7ED8\u5236\u692D\u5706:`), i.setDynamicInputType(K.kXYCoordInput), i.go(() => {
3022
- F.GetCurrentMxCAD().DrawEntity(new Qt(e.center.x, e.center.y, 0, e.xRadius, 0, 0, e.yRadius / e.xRadius));
3066
+ F.GetCurrentMxCAD().DrawEntity(new Jt(e.center.x, e.center.y, 0, e.xRadius, 0, 0, e.yRadius / e.xRadius));
3023
3067
  });
3024
3068
  });
3025
3069
  }
3026
- R.on("init", () => {
3027
- R.addCommand("Mx_EllipseArc", eC), R.addCommand("Mx_Ellipse", li);
3070
+ S.on("init", () => {
3071
+ S.addCommand("Mx_EllipseArc", eC), S.addCommand("Mx_Ellipse", li);
3028
3072
  });
3029
3073
  async function CC() {
3030
- let i = J.getCurrentSelect();
3074
+ let i = $.getCurrentSelect();
3031
3075
  if (i.length > 0) {
3032
3076
  i.forEach((e) => {
3033
3077
  e.erase();
@@ -3053,7 +3097,7 @@ function Ut(i) {
3053
3097
  }
3054
3098
  async function mi() {
3055
3099
  let i;
3056
- for (; i = J.getCurrentSelect(), !(i.length > 0); ) {
3100
+ for (; i = $.getCurrentSelect(), !(i.length > 0); ) {
3057
3101
  let B = new mt();
3058
3102
  if (!await B.userSelect(`
3059
3103
  \u9009\u62E9\u590D\u5236\u5BF9\u8C61`) || (i = B.getIds(), i.length == 0))
@@ -3089,7 +3133,7 @@ async function mi() {
3089
3133
  }
3090
3134
  async function hi() {
3091
3135
  let i;
3092
- for (; i = J.getCurrentSelect(), !(i.length > 0); ) {
3136
+ for (; i = $.getCurrentSelect(), !(i.length > 0); ) {
3093
3137
  let B = new mt();
3094
3138
  if (!await B.userSelect(`
3095
3139
  \u9009\u62E9\u79FB\u52A8\u5BF9\u8C61`) || (i = B.getIds(), i.length == 0))
@@ -3125,7 +3169,7 @@ async function hi() {
3125
3169
  }
3126
3170
  async function ai() {
3127
3171
  let i;
3128
- for (; i = J.getCurrentSelect(), !(i.length > 0); ) {
3172
+ for (; i = $.getCurrentSelect(), !(i.length > 0); ) {
3129
3173
  let a = new mt();
3130
3174
  if (!await a.userSelect(`
3131
3175
  \u9009\u62E9\u65CB\u8F6C\u5BF9\u8C61`) || (i = a.getIds(), i.length == 0))
@@ -3140,22 +3184,22 @@ async function ai() {
3140
3184
  if (D == null)
3141
3185
  return;
3142
3186
  E.setMessage("\u6307\u5B9A\u65CB\u8F6C\u89D2\u5EA6"), E.setBasePt(D), E.setUseBasePt(!0), E.setDynamicInputType(K.kXYCoordInput), E.setUserDraw((a, c) => {
3143
- let h = a, g = D, N = h.sub(g).angleTo2(y.kXAxis, y.kNegateZAxis), d = new At();
3144
- if (d.setToRotation(N, y.kZAxis, g), t && e) {
3145
- let I = new p(t.x, e.y, 0), k = new p(e.x, t.y, 0), U = new p(I.x, k.y, 0), G = new p(k.x, I.y, 0);
3146
- I.transformBy(d), k.transformBy(d), U.transformBy(d), G.transformBy(d), c.drawLine(G.toVector3(), I.toVector3()), c.drawLine(I.toVector3(), U.toVector3()), c.drawLine(U.toVector3(), k.toVector3()), c.drawLine(k.toVector3(), G.toVector3());
3187
+ let h = a, g = D, U = h.sub(g).angleTo2(T.kXAxis, T.kNegateZAxis), d = new At();
3188
+ if (d.setToRotation(U, T.kZAxis, g), t && e) {
3189
+ let I = new p(t.x, e.y, 0), f = new p(e.x, t.y, 0), Y = new p(I.x, f.y, 0), N = new p(f.x, I.y, 0);
3190
+ I.transformBy(d), f.transformBy(d), Y.transformBy(d), N.transformBy(d), c.drawLine(N.toVector3(), I.toVector3()), c.drawLine(I.toVector3(), Y.toVector3()), c.drawLine(Y.toVector3(), f.toVector3()), c.drawLine(f.toVector3(), N.toVector3());
3147
3191
  }
3148
- g = F.GetCurrentMxCAD().DocCoord2Cad(g), d.setToRotation(N, y.kZAxis, g);
3192
+ g = F.GetCurrentMxCAD().DocCoord2Cad(g), d.setToRotation(U, T.kZAxis, g);
3149
3193
  for (let I = 0; I < i.length && I < 10; I++) {
3150
- let k = i[I].clone();
3151
- !k || (k.TransformBy(d), c.drawMcDbEntity(k));
3194
+ let f = i[I].clone();
3195
+ !f || (f.TransformBy(d), c.drawMcDbEntity(f));
3152
3196
  }
3153
3197
  });
3154
3198
  let B = await E.go();
3155
3199
  if (!B)
3156
3200
  return;
3157
- let r = B, n = D, o = r.sub(n).angleTo2(y.kXAxis, y.kNegateZAxis), l = new At();
3158
- n = F.GetCurrentMxCAD().DocCoord2Cad(n), l.setToRotation(o, y.kZAxis, n);
3201
+ let r = B, n = D, o = r.sub(n).angleTo2(T.kXAxis, T.kNegateZAxis), l = new At();
3202
+ n = F.GetCurrentMxCAD().DocCoord2Cad(n), l.setToRotation(o, T.kZAxis, n);
3159
3203
  for (let a = 0; a < i.length; a++) {
3160
3204
  let c = i[a].getMcDbObject();
3161
3205
  !c || c.TransformBy(l);
@@ -3163,7 +3207,7 @@ async function ai() {
3163
3207
  }
3164
3208
  async function ci() {
3165
3209
  let i;
3166
- for (; i = J.getCurrentSelect(), !(i.length > 0); ) {
3210
+ for (; i = $.getCurrentSelect(), !(i.length > 0); ) {
3167
3211
  let g = new mt();
3168
3212
  if (!await g.userSelect(`
3169
3213
  \u9009\u62E9\u7F29\u653E\u5BF9\u8C61`) || (i = g.getIds(), i.length == 0))
@@ -3181,21 +3225,21 @@ async function ci() {
3181
3225
  let n = await r.go();
3182
3226
  if (n == null)
3183
3227
  return;
3184
- r.setMessage("\u6307\u5B9A\u6BD4\u4F8B\u56E0\u5B50"), r.setBasePt(n), r.setUseBasePt(!0), r.setDynamicInputType(K.kXYCoordInput), r.setUserDraw((g, L) => {
3185
- let N = new p(g), d = new p(n), I = N.distanceTo(d);
3228
+ r.setMessage("\u6307\u5B9A\u6BD4\u4F8B\u56E0\u5B50"), r.setBasePt(n), r.setUseBasePt(!0), r.setDynamicInputType(K.kXYCoordInput), r.setUserDraw((g, b) => {
3229
+ let U = new p(g), d = new p(n), I = U.distanceTo(d);
3186
3230
  if (I < 1e-5)
3187
3231
  return;
3188
- let k = I / B;
3189
- k > 1e5 && (k = 1e5);
3190
- let U = new At();
3191
- if (U.setToScaling(k, d), t && e) {
3192
- let G = new p(t.x, e.y, 0), V = new p(e.x, t.y, 0), Ft = new p(G.x, V.y, 0), Pt = new p(V.x, G.y, 0);
3193
- G.transformBy(U), V.transformBy(U), Ft.transformBy(U), Pt.transformBy(U), L.drawLine(Pt.toVector3(), G.toVector3()), L.drawLine(G.toVector3(), Ft.toVector3()), L.drawLine(Ft.toVector3(), V.toVector3()), L.drawLine(V.toVector3(), Pt.toVector3());
3232
+ let f = I / B;
3233
+ f > 1e5 && (f = 1e5);
3234
+ let Y = new At();
3235
+ if (Y.setToScaling(f, d), t && e) {
3236
+ let N = new p(t.x, e.y, 0), V = new p(e.x, t.y, 0), Ft = new p(N.x, V.y, 0), Pt = new p(V.x, N.y, 0);
3237
+ N.transformBy(Y), V.transformBy(Y), Ft.transformBy(Y), Pt.transformBy(Y), b.drawLine(Pt.toVector3(), N.toVector3()), b.drawLine(N.toVector3(), Ft.toVector3()), b.drawLine(Ft.toVector3(), V.toVector3()), b.drawLine(V.toVector3(), Pt.toVector3());
3194
3238
  }
3195
- d = F.GetCurrentMxCAD().DocCoord2Cad(d), U.setToScaling(k, d);
3196
- for (let G = 0; G < i.length && G < 10; G++) {
3197
- let V = i[G].clone();
3198
- !V || (V.TransformBy(U), L.drawMcDbEntity(V));
3239
+ d = F.GetCurrentMxCAD().DocCoord2Cad(d), Y.setToScaling(f, d);
3240
+ for (let N = 0; N < i.length && N < 10; N++) {
3241
+ let V = i[N].clone();
3242
+ !V || (V.TransformBy(Y), b.drawMcDbEntity(V));
3199
3243
  }
3200
3244
  });
3201
3245
  let A = await r.go();
@@ -3209,8 +3253,8 @@ async function ci() {
3209
3253
  let h = new At();
3210
3254
  l = F.GetCurrentMxCAD().DocCoord2Cad(l), h.setToScaling(c, l);
3211
3255
  for (let g = 0; g < i.length; g++) {
3212
- let L = i[g].getMcDbObject();
3213
- !L || L.TransformBy(h);
3256
+ let b = i[g].getMcDbObject();
3257
+ !b || b.TransformBy(h);
3214
3258
  }
3215
3259
  }
3216
3260
  async function gi() {
@@ -3223,22 +3267,22 @@ async function gi() {
3223
3267
  E.drawRect(t.toVector3(), C.toVector3());
3224
3268
  });
3225
3269
  let e = await i.go();
3226
- e != null && R.getCurrentDraw().zoomW(t.toVector3(), e.toVector3());
3270
+ e != null && S.getCurrentDraw().zoomW(t.toVector3(), e.toVector3());
3227
3271
  }
3228
3272
  async function _i() {
3229
3273
  let i = F.GetCurrentDatabase().CurrentSpace().getBoundingBox();
3230
- !i.ret || R.getCurrentDraw().zoomW(i.minPt.toVector3(), i.maxPt.toVector3());
3274
+ !i.ret || S.getCurrentDraw().zoomW(i.minPt.toVector3(), i.maxPt.toVector3());
3231
3275
  }
3232
3276
  async function di() {
3233
- const i = new Jt();
3277
+ const i = new $t();
3234
3278
  i.setMessage(`
3235
3279
  \u6307\u5B9A\u504F\u79FB\u8DDD\u79BB\u6216:`);
3236
3280
  let t = await i.go();
3237
3281
  if (t == null)
3238
3282
  return;
3239
- let e = new x();
3283
+ let e = new J();
3240
3284
  e.AddMcDbEntityTypes("LINE,CIRCLE,LWPOLYLINE,ARC");
3241
- let C = await J.selectEnt(`
3285
+ let C = await $.selectEnt(`
3242
3286
  \u9009\u62E9\u504F\u79FB\u5BF9\u8C61`, e, !1);
3243
3287
  if (C.length == 0)
3244
3288
  return;
@@ -3259,10 +3303,10 @@ async function di() {
3259
3303
  function Ii() {
3260
3304
  F.GetCurrentMxCAD().getImp().regen();
3261
3305
  }
3262
- async function Ri() {
3263
- let i = await J.userSelect("\u9009\u62E9\u955C\u50CF\u5BF9\u8C61");
3306
+ async function Si() {
3307
+ let i = await $.userSelect("\u9009\u62E9\u955C\u50CF\u5BF9\u8C61");
3264
3308
  if (i.length == 0) {
3265
- R.acutPrintf(`
3309
+ S.acutPrintf(`
3266
3310
  \u6CA1\u6709\u80FD\u955C\u50CF\u7684\u5BF9\u8C61`);
3267
3311
  return;
3268
3312
  }
@@ -3292,8 +3336,8 @@ async function Ri() {
3292
3336
  !n || (n.Mirror(D, B), F.GetCurrentMxCAD().DrawEntity(n));
3293
3337
  }
3294
3338
  }
3295
- async function Si() {
3296
- let i = new Jt();
3339
+ async function Ri() {
3340
+ let i = new $t();
3297
3341
  i.setMessage("\u6307\u5B9A\u7B2C\u4E00\u4E2A\u5012\u89D2\u8DDD\u79BB");
3298
3342
  let t = await i.go();
3299
3343
  if (!t)
@@ -3302,7 +3346,7 @@ async function Si() {
3302
3346
  let e = await i.go();
3303
3347
  if (!e)
3304
3348
  return;
3305
- let C = new x();
3349
+ let C = new J();
3306
3350
  C.AddMcDbEntityTypes("LINE,LWPOLYLINE");
3307
3351
  let E = new Tt();
3308
3352
  E.setFilter(C), E.setMessage("\u9009\u62E9\u7B2C\u4E00\u6761\u76F4\u7EBF");
@@ -3316,12 +3360,12 @@ async function Si() {
3316
3360
  !n.isValid() || (D.getMcDbEntity()?.highlight(!1), F.App.MxCADAssist.MxChamfer(D.id, n.id, B.x, B.y, A.x, A.y, t, e, !0));
3317
3361
  }
3318
3362
  async function wi() {
3319
- let i = new Jt();
3363
+ let i = new $t();
3320
3364
  i.setMessage("\u6307\u5B9A\u5012\u5706\u89D2\u534A\u5F84");
3321
3365
  let t = await i.go();
3322
3366
  if (!t)
3323
3367
  return;
3324
- let e = new x();
3368
+ let e = new J();
3325
3369
  e.AddMcDbEntityTypes("LINE,LWPOLYLINE");
3326
3370
  let C = new Tt();
3327
3371
  C.setFilter(e), C.setMessage("\u9009\u62E9\u7B2C\u4E00\u6761\u76F4\u7EBF");
@@ -3335,9 +3379,9 @@ async function wi() {
3335
3379
  !r.isValid() || (E.getMcDbEntity()?.highlight(!1), F.App.MxCADAssist.MxFillet(E.id, r.id, D.x, D.y, n.x, n.y, t, !0));
3336
3380
  }
3337
3381
  async function yi() {
3338
- let i = new x();
3382
+ let i = new J();
3339
3383
  i.AddMcDbEntityTypes("LINE,LWPOLYLINE,ELLIPSE,ARC,CIRCLE,SPLINE,XLINE");
3340
- let t = await J.userSelect("\u9009\u62E9\u5BF9\u8C61", i);
3384
+ let t = await $.userSelect("\u9009\u62E9\u5BF9\u8C61", i);
3341
3385
  if (t.length == 0)
3342
3386
  return;
3343
3387
  let e = new bt();
@@ -3358,9 +3402,9 @@ async function yi() {
3358
3402
  }
3359
3403
  }
3360
3404
  async function Ti() {
3361
- let i = new x();
3405
+ let i = new J();
3362
3406
  i.AddMcDbEntityTypes("LINE,LWPOLYLINE,ARC");
3363
- let t = await J.userSelect("\u9009\u62E9\u5BF9\u8C61", i);
3407
+ let t = await $.userSelect("\u9009\u62E9\u5BF9\u8C61", i);
3364
3408
  if (t.length == 0)
3365
3409
  return;
3366
3410
  let e = new bt();
@@ -3381,25 +3425,25 @@ async function Ti() {
3381
3425
  }
3382
3426
  }
3383
3427
  async function Oi() {
3384
- let i = new x();
3428
+ let i = new J();
3385
3429
  i.AddMcDbEntityTypes("INSERT,MTEXT,ROTATEDDIMENSION,ALIGNEDDIMENSION,DIMENSION,LWPOLYLINE");
3386
- let t = await J.userSelect("\u9009\u62E9\u5206\u89E3\u5BF9\u8C61", i);
3430
+ let t = await $.userSelect("\u9009\u62E9\u5206\u89E3\u5BF9\u8C61", i);
3387
3431
  if (t.length == 0)
3388
3432
  return;
3389
3433
  let e = new bt();
3390
3434
  e.copyFormAryId(t), F.App.MxCADAssist.MxExplode(e.imp);
3391
3435
  }
3392
3436
  async function Li() {
3393
- let i = new x();
3437
+ let i = new J();
3394
3438
  i.AddMcDbEntityTypes("LWPOLYLINE,ARC,LINE");
3395
- let t = await J.userSelect("\u9009\u62E9\u8981\u5408\u5E76\u7684\u5BF9\u8C61", i);
3439
+ let t = await $.userSelect("\u9009\u62E9\u8981\u5408\u5E76\u7684\u5BF9\u8C61", i);
3396
3440
  if (t.length == 0)
3397
3441
  return;
3398
3442
  let e = new bt();
3399
3443
  e.copyFormAryId(t), F.App.MxCADAssist.MxJoin(e.imp);
3400
3444
  }
3401
3445
  async function bi() {
3402
- let i = new x();
3446
+ let i = new J();
3403
3447
  i.AddMcDbEntityTypes("LWPOLYLINE,ARC,LINE,CIRCLE");
3404
3448
  let t = new Tt();
3405
3449
  t.setFilter(i), t.setMessage("\u9009\u62E9\u8981\u6253\u65AD\u7684\u5BF9\u8C61");
@@ -3423,7 +3467,7 @@ async function bi() {
3423
3467
  let r = C.getFirstDeriv(B.val);
3424
3468
  if (r.ret != 0)
3425
3469
  return;
3426
- r.val.normalize().mult(R.viewCoordLong2Cad(5));
3470
+ r.val.normalize().mult(S.viewCoordLong2Cad(5));
3427
3471
  let n = B.val.clone();
3428
3472
  n.addvec(r.val);
3429
3473
  let A = B.val.clone();
@@ -3439,8 +3483,8 @@ async function bi() {
3439
3483
  c % 2 == 0 && F.GetCurrentMxCAD().DrawEntity(a);
3440
3484
  }), C.Erase();
3441
3485
  }
3442
- R.on("init", () => {
3443
- R.addCommand("Mx_Erase", CC), R.addCommand("Mx_Copy", mi), R.addCommand("Mx_Move", hi), R.addCommand("Mx_Rotate", ai), R.addCommand("Mx_Scale", ci), R.addCommand("Mx_WindowZoom", gi), R.addCommand("Mx_ZoomE", _i), R.addCommand("Mx_Offset", di), R.addCommand("Mx_Regen", Ii), R.addCommand("Mx_Mirror", Ri), R.addCommand("Mx_Chamfer", Si), R.addCommand("Mx_Fillet", wi), R.addCommand("Mx_Trim", yi), R.addCommand("Mx_Extend", Ti), R.addCommand("Mx_Explode", Oi), R.addCommand("Mx_Join", Li), R.addCommand("Mx_Break", bi);
3486
+ S.on("init", () => {
3487
+ S.addCommand("Mx_Erase", CC), S.addCommand("Mx_Copy", mi), S.addCommand("Mx_Move", hi), S.addCommand("Mx_Rotate", ai), S.addCommand("Mx_Scale", ci), S.addCommand("Mx_WindowZoom", gi), S.addCommand("Mx_ZoomE", _i), S.addCommand("Mx_Offset", di), S.addCommand("Mx_Regen", Ii), S.addCommand("Mx_Mirror", Si), S.addCommand("Mx_Chamfer", Ri), S.addCommand("Mx_Fillet", wi), S.addCommand("Mx_Trim", yi), S.addCommand("Mx_Extend", Ti), S.addCommand("Mx_Explode", Oi), S.addCommand("Mx_Join", Li), S.addCommand("Mx_Break", bi);
3444
3488
  });
3445
3489
  const Pi = async (i, t, e) => {
3446
3490
  const { locateFile: C } = e, E = C(i + ".js");
@@ -3506,25 +3550,25 @@ class Lt {
3506
3550
  this.HEAPU8.set(h, g), this.openFromMemory(a.name, g, h.length, !0), this.displayGround(!0), this.canvas.focus();
3507
3551
  }
3508
3552
  }, c.readAsArrayBuffer(a);
3509
- }, l.mdGeTopo = new Ae(), l.mdGeBRep = new Fe(), Object.assign(this, l, {
3553
+ }, l.mdGeTopo = new Fe(), l.mdGeBRep = new oe(), Object.assign(this, l, {
3510
3554
  MdGeObject: _,
3511
3555
  MdGeShape: u,
3512
3556
  MdGeVertex: pt,
3513
- MdGeEdge: O,
3514
- MdGeWire: P,
3515
- MdGeFace: T,
3557
+ MdGeEdge: L,
3558
+ MdGeWire: G,
3559
+ MdGeFace: O,
3516
3560
  MdGeShell: Yt,
3517
3561
  MdGeSolid: jt,
3518
3562
  MdGeCompSolid: ce,
3519
3563
  MdGeCompound: ge,
3520
3564
  MdGeMat: Ct,
3521
3565
  MdGeXYZ: v,
3522
- MdGeTrsf: St,
3523
- MdGeDir: Y,
3566
+ MdGeTrsf: Rt,
3567
+ MdGeDir: j,
3524
3568
  MdGeAxis: w,
3525
- MdGeCSYSR: b,
3569
+ MdGeCSYSR: P,
3526
3570
  MdGePoint: m,
3527
- MdGeVec: S,
3571
+ MdGeVec: R,
3528
3572
  MdGeAngleDim: iC,
3529
3573
  MdGeArray1OfInteger: Nt,
3530
3574
  MdGeArray1OfPnt: q,
@@ -3535,21 +3579,21 @@ class Lt {
3535
3579
  MdGeBezierSurface: DC,
3536
3580
  MdGeChamfer: BC,
3537
3581
  MdGeCircle: W,
3538
- MdGeCSYS: j,
3582
+ MdGeCSYS: k,
3539
3583
  MdGeCone: it,
3540
3584
  MdGeCylinder: Et,
3541
- MdGePlane: M,
3585
+ MdGePlane: x,
3542
3586
  MdGeDiameterDim: rC,
3543
3587
  MdGeEllipse: ut,
3544
3588
  MdGeExplorer: sC,
3545
3589
  MdGeFillet: nC,
3546
3590
  MdGeHypr: Z,
3547
3591
  MdGeBox: AC,
3548
- MdGeBSplineCurve: xt,
3592
+ MdGeBSplineCurve: te,
3549
3593
  MdGeBSplineSurface: _e,
3550
3594
  MdGeInterpolateBSpl: FC,
3551
3595
  MdGeLengthDim: oC,
3552
- MdGeLine: $,
3596
+ MdGeLine: M,
3553
3597
  MdGeListIteratorOfListOfShape: Xt,
3554
3598
  MdGeListOfShape: uC,
3555
3599
  MdGeLoft: pC,
@@ -3564,14 +3608,14 @@ class Lt {
3564
3608
  MdGeRevol: dC,
3565
3609
  MdGeSphere: Bt,
3566
3610
  MdGeText: IC,
3567
- MdGeTextLabel: RC,
3568
- MdGeTopo: Ae,
3611
+ MdGeTextLabel: SC,
3612
+ MdGeTopo: Fe,
3569
3613
  MdGeTorus: rt,
3570
- MdGeTransform: SC,
3614
+ MdGeTransform: RC,
3571
3615
  MdGeWedge: wC,
3572
3616
  MdGeHGeomSurface: de,
3573
- MdGeHGeomPlane: te,
3574
- MdGeBRep: Fe,
3617
+ MdGeHGeomPlane: ee,
3618
+ MdGeBRep: oe,
3575
3619
  MdGeColor: It,
3576
3620
  MdGeMaterialAspect: yC
3577
3621
  }), Lt.onloadWasmMxDraw3dModel && Lt.onloadWasmMxDraw3dModel(this);
@@ -3633,38 +3677,38 @@ class pt extends u {
3633
3677
  this.imp.Draw();
3634
3678
  }
3635
3679
  }
3636
- class O extends u {
3680
+ class L extends u {
3637
3681
  constructor(t, e) {
3638
3682
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeEdge())) : t instanceof m && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeEdge(t.getImp(), e?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
3639
3683
  }
3640
3684
  Wire() {
3641
- return new P(this.imp.Wire());
3685
+ return new G(this.imp.Wire());
3642
3686
  }
3643
3687
  AddedEdge(t) {
3644
- return new P(this.imp.AddedEdge(t.imp));
3688
+ return new G(this.imp.AddedEdge(t.imp));
3645
3689
  }
3646
3690
  AddedWire(t) {
3647
- return new P(this.imp.AddedWire(t.getImp()));
3691
+ return new G(this.imp.AddedWire(t.getImp()));
3648
3692
  }
3649
3693
  Draw() {
3650
3694
  this.imp.Draw();
3651
3695
  }
3652
3696
  }
3653
- class P extends u {
3697
+ class G extends u {
3654
3698
  constructor(t) {
3655
3699
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeWire())) : super(t);
3656
3700
  }
3657
3701
  AddedEdge(t) {
3658
- return new P(this.imp.AddedEdge(t.getImp()));
3702
+ return new G(this.imp.AddedEdge(t.getImp()));
3659
3703
  }
3660
3704
  AddedWire(t) {
3661
- return new P(this.imp.AddedEdge(t.imp));
3705
+ return new G(this.imp.AddedEdge(t.imp));
3662
3706
  }
3663
3707
  Draw() {
3664
3708
  this.imp.Draw();
3665
3709
  }
3666
3710
  }
3667
- class T extends u {
3711
+ class O extends u {
3668
3712
  constructor(t) {
3669
3713
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeFace())) : super(t);
3670
3714
  }
@@ -3927,7 +3971,7 @@ class v extends _ {
3927
3971
  return new v(this.imp.Subtracted(t.imp));
3928
3972
  }
3929
3973
  }
3930
- class St extends _ {
3974
+ class Rt extends _ {
3931
3975
  constructor(t) {
3932
3976
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeTrsf())) : super(t);
3933
3977
  }
@@ -3974,10 +4018,10 @@ class St extends _ {
3974
4018
  this.imp.Invert();
3975
4019
  }
3976
4020
  Inverted() {
3977
- return new St(this.imp.Inverted());
4021
+ return new Rt(this.imp.Inverted());
3978
4022
  }
3979
4023
  Multiplied(t) {
3980
- return new St(this.imp.Multiplied(t.imp));
4024
+ return new Rt(this.imp.Multiplied(t.imp));
3981
4025
  }
3982
4026
  Multiply(t) {
3983
4027
  this.imp.Multiply(t.imp);
@@ -3989,15 +4033,15 @@ class St extends _ {
3989
4033
  this.imp.Power(t);
3990
4034
  }
3991
4035
  Powered(t) {
3992
- return new St(this.imp.Powered(t));
4036
+ return new Rt(this.imp.Powered(t));
3993
4037
  }
3994
4038
  Transforms(t, e, C) {
3995
4039
  this.imp.Transforms(t, e, C);
3996
4040
  }
3997
4041
  }
3998
- class Y extends _ {
4042
+ class j extends _ {
3999
4043
  constructor(t, e, C) {
4000
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeDir())) : t instanceof S && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGeDir(t.getImp()))) : typeof t == "number" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeDir(t, e, C))) : t instanceof Object && arguments.length == 1 && super(t);
4044
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeDir())) : t instanceof R && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGeDir(t.getImp()))) : typeof t == "number" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeDir(t, e, C))) : t instanceof Object && arguments.length == 1 && super(t);
4001
4045
  }
4002
4046
  SetCoord(t, e, C) {
4003
4047
  arguments.length == 2 ? this.imp.SetCoord(t, e) : this.imp.SetCoord(t, e, C);
@@ -4051,13 +4095,13 @@ class Y extends _ {
4051
4095
  this.imp.Cross(t.imp);
4052
4096
  }
4053
4097
  Crossed(t) {
4054
- return new Y(this.imp.Crossed(t.imp));
4098
+ return new j(this.imp.Crossed(t.imp));
4055
4099
  }
4056
4100
  CrossCross(t, e) {
4057
4101
  this.imp.CrossCross(t.imp, e.imp);
4058
4102
  }
4059
4103
  CrossCrossed(t, e) {
4060
- return new Y(this.imp.CrossCrossed(t.imp, e.imp));
4104
+ return new j(this.imp.CrossCrossed(t.imp, e.imp));
4061
4105
  }
4062
4106
  Dot(t) {
4063
4107
  return this.imp.Dot(t.imp);
@@ -4069,37 +4113,37 @@ class Y extends _ {
4069
4113
  this.imp.Reverse();
4070
4114
  }
4071
4115
  Reversed() {
4072
- return new Y(this.imp.Reversed());
4116
+ return new j(this.imp.Reversed());
4073
4117
  }
4074
4118
  MirrorByVec(t) {
4075
4119
  this.imp.MirrorByVec(t.imp);
4076
4120
  }
4077
4121
  MirroredByVec(t) {
4078
- return new Y(this.imp.MirroredByVec(t.imp));
4122
+ return new j(this.imp.MirroredByVec(t.imp));
4079
4123
  }
4080
4124
  MirrorByAxis(t) {
4081
4125
  this.imp.MirrorByAxis(t.getImp());
4082
4126
  }
4083
4127
  MirroredByAxis(t) {
4084
- return new Y(this.imp.MirroredByAxis(t.getImp()));
4128
+ return new j(this.imp.MirroredByAxis(t.getImp()));
4085
4129
  }
4086
4130
  MirrorByCSYSR(t) {
4087
4131
  this.imp.MirrorByCSYSR(t.getImp());
4088
4132
  }
4089
4133
  MirroredByCSYSR(t) {
4090
- return new Y(this.imp.MirroredByCSYSR(t.getImp()));
4134
+ return new j(this.imp.MirroredByCSYSR(t.getImp()));
4091
4135
  }
4092
4136
  Rotate(t, e) {
4093
4137
  this.imp.Rotate(t.getImp(), e);
4094
4138
  }
4095
4139
  Rotated(t, e) {
4096
- return new Y(this.imp.Rotated(t.getImp(), e));
4140
+ return new j(this.imp.Rotated(t.getImp(), e));
4097
4141
  }
4098
4142
  Transform(t) {
4099
4143
  this.imp.Transform(t.getImp());
4100
4144
  }
4101
4145
  Transformed(t) {
4102
- return new Y(this.imp.Transformed(t.getImp()));
4146
+ return new j(this.imp.Transformed(t.getImp()));
4103
4147
  }
4104
4148
  }
4105
4149
  class w extends _ {
@@ -4107,7 +4151,7 @@ class w extends _ {
4107
4151
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeAxis())) : t instanceof m && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeAxis(t.getImp(), e?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
4108
4152
  }
4109
4153
  Direction() {
4110
- return new Y(this.imp.Direction());
4154
+ return new j(this.imp.Direction());
4111
4155
  }
4112
4156
  Location() {
4113
4157
  return new m(this.imp.Location());
@@ -4119,7 +4163,7 @@ class w extends _ {
4119
4163
  this.imp.SetLocation(t.getImp());
4120
4164
  }
4121
4165
  }
4122
- class b extends _ {
4166
+ class P extends _ {
4123
4167
  constructor(t, e, C) {
4124
4168
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeCSYSR())) : t instanceof m && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeCSYSR(t.getImp(), e?.getImp(), C?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
4125
4169
  }
@@ -4127,13 +4171,13 @@ class b extends _ {
4127
4171
  return new m(this.imp.Origin());
4128
4172
  }
4129
4173
  XDirection() {
4130
- return new Y(this.imp.XDirection());
4174
+ return new j(this.imp.XDirection());
4131
4175
  }
4132
4176
  YDirection() {
4133
- return new Y(this.imp.YDirection());
4177
+ return new j(this.imp.YDirection());
4134
4178
  }
4135
4179
  ZDirection() {
4136
- return new Y(this.imp.ZDirection());
4180
+ return new j(this.imp.ZDirection());
4137
4181
  }
4138
4182
  SetOrigin(t, e, C) {
4139
4183
  t instanceof m && arguments.length == 1 ? this.imp.SetOrigin(t.getImp()) : typeof t == "number" && arguments.length == 3 && this.imp.SetOrigin(t, e, C);
@@ -4163,49 +4207,49 @@ class b extends _ {
4163
4207
  this.imp.MirrorByPoint(t.getImp());
4164
4208
  }
4165
4209
  MirroredByPoint(t) {
4166
- return new b(this.imp.MirroredByPoint(t.getImp()));
4210
+ return new P(this.imp.MirroredByPoint(t.getImp()));
4167
4211
  }
4168
4212
  MirrorByAxis(t) {
4169
4213
  this.imp.MirrorByAxis(t.getImp());
4170
4214
  }
4171
4215
  MirroredByAxis(t) {
4172
- return new b(this.imp.MirroredByAxis(t.getImp()));
4216
+ return new P(this.imp.MirroredByAxis(t.getImp()));
4173
4217
  }
4174
4218
  MirrorByCSYSR(t) {
4175
4219
  this.imp.MirrorByCSYSR(t.imp);
4176
4220
  }
4177
4221
  MirroredByCSYSR(t) {
4178
- return new b(this.imp.MirroredByCSYSR(t.imp));
4222
+ return new P(this.imp.MirroredByCSYSR(t.imp));
4179
4223
  }
4180
4224
  Rotate(t, e) {
4181
4225
  this.imp.Rotate(t.getImp(), e);
4182
4226
  }
4183
4227
  Rotated(t, e) {
4184
- return new b(this.imp.Rotated(t.getImp(), e));
4228
+ return new P(this.imp.Rotated(t.getImp(), e));
4185
4229
  }
4186
4230
  Scale(t, e) {
4187
4231
  this.imp.Scale(t.getImp(), e);
4188
4232
  }
4189
4233
  Scaled(t, e) {
4190
- return new b(this.imp.Scaled(t.getImp(), e));
4234
+ return new P(this.imp.Scaled(t.getImp(), e));
4191
4235
  }
4192
4236
  Transform(t) {
4193
4237
  this.imp.Transform(t.getImp());
4194
4238
  }
4195
4239
  Transformed(t) {
4196
- return new b(this.imp.Transformed(t.getImp()));
4240
+ return new P(this.imp.Transformed(t.getImp()));
4197
4241
  }
4198
4242
  TranslateByVec(t) {
4199
4243
  this.imp.TranslateByVec(t.getImp());
4200
4244
  }
4201
4245
  TranslatedByVec(t) {
4202
- return new b(this.imp.TranslatedByVec(t.getImp()));
4246
+ return new P(this.imp.TranslatedByVec(t.getImp()));
4203
4247
  }
4204
4248
  TranslateBy2Points(t, e) {
4205
4249
  this.imp.TranslateBy2Points(t.getImp(), e.getImp());
4206
4250
  }
4207
4251
  TranslatedBy2Points(t, e) {
4208
- return new b(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
4252
+ return new P(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
4209
4253
  }
4210
4254
  }
4211
4255
  class m extends _ {
@@ -4300,7 +4344,7 @@ class m extends _ {
4300
4344
  return new pt(this.imp.Vertex());
4301
4345
  }
4302
4346
  }
4303
- class S extends _ {
4347
+ class R extends _ {
4304
4348
  constructor(t, e, C) {
4305
4349
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeVec())) : t instanceof m && e instanceof m && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeVec(t.getImp(), e.getImp()))) : typeof t == "number" && typeof e == "number" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeVec(t, e, C))) : t instanceof Object && arguments.length == 1 && super(t);
4306
4350
  }
@@ -4359,31 +4403,31 @@ class S extends _ {
4359
4403
  this.imp.Add(t.imp);
4360
4404
  }
4361
4405
  Added(t) {
4362
- return new S(this.imp.Added(t.imp));
4406
+ return new R(this.imp.Added(t.imp));
4363
4407
  }
4364
4408
  Subtract(t) {
4365
4409
  this.imp.Subtract(t.imp);
4366
4410
  }
4367
4411
  Subtracted(t) {
4368
- return new S(this.imp.Subtracted(t.imp));
4412
+ return new R(this.imp.Subtracted(t.imp));
4369
4413
  }
4370
4414
  Multiply(t) {
4371
4415
  this.imp.Multiply(t);
4372
4416
  }
4373
4417
  Multiplied(t) {
4374
- return new S(this.imp.Multiplied(t));
4418
+ return new R(this.imp.Multiplied(t));
4375
4419
  }
4376
4420
  Divide(t) {
4377
4421
  this.imp.Divide(t);
4378
4422
  }
4379
4423
  Divided(t) {
4380
- return new S(this.imp.Divided(t));
4424
+ return new R(this.imp.Divided(t));
4381
4425
  }
4382
4426
  Cross(t) {
4383
4427
  this.imp.Cross(t.imp);
4384
4428
  }
4385
4429
  Crossed(t) {
4386
- return new S(this.imp.Crossed(t.imp));
4430
+ return new R(this.imp.Crossed(t.imp));
4387
4431
  }
4388
4432
  CrossMagnitude(t) {
4389
4433
  return this.imp.CrossMagnitude(t.imp);
@@ -4395,7 +4439,7 @@ class S extends _ {
4395
4439
  this.imp.CrossCross(t.imp, e.imp);
4396
4440
  }
4397
4441
  CrossCrossed(t, e) {
4398
- return new S(this.imp.CrossCrossed(t.imp, e.imp));
4442
+ return new R(this.imp.CrossCrossed(t.imp, e.imp));
4399
4443
  }
4400
4444
  Dot(t) {
4401
4445
  return this.imp.Dot(t.imp);
@@ -4407,57 +4451,57 @@ class S extends _ {
4407
4451
  this.imp.Normalize();
4408
4452
  }
4409
4453
  Normalized() {
4410
- return new S(this.imp.Normalized());
4454
+ return new R(this.imp.Normalized());
4411
4455
  }
4412
4456
  Reverse() {
4413
4457
  this.imp.Reverse();
4414
4458
  }
4415
4459
  Reversed() {
4416
- return new S(this.imp.Reversed());
4460
+ return new R(this.imp.Reversed());
4417
4461
  }
4418
4462
  SetLinearForm(t, e, C, E, D, B, r) {
4419
- t instanceof S && e instanceof S && arguments.length == 2 ? this.imp.SetLinearForm(t.imp, e.imp) : typeof t == "number" && e instanceof S && C instanceof S && arguments.length == 3 ? this.imp.SetLinearForm(t, e.imp, C.imp) : typeof t == "number" && e instanceof S && typeof C == "number" && E instanceof S && arguments.length == 4 ? this.imp.SetLinearForm(t, e.imp, C, E.imp) : typeof t == "number" && e instanceof S && typeof C == "number" && E instanceof S && D instanceof S && arguments.length == 5 ? this.imp.SetLinearForm(t, e.imp, C, E.imp, D.imp) : typeof t == "number" && e instanceof S && typeof C == "number" && E instanceof S && typeof D == "number" && B instanceof S && arguments.length == 6 ? this.imp.SetLinearForm(t, e.imp, C, E.imp, D, B.imp) : typeof t == "number" && e instanceof S && typeof C == "number" && E instanceof S && typeof D == "number" && B instanceof S && r instanceof S && this.imp.SetLinearForm(t, e.imp, C, E.imp, D, B.imp, r.imp);
4463
+ t instanceof R && e instanceof R && arguments.length == 2 ? this.imp.SetLinearForm(t.imp, e.imp) : typeof t == "number" && e instanceof R && C instanceof R && arguments.length == 3 ? this.imp.SetLinearForm(t, e.imp, C.imp) : typeof t == "number" && e instanceof R && typeof C == "number" && E instanceof R && arguments.length == 4 ? this.imp.SetLinearForm(t, e.imp, C, E.imp) : typeof t == "number" && e instanceof R && typeof C == "number" && E instanceof R && D instanceof R && arguments.length == 5 ? this.imp.SetLinearForm(t, e.imp, C, E.imp, D.imp) : typeof t == "number" && e instanceof R && typeof C == "number" && E instanceof R && typeof D == "number" && B instanceof R && arguments.length == 6 ? this.imp.SetLinearForm(t, e.imp, C, E.imp, D, B.imp) : typeof t == "number" && e instanceof R && typeof C == "number" && E instanceof R && typeof D == "number" && B instanceof R && r instanceof R && this.imp.SetLinearForm(t, e.imp, C, E.imp, D, B.imp, r.imp);
4420
4464
  }
4421
4465
  MirrorByVec(t) {
4422
4466
  this.imp.MirrorByVec(t.imp);
4423
4467
  }
4424
4468
  MirroredByVec(t) {
4425
- return new S(this.imp.MirroredByVec(t.imp));
4469
+ return new R(this.imp.MirroredByVec(t.imp));
4426
4470
  }
4427
4471
  MirrorByAxis(t) {
4428
4472
  this.imp.MirrorByAxis(t.getImp());
4429
4473
  }
4430
4474
  MirroredByAxis(t) {
4431
- return new S(this.imp.MirroredByAxis(t.getImp()));
4475
+ return new R(this.imp.MirroredByAxis(t.getImp()));
4432
4476
  }
4433
4477
  MirrorByCSYSR(t) {
4434
4478
  this.imp.MirrorByCSYSR(t.getImp());
4435
4479
  }
4436
4480
  MirroredByCSYSR(t) {
4437
- return new S(this.imp.MirroredByCSYSR(t.getImp()));
4481
+ return new R(this.imp.MirroredByCSYSR(t.getImp()));
4438
4482
  }
4439
4483
  Rotate(t, e) {
4440
4484
  this.imp.Rotate(t.getImp(), e);
4441
4485
  }
4442
4486
  Rotated(t, e) {
4443
- return new S(this.imp.Rotated(t.getImp(), e));
4487
+ return new R(this.imp.Rotated(t.getImp(), e));
4444
4488
  }
4445
4489
  Scale(t) {
4446
4490
  this.imp.Scale(t);
4447
4491
  }
4448
4492
  Scaled(t) {
4449
- return new S(this.imp.Scaled(t));
4493
+ return new R(this.imp.Scaled(t));
4450
4494
  }
4451
4495
  Transform(t) {
4452
4496
  this.imp.Transform(t.getImp());
4453
4497
  }
4454
4498
  Transformed(t) {
4455
- return new S(this.imp.Transformed(t.getImp()));
4499
+ return new R(this.imp.Transformed(t.getImp()));
4456
4500
  }
4457
4501
  }
4458
4502
  class iC extends _ {
4459
4503
  constructor(t, e, C) {
4460
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeAngleDim())) : t instanceof O && e instanceof O && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeAngleDim(t.getImp(), e.getImp()))) : t instanceof m && e instanceof m && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeAngleDim(t.getImp(), e.getImp(), C?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
4504
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeAngleDim())) : t instanceof L && e instanceof L && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeAngleDim(t.getImp(), e.getImp()))) : t instanceof m && e instanceof m && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeAngleDim(t.getImp(), e.getImp(), C?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
4461
4505
  }
4462
4506
  FirstPoint() {
4463
4507
  return new m(this.imp.FirstPoint());
@@ -4478,7 +4522,7 @@ class iC extends _ {
4478
4522
  return new u(this.imp.ThirdShape());
4479
4523
  }
4480
4524
  SetMeasuredGeometry(t, e, C) {
4481
- t instanceof T && arguments.length == 1 ? this.imp.SetMeasuredGeometry(t.getImp()) : t instanceof O && e instanceof O && arguments.length == 2 ? this.imp.SetMeasuredGeometry(t.getImp(), e.getImp()) : t instanceof m && e instanceof m && arguments.length == 3 && this.imp.SetMeasuredGeometry(t.getImp(), e.getImp(), C?.getImp());
4525
+ t instanceof O && arguments.length == 1 ? this.imp.SetMeasuredGeometry(t.getImp()) : t instanceof L && e instanceof L && arguments.length == 2 ? this.imp.SetMeasuredGeometry(t.getImp(), e.getImp()) : t instanceof m && e instanceof m && arguments.length == 3 && this.imp.SetMeasuredGeometry(t.getImp(), e.getImp(), C?.getImp());
4482
4526
  }
4483
4527
  SetTextPosition(t) {
4484
4528
  this.imp.SetTextPosition(t.getImp());
@@ -4487,7 +4531,7 @@ class iC extends _ {
4487
4531
  return new m(this.imp.GetTextPosition());
4488
4532
  }
4489
4533
  GetNormalForMinAngle() {
4490
- return new Y(this.imp.GetNormalForMinAngle());
4534
+ return new j(this.imp.GetNormalForMinAngle());
4491
4535
  }
4492
4536
  GetCenterOnArc(t, e, C) {
4493
4537
  return new m(this.imp.GetCenterOnArc(t.getImp(), e.getImp(), C.getImp()));
@@ -4778,7 +4822,7 @@ class EC extends _ {
4778
4822
  return this.imp.Degree();
4779
4823
  }
4780
4824
  DN(t, e) {
4781
- return new S(this.imp.DN(t, e));
4825
+ return new R(this.imp.DN(t, e));
4782
4826
  }
4783
4827
  StartPoint() {
4784
4828
  return new m(this.imp.StartPoint());
@@ -4817,10 +4861,10 @@ class EC extends _ {
4817
4861
  return new u(this.imp.Shape());
4818
4862
  }
4819
4863
  Edge() {
4820
- return new O(this.imp.Edge());
4864
+ return new L(this.imp.Edge());
4821
4865
  }
4822
4866
  Wire() {
4823
- return new P(this.imp.Wire());
4867
+ return new G(this.imp.Wire());
4824
4868
  }
4825
4869
  }
4826
4870
  class DC extends _ {
@@ -4888,7 +4932,7 @@ class DC extends _ {
4888
4932
  return this.imp.Continuity();
4889
4933
  }
4890
4934
  DN(t, e, C, E) {
4891
- return new S(this.imp.DN(t, e, C, E));
4935
+ return new R(this.imp.DN(t, e, C, E));
4892
4936
  }
4893
4937
  NbUPoles() {
4894
4938
  return this.imp.NbUPoles();
@@ -4948,7 +4992,7 @@ class DC extends _ {
4948
4992
  return new u(this.imp.Shape());
4949
4993
  }
4950
4994
  Face() {
4951
- return new T(this.imp.Face());
4995
+ return new O(this.imp.Face());
4952
4996
  }
4953
4997
  }
4954
4998
  class BC extends _ {
@@ -4956,9 +5000,9 @@ class BC extends _ {
4956
5000
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeChamfer())) : t instanceof u ? (super(), this.initTempObject(new s.MdGeChamfer(t.getImp()))) : t instanceof Object && super(t);
4957
5001
  }
4958
5002
  Add(t, e, C, E) {
4959
- if (t instanceof O && arguments.length == 1)
5003
+ if (t instanceof L && arguments.length == 1)
4960
5004
  return this.imp.Add(t.getImp());
4961
- if (typeof t == "number" && e instanceof O && arguments.length == 2)
5005
+ if (typeof t == "number" && e instanceof L && arguments.length == 2)
4962
5006
  return this.imp.Add(t, e.getImp());
4963
5007
  if (typeof t == "number" && typeof e == "number" && arguments.length == 4)
4964
5008
  return this.imp.Add(t, e, C?.getImp(), E?.getImp());
@@ -5009,7 +5053,7 @@ class BC extends _ {
5009
5053
  return this.imp.NbEdges(t);
5010
5054
  }
5011
5055
  Edge(t, e) {
5012
- return new O(this.imp.Edge(t, e));
5056
+ return new L(this.imp.Edge(t, e));
5013
5057
  }
5014
5058
  Remove(t) {
5015
5059
  this.imp.Remove(t.getImp());
@@ -5050,7 +5094,7 @@ class BC extends _ {
5050
5094
  }
5051
5095
  class W extends _ {
5052
5096
  constructor(t, e) {
5053
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeCircle())) : t instanceof b && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeCircle(t.getImp(), e))) : t instanceof Object && arguments.length == 1 && super(t);
5097
+ 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);
5054
5098
  }
5055
5099
  SetAxis(t) {
5056
5100
  this.imp.SetAxis(t.getImp());
@@ -5077,7 +5121,7 @@ class W extends _ {
5077
5121
  return new m(this.imp.Location());
5078
5122
  }
5079
5123
  Position() {
5080
- return new b(this.imp.Position());
5124
+ return new P(this.imp.Position());
5081
5125
  }
5082
5126
  Radius() {
5083
5127
  return this.imp.Radius();
@@ -5149,13 +5193,13 @@ class W extends _ {
5149
5193
  return new u(this.imp.Shape());
5150
5194
  }
5151
5195
  Edge(t, e) {
5152
- return arguments.length == 2 ? new O(this.imp.Edge(t, e)) : new O(this.imp.Edge());
5196
+ return arguments.length == 2 ? new L(this.imp.Edge(t, e)) : new L(this.imp.Edge());
5153
5197
  }
5154
5198
  Wire() {
5155
- return new P(this.imp.Wire());
5199
+ return new G(this.imp.Wire());
5156
5200
  }
5157
5201
  }
5158
- class j extends _ {
5202
+ class k extends _ {
5159
5203
  constructor(t, e, C) {
5160
5204
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeCSYS())) : t instanceof m && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeCSYS(t.getImp(), e?.getImp()))) : t instanceof m && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeCSYS(t.getImp(), e?.getImp(), C?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
5161
5205
  }
@@ -5190,19 +5234,19 @@ class j extends _ {
5190
5234
  return new w(this.imp.ZAxis());
5191
5235
  }
5192
5236
  CSYSR() {
5193
- return new b(this.imp.CSYSR());
5237
+ return new P(this.imp.CSYSR());
5194
5238
  }
5195
5239
  ZDirection() {
5196
- return new Y(this.imp.ZDirection());
5240
+ return new j(this.imp.ZDirection());
5197
5241
  }
5198
5242
  Origin() {
5199
5243
  return new m(this.imp.Origin());
5200
5244
  }
5201
5245
  XDirection() {
5202
- return new Y(this.imp.XDirection());
5246
+ return new j(this.imp.XDirection());
5203
5247
  }
5204
5248
  YDirection() {
5205
- return new Y(this.imp.YDirection());
5249
+ return new j(this.imp.YDirection());
5206
5250
  }
5207
5251
  Direct() {
5208
5252
  return this.imp.Direct();
@@ -5217,54 +5261,54 @@ class j extends _ {
5217
5261
  this.imp.MirrorByPoint(t.getImp());
5218
5262
  }
5219
5263
  MirroredByPoint(t) {
5220
- return new j(this.imp.MirroredByPoint(t.getImp()));
5264
+ return new k(this.imp.MirroredByPoint(t.getImp()));
5221
5265
  }
5222
5266
  MirrorByAxis(t) {
5223
5267
  this.imp.MirrorByAxis(t.getImp());
5224
5268
  }
5225
5269
  MirroredByAxis(t) {
5226
- return new j(this.imp.MirroredByAxis(t.getImp()));
5270
+ return new k(this.imp.MirroredByAxis(t.getImp()));
5227
5271
  }
5228
5272
  MirrorByCSYSR(t) {
5229
5273
  this.imp.MirrorByCSYSR(t.getImp());
5230
5274
  }
5231
5275
  MirroredByCSYSR(t) {
5232
- return new j(t.getImp());
5276
+ return new k(t.getImp());
5233
5277
  }
5234
5278
  Rotate(t, e) {
5235
5279
  this.imp.Rotate(t.getImp(), e);
5236
5280
  }
5237
5281
  Rotated(t, e) {
5238
- return new j(this.imp.Rotated(t.getImp(), e));
5282
+ return new k(this.imp.Rotated(t.getImp(), e));
5239
5283
  }
5240
5284
  Scale(t, e) {
5241
5285
  this.imp.Scale(t.getImp(), e);
5242
5286
  }
5243
5287
  Scaled(t, e) {
5244
- return new j(this.imp.Scaled(t.getImp(), e));
5288
+ return new k(this.imp.Scaled(t.getImp(), e));
5245
5289
  }
5246
5290
  Transform(t) {
5247
5291
  this.imp.Transform(t.getImp());
5248
5292
  }
5249
5293
  Transformed(t) {
5250
- return new j(this.imp.Transformed(t.getImp()));
5294
+ return new k(this.imp.Transformed(t.getImp()));
5251
5295
  }
5252
5296
  TranslateByVec(t) {
5253
5297
  this.imp.TranslateByVec(t.getImp());
5254
5298
  }
5255
5299
  TranslatedByVec(t) {
5256
- return new j(this.imp.TranslatedByVec(t.getImp()));
5300
+ return new k(this.imp.TranslatedByVec(t.getImp()));
5257
5301
  }
5258
5302
  TranslateBy2Points(t, e) {
5259
5303
  this.imp.TranslateBy2Points(t.getImp(), e.getImp());
5260
5304
  }
5261
5305
  TranslatedBy2Points(t, e) {
5262
- return new j(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
5306
+ return new k(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
5263
5307
  }
5264
5308
  }
5265
5309
  class it extends _ {
5266
5310
  constructor(t, e, C) {
5267
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeCone())) : t instanceof j && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeCone(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
5311
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeCone())) : t instanceof k && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeCone(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
5268
5312
  }
5269
5313
  SetAxis(t) {
5270
5314
  this.imp.SetAxis(t.getImp());
@@ -5300,7 +5344,7 @@ class it extends _ {
5300
5344
  return new m(this.imp.Location());
5301
5345
  }
5302
5346
  Position() {
5303
- return new j(this.imp.Position());
5347
+ return new k(this.imp.Position());
5304
5348
  }
5305
5349
  RefRadius() {
5306
5350
  return this.imp.RefRadius();
@@ -5366,12 +5410,12 @@ class it extends _ {
5366
5410
  return arguments.length == 1 ? new u(this.imp.Shape(t)) : new u(this.imp.Shape(t, e));
5367
5411
  }
5368
5412
  Face(t, e, C, E) {
5369
- return t instanceof P && arguments.length == 1 ? new T(this.imp.Face(t.getImp())) : t instanceof P && typeof e == "boolean" && arguments.length == 2 ? new T(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new T(this.imp.Face(t, e, C, E)) : new T(this.imp.Face());
5413
+ return t instanceof G && arguments.length == 1 ? new O(this.imp.Face(t.getImp())) : t instanceof G && typeof e == "boolean" && arguments.length == 2 ? new O(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new O(this.imp.Face(t, e, C, E)) : new O(this.imp.Face());
5370
5414
  }
5371
5415
  }
5372
5416
  class Et extends _ {
5373
5417
  constructor(t, e) {
5374
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeCylinder())) : t instanceof j && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeCylinder(t.getImp(), e))) : t instanceof Object && arguments.length == 1 && super(t);
5418
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeCylinder())) : t instanceof k && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeCylinder(t.getImp(), e))) : t instanceof Object && arguments.length == 1 && super(t);
5375
5419
  }
5376
5420
  SetAxis(t) {
5377
5421
  this.imp.SetAxis(t.getImp());
@@ -5401,7 +5445,7 @@ class Et extends _ {
5401
5445
  return new m(this.imp.Location());
5402
5446
  }
5403
5447
  Position() {
5404
- return new j(this.imp.Position());
5448
+ return new k(this.imp.Position());
5405
5449
  }
5406
5450
  Radius() {
5407
5451
  return this.imp.Radius();
@@ -5464,12 +5508,12 @@ class Et extends _ {
5464
5508
  return arguments.length == 1 ? new u(this.imp.Shape(t)) : new u(this.imp.Shape(t, e));
5465
5509
  }
5466
5510
  Face(t, e, C, E) {
5467
- return t instanceof P && arguments.length == 1 ? new T(this.imp.Face(t.getImp())) : t instanceof P && typeof e == "boolean" && arguments.length == 2 ? new T(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new T(this.imp.Face(t, e, C, E)) : new T(this.imp.Face());
5511
+ return t instanceof G && arguments.length == 1 ? new O(this.imp.Face(t.getImp())) : t instanceof G && typeof e == "boolean" && arguments.length == 2 ? new O(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new O(this.imp.Face(t, e, C, E)) : new O(this.imp.Face());
5468
5512
  }
5469
5513
  }
5470
- class M extends _ {
5514
+ class x extends _ {
5471
5515
  constructor(t, e, C, E) {
5472
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePlane())) : t instanceof j && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGePlane(t.getImp()))) : t instanceof m && e instanceof Y && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGePlane(t.getImp(), e.getImp()))) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGePlane(t, e, C, E))) : t instanceof Object && arguments.length == 1 && super(t);
5516
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePlane())) : t instanceof k && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGePlane(t.getImp()))) : t instanceof m && e instanceof j && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGePlane(t.getImp(), e.getImp()))) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGePlane(t, e, C, E))) : t instanceof Object && arguments.length == 1 && super(t);
5473
5517
  }
5474
5518
  SetAxis(t) {
5475
5519
  this.imp.SetAxis(t.getImp());
@@ -5496,7 +5540,7 @@ class M extends _ {
5496
5540
  return new m(this.imp.Location());
5497
5541
  }
5498
5542
  Position() {
5499
- return new j(this.imp.Position());
5543
+ return new k(this.imp.Position());
5500
5544
  }
5501
5545
  DistanceToPoint(t) {
5502
5546
  return this.imp.DistanceToPoint(t.getImp());
@@ -5523,52 +5567,52 @@ class M extends _ {
5523
5567
  this.imp.MirrorByPoint(t.getImp());
5524
5568
  }
5525
5569
  MirroredByPoint(t) {
5526
- return new M(this.imp.MirroredByPoint(t.getImp()));
5570
+ return new x(this.imp.MirroredByPoint(t.getImp()));
5527
5571
  }
5528
5572
  MirrorByAxis(t) {
5529
5573
  this.imp.MirrorByAxis(t.getImp());
5530
5574
  }
5531
5575
  MirroredByAxis(t) {
5532
- return new M(this.imp.MirroredByAxis(t.getImp()));
5576
+ return new x(this.imp.MirroredByAxis(t.getImp()));
5533
5577
  }
5534
5578
  MirrorByCSYSR(t) {
5535
5579
  this.imp.MirrorByCSYSR(t.getImp());
5536
5580
  }
5537
5581
  MirroredByCSYSR(t) {
5538
- return new M(this.imp.MirroredByCSYSR(t.getImp()));
5582
+ return new x(this.imp.MirroredByCSYSR(t.getImp()));
5539
5583
  }
5540
5584
  Rotate(t, e) {
5541
5585
  this.imp.Rotate(t.getImp(), e);
5542
5586
  }
5543
5587
  Rotated(t, e) {
5544
- return new M(this.imp.Rotated(t.getImp(), e));
5588
+ return new x(this.imp.Rotated(t.getImp(), e));
5545
5589
  }
5546
5590
  Scale(t, e) {
5547
5591
  this.imp.Scale(t.getImp(), e);
5548
5592
  }
5549
5593
  Scaled(t, e) {
5550
- return new M(this.imp.Scaled(t.getImp(), e));
5594
+ return new x(this.imp.Scaled(t.getImp(), e));
5551
5595
  }
5552
5596
  Transform(t) {
5553
5597
  this.imp.Transform(t.getImp());
5554
5598
  }
5555
5599
  Transformed(t) {
5556
- return new M(this.imp.Transformed(t.getImp()));
5600
+ return new x(this.imp.Transformed(t.getImp()));
5557
5601
  }
5558
5602
  TranslateByVec(t) {
5559
5603
  this.imp.TranslateByVec(t.getImp());
5560
5604
  }
5561
5605
  TranslatedByVec(t) {
5562
- return new M(this.imp.TranslatedByVec(t.getImp()));
5606
+ return new x(this.imp.TranslatedByVec(t.getImp()));
5563
5607
  }
5564
5608
  TranslateBy2Points(t, e) {
5565
5609
  this.imp.TranslateBy2Points(t.getImp(), e.getImp());
5566
5610
  }
5567
5611
  TranslatedBy2Points(t, e) {
5568
- return new M(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
5612
+ return new x(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
5569
5613
  }
5570
5614
  Face(t, e, C, E) {
5571
- return t instanceof P && arguments.length == 1 ? new T(this.imp.Face(t.getImp())) : t instanceof P && typeof e == "boolean" && arguments.length == 2 ? new T(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new T(this.imp.Face(t, e, C, E)) : new T(this.imp.Face());
5615
+ return t instanceof G && arguments.length == 1 ? new O(this.imp.Face(t.getImp())) : t instanceof G && typeof e == "boolean" && arguments.length == 2 ? new O(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new O(this.imp.Face(t, e, C, E)) : new O(this.imp.Face());
5572
5616
  }
5573
5617
  }
5574
5618
  class rC extends _ {
@@ -5599,7 +5643,7 @@ class rC extends _ {
5599
5643
  }
5600
5644
  class ut extends _ {
5601
5645
  constructor(t, e, C) {
5602
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeEllipse())) : t instanceof b && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeEllipse(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
5646
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeEllipse())) : t instanceof P && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeEllipse(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
5603
5647
  }
5604
5648
  SetAxis(t) {
5605
5649
  this.imp.SetAxis(t.getImp());
@@ -5653,7 +5697,7 @@ class ut extends _ {
5653
5697
  return this.imp.Parameter();
5654
5698
  }
5655
5699
  Position() {
5656
- return new b(this.imp.Position());
5700
+ return new P(this.imp.Position());
5657
5701
  }
5658
5702
  XAxis() {
5659
5703
  return new w(this.imp.XAxis());
@@ -5701,13 +5745,13 @@ class ut extends _ {
5701
5745
  return new u(this.imp.Shape());
5702
5746
  }
5703
5747
  Wire() {
5704
- return new P(this.imp.Wire());
5748
+ return new G(this.imp.Wire());
5705
5749
  }
5706
5750
  Edge(t, e) {
5707
- return arguments.length == 2 ? new O(this.imp.Edge(t, e)) : new O(this.imp.Edge());
5751
+ return arguments.length == 2 ? new L(this.imp.Edge(t, e)) : new L(this.imp.Edge());
5708
5752
  }
5709
5753
  }
5710
- var ne;
5754
+ var Ae;
5711
5755
  ((i) => {
5712
5756
  ((t) => {
5713
5757
  t[t.Enum_COMPOUND = 0] = "Enum_COMPOUND", t[t.Enum_COMPSOLID = 1] = "Enum_COMPSOLID", t[t.Enum_SOLID = 2] = "Enum_SOLID", t[t.Enum_SHELL = 3] = "Enum_SHELL", t[t.Enum_FACE = 4] = "Enum_FACE", t[t.Enum_WIRE = 5] = "Enum_WIRE", t[t.Enum_EDGE = 6] = "Enum_EDGE", t[t.Enum_VERTEX = 7] = "Enum_VERTEX", t[t.Enum_SHAPE = 8] = "Enum_SHAPE";
@@ -5744,7 +5788,7 @@ var ne;
5744
5788
  })(i.MxTypeOfColor || (i.MxTypeOfColor = {})), ((t) => {
5745
5789
  t[t.DM_WireFrame = 0] = "DM_WireFrame", t[t.DM_Shaded = 1] = "DM_Shaded";
5746
5790
  })(i.MxDisplayMode || (i.MxDisplayMode = {}));
5747
- })(ne || (ne = {}));
5791
+ })(Ae || (Ae = {}));
5748
5792
  class sC extends _ {
5749
5793
  constructor(t, e, C) {
5750
5794
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeExplorer())) : t instanceof u && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeExplorer(t.getImp(), e))) : t instanceof u && arguments.length == 3 && (super(), this.initTempObject(new s.MdGeExplorer(t.getImp(), e, C)));
@@ -5785,7 +5829,7 @@ class nC extends _ {
5785
5829
  this.imp.SetParams(t, e, C, E, D, B);
5786
5830
  }
5787
5831
  Add(t, e, C) {
5788
- t instanceof O && arguments.length == 1 ? this.imp.Add(t.getImp()) : typeof t == "number" && e instanceof O && arguments.length == 2 ? this.imp.Add(t, e.getImp()) : typeof t == "number" && typeof e == "number" && arguments.length == 3 && this.imp.Add(t, e, C?.getImp());
5832
+ t instanceof L && arguments.length == 1 ? this.imp.Add(t.getImp()) : typeof t == "number" && e instanceof L && arguments.length == 2 ? this.imp.Add(t, e.getImp()) : typeof t == "number" && typeof e == "number" && arguments.length == 3 && this.imp.Add(t, e, C?.getImp());
5789
5833
  }
5790
5834
  SetRadius(t, e, C, E) {
5791
5835
  arguments.length == 3 ? this.imp.SetRadius(t, e, C) : this.imp.SetRadius(t, e, C, E);
@@ -5821,7 +5865,7 @@ class nC extends _ {
5821
5865
  return this.imp.NbEdges(t);
5822
5866
  }
5823
5867
  Edge(t, e) {
5824
- return new O(this.imp.Edge(t, e));
5868
+ return new L(this.imp.Edge(t, e));
5825
5869
  }
5826
5870
  Remove(t) {
5827
5871
  this.imp.Remove(t.getImp());
@@ -5886,7 +5930,7 @@ class nC extends _ {
5886
5930
  }
5887
5931
  class Z extends _ {
5888
5932
  constructor(t, e, C) {
5889
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeHypr())) : t instanceof b && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeHypr(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
5933
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeHypr())) : t instanceof P && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeHypr(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
5890
5934
  }
5891
5935
  SetAxis(t) {
5892
5936
  this.imp.SetAxis(t.getImp());
@@ -5952,7 +5996,7 @@ class Z extends _ {
5952
5996
  return this.imp.Parameter();
5953
5997
  }
5954
5998
  Position() {
5955
- return new b(this.imp.Position());
5999
+ return new P(this.imp.Position());
5956
6000
  }
5957
6001
  XAxis() {
5958
6002
  return new w(this.imp.XAxis());
@@ -6012,18 +6056,18 @@ class Z extends _ {
6012
6056
  return new u(this.imp.Shape());
6013
6057
  }
6014
6058
  Wire() {
6015
- return new P(this.imp.Wire());
6059
+ return new G(this.imp.Wire());
6016
6060
  }
6017
6061
  Edge(t, e) {
6018
- return arguments.length == 2 ? new O(this.imp.Edge(t, e)) : new O(this.imp.Edge());
6062
+ return arguments.length == 2 ? new L(this.imp.Edge(t, e)) : new L(this.imp.Edge());
6019
6063
  }
6020
6064
  }
6021
6065
  class AC extends _ {
6022
6066
  constructor(t, e, C, E) {
6023
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBox())) : t instanceof m && e instanceof m && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeBox(t.getImp(), e.getImp()))) : typeof t == "number" && typeof e == "number" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeBox(t, e, C))) : t instanceof b && typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeBox(t.getImp(), e, C, E))) : t instanceof Object && arguments.length == 1 && super(t);
6067
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeBox())) : t instanceof m && e instanceof m && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeBox(t.getImp(), e.getImp()))) : typeof t == "number" && typeof e == "number" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeBox(t, e, C))) : t instanceof P && typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeBox(t.getImp(), e, C, E))) : t instanceof Object && arguments.length == 1 && super(t);
6024
6068
  }
6025
6069
  Init(t, e, C, E) {
6026
- t instanceof m && e instanceof m && arguments.length == 2 ? this.imp.Init(t.getImp(), e.getImp()) : typeof t == "number" && typeof e == "number" && arguments.length == 3 ? this.imp.Init(t, e, C) : t instanceof b && typeof e == "number" && arguments.length == 4 && this.imp.Init(t.getImp(), e, C, E);
6070
+ t instanceof m && e instanceof m && arguments.length == 2 ? this.imp.Init(t.getImp(), e.getImp()) : typeof t == "number" && typeof e == "number" && arguments.length == 3 ? this.imp.Init(t, e, C) : t instanceof P && typeof e == "number" && arguments.length == 4 && this.imp.Init(t.getImp(), e, C, E);
6027
6071
  }
6028
6072
  Shape() {
6029
6073
  return new u(this.imp.Shape());
@@ -6035,25 +6079,25 @@ class AC extends _ {
6035
6079
  return new jt(this.imp.Solid());
6036
6080
  }
6037
6081
  BottomFace() {
6038
- return new T(this.imp.BottomFace());
6082
+ return new O(this.imp.BottomFace());
6039
6083
  }
6040
6084
  BackFace() {
6041
- return new T(this.imp.BackFace());
6085
+ return new O(this.imp.BackFace());
6042
6086
  }
6043
6087
  FrontFace() {
6044
- return new T(this.imp.FrontFace());
6088
+ return new O(this.imp.FrontFace());
6045
6089
  }
6046
6090
  LeftFace() {
6047
- return new T(this.imp.LeftFace());
6091
+ return new O(this.imp.LeftFace());
6048
6092
  }
6049
6093
  RightFace() {
6050
- return new T(this.imp.RightFace());
6094
+ return new O(this.imp.RightFace());
6051
6095
  }
6052
6096
  TopFace() {
6053
- return new T(this.imp.TopFace());
6097
+ return new O(this.imp.TopFace());
6054
6098
  }
6055
6099
  }
6056
- class xt extends _ {
6100
+ class te extends _ {
6057
6101
  constructor(t, e, C, E, D) {
6058
6102
  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(), E))) : t instanceof q && arguments.length == 5 ? (super(), this.initTempObject(new s.MdGeBSplineCurve(t.getImp(), e?.getImp(), C?.getImp(), E, D))) : t instanceof Object && arguments.length == 1 && super(t);
6059
6103
  }
@@ -6124,13 +6168,13 @@ class xt extends _ {
6124
6168
  return this.imp.Degree();
6125
6169
  }
6126
6170
  DN(t, e) {
6127
- return new S(this.imp.DN(t, e));
6171
+ return new R(this.imp.DN(t, e));
6128
6172
  }
6129
6173
  LocalValue(t, e, C) {
6130
6174
  return new m(this.imp.LocalValue(t, e, C));
6131
6175
  }
6132
6176
  LocalDN(t, e, C, E) {
6133
- return new S(this.imp.LocalDN(t, e, C, E));
6177
+ return new R(this.imp.LocalDN(t, e, C, E));
6134
6178
  }
6135
6179
  EndPoint() {
6136
6180
  return new m(this.imp.EndPoint());
@@ -6190,10 +6234,10 @@ class xt extends _ {
6190
6234
  return new u(this.imp.Shape());
6191
6235
  }
6192
6236
  Edge() {
6193
- return new O(this.imp.Edge());
6237
+ return new L(this.imp.Edge());
6194
6238
  }
6195
6239
  Wire() {
6196
- return new P(this.imp.Wire());
6240
+ return new G(this.imp.Wire());
6197
6241
  }
6198
6242
  }
6199
6243
  class _e extends _ {
@@ -6393,10 +6437,10 @@ class _e extends _ {
6393
6437
  return new kt(this.imp.Weights());
6394
6438
  }
6395
6439
  DN(t, e, C, E) {
6396
- return new S(this.imp.DN(t, e, C, E));
6440
+ return new R(this.imp.DN(t, e, C, E));
6397
6441
  }
6398
6442
  LocalDN(t, e, C, E, D, B, r, n) {
6399
- return new S(this.imp.LocalDN(t, e, C, E, D, B, r, n));
6443
+ return new R(this.imp.LocalDN(t, e, C, E, D, B, r, n));
6400
6444
  }
6401
6445
  LocalValue(t, e, C, E, D, B) {
6402
6446
  return new m(this.imp.LocalValue(t, e, C, E, D, B));
@@ -6411,7 +6455,7 @@ class _e extends _ {
6411
6455
  return new u(this.imp.Shape());
6412
6456
  }
6413
6457
  Face() {
6414
- return new T(this.imp.Face());
6458
+ return new O(this.imp.Face());
6415
6459
  }
6416
6460
  }
6417
6461
  class FC extends _ {
@@ -6425,7 +6469,7 @@ class FC extends _ {
6425
6469
  this.imp.Perform();
6426
6470
  }
6427
6471
  Curve() {
6428
- return new xt(this.imp.Curve());
6472
+ return new te(this.imp.Curve());
6429
6473
  }
6430
6474
  IsDone() {
6431
6475
  return this.imp.IsDone();
@@ -6433,7 +6477,7 @@ class FC extends _ {
6433
6477
  }
6434
6478
  class oC extends _ {
6435
6479
  constructor(t, e, C) {
6436
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeLengthDim())) : t instanceof O && e instanceof M && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeLengthDim(t.getImp(), e.getImp()))) : t instanceof m && e instanceof m && C instanceof M ? (super(), this.initTempObject(new s.MdGeLengthDim(t.getImp(), e.getImp(), C.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
6480
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeLengthDim())) : t instanceof L && e instanceof x && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeLengthDim(t.getImp(), e.getImp()))) : t instanceof m && e instanceof m && C instanceof x ? (super(), this.initTempObject(new s.MdGeLengthDim(t.getImp(), e.getImp(), C.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
6437
6481
  }
6438
6482
  FirstPoint() {
6439
6483
  return new m(this.imp.FirstPoint());
@@ -6466,15 +6510,15 @@ class oC extends _ {
6466
6510
  this.imp.Display();
6467
6511
  }
6468
6512
  }
6469
- class $ extends _ {
6513
+ class M extends _ {
6470
6514
  constructor(t, e) {
6471
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeLine())) : t instanceof m && e instanceof Y ? (super(), this.initTempObject(new s.MdGeLine(t.getImp(), e.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
6515
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeLine())) : t instanceof m && e instanceof j ? (super(), this.initTempObject(new s.MdGeLine(t.getImp(), e.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
6472
6516
  }
6473
6517
  Reverse() {
6474
6518
  this.imp.Reverse();
6475
6519
  }
6476
6520
  Reversed() {
6477
- return new $(this.imp.Reversed());
6521
+ return new M(this.imp.Reversed());
6478
6522
  }
6479
6523
  SetDirection(t) {
6480
6524
  this.imp.SetDirection(t.getImp());
@@ -6486,7 +6530,7 @@ class $ extends _ {
6486
6530
  this.imp.SetPosition(t.getImp());
6487
6531
  }
6488
6532
  Direction() {
6489
- return new Y(this.imp.Direction());
6533
+ return new j(this.imp.Direction());
6490
6534
  }
6491
6535
  Location() {
6492
6536
  return new m(this.imp.Location());
@@ -6513,64 +6557,64 @@ class $ extends _ {
6513
6557
  return this.imp.SquareDistanceToLine(t.imp);
6514
6558
  }
6515
6559
  Normal(t) {
6516
- return new $(this.imp.Normal(t.getImp()));
6560
+ return new M(this.imp.Normal(t.getImp()));
6517
6561
  }
6518
6562
  MirrorByPoint(t) {
6519
6563
  this.imp.MirrorByPoint(t.getImp());
6520
6564
  }
6521
6565
  MirroredByPoint(t) {
6522
- return new $(this.imp.MirroredByPoint(t.getImp()));
6566
+ return new M(this.imp.MirroredByPoint(t.getImp()));
6523
6567
  }
6524
6568
  MirrorByAxis(t) {
6525
6569
  this.imp.MirrorByAxis(t.getImp());
6526
6570
  }
6527
6571
  MirroredByAxis(t) {
6528
- return new $(this.imp.MirroredByAxis(t.getImp()));
6572
+ return new M(this.imp.MirroredByAxis(t.getImp()));
6529
6573
  }
6530
6574
  MirrorByCSYSR(t) {
6531
6575
  this.imp.MirrorByCSYSR(t.getImp());
6532
6576
  }
6533
6577
  MirroredByCSYSR(t) {
6534
- return new $(this.imp.MirroredByCSYSR(t.getImp()));
6578
+ return new M(this.imp.MirroredByCSYSR(t.getImp()));
6535
6579
  }
6536
6580
  Rotate(t, e) {
6537
6581
  this.imp.Rotate(t.getImp(), e);
6538
6582
  }
6539
6583
  Rotated(t, e) {
6540
- return new $(this.imp.Rotated(t.getImp(), e));
6584
+ return new M(this.imp.Rotated(t.getImp(), e));
6541
6585
  }
6542
6586
  Scale(t, e) {
6543
6587
  this.imp.Scale(t.getImp(), e);
6544
6588
  }
6545
6589
  Scaled(t, e) {
6546
- return new $(this.imp.Scaled(t.getImp(), e));
6590
+ return new M(this.imp.Scaled(t.getImp(), e));
6547
6591
  }
6548
6592
  Transform(t) {
6549
6593
  this.imp.Transform(t.getImp());
6550
6594
  }
6551
6595
  Transformed(t) {
6552
- return new $(this.imp.Transformed(t.getImp()));
6596
+ return new M(this.imp.Transformed(t.getImp()));
6553
6597
  }
6554
6598
  TranslateByVec(t) {
6555
6599
  this.imp.TranslateByVec(t.getImp());
6556
6600
  }
6557
6601
  TranslatedByVec(t) {
6558
- return new $(this.imp.TranslatedByVec(t.getImp()));
6602
+ return new M(this.imp.TranslatedByVec(t.getImp()));
6559
6603
  }
6560
6604
  TranslateBy2Points(t, e) {
6561
6605
  this.imp.TranslateBy2Points(t.getImp(), e.getImp());
6562
6606
  }
6563
6607
  TranslatedBy2Points(t, e) {
6564
- return new $(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
6608
+ return new M(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
6565
6609
  }
6566
6610
  Shape() {
6567
6611
  return new u(this.imp.Shape());
6568
6612
  }
6569
6613
  Wire() {
6570
- return new P(this.imp.Wire());
6614
+ return new G(this.imp.Wire());
6571
6615
  }
6572
6616
  Edge(t, e) {
6573
- return arguments.length == 2 ? new O(this.imp.Edge(t, e)) : new O(this.imp.Edge());
6617
+ return arguments.length == 2 ? new L(this.imp.Edge(t, e)) : new L(this.imp.Edge());
6574
6618
  }
6575
6619
  }
6576
6620
  class Xt extends _ {
@@ -6709,7 +6753,7 @@ class lC extends _ {
6709
6753
  }
6710
6754
  class Dt extends _ {
6711
6755
  constructor(t, e) {
6712
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeParab())) : t instanceof b && typeof e == "number" ? (super(), this.initTempObject(new s.MdGeParab(t.getImp(), e))) : t instanceof Object && arguments.length == 1 && super(t);
6756
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeParab())) : t instanceof P && typeof e == "number" ? (super(), this.initTempObject(new s.MdGeParab(t.getImp(), e))) : t instanceof Object && arguments.length == 1 && super(t);
6713
6757
  }
6714
6758
  SetAxis(t) {
6715
6759
  this.imp.SetAxis(t.getImp());
@@ -6742,7 +6786,7 @@ class Dt extends _ {
6742
6786
  return this.imp.Parameter();
6743
6787
  }
6744
6788
  Position() {
6745
- return new b(this.imp.Position());
6789
+ return new P(this.imp.Position());
6746
6790
  }
6747
6791
  XAxis() {
6748
6792
  return new w(this.imp.XAxis());
@@ -6802,15 +6846,15 @@ class Dt extends _ {
6802
6846
  return new u(this.imp.Shape());
6803
6847
  }
6804
6848
  Wire() {
6805
- return new P(this.imp.Wire());
6849
+ return new G(this.imp.Wire());
6806
6850
  }
6807
6851
  Edge(t, e) {
6808
- return typeof t == "number" && typeof e == "number" ? new O(this.imp.Edge(t, e)) : new O(this.imp.Edge());
6852
+ return typeof t == "number" && typeof e == "number" ? new L(this.imp.Edge(t, e)) : new L(this.imp.Edge());
6809
6853
  }
6810
6854
  }
6811
6855
  class mC extends _ {
6812
6856
  constructor(t, e, C, E) {
6813
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePipe())) : t instanceof P && e instanceof u && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGePipe(t.getImp(), e.getImp()))) : t instanceof P && e instanceof u && typeof C == "number" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGePipe(t.getImp(), e.getImp(), C))) : t instanceof P && e instanceof u && typeof C == "number" && typeof E == "boolean" ? (super(), this.initTempObject(new s.MdGePipe(t.getImp(), e.getImp(), C, E))) : t instanceof Object && arguments.length == 1 && super(t);
6857
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePipe())) : t instanceof G && e instanceof u && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGePipe(t.getImp(), e.getImp()))) : t instanceof G && e instanceof u && typeof C == "number" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGePipe(t.getImp(), e.getImp(), C))) : t instanceof G && e instanceof u && typeof C == "number" && typeof E == "boolean" ? (super(), this.initTempObject(new s.MdGePipe(t.getImp(), e.getImp(), C, E))) : t instanceof Object && arguments.length == 1 && super(t);
6814
6858
  }
6815
6859
  FirstShape() {
6816
6860
  return new u(this.imp.FirstShape());
@@ -6836,7 +6880,7 @@ class hC extends _ {
6836
6880
  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, E) : arguments.length == 5 ? this.imp.Init(t.getImp(), e.getImp(), C, E, D) : arguments.length == 6 && this.imp.Init(t.getImp(), e.getImp(), C, E, D, B);
6837
6881
  }
6838
6882
  Curve() {
6839
- return new xt(this.imp.Curve());
6883
+ return new te(this.imp.Curve());
6840
6884
  }
6841
6885
  IsDone() {
6842
6886
  return this.imp.IsDone();
@@ -6861,7 +6905,7 @@ class aC extends _ {
6861
6905
  }
6862
6906
  class cC extends _ {
6863
6907
  constructor(t, e, C, E) {
6864
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePrism())) : t instanceof u && e instanceof S && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGePrism(t.getImp(), e.getImp()))) : t instanceof u && e instanceof S && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGePrism(t.getImp(), e.getImp(), C))) : t instanceof u && e instanceof S && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGePrism(t.getImp(), e.getImp(), C, E))) : t instanceof Object && arguments.length == 1 && super(t);
6908
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGePrism())) : t instanceof u && e instanceof R && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGePrism(t.getImp(), e.getImp()))) : t instanceof u && e instanceof R && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGePrism(t.getImp(), e.getImp(), C))) : t instanceof u && e instanceof R && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGePrism(t.getImp(), e.getImp(), C, E))) : t instanceof Object && arguments.length == 1 && super(t);
6865
6909
  }
6866
6910
  FirstShape(t) {
6867
6911
  return arguments.length == 0 ? new u(this.imp.FirstShape()) : new u(this.imp.FirstShape(t?.getImp()));
@@ -6904,10 +6948,10 @@ class gC extends _ {
6904
6948
  }
6905
6949
  class _C extends _ {
6906
6950
  constructor(t, e, C) {
6907
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeRect())) : t instanceof b && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeRect(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
6951
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeRect())) : t instanceof P && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeRect(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
6908
6952
  }
6909
6953
  Position() {
6910
- return new b(this.imp.Position());
6954
+ return new P(this.imp.Position());
6911
6955
  }
6912
6956
  SetPosition(t) {
6913
6957
  this.imp.SetPosition(t.getImp());
@@ -6928,22 +6972,22 @@ class _C extends _ {
6928
6972
  return new u(this.imp.Shape());
6929
6973
  }
6930
6974
  Face() {
6931
- return new T(this.imp.Face());
6975
+ return new O(this.imp.Face());
6932
6976
  }
6933
6977
  Wire() {
6934
- return new P(this.imp.Wire());
6978
+ return new G(this.imp.Wire());
6935
6979
  }
6936
6980
  LeftEdge() {
6937
- return new O(this.imp.LeftEdge());
6981
+ return new L(this.imp.LeftEdge());
6938
6982
  }
6939
6983
  RightEdge() {
6940
- return new O(this.imp.RightEdge());
6984
+ return new L(this.imp.RightEdge());
6941
6985
  }
6942
6986
  TopEdge() {
6943
- return new O(this.imp.TopEdge());
6987
+ return new L(this.imp.TopEdge());
6944
6988
  }
6945
6989
  BottomEdge() {
6946
- return new O(this.imp.BottomEdge());
6990
+ return new L(this.imp.BottomEdge());
6947
6991
  }
6948
6992
  Area() {
6949
6993
  return this.imp.Area();
@@ -6971,7 +7015,7 @@ class dC extends _ {
6971
7015
  }
6972
7016
  class Bt extends _ {
6973
7017
  constructor(t, e, C, E) {
6974
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeSphere())) : t instanceof j && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeSphere(t.getImp(), e))) : typeof t == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeSphere(t, e, C, E))) : t instanceof Object && arguments.length == 1 && super(t);
7018
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeSphere())) : t instanceof k && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeSphere(t.getImp(), e))) : typeof t == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeSphere(t, e, C, E))) : t instanceof Object && arguments.length == 1 && super(t);
6975
7019
  }
6976
7020
  SetLocation(t) {
6977
7021
  this.imp.SetLocation(t.getImp());
@@ -6998,7 +7042,7 @@ class Bt extends _ {
6998
7042
  return new m(this.imp.Location());
6999
7043
  }
7000
7044
  Position() {
7001
- return new j(this.imp.Position());
7045
+ return new k(this.imp.Position());
7002
7046
  }
7003
7047
  Radius() {
7004
7048
  return this.imp.Radius();
@@ -7061,7 +7105,7 @@ class Bt extends _ {
7061
7105
  return new Bt(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
7062
7106
  }
7063
7107
  Face(t, e, C, E) {
7064
- return t instanceof P && typeof e == "boolean" && arguments.length == 2 ? new T(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new T(this.imp.Face(t, e, C, E)) : new T(this.imp.Face());
7108
+ return t instanceof G && typeof e == "boolean" && arguments.length == 2 ? new O(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new O(this.imp.Face(t, e, C, E)) : new O(this.imp.Face());
7065
7109
  }
7066
7110
  Shape(t, e, C) {
7067
7111
  return arguments.length == 1 ? new u(this.imp.Shape(t)) : arguments.length == 2 ? new u(this.imp.Shape(t, e)) : arguments.length == 3 ? new u(this.imp.Shape(t, e, C)) : new u(this.imp.Shape());
@@ -7081,7 +7125,7 @@ class IC extends _ {
7081
7125
  this.imp.SetPosition(t.getImp());
7082
7126
  }
7083
7127
  Orientation() {
7084
- return new b(this.imp.Orientation());
7128
+ return new P(this.imp.Orientation());
7085
7129
  }
7086
7130
  HasPlane() {
7087
7131
  return this.imp.HasPlane();
@@ -7120,7 +7164,7 @@ class IC extends _ {
7120
7164
  return new u(this.imp.Shape());
7121
7165
  }
7122
7166
  }
7123
- class RC extends _ {
7167
+ class SC extends _ {
7124
7168
  constructor(t, e, C) {
7125
7169
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeTextLabel())) : typeof t == "string" && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeTextLabel(t, e, C?.getImp()))) : t instanceof Object && arguments.length == 1 && super(t);
7126
7170
  }
@@ -7167,7 +7211,7 @@ class RC extends _ {
7167
7211
  return this.imp.FontAspect();
7168
7212
  }
7169
7213
  Orientation3D() {
7170
- return new b(this.imp.Orientation3D());
7214
+ return new P(this.imp.Orientation3D());
7171
7215
  }
7172
7216
  HasOrientation3D() {
7173
7217
  return this.imp.HasOrientation3D();
@@ -7194,7 +7238,7 @@ class RC extends _ {
7194
7238
  this.imp.Display();
7195
7239
  }
7196
7240
  }
7197
- class Ae {
7241
+ class Fe {
7198
7242
  imp = 0;
7199
7243
  constructor() {
7200
7244
  this.imp = new s.MdGeTopo();
@@ -7203,13 +7247,13 @@ class Ae {
7203
7247
  return new pt(this.imp.Vertex(t.getImp()));
7204
7248
  }
7205
7249
  Edge(t) {
7206
- return new O(this.imp.Edge(t.getImp()));
7250
+ return new L(this.imp.Edge(t.getImp()));
7207
7251
  }
7208
7252
  Wire(t) {
7209
- return new P(this.imp.Wire(t.getImp()));
7253
+ return new G(this.imp.Wire(t.getImp()));
7210
7254
  }
7211
7255
  Face(t) {
7212
- return new T(this.imp.Face(t.getImp()));
7256
+ return new O(this.imp.Face(t.getImp()));
7213
7257
  }
7214
7258
  Shell(t) {
7215
7259
  return new Yt(this.imp.Shell(t.getImp()));
@@ -7232,7 +7276,7 @@ class Ae {
7232
7276
  }
7233
7277
  class rt extends _ {
7234
7278
  constructor(t, e, C) {
7235
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeTorus())) : t instanceof j && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeTorus(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
7279
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeTorus())) : t instanceof k && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeTorus(t.getImp(), e, C))) : t instanceof Object && arguments.length == 1 && super(t);
7236
7280
  }
7237
7281
  SetAxis(t) {
7238
7282
  this.imp.SetAxis(t.getImp());
@@ -7268,7 +7312,7 @@ class rt extends _ {
7268
7312
  return new m(this.imp.Location());
7269
7313
  }
7270
7314
  Position() {
7271
- return new j(this.imp.Position());
7315
+ return new k(this.imp.Position());
7272
7316
  }
7273
7317
  MajorRadius() {
7274
7318
  return this.imp.MajorRadius();
@@ -7334,15 +7378,15 @@ class rt extends _ {
7334
7378
  return new rt(this.imp.TranslatedBy2Points(t.getImp(), e.getImp()));
7335
7379
  }
7336
7380
  Face(t, e, C, E) {
7337
- return t instanceof P && typeof e == "boolean" && arguments.length == 2 ? new T(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new T(this.imp.Face(t, e, C, E)) : new T(this.imp.Face());
7381
+ return t instanceof G && typeof e == "boolean" && arguments.length == 2 ? new O(this.imp.Face(t.getImp(), e)) : typeof t == "number" && typeof e == "number" && arguments.length == 4 ? new O(this.imp.Face(t, e, C, E)) : new O(this.imp.Face());
7338
7382
  }
7339
7383
  Shape(t, e, C) {
7340
7384
  return arguments.length == 1 ? new u(this.imp.Shape(t)) : arguments.length == 2 ? new u(this.imp.Shape(t, e)) : arguments.length == 3 ? new u(this.imp.Shape(t, e, C)) : new u(this.imp.Shape());
7341
7385
  }
7342
7386
  }
7343
- class SC extends _ {
7387
+ class RC extends _ {
7344
7388
  constructor(t, e, C, E) {
7345
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeTransform())) : t instanceof St && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGeTransform(t.getImp()))) : t instanceof u && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeTransform(t.getImp(), e?.getImp()))) : t instanceof u && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeTransform(t.getImp(), e?.getImp(), C))) : t instanceof u && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeTransform(t.getImp(), e?.getImp(), C, E))) : t instanceof Object && arguments.length == 1 && super(t);
7389
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeTransform())) : t instanceof Rt && arguments.length == 1 ? (super(), this.initTempObject(new s.MdGeTransform(t.getImp()))) : t instanceof u && arguments.length == 2 ? (super(), this.initTempObject(new s.MdGeTransform(t.getImp(), e?.getImp()))) : t instanceof u && arguments.length == 3 ? (super(), this.initTempObject(new s.MdGeTransform(t.getImp(), e?.getImp(), C))) : t instanceof u && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeTransform(t.getImp(), e?.getImp(), C, E))) : t instanceof Object && arguments.length == 1 && super(t);
7346
7390
  }
7347
7391
  Perform(t, e, C) {
7348
7392
  arguments.length == 1 ? this.imp.Perform(t.getImp()) : arguments.length == 2 ? this.imp.Perform(t.getImp(), e) : arguments.length == 3 && this.imp.Perform(t.getImp(), e, C);
@@ -7356,7 +7400,7 @@ class SC extends _ {
7356
7400
  }
7357
7401
  class wC extends _ {
7358
7402
  constructor(t, e, C, E, D, B, r, n) {
7359
- arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeWedge())) : typeof t == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeWedge(t, e, C, E))) : t instanceof b && arguments.length == 5 ? (super(), this.initTempObject(new s.MdGeWedge(t.getImp(), e, C, E, D))) : typeof t == "number" && arguments.length == 7 ? (super(), this.initTempObject(new s.MdGeWedge(t, e, C, E, D, B, r))) : t instanceof b && arguments.length == 8 ? (super(), this.initTempObject(new s.MdGeWedge(t.getImp(), e, C, E, D, B, r, n))) : t instanceof Object && arguments.length == 1 && super(t);
7403
+ arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeWedge())) : typeof t == "number" && arguments.length == 4 ? (super(), this.initTempObject(new s.MdGeWedge(t, e, C, E))) : t instanceof P && arguments.length == 5 ? (super(), this.initTempObject(new s.MdGeWedge(t.getImp(), e, C, E, D))) : typeof t == "number" && arguments.length == 7 ? (super(), this.initTempObject(new s.MdGeWedge(t, e, C, E, D, B, r))) : t instanceof P && arguments.length == 8 ? (super(), this.initTempObject(new s.MdGeWedge(t.getImp(), e, C, E, D, B, r, n))) : t instanceof Object && arguments.length == 1 && super(t);
7360
7404
  }
7361
7405
  Shell() {
7362
7406
  return new Yt(this.imp.Shell());
@@ -7376,12 +7420,12 @@ class de extends _ {
7376
7420
  return this.imp.DynamicType();
7377
7421
  }
7378
7422
  }
7379
- class te extends _ {
7423
+ class ee extends _ {
7380
7424
  constructor(t) {
7381
7425
  arguments.length == 0 ? (super(), this.initTempObject(new s.MdGeHGeomPlane())) : super(t);
7382
7426
  }
7383
7427
  DownCast(t) {
7384
- return new te(this.imp.DownCast(t.getImp()));
7428
+ return new ee(this.imp.DownCast(t.getImp()));
7385
7429
  }
7386
7430
  Axis() {
7387
7431
  return new w(this.imp.Axis());
@@ -7390,10 +7434,10 @@ class te extends _ {
7390
7434
  return new m(this.imp.Location());
7391
7435
  }
7392
7436
  Position() {
7393
- return new j(this.imp.Position());
7437
+ return new k(this.imp.Position());
7394
7438
  }
7395
7439
  }
7396
- class Fe {
7440
+ class oe {
7397
7441
  imp = 0;
7398
7442
  constructor() {
7399
7443
  this.imp = new s.MdGeBRep();
@@ -7401,7 +7445,7 @@ class Fe {
7401
7445
  IsClosed(t, e) {
7402
7446
  if (t instanceof u && arguments.length == 1)
7403
7447
  return this.imp.IsClosed(t.getImp());
7404
- if (t instanceof O && arguments.length == 2)
7448
+ if (t instanceof L && arguments.length == 2)
7405
7449
  return this.imp.IsClosed(t.getImp(), e?.getImp());
7406
7450
  }
7407
7451
  Surface(t) {
@@ -7616,28 +7660,28 @@ function ki(i, t) {
7616
7660
  }
7617
7661
  const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7618
7662
  __proto__: null,
7619
- b64Encode: Se,
7663
+ b64Encode: Re,
7620
7664
  b64Decode: we,
7621
7665
  saveAsFileDialog: ye,
7622
7666
  downloadFile: Te,
7623
7667
  downloadFileFromUrl: Oe,
7624
7668
  MxTools: Gt,
7625
7669
  McGePoint3d: p,
7626
- McGeVector3d: y,
7670
+ McGeVector3d: T,
7627
7671
  McGeMatrix3d: At,
7628
7672
  McGeLongArray: bt,
7629
- McGeStringArray: ue,
7673
+ McGeStringArray: qt,
7630
7674
  McGePoint3dArray: WC,
7631
7675
  MdGeDoubleArray: zC,
7632
- getFilterImp: Rt,
7633
- MxCADResbuf: x,
7676
+ getFilterImp: St,
7677
+ MxCADResbuf: J,
7634
7678
  MxCADUtilityClass: Ye,
7635
- MxCADUtility: J,
7679
+ MxCADUtility: $,
7636
7680
  MxCADSelectionSetStatus: je,
7637
7681
  MxCADSelectionSet: mt,
7638
7682
  MxCADUiPrBase: _t,
7639
7683
  MxCADUiPrPoint: et,
7640
- MxCADUiPrDist: Jt,
7684
+ MxCADUiPrDist: $t,
7641
7685
  MxCADUiPrAngle: QC,
7642
7686
  MxCADUiPrInt: JC,
7643
7687
  MxCADUiPrKeyWord: $C,
@@ -7649,7 +7693,7 @@ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7649
7693
  McDbObject: ot,
7650
7694
  McDbObjectArray: vt,
7651
7695
  get McDb() {
7652
- return Ee;
7696
+ return De;
7653
7697
  },
7654
7698
  McCmColor: gt,
7655
7699
  McDbLayerTableRecord: ZC,
@@ -7658,22 +7702,22 @@ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7658
7702
  McDbTextStyleTable: Pe,
7659
7703
  McDbDatabase: pe,
7660
7704
  McDbBlockTableRecordIterator: Ge,
7661
- McDbBlockTableRecord: qt,
7705
+ McDbBlockTableRecord: Zt,
7662
7706
  McDbBlockTableIterator: Ne,
7663
7707
  McDbBlockTable: Ue,
7664
7708
  McDbEntity: lt,
7665
7709
  McDbCurve: ct,
7666
7710
  McDbLine: Ht,
7667
- McDbText: De,
7711
+ McDbText: Be,
7668
7712
  McDbMText: Kt,
7669
7713
  McDbCircle: at,
7670
7714
  McDbPolyline: Wt,
7671
- McDbBlockReference: Be,
7672
- McDbDimension: Zt,
7673
- McDbAlignedDimension: re,
7674
- McDbRotatedDimension: se,
7715
+ McDbBlockReference: re,
7716
+ McDbDimension: Qt,
7717
+ McDbAlignedDimension: se,
7718
+ McDbRotatedDimension: ne,
7675
7719
  McDbArc: zt,
7676
- McDbEllipse: Qt,
7720
+ McDbEllipse: Jt,
7677
7721
  McDbPoint: le,
7678
7722
  FetchAttributes: ke,
7679
7723
  McObject: Ot,
@@ -7686,7 +7730,7 @@ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7686
7730
  createMxCad: Bi,
7687
7731
  ColorMethod: Ke,
7688
7732
  ColorIndexType: We,
7689
- getColorUtils: Mt,
7733
+ getColorUtils: xt,
7690
7734
  createMcCmColor: ze,
7691
7735
  setMcCmColor: he,
7692
7736
  getStyle: Xe,
@@ -7706,21 +7750,21 @@ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7706
7750
  MdGeObject: _,
7707
7751
  MdGeShape: u,
7708
7752
  MdGeVertex: pt,
7709
- MdGeEdge: O,
7710
- MdGeWire: P,
7711
- MdGeFace: T,
7753
+ MdGeEdge: L,
7754
+ MdGeWire: G,
7755
+ MdGeFace: O,
7712
7756
  MdGeShell: Yt,
7713
7757
  MdGeSolid: jt,
7714
7758
  MdGeCompSolid: ce,
7715
7759
  MdGeCompound: ge,
7716
7760
  MdGeMat: Ct,
7717
7761
  MdGeXYZ: v,
7718
- MdGeTrsf: St,
7719
- MdGeDir: Y,
7762
+ MdGeTrsf: Rt,
7763
+ MdGeDir: j,
7720
7764
  MdGeAxis: w,
7721
- MdGeCSYSR: b,
7765
+ MdGeCSYSR: P,
7722
7766
  MdGePoint: m,
7723
- MdGeVec: S,
7767
+ MdGeVec: R,
7724
7768
  MdGeAngleDim: iC,
7725
7769
  MdGeArray1OfInteger: Nt,
7726
7770
  MdGeArray1OfPnt: q,
@@ -7731,24 +7775,24 @@ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7731
7775
  MdGeBezierSurface: DC,
7732
7776
  MdGeChamfer: BC,
7733
7777
  MdGeCircle: W,
7734
- MdGeCSYS: j,
7778
+ MdGeCSYS: k,
7735
7779
  MdGeCone: it,
7736
7780
  MdGeCylinder: Et,
7737
- MdGePlane: M,
7781
+ MdGePlane: x,
7738
7782
  MdGeDiameterDim: rC,
7739
7783
  MdGeEllipse: ut,
7740
7784
  get MdGe() {
7741
- return ne;
7785
+ return Ae;
7742
7786
  },
7743
7787
  MdGeExplorer: sC,
7744
7788
  MdGeFillet: nC,
7745
7789
  MdGeHypr: Z,
7746
7790
  MdGeBox: AC,
7747
- MdGeBSplineCurve: xt,
7791
+ MdGeBSplineCurve: te,
7748
7792
  MdGeBSplineSurface: _e,
7749
7793
  MdGeInterpolateBSpl: FC,
7750
7794
  MdGeLengthDim: oC,
7751
- MdGeLine: $,
7795
+ MdGeLine: M,
7752
7796
  MdGeListIteratorOfListOfShape: Xt,
7753
7797
  MdGeListOfShape: uC,
7754
7798
  MdGeLoft: pC,
@@ -7763,14 +7807,14 @@ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7763
7807
  MdGeRevol: dC,
7764
7808
  MdGeSphere: Bt,
7765
7809
  MdGeText: IC,
7766
- MdGeTextLabel: RC,
7767
- MdGeTopo: Ae,
7810
+ MdGeTextLabel: SC,
7811
+ MdGeTopo: Fe,
7768
7812
  MdGeTorus: rt,
7769
- MdGeTransform: SC,
7813
+ MdGeTransform: RC,
7770
7814
  MdGeWedge: wC,
7771
7815
  MdGeHGeomSurface: de,
7772
- MdGeHGeomPlane: te,
7773
- MdGeBRep: Fe,
7816
+ MdGeHGeomPlane: ee,
7817
+ MdGeBRep: oe,
7774
7818
  MdGeColor: It,
7775
7819
  MdGeMaterialAspect: yC,
7776
7820
  loadMxCADassembly3d: ki
@@ -7782,19 +7826,19 @@ export {
7782
7826
  ke as FetchAttributes,
7783
7827
  fe as McAppType,
7784
7828
  gt as McCmColor,
7785
- Ee as McDb,
7786
- re as McDbAlignedDimension,
7829
+ De as McDb,
7830
+ se as McDbAlignedDimension,
7787
7831
  zt as McDbArc,
7788
- Be as McDbBlockReference,
7832
+ re as McDbBlockReference,
7789
7833
  Ue as McDbBlockTable,
7790
7834
  Ne as McDbBlockTableIterator,
7791
- qt as McDbBlockTableRecord,
7835
+ Zt as McDbBlockTableRecord,
7792
7836
  Ge as McDbBlockTableRecordIterator,
7793
7837
  at as McDbCircle,
7794
7838
  ct as McDbCurve,
7795
7839
  pe as McDbDatabase,
7796
- Zt as McDbDimension,
7797
- Qt as McDbEllipse,
7840
+ Qt as McDbDimension,
7841
+ Jt as McDbEllipse,
7798
7842
  lt as McDbEntity,
7799
7843
  Le as McDbLayerTable,
7800
7844
  ZC as McDbLayerTableRecord,
@@ -7805,20 +7849,20 @@ export {
7805
7849
  vt as McDbObjectArray,
7806
7850
  le as McDbPoint,
7807
7851
  Wt as McDbPolyline,
7808
- se as McDbRotatedDimension,
7809
- De as McDbText,
7852
+ ne as McDbRotatedDimension,
7853
+ Be as McDbText,
7810
7854
  Pe as McDbTextStyleTable,
7811
7855
  bt as McGeLongArray,
7812
7856
  At as McGeMatrix3d,
7813
7857
  p as McGePoint3d,
7814
7858
  WC as McGePoint3dArray,
7815
- ue as McGeStringArray,
7816
- y as McGeVector3d,
7859
+ qt as McGeStringArray,
7860
+ T as McGeVector3d,
7817
7861
  Ot as McObject,
7818
7862
  H as McObjectId,
7819
7863
  X as McObjectIdType,
7820
7864
  wt as McRxObject,
7821
- ne as MdGe,
7865
+ Ae as MdGe,
7822
7866
  iC as MdGeAngleDim,
7823
7867
  Nt as MdGeArray1OfInteger,
7824
7868
  q as MdGeArray1OfPnt,
@@ -7826,14 +7870,14 @@ export {
7826
7870
  z as MdGeArray2OfPnt,
7827
7871
  kt as MdGeArray2OfReal,
7828
7872
  w as MdGeAxis,
7829
- Fe as MdGeBRep,
7830
- xt as MdGeBSplineCurve,
7873
+ oe as MdGeBRep,
7874
+ te as MdGeBSplineCurve,
7831
7875
  _e as MdGeBSplineSurface,
7832
7876
  EC as MdGeBezierCurve,
7833
7877
  DC as MdGeBezierSurface,
7834
7878
  AC as MdGeBox,
7835
- j as MdGeCSYS,
7836
- b as MdGeCSYSR,
7879
+ k as MdGeCSYS,
7880
+ P as MdGeCSYSR,
7837
7881
  BC as MdGeChamfer,
7838
7882
  W as MdGeCircle,
7839
7883
  It as MdGeColor,
@@ -7842,19 +7886,19 @@ export {
7842
7886
  it as MdGeCone,
7843
7887
  Et as MdGeCylinder,
7844
7888
  rC as MdGeDiameterDim,
7845
- Y as MdGeDir,
7889
+ j as MdGeDir,
7846
7890
  zC as MdGeDoubleArray,
7847
- O as MdGeEdge,
7891
+ L as MdGeEdge,
7848
7892
  ut as MdGeEllipse,
7849
7893
  sC as MdGeExplorer,
7850
- T as MdGeFace,
7894
+ O as MdGeFace,
7851
7895
  nC as MdGeFillet,
7852
- te as MdGeHGeomPlane,
7896
+ ee as MdGeHGeomPlane,
7853
7897
  de as MdGeHGeomSurface,
7854
7898
  Z as MdGeHypr,
7855
7899
  FC as MdGeInterpolateBSpl,
7856
7900
  oC as MdGeLengthDim,
7857
- $ as MdGeLine,
7901
+ M as MdGeLine,
7858
7902
  Xt as MdGeListIteratorOfListOfShape,
7859
7903
  uC as MdGeListOfShape,
7860
7904
  pC as MdGeLoft,
@@ -7864,7 +7908,7 @@ export {
7864
7908
  _ as MdGeObject,
7865
7909
  Dt as MdGeParab,
7866
7910
  mC as MdGePipe,
7867
- M as MdGePlane,
7911
+ x as MdGePlane,
7868
7912
  m as MdGePoint,
7869
7913
  hC as MdGePointsToBSpl,
7870
7914
  aC as MdGePointsToBSplSurface,
@@ -7877,28 +7921,28 @@ export {
7877
7921
  jt as MdGeSolid,
7878
7922
  Bt as MdGeSphere,
7879
7923
  IC as MdGeText,
7880
- RC as MdGeTextLabel,
7881
- Ae as MdGeTopo,
7924
+ SC as MdGeTextLabel,
7925
+ Fe as MdGeTopo,
7882
7926
  rt as MdGeTorus,
7883
- SC as MdGeTransform,
7884
- St as MdGeTrsf,
7885
- S as MdGeVec,
7927
+ RC as MdGeTransform,
7928
+ Rt as MdGeTrsf,
7929
+ R as MdGeVec,
7886
7930
  pt as MdGeVertex,
7887
7931
  wC as MdGeWedge,
7888
- P as MdGeWire,
7932
+ G as MdGeWire,
7889
7933
  v as MdGeXYZ,
7890
- x as MxCADResbuf,
7934
+ J as MxCADResbuf,
7891
7935
  mt as MxCADSelectionSet,
7892
7936
  je as MxCADSelectionSetStatus,
7893
7937
  QC as MxCADUiPrAngle,
7894
7938
  _t as MxCADUiPrBase,
7895
- Jt as MxCADUiPrDist,
7939
+ $t as MxCADUiPrDist,
7896
7940
  Tt as MxCADUiPrEntity,
7897
7941
  JC as MxCADUiPrInt,
7898
7942
  $C as MxCADUiPrKeyWord,
7899
7943
  et as MxCADUiPrPoint,
7900
7944
  MC as MxCADUiPrString,
7901
- J as MxCADUtility,
7945
+ $ as MxCADUtility,
7902
7946
  Ye as MxCADUtilityClass,
7903
7947
  F as MxCpp,
7904
7948
  Ve as MxCppType,
@@ -7907,7 +7951,7 @@ export {
7907
7951
  CC as Mx_Erase,
7908
7952
  qe as ObjectInheritance,
7909
7953
  we as b64Decode,
7910
- Se as b64Encode,
7954
+ Re as b64Encode,
7911
7955
  ze as createMcCmColor,
7912
7956
  Bi as createMxCad,
7913
7957
  Vi as default,
@@ -7921,8 +7965,8 @@ export {
7921
7965
  Me as drawPolyLine,
7922
7966
  xe as drawPolygon,
7923
7967
  si as drawText,
7924
- Mt as getColorUtils,
7925
- Rt as getFilterImp,
7968
+ xt as getColorUtils,
7969
+ St as getFilterImp,
7926
7970
  Ze as getIndexColors,
7927
7971
  Xe as getStyle,
7928
7972
  He as loadMxCADassembly,