mxcad 1.0.246 → 1.0.248
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/fonts/ltypeshp.shx +0 -0
- package/dist/fonts/mxiconv.data +0 -0
- package/dist/fonts/spds.shx +0 -0
- package/dist/mxcad.d.ts +12 -7
- package/dist/mxcad.es.js +925 -900
- package/dist/mxcad.umd.js +3 -3
- package/dist/wasm/2d/mxdrawassembly_min.js +1648 -1647
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +1649 -1648
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/dist/wasm/3d/mxdraw3d_min.js +1 -62928
- package/dist/wasm/3d/mxdraw3d_min.wasm +0 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -2454,6 +2454,7 @@ export declare class MxCADResbuf extends McRxObject {
|
|
|
2454
2454
|
* @description 实体的类型表
|
|
2455
2455
|
* | 类型 | 描述 |
|
|
2456
2456
|
* | ------- | ------- |
|
|
2457
|
+
* | POINT | 文字 |
|
|
2457
2458
|
* | TEXT | 文字 |
|
|
2458
2459
|
* | MTEXT | 多行文字 |
|
|
2459
2460
|
* | CIRCLE | 圆 |
|
|
@@ -6713,7 +6714,6 @@ export declare class McDbDimension extends McDbEntity {
|
|
|
6713
6714
|
* 重新计算标注块
|
|
6714
6715
|
* @example
|
|
6715
6716
|
* ```ts
|
|
6716
|
-
* //设置 dim 为有效标注实体
|
|
6717
6717
|
* dim.recomputeDimBlock()
|
|
6718
6718
|
* ```
|
|
6719
6719
|
*/
|
|
@@ -11135,6 +11135,11 @@ export declare class McObject {
|
|
|
11135
11135
|
*/
|
|
11136
11136
|
addCurrentSelect(id: McObjectId | McObjectId[], isDisplayGrid?: boolean): void;
|
|
11137
11137
|
/**
|
|
11138
|
+
* 清除当前所有选择
|
|
11139
|
+
* ```
|
|
11140
|
+
*/
|
|
11141
|
+
clearMxCurrentSelect(): void;
|
|
11142
|
+
/**
|
|
11138
11143
|
* 把当前显示范围移到指定的显示范围
|
|
11139
11144
|
* @param minPt 坐标1 McGePoint3d
|
|
11140
11145
|
* @param maxPt 坐标2 McGePoint3d
|
|
@@ -12475,7 +12480,7 @@ export declare class McAppType {
|
|
|
12475
12480
|
* }
|
|
12476
12481
|
* ```
|
|
12477
12482
|
*/
|
|
12478
|
-
addNetworkLoadingFont(fontfiles: string | string[]): void;
|
|
12483
|
+
addNetworkLoadingFont(fontfiles: string | string[], fontFilesLoadOnInitialization?: string[]): void;
|
|
12479
12484
|
/**
|
|
12480
12485
|
* 全局参数的初始设置
|
|
12481
12486
|
* @param ini 初始设置值
|
|
@@ -12498,7 +12503,7 @@ export declare class McAppType {
|
|
|
12498
12503
|
* }
|
|
12499
12504
|
* ```
|
|
12500
12505
|
*/
|
|
12501
|
-
addNetworkLoadingBigFont(fontfiles: string | string[]): void;
|
|
12506
|
+
addNetworkLoadingBigFont(fontfiles: string | string[], fontFilesLoadOnInitialization?: string[]): void;
|
|
12502
12507
|
/**
|
|
12503
12508
|
* 配置需要通过网络加载的Truetype字体
|
|
12504
12509
|
* @param fontname 字体名
|
|
@@ -12515,7 +12520,7 @@ export declare class McAppType {
|
|
|
12515
12520
|
* }
|
|
12516
12521
|
* ```
|
|
12517
12522
|
*/
|
|
12518
|
-
addNetworkLoadingTrueTypeFont(fontname: string[], fontzhName: string[], fontfile: string[]): void;
|
|
12523
|
+
addNetworkLoadingTrueTypeFont(fontname: string[], fontzhName: string[], fontfile: string[], fontNamesLoadOnInitialization?: string[]): void;
|
|
12519
12524
|
/**
|
|
12520
12525
|
* 得到当前支持的所有shx字体.
|
|
12521
12526
|
* @return 字体数组
|
|
@@ -13565,7 +13570,7 @@ export declare function drawLine(): Promise<void>;
|
|
|
13565
13570
|
*/
|
|
13566
13571
|
export declare function drawMText(): Promise<McObjectId | undefined>;
|
|
13567
13572
|
/** 绘多义线 */
|
|
13568
|
-
export declare function drawPolyLine(): Promise<
|
|
13573
|
+
export declare function drawPolyLine(): Promise<McObjectId | undefined>;
|
|
13569
13574
|
/** 绘制正多边形 */
|
|
13570
13575
|
export declare function drawPolygon(): Promise<void>;
|
|
13571
13576
|
/**
|
|
@@ -20116,7 +20121,7 @@ export declare class Mx3dWireTool {
|
|
|
20116
20121
|
* @param shared - 如果为 true,则仅在相邻边共享相同顶点时连接;如果为 false,则在相邻边的端点距离小于容差时连接。
|
|
20117
20122
|
* @returns 一个新的线条对象数组,包含连接后的最大长度的线条。
|
|
20118
20123
|
*/
|
|
20119
|
-
static ConnectEdgesToWires(edges: Mx3dShapeObject[], toler
|
|
20124
|
+
static ConnectEdgesToWires(edges: Mx3dShapeObject[], toler?: number, shared?: boolean): Mx3dShapeObject[];
|
|
20120
20125
|
/**
|
|
20121
20126
|
* 将一组线条连接成最大长度的线条(线)。连接的标准是线条的端点间的距离应小于给定的容差。
|
|
20122
20127
|
* 该方法将输入的线条集合转换为最大长度的线条集合。
|
|
@@ -20126,7 +20131,7 @@ export declare class Mx3dWireTool {
|
|
|
20126
20131
|
* @param shared - 如果为 true,则仅在相邻线条共享相同顶点时连接;如果为 false,则在相邻线条的端点距离小于容差时连接。
|
|
20127
20132
|
* @returns 一个新的线条对象数组,包含连接后的最大长度的线条。
|
|
20128
20133
|
*/
|
|
20129
|
-
static ConnectWiresToWires(wires: Mx3dShapeObject[], toler
|
|
20134
|
+
static ConnectWiresToWires(wires: Mx3dShapeObject[], toler?: number, shared?: boolean): Mx3dShapeObject[]; /**
|
|
20130
20135
|
* Edge 转换为 Wire
|
|
20131
20136
|
* @param theEdge 待转换的 Edge
|
|
20132
20137
|
* @returns 转换后的 Wire
|