@manycore/custom-sdk 3.1.18 → 3.1.20
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/index.d.ts +21 -0
- package/index.js +16 -16
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ export declare class Application {
|
|
|
92
92
|
* ```
|
|
93
93
|
*/
|
|
94
94
|
start(option?: IApplicationStartOption): Promise<void>;
|
|
95
|
+
private logSplitOrderTime;
|
|
95
96
|
private handleFocus;
|
|
96
97
|
private handleBlur;
|
|
97
98
|
/**
|
|
@@ -4190,6 +4191,26 @@ export declare class FittingDesignService extends BaseService {
|
|
|
4190
4191
|
toggleCameraTranslateMode(mode: CameraTranlateMode): void;
|
|
4191
4192
|
}
|
|
4192
4193
|
|
|
4194
|
+
/**
|
|
4195
|
+
* 主要提供了模型爆炸图控制功能
|
|
4196
|
+
*/
|
|
4197
|
+
export declare class ModelExplodeService extends BaseService {
|
|
4198
|
+
/**
|
|
4199
|
+
* 爆炸图控制
|
|
4200
|
+
* @param option.scale 爆炸图的缩放比例
|
|
4201
|
+
* @param option.targetFunc 爆炸图的目标函数,若不传则对所有模型进行爆炸图处理
|
|
4202
|
+
* @example
|
|
4203
|
+
* ```typescript 模型爆炸100%
|
|
4204
|
+
* const explodeService = application.getService(ModelExplodeService);
|
|
4205
|
+
* explodeService.explode({ scale: 100 })
|
|
4206
|
+
* ```
|
|
4207
|
+
*/
|
|
4208
|
+
explode: (option: {
|
|
4209
|
+
scale: number;
|
|
4210
|
+
targetFunc?: ((data: IModelFields) => boolean) | undefined;
|
|
4211
|
+
}) => void;
|
|
4212
|
+
}
|
|
4213
|
+
|
|
4193
4214
|
/**
|
|
4194
4215
|
* 配置板件特殊标识
|
|
4195
4216
|
*
|