@manycore/custom-sdk 1.13.3 → 1.13.4

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.
Files changed (3) hide show
  1. package/index.d.ts +176 -116
  2. package/index.js +35 -21
  3. package/package.json +5 -5
package/index.d.ts CHANGED
@@ -1,9 +1,7 @@
1
- import { ELineType as ELineType_2 } from '@manycore/custom-miniapp-sdk';
2
1
  import { IExportModelData } from '@manycore/custom-miniapp-sdk';
3
2
  import { IParamModelPhotoResponse } from '@manycore/custom-miniapp-sdk';
4
3
  import { IServClientService } from 'servkit';
5
- import { Number2 } from '@manycore/custom-miniapp-sdk';
6
- import { Number3 } from '@manycore/custom-miniapp-sdk';
4
+ import { Number2 as Number2_2 } from '@manycore/custom-miniapp-sdk';
7
5
  import { ServService } from 'servkit';
8
6
 
9
7
  declare interface AMap<K, V> {
@@ -352,7 +350,7 @@ export declare enum EFittingType {
352
350
  /**
353
351
  * 交接面信息
354
352
  */
355
- INTERSECTED = 'intersected',
353
+ INTERSECTED = "intersected"
356
354
  }
357
355
 
358
356
  /**
@@ -362,11 +360,11 @@ export declare enum EIntersectedCreatedType {
362
360
  /**
363
361
  * 板与板之间产生的交界
364
362
  */
365
- BOTH_PLANK,
363
+ BOTH_PLANK = 0,
366
364
  /**
367
365
  * 板与五金之间产生的交界信息
368
366
  */
369
- PLANK_FURNITURE,
367
+ PLANK_FURNITURE = 1
370
368
  }
371
369
 
372
370
  /**
@@ -376,11 +374,29 @@ export declare enum EIntersectedType {
376
374
  /**
377
375
  * 交接体
378
376
  */
379
- SHELL = '1',
377
+ SHELL = "1",
380
378
  /**
381
379
  * 交界面
382
380
  */
383
- FACE = '2',
381
+ FACE = "2"
382
+ }
383
+
384
+ /**
385
+ * 交接对象类型
386
+ */
387
+ export declare enum EIntersectModelType {
388
+ /**
389
+ * 板件
390
+ */
391
+ PLANK = 0,
392
+ /**
393
+ * 五金
394
+ */
395
+ HARDWARE = 1,
396
+ /**
397
+ * 商品
398
+ */
399
+ PRODUCT = 2
384
400
  }
385
401
 
386
402
  /**
@@ -435,25 +451,6 @@ declare enum ElementType {
435
451
  * 线的类型
436
452
  */
437
453
  export declare enum ELineType {
438
- /**
439
- * 直线
440
- */
441
- SEGMENT = 0,
442
- /**
443
- * 圆弧
444
- */
445
- CIRCLE_ARC = 1,
446
- /**
447
- * 椭圆
448
- * 当前代码中,暂不支持
449
- */
450
- ELLIPSE_ARC = 3,
451
- }
452
-
453
- /**
454
- * 线的类型
455
- */
456
- declare enum ELineType_3 {
457
454
  /**
458
455
  * 直线
459
456
  */
@@ -621,33 +618,16 @@ export declare enum EPointType {
621
618
  /**
622
619
  * 椭圆
623
620
  */
624
- ELLIPSE = 4,
621
+ ELLIPSE = 4
625
622
  }
626
623
 
627
624
  /**
628
- * 点的类型
625
+ * 商品建模方向
629
626
  */
630
- declare enum EPointType_2 {
631
- /**
632
- * 普通点
633
- */
634
- NONE = 0,
635
- /**
636
- * 倒圆
637
- */
638
- CIRCLE = 1,
639
- /**
640
- * 倒角
641
- */
642
- LINE = 2,
643
- /**
644
- * 切圆,就是内挖一个倒圆的形状
645
- */
646
- CUT_CIRCLE = 3,
647
- /**
648
- * 椭圆
649
- */
650
- ELLIPSE = 4
627
+ export declare enum EProductDirection {
628
+ XY = 0,
629
+ YZ = 1,
630
+ XZ = 2
651
631
  }
652
632
 
653
633
  /**
@@ -854,6 +834,9 @@ export declare class FittingDesignService extends BaseService {
854
834
  * 保存孔/槽数据至方案
855
835
  * 如果design不传,即表示将分步保存数据存储至后端
856
836
  *
837
+ * 之前的孔槽会被design直接替换
838
+ *
839
+ * 如果只想展示孔槽可使用 {@link FittingDesignService.appendFittingDesign}
857
840
  * @example
858
841
  * ```typescript
859
842
  * await fittingDesignService.saveDesign({
@@ -981,17 +964,14 @@ export declare class FittingDesignService extends BaseService {
981
964
  * 孔/槽的深度
982
965
  */
983
966
  depth: number;
984
-
985
967
  /**
986
968
  * 所处的板面
987
969
  */
988
970
  plankFaceId: number;
989
-
990
971
  /**
991
972
  * 起点
992
973
  */
993
974
  start: Number3;
994
-
995
975
  /**
996
976
  * 终点
997
977
  */
@@ -1012,7 +992,6 @@ export declare class FittingDesignService extends BaseService {
1012
992
  * * 如果为交接体,length为8
1013
993
  */
1014
994
  points: Number3[];
1015
-
1016
995
  /**
1017
996
  * 当前交接信息产生的元件ID
1018
997
  */
@@ -1162,19 +1141,19 @@ export declare class FittingDesignService extends BaseService {
1162
1141
  /**
1163
1142
  * 所有的孔的数据
1164
1143
  */
1165
- holes: IFittingHoleCollect;
1144
+ holes: IFittingHoleCollect_2;
1166
1145
  /**
1167
1146
  * 槽的数据
1168
1147
  */
1169
- grooves: IFittingGrooveCollect;
1148
+ grooves: IFittingGrooveCollect_2;
1170
1149
  /**
1171
1150
  * 五金数据
1172
1151
  */
1173
- hardwares: IFittingHardwareCollect;
1152
+ hardwares: IFittingHardwareCollect_2;
1174
1153
  /**
1175
1154
  * 五金槽数据
1176
1155
  */
1177
- hardwareGrooves: IFittingHardwareGrooves;
1156
+ hardwareGrooves: IFittingHardwareGrooves_2;
1178
1157
  }
1179
1158
 
1180
1159
  export declare interface IFittingDesignValidateResult {
@@ -1189,16 +1168,31 @@ export declare class FittingDesignService extends BaseService {
1189
1168
  */
1190
1169
  export declare type IFittingGrooveCollect = Record<string, IGrooveData[]>;
1191
1170
 
1171
+ /**
1172
+ * 方案中的所有槽的数据
1173
+ */
1174
+ declare type IFittingGrooveCollect_2 = Record<string, IGrooveData[]>;
1175
+
1192
1176
  /**
1193
1177
  * 五金数据
1194
1178
  */
1195
1179
  export declare type IFittingHardwareCollect = Record<string, IHardwareData[]>;
1196
1180
 
1181
+ /**
1182
+ * 五金数据
1183
+ */
1184
+ declare type IFittingHardwareCollect_2 = Record<string, IHardwareData[]>;
1185
+
1197
1186
  /**
1198
1187
  * 五金槽数据
1199
1188
  */
1200
1189
  export declare type IFittingHardwareGrooves = Record<string, IHardwareGrooveData[]>;
1201
1190
 
1191
+ /**
1192
+ * 五金槽数据
1193
+ */
1194
+ declare type IFittingHardwareGrooves_2 = Record<string, IHardwareGrooveData[]>;
1195
+
1202
1196
  /**
1203
1197
  * 五金孔槽模型ID - 标识信息
1204
1198
  *
@@ -1222,6 +1216,11 @@ export declare class FittingDesignService extends BaseService {
1222
1216
  */
1223
1217
  export declare type IFittingHoleCollect = Record<string, IHoleData[]>;
1224
1218
 
1219
+ /**
1220
+ * 方案中,所有孔的数据
1221
+ */
1222
+ declare type IFittingHoleCollect_2 = Record<string, IHoleData[]>;
1223
+
1225
1224
  /**
1226
1225
  * 五金孔槽通用模型
1227
1226
  */
@@ -1270,17 +1269,71 @@ export declare class FittingDesignService extends BaseService {
1270
1269
  }
1271
1270
 
1272
1271
  /**
1273
- * 获取交接面配置信息
1272
+ * 获取模型的交接信息
1274
1273
  */
1275
- export declare interface IGetModelIntersectedOption extends IBaseOptions {
1274
+ declare interface IGetIntersectedOption {
1276
1275
  /**
1276
+ * 模型ID
1277
+ */
1278
+ modelId: string;
1279
+ /**
1280
+ * @deprecated 可使用bodyDistTol/faceDistTol分别指定交接体/面阈值
1277
1281
  * 含义为交接面/体进行运算过程中的阈值容差;即两个平行面之间,生成交接信息时,最大距离
1278
1282
  * 默认值为 0.1mm
1279
1283
  * 单位:毫米
1280
1284
  */
1281
1285
  tolerance?: number;
1286
+ /**
1287
+ * 超时时间
1288
+ * 单位:秒
1289
+ */
1290
+ timeout?: number;
1291
+ /**
1292
+ * 交接体阈值
1293
+ * 单位:毫米
1294
+ * @default 0.1
1295
+ */
1296
+ bodyDistTol?: number;
1297
+ /**
1298
+ * 交接面阈值
1299
+ * 单位:毫米
1300
+ * @default 0.1
1301
+ */
1302
+ faceDistTol?: number;
1303
+ /**
1304
+ * 是否过滤板厚
1305
+ * @default true
1306
+ */
1307
+ thicknessFilter?: boolean;
1308
+ /**
1309
+ * 参与计算的对象
1310
+ * 传入商品需要明确指定prodCatIds
1311
+ * @default [EIntersectModelType.PLANK,EIntersectModelType.HARDWARE]
1312
+ */
1313
+ computeModelTypes?: Array<EIntersectModelType>;
1314
+ /**
1315
+ * 参与计算的商品
1316
+ */
1317
+ products?: Array<{
1318
+ /**
1319
+ * 真分类
1320
+ */
1321
+ category: number;
1322
+ }>;
1323
+ /**
1324
+ * 商品统一建模方向
1325
+ * @default EProductDirection.XY
1326
+ */
1327
+ direction?: EProductDirection;
1282
1328
  }
1283
1329
 
1330
+ /**
1331
+ * 获取交接面配置信息
1332
+ */
1333
+ export declare interface IGetModelIntersectedOption
1334
+ extends Omit<IGetIntersectedOption, 'modelId'>,
1335
+ IBaseOptions {}
1336
+
1284
1337
  /**
1285
1338
  * 获取模型数据
1286
1339
  */
@@ -1297,7 +1350,6 @@ export declare class FittingDesignService extends BaseService {
1297
1350
  }
1298
1351
 
1299
1352
  export declare interface IGrooveData extends IBaseHoleGrooveData {
1300
- // 槽宽
1301
1353
  width: number;
1302
1354
  }
1303
1355
 
@@ -1309,22 +1361,18 @@ export declare class FittingDesignService extends BaseService {
1309
1361
  * 建模原点在板件坐标系下的坐标
1310
1362
  */
1311
1363
  position: Number3;
1312
-
1313
1364
  /**
1314
1365
  * 相对建模坐标系中夹角,不传默认没有任何基于板件坐标的旋转,会将五金以建模原点放在 position 上,五金建模方向和板件建模方向一致进行摆放。
1315
1366
  */
1316
1367
  rotate: Number3;
1317
-
1318
1368
  /**
1319
1369
  * 相对建模坐标系中缩放,不传默认五金和上传大小完全一致
1320
1370
  */
1321
1371
  scale: Number3;
1322
-
1323
1372
  /**
1324
1373
  * 商品ID
1325
1374
  */
1326
1375
  brandGoodId: string;
1327
-
1328
1376
  /**
1329
1377
  * 关联孔槽ID
1330
1378
  */
@@ -1339,7 +1387,6 @@ export declare class FittingDesignService extends BaseService {
1339
1387
  * 槽的深度
1340
1388
  */
1341
1389
  depth: number;
1342
-
1343
1390
  /**
1344
1391
  * 所处的板面
1345
1392
  */
@@ -1429,6 +1476,16 @@ export declare class FittingDesignService extends BaseService {
1429
1476
  diameter: number;
1430
1477
  }
1431
1478
 
1479
+ /**
1480
+ * 交接信息
1481
+ */
1482
+ export declare interface IIntersectedData {
1483
+ /**
1484
+ * 交接信息集合
1485
+ */
1486
+ intersectedGroups: IIntersectedGroup[];
1487
+ }
1488
+
1432
1489
  /**
1433
1490
  * 一组交接信息
1434
1491
  */
@@ -1450,12 +1507,7 @@ export declare class FittingDesignService extends BaseService {
1450
1507
  /**
1451
1508
  * 交接信息
1452
1509
  */
1453
- export declare interface IIntersectedResult {
1454
- /**
1455
- * 交接信息集合
1456
- */
1457
- intersectedGroups: IIntersectedGroup[];
1458
- }
1510
+ export declare type IIntersectedResult = IIntersectedData;
1459
1511
 
1460
1512
  /**
1461
1513
  * 轮廓路径线段表示
@@ -1465,7 +1517,7 @@ export declare class FittingDesignService extends BaseService {
1465
1517
  * 获取实际渲染端点
1466
1518
  * >线段两端
1467
1519
  */
1468
- getRenderPoints(): [Number2, Number2];
1520
+ getRenderPoints(): [Number2_2, Number2_2];
1469
1521
  /**
1470
1522
  * 设置线段的高亮,高亮深度为板件厚度
1471
1523
  * @param hint 高亮配置
@@ -1520,26 +1572,21 @@ export declare class FittingDesignService extends BaseService {
1520
1572
  /**
1521
1573
  * 直线
1522
1574
  */
1523
- export declare interface ILineDataBase
1524
- extends Omit<
1525
- ILineBase,
1526
- 'ellipseCenter' | 'clockwise' | 'minorArc' | 'radius' | 'majorRadius' | 'minorRadius'
1527
- > {
1575
+ export declare interface ILineDataBase extends Omit<ILineBase, 'ellipseCenter' | 'clockwise' | 'minorArc' | 'radius' | 'majorRadius' | 'minorRadius'> {
1528
1576
  /**
1529
1577
  * 线条类型
1530
1578
  */
1531
- type: ELineType_2.SEGMENT;
1579
+ type: ELineType.SEGMENT;
1532
1580
  }
1533
1581
 
1534
1582
  /**
1535
1583
  * 弧线
1536
1584
  */
1537
- export declare interface ILineDataCircle
1538
- extends Omit<ILineBase, 'ellipseCenter' | 'majorRadius' | 'minorRadius'> {
1585
+ export declare interface ILineDataCircle extends Omit<ILineBase, 'ellipseCenter' | 'majorRadius' | 'minorRadius'> {
1539
1586
  /**
1540
1587
  * 线条类型
1541
1588
  */
1542
- type: ELineType_2.CIRCLE_ARC;
1589
+ type: ELineType.CIRCLE_ARC;
1543
1590
  /**
1544
1591
  * 是否顺时针
1545
1592
  */
@@ -1729,7 +1776,7 @@ export declare class FittingDesignService extends BaseService {
1729
1776
  * @public
1730
1777
  * @typedef Number3
1731
1778
  */
1732
- position: Number3_2;
1779
+ position: Number3;
1733
1780
  /**
1734
1781
  * 当前模型的旋转信息
1735
1782
  * @readonly
@@ -1737,21 +1784,21 @@ export declare class FittingDesignService extends BaseService {
1737
1784
  * @typedef Number3
1738
1785
  * @deprecated 将废弃,推荐使用 rotation
1739
1786
  */
1740
- rotate: Number3_2;
1787
+ rotate: Number3;
1741
1788
  /**
1742
1789
  * 当前模型的旋转信息
1743
1790
  * @readonly
1744
1791
  * @public
1745
1792
  * @typedef Number3
1746
1793
  */
1747
- rotation: Number3_2;
1794
+ rotation: Number3;
1748
1795
  /**
1749
1796
  * 当前尺寸信息
1750
1797
  * @readonly
1751
1798
  * @public
1752
1799
  * @typedef Number3
1753
1800
  */
1754
- size: Number3_2;
1801
+ size: Number3;
1755
1802
  /**
1756
1803
  * 模型当中自定议的参数信息
1757
1804
  * @readonly
@@ -1830,34 +1877,34 @@ export declare class FittingDesignService extends BaseService {
1830
1877
  * 更新当前模型的位置信息
1831
1878
  * @param position {Number3} 坐标
1832
1879
  */
1833
- setPosition(position: Number3_2): void;
1880
+ setPosition(position: Number3): void;
1834
1881
  /**
1835
1882
  * 获取当前模型的坐标信息
1836
1883
  * @return Number3 相对父模型坐标,如果为顶层模型,则为世界坐标
1837
1884
  */
1838
- getPosition(): Number3_2;
1885
+ getPosition(): Number3;
1839
1886
  /**
1840
1887
  * 更新当前模型的旋转信息
1841
1888
  * @description 特别说明,定制模型,使用的是右手坐标系,rotate字段中
1842
1889
  * @param rotate {Number3} 旋转的弧度
1843
1890
  * @deprecated 将废弃,推荐使用 rotation
1844
1891
  */
1845
- setRotate(rotate: Number3_2): void;
1892
+ setRotate(rotate: Number3): void;
1846
1893
  /**
1847
1894
  * 获取当前模型相对父级的旋转信息
1848
1895
  * @deprecated 将废弃,推荐使用 rotation
1849
1896
  */
1850
- getRotate(): Number3_2;
1897
+ getRotate(): Number3;
1851
1898
  /**
1852
1899
  * 更新当前模型的旋转信息
1853
1900
  * @description 特别说明,定制模型,使用的是右手坐标系,rotation字段中
1854
1901
  * @param rotation {Number3} 旋转的弧度
1855
1902
  */
1856
- setRotation(rotation: Number3_2): void;
1903
+ setRotation(rotation: Number3): void;
1857
1904
  /**
1858
1905
  * 获取当前模型相对父级的旋转信息
1859
1906
  */
1860
- getRotation(): Number3_2;
1907
+ getRotation(): Number3;
1861
1908
  /**
1862
1909
  * 获取当前模型所处的工具线
1863
1910
  */
@@ -2082,7 +2129,7 @@ export declare class FittingDesignService extends BaseService {
2082
2129
  /**
2083
2130
  * 获取路径上实际渲染的端点
2084
2131
  */
2085
- getRenderPoints(): Number2[];
2132
+ getRenderPoints(): Number2_2[];
2086
2133
  }
2087
2134
 
2088
2135
  declare interface IPlankPathData {
@@ -2098,7 +2145,7 @@ export declare class FittingDesignService extends BaseService {
2098
2145
  /**
2099
2146
  * 线条类型
2100
2147
  */
2101
- type: ELineType_3;
2148
+ type: ELineType;
2102
2149
  /**
2103
2150
  * 是否顺时针
2104
2151
  */
@@ -2139,7 +2186,7 @@ export declare class FittingDesignService extends BaseService {
2139
2186
  /**
2140
2187
  * 点的类型
2141
2188
  */
2142
- type: EPointType_2;
2189
+ type: EPointType;
2143
2190
  /**
2144
2191
  * 切角两边上切点距离当前点的距离(切角专用)
2145
2192
  */
@@ -2182,7 +2229,7 @@ export declare class FittingDesignService extends BaseService {
2182
2229
  * 获取实际渲染端点
2183
2230
  * >非直角端点为渲染线段的两端,直角端点两个端点相同
2184
2231
  */
2185
- getRenderPoints(): [Number2, Number2];
2232
+ getRenderPoints(): [Number2_2, Number2_2];
2186
2233
  /**
2187
2234
  * 设置非直角端点渲染线段的高亮,高亮深度为板件厚度
2188
2235
  * @param hint 高亮配置
@@ -2205,6 +2252,9 @@ export declare class FittingDesignService extends BaseService {
2205
2252
  type: EPointType;
2206
2253
  /**
2207
2254
  * 点的位置
2255
+ *
2256
+ * @example
2257
+ * "123,-345"
2208
2258
  */
2209
2259
  position: Number3 | Number2;
2210
2260
  /**
@@ -2241,11 +2291,7 @@ export declare class FittingDesignService extends BaseService {
2241
2291
  /**
2242
2292
  * 倒圆
2243
2293
  */
2244
- export declare interface IPointWithCircle
2245
- extends Omit<
2246
- IPointBase,
2247
- 'clockwise' | 'majorRadius' | 'minorRadius' | 'cornerCutDistance' | 'offset'
2248
- > {
2294
+ export declare interface IPointWithCircle extends Omit<IPointBase, 'clockwise' | 'majorRadius' | 'minorRadius' | 'cornerCutDistance' | 'offset'> {
2249
2295
  /**
2250
2296
  * 切角类型
2251
2297
  */
@@ -2276,8 +2322,7 @@ export declare class FittingDesignService extends BaseService {
2276
2322
  /**
2277
2323
  * 切角
2278
2324
  */
2279
- export declare interface IPointWithLine
2280
- extends Omit<IPointBase, 'clockwise' | 'majorRadius' | 'minorRadius' | 'radius' | 'offset'> {
2325
+ export declare interface IPointWithLine extends Omit<IPointBase, 'clockwise' | 'majorRadius' | 'minorRadius' | 'radius' | 'offset'> {
2281
2326
  /**
2282
2327
  * 切角类型
2283
2328
  */
@@ -2291,11 +2336,7 @@ export declare class FittingDesignService extends BaseService {
2291
2336
  /**
2292
2337
  * 普通点类型
2293
2338
  */
2294
- export declare interface IPointWithNone
2295
- extends Omit<
2296
- IPointBase,
2297
- 'cornerCutDistance' | 'majorRadius' | 'minorRadius' | 'radius' | 'offset'
2298
- > {
2339
+ export declare interface IPointWithNone extends Omit<IPointBase, 'cornerCutDistance' | 'majorRadius' | 'minorRadius' | 'radius' | 'offset'> {
2299
2340
  /**
2300
2341
  * 普通点
2301
2342
  */
@@ -2892,12 +2933,22 @@ export declare class FittingDesignService extends BaseService {
2892
2933
  * const json = await service.getModelJsonDataByModelId('请输入模型ID');
2893
2934
  * ```
2894
2935
  *
2895
- * > 以上 API 暂不建议在非对接 2.0 环境下使用,主要是与孔/槽方案数据存在关联关系。
2896
- > > 替代的 service 为`CustomDesignExportService`,将会在 9 月底最新的`@manycore/custom-miniapp-sdk`中提供。
2936
+ * > 以上 API 暂不建议在非对接 2.0 环境下使用,主要是与孔/槽方案数据存在关联关系
2937
+ > > 耗时API 建议后台异步请求并配合做好缓存
2938
+ > > >替代的 service 为`CustomDesignExportService`,将会在 9 月底最新的`@manycore/custom-miniapp-sdk`中提供。
2897
2939
  *
2898
- * @example
2940
+ * @example 最佳实践
2899
2941
  * ```typescript
2900
- * await modelService.getParamData();
2942
+ * // 后台异步任务 串行执行不建议并发
2943
+ * const cache = new Map<string, any>();
2944
+ * for (const model of models) {
2945
+ * const { id } = model;
2946
+ * const data = await getParamData({ modelId: id });
2947
+ * cache.set(id, data)
2948
+ * }
2949
+ *
2950
+ * // 主线程获取
2951
+ * cache.get(id);
2901
2952
  * ```
2902
2953
  *
2903
2954
  * @param options
@@ -2905,10 +2956,19 @@ export declare class FittingDesignService extends BaseService {
2905
2956
  getParamData(options?: IGetParamModelJsonOption): Promise<any>;
2906
2957
  /**
2907
2958
  * 获取模型的交接数据
2908
- *
2959
+ * > 耗时API 建议后台异步请求并配合做好缓存
2909
2960
  * @example
2910
2961
  * ```typescript
2911
- * await modelService.getParamIntersected();
2962
+ * // 后台异步任务 串行执行不建议并发
2963
+ * const cache = new Map<string, any>();
2964
+ * for (const model of models) {
2965
+ * const { id } = model;
2966
+ * const data = await getParamIntersected({ modelId: id });
2967
+ * cache.set(id, data)
2968
+ * }
2969
+ *
2970
+ * // 主线程获取
2971
+ * cache.get(id);
2912
2972
  * ```
2913
2973
  *
2914
2974
  * @param options
@@ -3172,7 +3232,7 @@ export declare class FittingDesignService extends BaseService {
3172
3232
  /**
3173
3233
  * 二维空间下:坐标/向量/旋转/尺寸的基础表示
3174
3234
  */
3175
- declare interface Number2_2 {
3235
+ declare interface Number2 {
3176
3236
  /**
3177
3237
  * x轴上的数据
3178
3238
  */
@@ -3186,7 +3246,7 @@ export declare class FittingDesignService extends BaseService {
3186
3246
  /**
3187
3247
  * 三维空间下,坐标/向量/旋转/尺寸的基础表示
3188
3248
  */
3189
- declare interface Number3_2 extends Number2_2 {
3249
+ declare interface Number3 extends Number2 {
3190
3250
  /**
3191
3251
  * z轴方向数据
3192
3252
  */