mxcad 1.0.116 → 1.0.117

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 CHANGED
@@ -3594,6 +3594,8 @@ export interface MxDraw3d extends WasmConfig {
3594
3594
  getViewCursorX: () => number;
3595
3595
  /** 获取视图中鼠标Y位置 */
3596
3596
  getViewCursorY: () => number;
3597
+ /** 获取视图中鼠标Z位置 */
3598
+ getViewCursorZ: () => number;
3597
3599
  /** 删除选中实体 */
3598
3600
  removeSelectedObjects: () => void;
3599
3601
  /** 加载贴图图片 */
@@ -6297,6 +6299,7 @@ export declare class MdGeBRep {
6297
6299
  AddModelTexture(theFileName: string): void;
6298
6300
  RemoveModelTexture(): void;
6299
6301
  ChangeSelectedMaterial(material: MdGeMaterialAspect): void;
6302
+ AddClipPlane(pln: MdGePlane): void;
6300
6303
  }
6301
6304
  /**
6302
6305
  * 表示颜色
package/dist/mxcad.es.js CHANGED
@@ -2814,7 +2814,7 @@ class Wi {
2814
2814
  return this.App.getCurrentMxCAD().getDatabase();
2815
2815
  }
2816
2816
  }
2817
- const ri = "1.0.116", 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) => {
2817
+ const ri = "1.0.117", cn = "SharedArrayBuffer" in window, St = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src), mn = (i, e = self.location.href) => St ? `https://unpkg.com/mxcad@${ri}/dist/wasm/2d-st/${i}` : e + i, hn = (i, e = self.location.href) => St ? `https://unpkg.com/mxcad@${ri}/dist/wasm/2d/${i}` : e + i, dn = (i, e = self.location.href) => St ? `https://unpkg.com/mxcad@${ri}/dist/wasm/3d/${i}` : e + i, Hi = (i) => new Promise((e, t) => {
2818
2818
  const r = document.createElement("script");
2819
2819
  r.src = i, r.type = "text/javascript", r.crossOrigin = "anonymous", document.body.appendChild(r), r.onload = () => {
2820
2820
  e();
@@ -10182,6 +10182,9 @@ class qt {
10182
10182
  ChangeSelectedMaterial(e) {
10183
10183
  this.imp.ChangeSelectedMaterial(e.getImp());
10184
10184
  }
10185
+ AddClipPlane(e) {
10186
+ this.imp.AddClipPlane(e.getImp());
10187
+ }
10185
10188
  }
10186
10189
  class ve extends y {
10187
10190
  constructor(e, t, r, n) {