mxcad 1.0.64 → 1.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mxcad.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import _D, { MxFun as d, MrxDbgUiPrPoint as T, MxCursorType as qD, MrxDbgUtils as $D, store as oD, loadCoreCode as JD, MxPaintBrush as v, MrxDbgUiPrBaseReturn as y, MxDbCircleShape as aD, MxDbLine as J, MxDbPolyline as ZD, MxDbCircleArc as q, Mx3PointArc as YD, MxDbEllipseShape as QD, McEdGetPointWorldDrawObject as XD, MxDbEllipse as DC } from "mxdraw";
1
+ import _D, { MxFun as d, MrxDbgUiPrPoint as T, MxCursorType as qD, MrxDbgUtils as $D, store as oD, loadCoreCode as JD, MxPaintBrush as S, MrxDbgUiPrBaseReturn as y, MxDbCircleShape as aD, MxDbLine as J, MxDbPolyline as ZD, MxDbCircleArc as q, Mx3PointArc as YD, MxDbEllipseShape as QD, McEdGetPointWorldDrawObject as XD, MxDbEllipse as DC } from "mxdraw";
2
2
  function uD(E) {
3
3
  return btoa(unescape(encodeURIComponent(E)));
4
4
  }
@@ -349,7 +349,7 @@ class M {
349
349
  return this.type == 1 ? d.getCurrentDraw().getMxEntity(this.id) : null;
350
350
  }
351
351
  }
352
- class L extends O {
352
+ class v extends O {
353
353
  constructor(D) {
354
354
  super(D);
355
355
  }
@@ -442,7 +442,7 @@ class j {
442
442
  this.imp.colorIndex = D;
443
443
  }
444
444
  }
445
- class FC extends L {
445
+ class FC extends v {
446
446
  constructor(D) {
447
447
  super(D), D || this.initTempObject(new i.mxcadassemblyimp.MdDbLayerTableRecord());
448
448
  }
@@ -489,17 +489,17 @@ class FC extends L {
489
489
  this.imp.setLineWeight(D);
490
490
  }
491
491
  }
492
- class dD extends L {
492
+ class dD extends v {
493
493
  constructor(D) {
494
494
  super(D);
495
495
  }
496
496
  }
497
- class hD extends L {
497
+ class hD extends v {
498
498
  constructor(D) {
499
499
  super(D);
500
500
  }
501
501
  }
502
- class wD extends L {
502
+ class wD extends v {
503
503
  constructor(D) {
504
504
  super(D);
505
505
  }
@@ -583,7 +583,7 @@ class gD extends O {
583
583
  return this.imp.step(D, C);
584
584
  }
585
585
  }
586
- class Q extends L {
586
+ class Q extends v {
587
587
  constructor(D) {
588
588
  super(D), D || this.initTempObject(new i.mxcadassemblyimp.MdDbBlockTableRecord());
589
589
  }
@@ -622,7 +622,7 @@ class yD extends O {
622
622
  this.imp.start(D, C);
623
623
  }
624
624
  }
625
- class xD extends L {
625
+ class xD extends v {
626
626
  constructor(D) {
627
627
  super(D), D || this.initTempObject(new i.mxcadassemblyimp.MdDbBlockTable());
628
628
  }
@@ -641,13 +641,13 @@ class xD extends L {
641
641
  return this.imp.add(D.getImp());
642
642
  }
643
643
  }
644
- class V extends L {
644
+ class V extends v {
645
645
  constructor(D) {
646
646
  super(D);
647
647
  }
648
648
  explode() {
649
649
  let D = this.imp.explode();
650
- return new N(D);
650
+ return new K(D);
651
651
  }
652
652
  get trueColor() {
653
653
  return new j(this.imp.TrueColor());
@@ -763,18 +763,18 @@ class _ extends V {
763
763
  }
764
764
  offsetCurves(D, C) {
765
765
  let B = this.imp.offsetCurves(D, C.imp);
766
- return new N(B);
766
+ return new K(B);
767
767
  }
768
768
  splitCurves(D) {
769
769
  let C = this.imp.splitCurves(D);
770
- return new N(C);
770
+ return new K(C);
771
771
  }
772
772
  getArea() {
773
773
  return { val: this.imp.getArea(), ret: i.getCallResult() };
774
774
  }
775
775
  getSamplePoints(D) {
776
776
  let C = this.imp.getSamplePoints(D);
777
- return new N(C);
777
+ return new K(C);
778
778
  }
779
779
  getLength() {
780
780
  return { val: this.imp.getLength(), ret: i.getCallResult() };
@@ -1172,11 +1172,11 @@ class kD extends _ {
1172
1172
  this.imp.setEndAngle(D);
1173
1173
  }
1174
1174
  }
1175
- function K(E = null) {
1175
+ function N(E = null) {
1176
1176
  let D;
1177
1177
  return E == null ? D = new i.mxcadassemblyimp.McDrawResbuf() : D = E.getImp(), D;
1178
1178
  }
1179
- class N extends O {
1179
+ class K extends O {
1180
1180
  constructor(D) {
1181
1181
  super(D), D || this.initTempObject(new i.mxcadassemblyimp.McDrawResbuf());
1182
1182
  }
@@ -1249,7 +1249,7 @@ class PD {
1249
1249
  }
1250
1250
  findEntAtPoint(D, C, B, F = -1, A = null) {
1251
1251
  this.init();
1252
- let t = this.imp.findEntAtPoint(D, C, B, F, K(A));
1252
+ let t = this.imp.findEntAtPoint(D, C, B, F, N(A));
1253
1253
  return new M(t, b.kMxCAD);
1254
1254
  }
1255
1255
  selectEnt(D, C = null) {
@@ -1266,8 +1266,8 @@ class PD {
1266
1266
  t.forEach((r) => {
1267
1267
  e.push(new M(r, b.kMxDraw));
1268
1268
  });
1269
- let s = this.findEntAtPoint(A.x, A.y, A.z, -1, C);
1270
- s.isValid() && e.push(s), B(e);
1269
+ let n = this.findEntAtPoint(A.x, A.y, A.z, -1, C);
1270
+ n.isValid() && e.push(n), B(e);
1271
1271
  });
1272
1272
  });
1273
1273
  }
@@ -1281,13 +1281,13 @@ class RD extends O {
1281
1281
  super(), this.initTempObject(new i.mxcadassemblyimp.McDrawSelSet());
1282
1282
  }
1283
1283
  allSelect(D = null) {
1284
- return this.imp.allSelect(K(D));
1284
+ return this.imp.allSelect(N(D));
1285
1285
  }
1286
1286
  pointSelect(D, C, B = null, F = -1) {
1287
- return this.imp.pointSelect(D, C, K(B), F);
1287
+ return this.imp.pointSelect(D, C, N(B), F);
1288
1288
  }
1289
1289
  crossingSelect(D, C, B, F, A = null) {
1290
- return this.imp.crossingSelect(D, C, B, F, K(A));
1290
+ return this.imp.crossingSelect(D, C, B, F, N(A));
1291
1291
  }
1292
1292
  count() {
1293
1293
  return this.imp.count();
@@ -1324,8 +1324,8 @@ class U {
1324
1324
  openWebFile(D, C, B = !0) {
1325
1325
  let F = Math.round(Math.random() * 1e7);
1326
1326
  if (C) {
1327
- let A = this, t = (e, s) => {
1328
- A.mxObject.removeEventFuction("openFileComplete", t), F == s && C(e);
1327
+ let A = this, t = (e, n) => {
1328
+ A.mxObject.removeEventFuction("openFileComplete", t), F == n && C(e);
1329
1329
  };
1330
1330
  A.mxObject.addEvent("openFileComplete", t);
1331
1331
  }
@@ -1473,8 +1473,8 @@ class U {
1473
1473
  DrawPoint(D, C) {
1474
1474
  return this.imp.DrawPoint(D, C);
1475
1475
  }
1476
- DrawSolid(D, C, B, F, A, t, e, s) {
1477
- return this.imp.DrawSolid(D, C, B, F, A, t, e, s);
1476
+ DrawSolid(D, C, B, F, A, t, e, n) {
1477
+ return this.imp.DrawSolid(D, C, B, F, A, t, e, n);
1478
1478
  }
1479
1479
  DrawMText(D, C, B, F, A, t, e) {
1480
1480
  return this.imp.DrawMText(D, C, B, F, A, t, e);
@@ -1488,8 +1488,8 @@ class U {
1488
1488
  DrawDimAligned(D, C, B, F, A, t) {
1489
1489
  return this.imp.DrawDimAligned(D, C, B, F, A, t);
1490
1490
  }
1491
- DrawDimAngular(D, C, B, F, A, t, e, s) {
1492
- return this.imp.DrawDimAngular(D, C, B, F, A, t, e, s);
1491
+ DrawDimAngular(D, C, B, F, A, t, e, n) {
1492
+ return this.imp.DrawDimAngular(D, C, B, F, A, t, e, n);
1493
1493
  }
1494
1494
  DrawDimDiametric(D, C, B, F, A) {
1495
1495
  return this.imp.DrawDimDiametric(D, C, B, F, A);
@@ -1544,7 +1544,7 @@ class U {
1544
1544
  !D || i.App.getImp().DestroyObject(D);
1545
1545
  }
1546
1546
  }
1547
- class SD {
1547
+ class LD {
1548
1548
  imp;
1549
1549
  init(D) {
1550
1550
  this.imp = D, w.kZAxis = new w(0, 0, 1), w.kXAxis = new w(1, 0, 0), w.kYAxis = new w(0, 1, 0), p.kOrigin = new p(0, 0, 0), W.kIdentity = new W();
@@ -1611,15 +1611,20 @@ class SD {
1611
1611
  let B = new Y();
1612
1612
  return B.getImp().ConnectionTempObject(D), i.App.DestroyObject(D), B;
1613
1613
  }
1614
- return console.log("Mx: Clone error type"), new L(D);
1614
+ return console.log("Mx: Clone error type"), new v(D);
1615
1615
  }
1616
1616
  setFontFilePath(D) {
1617
- return this.imp.setFontFilePath(D);
1617
+ this.imp.setFontFilePath(D);
1618
+ }
1619
+ addNetworkLoadingFont(D) {
1620
+ typeof D == "string" ? this.imp.addNetworkLoadingFont(D) : D.forEach((C) => {
1621
+ this.imp.addNetworkLoadingFont(C);
1622
+ });
1618
1623
  }
1619
1624
  }
1620
- class vD {
1625
+ class SD {
1621
1626
  mxcadassemblyimp;
1622
- App = new SD();
1627
+ App = new LD();
1623
1628
  getCallResult() {
1624
1629
  return this.App.getLastCallResult();
1625
1630
  }
@@ -1632,7 +1637,7 @@ class vD {
1632
1637
  return D && D.x && D.y && (B.x = D.x, B.y = D.y, D.z && (B.y = D.z)), B;
1633
1638
  }
1634
1639
  }
1635
- const iD = "1.0.64", AC = "SharedArrayBuffer" in window, X = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src), tC = (E, D = self.location.href) => X ? `https://unpkg.com/mxcad@${iD}/dist/wasm/2d-st/${E}` : D + E, eC = (E, D = self.location.href) => X ? `https://unpkg.com/mxcad@${iD}/dist/wasm/2d/${E}` : D + E, iC = (E, D = self.location.href) => X ? `https://unpkg.com/mxcad@${iD}/dist/wasm/3d/${E}` : D + E, LD = (E) => new Promise((D, C) => {
1640
+ const iD = "1.0.65", AC = "SharedArrayBuffer" in window, X = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src), tC = (E, D = self.location.href) => X ? `https://unpkg.com/mxcad@${iD}/dist/wasm/2d-st/${E}` : D + E, eC = (E, D = self.location.href) => X ? `https://unpkg.com/mxcad@${iD}/dist/wasm/2d/${E}` : D + E, iC = (E, D = self.location.href) => X ? `https://unpkg.com/mxcad@${iD}/dist/wasm/3d/${E}` : D + E, vD = (E) => new Promise((D, C) => {
1636
1641
  const B = document.createElement("script");
1637
1642
  B.src = E, B.type = "text/javascript", B.crossOrigin = "anonymous", document.body.appendChild(B), B.onload = () => {
1638
1643
  D();
@@ -1641,23 +1646,23 @@ const iD = "1.0.64", AC = "SharedArrayBuffer" in window, X = document.currentScr
1641
1646
  };
1642
1647
  }), rC = async (E, D, C) => {
1643
1648
  const { locateFile: B } = C, F = B(E + ".js");
1644
- return await LD(F), await globalThis[D](C);
1649
+ return await vD(F), await globalThis[D](C);
1645
1650
  };
1646
1651
  let i;
1647
- async function OD(E, D = AC || !X ? tC : eC, C, B) {
1648
- return new Promise(async (F, A) => {
1652
+ async function OD(E, D = AC || !X ? tC : eC, C, B, F) {
1653
+ return new Promise(async (A, t) => {
1649
1654
  try {
1650
- if (i || (i = new vD()), i.mxcadassemblyimp)
1651
- return E && E(i), F(i);
1652
- const e = await rC("mxdrawassembly_min", "mxdrawassembly", {
1655
+ if (i || (i = new SD()), i.mxcadassemblyimp)
1656
+ return E && E(i), A(i);
1657
+ const n = await rC("mxdrawassembly_min", "mxdrawassembly", {
1653
1658
  locateFile: D,
1654
1659
  wasmBinary: C
1655
1660
  });
1656
- i.mxcadassemblyimp = e;
1657
- let s = new e.McApp();
1658
- B && s.setFontFilePath(B), s.Init(), i.App.init(s), E && E(i), F(i);
1659
- } catch (t) {
1660
- A(t);
1661
+ i.mxcadassemblyimp = n;
1662
+ let r = new n.McApp();
1663
+ B && r.setFontFilePath(B), r.Init(), i.App.init(r), F && i.App.addNetworkLoadingFont(F), E && E(i), A(i);
1664
+ } catch (e) {
1665
+ t(e);
1661
1666
  }
1662
1667
  });
1663
1668
  }
@@ -1682,7 +1687,7 @@ const sC = (E) => {
1682
1687
  }
1683
1688
  }), oC = async (E) => {
1684
1689
  oD.state.MxFun || await JD();
1685
- const { fontspath: D, locateFile: C, wasmBinary: B, canvas: F, userIdentitySign: A, onOpenFileComplete: t, fileUrl: e, onInit: s = () => {
1690
+ const { networkFonts: D, fontspath: C, locateFile: B, wasmBinary: F, canvas: A, userIdentitySign: t, onOpenFileComplete: e, fileUrl: n, onInit: r = () => {
1686
1691
  d.setIniset({
1687
1692
  EnableIntelliSelect: !0,
1688
1693
  IntelliSelectType: 1,
@@ -1690,15 +1695,15 @@ const sC = (E) => {
1690
1695
  });
1691
1696
  } } = E || {};
1692
1697
  await OD(() => {
1693
- }, C, B, D), s();
1694
- let r = await nC(F, A);
1695
- const o = d.getMxFunTHREE();
1696
- let a = new o.Vector2();
1697
- r.getRenderer().getSize(a);
1698
- const l = i.App.CreateMxCAD(a.width, a.height, r.getCanvas().id, r.isWebgl2(), r.getId());
1699
- return r.initMxCpp(l), r.addEvent("openFileComplete", () => {
1700
- t && t();
1701
- }), e && l.openWebFile(e), l;
1698
+ }, B, F, C, D), r();
1699
+ let o = await nC(A, t);
1700
+ const u = d.getMxFunTHREE();
1701
+ let l = new u.Vector2();
1702
+ o.getRenderer().getSize(l);
1703
+ const s = i.App.CreateMxCAD(l.width, l.height, o.getCanvas().id, o.isWebgl2(), o.getId());
1704
+ return o.initMxCpp(s), o.addEvent("openFileComplete", () => {
1705
+ e && e();
1706
+ }), n && s.openWebFile(n), s;
1702
1707
  };
1703
1708
  async function aC() {
1704
1709
  const E = new T();
@@ -1732,23 +1737,23 @@ class uC extends aD {
1732
1737
  }
1733
1738
  }
1734
1739
  const sD = (E) => {
1735
- const [D, C, B] = E, { x: F, y: A, z: t } = D, { x: e, y: s, z: r } = C, { x: o, y: a, z: l } = B, n = A * r - s * t - A * l + a * t + s * l - a * r, u = -(F * r - e * t - F * l + o * t + e * l - o * r), h = F * s - e * A - F * a + o * A + e * a - o * s, g = -(F * s * l - F * a * r - e * A * l + e * a * t + o * A * r - o * s * t), c = 2 * (e - F), m = 2 * (s - A), k = 2 * (r - t), I = F * F + A * A + t * t - e * e - s * s - r * r, P = 2 * (o - F), R = 2 * (a - A), S = 2 * (l - t), G = F * F + A * A + t * t - o * o - a * a - l * l, KD = -(u * k * G - u * S * I - m * h * G + m * S * g + R * h * I - R * k * g) / (n * m * S - n * R * k - c * u * S + c * R * h + P * u * k - P * m * h), ND = (n * k * G - n * S * I - c * h * G + c * S * g + P * h * I - P * k * g) / (n * m * S - n * R * k - c * u * S + c * R * h + P * u * k - P * m * h), HD = -(n * m * G - n * R * I - c * u * G + c * R * g + P * u * I - P * m * g) / (n * m * S - n * R * k - c * u * S + c * R * h + P * u * k - P * m * h);
1736
- return new THREE.Vector3(KD, ND, HD);
1740
+ const [D, C, B] = E, { x: F, y: A, z: t } = D, { x: e, y: n, z: r } = C, { x: o, y: u, z: l } = B, s = A * r - n * t - A * l + u * t + n * l - u * r, a = -(F * r - e * t - F * l + o * t + e * l - o * r), h = F * n - e * A - F * u + o * A + e * u - o * n, g = -(F * n * l - F * u * r - e * A * l + e * u * t + o * A * r - o * n * t), c = 2 * (e - F), m = 2 * (n - A), k = 2 * (r - t), I = F * F + A * A + t * t - e * e - n * n - r * r, P = 2 * (o - F), R = 2 * (u - A), L = 2 * (l - t), G = F * F + A * A + t * t - o * o - u * u - l * l, ND = -(a * k * G - a * L * I - m * h * G + m * L * g + R * h * I - R * k * g) / (s * m * L - s * R * k - c * a * L + c * R * h + P * a * k - P * m * h), KD = (s * k * G - s * L * I - c * h * G + c * L * g + P * h * I - P * k * g) / (s * m * L - s * R * k - c * a * L + c * R * h + P * a * k - P * m * h), HD = -(s * m * G - s * R * I - c * a * G + c * R * g + P * a * I - P * m * g) / (s * m * L - s * R * k - c * a * L + c * R * h + P * a * k - P * m * h);
1741
+ return new THREE.Vector3(ND, KD, HD);
1737
1742
  };
1738
1743
  function jD() {
1739
1744
  const E = new T();
1740
1745
  let D = new uC();
1741
- v.use(D), D.closed = !1;
1746
+ S.use(D), D.closed = !1;
1742
1747
  let C = 0, B = "default", F = !0;
1743
1748
  const A = () => {
1744
1749
  E.setUserDraw(
1745
- (n, u) => {
1746
- D.radius = F ? D.center.distanceTo(n) : D.center.distanceTo(n) / 2, u.drawCustomEntity(D), u.drawLine(D.center, n);
1750
+ (s, a) => {
1751
+ D.radius = F ? D.center.distanceTo(s) : D.center.distanceTo(s) / 2, a.drawCustomEntity(D), a.drawLine(D.center, s);
1747
1752
  }
1748
1753
  );
1749
- }, t = (n) => {
1754
+ }, t = (s) => {
1750
1755
  if (B === "default") {
1751
- if (n === y.kOk) {
1756
+ if (s === y.kOk) {
1752
1757
  if (C === 0)
1753
1758
  E.setMessage(`
1754
1759
  \u6307\u5B9A\u5706\u7684\u534A\u5F84:`), E.setKeyWords("[\u76F4\u5F84(D)]"), D.center = E.value(), A();
@@ -1756,19 +1761,19 @@ function jD() {
1756
1761
  return i.App.GetCurrentMxCAD().DrawCircle(D.center.x, D.center.y, D.radius), !0;
1757
1762
  C++;
1758
1763
  }
1759
- n === y.kKeyWord && E.isKeyWordPicked("D") && (F = !1, A(), E.setMessage(`
1764
+ s === y.kKeyWord && E.isKeyWordPicked("D") && (F = !1, A(), E.setMessage(`
1760
1765
  \u6307\u5B9A\u5706\u7684\u76F4\u5F84:`), E.setKeyWords(""));
1761
1766
  }
1762
1767
  };
1763
1768
  let e = [];
1764
- const s = (n) => {
1769
+ const n = (s) => {
1765
1770
  if (B === "3P" && (E.setMessage(`
1766
- \u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E00\u4E2A\u70B9:`), n === y.kOk)) {
1767
- if (C === 0 && (e.push(E.value()), E.setUserDraw((u, h) => {
1768
- h.drawLine(e[0], u);
1771
+ \u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E00\u4E2A\u70B9:`), s === y.kOk)) {
1772
+ if (C === 0 && (e.push(E.value()), E.setUserDraw((a, h) => {
1773
+ h.drawLine(e[0], a);
1769
1774
  }), E.setMessage(`
1770
- \u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E8C\u4E2A\u70B9:`)), C === 1 && (e.push(E.value()), E.setUserDraw((u, h) => {
1771
- const [g, c] = e, m = u;
1775
+ \u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E8C\u4E2A\u70B9:`)), C === 1 && (e.push(E.value()), E.setUserDraw((a, h) => {
1776
+ const [g, c] = e, m = a;
1772
1777
  D.center = sD([
1773
1778
  g,
1774
1779
  c,
@@ -1781,25 +1786,25 @@ function jD() {
1781
1786
  }
1782
1787
  };
1783
1788
  let r;
1784
- const o = (n, u) => {
1785
- new THREE.Line3(n, u).getCenter(D.center), D.radius = u.distanceTo(n) / 2;
1786
- }, a = (n) => {
1789
+ const o = (s, a) => {
1790
+ new THREE.Line3(s, a).getCenter(D.center), D.radius = a.distanceTo(s) / 2;
1791
+ }, u = (s) => {
1787
1792
  if (B === "2P" && (E.setMessage(`
1788
- \u6307\u5B9A\u5706\u76F4\u5F84\u7684\u7B2C\u4E00\u4E2A\u7AEF\u70B9:`), n === y.kOk)) {
1789
- if (C === 0 && (r = E.value(), E.setUserDraw((u, h) => {
1790
- o(r, u), h.drawCustomEntity(D), h.drawLine(r, u);
1793
+ \u6307\u5B9A\u5706\u76F4\u5F84\u7684\u7B2C\u4E00\u4E2A\u7AEF\u70B9:`), s === y.kOk)) {
1794
+ if (C === 0 && (r = E.value(), E.setUserDraw((a, h) => {
1795
+ o(r, a), h.drawCustomEntity(D), h.drawLine(r, a);
1791
1796
  }), E.setMessage(`
1792
1797
  \u6307\u5B9A\u5706\u76F4\u5F84\u7684\u7B2C\u4E8C\u4E2A\u7AEF\u70B9:`)), C === 1)
1793
1798
  return o(r, E.value()), i.App.GetCurrentMxCAD().DrawCircle(D.center.x, D.center.y, D.radius), !0;
1794
1799
  C++;
1795
1800
  }
1796
- }, l = (n) => {
1801
+ }, l = (s) => {
1797
1802
  if (B === "T") {
1798
1803
  if (E.setMessage(`
1799
- \u6307\u5B9A\u5BF9\u8C61\u4E0E\u5706\u7684\u7B2C\u4E00\u4E2A\u5207\u70B9:`), n === y.kOk) {
1804
+ \u6307\u5B9A\u5BF9\u8C61\u4E0E\u5706\u7684\u7B2C\u4E00\u4E2A\u5207\u70B9:`), s === y.kOk) {
1800
1805
  if (C === 0) {
1801
- const u = E.value();
1802
- console.log(u), d.getCurrentDraw();
1806
+ const a = E.value();
1807
+ console.log(a), d.getCurrentDraw();
1803
1808
  }
1804
1809
  C++;
1805
1810
  }
@@ -1810,18 +1815,18 @@ function jD() {
1810
1815
  `
1811
1816
  \u6307\u5B9A\u5706\u7684\u5706\u5FC3\u6216[\u4E09\u70B9(3P)/\u4E24\u70B9(2P)/\u5207\u70B9\u3001\u5207\u70B9\u3001\u534A\u5F84(T)]:`
1812
1817
  ), E.setKeyWords("3P 2P T"), E.goWhile(
1813
- (n) => {
1814
- if (n === y.kKeyWord && (E.isKeyWordPicked("3P") ? B = "3P" : E.isKeyWordPicked("2P") ? B = "2P" : E.isKeyWordPicked("T") && (B = "T")), t(n))
1818
+ (s) => {
1819
+ if (s === y.kKeyWord && (E.isKeyWordPicked("3P") ? B = "3P" : E.isKeyWordPicked("2P") ? B = "2P" : E.isKeyWordPicked("T") && (B = "T")), t(s))
1815
1820
  return { exit: !0 };
1816
- if (s(n))
1821
+ if (n(s))
1817
1822
  return { exit: !0 };
1818
- if (a(n))
1823
+ if (u(s))
1819
1824
  return { exit: !0 };
1820
- if (l(n))
1825
+ if (l(s))
1821
1826
  return { exit: !0 };
1822
1827
  },
1823
- (n) => {
1824
- n === y.kCancel && i.App.GetCurrentMxCAD().DrawCircle(D.center.x, D.center.y, D.radius);
1828
+ (s) => {
1829
+ s === y.kCancel && i.App.GetCurrentMxCAD().DrawCircle(D.center.x, D.center.y, D.radius);
1825
1830
  }
1826
1831
  );
1827
1832
  }
@@ -1851,12 +1856,12 @@ async function ID() {
1851
1856
  };
1852
1857
  F(), E.goWhile(
1853
1858
  (A) => {
1854
- if (A === y.kOk && (D = new J(), v.use(D), D.pt1 = B, D.pt2 = E.value(), B = D.pt2.clone(), C.push(D), F()), A === y.kKeyWord) {
1859
+ if (A === y.kOk && (D = new J(), S.use(D), D.pt1 = B, D.pt2 = E.value(), B = D.pt2.clone(), C.push(D), F()), A === y.kKeyWord) {
1855
1860
  if (E.isKeyWordPicked("E"))
1856
1861
  nD();
1857
1862
  else if (E.isKeyWordPicked("C")) {
1858
1863
  const t = new J();
1859
- return t.pt1 = B.clone(), t.pt2 = C[0].pt1.clone(), v.use(t), C.push(t), B = t.pt2.clone(), nD(), { exit: !0 };
1864
+ return t.pt1 = B.clone(), t.pt2 = C[0].pt1.clone(), S.use(t), C.push(t), B = t.pt2.clone(), nD(), { exit: !0 };
1860
1865
  }
1861
1866
  }
1862
1867
  },
@@ -1893,8 +1898,8 @@ async function cC() {
1893
1898
  if (t.GetCount() == 0)
1894
1899
  return;
1895
1900
  let e = t.GetCount();
1896
- for (let s = 0; s < e; s++) {
1897
- let r = t.AtObject(s).val;
1901
+ for (let n = 0; n < e; n++) {
1902
+ let r = t.AtObject(n).val;
1898
1903
  r?.ObjectName == "McDbMText" && console.log(r.contents);
1899
1904
  }
1900
1905
  }
@@ -1939,7 +1944,7 @@ async function dC() {
1939
1944
  }
1940
1945
  async function GD() {
1941
1946
  const E = new T(), D = new ZD();
1942
- v.use(D), E.setMessage(`
1947
+ S.use(D), E.setMessage(`
1943
1948
  \u6307\u5B9A\u8D77\u70B9:`);
1944
1949
  let C;
1945
1950
  E.setUserDraw((B, F) => {
@@ -1975,17 +1980,17 @@ async function WD() {
1975
1980
  let B = 5;
1976
1981
  E.setUserDraw((F, A) => {
1977
1982
  C.radius = D.distanceTo(F);
1978
- let t = C.getEndParam().val, s = C.getDistAtParam(t).val / B, r = 0, o = new THREE.Vector3(), a = new THREE.Vector3();
1983
+ let t = C.getEndParam().val, n = C.getDistAtParam(t).val / B, r = 0, o = new THREE.Vector3(), u = new THREE.Vector3();
1979
1984
  for (let l = 0; l < B; l++) {
1980
- let n = C.getPointAtDist(r).val;
1981
- r += s, l > 0 ? A.drawMcDbLine(n.x, n.y, n.z, o.x, o.y, o.z) : a = new THREE.Vector3(n.x, n.y, n.z), l == B - 1 && A.drawMcDbLine(n.x, n.y, n.z, a.x, a.y, a.z), o = new THREE.Vector3(n.x, n.y, n.z);
1985
+ let s = C.getPointAtDist(r).val;
1986
+ r += n, l > 0 ? A.drawMcDbLine(s.x, s.y, s.z, o.x, o.y, o.z) : u = new THREE.Vector3(s.x, s.y, s.z), l == B - 1 && A.drawMcDbLine(s.x, s.y, s.z, u.x, u.y, u.z), o = new THREE.Vector3(s.x, s.y, s.z);
1982
1987
  }
1983
1988
  }), E.setMessage(`
1984
1989
  \u6307\u5B9A\u4E8C\u70B9:`), await E.go(), E.drawReserve();
1985
1990
  }
1986
1991
  d.addCommand("Mx_Polygon", WD);
1987
1992
  function hC(E, D, C) {
1988
- const B = E.x, F = D.x, A = C.x, t = E.y, e = D.y, s = C.y, r = B - F, o = t - e, a = B - A, l = t - s, n = (B * B - F * F + (t * t - e * e)) / 2, u = (B * B - A * A + (t * t - s * s)) / 2, h = o * a - r * l, g = -(l * n - o * u) / h, c = -(r * u - a * n) / h;
1993
+ const B = E.x, F = D.x, A = C.x, t = E.y, e = D.y, n = C.y, r = B - F, o = t - e, u = B - A, l = t - n, s = (B * B - F * F + (t * t - e * e)) / 2, a = (B * B - A * A + (t * t - n * n)) / 2, h = o * u - r * l, g = -(l * s - o * a) / h, c = -(r * a - u * s) / h;
1989
1994
  return new THREE.Vector3(g, c, 0);
1990
1995
  }
1991
1996
  function wC(E, D) {
@@ -2000,10 +2005,10 @@ function gC(E, D, C) {
2000
2005
  }
2001
2006
  function CD(E, D, C) {
2002
2007
  const B = E.x, F = D.x, A = E.y, t = D.y;
2003
- let e, s, r;
2004
- return e = (A - t) / C, s = (B - F) / C, s >= 0.99999 && (s = 0.99999), s <= -0.99999 && (s = -0.99999), r = Math.acos(s), r = r / Math.PI * 180, e < -0.05 && (r = 360 - r), {
2008
+ let e, n, r;
2009
+ return e = (A - t) / C, n = (B - F) / C, n >= 0.99999 && (n = 0.99999), n <= -0.99999 && (n = -0.99999), r = Math.acos(n), r = r / Math.PI * 180, e < -0.05 && (r = 360 - r), {
2005
2010
  sin: e,
2006
- cos: s,
2011
+ cos: n,
2007
2012
  angle: r
2008
2013
  };
2009
2014
  }
@@ -2035,13 +2040,13 @@ class rD extends aD {
2035
2040
  }
2036
2041
  getArcMidPoint(D, C, B, F, A) {
2037
2042
  const t = D, e = B * Math.PI / 180;
2038
- let s = F * Math.PI / 180;
2043
+ let n = F * Math.PI / 180;
2039
2044
  const r = new THREE.Vector3(), o = new THREE.Vector3();
2040
- r.x = t.x + C * Math.cos(e), r.y = t.y + C * Math.sin(e), o.x = t.x + C * Math.cos(s), o.y = t.y + C * Math.sin(s);
2041
- const a = C;
2042
- (A ? B < F : B > F) && (s += Math.PI * 2);
2045
+ r.x = t.x + C * Math.cos(e), r.y = t.y + C * Math.sin(e), o.x = t.x + C * Math.cos(n), o.y = t.y + C * Math.sin(n);
2046
+ const u = C;
2047
+ (A ? B < F : B > F) && (n += Math.PI * 2);
2043
2048
  const l = new THREE.Vector3();
2044
- return l.x = t.x + a * Math.cos((e + s) / 2), l.y = t.y + a * Math.sin((e + s) / 2), [r, l, o, this.center];
2049
+ return l.x = t.x + u * Math.cos((e + n) / 2), l.y = t.y + u * Math.sin((e + n) / 2), [r, l, o, this.center];
2045
2050
  }
2046
2051
  getGripPoints() {
2047
2052
  return this.getArcMidPoint(
@@ -2062,12 +2067,12 @@ class rD extends aD {
2062
2067
  D[C].add(B);
2063
2068
  const [F, A, t] = D;
2064
2069
  this.center = hC(F, t, A), this.radius = wC(A, this.center);
2065
- const e = CD(F, this.center, this.radius), s = CD(t, this.center, this.radius), r = CD(A, this.center, this.radius);
2070
+ const e = CD(F, this.center, this.radius), n = CD(t, this.center, this.radius), r = CD(A, this.center, this.radius);
2066
2071
  this.clockwise = gC(
2067
- s.angle,
2072
+ n.angle,
2068
2073
  e.angle,
2069
2074
  r.angle
2070
- ), this.startAngle = THREE.MathUtils.degToRad(e.angle), this.endAngle = THREE.MathUtils.degToRad(s.angle);
2075
+ ), this.startAngle = THREE.MathUtils.degToRad(e.angle), this.endAngle = THREE.MathUtils.degToRad(n.angle);
2071
2076
  }
2072
2077
  }
2073
2078
  async function UD() {
@@ -2075,7 +2080,7 @@ async function UD() {
2075
2080
  E.setMessage(`
2076
2081
  \u6307\u5B9A\u5706\u5F27\u7684\u8D77\u70B9:`), E.setKeyWords("[\u5706\u5FC3(C)]");
2077
2082
  let D = new rD();
2078
- D.closed = !1, v.use(D);
2083
+ D.closed = !1, S.use(D);
2079
2084
  let C, B, F;
2080
2085
  const A = f(
2081
2086
  E,
@@ -2083,7 +2088,7 @@ async function UD() {
2083
2088
  C = E.value(), E.setMessage(`
2084
2089
  \u6307\u5B9A\u5706\u5F27\u7684\u7B2C\u4E8C\u4E2A\u70B9:`), E.setKeyWords("[\u5706\u5FC3(C)/\u7AEF\u70B9(E)]"), E.setUserDraw((c, m) => {
2085
2090
  m.drawLine(C, c);
2086
- }), u();
2091
+ }), a();
2087
2092
  },
2088
2093
  () => {
2089
2094
  if (E.isKeyWordPicked("C")) {
@@ -2098,7 +2103,7 @@ async function UD() {
2098
2103
  const e = f(
2099
2104
  E,
2100
2105
  () => {
2101
- t = E.value(), F = new q(), F.closed = !1, v.use(F), F.center = t, D.center = t, E.setMessage(`
2106
+ t = E.value(), F = new q(), F.closed = !1, S.use(F), F.center = t, D.center = t, E.setMessage(`
2102
2107
  \u6307\u5B9A\u5706\u5F27\u7684\u8D77\u70B9:`), E.setUserDraw((c, m) => {
2103
2108
  m.drawCustomEntity(F), m.drawLine(t, c);
2104
2109
  }), o();
@@ -2106,11 +2111,11 @@ async function UD() {
2106
2111
  () => {
2107
2112
  }
2108
2113
  );
2109
- let s, r;
2114
+ let n, r;
2110
2115
  const o = f(
2111
2116
  E,
2112
2117
  () => {
2113
- s = E.value(), F.endPoint = s, E.setMessage(
2118
+ n = E.value(), F.endPoint = n, E.setMessage(
2114
2119
  `
2115
2120
  \u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9(\u6309\u4F4F ctrl \u952E\u53D6\u76F8\u53CD\u65B9\u5411)\u6216 [\u89D2\u5EA6(A)/\u5F26\u957F(L)/\u4FEE\u6539\u534A\u5F84(R)]:`
2116
2121
  ), E.setKeyWords("A L R"), r = new J(), r.setDashLineDisplay(!0), r.setDashArray(0.05), r.setLineWidth(2), r.setColor("#ffd30d"), r.pt1 = F.center, E.setUserDraw((c, m) => {
@@ -2120,11 +2125,11 @@ async function UD() {
2120
2125
  () => {
2121
2126
  }
2122
2127
  );
2123
- let a;
2128
+ let u;
2124
2129
  const l = f(
2125
2130
  E,
2126
2131
  () => {
2127
- a = E.value(), F.startPoint = a, F.endPoint = s, d.getCurrentDraw().addMxEntity(F);
2132
+ u = E.value(), F.startPoint = u, F.endPoint = n, d.getCurrentDraw().addMxEntity(F);
2128
2133
  },
2129
2134
  () => {
2130
2135
  if (E.isKeyWordPicked("A"))
@@ -2152,23 +2157,23 @@ async function UD() {
2152
2157
  return !0;
2153
2158
  }
2154
2159
  );
2155
- let n;
2156
- const u = f(
2160
+ let s;
2161
+ const a = f(
2157
2162
  E,
2158
2163
  () => {
2159
- n = E.value(), E.setMessage(`
2160
- \u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9:`), B = new YD(), B.autoClockwise = !0, B.closed = !1, v.use(B), B.point1 = C, B.point3 = n, E.setUserDraw((c, m) => {
2164
+ s = E.value(), E.setMessage(`
2165
+ \u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9:`), B = new YD(), B.autoClockwise = !0, B.closed = !1, S.use(B), B.point1 = C, B.point3 = s, E.setUserDraw((c, m) => {
2161
2166
  B.point2 = c, m.drawCustomEntity(B);
2162
2167
  }), g();
2163
2168
  },
2164
2169
  () => {
2165
2170
  if (E.isKeyWordPicked("C"))
2166
- F = new q(), F.closed = !1, v.use(F), E.setMessage(`
2171
+ F = new q(), F.closed = !1, S.use(F), E.setMessage(`
2167
2172
  \u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), E.setKeyWords(""), E.setUserDraw((c, m) => {
2168
2173
  F.startPoint = C, m.drawLine(c, F.startPoint);
2169
2174
  }), e();
2170
2175
  else if (E.isKeyWordPicked("E"))
2171
- F = new q(), F.closed = !1, v.use(F), E.setMessage(`
2176
+ F = new q(), F.closed = !1, S.use(F), E.setMessage(`
2172
2177
  \u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), E.setKeyWords(""), E.setUserDraw((c, m) => {
2173
2178
  F.startPoint = C, m.drawLine(c, F.startPoint);
2174
2179
  }), e();
@@ -2180,7 +2185,7 @@ async function UD() {
2180
2185
  const g = f(
2181
2186
  E,
2182
2187
  () => {
2183
- B.point1 = C, B.point2 = E.value(), B.point3 = n, h.DrawArc2(B.point1.x, B.point1.y, B.point3.x, B.point3.y, B.point2.x, B.point2.y);
2188
+ B.point1 = C, B.point2 = E.value(), B.point3 = s, h.DrawArc2(B.point1.x, B.point1.y, B.point3.x, B.point3.y, B.point2.x, B.point2.y);
2184
2189
  },
2185
2190
  () => {
2186
2191
  if (E.isKeyWordPicked("C"))
@@ -2198,15 +2203,15 @@ d.on("init", () => {
2198
2203
  });
2199
2204
  function zD() {
2200
2205
  const E = new T(), D = new QD();
2201
- D.closed = !1, v.use(D), E.setMessage(`
2206
+ D.closed = !1, S.use(D), E.setMessage(`
2202
2207
  \u6307\u5B9A\u692D\u5706\u7684\u8F74\u7AEF\u70B9`), E.setKeyWords("[\u4E2D\u5FC3\u70B9(C)]");
2203
2208
  let C, B = new THREE.Vector3();
2204
2209
  f(
2205
2210
  E,
2206
2211
  () => {
2207
2212
  C = E.value(), E.setUserDraw((r, o) => {
2208
- const a = new THREE.Line3(C, r);
2209
- a.getCenter(B), D.center = B, D.xRadius = a.distance() / 2, D.yRadius = D.xRadius, D.rotation = DD(r.x, r.y, B.x, B.y), o.drawLine(r, C);
2213
+ const u = new THREE.Line3(C, r);
2214
+ u.getCenter(B), D.center = B, D.xRadius = u.distance() / 2, D.yRadius = D.xRadius, D.rotation = DD(r.x, r.y, B.x, B.y), o.drawLine(r, C);
2210
2215
  }), E.setMessage(`
2211
2216
  \u6307\u5B9A\u692D\u5706\u5F27\u8F74\u7684\u53E6\u4E00\u4E2A\u7AEF\u70B9:`), E.setKeyWords(""), A();
2212
2217
  },
@@ -2239,11 +2244,11 @@ function zD() {
2239
2244
  E.setUserDraw((r, o) => {
2240
2245
  D.endAngle = DD(r.x, r.y, B.x, B.y) - D.rotation, o.drawLine(B, r), o.drawCustomEntity(D);
2241
2246
  }), E.setMessage(`
2242
- \u6307\u5B9A\u7EC8\u6B62\u89D2\u5EA6`), E.setKeyWords(""), s();
2247
+ \u6307\u5B9A\u7EC8\u6B62\u89D2\u5EA6`), E.setKeyWords(""), n();
2243
2248
  },
2244
2249
  () => {
2245
2250
  }
2246
- ), s = f(
2251
+ ), n = f(
2247
2252
  E,
2248
2253
  () => {
2249
2254
  let r = new w(D.xRadius, 0, 0);
@@ -2277,7 +2282,7 @@ async function VD() {
2277
2282
  d.addCommand("Mx_Erase", VD);
2278
2283
  const xC = async (E, D, C) => {
2279
2284
  const { locateFile: B } = C, F = B(E + ".js");
2280
- return await LD(F), await globalThis[D](C);
2285
+ return await vD(F), await globalThis[D](C);
2281
2286
  };
2282
2287
  function bC(E) {
2283
2288
  return typeof ResizeObserver == "function" ? new ResizeObserver(E) : null;
@@ -2307,37 +2312,37 @@ class z {
2307
2312
  canvas;
2308
2313
  constructor(D) {
2309
2314
  const C = () => {
2310
- const a = this.canvas.parentElement?.clientWidth || window.innerWidth, l = this.canvas.parentElement?.clientHeight || window.innerHeight;
2311
- let n = Math.min(a, window.screen.availWidth), u = Math.min(l, window.screen.availHeight);
2312
- n = Math.max(A, n), u = Math.max(t, u), this.canvas.style.width = n + 1 + "px", this.canvas.style.height = u + "px";
2315
+ const u = this.canvas.parentElement?.clientWidth || window.innerWidth, l = this.canvas.parentElement?.clientHeight || window.innerHeight;
2316
+ let s = Math.min(u, window.screen.availWidth), a = Math.min(l, window.screen.availHeight);
2317
+ s = Math.max(A, s), a = Math.max(t, a), this.canvas.style.width = s + 1 + "px", this.canvas.style.height = a + "px";
2313
2318
  const h = window.devicePixelRatio || 1;
2314
- this.canvas.width = n * h, this.canvas.height = u * h;
2319
+ this.canvas.width = s * h, this.canvas.height = a * h;
2315
2320
  }, B = MC(C, 50), {
2316
2321
  canvas: F,
2317
2322
  minWidth: A = 300,
2318
2323
  minHeight: t = 300,
2319
2324
  updateCanvasSize: e = B,
2320
- ...s
2325
+ ...n
2321
2326
  } = D;
2322
2327
  let r = typeof F == "string" ? document.querySelectorAll(F)[0] : F, o = r.getContext("webgl2", { alpha: !1, depth: !0, antialias: !1, preserveDrawingBuffer: !0 });
2323
- o == null && (o = r.getContext("webgl", { alpha: !1, depth: !0, antialias: !1, preserveDrawingBuffer: !0 })), this.canvas = r, this.ctx = o, s.canvas = this.canvas;
2324
- for (let a in s)
2325
- this[a] = s[a];
2328
+ o == null && (o = r.getContext("webgl", { alpha: !1, depth: !0, antialias: !1, preserveDrawingBuffer: !0 })), this.canvas = r, this.ctx = o, n.canvas = this.canvas;
2329
+ for (let u in n)
2330
+ this[u] = n[u];
2326
2331
  if (this.canvas instanceof HTMLCanvasElement) {
2327
- const a = this.canvas.parentElement || document.body;
2328
- fC(a, e);
2332
+ const u = this.canvas.parentElement || document.body;
2333
+ fC(u, e);
2329
2334
  } else
2330
2335
  console.error("createMxDraw3d canvas \u53C2\u6570\u4E0D\u6B63\u786E \u65E0\u6CD5\u83B7\u53D6\u5230canvas\u5143\u7D20");
2331
2336
  window.onresize = C, C(), xC("mxdraw3d_min", "mxdraw3d", this).then(() => {
2332
- z.onloadWasmMxDraw3dModel && z.onloadWasmMxDraw3dModel(this), this.updateCanvasSize = e, this.open3DFile = (a) => {
2337
+ z.onloadWasmMxDraw3dModel && z.onloadWasmMxDraw3dModel(this), this.updateCanvasSize = e, this.open3DFile = (u) => {
2333
2338
  const l = new FileReader();
2334
2339
  l.onload = () => {
2335
2340
  if (!!l.result && l.result instanceof ArrayBuffer) {
2336
- var n = new Uint8Array(l.result);
2337
- const u = this._malloc(n.length);
2338
- this.HEAPU8.set(n, u), this.openFromMemory(a.name, u, n.length, !0), this.displayGround(!0), this.canvas.focus();
2341
+ var s = new Uint8Array(l.result);
2342
+ const a = this._malloc(s.length);
2343
+ this.HEAPU8.set(s, a), this.openFromMemory(u.name, a, s.length, !0), this.displayGround(!0), this.canvas.focus();
2339
2344
  }
2340
- }, l.readAsArrayBuffer(a);
2345
+ }, l.readAsArrayBuffer(u);
2341
2346
  };
2342
2347
  });
2343
2348
  }
@@ -2366,15 +2371,15 @@ const PC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2366
2371
  McGePoint3d: p,
2367
2372
  McGeVector3d: w,
2368
2373
  McGeMatrix3d: W,
2369
- getFilterImp: K,
2370
- McDrawResbuf: N,
2374
+ getFilterImp: N,
2375
+ McDrawResbuf: K,
2371
2376
  McDrawUtilityClass: PD,
2372
2377
  McDrawUtility: eD,
2373
2378
  McDrawSelSet: RD,
2374
2379
  McRxObject: O,
2375
2380
  McObjectIdType: b,
2376
2381
  McObjectId: M,
2377
- McDbObject: L,
2382
+ McDbObject: v,
2378
2383
  get McDb() {
2379
2384
  return BD;
2380
2385
  },
@@ -2401,8 +2406,8 @@ const PC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2401
2406
  McDbRotatedDimension: TD,
2402
2407
  McDbArc: kD,
2403
2408
  McObject: U,
2404
- McAppType: SD,
2405
- MxCppType: vD,
2409
+ McAppType: LD,
2410
+ MxCppType: SD,
2406
2411
  get MxCpp() {
2407
2412
  return i;
2408
2413
  },
@@ -2421,7 +2426,7 @@ const PC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2421
2426
  loadMxCADassembly3d: TC
2422
2427
  }, Symbol.toStringTag, { value: "Module" }));
2423
2428
  export {
2424
- SD as McAppType,
2429
+ LD as McAppType,
2425
2430
  j as McCmColor,
2426
2431
  BD as McDb,
2427
2432
  MD as McDbAlignedDimension,
@@ -2441,12 +2446,12 @@ export {
2441
2446
  Z as McDbLine,
2442
2447
  hD as McDbLinetypeTable,
2443
2448
  FD as McDbMText,
2444
- L as McDbObject,
2449
+ v as McDbObject,
2445
2450
  bD as McDbPolyline,
2446
2451
  TD as McDbRotatedDimension,
2447
2452
  Y as McDbText,
2448
2453
  wD as McDbTextStyleTable,
2449
- N as McDrawResbuf,
2454
+ K as McDrawResbuf,
2450
2455
  RD as McDrawSelSet,
2451
2456
  eD as McDrawUtility,
2452
2457
  PD as McDrawUtilityClass,
@@ -2458,7 +2463,7 @@ export {
2458
2463
  b as McObjectIdType,
2459
2464
  O as McRxObject,
2460
2465
  i as MxCpp,
2461
- vD as MxCppType,
2466
+ SD as MxCppType,
2462
2467
  z as MxDraw3d,
2463
2468
  H as MxTools,
2464
2469
  lD as b64Decode,
@@ -2475,7 +2480,7 @@ export {
2475
2480
  GD as drawPolyLine,
2476
2481
  WD as drawPolygon,
2477
2482
  aC as drawText,
2478
- K as getFilterImp,
2483
+ N as getFilterImp,
2479
2484
  OD as loadMxCADassembly,
2480
2485
  TC as loadMxCADassembly3d,
2481
2486
  VD as mxErase,