mxdraw 0.1.144 → 0.1.145
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/lib/MxModule/MrxDbgUiPrPoint/index.d.ts +6 -0
- package/dist/lib/MxModule/MrxDbgUiPrPoint/index.js +1 -1
- package/dist/lib/MxModule/MxFun/index.d.ts +20 -0
- package/dist/lib/MxModule/MxFun/index.js +1 -1
- package/dist/lib/MxModule/loadCoreCode/mxfun.es5.js +1 -1
- package/dist/lib/MxModule.d.ts +25 -0
- package/dist/mxdraw.es.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/package.json +1 -1
package/dist/lib/MxModule.d.ts
CHANGED
|
@@ -2602,6 +2602,26 @@ declare class MxFunClass {
|
|
|
2602
2602
|
* ```
|
|
2603
2603
|
*/
|
|
2604
2604
|
stopRunCommand(): any;
|
|
2605
|
+
/**
|
|
2606
|
+
* 设置当前运行MxCAD的MxCPP环境对象。
|
|
2607
|
+
*/
|
|
2608
|
+
initMxCpp(mxcppimp: any): void;
|
|
2609
|
+
/**
|
|
2610
|
+
* Three.js坐标转MxCAD的DWG坐标长度
|
|
2611
|
+
*/
|
|
2612
|
+
docCoordLong2Cad(l: number): number;
|
|
2613
|
+
/**
|
|
2614
|
+
* MxCAD的DWG坐标长度转Three.js坐标.
|
|
2615
|
+
*/
|
|
2616
|
+
cadCoordLong2Doc(l: number): number;
|
|
2617
|
+
/**
|
|
2618
|
+
* View坐标长度转MxCAD的DWG坐标.
|
|
2619
|
+
*/
|
|
2620
|
+
viewCoordLong2Cad(l: number): number;
|
|
2621
|
+
/**
|
|
2622
|
+
* MxCAD的DWG坐标长度转View坐标.
|
|
2623
|
+
*/
|
|
2624
|
+
cadCoordLong2View(l: number): number;
|
|
2605
2625
|
}
|
|
2606
2626
|
/**
|
|
2607
2627
|
* MxFun 模块
|
|
@@ -3181,6 +3201,11 @@ declare class MrxDbgUiPrPoint {
|
|
|
3181
3201
|
* @returns 点对象 THREE.THREE.Vector3
|
|
3182
3202
|
*/
|
|
3183
3203
|
value(): THREE.Vector3;
|
|
3204
|
+
/**
|
|
3205
|
+
* 得到 MxCAD下CAD图纸坐标.
|
|
3206
|
+
* @returns 点对象 MdGePoint3d
|
|
3207
|
+
*/
|
|
3208
|
+
getCADValue(): any;
|
|
3184
3209
|
/**
|
|
3185
3210
|
* 得以获取的点对象,DWG图纸坐标.
|
|
3186
3211
|
* @returns 点对象 DWG图纸坐标
|