@manycore/custom-sdk 3.1.16 → 3.1.17

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 +66 -48
  2. package/index.js +19 -19
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -346,6 +346,11 @@ export declare enum EAppliedHoleType {
346
346
  AUXILIARY = "AUXILIARY"
347
347
  }
348
348
 
349
+ export declare enum EArcPlane {
350
+ Inner = 0,
351
+ Outer = 1,
352
+ }
353
+
349
354
  /**
350
355
  * 线段类型
351
356
  */
@@ -1433,6 +1438,14 @@ export declare class FittingDesignService extends BaseService {
1433
1438
 
1434
1439
  export declare type IApplicationStartOption = ITerminalConfig;
1435
1440
 
1441
+ export declare interface IArcPlankData extends ISpecialShapedPlankData {
1442
+ /**
1443
+ * 圆弧面
1444
+ * 圆弧板必传
1445
+ */
1446
+ arcPlane: EArcPlane;
1447
+ }
1448
+
1436
1449
  /**
1437
1450
  * 孔槽数据基础示意
1438
1451
  */
@@ -1475,6 +1488,36 @@ export declare class FittingDesignService extends BaseService {
1475
1488
  type: string;
1476
1489
  }
1477
1490
 
1491
+ export declare interface IBaseFittingViewerDataWithId {
1492
+ /**
1493
+ * 关联的模型id
1494
+ */
1495
+ modelId: string;
1496
+ /**
1497
+ * 孔的集合
1498
+ */
1499
+ holes?: Array<IHoleDataV2WithId & Partial<IFittingRenderProperty>>;
1500
+ /**
1501
+ * 槽的集合
1502
+ */
1503
+ grooves?: Array<IGrooveDataV2WithId & Partial<IFittingRenderProperty>>;
1504
+ }
1505
+
1506
+ export declare interface IBaseFittingViewerDataWithOptionalId {
1507
+ /**
1508
+ * 关联的模型id
1509
+ */
1510
+ modelId: string;
1511
+ /**
1512
+ * 孔的集合
1513
+ */
1514
+ holes?: Array<IHoleDataV2WithOptionalId & Partial<IFittingRenderProperty>>;
1515
+ /**
1516
+ * 槽的集合
1517
+ */
1518
+ grooves?: Array<IGrooveDataV2WithOptionalId & Partial<IFittingRenderProperty>>;
1519
+ }
1520
+
1478
1521
  /**
1479
1522
  * 孔/槽的基础数据结构
1480
1523
  */
@@ -1962,55 +2005,15 @@ export declare class FittingDesignService extends BaseService {
1962
2005
  };
1963
2006
  }
1964
2007
 
1965
- export declare interface IFittingViewerDataWithId {
1966
- /**
1967
- * 关联的商品id
1968
- */
1969
- modelId: string;
1970
- /**
1971
- * 孔的集合
1972
- */
1973
- holes?: Array<IHoleDataV2WithId & Partial<IFittingRenderProperty>>;
1974
- /**
1975
- * 槽的集合
1976
- */
1977
- grooves?: Array<IGrooveDataV2WithId & Partial<IFittingRenderProperty>>;
1978
- /**
1979
- * 描述异形板件的轮廓
1980
- * 主要用于BOM
1981
- */
1982
- finishedProfile?: IBomProfile;
1983
- /**
1984
- * 基准建模平面
1985
- * 商品层必填
1986
- */
1987
- referencePlane?: EReferencePlane;
1988
- }
2008
+ export declare type IFittingViewerDataWithId = IBaseFittingViewerDataWithId &
2009
+ Partial<ISpecialShapedPlankData> &
2010
+ Partial<IProductData> &
2011
+ Partial<IArcPlankData>;
1989
2012
 
1990
- export declare interface IFittingViewerDataWithOptionalId {
1991
- /**
1992
- * 关联的模型id
1993
- */
1994
- modelId: string;
1995
- /**
1996
- * 孔的集合
1997
- */
1998
- holes?: Array<IHoleDataV2WithOptionalId & Partial<IFittingRenderProperty>>;
1999
- /**
2000
- * 槽的集合
2001
- */
2002
- grooves?: Array<IGrooveDataV2WithOptionalId & Partial<IFittingRenderProperty>>;
2003
- /**
2004
- * 描述异形板件的轮廓
2005
- * 主要用于BOM
2006
- */
2007
- finishedProfile?: IBomProfile;
2008
- /**
2009
- * 基准建模平面
2010
- * 商品层必填
2011
- */
2012
- referencePlane?: EReferencePlane;
2013
- }
2013
+ export declare type IFittingViewerDataWithOptionalId = IBaseFittingViewerDataWithOptionalId &
2014
+ Partial<ISpecialShapedPlankData> &
2015
+ Partial<IProductData> &
2016
+ Partial<IArcPlankData>;
2014
2017
 
2015
2018
  /** 模型关联户型数据 */
2016
2019
  declare interface IFloorplanRelation {
@@ -3567,6 +3570,14 @@ export declare class FittingDesignService extends BaseService {
3567
3570
  clockwise?: boolean;
3568
3571
  }
3569
3572
 
3573
+ export declare interface IProductData {
3574
+ /**
3575
+ * 基准建模平面
3576
+ * 商品层必填
3577
+ */
3578
+ referencePlane: EReferencePlane;
3579
+ }
3580
+
3570
3581
  /**
3571
3582
  * 槽路径/轮廓
3572
3583
  */
@@ -3776,6 +3787,13 @@ export declare class FittingDesignService extends BaseService {
3776
3787
 
3777
3788
  export declare type ISpecialShapedGrooveDataWithId = ISpecialShapedGrooveData & IGrooveId;
3778
3789
 
3790
+ export declare interface ISpecialShapedPlankData {
3791
+ /**
3792
+ * 描述异形板件的轮廓
3793
+ */
3794
+ finishedProfile: IBomProfile;
3795
+ }
3796
+
3779
3797
  /**
3780
3798
  * 方槽
3781
3799
  */