mxcad 1.0.113 → 1.0.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mxcad.d.ts +35 -0
- package/dist/mxcad.es.js +406 -376
- package/dist/mxcad.umd.js +40 -40
- package/dist/wasm/2d/mxdrawassembly_min.js +847 -846
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +846 -845
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/dist/wasm/3d/mxdraw3d_min.data +0 -0
- package/dist/wasm/3d/mxdraw3d_min.js +193 -63
- package/dist/wasm/3d/mxdraw3d_min.wasm +0 -0
- package/package.json +1 -1
package/dist/mxcad.es.js
CHANGED
|
@@ -1836,7 +1836,7 @@ class Ne extends Le {
|
|
|
1836
1836
|
return { val: this.imp.getLength(), ret: u.getCallResult() == 0 };
|
|
1837
1837
|
}
|
|
1838
1838
|
}
|
|
1839
|
-
class
|
|
1839
|
+
class We extends Ne {
|
|
1840
1840
|
constructor(e, t, r, n, C, s) {
|
|
1841
1841
|
e instanceof Object ? e instanceof _ ? (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbLine()), t instanceof _ && (this.startPoint = e, this.endPoint = t)) : super(e) : (super(), this.initTempObject(new u.mxcadassemblyimp.MdDbLine()), this.startPoint = new _(e, t, r), this.endPoint = new _(n, C, s));
|
|
1842
1842
|
}
|
|
@@ -2022,7 +2022,7 @@ class Se extends Ne {
|
|
|
2022
2022
|
return this.imp.setBulgeAt(e, t);
|
|
2023
2023
|
}
|
|
2024
2024
|
}
|
|
2025
|
-
class
|
|
2025
|
+
class Vt extends Le {
|
|
2026
2026
|
constructor(e) {
|
|
2027
2027
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbBlockReference());
|
|
2028
2028
|
}
|
|
@@ -2155,7 +2155,7 @@ class It extends Le {
|
|
|
2155
2155
|
return new _t(this.imp.GetAllText());
|
|
2156
2156
|
}
|
|
2157
2157
|
}
|
|
2158
|
-
class
|
|
2158
|
+
class Wt extends It {
|
|
2159
2159
|
constructor(e) {
|
|
2160
2160
|
super(e), e || this.initTempObject(new u.mxcadassemblyimp.MdDbAlignedDimension());
|
|
2161
2161
|
}
|
|
@@ -2720,8 +2720,18 @@ class ii {
|
|
|
2720
2720
|
isTryVersion() {
|
|
2721
2721
|
return this.imp.isTryVersion();
|
|
2722
2722
|
}
|
|
2723
|
+
setViewBackgroundColor(e, t, r) {
|
|
2724
|
+
let n = this.getMxDrawObject();
|
|
2725
|
+
return n && n.setViewColor(e << 16 | t << 8 | r), this.imp.setViewBackgroundColor(e, t, r);
|
|
2726
|
+
}
|
|
2727
|
+
getCurrentDatabaseDrawColor() {
|
|
2728
|
+
let e = this.getDatabase().getImp().GetCurrentlyDrawColor(), t = this.getMxDrawObject().getViewColor(), r = e.at(0), n = e.at(1), C = e.at(2);
|
|
2729
|
+
t == 16777215 ? r == 255 && n == 255 && C == 255 && (r = 0, n = 0, C = 0) : t == 0 && r == 0 && n == 0 && C == 0 && (r = 255, n = 255, C = 255);
|
|
2730
|
+
let s = new THREE.Color();
|
|
2731
|
+
return s.setRGB(r / 255, n / 255, C / 255), s;
|
|
2732
|
+
}
|
|
2723
2733
|
}
|
|
2724
|
-
class
|
|
2734
|
+
class Vi {
|
|
2725
2735
|
imp;
|
|
2726
2736
|
MxCADAssist;
|
|
2727
2737
|
objectIdToObjectCalls = {};
|
|
@@ -2744,11 +2754,14 @@ class Wi {
|
|
|
2744
2754
|
mcedRGB2Index(e, t, r, n = !0) {
|
|
2745
2755
|
return this.imp.mcedRGB2Index(e, t, r, n);
|
|
2746
2756
|
}
|
|
2757
|
+
setDefaultViewBackgroundColor(e, t, r) {
|
|
2758
|
+
return this.imp.setDefaultViewBackgroundColor(e, t, r);
|
|
2759
|
+
}
|
|
2747
2760
|
objectIdIsKindOf(e, t) {
|
|
2748
2761
|
return this.imp.ObjectIdIsKindOf(e, t);
|
|
2749
2762
|
}
|
|
2750
2763
|
initObjectIdToObjectCalls() {
|
|
2751
|
-
this.objectIdToObjectCalls.McDbCurve = (e) => new Ne(this.imp.ObjectIdToMdDbCurve(e)), this.objectIdToObjectCalls.McDbDimension = (e) => new It(this.imp.ObjectIdToMdDbDimension(e)), this.objectIdToObjectCalls.McDbEntity = (e) => new Le(this.imp.ObjectIdToMdDbEntity(e)), this.objectIdToObjectCalls.McDbLine = (e) => new
|
|
2764
|
+
this.objectIdToObjectCalls.McDbCurve = (e) => new Ne(this.imp.ObjectIdToMdDbCurve(e)), this.objectIdToObjectCalls.McDbDimension = (e) => new It(this.imp.ObjectIdToMdDbDimension(e)), this.objectIdToObjectCalls.McDbEntity = (e) => new Le(this.imp.ObjectIdToMdDbEntity(e)), this.objectIdToObjectCalls.McDbLine = (e) => new We(this.imp.ObjectIdToMdDbLine(e)), this.objectIdToObjectCalls.McDbText = (e) => new jt(this.imp.ObjectIdToMdDbText(e)), this.objectIdToObjectCalls.McDbPolyline = (e) => new Se(this.imp.ObjectIdToMdDbPolyline(e)), this.objectIdToObjectCalls.McDbCircle = (e) => new Ge(this.imp.ObjectIdToMdDbCircle(e)), this.objectIdToObjectCalls.McDbArc = (e) => new $e(this.imp.ObjectIdToMdDbArc(e)), this.objectIdToObjectCalls.McDbBlockReference = (e) => new Vt(this.imp.ObjectIdToMdDbBlockReference(e)), this.objectIdToObjectCalls.McDbAlignedDimension = (e) => new Wt(this.imp.ObjectIdToMdDbAlignedDimension(e)), this.objectIdToObjectCalls.McDbRotatedDimension = (e) => new Ht(this.imp.ObjectIdToMdDbRotatedDimension(e)), this.objectIdToObjectCalls.McDbMText = (e) => new Ut(this.imp.ObjectIdToMdDbMText(e)), this.objectIdToObjectCalls.McDbEllipse = (e) => new wt(this.imp.ObjectIdToMdDbEllipse(e)), this.objectIdToObjectCalls.McDbPoint = (e) => new ti(this.imp.ObjectIdToMdDbPoint(e)), this.objectIdToObjectCalls.McDbBlockTableRecord = (e) => new ei(this.imp.ObjectIdToMdDbBlockTableRecord(e)), this.objectIdToObjectCalls.McDbLayerTableRecord = (e) => new ji(this.imp.ObjectIdToMdDbLayerTableRecord(e)), this.objectIdToObjectCalls.McDbLinetypeTableRecord = (e) => new ki(this.imp.ObjectIdToMdDbLinetypeTableRecord(e)), this.objectIdToObjectCalls.McDbTextStyleTableRecord = (e) => new Yi(this.imp.ObjectIdToMdDbTextStyleTableRecord(e));
|
|
2752
2765
|
}
|
|
2753
2766
|
objectIdToObject(e) {
|
|
2754
2767
|
if (!e)
|
|
@@ -2769,7 +2782,7 @@ class Wi {
|
|
|
2769
2782
|
if (!e)
|
|
2770
2783
|
return null;
|
|
2771
2784
|
let t = e.getObjectName(), r = null;
|
|
2772
|
-
return t == "McDbLine" ? r = new
|
|
2785
|
+
return t == "McDbLine" ? r = new We() : t == "McDbText" ? r = new jt() : t == "McDbPolyline" ? r = new Se() : t == "McDbCircle" ? r = new Ge() : t == "McDbArc" ? r = new $e() : t == "McDbBlockReference" ? r = new Vt() : t == "McDbAlignedDimension" ? r = new Wt() : t == "McDbRotatedDimension" ? r = new Ht() : t == "McDbMText" ? r = new Ut() : e.isKindOf("McDbCurve") ? (r = new Ne(), r.initTempObject(new u.mxcadassemblyimp.MdDbCurve())) : e.isKindOf("McDbEntity") && (r = new Le(), r.initTempObject(new u.mxcadassemblyimp.MdDbEntity())), r ? (r.getImp().ConnectionTempObject(e), u.App.destroyObject(e), r) : new Be(e);
|
|
2773
2786
|
}
|
|
2774
2787
|
setFontFilePath(e) {
|
|
2775
2788
|
this.imp.setFontFilePath(e);
|
|
@@ -2780,9 +2793,9 @@ class Wi {
|
|
|
2780
2793
|
});
|
|
2781
2794
|
}
|
|
2782
2795
|
}
|
|
2783
|
-
class
|
|
2796
|
+
class Wi {
|
|
2784
2797
|
mxcadassemblyimp;
|
|
2785
|
-
App = new
|
|
2798
|
+
App = new Vi();
|
|
2786
2799
|
getCallResult() {
|
|
2787
2800
|
return this.App.getLastCallResult();
|
|
2788
2801
|
}
|
|
@@ -2801,7 +2814,7 @@ class Vi {
|
|
|
2801
2814
|
return this.App.getCurrentMxCAD().getDatabase();
|
|
2802
2815
|
}
|
|
2803
2816
|
}
|
|
2804
|
-
const ri = "1.0.
|
|
2817
|
+
const ri = "1.0.115", cn = "SharedArrayBuffer" in window, St = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src), mn = (i, e = self.location.href) => St ? `https://unpkg.com/mxcad@${ri}/dist/wasm/2d-st/${i}` : e + i, hn = (i, e = self.location.href) => St ? `https://unpkg.com/mxcad@${ri}/dist/wasm/2d/${i}` : e + i, dn = (i, e = self.location.href) => St ? `https://unpkg.com/mxcad@${ri}/dist/wasm/3d/${i}` : e + i, Hi = (i) => new Promise((e, t) => {
|
|
2805
2818
|
const r = document.createElement("script");
|
|
2806
2819
|
r.src = i, r.type = "text/javascript", r.crossOrigin = "anonymous", document.body.appendChild(r), r.onload = () => {
|
|
2807
2820
|
e();
|
|
@@ -2816,7 +2829,7 @@ let u;
|
|
|
2816
2829
|
async function Ki(i, e = cn || !St ? mn : hn, t, r, n) {
|
|
2817
2830
|
return new Promise(async (C, s) => {
|
|
2818
2831
|
try {
|
|
2819
|
-
if (u || (u = new
|
|
2832
|
+
if (u || (u = new Wi()), u.mxcadassemblyimp)
|
|
2820
2833
|
return i && i(u), C(u);
|
|
2821
2834
|
const D = await gn("mxdrawassembly_min", "mxdrawassembly", {
|
|
2822
2835
|
locateFile: e,
|
|
@@ -3321,7 +3334,7 @@ function Ct() {
|
|
|
3321
3334
|
t.supports("text-transform: full-width")
|
|
3322
3335
|
]) >= 4;
|
|
3323
3336
|
}
|
|
3324
|
-
function
|
|
3337
|
+
function Vn() {
|
|
3325
3338
|
if (navigator.platform === "iPad")
|
|
3326
3339
|
return !0;
|
|
3327
3340
|
var i = screen, e = i.width / i.height;
|
|
@@ -3331,7 +3344,7 @@ function Wn() {
|
|
|
3331
3344
|
e > 0.65 && e < 1.53
|
|
3332
3345
|
]) >= 2;
|
|
3333
3346
|
}
|
|
3334
|
-
function
|
|
3347
|
+
function Wn() {
|
|
3335
3348
|
var i = document;
|
|
3336
3349
|
return i.fullscreenElement || i.msFullscreenElement || i.mozFullScreenElement || i.webkitFullscreenElement || null;
|
|
3337
3350
|
}
|
|
@@ -3403,8 +3416,8 @@ function Jn(i) {
|
|
|
3403
3416
|
document.hidden || F++, B && F >= e ? D(mi("suspended")) : setTimeout(l, t);
|
|
3404
3417
|
break;
|
|
3405
3418
|
}
|
|
3406
|
-
} catch (
|
|
3407
|
-
D(
|
|
3419
|
+
} catch (h) {
|
|
3420
|
+
D(h);
|
|
3408
3421
|
}
|
|
3409
3422
|
};
|
|
3410
3423
|
l(), C = function() {
|
|
@@ -3440,17 +3453,17 @@ function Mi(i, e, t) {
|
|
|
3440
3453
|
return D.trys.push([4, , 10, 11]), [4, new Promise(function(B, F) {
|
|
3441
3454
|
var A = !1, a = function() {
|
|
3442
3455
|
A = !0, B();
|
|
3443
|
-
}, l = function(
|
|
3444
|
-
A = !0, F(
|
|
3456
|
+
}, l = function(g) {
|
|
3457
|
+
A = !0, F(g);
|
|
3445
3458
|
};
|
|
3446
3459
|
E.onload = a, E.onerror = l;
|
|
3447
3460
|
var p = E.style;
|
|
3448
3461
|
p.setProperty("display", "block", "important"), p.position = "absolute", p.top = "0", p.left = "0", p.visibility = "hidden", e && "srcdoc" in E ? E.srcdoc = e : E.src = "about:blank", s.body.appendChild(E);
|
|
3449
|
-
var
|
|
3450
|
-
var
|
|
3451
|
-
A || (((
|
|
3462
|
+
var h = function() {
|
|
3463
|
+
var g, m;
|
|
3464
|
+
A || (((m = (g = E.contentWindow) === null || g === void 0 ? void 0 : g.document) === null || m === void 0 ? void 0 : m.readyState) === "complete" ? a() : setTimeout(h, 10));
|
|
3452
3465
|
};
|
|
3453
|
-
|
|
3466
|
+
h();
|
|
3454
3467
|
})];
|
|
3455
3468
|
case 5:
|
|
3456
3469
|
D.sent(), D.label = 6;
|
|
@@ -3545,40 +3558,40 @@ function eC() {
|
|
|
3545
3558
|
return Mi(function(e, t) {
|
|
3546
3559
|
var r = t.document;
|
|
3547
3560
|
return Ae(i, void 0, void 0, function() {
|
|
3548
|
-
var n, C, s, E, D, B, F, A, a, l, p,
|
|
3549
|
-
return Fe(this, function(
|
|
3550
|
-
switch (
|
|
3561
|
+
var n, C, s, E, D, B, F, A, a, l, p, h;
|
|
3562
|
+
return Fe(this, function(g) {
|
|
3563
|
+
switch (g.label) {
|
|
3551
3564
|
case 0:
|
|
3552
|
-
return n = r.body, n.style.fontSize = $n, C = r.createElement("div"), C.style.setProperty("visibility", "hidden", "important"), s = {}, E = {}, D = function(
|
|
3553
|
-
var d = r.createElement("span"),
|
|
3554
|
-
return
|
|
3555
|
-
}, B = function(
|
|
3556
|
-
return D("'".concat(
|
|
3565
|
+
return n = r.body, n.style.fontSize = $n, C = r.createElement("div"), C.style.setProperty("visibility", "hidden", "important"), s = {}, E = {}, D = function(m) {
|
|
3566
|
+
var d = r.createElement("span"), w = d.style;
|
|
3567
|
+
return w.position = "absolute", w.top = "0", w.left = "0", w.fontFamily = m, d.textContent = Mn, C.appendChild(d), d;
|
|
3568
|
+
}, B = function(m, d) {
|
|
3569
|
+
return D("'".concat(m, "',").concat(d));
|
|
3557
3570
|
}, F = function() {
|
|
3558
3571
|
return Ke.map(D);
|
|
3559
3572
|
}, A = function() {
|
|
3560
|
-
for (var
|
|
3561
|
-
|
|
3573
|
+
for (var m = {}, d = function(v) {
|
|
3574
|
+
m[v] = Ke.map(function(P) {
|
|
3562
3575
|
return B(v, P);
|
|
3563
3576
|
});
|
|
3564
|
-
},
|
|
3565
|
-
var f = L[
|
|
3577
|
+
}, w = 0, L = hi; w < L.length; w++) {
|
|
3578
|
+
var f = L[w];
|
|
3566
3579
|
d(f);
|
|
3567
3580
|
}
|
|
3568
|
-
return
|
|
3569
|
-
}, a = function(
|
|
3570
|
-
return Ke.some(function(d,
|
|
3571
|
-
return
|
|
3581
|
+
return m;
|
|
3582
|
+
}, a = function(m) {
|
|
3583
|
+
return Ke.some(function(d, w) {
|
|
3584
|
+
return m[w].offsetWidth !== s[d] || m[w].offsetHeight !== E[d];
|
|
3572
3585
|
});
|
|
3573
3586
|
}, l = F(), p = A(), n.appendChild(C), [
|
|
3574
3587
|
4,
|
|
3575
3588
|
mt()
|
|
3576
3589
|
];
|
|
3577
3590
|
case 1:
|
|
3578
|
-
for (
|
|
3579
|
-
s[Ke[
|
|
3580
|
-
return [2, hi.filter(function(
|
|
3581
|
-
return a(p[
|
|
3591
|
+
for (g.sent(), h = 0; h < Ke.length; h++)
|
|
3592
|
+
s[Ke[h]] = l[h].offsetWidth, E[Ke[h]] = l[h].offsetHeight;
|
|
3593
|
+
return [2, hi.filter(function(m) {
|
|
3594
|
+
return a(p[m]);
|
|
3582
3595
|
})];
|
|
3583
3596
|
}
|
|
3584
3597
|
});
|
|
@@ -3740,7 +3753,7 @@ function gC() {
|
|
|
3740
3753
|
return Fe(this, function(t) {
|
|
3741
3754
|
switch (t.label) {
|
|
3742
3755
|
case 0:
|
|
3743
|
-
return e = zt(), Zt(e) ? pt ? [2, zi([], pt, !0)] :
|
|
3756
|
+
return e = zt(), Zt(e) ? pt ? [2, zi([], pt, !0)] : Wn() ? [4, Hn()] : [3, 2] : [3, 2];
|
|
3744
3757
|
case 1:
|
|
3745
3758
|
t.sent(), e = zt(), t.label = 2;
|
|
3746
3759
|
case 2:
|
|
@@ -3838,7 +3851,7 @@ function LC() {
|
|
|
3838
3851
|
}
|
|
3839
3852
|
function fC() {
|
|
3840
3853
|
var i = navigator.platform;
|
|
3841
|
-
return i === "MacIntel" && Pe() && !si() ?
|
|
3854
|
+
return i === "MacIntel" && Pe() && !si() ? Vn() ? "iPad" : "iPhone" : i;
|
|
3842
3855
|
}
|
|
3843
3856
|
function PC() {
|
|
3844
3857
|
return navigator.vendor || "";
|
|
@@ -4215,7 +4228,7 @@ function UC() {
|
|
|
4215
4228
|
return t;
|
|
4216
4229
|
}
|
|
4217
4230
|
}
|
|
4218
|
-
function
|
|
4231
|
+
function VC() {
|
|
4219
4232
|
if (gi("inverted"))
|
|
4220
4233
|
return !0;
|
|
4221
4234
|
if (gi("none"))
|
|
@@ -4224,7 +4237,7 @@ function WC() {
|
|
|
4224
4237
|
function gi(i) {
|
|
4225
4238
|
return matchMedia("(inverted-colors: ".concat(i, ")")).matches;
|
|
4226
4239
|
}
|
|
4227
|
-
function
|
|
4240
|
+
function WC() {
|
|
4228
4241
|
if (_i("active"))
|
|
4229
4242
|
return !0;
|
|
4230
4243
|
if (_i("none"))
|
|
@@ -4277,15 +4290,15 @@ var U = Math, M = function() {
|
|
|
4277
4290
|
return 0;
|
|
4278
4291
|
};
|
|
4279
4292
|
function JC() {
|
|
4280
|
-
var i = U.acos || M, e = U.acosh || M, t = U.asin || M, r = U.asinh || M, n = U.atanh || M, C = U.atan || M, s = U.sin || M, E = U.sinh || M, D = U.cos || M, B = U.cosh || M, F = U.tan || M, A = U.tanh || M, a = U.exp || M, l = U.expm1 || M, p = U.log1p || M,
|
|
4293
|
+
var i = U.acos || M, e = U.acosh || M, t = U.asin || M, r = U.asinh || M, n = U.atanh || M, C = U.atan || M, s = U.sin || M, E = U.sinh || M, D = U.cos || M, B = U.cosh || M, F = U.tan || M, A = U.tanh || M, a = U.exp || M, l = U.expm1 || M, p = U.log1p || M, h = function(b) {
|
|
4281
4294
|
return U.pow(U.PI, b);
|
|
4282
|
-
}, h = function(b) {
|
|
4283
|
-
return U.log(b + U.sqrt(b * b - 1));
|
|
4284
4295
|
}, g = function(b) {
|
|
4296
|
+
return U.log(b + U.sqrt(b * b - 1));
|
|
4297
|
+
}, m = function(b) {
|
|
4285
4298
|
return U.log(b + U.sqrt(b * b + 1));
|
|
4286
4299
|
}, d = function(b) {
|
|
4287
4300
|
return U.log((1 + b) / (1 - b)) / 2;
|
|
4288
|
-
},
|
|
4301
|
+
}, w = function(b) {
|
|
4289
4302
|
return U.exp(b) - 1 / U.exp(b) / 2;
|
|
4290
4303
|
}, L = function(b) {
|
|
4291
4304
|
return (U.exp(b) + 1 / U.exp(b)) / 2;
|
|
@@ -4299,16 +4312,16 @@ function JC() {
|
|
|
4299
4312
|
return {
|
|
4300
4313
|
acos: i(0.12312423423423424),
|
|
4301
4314
|
acosh: e(1e308),
|
|
4302
|
-
acoshPf:
|
|
4315
|
+
acoshPf: g(1e154),
|
|
4303
4316
|
asin: t(0.12312423423423424),
|
|
4304
4317
|
asinh: r(1),
|
|
4305
|
-
asinhPf:
|
|
4318
|
+
asinhPf: m(1),
|
|
4306
4319
|
atanh: n(0.5),
|
|
4307
4320
|
atanhPf: d(0.5),
|
|
4308
4321
|
atan: C(0.5),
|
|
4309
4322
|
sin: s(-1e300),
|
|
4310
4323
|
sinh: E(1),
|
|
4311
|
-
sinhPf:
|
|
4324
|
+
sinhPf: w(1),
|
|
4312
4325
|
cos: D(10.000000000123),
|
|
4313
4326
|
cosh: B(1),
|
|
4314
4327
|
coshPf: L(1),
|
|
@@ -4320,7 +4333,7 @@ function JC() {
|
|
|
4320
4333
|
expm1Pf: f(1),
|
|
4321
4334
|
log1p: p(10),
|
|
4322
4335
|
log1pPf: P(10),
|
|
4323
|
-
powPI:
|
|
4336
|
+
powPI: h(-100)
|
|
4324
4337
|
};
|
|
4325
4338
|
}
|
|
4326
4339
|
var qC = "mmMwWLliI0fiflO&1", Lt = {
|
|
@@ -4338,13 +4351,13 @@ function QC() {
|
|
|
4338
4351
|
var s = C[n], E = Lt[s], D = E[0], B = D === void 0 ? {} : D, F = E[1], A = F === void 0 ? qC : F, a = i.createElement("span");
|
|
4339
4352
|
a.textContent = A, a.style.whiteSpace = "nowrap";
|
|
4340
4353
|
for (var l = 0, p = Object.keys(B); l < p.length; l++) {
|
|
4341
|
-
var
|
|
4342
|
-
|
|
4354
|
+
var h = p[l], g = B[h];
|
|
4355
|
+
g !== void 0 && (a.style[h] = g);
|
|
4343
4356
|
}
|
|
4344
4357
|
t[s] = a, e.appendChild(i.createElement("br")), e.appendChild(a);
|
|
4345
4358
|
}
|
|
4346
|
-
for (var
|
|
4347
|
-
var s = d[
|
|
4359
|
+
for (var m = 0, d = Object.keys(Lt); m < d.length; m++) {
|
|
4360
|
+
var s = d[m];
|
|
4348
4361
|
r[s] = t[s].getBoundingClientRect().width;
|
|
4349
4362
|
}
|
|
4350
4363
|
return r;
|
|
@@ -4517,18 +4530,18 @@ function Ds(i) {
|
|
|
4517
4530
|
C.push("".concat(A, "=").concat(n[A]));
|
|
4518
4531
|
}
|
|
4519
4532
|
for (var a = Si(t), l = 0, p = a; l < p.length; l++) {
|
|
4520
|
-
var
|
|
4521
|
-
s.push("".concat(
|
|
4533
|
+
var h = p[l], g = t[h];
|
|
4534
|
+
s.push("".concat(h, "=").concat(g).concat(rs.has(g) ? "=".concat(t.getParameter(g)) : ""));
|
|
4522
4535
|
}
|
|
4523
4536
|
if (r)
|
|
4524
|
-
for (var
|
|
4525
|
-
var
|
|
4526
|
-
if (!(
|
|
4527
|
-
var L = t.getExtension(
|
|
4537
|
+
for (var m = 0, d = r; m < d.length; m++) {
|
|
4538
|
+
var w = d[m];
|
|
4539
|
+
if (!(w === tr && rr())) {
|
|
4540
|
+
var L = t.getExtension(w);
|
|
4528
4541
|
if (!!L)
|
|
4529
4542
|
for (var f = 0, v = Si(L); f < v.length; f++) {
|
|
4530
|
-
var
|
|
4531
|
-
E.push("".concat(
|
|
4543
|
+
var h = v[f], g = L[h];
|
|
4544
|
+
E.push("".concat(h, "=").concat(g).concat(ns.has(g) ? "=".concat(t.getParameter(g)) : ""));
|
|
4532
4545
|
}
|
|
4533
4546
|
}
|
|
4534
4547
|
}
|
|
@@ -4606,8 +4619,8 @@ var Fs = {
|
|
|
4606
4619
|
vendorFlavors: OC,
|
|
4607
4620
|
cookiesEnabled: vC,
|
|
4608
4621
|
colorGamut: UC,
|
|
4609
|
-
invertedColors:
|
|
4610
|
-
forcedColors:
|
|
4622
|
+
invertedColors: VC,
|
|
4623
|
+
forcedColors: WC,
|
|
4611
4624
|
monochrome: KC,
|
|
4612
4625
|
contrast: zC,
|
|
4613
4626
|
reducedMotion: ZC,
|
|
@@ -4752,32 +4765,34 @@ const Ts = async (i) => {
|
|
|
4752
4765
|
onInit: B,
|
|
4753
4766
|
middlePan: F,
|
|
4754
4767
|
registdata: A,
|
|
4755
|
-
registfile: a
|
|
4768
|
+
registfile: a,
|
|
4769
|
+
viewBackgroundColor: l
|
|
4756
4770
|
} = i || {};
|
|
4757
4771
|
await Ki(() => {
|
|
4758
4772
|
}, n, C, r, t), T.initMxCpp(u), x.init(), T.setIniset({
|
|
4759
4773
|
EnableIntelliSelect: !0,
|
|
4760
4774
|
IntelliSelectType: 1
|
|
4761
|
-
}), B && B();
|
|
4762
|
-
let
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4775
|
+
}), l && u.App.setDefaultViewBackgroundColor(l.red, l.green, l.blue), B && B();
|
|
4776
|
+
let p = await ys(s, F);
|
|
4777
|
+
l && p.setViewColor(l.red << 16 | l.green << 8 | l.blue);
|
|
4778
|
+
const h = T.getMxFunTHREE();
|
|
4779
|
+
let g = new h.Vector2();
|
|
4780
|
+
p.getRenderer().getSize(g);
|
|
4781
|
+
const m = Rs(u.App.getImp(), g.width, g.height, p.getCanvas().id, p.isWebgl2(), p.getId());
|
|
4782
|
+
if (!m.isTryVersion())
|
|
4768
4783
|
if (A && A.length > 0)
|
|
4769
|
-
|
|
4784
|
+
m.initRegist(A);
|
|
4770
4785
|
else {
|
|
4771
|
-
let
|
|
4772
|
-
a && a.length > 0 || (
|
|
4773
|
-
let
|
|
4774
|
-
|
|
4786
|
+
let d = a;
|
|
4787
|
+
a && a.length > 0 || (d = "mxkey.json.frontpage.json");
|
|
4788
|
+
let w = await xt(d);
|
|
4789
|
+
w && w.registdata ? m.initRegist(w.registdata) : console.log("MxTip:empty regist data");
|
|
4775
4790
|
}
|
|
4776
|
-
return bs().then((
|
|
4777
|
-
|
|
4778
|
-
}),
|
|
4791
|
+
return bs().then((d) => {
|
|
4792
|
+
m.getImp().SetAppId(d);
|
|
4793
|
+
}), p.initMxCpp(m), p.addEvent("openFileComplete", () => {
|
|
4779
4794
|
E && E();
|
|
4780
|
-
}), D &&
|
|
4795
|
+
}), D && m.openWebFile(D, void 0, !0, e), m;
|
|
4781
4796
|
};
|
|
4782
4797
|
var Cr = /* @__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))(Cr || {}), sr = /* @__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))(sr || {});
|
|
4783
4798
|
let Ye;
|
|
@@ -4915,18 +4930,18 @@ class Ps extends Ri {
|
|
|
4915
4930
|
}
|
|
4916
4931
|
}
|
|
4917
4932
|
const yi = (i) => {
|
|
4918
|
-
const [e, t, r] = i, { x: n, y: C, z: s } = e, { x: E, y: D, z: B } = t, { x: F, y: A, z: a } = r, l = C * B - D * s - C * a + A * s + D * a - A * B, p = -(n * B - E * s - n * a + F * s + E * a - F * B),
|
|
4933
|
+
const [e, t, r] = i, { x: n, y: C, z: s } = e, { x: E, y: D, z: B } = t, { x: F, y: A, z: a } = r, l = C * B - D * s - C * a + A * s + D * a - A * B, p = -(n * B - E * s - n * a + F * s + E * a - F * B), h = n * D - E * C - n * A + F * C + E * A - F * D, g = -(n * D * a - n * A * B - E * C * a + E * A * s + F * C * B - F * D * s), m = 2 * (E - n), d = 2 * (D - C), w = 2 * (B - s), L = n * n + C * C + s * s - E * E - D * D - B * B, f = 2 * (F - n), v = 2 * (A - C), P = 2 * (a - s), b = n * n + C * C + s * s - F * F - A * A - a * a, ee = -(p * w * b - p * P * L - d * h * b + d * P * g + v * h * L - v * w * g) / (l * d * P - l * v * w - m * p * P + m * v * h + f * p * w - f * d * h), oe = (l * w * b - l * P * L - m * h * b + m * P * g + f * h * L - f * w * g) / (l * d * P - l * v * w - m * p * P + m * v * h + f * p * w - f * d * h), At = -(l * d * b - l * v * L - m * p * b + m * v * g + f * p * L - f * d * g) / (l * d * P - l * v * w - m * p * P + m * v * h + f * p * w - f * d * h);
|
|
4919
4934
|
return new THREE.Vector3(ee, oe, At);
|
|
4920
4935
|
};
|
|
4921
4936
|
function or() {
|
|
4922
4937
|
const i = new we();
|
|
4923
|
-
let e = new Ps(), t = u.
|
|
4938
|
+
let e = new Ps(), t = u.getCurrentMxCAD().getCurrentDatabaseDrawColor();
|
|
4924
4939
|
je.use(e), e.closed = !1, e.setColor(t);
|
|
4925
4940
|
let r = 0, n = "default", C = !0;
|
|
4926
4941
|
const s = () => {
|
|
4927
4942
|
i.setUserDraw(
|
|
4928
|
-
(p,
|
|
4929
|
-
e.radius = C ? e.center.distanceTo(p) : e.center.distanceTo(p) / 2,
|
|
4943
|
+
(p, h) => {
|
|
4944
|
+
e.radius = C ? e.center.distanceTo(p) : e.center.distanceTo(p) / 2, h.drawCustomEntity(e), h.drawLine(e.center, p);
|
|
4930
4945
|
}
|
|
4931
4946
|
);
|
|
4932
4947
|
}, E = (p) => {
|
|
@@ -4936,8 +4951,8 @@ function or() {
|
|
|
4936
4951
|
i.setMessage(`
|
|
4937
4952
|
\u6307\u5B9A\u5706\u7684\u534A\u5F84:`), i.setKeyWords("[\u76F4\u5F84(D)]"), e.center = i.value(), s();
|
|
4938
4953
|
else if (r === 1) {
|
|
4939
|
-
let
|
|
4940
|
-
return
|
|
4954
|
+
let h = u.getCurrentMxCAD(), g = h.doc2cad1(e.center);
|
|
4955
|
+
return h.drawEntity(new Ge(g.x, g.y, 0, e.radius)), !0;
|
|
4941
4956
|
}
|
|
4942
4957
|
r++;
|
|
4943
4958
|
}
|
|
@@ -4949,38 +4964,38 @@ function or() {
|
|
|
4949
4964
|
const B = (p) => {
|
|
4950
4965
|
if (n === "3P" && (i.setMessage(`
|
|
4951
4966
|
\u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E00\u4E2A\u70B9:`), p === se.kOk)) {
|
|
4952
|
-
if (r === 0 && (D.push(i.value()), i.setUserDraw((
|
|
4953
|
-
|
|
4967
|
+
if (r === 0 && (D.push(i.value()), i.setUserDraw((h, g) => {
|
|
4968
|
+
g.drawLine(D[0], h);
|
|
4954
4969
|
}), i.setMessage(`
|
|
4955
|
-
\u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E8C\u4E2A\u70B9:`)), r === 1 && (D.push(i.value()), i.setUserDraw((
|
|
4956
|
-
const [
|
|
4970
|
+
\u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E8C\u4E2A\u70B9:`)), r === 1 && (D.push(i.value()), i.setUserDraw((h, g) => {
|
|
4971
|
+
const [m, d] = D, w = h;
|
|
4957
4972
|
e.center = yi([
|
|
4958
|
-
|
|
4973
|
+
m,
|
|
4959
4974
|
d,
|
|
4960
|
-
|
|
4961
|
-
]), e.radius = e.center.distanceTo(
|
|
4975
|
+
w
|
|
4976
|
+
]), e.radius = e.center.distanceTo(m), g.drawCustomEntity(e);
|
|
4962
4977
|
}), i.setMessage(`
|
|
4963
4978
|
\u6307\u5B9A\u5706\u4E0A\u7684\u7B2C\u4E09\u4E2A\u70B9:`)), r === 2) {
|
|
4964
4979
|
D.push(i.value()), e.center = yi(D), e.radius = e.center.distanceTo(D[0]);
|
|
4965
|
-
let
|
|
4966
|
-
return
|
|
4980
|
+
let h = u.getCurrentMxCAD(), g = h.doc2cad1(e.center);
|
|
4981
|
+
return h.drawEntity(new Ge(g.x, g.y, 0, e.radius)), !0;
|
|
4967
4982
|
}
|
|
4968
4983
|
r++;
|
|
4969
4984
|
}
|
|
4970
4985
|
};
|
|
4971
4986
|
let F;
|
|
4972
|
-
const A = (p,
|
|
4973
|
-
new THREE.Line3(p,
|
|
4987
|
+
const A = (p, h) => {
|
|
4988
|
+
new THREE.Line3(p, h).getCenter(e.center), e.radius = h.distanceTo(p) / 2;
|
|
4974
4989
|
}, a = (p) => {
|
|
4975
4990
|
if (n === "2P" && (i.setMessage(`
|
|
4976
4991
|
\u6307\u5B9A\u5706\u76F4\u5F84\u7684\u7B2C\u4E00\u4E2A\u7AEF\u70B9:`), p === se.kOk)) {
|
|
4977
|
-
if (r === 0 && (F = i.value(), i.setUserDraw((
|
|
4978
|
-
A(F,
|
|
4992
|
+
if (r === 0 && (F = i.value(), i.setUserDraw((h, g) => {
|
|
4993
|
+
A(F, h), g.drawCustomEntity(e), g.drawLine(F, h);
|
|
4979
4994
|
}), i.setMessage(`
|
|
4980
4995
|
\u6307\u5B9A\u5706\u76F4\u5F84\u7684\u7B2C\u4E8C\u4E2A\u7AEF\u70B9:`)), r === 1) {
|
|
4981
4996
|
A(F, i.value());
|
|
4982
|
-
let
|
|
4983
|
-
return
|
|
4997
|
+
let h = u.getCurrentMxCAD(), g = h.doc2cad1(e.center);
|
|
4998
|
+
return h.drawEntity(new Ge(g.x, g.y, 0, e.radius)), !0;
|
|
4984
4999
|
}
|
|
4985
5000
|
r++;
|
|
4986
5001
|
}
|
|
@@ -4989,8 +5004,8 @@ function or() {
|
|
|
4989
5004
|
if (i.setMessage(`
|
|
4990
5005
|
\u6307\u5B9A\u5BF9\u8C61\u4E0E\u5706\u7684\u7B2C\u4E00\u4E2A\u5207\u70B9:`), p === se.kOk) {
|
|
4991
5006
|
if (r === 0) {
|
|
4992
|
-
const
|
|
4993
|
-
console.log(
|
|
5007
|
+
const h = i.value();
|
|
5008
|
+
console.log(h), T.getCurrentDraw();
|
|
4994
5009
|
}
|
|
4995
5010
|
r++;
|
|
4996
5011
|
}
|
|
@@ -5013,8 +5028,8 @@ function or() {
|
|
|
5013
5028
|
},
|
|
5014
5029
|
(p) => {
|
|
5015
5030
|
if (p === se.kCancel) {
|
|
5016
|
-
let
|
|
5017
|
-
|
|
5031
|
+
let h = u.getCurrentMxCAD(), g = h.doc2cad1(e.center);
|
|
5032
|
+
h.drawEntity(new Ge(g.x, g.y, 0, e.radius));
|
|
5018
5033
|
}
|
|
5019
5034
|
}
|
|
5020
5035
|
);
|
|
@@ -5036,7 +5051,7 @@ async function ur() {
|
|
|
5036
5051
|
r >= 2 ? i.setKeyWords("[\u9000\u51FA(E)/\u95ED\u5408(C)/\u653E\u5F03(U)]") : r > 0 ? i.setKeyWords("[\u9000\u51FA(E)/\u653E\u5F03(U)]") : i.setKeyWords(""), i.setBasePt(e);
|
|
5037
5052
|
let C = await i.go();
|
|
5038
5053
|
if (i.isKeyWordPicked("C")) {
|
|
5039
|
-
let D = new
|
|
5054
|
+
let D = new We(t, e);
|
|
5040
5055
|
u.getCurrentMxCAD().drawEntity(D);
|
|
5041
5056
|
return;
|
|
5042
5057
|
} else {
|
|
@@ -5052,7 +5067,7 @@ async function ur() {
|
|
|
5052
5067
|
}
|
|
5053
5068
|
if (!C)
|
|
5054
5069
|
return;
|
|
5055
|
-
let s = new
|
|
5070
|
+
let s = new We(e, C);
|
|
5056
5071
|
r++;
|
|
5057
5072
|
let E = u.getCurrentMxCAD().drawEntity(s);
|
|
5058
5073
|
n.push({ id: E, prvPoint: e }), e = C;
|
|
@@ -5097,15 +5112,15 @@ function ft(i, e, t) {
|
|
|
5097
5112
|
return 0;
|
|
5098
5113
|
let r = i.c().addvec(e.c().sub(i).mult(0.5)), n = e.c().sub(i);
|
|
5099
5114
|
n.rotateBy(Math.PI / 2, G.kZAxis);
|
|
5100
|
-
let C = new
|
|
5115
|
+
let C = new We(r, r.c().addvec(n)), s = t.c();
|
|
5101
5116
|
s.rotateBy(Math.PI / 2, G.kZAxis);
|
|
5102
|
-
let E = new
|
|
5117
|
+
let E = new We(i, i.c().addvec(s)), D = C.IntersectWith(E, ct.Intersect.kExtendBoth);
|
|
5103
5118
|
if (D.isEmpty())
|
|
5104
5119
|
return 0;
|
|
5105
5120
|
let B = D.at(0), F = B.distanceTo(i);
|
|
5106
5121
|
n.normalize(), n.mult(F);
|
|
5107
|
-
let A = B.c().addvec(n), a = B.c().subvec(n), l = A.c().sub(i), p = a.c().sub(i),
|
|
5108
|
-
return l.angleTo1(t) > p.angleTo1(t) && (
|
|
5122
|
+
let A = B.c().addvec(n), a = B.c().subvec(n), l = A.c().sub(i), p = a.c().sub(i), h = A;
|
|
5123
|
+
return l.angleTo1(t) > p.angleTo1(t) && (h = a), x.calcBulge(i, h, e).val;
|
|
5109
5124
|
}
|
|
5110
5125
|
async function ar() {
|
|
5111
5126
|
const i = new Q();
|
|
@@ -5125,32 +5140,32 @@ async function ar() {
|
|
|
5125
5140
|
const l = new Q();
|
|
5126
5141
|
l.setMessage(A), l.setKeyWords(a);
|
|
5127
5142
|
let p = t[t.length - 1];
|
|
5128
|
-
l.setUserDraw((
|
|
5143
|
+
l.setUserDraw((g, m) => {
|
|
5129
5144
|
let d = new Se();
|
|
5130
|
-
d.addVertexAt(p.pt, p.dBulge, p.dStartWidth, p.dEndWidth), d.addVertexAt(
|
|
5145
|
+
d.addVertexAt(p.pt, p.dBulge, p.dStartWidth, p.dEndWidth), d.addVertexAt(g), m.drawMcDbEntity(d);
|
|
5131
5146
|
});
|
|
5132
|
-
let
|
|
5133
|
-
if (
|
|
5134
|
-
let
|
|
5135
|
-
if (
|
|
5136
|
-
let
|
|
5137
|
-
|
|
5147
|
+
let h = await l.go();
|
|
5148
|
+
if (h !== null) {
|
|
5149
|
+
let g = {};
|
|
5150
|
+
if (g.dStartWidth = E, g.dEndWidth = D, g.pt = h, g.dBulge = 0, t.push(g), t.length >= 2) {
|
|
5151
|
+
let m = new Se();
|
|
5152
|
+
m.addVertexAt(
|
|
5138
5153
|
t[t.length - 2].pt,
|
|
5139
5154
|
0,
|
|
5140
5155
|
t[t.length - 2].dStartWidth,
|
|
5141
5156
|
t[t.length - 2].dEndWidth
|
|
5142
|
-
),
|
|
5157
|
+
), m.addVertexAt(t[t.length - 1].pt), B.push(F.drawEntity(m));
|
|
5143
5158
|
}
|
|
5144
5159
|
} else if (l.getStatus() == se.kKeyWord)
|
|
5145
5160
|
if (l.isKeyWordPicked("A"))
|
|
5146
5161
|
s = !1;
|
|
5147
5162
|
else if (l.isKeyWordPicked("W")) {
|
|
5148
|
-
let
|
|
5149
|
-
|
|
5150
|
-
let
|
|
5151
|
-
if (
|
|
5163
|
+
let g = new Xe();
|
|
5164
|
+
g.setMessage(ue("ID_ARX_PLGETSTARTWIDTH", "\u6307\u5B9A\u8D77\u70B9\u5BBD\u5EA6"));
|
|
5165
|
+
let m = await g.go();
|
|
5166
|
+
if (m === null || (E = g.value(), g.setMessage(ue("ID_ARX_PLGETVERITXWIDTH", "\u6307\u5B9A\u7AEF\u70B9\u5BBD\u5EA6")), m = await g.go(), m === null))
|
|
5152
5167
|
break;
|
|
5153
|
-
D =
|
|
5168
|
+
D = g.value(), r = D, t[t.length - 1].dStartWidth = E, t[t.length - 1].dEndWidth = D, E = D;
|
|
5154
5169
|
} else if (l.isKeyWordPicked("C")) {
|
|
5155
5170
|
C = !0;
|
|
5156
5171
|
break;
|
|
@@ -5167,57 +5182,57 @@ async function ar() {
|
|
|
5167
5182
|
if (t.length < 2)
|
|
5168
5183
|
p.copy(G.kXAxis);
|
|
5169
5184
|
else {
|
|
5170
|
-
let
|
|
5171
|
-
if (Mt(
|
|
5185
|
+
let m = t.length, d = t[m - 2].pt, w = t[m - 2].dBulge, L = t[m - 1].pt;
|
|
5186
|
+
if (Mt(w))
|
|
5172
5187
|
p = new _(L.x, L.y, 0).sub(new _(d.x, d.y, 0));
|
|
5173
5188
|
else {
|
|
5174
5189
|
let f = new Se();
|
|
5175
|
-
f.addVertexAt(d,
|
|
5190
|
+
f.addVertexAt(d, w), f.addVertexAt(L);
|
|
5176
5191
|
let v = f.getFirstDeriv(new _(L.x, L.y, 0));
|
|
5177
5192
|
v.ret ? p = v.val : p.copy(G.kXAxis);
|
|
5178
5193
|
}
|
|
5179
5194
|
}
|
|
5180
|
-
let
|
|
5181
|
-
l.setUserDraw((
|
|
5182
|
-
let
|
|
5195
|
+
let h = t[t.length - 1];
|
|
5196
|
+
l.setUserDraw((m, d) => {
|
|
5197
|
+
let w = ft(h.pt, m, p), L = new Se();
|
|
5183
5198
|
L.addVertexAt(
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
), L.addVertexAt(
|
|
5199
|
+
h.pt,
|
|
5200
|
+
w,
|
|
5201
|
+
h.dStartWidth,
|
|
5202
|
+
h.dEndWidth
|
|
5203
|
+
), L.addVertexAt(m), d.drawMcDbEntity(L);
|
|
5189
5204
|
});
|
|
5190
|
-
let
|
|
5191
|
-
if (
|
|
5192
|
-
let
|
|
5193
|
-
|
|
5205
|
+
let g = await l.go();
|
|
5206
|
+
if (g !== null) {
|
|
5207
|
+
let m = {};
|
|
5208
|
+
m.dStartWidth = E, m.dEndWidth = D, m.dBulge = 0, m.pt = g, t[t.length - 1].dBulge = ft(h.pt, m.pt, p), t.push(m);
|
|
5194
5209
|
let d = t.length;
|
|
5195
5210
|
if (d >= 2) {
|
|
5196
|
-
let
|
|
5197
|
-
|
|
5211
|
+
let w = new Se();
|
|
5212
|
+
w.addVertexAt(
|
|
5198
5213
|
t[d - 2].pt,
|
|
5199
5214
|
t[d - 2].dBulge,
|
|
5200
5215
|
t[d - 2].dStartWidth,
|
|
5201
5216
|
t[d - 2].dEndWidth
|
|
5202
|
-
),
|
|
5217
|
+
), w.addVertexAt(t[d - 1].pt), B.push(F.drawEntity(w));
|
|
5203
5218
|
}
|
|
5204
5219
|
} else if (l.getStatus() == se.kKeyWord)
|
|
5205
5220
|
if (l.isKeyWordPicked("L"))
|
|
5206
5221
|
s = !0;
|
|
5207
5222
|
else if (l.isKeyWordPicked("S")) {
|
|
5208
|
-
let
|
|
5209
|
-
d.setMessage(ue("NO1_ID_SPECIFY_ARC2", "\u6307\u5B9A\u5706\u5F27\u7684\u7B2C\u4E8C\u4E2A\u70B9")), d.setBasePt(
|
|
5210
|
-
let
|
|
5211
|
-
if (
|
|
5223
|
+
let m = new _(t[t.length - 1].pt.x, t[t.length - 1].pt.y, 0), d = new Q();
|
|
5224
|
+
d.setMessage(ue("NO1_ID_SPECIFY_ARC2", "\u6307\u5B9A\u5706\u5F27\u7684\u7B2C\u4E8C\u4E2A\u70B9")), d.setBasePt(m);
|
|
5225
|
+
let w = await d.go();
|
|
5226
|
+
if (w === null)
|
|
5212
5227
|
break;
|
|
5213
5228
|
let L = new Q();
|
|
5214
5229
|
L.setMessage(ue("ID_CIRCULAR_ENDPOINT", "\u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9")), L.setUserDraw((v, P) => {
|
|
5215
5230
|
let b = new $e();
|
|
5216
|
-
b.computeArc(
|
|
5231
|
+
b.computeArc(m.x, m.y, w.x, w.y, v.x, v.y), P.drawMcDbEntity(b);
|
|
5217
5232
|
});
|
|
5218
5233
|
let f = await L.go();
|
|
5219
5234
|
if (f !== null) {
|
|
5220
|
-
let v = x.calcBulge(
|
|
5235
|
+
let v = x.calcBulge(m, w, f);
|
|
5221
5236
|
if (v.ret) {
|
|
5222
5237
|
let P = {};
|
|
5223
5238
|
P.dStartWidth = E, P.dEndWidth = D, P.pt = f, P.dBluge = 0, t[t.length - 1].dBulge = v.val, t.push(P);
|
|
@@ -5237,14 +5252,14 @@ async function ar() {
|
|
|
5237
5252
|
} else
|
|
5238
5253
|
break;
|
|
5239
5254
|
} else if (l.isKeyWordPicked("W")) {
|
|
5240
|
-
let
|
|
5241
|
-
|
|
5242
|
-
let d = await
|
|
5243
|
-
if (d === null || (E =
|
|
5255
|
+
let m = new Xe();
|
|
5256
|
+
m.setMessage(ue("ID_ARX_PLGETSTARTWIDTH", "\u6307\u5B9A\u8D77\u70B9\u5BBD\u5EA6"));
|
|
5257
|
+
let d = await m.go();
|
|
5258
|
+
if (d === null || (E = m.value(), m.setMessage(ue("ID_ARX_PLGETVERITXWIDTH", "\u6307\u5B9A\u7AEF\u70B9\u5BBD\u5EA6")), d = await m.go(), d === null))
|
|
5244
5259
|
break;
|
|
5245
|
-
D =
|
|
5260
|
+
D = m.value(), r = D, t[t.length - 1].dStartWidth = E, t[t.length - 1].dEndWidth = D, E = D;
|
|
5246
5261
|
} else if (l.isKeyWordPicked("C")) {
|
|
5247
|
-
t[t.length - 1].dBulge = ft(
|
|
5262
|
+
t[t.length - 1].dBulge = ft(h.pt, e, p), C = !0;
|
|
5248
5263
|
break;
|
|
5249
5264
|
} else
|
|
5250
5265
|
l.isKeyWordPicked("U") && t.length > 1 && (t.pop(), B[B.length - 1].erase(), B.pop(), t.length > 0 && l.setLastInputPoint(t[t.length - 1].pt));
|
|
@@ -5274,21 +5289,21 @@ async function lr() {
|
|
|
5274
5289
|
\u6307\u5B9A\u4E00\u70B9:`);
|
|
5275
5290
|
let e = await i.go(), t = new Ge();
|
|
5276
5291
|
t.setCenter(e.x, e.y, e.z);
|
|
5277
|
-
let r = 5, n = u.
|
|
5292
|
+
let r = 5, n = u.getCurrentMxCAD().getCurrentDatabaseDrawColor(), C = u.getCurrentMxCAD();
|
|
5278
5293
|
i.setUserDraw((s, E) => {
|
|
5279
5294
|
E.setColor(n), t.radius = e.distanceTo(s);
|
|
5280
5295
|
let D = t.getEndParam().val, F = t.getDistAtParam(D).val / r, A = 0, a = new THREE.Vector3(), l = new THREE.Vector3();
|
|
5281
5296
|
for (let p = 0; p < r; p++) {
|
|
5282
|
-
let
|
|
5283
|
-
A += F, p > 0 ? E.drawMcDbLine(
|
|
5297
|
+
let h = t.getPointAtDist(A).val, g = C.doc2cad(h), m = C.doc2cad1(a), d = C.doc2cad1(l);
|
|
5298
|
+
A += F, p > 0 ? E.drawMcDbLine(g.x, g.y, g.z, m.x, m.y, m.z) : l = new THREE.Vector3(h.x, h.y, h.z), p == r - 1 && E.drawMcDbLine(g.x, g.y, g.z, d.x, d.y, d.z), a = new THREE.Vector3(h.x, h.y, h.z);
|
|
5284
5299
|
}
|
|
5285
5300
|
}), i.setMessage(`
|
|
5286
5301
|
\u6307\u5B9A\u4E8C\u70B9:`), i.setDynamicInputType(X.kXYCoordInput), await i.go(), i.drawReserve();
|
|
5287
5302
|
}
|
|
5288
5303
|
T.addCommand("Mx_Polygon", lr);
|
|
5289
5304
|
function Gs(i, e, t) {
|
|
5290
|
-
const r = i.x, n = e.x, C = t.x, s = i.y, E = e.y, D = t.y, B = r - n, F = s - E, A = r - C, a = s - D, l = (r * r - n * n + (s * s - E * E)) / 2, p = (r * r - C * C + (s * s - D * D)) / 2,
|
|
5291
|
-
return new THREE.Vector3(
|
|
5305
|
+
const r = i.x, n = e.x, C = t.x, s = i.y, E = e.y, D = t.y, B = r - n, F = s - E, A = r - C, a = s - D, l = (r * r - n * n + (s * s - E * E)) / 2, p = (r * r - C * C + (s * s - D * D)) / 2, h = F * A - B * a, g = -(a * l - F * p) / h, m = -(B * p - A * l) / h;
|
|
5306
|
+
return new THREE.Vector3(g, m, 0);
|
|
5292
5307
|
}
|
|
5293
5308
|
function Ns(i, e) {
|
|
5294
5309
|
const t = i.x, r = i.y, n = e.x, C = e.y;
|
|
@@ -5378,7 +5393,7 @@ class Di extends Ri {
|
|
|
5378
5393
|
}
|
|
5379
5394
|
}
|
|
5380
5395
|
async function pr() {
|
|
5381
|
-
let i = u.
|
|
5396
|
+
let i = u.getCurrentMxCAD().getCurrentDatabaseDrawColor();
|
|
5382
5397
|
const e = new we();
|
|
5383
5398
|
e.setMessage(`
|
|
5384
5399
|
\u6307\u5B9A\u5706\u5F27\u7684\u8D77\u70B9:`), e.setKeyWords("[\u5706\u5FC3(C)]");
|
|
@@ -5389,9 +5404,9 @@ async function pr() {
|
|
|
5389
5404
|
e,
|
|
5390
5405
|
() => {
|
|
5391
5406
|
r = e.value(), e.setMessage(`
|
|
5392
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u7B2C\u4E8C\u4E2A\u70B9:`), e.setKeyWords("[\u5706\u5FC3(C)/\u7AEF\u70B9(E)]"), e.setUserDraw((d,
|
|
5393
|
-
|
|
5394
|
-
}),
|
|
5407
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u7B2C\u4E8C\u4E2A\u70B9:`), e.setKeyWords("[\u5706\u5FC3(C)/\u7AEF\u70B9(E)]"), e.setUserDraw((d, w) => {
|
|
5408
|
+
w.setColor(i), w.drawLine(r, d);
|
|
5409
|
+
}), h();
|
|
5395
5410
|
},
|
|
5396
5411
|
() => {
|
|
5397
5412
|
if (e.isKeyWordPicked("C")) {
|
|
@@ -5407,8 +5422,8 @@ async function pr() {
|
|
|
5407
5422
|
e,
|
|
5408
5423
|
() => {
|
|
5409
5424
|
E = e.value(), C = new Ft(), C.closed = !1, je.use(C), C.color = i, C.center = E, t.center = E, e.setMessage(`
|
|
5410
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u8D77\u70B9:`), e.setUserDraw((d,
|
|
5411
|
-
|
|
5425
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u8D77\u70B9:`), e.setUserDraw((d, w) => {
|
|
5426
|
+
w.drawCustomEntity(C), w.setColor(i), w.drawLine(E, d);
|
|
5412
5427
|
}), A();
|
|
5413
5428
|
},
|
|
5414
5429
|
() => {
|
|
@@ -5421,8 +5436,8 @@ async function pr() {
|
|
|
5421
5436
|
B = e.value(), C.endPoint = B, e.setMessage(
|
|
5422
5437
|
`
|
|
5423
5438
|
\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)]:`
|
|
5424
|
-
), e.setKeyWords("A L R"), F = new nn(), F.setDashLineDisplay(!0), F.setDashArray(0.05), F.setLineWidth(2), F.setColor("#ffd30d"), F.pt1 = C.center, e.setUserDraw((d,
|
|
5425
|
-
C.startPoint = d, F.pt2 = d,
|
|
5439
|
+
), e.setKeyWords("A L R"), F = new nn(), F.setDashLineDisplay(!0), F.setDashArray(0.05), F.setLineWidth(2), F.setColor("#ffd30d"), F.pt1 = C.center, e.setUserDraw((d, w) => {
|
|
5440
|
+
C.startPoint = d, F.pt2 = d, w.drawCustomEntity(C), w.drawCustomEntity(F);
|
|
5426
5441
|
}), l();
|
|
5427
5442
|
},
|
|
5428
5443
|
() => {
|
|
@@ -5433,66 +5448,66 @@ async function pr() {
|
|
|
5433
5448
|
e,
|
|
5434
5449
|
() => {
|
|
5435
5450
|
a = e.value(), C.startPoint = a, C.endPoint = B;
|
|
5436
|
-
let d =
|
|
5437
|
-
|
|
5451
|
+
let d = g.doc2cad1(C.center);
|
|
5452
|
+
g.drawArc(d.x, d.y, C.radius, C.startAngle, C.endAngle);
|
|
5438
5453
|
},
|
|
5439
5454
|
() => {
|
|
5440
5455
|
if (e.isKeyWordPicked("A"))
|
|
5441
5456
|
return e.setMessage(
|
|
5442
5457
|
`
|
|
5443
5458
|
\u6307\u5B9A\u5706\u5F27\u7684\u5939\u89D2(\u6309\u4F4F ctrl \u952E\u53D6\u76F8\u53CD\u65B9\u5411)\u6216 [\u4FEE\u6539\u534A\u5F84(R)]:`
|
|
5444
|
-
), e.setKeyWords("R"), e.setUserDraw((d,
|
|
5445
|
-
C.startPoint = d,
|
|
5459
|
+
), e.setKeyWords("R"), e.setUserDraw((d, w) => {
|
|
5460
|
+
C.startPoint = d, w.drawCustomEntity(C), w.drawCustomEntity(F);
|
|
5446
5461
|
}), !0;
|
|
5447
5462
|
if (e.isKeyWordPicked("L"))
|
|
5448
5463
|
return e.setMessage(
|
|
5449
5464
|
`
|
|
5450
5465
|
\u6307\u5B9A\u5706\u5F27\u7684\u5939\u89D2(\u6309\u4F4F ctrl \u952E\u53D6\u76F8\u53CD\u65B9\u5411)\u6216 [\u4FEE\u6539\u534A\u5F84(R)]:`
|
|
5451
|
-
), e.setKeyWords("R"), e.setUserDraw((d,
|
|
5452
|
-
C.startPoint = d,
|
|
5466
|
+
), e.setKeyWords("R"), e.setUserDraw((d, w) => {
|
|
5467
|
+
C.startPoint = d, w.drawCustomEntity(C), w.drawCustomEntity(F);
|
|
5453
5468
|
}), !0;
|
|
5454
5469
|
if (e.isKeyWordPicked("R"))
|
|
5455
5470
|
e.setMessage(
|
|
5456
5471
|
`
|
|
5457
5472
|
\u6307\u5B9A\u5706\u5F27\u7684\u534A\u5F84${C.radius ? "<" + C.radius + ">" : ""}:`
|
|
5458
|
-
), e.setKeyWords(""), e.setUserDraw((d,
|
|
5459
|
-
|
|
5473
|
+
), e.setKeyWords(""), e.setUserDraw((d, w) => {
|
|
5474
|
+
w.drawLine(d, C.center), C.startPoint = d, w.drawCustomEntity(C);
|
|
5460
5475
|
}), A();
|
|
5461
5476
|
else
|
|
5462
5477
|
return !0;
|
|
5463
5478
|
}
|
|
5464
5479
|
);
|
|
5465
5480
|
let p;
|
|
5466
|
-
const
|
|
5481
|
+
const h = ge(
|
|
5467
5482
|
e,
|
|
5468
5483
|
() => {
|
|
5469
5484
|
p = e.value(), e.setMessage(`
|
|
5470
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9:`), n = new Cn(), n.color = i, n.autoClockwise = !0, n.closed = !1, je.use(n), e.setUserDraw((d,
|
|
5471
|
-
n.point1 = r, n.point3 = p, n.point2 = d,
|
|
5472
|
-
}),
|
|
5485
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u7AEF\u70B9:`), n = new Cn(), n.color = i, n.autoClockwise = !0, n.closed = !1, je.use(n), e.setUserDraw((d, w) => {
|
|
5486
|
+
n.point1 = r, n.point3 = p, n.point2 = d, w.drawCustomEntity(n);
|
|
5487
|
+
}), m();
|
|
5473
5488
|
},
|
|
5474
5489
|
() => {
|
|
5475
5490
|
if (e.isKeyWordPicked("C"))
|
|
5476
5491
|
C = new Ft(), C.closed = !1, je.use(C), C.color = i, e.setMessage(`
|
|
5477
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), e.setKeyWords(""), e.setUserDraw((d,
|
|
5478
|
-
C.startPoint = r,
|
|
5492
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), e.setKeyWords(""), e.setUserDraw((d, w) => {
|
|
5493
|
+
C.startPoint = r, w.drawLine(d, C.startPoint);
|
|
5479
5494
|
}), D();
|
|
5480
5495
|
else if (e.isKeyWordPicked("E"))
|
|
5481
5496
|
C = new Ft(), C.closed = !1, je.use(C), C.color = i, e.setMessage(`
|
|
5482
|
-
\u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), e.setKeyWords(""), e.setUserDraw((d,
|
|
5483
|
-
C.startPoint = r,
|
|
5497
|
+
\u6307\u5B9A\u5706\u5F27\u7684\u5706\u5FC3`), e.setKeyWords(""), e.setUserDraw((d, w) => {
|
|
5498
|
+
C.startPoint = r, w.drawLine(d, C.startPoint);
|
|
5484
5499
|
}), D();
|
|
5485
5500
|
else
|
|
5486
5501
|
return !0;
|
|
5487
5502
|
}
|
|
5488
5503
|
);
|
|
5489
|
-
let
|
|
5490
|
-
const
|
|
5504
|
+
let g = u.getCurrentMxCAD();
|
|
5505
|
+
const m = ge(
|
|
5491
5506
|
e,
|
|
5492
5507
|
() => {
|
|
5493
5508
|
n.point1 = r, n.point2 = e.value(), n.point3 = p;
|
|
5494
|
-
let d = new $e(),
|
|
5495
|
-
d.computeArc(
|
|
5509
|
+
let d = new $e(), w = g.doc2cad1(n.point1), L = g.doc2cad1(n.point3), f = g.doc2cad1(n.point2);
|
|
5510
|
+
d.computeArc(w.x, w.y, L.x, L.y, f.x, f.y), g.drawEntity(d);
|
|
5496
5511
|
},
|
|
5497
5512
|
() => {
|
|
5498
5513
|
if (e.isKeyWordPicked("C"))
|
|
@@ -5569,7 +5584,7 @@ function cr() {
|
|
|
5569
5584
|
}
|
|
5570
5585
|
function Ys() {
|
|
5571
5586
|
const i = new we(), e = new En(), t = new Dn();
|
|
5572
|
-
let r = u.
|
|
5587
|
+
let r = u.getCurrentMxCAD().getCurrentDatabaseDrawColor();
|
|
5573
5588
|
t.setColor(r), i.setMessage(`
|
|
5574
5589
|
\u70B9\u51FB\u5F00\u59CB\u7ED8\u5236\u692D\u5706:`), i.go(() => {
|
|
5575
5590
|
t.point1 = i.value(), e.setDraw((n) => {
|
|
@@ -5685,7 +5700,7 @@ async function Us() {
|
|
|
5685
5700
|
!D || D.move(n, s);
|
|
5686
5701
|
}
|
|
5687
5702
|
}
|
|
5688
|
-
async function
|
|
5703
|
+
async function Vs() {
|
|
5689
5704
|
let i;
|
|
5690
5705
|
for (; i = x.getCurrentSelect(), !(i.length > 0); ) {
|
|
5691
5706
|
let l = new fe();
|
|
@@ -5704,15 +5719,15 @@ async function Ws() {
|
|
|
5704
5719
|
n.setMessage("\u6307\u5B9A\u65CB\u8F6C\u89D2\u5EA6"), n.setBasePt(C), n.setUseBasePt(!0), n.setDynamicInputType(X.kXYCoordInput);
|
|
5705
5720
|
let s = u.getCurrentMxCAD();
|
|
5706
5721
|
n.setUserDraw((l, p) => {
|
|
5707
|
-
let
|
|
5708
|
-
if (
|
|
5722
|
+
let h = l, g = C, d = h.sub(g).angleTo2(G.kXAxis, G.kNegateZAxis), w = new Ie();
|
|
5723
|
+
if (w.setToRotation(d, G.kZAxis, g), e && t) {
|
|
5709
5724
|
let L = new _(e.x, t.y, 0), f = new _(t.x, e.y, 0), v = new _(L.x, f.y, 0), P = new _(f.x, L.y, 0);
|
|
5710
|
-
L.transformBy(
|
|
5725
|
+
L.transformBy(w), f.transformBy(w), v.transformBy(w), P.transformBy(w), L = s.cad2doc(L), f = s.cad2doc(f), v = s.cad2doc(v), P = s.cad2doc(P), p.drawLine(P.toVector3(), L.toVector3()), p.drawLine(L.toVector3(), v.toVector3()), p.drawLine(v.toVector3(), f.toVector3()), p.drawLine(f.toVector3(), P.toVector3());
|
|
5711
5726
|
}
|
|
5712
|
-
|
|
5727
|
+
w.setToRotation(d, G.kZAxis, g);
|
|
5713
5728
|
for (let L = 0; L < i.length && L < 10; L++) {
|
|
5714
5729
|
let f = i[L].clone();
|
|
5715
|
-
!f || (f.transformBy(
|
|
5730
|
+
!f || (f.transformBy(w), p.drawMcDbEntity(f));
|
|
5716
5731
|
}
|
|
5717
5732
|
});
|
|
5718
5733
|
let E = await n.go();
|
|
@@ -5725,12 +5740,12 @@ async function Ws() {
|
|
|
5725
5740
|
!p || p.transformBy(a);
|
|
5726
5741
|
}
|
|
5727
5742
|
}
|
|
5728
|
-
async function
|
|
5743
|
+
async function Ws() {
|
|
5729
5744
|
let i;
|
|
5730
5745
|
for (; i = x.getCurrentSelect(), !(i.length > 0); ) {
|
|
5731
|
-
let
|
|
5732
|
-
if (!await
|
|
5733
|
-
\u9009\u62E9\u7F29\u653E\u5BF9\u8C61`) || (i =
|
|
5746
|
+
let g = new fe();
|
|
5747
|
+
if (!await g.userSelect(`
|
|
5748
|
+
\u9009\u62E9\u7F29\u653E\u5BF9\u8C61`) || (i = g.getIds(), i.length == 0))
|
|
5734
5749
|
return;
|
|
5735
5750
|
break;
|
|
5736
5751
|
}
|
|
@@ -5747,21 +5762,21 @@ async function Vs() {
|
|
|
5747
5762
|
return;
|
|
5748
5763
|
E.setMessage("\u6307\u5B9A\u6BD4\u4F8B\u56E0\u5B50"), E.setBasePt(D), E.setUseBasePt(!0), E.setDynamicInputType(X.kXYCoordInput);
|
|
5749
5764
|
let B = u.getCurrentMxCAD();
|
|
5750
|
-
E.setUserDraw((
|
|
5751
|
-
let d = new _(
|
|
5765
|
+
E.setUserDraw((g, m) => {
|
|
5766
|
+
let d = new _(g), w = new _(D), L = d.distanceTo(w);
|
|
5752
5767
|
if (L < 1e-5)
|
|
5753
5768
|
return;
|
|
5754
5769
|
let f = L / s;
|
|
5755
5770
|
f > 1e5 && (f = 1e5);
|
|
5756
5771
|
let v = new Ie();
|
|
5757
|
-
if (v.setToScaling(f,
|
|
5772
|
+
if (v.setToScaling(f, w), e && t) {
|
|
5758
5773
|
let P = new _(e.x, t.y, 0), b = new _(t.x, e.y, 0), ee = new _(P.x, b.y, 0), oe = new _(b.x, P.y, 0);
|
|
5759
|
-
P.transformBy(v), b.transformBy(v), ee.transformBy(v), oe.transformBy(v), P = B.cad2doc(P), b = B.cad2doc(b), ee = B.cad2doc(ee), oe = B.cad2doc(oe),
|
|
5774
|
+
P.transformBy(v), b.transformBy(v), ee.transformBy(v), oe.transformBy(v), P = B.cad2doc(P), b = B.cad2doc(b), ee = B.cad2doc(ee), oe = B.cad2doc(oe), m.drawLine(oe.toVector3(), P.toVector3()), m.drawLine(P.toVector3(), ee.toVector3()), m.drawLine(ee.toVector3(), b.toVector3()), m.drawLine(b.toVector3(), oe.toVector3());
|
|
5760
5775
|
}
|
|
5761
|
-
v.setToScaling(f,
|
|
5776
|
+
v.setToScaling(f, w);
|
|
5762
5777
|
for (let P = 0; P < i.length && P < 10; P++) {
|
|
5763
5778
|
let b = i[P].clone();
|
|
5764
|
-
!b || (b.transformBy(v),
|
|
5779
|
+
!b || (b.transformBy(v), m.drawMcDbEntity(b));
|
|
5765
5780
|
}
|
|
5766
5781
|
});
|
|
5767
5782
|
let F = await E.go();
|
|
@@ -5772,11 +5787,11 @@ async function Vs() {
|
|
|
5772
5787
|
return;
|
|
5773
5788
|
let p = l / s;
|
|
5774
5789
|
p > 1e5 && (p = 1e5);
|
|
5775
|
-
let
|
|
5776
|
-
|
|
5777
|
-
for (let
|
|
5778
|
-
let
|
|
5779
|
-
!
|
|
5790
|
+
let h = new Ie();
|
|
5791
|
+
h.setToScaling(p, a);
|
|
5792
|
+
for (let g = 0; g < i.length; g++) {
|
|
5793
|
+
let m = i[g].getMcDbObject();
|
|
5794
|
+
!m || m.transformBy(h);
|
|
5780
5795
|
}
|
|
5781
5796
|
}
|
|
5782
5797
|
async function Hs() {
|
|
@@ -6008,7 +6023,7 @@ async function eE() {
|
|
|
6008
6023
|
}), r.erase();
|
|
6009
6024
|
}
|
|
6010
6025
|
T.on("init", () => {
|
|
6011
|
-
T.addCommand("Mx_Erase", mr), T.addCommand("Mx_Copy", js), T.addCommand("Mx_Move", Us), T.addCommand("Mx_Rotate",
|
|
6026
|
+
T.addCommand("Mx_Erase", mr), T.addCommand("Mx_Copy", js), T.addCommand("Mx_Move", Us), T.addCommand("Mx_Rotate", Vs), T.addCommand("Mx_Scale", Ws), T.addCommand("Mx_WindowZoom", Hs), T.addCommand("Mx_ZoomE", Ks), T.addCommand("Mx_Offset", zs), T.addCommand("Mx_Regen", Zs), T.addCommand("Mx_Mirror", Xs), T.addCommand("Mx_Chamfer", Js), T.addCommand("Mx_Fillet", qs), T.addCommand("Mx_Trim", Qs), T.addCommand("Mx_Extend", xs), T.addCommand("Mx_Explode", Ms), T.addCommand("Mx_Join", $s), T.addCommand("Mx_Break", eE);
|
|
6012
6027
|
});
|
|
6013
6028
|
const tE = async (i, e, t) => {
|
|
6014
6029
|
const { locateFile: r } = t, n = r(i + ".js");
|
|
@@ -6046,8 +6061,8 @@ class Qe {
|
|
|
6046
6061
|
const A = this.canvas.parentElement?.clientWidth || window.innerWidth, a = this.canvas.parentElement?.clientHeight || window.innerHeight;
|
|
6047
6062
|
let l = Math.min(A, window.screen.availWidth), p = Math.min(a, window.screen.availHeight);
|
|
6048
6063
|
l = Math.max(C, l), p = Math.max(s, p), this.canvas.style.width = l + 1 + "px", this.canvas.style.height = p + "px";
|
|
6049
|
-
const
|
|
6050
|
-
this.canvas.width = l *
|
|
6064
|
+
const h = window.devicePixelRatio || 1;
|
|
6065
|
+
this.canvas.width = l * h, this.canvas.height = p * h;
|
|
6051
6066
|
}, r = nE(t, 50), {
|
|
6052
6067
|
canvas: n,
|
|
6053
6068
|
minWidth: C = 300,
|
|
@@ -6070,8 +6085,8 @@ class Qe {
|
|
|
6070
6085
|
l.onload = () => {
|
|
6071
6086
|
if (!!l.result && l.result instanceof ArrayBuffer) {
|
|
6072
6087
|
var p = new Uint8Array(l.result);
|
|
6073
|
-
const
|
|
6074
|
-
this.HEAPU8.set(p,
|
|
6088
|
+
const h = this._malloc(p.length);
|
|
6089
|
+
this.HEAPU8.set(p, h), this.openFromMemory(a.name, h, p.length, !0), this.displayGround(!0), this.canvas.focus();
|
|
6075
6090
|
}
|
|
6076
6091
|
}, l.readAsArrayBuffer(a);
|
|
6077
6092
|
}, A.mdGeTopo = new Jt(), A.mdGeBRep = new qt(), A.mdGeHGeomPlane = new it(), Object.assign(this, A, {
|
|
@@ -6079,7 +6094,7 @@ class Qe {
|
|
|
6079
6094
|
MdGeShape: c,
|
|
6080
6095
|
MdGeVertex: be,
|
|
6081
6096
|
MdGeEdge: j,
|
|
6082
|
-
MdGeWire:
|
|
6097
|
+
MdGeWire: V,
|
|
6083
6098
|
MdGeFace: Y,
|
|
6084
6099
|
MdGeShell: Et,
|
|
6085
6100
|
MdGeSolid: Dt,
|
|
@@ -6087,11 +6102,11 @@ class Qe {
|
|
|
6087
6102
|
MdGeCompound: Ai,
|
|
6088
6103
|
MdGeMat: le,
|
|
6089
6104
|
MdGeXYZ: Z,
|
|
6090
|
-
MdGeTrsf:
|
|
6105
|
+
MdGeTrsf: Ve,
|
|
6091
6106
|
MdGeDir: K,
|
|
6092
6107
|
MdGeAxis: N,
|
|
6093
|
-
MdGeCSYSR:
|
|
6094
|
-
MdGePoint:
|
|
6108
|
+
MdGeCSYSR: W,
|
|
6109
|
+
MdGePoint: S,
|
|
6095
6110
|
MdGeVec: O,
|
|
6096
6111
|
MdGeAngleDim: hr,
|
|
6097
6112
|
MdGeArray1OfInteger: tt,
|
|
@@ -6135,8 +6150,8 @@ class Qe {
|
|
|
6135
6150
|
MdGeTextLabel: Ur,
|
|
6136
6151
|
MdGeTopo: Jt,
|
|
6137
6152
|
MdGeTorus: de,
|
|
6138
|
-
MdGeTransform:
|
|
6139
|
-
MdGeWedge:
|
|
6153
|
+
MdGeTransform: Vr,
|
|
6154
|
+
MdGeWedge: Wr,
|
|
6140
6155
|
MdGeHGeomSurface: oi,
|
|
6141
6156
|
MdGeHGeomPlane: it,
|
|
6142
6157
|
MdGeBRep: qt,
|
|
@@ -6290,27 +6305,27 @@ class be extends c {
|
|
|
6290
6305
|
}
|
|
6291
6306
|
class j extends c {
|
|
6292
6307
|
constructor(e, t) {
|
|
6293
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeEdge())) : e instanceof
|
|
6308
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeEdge())) : e instanceof S && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeEdge(e.getImp(), t?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6294
6309
|
}
|
|
6295
6310
|
Wire() {
|
|
6296
|
-
return new
|
|
6311
|
+
return new V(this.imp.Wire());
|
|
6297
6312
|
}
|
|
6298
6313
|
AddedEdge(e) {
|
|
6299
|
-
return new
|
|
6314
|
+
return new V(this.imp.AddedEdge(e.imp));
|
|
6300
6315
|
}
|
|
6301
6316
|
AddedWire(e) {
|
|
6302
|
-
return new
|
|
6317
|
+
return new V(this.imp.AddedWire(e.getImp()));
|
|
6303
6318
|
}
|
|
6304
6319
|
}
|
|
6305
|
-
class
|
|
6320
|
+
class V extends c {
|
|
6306
6321
|
constructor(e) {
|
|
6307
6322
|
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeWire())) : super(e);
|
|
6308
6323
|
}
|
|
6309
6324
|
AddedEdge(e) {
|
|
6310
|
-
return new
|
|
6325
|
+
return new V(this.imp.AddedEdge(e.getImp()));
|
|
6311
6326
|
}
|
|
6312
6327
|
AddedWire(e) {
|
|
6313
|
-
return new
|
|
6328
|
+
return new V(this.imp.AddedEdge(e.imp));
|
|
6314
6329
|
}
|
|
6315
6330
|
}
|
|
6316
6331
|
class Y extends c {
|
|
@@ -6561,7 +6576,7 @@ class Z extends y {
|
|
|
6561
6576
|
return new Z(this.imp.Subtracted(e.imp));
|
|
6562
6577
|
}
|
|
6563
6578
|
}
|
|
6564
|
-
class
|
|
6579
|
+
class Ve extends y {
|
|
6565
6580
|
constructor(e) {
|
|
6566
6581
|
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeTrsf())) : super(e);
|
|
6567
6582
|
}
|
|
@@ -6608,10 +6623,10 @@ class We extends y {
|
|
|
6608
6623
|
this.imp.Invert();
|
|
6609
6624
|
}
|
|
6610
6625
|
Inverted() {
|
|
6611
|
-
return new
|
|
6626
|
+
return new Ve(this.imp.Inverted());
|
|
6612
6627
|
}
|
|
6613
6628
|
Multiplied(e) {
|
|
6614
|
-
return new
|
|
6629
|
+
return new Ve(this.imp.Multiplied(e.imp));
|
|
6615
6630
|
}
|
|
6616
6631
|
Multiply(e) {
|
|
6617
6632
|
this.imp.Multiply(e.imp);
|
|
@@ -6623,7 +6638,7 @@ class We extends y {
|
|
|
6623
6638
|
this.imp.Power(e);
|
|
6624
6639
|
}
|
|
6625
6640
|
Powered(e) {
|
|
6626
|
-
return new
|
|
6641
|
+
return new Ve(this.imp.Powered(e));
|
|
6627
6642
|
}
|
|
6628
6643
|
Transforms(e, t, r) {
|
|
6629
6644
|
this.imp.Transforms(e, t, r);
|
|
@@ -6738,13 +6753,13 @@ class K extends y {
|
|
|
6738
6753
|
}
|
|
6739
6754
|
class N extends y {
|
|
6740
6755
|
constructor(e, t) {
|
|
6741
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeAxis())) : e instanceof
|
|
6756
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeAxis())) : e instanceof S && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeAxis(e.getImp(), t?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6742
6757
|
}
|
|
6743
6758
|
Direction() {
|
|
6744
6759
|
return new K(this.imp.Direction());
|
|
6745
6760
|
}
|
|
6746
6761
|
Location() {
|
|
6747
|
-
return new
|
|
6762
|
+
return new S(this.imp.Location());
|
|
6748
6763
|
}
|
|
6749
6764
|
SetDirection(e) {
|
|
6750
6765
|
this.imp.SetDirection(e.getImp());
|
|
@@ -6753,12 +6768,12 @@ class N extends y {
|
|
|
6753
6768
|
this.imp.SetLocation(e.getImp());
|
|
6754
6769
|
}
|
|
6755
6770
|
}
|
|
6756
|
-
class
|
|
6771
|
+
class W extends y {
|
|
6757
6772
|
constructor(e, t, r) {
|
|
6758
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCSYSR())) : e instanceof
|
|
6773
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCSYSR())) : e instanceof S && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeCSYSR(e.getImp(), t?.getImp(), r?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6759
6774
|
}
|
|
6760
6775
|
Origin() {
|
|
6761
|
-
return new
|
|
6776
|
+
return new S(this.imp.Origin());
|
|
6762
6777
|
}
|
|
6763
6778
|
XDirection() {
|
|
6764
6779
|
return new K(this.imp.XDirection());
|
|
@@ -6770,7 +6785,7 @@ class V extends y {
|
|
|
6770
6785
|
return new K(this.imp.ZDirection());
|
|
6771
6786
|
}
|
|
6772
6787
|
SetOrigin(e, t, r) {
|
|
6773
|
-
e instanceof
|
|
6788
|
+
e instanceof S && arguments.length == 1 ? this.imp.SetOrigin(e.getImp()) : typeof e == "number" && arguments.length == 3 && this.imp.SetOrigin(e, t, r);
|
|
6774
6789
|
}
|
|
6775
6790
|
SetXDirection(e) {
|
|
6776
6791
|
this.imp.SetXDirection(e.getImp());
|
|
@@ -6797,52 +6812,52 @@ class V extends y {
|
|
|
6797
6812
|
this.imp.MirrorByPoint(e.getImp());
|
|
6798
6813
|
}
|
|
6799
6814
|
MirroredByPoint(e) {
|
|
6800
|
-
return new
|
|
6815
|
+
return new W(this.imp.MirroredByPoint(e.getImp()));
|
|
6801
6816
|
}
|
|
6802
6817
|
MirrorByAxis(e) {
|
|
6803
6818
|
this.imp.MirrorByAxis(e.getImp());
|
|
6804
6819
|
}
|
|
6805
6820
|
MirroredByAxis(e) {
|
|
6806
|
-
return new
|
|
6821
|
+
return new W(this.imp.MirroredByAxis(e.getImp()));
|
|
6807
6822
|
}
|
|
6808
6823
|
MirrorByCSYSR(e) {
|
|
6809
6824
|
this.imp.MirrorByCSYSR(e.imp);
|
|
6810
6825
|
}
|
|
6811
6826
|
MirroredByCSYSR(e) {
|
|
6812
|
-
return new
|
|
6827
|
+
return new W(this.imp.MirroredByCSYSR(e.imp));
|
|
6813
6828
|
}
|
|
6814
6829
|
Rotate(e, t) {
|
|
6815
6830
|
this.imp.Rotate(e.getImp(), t);
|
|
6816
6831
|
}
|
|
6817
6832
|
Rotated(e, t) {
|
|
6818
|
-
return new
|
|
6833
|
+
return new W(this.imp.Rotated(e.getImp(), t));
|
|
6819
6834
|
}
|
|
6820
6835
|
Scale(e, t) {
|
|
6821
6836
|
this.imp.Scale(e.getImp(), t);
|
|
6822
6837
|
}
|
|
6823
6838
|
Scaled(e, t) {
|
|
6824
|
-
return new
|
|
6839
|
+
return new W(this.imp.Scaled(e.getImp(), t));
|
|
6825
6840
|
}
|
|
6826
6841
|
Transform(e) {
|
|
6827
6842
|
this.imp.Transform(e.getImp());
|
|
6828
6843
|
}
|
|
6829
6844
|
Transformed(e) {
|
|
6830
|
-
return new
|
|
6845
|
+
return new W(this.imp.Transformed(e.getImp()));
|
|
6831
6846
|
}
|
|
6832
6847
|
TranslateByVec(e) {
|
|
6833
6848
|
this.imp.TranslateByVec(e.getImp());
|
|
6834
6849
|
}
|
|
6835
6850
|
TranslatedByVec(e) {
|
|
6836
|
-
return new
|
|
6851
|
+
return new W(this.imp.TranslatedByVec(e.getImp()));
|
|
6837
6852
|
}
|
|
6838
6853
|
TranslateBy2Points(e, t) {
|
|
6839
6854
|
this.imp.TranslateBy2Points(e.getImp(), t.getImp());
|
|
6840
6855
|
}
|
|
6841
6856
|
TranslatedBy2Points(e, t) {
|
|
6842
|
-
return new
|
|
6857
|
+
return new W(this.imp.TranslatedBy2Points(e.getImp(), t.getImp()));
|
|
6843
6858
|
}
|
|
6844
6859
|
}
|
|
6845
|
-
class
|
|
6860
|
+
class S extends y {
|
|
6846
6861
|
constructor(e, t, r) {
|
|
6847
6862
|
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGePoint())) : typeof e == "number" && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGePoint(e, t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6848
6863
|
}
|
|
@@ -6883,49 +6898,49 @@ class w extends y {
|
|
|
6883
6898
|
this.imp.MirrorByPoint(e.imp);
|
|
6884
6899
|
}
|
|
6885
6900
|
MirroredByPoint(e) {
|
|
6886
|
-
return new
|
|
6901
|
+
return new S(this.imp.MirroredByPoint(e.imp));
|
|
6887
6902
|
}
|
|
6888
6903
|
MirrorByAxis(e) {
|
|
6889
6904
|
this.imp.MirrorByAxis(e.getImp());
|
|
6890
6905
|
}
|
|
6891
6906
|
MirroredByAxis(e) {
|
|
6892
|
-
return new
|
|
6907
|
+
return new S(this.imp.MirroredByAxis(e.getImp()));
|
|
6893
6908
|
}
|
|
6894
6909
|
MirrorByCSYSR(e) {
|
|
6895
6910
|
this.imp.MirrorByCSYSR(e.getImp());
|
|
6896
6911
|
}
|
|
6897
6912
|
MirroredByCSYSR(e) {
|
|
6898
|
-
return new
|
|
6913
|
+
return new S(this.imp.MirroredByCSYSR(e.getImp()));
|
|
6899
6914
|
}
|
|
6900
6915
|
Rotate(e, t) {
|
|
6901
6916
|
this.imp.Rotate(e.getImp(), t);
|
|
6902
6917
|
}
|
|
6903
6918
|
Rotated(e, t) {
|
|
6904
|
-
return new
|
|
6919
|
+
return new S(this.imp.Rotated(e.getImp(), t));
|
|
6905
6920
|
}
|
|
6906
6921
|
Scale(e, t) {
|
|
6907
6922
|
this.imp.Scale(e.imp, t);
|
|
6908
6923
|
}
|
|
6909
6924
|
Scaled(e, t) {
|
|
6910
|
-
return new
|
|
6925
|
+
return new S(this.imp.Scaled(e.imp, t));
|
|
6911
6926
|
}
|
|
6912
6927
|
Transform(e) {
|
|
6913
6928
|
this.imp.Transform(e.getImp());
|
|
6914
6929
|
}
|
|
6915
6930
|
Transformed(e) {
|
|
6916
|
-
return new
|
|
6931
|
+
return new S(this.imp.Transformed(e.getImp()));
|
|
6917
6932
|
}
|
|
6918
6933
|
TranslateByVec(e) {
|
|
6919
6934
|
this.imp.TranslateByVec(e.getImp());
|
|
6920
6935
|
}
|
|
6921
6936
|
TranslatedByVec(e) {
|
|
6922
|
-
return new
|
|
6937
|
+
return new S(this.imp.TranslatedByVec(e.getImp()));
|
|
6923
6938
|
}
|
|
6924
6939
|
TranslateBy2Points(e, t) {
|
|
6925
6940
|
this.imp.TranslateBy2Points(e.imp, t.imp);
|
|
6926
6941
|
}
|
|
6927
6942
|
TranslatedBy2Points(e, t) {
|
|
6928
|
-
return new
|
|
6943
|
+
return new S(this.imp.TranslatedBy2Points(e.imp, t.imp));
|
|
6929
6944
|
}
|
|
6930
6945
|
Shape() {
|
|
6931
6946
|
return new c(this.imp.Shape());
|
|
@@ -6936,7 +6951,7 @@ class w extends y {
|
|
|
6936
6951
|
}
|
|
6937
6952
|
class O extends y {
|
|
6938
6953
|
constructor(e, t, r) {
|
|
6939
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeVec())) : e instanceof
|
|
6954
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeVec())) : e instanceof S && t instanceof S && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeVec(e.getImp(), t.getImp()))) : typeof e == "number" && typeof t == "number" && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeVec(e, t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
6940
6955
|
}
|
|
6941
6956
|
SetCoord(e, t, r) {
|
|
6942
6957
|
arguments.length == 2 ? this.imp.SetCoord(e, t) : this.imp.SetCoord(e, t, r);
|
|
@@ -7091,16 +7106,16 @@ class O extends y {
|
|
|
7091
7106
|
}
|
|
7092
7107
|
class hr extends y {
|
|
7093
7108
|
constructor(e, t, r) {
|
|
7094
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeAngleDim())) : e instanceof j && t instanceof j && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeAngleDim(e.getImp(), t.getImp()))) : e instanceof
|
|
7109
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeAngleDim())) : e instanceof j && t instanceof j && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeAngleDim(e.getImp(), t.getImp()))) : e instanceof S && t instanceof S && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeAngleDim(e.getImp(), t.getImp(), r?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
7095
7110
|
}
|
|
7096
7111
|
FirstPoint() {
|
|
7097
|
-
return new
|
|
7112
|
+
return new S(this.imp.FirstPoint());
|
|
7098
7113
|
}
|
|
7099
7114
|
SecondPoint() {
|
|
7100
|
-
return new
|
|
7115
|
+
return new S(this.imp.SecondPoint());
|
|
7101
7116
|
}
|
|
7102
7117
|
CenterPoint() {
|
|
7103
|
-
return new
|
|
7118
|
+
return new S(this.imp.CenterPoint());
|
|
7104
7119
|
}
|
|
7105
7120
|
FirstShape() {
|
|
7106
7121
|
return new c(this.imp.FirstShape());
|
|
@@ -7112,19 +7127,19 @@ class hr extends y {
|
|
|
7112
7127
|
return new c(this.imp.ThirdShape());
|
|
7113
7128
|
}
|
|
7114
7129
|
SetMeasuredGeometry(e, t, r) {
|
|
7115
|
-
e instanceof Y && arguments.length == 1 ? this.imp.SetMeasuredGeometry(e.getImp()) : e instanceof j && t instanceof j && arguments.length == 2 ? this.imp.SetMeasuredGeometry(e.getImp(), t.getImp()) : e instanceof
|
|
7130
|
+
e instanceof Y && arguments.length == 1 ? this.imp.SetMeasuredGeometry(e.getImp()) : e instanceof j && t instanceof j && arguments.length == 2 ? this.imp.SetMeasuredGeometry(e.getImp(), t.getImp()) : e instanceof S && t instanceof S && arguments.length == 3 && this.imp.SetMeasuredGeometry(e.getImp(), t.getImp(), r?.getImp());
|
|
7116
7131
|
}
|
|
7117
7132
|
SetTextPosition(e) {
|
|
7118
7133
|
this.imp.SetTextPosition(e.getImp());
|
|
7119
7134
|
}
|
|
7120
7135
|
GetTextPosition() {
|
|
7121
|
-
return new
|
|
7136
|
+
return new S(this.imp.GetTextPosition());
|
|
7122
7137
|
}
|
|
7123
7138
|
GetNormalForMinAngle() {
|
|
7124
7139
|
return new K(this.imp.GetNormalForMinAngle());
|
|
7125
7140
|
}
|
|
7126
7141
|
GetCenterOnArc(e, t, r) {
|
|
7127
|
-
return new
|
|
7142
|
+
return new S(this.imp.GetCenterOnArc(e.getImp(), t.getImp(), r.getImp()));
|
|
7128
7143
|
}
|
|
7129
7144
|
Display() {
|
|
7130
7145
|
this.imp.Display();
|
|
@@ -7203,13 +7218,13 @@ class $ extends y {
|
|
|
7203
7218
|
return this.imp.IsAllocated();
|
|
7204
7219
|
}
|
|
7205
7220
|
First() {
|
|
7206
|
-
return new
|
|
7221
|
+
return new S(this.imp.First());
|
|
7207
7222
|
}
|
|
7208
7223
|
Last() {
|
|
7209
|
-
return new
|
|
7224
|
+
return new S(this.imp.Last());
|
|
7210
7225
|
}
|
|
7211
7226
|
Value(e) {
|
|
7212
|
-
return new
|
|
7227
|
+
return new S(this.imp.Value(e));
|
|
7213
7228
|
}
|
|
7214
7229
|
SetValue(e, t) {
|
|
7215
7230
|
this.imp.SetValue(e, t.getImp());
|
|
@@ -7264,7 +7279,7 @@ class _e extends y {
|
|
|
7264
7279
|
}
|
|
7265
7280
|
class q extends y {
|
|
7266
7281
|
constructor(e, t, r, n, C) {
|
|
7267
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt())) : typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt(e, t, r, n))) : e instanceof
|
|
7282
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt())) : typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt(e, t, r, n))) : e instanceof S && arguments.length == 5 ? (super(), this.initTempObject(new o.MdGeArray2OfPnt(e.getImp(), t, r, n, C))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
7268
7283
|
}
|
|
7269
7284
|
Init(e) {
|
|
7270
7285
|
this.imp.Init(e.getImp());
|
|
@@ -7303,7 +7318,7 @@ class q extends y {
|
|
|
7303
7318
|
return this.imp.IsDeletable();
|
|
7304
7319
|
}
|
|
7305
7320
|
Value(e, t) {
|
|
7306
|
-
return new
|
|
7321
|
+
return new S(this.imp.Value(e, t));
|
|
7307
7322
|
}
|
|
7308
7323
|
SetValue(e, t, r) {
|
|
7309
7324
|
this.imp.SetValue(e, t, r.getImp());
|
|
@@ -7415,10 +7430,10 @@ class dr extends y {
|
|
|
7415
7430
|
return new O(this.imp.DN(e, t));
|
|
7416
7431
|
}
|
|
7417
7432
|
StartPoint() {
|
|
7418
|
-
return new
|
|
7433
|
+
return new S(this.imp.StartPoint());
|
|
7419
7434
|
}
|
|
7420
7435
|
EndPoint() {
|
|
7421
|
-
return new
|
|
7436
|
+
return new S(this.imp.EndPoint());
|
|
7422
7437
|
}
|
|
7423
7438
|
FirstParameter() {
|
|
7424
7439
|
return this.imp.FirstParameter();
|
|
@@ -7430,7 +7445,7 @@ class dr extends y {
|
|
|
7430
7445
|
return this.imp.NbPoles();
|
|
7431
7446
|
}
|
|
7432
7447
|
Pole(e) {
|
|
7433
|
-
return new
|
|
7448
|
+
return new S(this.imp.Pole(e));
|
|
7434
7449
|
}
|
|
7435
7450
|
Poles() {
|
|
7436
7451
|
return new $(this.imp.Poles());
|
|
@@ -7454,7 +7469,7 @@ class dr extends y {
|
|
|
7454
7469
|
return new j(this.imp.Edge());
|
|
7455
7470
|
}
|
|
7456
7471
|
Wire() {
|
|
7457
|
-
return new
|
|
7472
|
+
return new V(this.imp.Wire());
|
|
7458
7473
|
}
|
|
7459
7474
|
}
|
|
7460
7475
|
class gr extends y {
|
|
@@ -7531,7 +7546,7 @@ class gr extends y {
|
|
|
7531
7546
|
return this.imp.NbVPoles();
|
|
7532
7547
|
}
|
|
7533
7548
|
Pole(e, t) {
|
|
7534
|
-
return new
|
|
7549
|
+
return new S(this.imp.Pole(e, t));
|
|
7535
7550
|
}
|
|
7536
7551
|
Poles() {
|
|
7537
7552
|
return new q(this.imp.Poles());
|
|
@@ -7684,7 +7699,7 @@ class _r extends y {
|
|
|
7684
7699
|
}
|
|
7685
7700
|
class J extends y {
|
|
7686
7701
|
constructor(e, t) {
|
|
7687
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCircle())) : e instanceof
|
|
7702
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCircle())) : e instanceof W && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeCircle(e.getImp(), t))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
7688
7703
|
}
|
|
7689
7704
|
SetAxis(e) {
|
|
7690
7705
|
this.imp.SetAxis(e.getImp());
|
|
@@ -7708,10 +7723,10 @@ class J extends y {
|
|
|
7708
7723
|
return this.imp.Length();
|
|
7709
7724
|
}
|
|
7710
7725
|
Location() {
|
|
7711
|
-
return new
|
|
7726
|
+
return new S(this.imp.Location());
|
|
7712
7727
|
}
|
|
7713
7728
|
Position() {
|
|
7714
|
-
return new
|
|
7729
|
+
return new W(this.imp.Position());
|
|
7715
7730
|
}
|
|
7716
7731
|
Radius() {
|
|
7717
7732
|
return this.imp.Radius();
|
|
@@ -7786,12 +7801,12 @@ class J extends y {
|
|
|
7786
7801
|
return arguments.length == 2 ? new j(this.imp.Edge(e, t)) : new j(this.imp.Edge());
|
|
7787
7802
|
}
|
|
7788
7803
|
Wire() {
|
|
7789
|
-
return new
|
|
7804
|
+
return new V(this.imp.Wire());
|
|
7790
7805
|
}
|
|
7791
7806
|
}
|
|
7792
7807
|
class z extends y {
|
|
7793
7808
|
constructor(e, t, r) {
|
|
7794
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCSYS())) : e instanceof
|
|
7809
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeCSYS())) : e instanceof S && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeCSYS(e.getImp(), t?.getImp()))) : e instanceof S && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeCSYS(e.getImp(), t?.getImp(), r?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
7795
7810
|
}
|
|
7796
7811
|
XReverse() {
|
|
7797
7812
|
this.imp.XReverse();
|
|
@@ -7809,7 +7824,7 @@ class z extends y {
|
|
|
7809
7824
|
this.imp.SetZDirection(e.getImp());
|
|
7810
7825
|
}
|
|
7811
7826
|
SetOrigin(e, t, r) {
|
|
7812
|
-
e instanceof
|
|
7827
|
+
e instanceof S && arguments.length == 1 ? this.imp.SetOrigin(e.getImp()) : typeof e == "number" && arguments.length == 3 && this.imp.SetOrigin(e, t, r);
|
|
7813
7828
|
}
|
|
7814
7829
|
SetXDirection(e) {
|
|
7815
7830
|
this.imp.SetXDirection(e.getImp());
|
|
@@ -7824,13 +7839,13 @@ class z extends y {
|
|
|
7824
7839
|
return new N(this.imp.ZAxis());
|
|
7825
7840
|
}
|
|
7826
7841
|
CSYSR() {
|
|
7827
|
-
return new
|
|
7842
|
+
return new W(this.imp.CSYSR());
|
|
7828
7843
|
}
|
|
7829
7844
|
ZDirection() {
|
|
7830
7845
|
return new K(this.imp.ZDirection());
|
|
7831
7846
|
}
|
|
7832
7847
|
Origin() {
|
|
7833
|
-
return new
|
|
7848
|
+
return new S(this.imp.Origin());
|
|
7834
7849
|
}
|
|
7835
7850
|
XDirection() {
|
|
7836
7851
|
return new K(this.imp.XDirection());
|
|
@@ -7916,7 +7931,7 @@ class pe extends y {
|
|
|
7916
7931
|
this.imp.SetSemiAngle(e);
|
|
7917
7932
|
}
|
|
7918
7933
|
Apex() {
|
|
7919
|
-
return new
|
|
7934
|
+
return new S(this.imp.Apex());
|
|
7920
7935
|
}
|
|
7921
7936
|
UReverse() {
|
|
7922
7937
|
this.imp.UReverse();
|
|
@@ -7931,7 +7946,7 @@ class pe extends y {
|
|
|
7931
7946
|
return new N(this.imp.Axis());
|
|
7932
7947
|
}
|
|
7933
7948
|
Location() {
|
|
7934
|
-
return new
|
|
7949
|
+
return new S(this.imp.Location());
|
|
7935
7950
|
}
|
|
7936
7951
|
Position() {
|
|
7937
7952
|
return new z(this.imp.Position());
|
|
@@ -8000,7 +8015,7 @@ class pe extends y {
|
|
|
8000
8015
|
return arguments.length == 1 ? new c(this.imp.Shape(e)) : new c(this.imp.Shape(e, t));
|
|
8001
8016
|
}
|
|
8002
8017
|
Face(e, t, r, n) {
|
|
8003
|
-
return e instanceof
|
|
8018
|
+
return e instanceof V && arguments.length == 1 ? new Y(this.imp.Face(e.getImp())) : e instanceof V && typeof t == "boolean" && arguments.length == 2 ? new Y(this.imp.Face(e.getImp(), t)) : typeof e == "number" && typeof t == "number" && arguments.length == 4 ? new Y(this.imp.Face(e, t, r, n)) : new Y(this.imp.Face());
|
|
8004
8019
|
}
|
|
8005
8020
|
}
|
|
8006
8021
|
class ce extends y {
|
|
@@ -8032,7 +8047,7 @@ class ce extends y {
|
|
|
8032
8047
|
return new N(this.imp.Axis());
|
|
8033
8048
|
}
|
|
8034
8049
|
Location() {
|
|
8035
|
-
return new
|
|
8050
|
+
return new S(this.imp.Location());
|
|
8036
8051
|
}
|
|
8037
8052
|
Position() {
|
|
8038
8053
|
return new z(this.imp.Position());
|
|
@@ -8098,12 +8113,12 @@ class ce extends y {
|
|
|
8098
8113
|
return arguments.length == 1 ? new c(this.imp.Shape(e)) : new c(this.imp.Shape(e, t));
|
|
8099
8114
|
}
|
|
8100
8115
|
Face(e, t, r, n) {
|
|
8101
|
-
return e instanceof
|
|
8116
|
+
return e instanceof V && arguments.length == 1 ? new Y(this.imp.Face(e.getImp())) : e instanceof V && typeof t == "boolean" && arguments.length == 2 ? new Y(this.imp.Face(e.getImp(), t)) : typeof e == "number" && typeof t == "number" && arguments.length == 4 ? new Y(this.imp.Face(e, t, r, n)) : new Y(this.imp.Face());
|
|
8102
8117
|
}
|
|
8103
8118
|
}
|
|
8104
8119
|
class Ce extends y {
|
|
8105
8120
|
constructor(e, t, r, n) {
|
|
8106
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGePlane())) : e instanceof z && arguments.length == 1 ? (super(), this.initTempObject(new o.MdGePlane(e.getImp()))) : e instanceof
|
|
8121
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGePlane())) : e instanceof z && arguments.length == 1 ? (super(), this.initTempObject(new o.MdGePlane(e.getImp()))) : e instanceof S && t instanceof K && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGePlane(e.getImp(), t.getImp()))) : typeof e == "number" && typeof t == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGePlane(e, t, r, n))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
8107
8122
|
}
|
|
8108
8123
|
SetAxis(e) {
|
|
8109
8124
|
this.imp.SetAxis(e.getImp());
|
|
@@ -8127,7 +8142,7 @@ class Ce extends y {
|
|
|
8127
8142
|
return new N(this.imp.Axis());
|
|
8128
8143
|
}
|
|
8129
8144
|
Location() {
|
|
8130
|
-
return new
|
|
8145
|
+
return new S(this.imp.Location());
|
|
8131
8146
|
}
|
|
8132
8147
|
Position() {
|
|
8133
8148
|
return new z(this.imp.Position());
|
|
@@ -8202,7 +8217,7 @@ class Ce extends y {
|
|
|
8202
8217
|
return new Ce(this.imp.TranslatedBy2Points(e.getImp(), t.getImp()));
|
|
8203
8218
|
}
|
|
8204
8219
|
Face(e, t, r, n) {
|
|
8205
|
-
return e instanceof
|
|
8220
|
+
return e instanceof V && arguments.length == 1 ? new Y(this.imp.Face(e.getImp())) : e instanceof V && typeof t == "boolean" && arguments.length == 2 ? new Y(this.imp.Face(e.getImp(), t)) : typeof e == "number" && typeof t == "number" && arguments.length == 4 ? new Y(this.imp.Face(e, t, r, n)) : new Y(this.imp.Face());
|
|
8206
8221
|
}
|
|
8207
8222
|
}
|
|
8208
8223
|
class Ir extends y {
|
|
@@ -8213,7 +8228,7 @@ class Ir extends y {
|
|
|
8213
8228
|
return new J(this.imp.Circle());
|
|
8214
8229
|
}
|
|
8215
8230
|
AnchorPoint() {
|
|
8216
|
-
return new
|
|
8231
|
+
return new S(this.imp.AnchorPoint());
|
|
8217
8232
|
}
|
|
8218
8233
|
Shape() {
|
|
8219
8234
|
return new c(this.imp.Shape());
|
|
@@ -8225,7 +8240,7 @@ class Ir extends y {
|
|
|
8225
8240
|
this.imp.SetTextPosition(e.getImp());
|
|
8226
8241
|
}
|
|
8227
8242
|
GetTextPosition() {
|
|
8228
|
-
return new
|
|
8243
|
+
return new S(this.imp.GetTextPosition());
|
|
8229
8244
|
}
|
|
8230
8245
|
Display() {
|
|
8231
8246
|
this.imp.Display();
|
|
@@ -8233,7 +8248,7 @@ class Ir extends y {
|
|
|
8233
8248
|
}
|
|
8234
8249
|
class Re extends y {
|
|
8235
8250
|
constructor(e, t, r) {
|
|
8236
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeEllipse())) : e instanceof
|
|
8251
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeEllipse())) : e instanceof W && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeEllipse(e.getImp(), t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
8237
8252
|
}
|
|
8238
8253
|
SetAxis(e) {
|
|
8239
8254
|
this.imp.SetAxis(e.getImp());
|
|
@@ -8269,13 +8284,13 @@ class Re extends y {
|
|
|
8269
8284
|
return this.imp.Focal();
|
|
8270
8285
|
}
|
|
8271
8286
|
Focus1() {
|
|
8272
|
-
return new
|
|
8287
|
+
return new S(this.imp.Focus1());
|
|
8273
8288
|
}
|
|
8274
8289
|
Focus2() {
|
|
8275
|
-
return new
|
|
8290
|
+
return new S(this.imp.Focus2());
|
|
8276
8291
|
}
|
|
8277
8292
|
Location() {
|
|
8278
|
-
return new
|
|
8293
|
+
return new S(this.imp.Location());
|
|
8279
8294
|
}
|
|
8280
8295
|
MajorRadius() {
|
|
8281
8296
|
return this.imp.MajorRadius();
|
|
@@ -8287,7 +8302,7 @@ class Re extends y {
|
|
|
8287
8302
|
return this.imp.Parameter();
|
|
8288
8303
|
}
|
|
8289
8304
|
Position() {
|
|
8290
|
-
return new
|
|
8305
|
+
return new W(this.imp.Position());
|
|
8291
8306
|
}
|
|
8292
8307
|
XAxis() {
|
|
8293
8308
|
return new N(this.imp.XAxis());
|
|
@@ -8335,7 +8350,7 @@ class Re extends y {
|
|
|
8335
8350
|
return new c(this.imp.Shape());
|
|
8336
8351
|
}
|
|
8337
8352
|
Wire() {
|
|
8338
|
-
return new
|
|
8353
|
+
return new V(this.imp.Wire());
|
|
8339
8354
|
}
|
|
8340
8355
|
Edge(e, t) {
|
|
8341
8356
|
return arguments.length == 2 ? new j(this.imp.Edge(e, t)) : new j(this.imp.Edge());
|
|
@@ -8526,7 +8541,7 @@ class Sr extends y {
|
|
|
8526
8541
|
}
|
|
8527
8542
|
class te extends y {
|
|
8528
8543
|
constructor(e, t, r) {
|
|
8529
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeHypr())) : e instanceof
|
|
8544
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeHypr())) : e instanceof W && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeHypr(e.getImp(), t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
8530
8545
|
}
|
|
8531
8546
|
SetAxis(e) {
|
|
8532
8547
|
this.imp.SetAxis(e.getImp());
|
|
@@ -8571,13 +8586,13 @@ class te extends y {
|
|
|
8571
8586
|
return this.imp.Focal();
|
|
8572
8587
|
}
|
|
8573
8588
|
Focus1() {
|
|
8574
|
-
return new
|
|
8589
|
+
return new S(this.imp.Focus1());
|
|
8575
8590
|
}
|
|
8576
8591
|
Focus2() {
|
|
8577
|
-
return new
|
|
8592
|
+
return new S(this.imp.Focus2());
|
|
8578
8593
|
}
|
|
8579
8594
|
Location() {
|
|
8580
|
-
return new
|
|
8595
|
+
return new S(this.imp.Location());
|
|
8581
8596
|
}
|
|
8582
8597
|
MajorRadius() {
|
|
8583
8598
|
return this.imp.MajorRadius();
|
|
@@ -8592,7 +8607,7 @@ class te extends y {
|
|
|
8592
8607
|
return this.imp.Parameter();
|
|
8593
8608
|
}
|
|
8594
8609
|
Position() {
|
|
8595
|
-
return new
|
|
8610
|
+
return new W(this.imp.Position());
|
|
8596
8611
|
}
|
|
8597
8612
|
XAxis() {
|
|
8598
8613
|
return new N(this.imp.XAxis());
|
|
@@ -8652,7 +8667,7 @@ class te extends y {
|
|
|
8652
8667
|
return new c(this.imp.Shape());
|
|
8653
8668
|
}
|
|
8654
8669
|
Wire() {
|
|
8655
|
-
return new
|
|
8670
|
+
return new V(this.imp.Wire());
|
|
8656
8671
|
}
|
|
8657
8672
|
Edge(e, t) {
|
|
8658
8673
|
return arguments.length == 2 ? new j(this.imp.Edge(e, t)) : new j(this.imp.Edge());
|
|
@@ -8660,10 +8675,10 @@ class te extends y {
|
|
|
8660
8675
|
}
|
|
8661
8676
|
class yr extends y {
|
|
8662
8677
|
constructor(e, t, r, n) {
|
|
8663
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeBox())) : e instanceof
|
|
8678
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeBox())) : e instanceof S && t instanceof S && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeBox(e.getImp(), t.getImp()))) : typeof e == "number" && typeof t == "number" && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeBox(e, t, r))) : e instanceof W && typeof t == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeBox(e.getImp(), t, r, n))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
8664
8679
|
}
|
|
8665
8680
|
Init(e, t, r, n) {
|
|
8666
|
-
e instanceof
|
|
8681
|
+
e instanceof S && t instanceof S && arguments.length == 2 ? this.imp.Init(e.getImp(), t.getImp()) : typeof e == "number" && typeof t == "number" && arguments.length == 3 ? this.imp.Init(e, t, r) : e instanceof W && typeof t == "number" && arguments.length == 4 && this.imp.Init(e.getImp(), t, r, n);
|
|
8667
8682
|
}
|
|
8668
8683
|
Shape() {
|
|
8669
8684
|
return new c(this.imp.Shape());
|
|
@@ -8767,13 +8782,13 @@ class Rt extends y {
|
|
|
8767
8782
|
return new O(this.imp.DN(e, t));
|
|
8768
8783
|
}
|
|
8769
8784
|
LocalValue(e, t, r) {
|
|
8770
|
-
return new
|
|
8785
|
+
return new S(this.imp.LocalValue(e, t, r));
|
|
8771
8786
|
}
|
|
8772
8787
|
LocalDN(e, t, r, n) {
|
|
8773
8788
|
return new O(this.imp.LocalDN(e, t, r, n));
|
|
8774
8789
|
}
|
|
8775
8790
|
EndPoint() {
|
|
8776
|
-
return new
|
|
8791
|
+
return new S(this.imp.EndPoint());
|
|
8777
8792
|
}
|
|
8778
8793
|
FirstUKnotIndex() {
|
|
8779
8794
|
return this.imp.FirstUKnotIndex();
|
|
@@ -8809,13 +8824,13 @@ class Rt extends y {
|
|
|
8809
8824
|
return this.imp.NbPoles();
|
|
8810
8825
|
}
|
|
8811
8826
|
Pole(e) {
|
|
8812
|
-
return new
|
|
8827
|
+
return new S(this.imp.Pole(e));
|
|
8813
8828
|
}
|
|
8814
8829
|
Poles() {
|
|
8815
8830
|
return new $(this.imp.Poles());
|
|
8816
8831
|
}
|
|
8817
8832
|
StartPoint() {
|
|
8818
|
-
return new
|
|
8833
|
+
return new S(this.imp.StartPoint());
|
|
8819
8834
|
}
|
|
8820
8835
|
Weight(e) {
|
|
8821
8836
|
return this.imp.Weight(e);
|
|
@@ -8833,7 +8848,7 @@ class Rt extends y {
|
|
|
8833
8848
|
return new j(this.imp.Edge());
|
|
8834
8849
|
}
|
|
8835
8850
|
Wire() {
|
|
8836
|
-
return new
|
|
8851
|
+
return new V(this.imp.Wire());
|
|
8837
8852
|
}
|
|
8838
8853
|
}
|
|
8839
8854
|
class Fi extends y {
|
|
@@ -8985,7 +9000,7 @@ class Fi extends y {
|
|
|
8985
9000
|
return this.imp.NbVPoles();
|
|
8986
9001
|
}
|
|
8987
9002
|
Pole(e, t) {
|
|
8988
|
-
return new
|
|
9003
|
+
return new S(this.imp.Pole(e, t));
|
|
8989
9004
|
}
|
|
8990
9005
|
Poles() {
|
|
8991
9006
|
return new q(this.Poles());
|
|
@@ -9039,7 +9054,7 @@ class Fi extends y {
|
|
|
9039
9054
|
return new O(this.imp.LocalDN(e, t, r, n, C, s, E, D));
|
|
9040
9055
|
}
|
|
9041
9056
|
LocalValue(e, t, r, n, C, s) {
|
|
9042
|
-
return new
|
|
9057
|
+
return new S(this.imp.LocalValue(e, t, r, n, C, s));
|
|
9043
9058
|
}
|
|
9044
9059
|
Transform(e) {
|
|
9045
9060
|
this.imp.Transform(e.getImp());
|
|
@@ -9073,13 +9088,13 @@ class Rr extends y {
|
|
|
9073
9088
|
}
|
|
9074
9089
|
class br extends y {
|
|
9075
9090
|
constructor(e, t, r) {
|
|
9076
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeLengthDim())) : e instanceof j && t instanceof Ce && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeLengthDim(e.getImp(), t.getImp()))) : e instanceof
|
|
9091
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeLengthDim())) : e instanceof j && t instanceof Ce && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeLengthDim(e.getImp(), t.getImp()))) : e instanceof S && t instanceof S && r instanceof Ce ? (super(), this.initTempObject(new o.MdGeLengthDim(e.getImp(), t.getImp(), r.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9077
9092
|
}
|
|
9078
9093
|
FirstPoint() {
|
|
9079
|
-
return new
|
|
9094
|
+
return new S(this.imp.FirstPoint());
|
|
9080
9095
|
}
|
|
9081
9096
|
SecondPoint() {
|
|
9082
|
-
return new
|
|
9097
|
+
return new S(this.imp.SecondPoint());
|
|
9083
9098
|
}
|
|
9084
9099
|
FirstShape() {
|
|
9085
9100
|
return new c(this.imp.FirstShape());
|
|
@@ -9097,7 +9112,7 @@ class br extends y {
|
|
|
9097
9112
|
this.imp.SetTextPosition(e.getImp());
|
|
9098
9113
|
}
|
|
9099
9114
|
GetTextPosition() {
|
|
9100
|
-
return new
|
|
9115
|
+
return new S(this.imp.GetTextPosition());
|
|
9101
9116
|
}
|
|
9102
9117
|
SetDirection(e, t) {
|
|
9103
9118
|
this.imp.SetDirection(e.getImp(), t);
|
|
@@ -9108,7 +9123,7 @@ class br extends y {
|
|
|
9108
9123
|
}
|
|
9109
9124
|
class ne extends y {
|
|
9110
9125
|
constructor(e, t) {
|
|
9111
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeLine())) : e instanceof
|
|
9126
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeLine())) : e instanceof S && t instanceof K ? (super(), this.initTempObject(new o.MdGeLine(e.getImp(), t.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9112
9127
|
}
|
|
9113
9128
|
Reverse() {
|
|
9114
9129
|
this.imp.Reverse();
|
|
@@ -9129,7 +9144,7 @@ class ne extends y {
|
|
|
9129
9144
|
return new K(this.imp.Direction());
|
|
9130
9145
|
}
|
|
9131
9146
|
Location() {
|
|
9132
|
-
return new
|
|
9147
|
+
return new S(this.imp.Location());
|
|
9133
9148
|
}
|
|
9134
9149
|
Position() {
|
|
9135
9150
|
return new N(this.imp.Position());
|
|
@@ -9207,7 +9222,7 @@ class ne extends y {
|
|
|
9207
9222
|
return new c(this.imp.Shape());
|
|
9208
9223
|
}
|
|
9209
9224
|
Wire() {
|
|
9210
|
-
return new
|
|
9225
|
+
return new V(this.imp.Wire());
|
|
9211
9226
|
}
|
|
9212
9227
|
Edge(e, t) {
|
|
9213
9228
|
return arguments.length == 2 ? new j(this.imp.Edge(e, t)) : new j(this.imp.Edge());
|
|
@@ -9349,7 +9364,7 @@ class fr extends y {
|
|
|
9349
9364
|
}
|
|
9350
9365
|
class me extends y {
|
|
9351
9366
|
constructor(e, t) {
|
|
9352
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeParab())) : e instanceof
|
|
9367
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeParab())) : e instanceof W && typeof t == "number" ? (super(), this.initTempObject(new o.MdGeParab(e.getImp(), t))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9353
9368
|
}
|
|
9354
9369
|
SetAxis(e) {
|
|
9355
9370
|
this.imp.SetAxis(e.getImp());
|
|
@@ -9373,16 +9388,16 @@ class me extends y {
|
|
|
9373
9388
|
return this.imp.Focal();
|
|
9374
9389
|
}
|
|
9375
9390
|
Focus() {
|
|
9376
|
-
return new
|
|
9391
|
+
return new S(this.imp.Focus());
|
|
9377
9392
|
}
|
|
9378
9393
|
Location() {
|
|
9379
|
-
return new
|
|
9394
|
+
return new S(this.imp.Location());
|
|
9380
9395
|
}
|
|
9381
9396
|
Parameter() {
|
|
9382
9397
|
return this.imp.Parameter();
|
|
9383
9398
|
}
|
|
9384
9399
|
Position() {
|
|
9385
|
-
return new
|
|
9400
|
+
return new W(this.imp.Position());
|
|
9386
9401
|
}
|
|
9387
9402
|
XAxis() {
|
|
9388
9403
|
return new N(this.imp.XAxis());
|
|
@@ -9442,7 +9457,7 @@ class me extends y {
|
|
|
9442
9457
|
return new c(this.imp.Shape());
|
|
9443
9458
|
}
|
|
9444
9459
|
Wire() {
|
|
9445
|
-
return new
|
|
9460
|
+
return new V(this.imp.Wire());
|
|
9446
9461
|
}
|
|
9447
9462
|
Edge(e, t) {
|
|
9448
9463
|
return typeof e == "number" && typeof t == "number" ? new j(this.imp.Edge(e, t)) : new j(this.imp.Edge());
|
|
@@ -9450,7 +9465,7 @@ class me extends y {
|
|
|
9450
9465
|
}
|
|
9451
9466
|
class Pr extends y {
|
|
9452
9467
|
constructor(e, t, r, n) {
|
|
9453
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGePipe())) : e instanceof
|
|
9468
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGePipe())) : e instanceof V && t instanceof c && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGePipe(e.getImp(), t.getImp()))) : e instanceof V && t instanceof c && typeof r == "number" && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGePipe(e.getImp(), t.getImp(), r))) : e instanceof V && t instanceof c && typeof r == "number" && typeof n == "boolean" ? (super(), this.initTempObject(new o.MdGePipe(e.getImp(), t.getImp(), r, n))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9454
9469
|
}
|
|
9455
9470
|
FirstShape() {
|
|
9456
9471
|
return new c(this.imp.FirstShape());
|
|
@@ -9518,13 +9533,13 @@ class Gr extends y {
|
|
|
9518
9533
|
}
|
|
9519
9534
|
class Nr extends y {
|
|
9520
9535
|
constructor(e, t) {
|
|
9521
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeRadiusDim())) : e instanceof J && arguments.length == 1 ? (super(), this.initTempObject(new o.MdGeRadiusDim(e.getImp()))) : e instanceof J && t instanceof
|
|
9536
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeRadiusDim())) : e instanceof J && arguments.length == 1 ? (super(), this.initTempObject(new o.MdGeRadiusDim(e.getImp()))) : e instanceof J && t instanceof S ? (super(), this.initTempObject(new o.MdGeRadiusDim(e.getImp(), t.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9522
9537
|
}
|
|
9523
9538
|
Circle() {
|
|
9524
9539
|
return new J(this.imp.Circle());
|
|
9525
9540
|
}
|
|
9526
9541
|
AnchorPoint() {
|
|
9527
|
-
return new
|
|
9542
|
+
return new S(this.imp.AnchorPoint());
|
|
9528
9543
|
}
|
|
9529
9544
|
Shape() {
|
|
9530
9545
|
return new c(this.imp.Shape());
|
|
@@ -9536,7 +9551,7 @@ class Nr extends y {
|
|
|
9536
9551
|
this.imp.SetTextPosition(e.getImp());
|
|
9537
9552
|
}
|
|
9538
9553
|
GetTextPosition() {
|
|
9539
|
-
return new
|
|
9554
|
+
return new S(this.imp.GetTextPosition());
|
|
9540
9555
|
}
|
|
9541
9556
|
Display() {
|
|
9542
9557
|
this.imp.Display();
|
|
@@ -9544,10 +9559,10 @@ class Nr extends y {
|
|
|
9544
9559
|
}
|
|
9545
9560
|
class kr extends y {
|
|
9546
9561
|
constructor(e, t, r) {
|
|
9547
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeRect())) : e instanceof
|
|
9562
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeRect())) : e instanceof W && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeRect(e.getImp(), t, r))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9548
9563
|
}
|
|
9549
9564
|
Position() {
|
|
9550
|
-
return new
|
|
9565
|
+
return new W(this.imp.Position());
|
|
9551
9566
|
}
|
|
9552
9567
|
SetPosition(e) {
|
|
9553
9568
|
this.imp.SetPosition(e.getImp());
|
|
@@ -9571,7 +9586,7 @@ class kr extends y {
|
|
|
9571
9586
|
return new Y(this.imp.Face());
|
|
9572
9587
|
}
|
|
9573
9588
|
Wire() {
|
|
9574
|
-
return new
|
|
9589
|
+
return new V(this.imp.Wire());
|
|
9575
9590
|
}
|
|
9576
9591
|
LeftEdge() {
|
|
9577
9592
|
return new j(this.imp.LeftEdge());
|
|
@@ -9635,7 +9650,7 @@ class he extends y {
|
|
|
9635
9650
|
return this.imp.Direct();
|
|
9636
9651
|
}
|
|
9637
9652
|
Location() {
|
|
9638
|
-
return new
|
|
9653
|
+
return new S(this.imp.Location());
|
|
9639
9654
|
}
|
|
9640
9655
|
Position() {
|
|
9641
9656
|
return new z(this.imp.Position());
|
|
@@ -9701,7 +9716,7 @@ class he extends y {
|
|
|
9701
9716
|
return new he(this.imp.TranslatedBy2Points(e.getImp(), t.getImp()));
|
|
9702
9717
|
}
|
|
9703
9718
|
Face(e, t, r, n) {
|
|
9704
|
-
return e instanceof
|
|
9719
|
+
return e instanceof V && typeof t == "boolean" && arguments.length == 2 ? new Y(this.imp.Face(e.getImp(), t)) : typeof e == "number" && typeof t == "number" && arguments.length == 4 ? new Y(this.imp.Face(e, t, r, n)) : new Y(this.imp.Face());
|
|
9705
9720
|
}
|
|
9706
9721
|
Shape(e, t, r) {
|
|
9707
9722
|
return arguments.length == 1 ? new c(this.imp.Shape(e)) : arguments.length == 2 ? new c(this.imp.Shape(e, t)) : arguments.length == 3 ? new c(this.imp.Shape(e, t, r)) : new c(this.imp.Shape());
|
|
@@ -9715,13 +9730,13 @@ class jr extends y {
|
|
|
9715
9730
|
this.imp.SetText(e);
|
|
9716
9731
|
}
|
|
9717
9732
|
Position() {
|
|
9718
|
-
return new
|
|
9733
|
+
return new S(this.imp.Position());
|
|
9719
9734
|
}
|
|
9720
9735
|
SetPosition(e) {
|
|
9721
9736
|
this.imp.SetPosition(e.getImp());
|
|
9722
9737
|
}
|
|
9723
9738
|
Orientation() {
|
|
9724
|
-
return new
|
|
9739
|
+
return new W(this.imp.Orientation());
|
|
9725
9740
|
}
|
|
9726
9741
|
HasPlane() {
|
|
9727
9742
|
return this.imp.HasPlane();
|
|
@@ -9801,13 +9816,13 @@ class Ur extends y {
|
|
|
9801
9816
|
this.imp.UnsetOrientation3D();
|
|
9802
9817
|
}
|
|
9803
9818
|
Position() {
|
|
9804
|
-
return new
|
|
9819
|
+
return new S(this.imp.Position());
|
|
9805
9820
|
}
|
|
9806
9821
|
FontAspect() {
|
|
9807
9822
|
return this.imp.FontAspect();
|
|
9808
9823
|
}
|
|
9809
9824
|
Orientation3D() {
|
|
9810
|
-
return new
|
|
9825
|
+
return new W(this.imp.Orientation3D());
|
|
9811
9826
|
}
|
|
9812
9827
|
HasOrientation3D() {
|
|
9813
9828
|
return this.imp.HasOrientation3D();
|
|
@@ -9846,7 +9861,7 @@ class Jt {
|
|
|
9846
9861
|
return new j(this.imp.Edge(e.getImp()));
|
|
9847
9862
|
}
|
|
9848
9863
|
Wire(e) {
|
|
9849
|
-
return new
|
|
9864
|
+
return new V(this.imp.Wire(e.getImp()));
|
|
9850
9865
|
}
|
|
9851
9866
|
Face(e) {
|
|
9852
9867
|
return new Y(this.imp.Face(e.getImp()));
|
|
@@ -9905,7 +9920,7 @@ class de extends y {
|
|
|
9905
9920
|
return new N(this.imp.Axis());
|
|
9906
9921
|
}
|
|
9907
9922
|
Location() {
|
|
9908
|
-
return new
|
|
9923
|
+
return new S(this.imp.Location());
|
|
9909
9924
|
}
|
|
9910
9925
|
Position() {
|
|
9911
9926
|
return new z(this.imp.Position());
|
|
@@ -9974,15 +9989,15 @@ class de extends y {
|
|
|
9974
9989
|
return new de(this.imp.TranslatedBy2Points(e.getImp(), t.getImp()));
|
|
9975
9990
|
}
|
|
9976
9991
|
Face(e, t, r, n) {
|
|
9977
|
-
return e instanceof
|
|
9992
|
+
return e instanceof V && typeof t == "boolean" && arguments.length == 2 ? new Y(this.imp.Face(e.getImp(), t)) : typeof e == "number" && typeof t == "number" && arguments.length == 4 ? new Y(this.imp.Face(e, t, r, n)) : new Y(this.imp.Face());
|
|
9978
9993
|
}
|
|
9979
9994
|
Shape(e, t, r) {
|
|
9980
9995
|
return arguments.length == 1 ? new c(this.imp.Shape(e)) : arguments.length == 2 ? new c(this.imp.Shape(e, t)) : arguments.length == 3 ? new c(this.imp.Shape(e, t, r)) : new c(this.imp.Shape());
|
|
9981
9996
|
}
|
|
9982
9997
|
}
|
|
9983
|
-
class
|
|
9998
|
+
class Vr extends y {
|
|
9984
9999
|
constructor(e, t, r, n) {
|
|
9985
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeTransform())) : e instanceof
|
|
10000
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeTransform())) : e instanceof Ve && arguments.length == 1 ? (super(), this.initTempObject(new o.MdGeTransform(e.getImp()))) : e instanceof c && arguments.length == 2 ? (super(), this.initTempObject(new o.MdGeTransform(e.getImp(), t?.getImp()))) : e instanceof c && arguments.length == 3 ? (super(), this.initTempObject(new o.MdGeTransform(e.getImp(), t?.getImp(), r))) : e instanceof c && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeTransform(e.getImp(), t?.getImp(), r, n))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
9986
10001
|
}
|
|
9987
10002
|
Perform(e, t, r) {
|
|
9988
10003
|
arguments.length == 1 ? this.imp.Perform(e.getImp()) : arguments.length == 2 ? this.imp.Perform(e.getImp(), t) : arguments.length == 3 && this.imp.Perform(e.getImp(), t, r);
|
|
@@ -9994,9 +10009,9 @@ class Wr extends y {
|
|
|
9994
10009
|
return new c(this.imp.Shape());
|
|
9995
10010
|
}
|
|
9996
10011
|
}
|
|
9997
|
-
class
|
|
10012
|
+
class Wr extends y {
|
|
9998
10013
|
constructor(e, t, r, n, C, s, E, D) {
|
|
9999
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeWedge())) : typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeWedge(e, t, r, n))) : e instanceof
|
|
10014
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeWedge())) : typeof e == "number" && arguments.length == 4 ? (super(), this.initTempObject(new o.MdGeWedge(e, t, r, n))) : e instanceof W && arguments.length == 5 ? (super(), this.initTempObject(new o.MdGeWedge(e.getImp(), t, r, n, C))) : typeof e == "number" && arguments.length == 7 ? (super(), this.initTempObject(new o.MdGeWedge(e, t, r, n, C, s, E))) : e instanceof W && arguments.length == 8 ? (super(), this.initTempObject(new o.MdGeWedge(e.getImp(), t, r, n, C, s, E, D))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
10000
10015
|
}
|
|
10001
10016
|
Shell() {
|
|
10002
10017
|
return new Et(this.imp.Shell());
|
|
@@ -10027,7 +10042,7 @@ class it extends y {
|
|
|
10027
10042
|
return new N(this.imp.Axis());
|
|
10028
10043
|
}
|
|
10029
10044
|
Location() {
|
|
10030
|
-
return new
|
|
10045
|
+
return new S(this.imp.Location());
|
|
10031
10046
|
}
|
|
10032
10047
|
Position() {
|
|
10033
10048
|
return new z(this.imp.Position());
|
|
@@ -10078,7 +10093,7 @@ class qt {
|
|
|
10078
10093
|
return this.imp.MaxContinuity(e.getImp());
|
|
10079
10094
|
}
|
|
10080
10095
|
Pnt(e) {
|
|
10081
|
-
return new
|
|
10096
|
+
return new S(this.imp.Pnt(e.getImp()));
|
|
10082
10097
|
}
|
|
10083
10098
|
Parameter(e, t, r) {
|
|
10084
10099
|
return arguments.length == 2 ? this.imp.Parameter(e.getImp(), t.getImp()) : this.imp.Parameter(e.getImp(), t.getImp(), r?.getImp());
|
|
@@ -10107,6 +10122,9 @@ class qt {
|
|
|
10107
10122
|
openVrmlFromUrl(e) {
|
|
10108
10123
|
return new c(this.imp.openVrmlFromUrl(e));
|
|
10109
10124
|
}
|
|
10125
|
+
openStepFromUrlByOCAF(e) {
|
|
10126
|
+
this.imp.openStepFromUrlByOCAF(e);
|
|
10127
|
+
}
|
|
10110
10128
|
RemoveAllLights() {
|
|
10111
10129
|
this.imp.RemoveAllLights();
|
|
10112
10130
|
}
|
|
@@ -10152,6 +10170,18 @@ class qt {
|
|
|
10152
10170
|
SetProj(e, t) {
|
|
10153
10171
|
this.imp.SetProj(e, t);
|
|
10154
10172
|
}
|
|
10173
|
+
ChangeSelectedColor(e) {
|
|
10174
|
+
this.imp.ChangeSelectedColor(e.getImp());
|
|
10175
|
+
}
|
|
10176
|
+
AddModelTexture(e) {
|
|
10177
|
+
this.imp.AddModelTexture(e);
|
|
10178
|
+
}
|
|
10179
|
+
RemoveModelTexture() {
|
|
10180
|
+
this.imp.RemoveModelTexture();
|
|
10181
|
+
}
|
|
10182
|
+
ChangeSelectedMaterial(e) {
|
|
10183
|
+
this.imp.ChangeSelectedMaterial(e.getImp());
|
|
10184
|
+
}
|
|
10155
10185
|
}
|
|
10156
10186
|
class ve extends y {
|
|
10157
10187
|
constructor(e, t, r, n) {
|
|
@@ -10393,7 +10423,7 @@ class Kr extends y {
|
|
|
10393
10423
|
}
|
|
10394
10424
|
class zr extends y {
|
|
10395
10425
|
constructor(e) {
|
|
10396
|
-
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeMakeFace())) : e instanceof
|
|
10426
|
+
arguments.length == 0 ? (super(), this.initTempObject(new o.MdGeMakeFace())) : e instanceof V ? (super(), this.initTempObject(new o.MdGeMakeFace(e.getImp()))) : super(e);
|
|
10397
10427
|
}
|
|
10398
10428
|
Add(e) {
|
|
10399
10429
|
this.imp.Add(e.getImp());
|
|
@@ -10404,7 +10434,7 @@ class zr extends y {
|
|
|
10404
10434
|
}
|
|
10405
10435
|
class Zr extends y {
|
|
10406
10436
|
constructor(e, t, r) {
|
|
10407
|
-
e instanceof
|
|
10437
|
+
e instanceof S ? arguments.length == 3 && (super(), this.initTempObject(new o.MdGeMakeArcOfCircle(e.getImp(), t?.getImp(), r?.getImp()))) : e instanceof Object && arguments.length == 1 && super(e);
|
|
10408
10438
|
}
|
|
10409
10439
|
Edge() {
|
|
10410
10440
|
return new j(this.imp.Edge());
|
|
@@ -10454,10 +10484,10 @@ class Xr extends y {
|
|
|
10454
10484
|
this.imp.SetHeadlight(e);
|
|
10455
10485
|
}
|
|
10456
10486
|
Position() {
|
|
10457
|
-
return new
|
|
10487
|
+
return new S(this.imp.Position());
|
|
10458
10488
|
}
|
|
10459
10489
|
SetPosition(e, t, r) {
|
|
10460
|
-
e instanceof
|
|
10490
|
+
e instanceof S && arguments.length == 1 ? this.imp.SetPosition(e.getImp()) : typeof e == "number" && arguments.length == 3 && this.imp.SetPosition(e, t, r);
|
|
10461
10491
|
}
|
|
10462
10492
|
ConstAttenuation() {
|
|
10463
10493
|
return this.imp.ConstAttenuation();
|
|
@@ -10475,7 +10505,7 @@ class Xr extends y {
|
|
|
10475
10505
|
e instanceof K && arguments.length == 1 ? this.imp.SetDirection(e.getImp()) : typeof e == "number" && arguments.length == 3 && this.imp.SetDirection(e, t, r);
|
|
10476
10506
|
}
|
|
10477
10507
|
DisplayPosition() {
|
|
10478
|
-
return new
|
|
10508
|
+
return new S(this.imp.DisplayPosition());
|
|
10479
10509
|
}
|
|
10480
10510
|
SetDisplayPosition(e) {
|
|
10481
10511
|
this.imp.SetDisplayPosition(e.getImp());
|
|
@@ -10586,22 +10616,22 @@ const BE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10586
10616
|
McDbBlockTable: Yt,
|
|
10587
10617
|
McDbEntity: Le,
|
|
10588
10618
|
McDbCurve: Ne,
|
|
10589
|
-
McDbLine:
|
|
10619
|
+
McDbLine: We,
|
|
10590
10620
|
McDbText: jt,
|
|
10591
10621
|
McDbMText: Ut,
|
|
10592
10622
|
McDbCircle: Ge,
|
|
10593
10623
|
McDbPolyline: Se,
|
|
10594
|
-
McDbBlockReference:
|
|
10624
|
+
McDbBlockReference: Vt,
|
|
10595
10625
|
McDbDimension: It,
|
|
10596
|
-
McDbAlignedDimension:
|
|
10626
|
+
McDbAlignedDimension: Wt,
|
|
10597
10627
|
McDbRotatedDimension: Ht,
|
|
10598
10628
|
McDbArc: $e,
|
|
10599
10629
|
McDbEllipse: wt,
|
|
10600
10630
|
McDbPoint: ti,
|
|
10601
10631
|
FetchAttributes: Ui,
|
|
10602
10632
|
McObject: ii,
|
|
10603
|
-
McAppType:
|
|
10604
|
-
MxCppType:
|
|
10633
|
+
McAppType: Vi,
|
|
10634
|
+
MxCppType: Wi,
|
|
10605
10635
|
get MxCpp() {
|
|
10606
10636
|
return u;
|
|
10607
10637
|
},
|
|
@@ -10631,7 +10661,7 @@ const BE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10631
10661
|
MdGeShape: c,
|
|
10632
10662
|
MdGeVertex: be,
|
|
10633
10663
|
MdGeEdge: j,
|
|
10634
|
-
MdGeWire:
|
|
10664
|
+
MdGeWire: V,
|
|
10635
10665
|
MdGeFace: Y,
|
|
10636
10666
|
MdGeShell: Et,
|
|
10637
10667
|
MdGeSolid: Dt,
|
|
@@ -10639,11 +10669,11 @@ const BE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10639
10669
|
MdGeCompound: Ai,
|
|
10640
10670
|
MdGeMat: le,
|
|
10641
10671
|
MdGeXYZ: Z,
|
|
10642
|
-
MdGeTrsf:
|
|
10672
|
+
MdGeTrsf: Ve,
|
|
10643
10673
|
MdGeDir: K,
|
|
10644
10674
|
MdGeAxis: N,
|
|
10645
|
-
MdGeCSYSR:
|
|
10646
|
-
MdGePoint:
|
|
10675
|
+
MdGeCSYSR: W,
|
|
10676
|
+
MdGePoint: S,
|
|
10647
10677
|
MdGeVec: O,
|
|
10648
10678
|
MdGeAngleDim: hr,
|
|
10649
10679
|
MdGeArray1OfInteger: tt,
|
|
@@ -10690,8 +10720,8 @@ const BE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10690
10720
|
MdGeTextLabel: Ur,
|
|
10691
10721
|
MdGeTopo: Jt,
|
|
10692
10722
|
MdGeTorus: de,
|
|
10693
|
-
MdGeTransform:
|
|
10694
|
-
MdGeWedge:
|
|
10723
|
+
MdGeTransform: Vr,
|
|
10724
|
+
MdGeWedge: Wr,
|
|
10695
10725
|
MdGeHGeomSurface: oi,
|
|
10696
10726
|
MdGeHGeomPlane: it,
|
|
10697
10727
|
MdGeBRep: qt,
|
|
@@ -10711,12 +10741,12 @@ export {
|
|
|
10711
10741
|
Cr as ColorMethod,
|
|
10712
10742
|
Ui as FetchAttributes,
|
|
10713
10743
|
Mt as IsZero,
|
|
10714
|
-
|
|
10744
|
+
Vi as McAppType,
|
|
10715
10745
|
Te as McCmColor,
|
|
10716
10746
|
ct as McDb,
|
|
10717
|
-
|
|
10747
|
+
Wt as McDbAlignedDimension,
|
|
10718
10748
|
$e as McDbArc,
|
|
10719
|
-
|
|
10749
|
+
Vt as McDbBlockReference,
|
|
10720
10750
|
Yt as McDbBlockTable,
|
|
10721
10751
|
ei as McDbBlockTableRecord,
|
|
10722
10752
|
Ge as McDbCircle,
|
|
@@ -10727,7 +10757,7 @@ export {
|
|
|
10727
10757
|
Le as McDbEntity,
|
|
10728
10758
|
Gt as McDbLayerTable,
|
|
10729
10759
|
ji as McDbLayerTableRecord,
|
|
10730
|
-
|
|
10760
|
+
We as McDbLine,
|
|
10731
10761
|
Nt as McDbLinetypeTable,
|
|
10732
10762
|
ki as McDbLinetypeTableRecord,
|
|
10733
10763
|
Ut as McDbMText,
|
|
@@ -10764,7 +10794,7 @@ export {
|
|
|
10764
10794
|
gr as MdGeBezierSurface,
|
|
10765
10795
|
yr as MdGeBox,
|
|
10766
10796
|
z as MdGeCSYS,
|
|
10767
|
-
|
|
10797
|
+
W as MdGeCSYSR,
|
|
10768
10798
|
_r as MdGeChamfer,
|
|
10769
10799
|
J as MdGeCircle,
|
|
10770
10800
|
ve as MdGeColor,
|
|
@@ -10800,7 +10830,7 @@ export {
|
|
|
10800
10830
|
me as MdGeParab,
|
|
10801
10831
|
Pr as MdGePipe,
|
|
10802
10832
|
Ce as MdGePlane,
|
|
10803
|
-
|
|
10833
|
+
S as MdGePoint,
|
|
10804
10834
|
Or as MdGePointsToBSpl,
|
|
10805
10835
|
vr as MdGePointsToBSplSurface,
|
|
10806
10836
|
Gr as MdGePrism,
|
|
@@ -10817,12 +10847,12 @@ export {
|
|
|
10817
10847
|
Ur as MdGeTextLabel,
|
|
10818
10848
|
Jt as MdGeTopo,
|
|
10819
10849
|
de as MdGeTorus,
|
|
10820
|
-
|
|
10821
|
-
|
|
10850
|
+
Vr as MdGeTransform,
|
|
10851
|
+
Ve as MdGeTrsf,
|
|
10822
10852
|
O as MdGeVec,
|
|
10823
10853
|
be as MdGeVertex,
|
|
10824
|
-
|
|
10825
|
-
|
|
10854
|
+
Wr as MdGeWedge,
|
|
10855
|
+
V as MdGeWire,
|
|
10826
10856
|
Z as MdGeXYZ,
|
|
10827
10857
|
ie as MxCADResbuf,
|
|
10828
10858
|
vi as MxCADResbufDataType,
|
|
@@ -10840,7 +10870,7 @@ export {
|
|
|
10840
10870
|
Gi as MxCADUtilityClass,
|
|
10841
10871
|
_n as MxCheckTheBrowser,
|
|
10842
10872
|
u as MxCpp,
|
|
10843
|
-
|
|
10873
|
+
Wi as MxCppType,
|
|
10844
10874
|
Qe as MxDraw3d,
|
|
10845
10875
|
Me as MxTools,
|
|
10846
10876
|
mr as Mx_Erase,
|