mxdraw 0.1.314 → 0.1.316
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/mxdraw.d.ts +26 -2
- package/dist/mxdraw.esm.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/package.json +1 -1
package/dist/mxdraw.d.ts
CHANGED
|
@@ -692,6 +692,21 @@ declare abstract class MxDbEntity extends RenderOrderNode<EntityEvent, MxDbEntit
|
|
|
692
692
|
* @returns void
|
|
693
693
|
*/
|
|
694
694
|
transformBy(_mat: THREE.Matrix4): void;
|
|
695
|
+
/**
|
|
696
|
+
* 缩放对像
|
|
697
|
+
* @returns void
|
|
698
|
+
*/
|
|
699
|
+
transformScale(ptBase: THREE.Vector3, scale: number): void;
|
|
700
|
+
/**
|
|
701
|
+
* 旋转对象
|
|
702
|
+
* @returns void
|
|
703
|
+
*/
|
|
704
|
+
transformRotate(ptBase: THREE.Vector3, angle: number): void;
|
|
705
|
+
/**
|
|
706
|
+
* 移动对象
|
|
707
|
+
* @returns void
|
|
708
|
+
*/
|
|
709
|
+
transformMove(ptMove: THREE.Vector3): void;
|
|
695
710
|
/**
|
|
696
711
|
* 返回对象最小外包.
|
|
697
712
|
* @param
|
|
@@ -1572,9 +1587,8 @@ declare class MxFunClass {
|
|
|
1572
1587
|
*/
|
|
1573
1588
|
getQueryString: (name: string) => string;
|
|
1574
1589
|
/**
|
|
1575
|
-
*
|
|
1590
|
+
* 设置配制参数.
|
|
1576
1591
|
* @param name
|
|
1577
|
-
* @return object 配制参数.
|
|
1578
1592
|
* @example
|
|
1579
1593
|
* ``` typescript
|
|
1580
1594
|
* Mx.MxFun.setIniset({
|
|
@@ -1583,6 +1597,14 @@ declare class MxFunClass {
|
|
|
1583
1597
|
* ```
|
|
1584
1598
|
*/
|
|
1585
1599
|
setIniset: (iniObj: iniConfig) => void;
|
|
1600
|
+
/**
|
|
1601
|
+
* 得到当前配制参数.
|
|
1602
|
+
* @return object 配制参数.
|
|
1603
|
+
* @example
|
|
1604
|
+
* ``` typescript
|
|
1605
|
+
* ```
|
|
1606
|
+
*/
|
|
1607
|
+
getIniSet: () => iniConfig;
|
|
1586
1608
|
/**
|
|
1587
1609
|
* 重新打开cad文件,该函数在控件创建完后,需要再次重新打开文件,调用。
|
|
1588
1610
|
* @param sFile 打的cad文件路径
|
|
@@ -1776,6 +1798,8 @@ interface iniConfig {
|
|
|
1776
1798
|
** 0 禁用AD对象夹点编辑
|
|
1777
1799
|
*/
|
|
1778
1800
|
EnableCADEntityGripEidt?: number;
|
|
1801
|
+
/** 是使用图纸中的视区角度设置,默认为true */
|
|
1802
|
+
EnableDrawingViewAngle?: boolean;
|
|
1779
1803
|
}
|
|
1780
1804
|
type MxFunType = MxFunClass;
|
|
1781
1805
|
|