mxcad 1.0.194 → 1.0.195
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/mxcad.d.ts +252 -89
- package/dist/mxcad.es.js +1693 -1021
- package/dist/mxcad.umd.js +2 -2
- package/dist/wasm/2d/mxdrawassembly_min.js +1290 -1286
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +191 -187
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/dist/wasm/3d/mxdraw3d_min.data +0 -0
- package/dist/wasm/3d/mxdraw3d_min.js +818 -118
- package/dist/wasm/3d/mxdraw3d_min.wasm +0 -0
- package/package.json +1 -1
package/dist/mxcad.d.ts
CHANGED
|
@@ -572,7 +572,7 @@ export declare class McGePoint3dArray {
|
|
|
572
572
|
/**
|
|
573
573
|
* 复制对象的值
|
|
574
574
|
*/
|
|
575
|
-
copy(val: McGePoint3dArray): this;
|
|
575
|
+
copy(val: McGePoint3dArray | McGePoint3d[]): this;
|
|
576
576
|
/**
|
|
577
577
|
* 添加一个值
|
|
578
578
|
*/
|
|
@@ -1093,6 +1093,11 @@ export declare class MxCADUiPrBase {
|
|
|
1093
1093
|
* 设置输入控制设置,UserInputControls
|
|
1094
1094
|
*/
|
|
1095
1095
|
setUserInputControls(contros: number): void;
|
|
1096
|
+
/**
|
|
1097
|
+
* 停止当前动态拖动
|
|
1098
|
+
* @returns void
|
|
1099
|
+
*/
|
|
1100
|
+
abort(cause?: DetailedResult): void;
|
|
1096
1101
|
}
|
|
1097
1102
|
/** UI交互取点 (鼠标点击画布) */
|
|
1098
1103
|
export declare class MxCADUiPrPoint extends MxCADUiPrBase {
|
|
@@ -2449,7 +2454,7 @@ export declare class McDbHatch extends McDbEntity {
|
|
|
2449
2454
|
* @param vertices 坐标集合
|
|
2450
2455
|
* @param bulges 凸度集合
|
|
2451
2456
|
* */
|
|
2452
|
-
appendLoop(vertices: McGePoint3dArray, bulges
|
|
2457
|
+
appendLoop(vertices: McGePoint3dArray, bulges?: number[], loopType?: number): boolean;
|
|
2453
2458
|
/** 追加圆构造的闭合区域
|
|
2454
2459
|
* @param loopType 闭合区域类型
|
|
2455
2460
|
* @param vertices 坐标集合
|
|
@@ -4117,9 +4122,29 @@ export declare abstract class IMcDbDwgFiler {
|
|
|
4117
4122
|
private type;
|
|
4118
4123
|
constructor(type: MxCADCloneType);
|
|
4119
4124
|
getType(): MxCADCloneType;
|
|
4120
|
-
|
|
4125
|
+
writePoints(name: string, vals: McGePoint3d[]): void;
|
|
4126
|
+
readPoints(name: string): {
|
|
4127
|
+
val: McGePoint3d[];
|
|
4128
|
+
ret: boolean;
|
|
4129
|
+
};
|
|
4130
|
+
abstract writePoint(name: string, val: McGePoint3d): void;
|
|
4121
4131
|
abstract readPoint(name: string): {
|
|
4122
|
-
|
|
4132
|
+
val: McGePoint3d;
|
|
4133
|
+
ret: boolean;
|
|
4134
|
+
};
|
|
4135
|
+
abstract writeLong(name: string, val: number): void;
|
|
4136
|
+
abstract readLong(name: string): {
|
|
4137
|
+
val: number;
|
|
4138
|
+
ret: boolean;
|
|
4139
|
+
};
|
|
4140
|
+
abstract writeDouble(name: string, val: number): void;
|
|
4141
|
+
abstract readDouble(name: string): {
|
|
4142
|
+
val: number;
|
|
4143
|
+
ret: boolean;
|
|
4144
|
+
};
|
|
4145
|
+
abstract writeString(name: string, val: string): void;
|
|
4146
|
+
abstract readString(name: string): {
|
|
4147
|
+
val: string;
|
|
4123
4148
|
ret: boolean;
|
|
4124
4149
|
};
|
|
4125
4150
|
}
|
|
@@ -4137,14 +4162,20 @@ export declare abstract class McDbCustomEntity extends McDbEntity {
|
|
|
4137
4162
|
* @param imp 内部实现对象。
|
|
4138
4163
|
*/
|
|
4139
4164
|
constructor(imp?: any);
|
|
4165
|
+
/**
|
|
4166
|
+
* 自定义实体注册
|
|
4167
|
+
*/
|
|
4140
4168
|
rxInit(): void;
|
|
4169
|
+
/**
|
|
4170
|
+
* 复制实体
|
|
4171
|
+
*/
|
|
4141
4172
|
clone(): McDbObject | null;
|
|
4142
4173
|
syncData(toCpp?: boolean): boolean;
|
|
4174
|
+
tempRelationObject(): number;
|
|
4175
|
+
freeTempRelationObject(): void;
|
|
4143
4176
|
protected assertWrite(autoUndo?: boolean): void;
|
|
4144
4177
|
moveGripPointsAt(_iIndex: number, _dXOffset: number, _dYOffset: number, _dZOffset: number): void;
|
|
4145
4178
|
getGripPoints(): McGePoint3dArray;
|
|
4146
|
-
tempRelationObject(): number;
|
|
4147
|
-
freeTempRelationObject(): void;
|
|
4148
4179
|
abstract create(imp?: any): McDbCustomEntity;
|
|
4149
4180
|
abstract getTypeName(): string;
|
|
4150
4181
|
abstract dwgInFields(filter: IMcDbDwgFiler): boolean;
|
|
@@ -4677,7 +4708,7 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
4677
4708
|
/** 表示几何曲面句柄 */
|
|
4678
4709
|
MdGeHGeomSurface: typeof MdGeHGeomSurface;
|
|
4679
4710
|
/** 所有类的父类,除MdGeTopo,MdGeBRep */
|
|
4680
|
-
|
|
4711
|
+
Mx3dBaseObject: typeof Mx3dBaseObject;
|
|
4681
4712
|
/** 表示颜色 */
|
|
4682
4713
|
MdGeColor: typeof MdGeColor;
|
|
4683
4714
|
/** 表示材质 */
|
|
@@ -4738,23 +4769,45 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
4738
4769
|
MdGeAisTexturedShape: typeof MdGeAisTexturedShape;
|
|
4739
4770
|
/** MdGeSpliter */
|
|
4740
4771
|
MdGeSpliter: typeof MdGeSpliter;
|
|
4772
|
+
Mx3dGeBndBox: typeof Mx3dGeBndBox;
|
|
4773
|
+
Mx3dGeColor: typeof Mx3dGeColor;
|
|
4774
|
+
Mx3dDbDocument: typeof Mx3dDbDocument;
|
|
4775
|
+
Mx3dDbLabel: typeof Mx3dDbLabel;
|
|
4776
|
+
Mx3dLabelSequence: typeof Mx3dLabelSequence;
|
|
4777
|
+
Mx3dLabelSequenceIterator: typeof Mx3dLabelSequenceIterator;
|
|
4778
|
+
Mx3dGeLocation: typeof Mx3dGeLocation;
|
|
4779
|
+
Mx3dGePoint: typeof Mx3dGePoint;
|
|
4780
|
+
Mx3dShapeObject: typeof Mx3dShapeObject;
|
|
4781
|
+
Mx3dGeObject: typeof Mx3dGeObject;
|
|
4782
|
+
Mx3dDbObject: typeof Mx3dDbObject;
|
|
4741
4783
|
}
|
|
4742
4784
|
/**
|
|
4743
4785
|
* 所有类的父类, 除去MdGeTopo以及MdGeBrep
|
|
4744
4786
|
*/
|
|
4745
|
-
export declare class
|
|
4787
|
+
export declare class Mx3dBaseObject {
|
|
4746
4788
|
protected imp: any;
|
|
4747
4789
|
constructor(imp?: any);
|
|
4748
4790
|
getImp(): any;
|
|
4749
4791
|
protected initTempObject(imp: any): void;
|
|
4750
4792
|
}
|
|
4793
|
+
export declare class Mx3dShapeObject extends Mx3dBaseObject {
|
|
4794
|
+
constructor(p?: object);
|
|
4795
|
+
getBndBox(): Mx3dGeBndBox;
|
|
4796
|
+
Draw(): void;
|
|
4797
|
+
}
|
|
4798
|
+
export declare class Mx3dGeObject extends Mx3dBaseObject {
|
|
4799
|
+
constructor(p?: object);
|
|
4800
|
+
}
|
|
4801
|
+
export declare class Mx3dDbObject extends Mx3dBaseObject {
|
|
4802
|
+
constructor(p?: object);
|
|
4803
|
+
}
|
|
4751
4804
|
/**
|
|
4752
4805
|
* 表示一个形状。
|
|
4753
4806
|
*/
|
|
4754
4807
|
/**
|
|
4755
4808
|
* 表示一个形状
|
|
4756
4809
|
*/
|
|
4757
|
-
export declare class MdGeShape extends
|
|
4810
|
+
export declare class MdGeShape extends Mx3dBaseObject {
|
|
4758
4811
|
constructor(p?: object);
|
|
4759
4812
|
Fuse(other: MdGeShape): MdGeShape;
|
|
4760
4813
|
Cut(remove: MdGeShape): MdGeShape;
|
|
@@ -4858,7 +4911,7 @@ export declare class MdGeCompound extends MdGeShape {
|
|
|
4858
4911
|
/**
|
|
4859
4912
|
* 表示一个矩阵
|
|
4860
4913
|
*/
|
|
4861
|
-
export declare class MdGeMat extends
|
|
4914
|
+
export declare class MdGeMat extends Mx3dBaseObject {
|
|
4862
4915
|
constructor(p1?: MdGeXYZ | number | object, p2?: MdGeXYZ | number, p3?: MdGeXYZ | number, p4?: number, p5?: number, p6?: number, p7?: number, p8?: number, p9?: number);
|
|
4863
4916
|
SetCol(col: number, value: MdGeXYZ): void;
|
|
4864
4917
|
SetCols(col1: MdGeXYZ, col2: MdGeXYZ, col3: MdGeXYZ): void;
|
|
@@ -4902,7 +4955,7 @@ export declare class MdGeMat extends MdGeObject {
|
|
|
4902
4955
|
/**
|
|
4903
4956
|
* 表示一个坐标
|
|
4904
4957
|
*/
|
|
4905
|
-
export declare class MdGeXYZ extends
|
|
4958
|
+
export declare class MdGeXYZ extends Mx3dBaseObject {
|
|
4906
4959
|
constructor(p1?: number | object, p2?: number, p3?: number);
|
|
4907
4960
|
SetCoord(x: number, y: number, z?: number): void;
|
|
4908
4961
|
SetX(x: number): void;
|
|
@@ -4947,7 +5000,7 @@ export declare class MdGeXYZ extends MdGeObject {
|
|
|
4947
5000
|
/**
|
|
4948
5001
|
* 表示一个变换
|
|
4949
5002
|
*/
|
|
4950
|
-
export declare class MdGeTrsf extends
|
|
5003
|
+
export declare class MdGeTrsf extends Mx3dBaseObject {
|
|
4951
5004
|
constructor(p?: object);
|
|
4952
5005
|
SetMirrorByPoint(point: MdGePoint): void;
|
|
4953
5006
|
SetMirrorByAxis(axis: MdGeAxis): void;
|
|
@@ -4977,7 +5030,7 @@ export declare class MdGeTrsf extends MdGeObject {
|
|
|
4977
5030
|
/**
|
|
4978
5031
|
* 表示一个方向
|
|
4979
5032
|
*/
|
|
4980
|
-
export declare class MdGeDir extends
|
|
5033
|
+
export declare class MdGeDir extends Mx3dBaseObject {
|
|
4981
5034
|
constructor(p1?: MdGeVec | number | object, p2?: number, p3?: number);
|
|
4982
5035
|
SetCoord(p1: number, p2: number, p3?: number): void;
|
|
4983
5036
|
SetX(theXv: number): void;
|
|
@@ -5020,7 +5073,7 @@ export declare class MdGeDir extends MdGeObject {
|
|
|
5020
5073
|
/**
|
|
5021
5074
|
* 表示一个轴
|
|
5022
5075
|
*/
|
|
5023
|
-
export declare class MdGeAxis extends
|
|
5076
|
+
export declare class MdGeAxis extends Mx3dBaseObject {
|
|
5024
5077
|
constructor(p1?: MdGePoint | object, p2?: MdGeDir);
|
|
5025
5078
|
Direction(): MdGeDir;
|
|
5026
5079
|
Location(): MdGePoint;
|
|
@@ -5033,7 +5086,7 @@ export declare class MdGeAxis extends MdGeObject {
|
|
|
5033
5086
|
/**
|
|
5034
5087
|
* 表示右手坐标系。
|
|
5035
5088
|
*/
|
|
5036
|
-
export declare class MdGeCSYSR extends
|
|
5089
|
+
export declare class MdGeCSYSR extends Mx3dBaseObject {
|
|
5037
5090
|
constructor(p1?: MdGePoint | object, p2?: MdGeDir, p3?: MdGeDir);
|
|
5038
5091
|
Origin(): MdGePoint;
|
|
5039
5092
|
XDirection(): MdGeDir;
|
|
@@ -5070,7 +5123,7 @@ export declare class MdGeCSYSR extends MdGeObject {
|
|
|
5070
5123
|
/**
|
|
5071
5124
|
* 表示一个点。
|
|
5072
5125
|
*/
|
|
5073
|
-
export declare class MdGePoint extends
|
|
5126
|
+
export declare class MdGePoint extends Mx3dBaseObject {
|
|
5074
5127
|
constructor(p1?: number | object, p2?: number, p3?: number);
|
|
5075
5128
|
X(): number;
|
|
5076
5129
|
Y(): number;
|
|
@@ -5108,7 +5161,7 @@ export declare class MdGePoint extends MdGeObject {
|
|
|
5108
5161
|
/**
|
|
5109
5162
|
* 表示一个向量。
|
|
5110
5163
|
*/
|
|
5111
|
-
export declare class MdGeVec extends
|
|
5164
|
+
export declare class MdGeVec extends Mx3dBaseObject {
|
|
5112
5165
|
constructor(p1?: MdGePoint | number | object, p2?: MdGePoint | number, p3?: number);
|
|
5113
5166
|
SetCoord(p1: number, p2: number, p3?: number): void;
|
|
5114
5167
|
X(): number;
|
|
@@ -5191,7 +5244,7 @@ export declare class MdGeVec extends MdGeObject {
|
|
|
5191
5244
|
/**
|
|
5192
5245
|
* 表示角度标注
|
|
5193
5246
|
*/
|
|
5194
|
-
export declare class MdGeAngleDim extends
|
|
5247
|
+
export declare class MdGeAngleDim extends Mx3dBaseObject {
|
|
5195
5248
|
constructor(p1?: MdGeEdge | MdGePoint | object, p2?: MdGeEdge | MdGePoint, p3?: MdGePoint);
|
|
5196
5249
|
FirstPoint(): MdGePoint;
|
|
5197
5250
|
SecondPoint(): MdGePoint;
|
|
@@ -5236,7 +5289,7 @@ export declare class MdGeAngleDim extends MdGeObject {
|
|
|
5236
5289
|
/**
|
|
5237
5290
|
* 表示一维整数数组。
|
|
5238
5291
|
*/
|
|
5239
|
-
export declare class MdGeArray1OfInteger extends
|
|
5292
|
+
export declare class MdGeArray1OfInteger extends Mx3dBaseObject {
|
|
5240
5293
|
constructor(p1?: number | object, p2?: number);
|
|
5241
5294
|
Init(theInteger: number): void;
|
|
5242
5295
|
Size(): number;
|
|
@@ -5258,7 +5311,7 @@ export declare class MdGeArray1OfInteger extends MdGeObject {
|
|
|
5258
5311
|
/**
|
|
5259
5312
|
* 表示一维点数组。
|
|
5260
5313
|
*/
|
|
5261
|
-
export declare class MdGeArray1OfPnt extends
|
|
5314
|
+
export declare class MdGeArray1OfPnt extends Mx3dBaseObject {
|
|
5262
5315
|
constructor(p1?: number | object, p2?: number);
|
|
5263
5316
|
Init(thePnt: MdGePoint): void;
|
|
5264
5317
|
Size(): number;
|
|
@@ -5280,7 +5333,7 @@ export declare class MdGeArray1OfPnt extends MdGeObject {
|
|
|
5280
5333
|
/**
|
|
5281
5334
|
* 表示一维实数数组。
|
|
5282
5335
|
*/
|
|
5283
|
-
export declare class MdGeArray1OfReal extends
|
|
5336
|
+
export declare class MdGeArray1OfReal extends Mx3dBaseObject {
|
|
5284
5337
|
constructor(p1?: number | object, p2?: number);
|
|
5285
5338
|
Init(theReal: number): void;
|
|
5286
5339
|
Size(): number;
|
|
@@ -5302,7 +5355,7 @@ export declare class MdGeArray1OfReal extends MdGeObject {
|
|
|
5302
5355
|
/**
|
|
5303
5356
|
* 表示二维点数组。
|
|
5304
5357
|
*/
|
|
5305
|
-
export declare class MdGeArray2OfPnt extends
|
|
5358
|
+
export declare class MdGeArray2OfPnt extends Mx3dBaseObject {
|
|
5306
5359
|
constructor(p1?: number | MdGePoint | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
5307
5360
|
Init(thePoint: MdGePoint): void;
|
|
5308
5361
|
Size(): number;
|
|
@@ -5326,7 +5379,7 @@ export declare class MdGeArray2OfPnt extends MdGeObject {
|
|
|
5326
5379
|
/**
|
|
5327
5380
|
* 表示二维实数数组。
|
|
5328
5381
|
*/
|
|
5329
|
-
export declare class MdGeArray2OfReal extends
|
|
5382
|
+
export declare class MdGeArray2OfReal extends Mx3dBaseObject {
|
|
5330
5383
|
constructor(p1?: number | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
5331
5384
|
Init(theReal: number): void;
|
|
5332
5385
|
Size(): number;
|
|
@@ -5350,7 +5403,7 @@ export declare class MdGeArray2OfReal extends MdGeObject {
|
|
|
5350
5403
|
/**
|
|
5351
5404
|
* 表示贝塞尔曲线
|
|
5352
5405
|
*/
|
|
5353
|
-
export declare class MdGeBezierCurve extends
|
|
5406
|
+
export declare class MdGeBezierCurve extends Mx3dBaseObject {
|
|
5354
5407
|
constructor(p1?: MdGeArray1OfPnt | object, p2?: MdGeArray1OfReal);
|
|
5355
5408
|
Increase(Degree: number): void;
|
|
5356
5409
|
InsertPoleAfter(p1: number, p2: MdGePoint, p3?: number): void;
|
|
@@ -5389,7 +5442,7 @@ export declare class MdGeBezierCurve extends MdGeObject {
|
|
|
5389
5442
|
/**
|
|
5390
5443
|
* 表示贝塞尔曲面
|
|
5391
5444
|
*/
|
|
5392
|
-
export declare class MdGeBezierSurface extends
|
|
5445
|
+
export declare class MdGeBezierSurface extends Mx3dBaseObject {
|
|
5393
5446
|
constructor(p1?: MdGeArray2OfPnt | object, p2?: MdGeArray2OfReal);
|
|
5394
5447
|
ExchangeUV(): void;
|
|
5395
5448
|
Increase(UDeg: number, VDeg: number): void;
|
|
@@ -5439,7 +5492,7 @@ export declare class MdGeBezierSurface extends MdGeObject {
|
|
|
5439
5492
|
/**
|
|
5440
5493
|
* 表示倒斜角
|
|
5441
5494
|
*/
|
|
5442
|
-
export declare class MdGeChamfer extends
|
|
5495
|
+
export declare class MdGeChamfer extends Mx3dBaseObject {
|
|
5443
5496
|
constructor(p?: MdGeShape | object);
|
|
5444
5497
|
Add(p1: MdGeEdge | number, p2?: MdGeEdge | number, p3?: MdGeEdge, p4?: MdGeFace): void;
|
|
5445
5498
|
SetDist(Dis: number, IC: number, F: MdGeFace): void;
|
|
@@ -5477,7 +5530,7 @@ export declare class MdGeChamfer extends MdGeObject {
|
|
|
5477
5530
|
/**
|
|
5478
5531
|
* 表示一个圆。
|
|
5479
5532
|
*/
|
|
5480
|
-
export declare class MdGeCircle extends
|
|
5533
|
+
export declare class MdGeCircle extends Mx3dBaseObject {
|
|
5481
5534
|
constructor(p1?: MdGeCSYSR | object, p2?: number);
|
|
5482
5535
|
SetAxis(theA1: MdGeAxis): void;
|
|
5483
5536
|
SetLocation(theP: MdGePoint): void;
|
|
@@ -5520,7 +5573,7 @@ export declare class MdGeCircle extends MdGeObject {
|
|
|
5520
5573
|
/**
|
|
5521
5574
|
* 表示一个坐标系(左手或右手)
|
|
5522
5575
|
*/
|
|
5523
|
-
export declare class MdGeCSYS extends
|
|
5576
|
+
export declare class MdGeCSYS extends Mx3dBaseObject {
|
|
5524
5577
|
constructor(p1?: MdGePoint | object, p2?: MdGeDir, p3?: MdGeDir);
|
|
5525
5578
|
XReverse(): void;
|
|
5526
5579
|
YReverse(): void;
|
|
@@ -5563,7 +5616,7 @@ export declare class MdGeCSYS extends MdGeObject {
|
|
|
5563
5616
|
/**
|
|
5564
5617
|
* 表示一个圆锥
|
|
5565
5618
|
*/
|
|
5566
|
-
export declare class MdGeCone extends
|
|
5619
|
+
export declare class MdGeCone extends Mx3dBaseObject {
|
|
5567
5620
|
constructor(p1?: MdGeCSYS | object, p2?: number, p3?: number);
|
|
5568
5621
|
SetAxis(theA1: MdGeAxis): void;
|
|
5569
5622
|
SetLocation(theLoc: MdGePoint): void;
|
|
@@ -5606,7 +5659,7 @@ export declare class MdGeCone extends MdGeObject {
|
|
|
5606
5659
|
/**
|
|
5607
5660
|
* 表示一个圆柱。
|
|
5608
5661
|
*/
|
|
5609
|
-
export declare class MdGeCylinder extends
|
|
5662
|
+
export declare class MdGeCylinder extends Mx3dBaseObject {
|
|
5610
5663
|
constructor(p1?: MdGeCSYS | object, p2?: number);
|
|
5611
5664
|
SetAxis(theA1: MdGeAxis): void;
|
|
5612
5665
|
SetLocation(theLoc: MdGePoint): void;
|
|
@@ -5639,6 +5692,7 @@ export declare class MdGeCylinder extends MdGeObject {
|
|
|
5639
5692
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeCylinder;
|
|
5640
5693
|
Shape(H: number, Angle?: number): MdGeShape;
|
|
5641
5694
|
Face(p1?: MdGeWire | number, p2?: boolean | number, p3?: number, p4?: number): MdGeFace;
|
|
5695
|
+
Shape3d(H: number, Angle?: number): Mx3dShapeObject;
|
|
5642
5696
|
}
|
|
5643
5697
|
/**
|
|
5644
5698
|
* 表示一个平面
|
|
@@ -5646,7 +5700,7 @@ export declare class MdGeCylinder extends MdGeObject {
|
|
|
5646
5700
|
/**
|
|
5647
5701
|
* 表示一个平面
|
|
5648
5702
|
*/
|
|
5649
|
-
export declare class MdGePlane extends
|
|
5703
|
+
export declare class MdGePlane extends Mx3dBaseObject {
|
|
5650
5704
|
constructor(p1?: MdGeCSYS | MdGePoint | number | object, p2?: MdGeDir | number, p3?: number, p4?: number);
|
|
5651
5705
|
SetAxis(theA1: MdGeAxis): void;
|
|
5652
5706
|
SetLocation(theLoc: MdGePoint): void;
|
|
@@ -5688,7 +5742,7 @@ export declare class MdGePlane extends MdGeObject {
|
|
|
5688
5742
|
/**
|
|
5689
5743
|
* 表示直径标注
|
|
5690
5744
|
*/
|
|
5691
|
-
export declare class MdGeDiameterDim extends
|
|
5745
|
+
export declare class MdGeDiameterDim extends Mx3dBaseObject {
|
|
5692
5746
|
constructor(p1?: MdGeCircle | object, p2?: MdGePlane);
|
|
5693
5747
|
Circle(): MdGeCircle;
|
|
5694
5748
|
AnchorPoint(): MdGePoint;
|
|
@@ -5724,7 +5778,7 @@ export declare class MdGeDiameterDim extends MdGeObject {
|
|
|
5724
5778
|
/**
|
|
5725
5779
|
* 表示一个椭圆
|
|
5726
5780
|
*/
|
|
5727
|
-
export declare class MdGeEllipse extends
|
|
5781
|
+
export declare class MdGeEllipse extends Mx3dBaseObject {
|
|
5728
5782
|
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
5729
5783
|
SetAxis(theA1: MdGeAxis): void;
|
|
5730
5784
|
SetLocation(theP: MdGePoint): void;
|
|
@@ -6566,6 +6620,48 @@ export declare namespace MdGe {
|
|
|
6566
6620
|
DisplayMode_ShadedWithFaceBoundary = 3,
|
|
6567
6621
|
DisplayMode_Transparency = 4
|
|
6568
6622
|
}
|
|
6623
|
+
enum MxGradientFillMethod {
|
|
6624
|
+
GradientFillMethod_None = 0,
|
|
6625
|
+
GradientFillMethod_Horizontal = 1,
|
|
6626
|
+
GradientFillMethod_Vertical = 2,
|
|
6627
|
+
GradientFillMethod_Diagonal1 = 3,
|
|
6628
|
+
GradientFillMethod_Diagonal2 = 4,
|
|
6629
|
+
GradientFillMethod_Corner1 = 5,
|
|
6630
|
+
GradientFillMethod_Corner2 = 6,
|
|
6631
|
+
GradientFillMethod_Corner3 = 7,
|
|
6632
|
+
GradientFillMethod_Corner4 = 8,
|
|
6633
|
+
GradientFillMethod_Elliptical = 9,
|
|
6634
|
+
GFM_NONE = 0,
|
|
6635
|
+
GFM_HOR = 1,
|
|
6636
|
+
GFM_VER = 2,
|
|
6637
|
+
GFM_DIAG1 = 3,
|
|
6638
|
+
GFM_DIAG2 = 4,
|
|
6639
|
+
GFM_CORNER1 = 5,
|
|
6640
|
+
GFM_CORNER2 = 6,
|
|
6641
|
+
GFM_CORNER3 = 7,
|
|
6642
|
+
GFM_CORNER4 = 8
|
|
6643
|
+
}
|
|
6644
|
+
enum MxFormat {
|
|
6645
|
+
Format_Unknown = 0,
|
|
6646
|
+
Format_Image = 1,
|
|
6647
|
+
Format_3DS = 2,
|
|
6648
|
+
Format_3MF = 3,
|
|
6649
|
+
Format_AMF = 4,
|
|
6650
|
+
Format_COLLADA = 5,
|
|
6651
|
+
Format_DXF = 6,
|
|
6652
|
+
Format_FBX = 7,
|
|
6653
|
+
Format_GLTF = 8,
|
|
6654
|
+
Format_IGES = 9,
|
|
6655
|
+
Format_OBJ = 10,
|
|
6656
|
+
Format_OCCBREP = 11,
|
|
6657
|
+
Format_OFF = 12,
|
|
6658
|
+
Format_PLY = 13,
|
|
6659
|
+
Format_STEP = 14,
|
|
6660
|
+
Format_STL = 15,
|
|
6661
|
+
Format_VRML = 16,
|
|
6662
|
+
Format_X3D = 17,
|
|
6663
|
+
Format_Blender = 18
|
|
6664
|
+
}
|
|
6569
6665
|
}
|
|
6570
6666
|
/**
|
|
6571
6667
|
* 表示拓扑元素遍历
|
|
@@ -6573,7 +6669,7 @@ export declare namespace MdGe {
|
|
|
6573
6669
|
/**
|
|
6574
6670
|
* 表示拓扑元素遍历
|
|
6575
6671
|
*/
|
|
6576
|
-
export declare class MdGeExplorer extends
|
|
6672
|
+
export declare class MdGeExplorer extends Mx3dBaseObject {
|
|
6577
6673
|
constructor(p1?: MdGeShape | object, p2?: MdGe.MxShapeEnum, p3?: MdGe.MxShapeEnum);
|
|
6578
6674
|
Init(S: MdGeShape, ToFind: MdGe.MxShapeEnum, ToAvoid?: MdGe.MxShapeEnum): void;
|
|
6579
6675
|
More(): boolean;
|
|
@@ -6591,7 +6687,7 @@ export declare class MdGeExplorer extends MdGeObject {
|
|
|
6591
6687
|
/**
|
|
6592
6688
|
* 表示倒圆角
|
|
6593
6689
|
*/
|
|
6594
|
-
export declare class MdGeFillet extends
|
|
6690
|
+
export declare class MdGeFillet extends Mx3dBaseObject {
|
|
6595
6691
|
constructor(p1?: MdGeShape | object, p2?: MdGe.MxCF3dFilletShapeEnum);
|
|
6596
6692
|
SetParams(Tang: number, Tesp: number, T2d: number, TApp3d: number, TolApp2d: number, Fleche: number): void;
|
|
6597
6693
|
Add(p1: MdGeEdge | number, p2?: MdGeEdge | number, p3?: MdGeEdge): void;
|
|
@@ -6634,7 +6730,7 @@ export declare class MdGeFillet extends MdGeObject {
|
|
|
6634
6730
|
/**
|
|
6635
6731
|
* 表示双曲线。
|
|
6636
6732
|
*/
|
|
6637
|
-
export declare class MdGeHypr extends
|
|
6733
|
+
export declare class MdGeHypr extends Mx3dBaseObject {
|
|
6638
6734
|
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
6639
6735
|
SetAxis(theA1: MdGeAxis): void;
|
|
6640
6736
|
SetLocation(theP: MdGePoint): void;
|
|
@@ -6686,7 +6782,7 @@ export declare class MdGeHypr extends MdGeObject {
|
|
|
6686
6782
|
/**
|
|
6687
6783
|
* 表示一个Box
|
|
6688
6784
|
*/
|
|
6689
|
-
export declare class MdGeBox extends
|
|
6785
|
+
export declare class MdGeBox extends Mx3dBaseObject {
|
|
6690
6786
|
constructor(p1?: MdGePoint | number | MdGeCSYSR | object, p2?: MdGePoint | number, p3?: number, p4?: number);
|
|
6691
6787
|
Init(p1: MdGePoint | number | MdGeCSYSR, p2: MdGePoint | number, p3?: number, p4?: number): void;
|
|
6692
6788
|
Shape(): MdGeShape;
|
|
@@ -6705,7 +6801,7 @@ export declare class MdGeBox extends MdGeObject {
|
|
|
6705
6801
|
/**
|
|
6706
6802
|
* 表示B样条曲线
|
|
6707
6803
|
*/
|
|
6708
|
-
export declare class MdGeBSplineCurve extends
|
|
6804
|
+
export declare class MdGeBSplineCurve extends Mx3dBaseObject {
|
|
6709
6805
|
constructor(p1?: MdGeArray1OfPnt | object, p2?: MdGeArray1OfReal, p3?: MdGeArray1OfInteger, p4?: number, p5?: boolean);
|
|
6710
6806
|
IncreaseDegree(Degree: number): void;
|
|
6711
6807
|
IncreaseMultiplicity(p1: number, p2: number, p3?: number): void;
|
|
@@ -6760,7 +6856,7 @@ export declare class MdGeBSplineCurve extends MdGeObject {
|
|
|
6760
6856
|
/**
|
|
6761
6857
|
* 表示B样条曲面
|
|
6762
6858
|
*/
|
|
6763
|
-
export declare class MdGeBSplineSurface extends
|
|
6859
|
+
export declare class MdGeBSplineSurface extends Mx3dBaseObject {
|
|
6764
6860
|
constructor(p1?: MdGeArray2OfPnt | object, p2?: MdGeArray1OfReal, p3?: MdGeArray1OfReal, p4?: MdGeArray1OfInteger, p5?: MdGeArray1OfInteger, p6?: number, p7?: number, p8?: boolean, p9?: boolean);
|
|
6765
6861
|
ExchangeUV(): void;
|
|
6766
6862
|
SetUPeriodic(): void;
|
|
@@ -6840,7 +6936,7 @@ export declare class MdGeBSplineSurface extends MdGeObject {
|
|
|
6840
6936
|
/**
|
|
6841
6937
|
* 表示插值B样条曲线
|
|
6842
6938
|
*/
|
|
6843
|
-
export declare class MdGeInterpolateBSpl extends
|
|
6939
|
+
export declare class MdGeInterpolateBSpl extends Mx3dBaseObject {
|
|
6844
6940
|
constructor(p1?: MdGeArray1OfPnt | object, p2?: boolean | MdGeArray1OfReal, p3?: number | boolean, p4?: number);
|
|
6845
6941
|
Load(InitialTangent: MdGeVec, FinalTangent: MdGeVec, Scale?: boolean): void;
|
|
6846
6942
|
Perform(): void;
|
|
@@ -6853,7 +6949,7 @@ export declare class MdGeInterpolateBSpl extends MdGeObject {
|
|
|
6853
6949
|
/**
|
|
6854
6950
|
* 表示长度标注
|
|
6855
6951
|
*/
|
|
6856
|
-
export declare class MdGeLengthDim extends
|
|
6952
|
+
export declare class MdGeLengthDim extends Mx3dBaseObject {
|
|
6857
6953
|
constructor(p1?: MdGeEdge | MdGePoint | object, p2?: MdGePlane | MdGePoint, p3?: MdGePlane);
|
|
6858
6954
|
FirstPoint(): MdGePoint;
|
|
6859
6955
|
SecondPoint(): MdGePoint;
|
|
@@ -6890,7 +6986,7 @@ export declare class MdGeLengthDim extends MdGeObject {
|
|
|
6890
6986
|
/**
|
|
6891
6987
|
* 表示一条直线
|
|
6892
6988
|
*/
|
|
6893
|
-
export declare class MdGeLine extends
|
|
6989
|
+
export declare class MdGeLine extends Mx3dBaseObject {
|
|
6894
6990
|
constructor(p1?: MdGePoint | object, p2?: MdGeDir);
|
|
6895
6991
|
Reverse(): void;
|
|
6896
6992
|
Reversed(): MdGeLine;
|
|
@@ -6933,7 +7029,7 @@ export declare class MdGeLine extends MdGeObject {
|
|
|
6933
7029
|
/**
|
|
6934
7030
|
* 表示形状链表迭代器
|
|
6935
7031
|
*/
|
|
6936
|
-
export declare class MdGeListIteratorOfListOfShape extends
|
|
7032
|
+
export declare class MdGeListIteratorOfListOfShape extends Mx3dBaseObject {
|
|
6937
7033
|
constructor(p?: object);
|
|
6938
7034
|
More(): boolean;
|
|
6939
7035
|
Next(): void;
|
|
@@ -6946,7 +7042,7 @@ export declare class MdGeListIteratorOfListOfShape extends MdGeObject {
|
|
|
6946
7042
|
/**
|
|
6947
7043
|
* 表示形状链表
|
|
6948
7044
|
*/
|
|
6949
|
-
export declare class MdGeListOfShape extends
|
|
7045
|
+
export declare class MdGeListOfShape extends Mx3dBaseObject {
|
|
6950
7046
|
constructor(p?: object);
|
|
6951
7047
|
begin(): MdGeListIteratorOfListOfShape;
|
|
6952
7048
|
end(): MdGeListIteratorOfListOfShape;
|
|
@@ -6970,7 +7066,7 @@ export declare class MdGeListOfShape extends MdGeObject {
|
|
|
6970
7066
|
/**
|
|
6971
7067
|
* 表示放样
|
|
6972
7068
|
*/
|
|
6973
|
-
export declare class MdGeLoft extends
|
|
7069
|
+
export declare class MdGeLoft extends Mx3dBaseObject {
|
|
6974
7070
|
constructor(p1?: boolean | object, p2?: boolean, p3?: number);
|
|
6975
7071
|
Init(isSolid?: boolean, ruled?: boolean, pres3d?: number): void;
|
|
6976
7072
|
AddWire(wire: MdGeWire): void;
|
|
@@ -6995,7 +7091,7 @@ export declare class MdGeLoft extends MdGeObject {
|
|
|
6995
7091
|
/**
|
|
6996
7092
|
* 表示薄实体
|
|
6997
7093
|
*/
|
|
6998
|
-
export declare class MdGeMakeThickSolid extends
|
|
7094
|
+
export declare class MdGeMakeThickSolid extends Mx3dBaseObject {
|
|
6999
7095
|
constructor(p?: object);
|
|
7000
7096
|
MakeThickSolidBySimple(theS: MdGeShape, theOffsetValue: number): void;
|
|
7001
7097
|
MakeThickSolidByJoin(S: MdGeShape, ClosingFaces: MdGeListOfShape, Offset: number, Tol: number, Mode?: MdGe.MxOffsetModeEnum, Intersection?: boolean, SelfInter?: boolean, Join?: MdGe.MxGAJoinTypeEnum, RemoveIntEdges?: boolean): void;
|
|
@@ -7007,7 +7103,7 @@ export declare class MdGeMakeThickSolid extends MdGeObject {
|
|
|
7007
7103
|
/**
|
|
7008
7104
|
* 表示抛物线
|
|
7009
7105
|
*/
|
|
7010
|
-
export declare class MdGeParab extends
|
|
7106
|
+
export declare class MdGeParab extends Mx3dBaseObject {
|
|
7011
7107
|
constructor(p1?: MdGeCSYSR | object, p2?: number);
|
|
7012
7108
|
SetAxis(theA1: MdGeAxis): void;
|
|
7013
7109
|
SetFocal(theFocal: number): void;
|
|
@@ -7048,7 +7144,7 @@ export declare class MdGeParab extends MdGeObject {
|
|
|
7048
7144
|
/**
|
|
7049
7145
|
* 表示管道
|
|
7050
7146
|
*/
|
|
7051
|
-
export declare class MdGePipe extends
|
|
7147
|
+
export declare class MdGePipe extends Mx3dBaseObject {
|
|
7052
7148
|
constructor(p1?: MdGeWire | object, p2?: MdGeShape, p3?: MdGe.MxGFTrihedron, p4?: boolean);
|
|
7053
7149
|
FirstShape(): MdGeShape;
|
|
7054
7150
|
LastShape(): MdGeShape;
|
|
@@ -7062,7 +7158,7 @@ export declare class MdGePipe extends MdGeObject {
|
|
|
7062
7158
|
/**
|
|
7063
7159
|
* 表示拟合B样条曲线
|
|
7064
7160
|
*/
|
|
7065
|
-
export declare class MdGePointsToBSpl extends
|
|
7161
|
+
export declare class MdGePointsToBSpl extends Mx3dBaseObject {
|
|
7066
7162
|
constructor(p1?: MdGeArray1OfPnt | object, p2?: number, p3?: number, p4?: MdGe.MxGAShapeEnum, p5?: number);
|
|
7067
7163
|
Init(Points: MdGeArray1OfPnt, Parameters: MdGeArray1OfReal, DegMin?: number, DegMax?: number, Continuity?: MdGe.MxGAShapeEnum, Tol3D?: number): void;
|
|
7068
7164
|
Curve(): MdGeBSplineCurve;
|
|
@@ -7074,7 +7170,7 @@ export declare class MdGePointsToBSpl extends MdGeObject {
|
|
|
7074
7170
|
/**
|
|
7075
7171
|
* 表示拟合B样条曲面
|
|
7076
7172
|
*/
|
|
7077
|
-
export declare class MdGePointsToBSplSurface extends
|
|
7173
|
+
export declare class MdGePointsToBSplSurface extends Mx3dBaseObject {
|
|
7078
7174
|
constructor(p1?: MdGeArray2OfPnt, p2?: number, p3?: number, p4?: MdGe.MxGAShapeEnum, p5?: number);
|
|
7079
7175
|
Init(Points: MdGeArray2OfPnt, DegMin?: number, DegMax?: number, Continuity?: MdGe.MxGAShapeEnum, Tol3D?: number): void;
|
|
7080
7176
|
Interpolate(p1: MdGeArray2OfPnt | MdGeArray2OfReal, p2?: boolean | number, p3?: number, p4?: number, p5?: number): void;
|
|
@@ -7087,7 +7183,7 @@ export declare class MdGePointsToBSplSurface extends MdGeObject {
|
|
|
7087
7183
|
/**
|
|
7088
7184
|
* 表示拉伸体
|
|
7089
7185
|
*/
|
|
7090
|
-
export declare class MdGePrism extends
|
|
7186
|
+
export declare class MdGePrism extends Mx3dBaseObject {
|
|
7091
7187
|
constructor(p1?: MdGeShape | object, p2?: MdGeVec, p3?: boolean, p4?: boolean);
|
|
7092
7188
|
FirstShape(theShape?: MdGeShape): MdGeShape;
|
|
7093
7189
|
LastShape(theShape?: MdGeShape): MdGeShape;
|
|
@@ -7100,7 +7196,7 @@ export declare class MdGePrism extends MdGeObject {
|
|
|
7100
7196
|
/**
|
|
7101
7197
|
* 表示半径标注
|
|
7102
7198
|
*/
|
|
7103
|
-
export declare class MdGeRadiusDim extends
|
|
7199
|
+
export declare class MdGeRadiusDim extends Mx3dBaseObject {
|
|
7104
7200
|
constructor(p1?: MdGeCircle | object, p2?: MdGePoint);
|
|
7105
7201
|
Circle(): MdGeCircle;
|
|
7106
7202
|
AnchorPoint(): MdGePoint;
|
|
@@ -7134,7 +7230,7 @@ export declare class MdGeRadiusDim extends MdGeObject {
|
|
|
7134
7230
|
/**
|
|
7135
7231
|
* 表示一个矩形
|
|
7136
7232
|
*/
|
|
7137
|
-
export declare class MdGeRect extends
|
|
7233
|
+
export declare class MdGeRect extends Mx3dBaseObject {
|
|
7138
7234
|
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
7139
7235
|
Position(): MdGeCSYSR;
|
|
7140
7236
|
SetPosition(thePosition: MdGeCSYSR): void;
|
|
@@ -7157,7 +7253,7 @@ export declare class MdGeRect extends MdGeObject {
|
|
|
7157
7253
|
/**
|
|
7158
7254
|
* 表示旋转体
|
|
7159
7255
|
*/
|
|
7160
|
-
export declare class MdGeRevol extends
|
|
7256
|
+
export declare class MdGeRevol extends Mx3dBaseObject {
|
|
7161
7257
|
constructor(p1?: MdGeShape | object, p2?: MdGeAxis, p3?: number, p4?: boolean);
|
|
7162
7258
|
FirstShape(theShape?: MdGeShape): MdGeShape;
|
|
7163
7259
|
LastShape(theShape?: MdGeShape): MdGeShape;
|
|
@@ -7171,7 +7267,7 @@ export declare class MdGeRevol extends MdGeObject {
|
|
|
7171
7267
|
/**
|
|
7172
7268
|
* 表示一个球体
|
|
7173
7269
|
*/
|
|
7174
|
-
export declare class MdGeSphere extends
|
|
7270
|
+
export declare class MdGeSphere extends Mx3dBaseObject {
|
|
7175
7271
|
constructor(p1?: MdGeCSYS | number | object, p2?: number, p3?: number, p4?: number);
|
|
7176
7272
|
SetLocation(theLoc: MdGePoint): void;
|
|
7177
7273
|
SetPosition(theA3: MdGeCSYS): void;
|
|
@@ -7211,7 +7307,7 @@ export declare class MdGeSphere extends MdGeObject {
|
|
|
7211
7307
|
/**
|
|
7212
7308
|
* 表示文字
|
|
7213
7309
|
*/
|
|
7214
|
-
export declare class MdGeText extends
|
|
7310
|
+
export declare class MdGeText extends Mx3dBaseObject {
|
|
7215
7311
|
constructor(p1?: string | object, p2?: number, p3?: MdGeCSYSR);
|
|
7216
7312
|
SetText(theText: string): void;
|
|
7217
7313
|
Position(): MdGePoint;
|
|
@@ -7236,7 +7332,7 @@ export declare class MdGeText extends MdGeObject {
|
|
|
7236
7332
|
/**
|
|
7237
7333
|
* 表示文字标签
|
|
7238
7334
|
*/
|
|
7239
|
-
export declare class MdGeTextLabel extends
|
|
7335
|
+
export declare class MdGeTextLabel extends Mx3dBaseObject {
|
|
7240
7336
|
constructor(p1?: string | object, p2?: number, p3?: MdGePoint);
|
|
7241
7337
|
SetColor(theColor: MdGeColor): void;
|
|
7242
7338
|
SetColor(theR: number, theG: number, theB: number): void;
|
|
@@ -7289,7 +7385,7 @@ export declare class MdGeTopo {
|
|
|
7289
7385
|
/**
|
|
7290
7386
|
* 表示圆环
|
|
7291
7387
|
*/
|
|
7292
|
-
export declare class MdGeTorus extends
|
|
7388
|
+
export declare class MdGeTorus extends Mx3dBaseObject {
|
|
7293
7389
|
constructor(p1?: MdGeCSYS | object, p2?: number, p3?: number);
|
|
7294
7390
|
SetAxis(theA1: MdGeAxis): void;
|
|
7295
7391
|
SetLocation(theLoc: MdGePoint): void;
|
|
@@ -7333,7 +7429,7 @@ export declare class MdGeTorus extends MdGeObject {
|
|
|
7333
7429
|
/**
|
|
7334
7430
|
* 形状变换类
|
|
7335
7431
|
*/
|
|
7336
|
-
export declare class MdGeTransform extends
|
|
7432
|
+
export declare class MdGeTransform extends Mx3dBaseObject {
|
|
7337
7433
|
constructor(p1?: MdGeTrsf | MdGeShape | object, p2?: MdGeTrsf, p3?: boolean, p4?: boolean);
|
|
7338
7434
|
Perform(theShape: MdGeShape, theCopyGeom?: boolean, theCopyMesh?: boolean): void;
|
|
7339
7435
|
ModifiedShape(S: MdGeShape): MdGeShape;
|
|
@@ -7345,7 +7441,7 @@ export declare class MdGeTransform extends MdGeObject {
|
|
|
7345
7441
|
/**
|
|
7346
7442
|
* 表示一个楔形
|
|
7347
7443
|
*/
|
|
7348
|
-
export declare class MdGeWedge extends
|
|
7444
|
+
export declare class MdGeWedge extends Mx3dBaseObject {
|
|
7349
7445
|
constructor(p1?: number | MdGeCSYSR | object, p2?: number, p3?: number, p4?: number, p5?: number, p6?: number, p7?: number, p8?: number);
|
|
7350
7446
|
Shell(): MdGeShell;
|
|
7351
7447
|
Solid(): MdGeSolid;
|
|
@@ -7357,7 +7453,7 @@ export declare class MdGeWedge extends MdGeObject {
|
|
|
7357
7453
|
/**
|
|
7358
7454
|
* 表示几何曲面句柄
|
|
7359
7455
|
*/
|
|
7360
|
-
export declare class MdGeHGeomSurface extends
|
|
7456
|
+
export declare class MdGeHGeomSurface extends Mx3dBaseObject {
|
|
7361
7457
|
constructor(p?: object);
|
|
7362
7458
|
DynamicType(): string;
|
|
7363
7459
|
}
|
|
@@ -7367,7 +7463,7 @@ export declare class MdGeHGeomSurface extends MdGeObject {
|
|
|
7367
7463
|
/**
|
|
7368
7464
|
* 表示几何平面句柄
|
|
7369
7465
|
*/
|
|
7370
|
-
export declare class MdGeHGeomPlane extends
|
|
7466
|
+
export declare class MdGeHGeomPlane extends Mx3dBaseObject {
|
|
7371
7467
|
constructor(p?: object);
|
|
7372
7468
|
DownCast(hGeomSurface: MdGeHGeomSurface): MdGeHGeomPlane;
|
|
7373
7469
|
Axis(): MdGeAxis;
|
|
@@ -7412,7 +7508,7 @@ export declare class MdGeBRep {
|
|
|
7412
7508
|
openVrmlFromUrlByOCAF(theModelPath: string): string;
|
|
7413
7509
|
getLabelAttributes(theEntry: string): string;
|
|
7414
7510
|
refreshDocTree(): string;
|
|
7415
|
-
saveStepFile(fileName: string): void;
|
|
7511
|
+
saveStepFile(fileName: string, theDoc: Mx3dDbDocument): void;
|
|
7416
7512
|
ptCanvasToView(x: number, y: number): MdGePoint;
|
|
7417
7513
|
RemoveAllLights(): void;
|
|
7418
7514
|
AddLight(theLight: MdGeLight): void;
|
|
@@ -7440,6 +7536,7 @@ export declare class MdGeBRep {
|
|
|
7440
7536
|
moveObjectByTrsf(theEntry: string, theTrsf: MdGeTrsf): void;
|
|
7441
7537
|
printSelObjInfo(): void;
|
|
7442
7538
|
drawAisObjChildren(): void;
|
|
7539
|
+
setGradientBgColor(theColor1: MdGeColor, theColor2: MdGeColor, theMethod: MdGe.MxGradientFillMethod): void;
|
|
7443
7540
|
getVertexPosition(theVertex: MdGeVertex): MdGePoint;
|
|
7444
7541
|
getCircleCenter(theEdge: MdGeEdge): MdGePoint;
|
|
7445
7542
|
getCircleDiameter(theEdge: MdGeEdge): number;
|
|
@@ -7460,7 +7557,7 @@ export declare class MdGeBRep {
|
|
|
7460
7557
|
/**
|
|
7461
7558
|
* 表示颜色
|
|
7462
7559
|
*/
|
|
7463
|
-
export declare class MdGeColor extends
|
|
7560
|
+
export declare class MdGeColor extends Mx3dBaseObject {
|
|
7464
7561
|
constructor(p1?: MdGe.MxNameOfColor | number | object, p2?: number, p3?: number, p4?: MdGe.MxTypeOfColor);
|
|
7465
7562
|
Name(): MdGe.MxNameOfColor;
|
|
7466
7563
|
SetValues(p1: MdGe.MxNameOfColor | number, p2?: number, p3?: number, p4?: MdGe.MxTypeOfColor): void;
|
|
@@ -7485,7 +7582,7 @@ export declare class MdGeColor extends MdGeObject {
|
|
|
7485
7582
|
/**
|
|
7486
7583
|
* 表示材质
|
|
7487
7584
|
*/
|
|
7488
|
-
export declare class MdGeMaterialAspect extends
|
|
7585
|
+
export declare class MdGeMaterialAspect extends Mx3dBaseObject {
|
|
7489
7586
|
constructor(p?: MdGe.MxNameOfMaterial | object);
|
|
7490
7587
|
NumberOfMaterials(): number;
|
|
7491
7588
|
MaterialFromName(theName: string): MdGe.MxNameOfMaterial;
|
|
@@ -7522,7 +7619,7 @@ export declare class MdGeMaterialAspect extends MdGeObject {
|
|
|
7522
7619
|
/**
|
|
7523
7620
|
* 表示形状序列集合
|
|
7524
7621
|
*/
|
|
7525
|
-
export declare class MdGeSequenceOfShape extends
|
|
7622
|
+
export declare class MdGeSequenceOfShape extends Mx3dBaseObject {
|
|
7526
7623
|
constructor(p?: object);
|
|
7527
7624
|
begin(): MdGeSequenceIteratorOfSequenceOfShape;
|
|
7528
7625
|
end(): MdGeSequenceIteratorOfSequenceOfShape;
|
|
@@ -7546,7 +7643,7 @@ export declare class MdGeSequenceOfShape extends MdGeObject {
|
|
|
7546
7643
|
/**
|
|
7547
7644
|
* 表示形状序列迭代器
|
|
7548
7645
|
*/
|
|
7549
|
-
export declare class MdGeSequenceIteratorOfSequenceOfShape extends
|
|
7646
|
+
export declare class MdGeSequenceIteratorOfSequenceOfShape extends Mx3dBaseObject {
|
|
7550
7647
|
constructor(p?: object);
|
|
7551
7648
|
More(): boolean;
|
|
7552
7649
|
Next(): void;
|
|
@@ -7556,7 +7653,7 @@ export declare class MdGeSequenceIteratorOfSequenceOfShape extends MdGeObject {
|
|
|
7556
7653
|
/**
|
|
7557
7654
|
* 表示由Edges链接形成Wires
|
|
7558
7655
|
*/
|
|
7559
|
-
export declare class MdGeMakeWires extends
|
|
7656
|
+
export declare class MdGeMakeWires extends Mx3dBaseObject {
|
|
7560
7657
|
constructor(p?: object);
|
|
7561
7658
|
ConnectEdgesToWires(edges: MdGeSequenceOfShape, toler: number, shared: boolean): MdGeSequenceOfShape;
|
|
7562
7659
|
ConnectWiresToWires(iwires: MdGeSequenceOfShape, toler: number, shared: boolean): MdGeSequenceOfShape;
|
|
@@ -7564,7 +7661,7 @@ export declare class MdGeMakeWires extends MdGeObject {
|
|
|
7564
7661
|
/**
|
|
7565
7662
|
* 表示Wire生成Face
|
|
7566
7663
|
*/
|
|
7567
|
-
export declare class MdGeMakeFace extends
|
|
7664
|
+
export declare class MdGeMakeFace extends Mx3dBaseObject {
|
|
7568
7665
|
constructor(p?: MdGeWire | object);
|
|
7569
7666
|
Add(wire: MdGeWire): void;
|
|
7570
7667
|
Face(): MdGeFace;
|
|
@@ -7572,14 +7669,14 @@ export declare class MdGeMakeFace extends MdGeObject {
|
|
|
7572
7669
|
/**
|
|
7573
7670
|
* 三点圆弧
|
|
7574
7671
|
*/
|
|
7575
|
-
export declare class MdGeMakeArcOfCircle extends
|
|
7672
|
+
export declare class MdGeMakeArcOfCircle extends Mx3dBaseObject {
|
|
7576
7673
|
constructor(p1: MdGePoint | object, p2?: MdGePoint, p3?: MdGePoint);
|
|
7577
7674
|
Edge(): MdGeEdge;
|
|
7578
7675
|
}
|
|
7579
7676
|
/**
|
|
7580
7677
|
* 光照
|
|
7581
7678
|
*/
|
|
7582
|
-
export declare class MdGeLight extends
|
|
7679
|
+
export declare class MdGeLight extends Mx3dBaseObject {
|
|
7583
7680
|
constructor(p: MdGe.MxTypeOfLightSource | object);
|
|
7584
7681
|
CopyFrom(theLight: MdGeLight): void;
|
|
7585
7682
|
Type(): MdGe.MxTypeOfLightSource;
|
|
@@ -7616,7 +7713,7 @@ export declare class MdGeLight extends MdGeObject {
|
|
|
7616
7713
|
Range(): number;
|
|
7617
7714
|
SetRange(theValue: number): void;
|
|
7618
7715
|
}
|
|
7619
|
-
export declare class MdGeArrowAspect extends
|
|
7716
|
+
export declare class MdGeArrowAspect extends Mx3dBaseObject {
|
|
7620
7717
|
constructor(p1?: number | object, p2?: number);
|
|
7621
7718
|
SetAngle(anAngle: number): void;
|
|
7622
7719
|
Angle(): number;
|
|
@@ -7626,7 +7723,7 @@ export declare class MdGeArrowAspect extends MdGeObject {
|
|
|
7626
7723
|
IsZoomable(): boolean;
|
|
7627
7724
|
SetColor(theColor: MdGeColor): void;
|
|
7628
7725
|
}
|
|
7629
|
-
export declare class MdGeDimAspect extends
|
|
7726
|
+
export declare class MdGeDimAspect extends Mx3dBaseObject {
|
|
7630
7727
|
constructor(p?: object);
|
|
7631
7728
|
LineAspect(): MdGeLineAspect;
|
|
7632
7729
|
SetLineAspect(theAspect: MdGeLineAspect): void;
|
|
@@ -7656,13 +7753,13 @@ export declare class MdGeDimAspect extends MdGeObject {
|
|
|
7656
7753
|
SetValueStringFormat(theFormat: string): void;
|
|
7657
7754
|
ValueStringFormat(): string;
|
|
7658
7755
|
}
|
|
7659
|
-
export declare class MdGeLineAspect extends
|
|
7756
|
+
export declare class MdGeLineAspect extends Mx3dBaseObject {
|
|
7660
7757
|
constructor(p1: MdGeColor | object, p2?: MdGe.MxTypeOfLine, p3?: number);
|
|
7661
7758
|
SetColor(theColor: MdGeColor): void;
|
|
7662
7759
|
SetTypeOfLine(theType: MdGe.MxTypeOfLine): void;
|
|
7663
7760
|
SetWidth(theWidth: number): void;
|
|
7664
7761
|
}
|
|
7665
|
-
export declare class MdGeTextAspect extends
|
|
7762
|
+
export declare class MdGeTextAspect extends Mx3dBaseObject {
|
|
7666
7763
|
constructor(p?: object);
|
|
7667
7764
|
SetColor(theColor: MdGeColor): void;
|
|
7668
7765
|
SetFont(theFont: string): void;
|
|
@@ -7677,7 +7774,7 @@ export declare class MdGeTextAspect extends MdGeObject {
|
|
|
7677
7774
|
VerticalJustification(): MdGe.MxVerticalTextAlignment;
|
|
7678
7775
|
MxTextPath(): MdGe.MxTextPath;
|
|
7679
7776
|
}
|
|
7680
|
-
export declare class MdGeApplication extends
|
|
7777
|
+
export declare class MdGeApplication extends Mx3dBaseObject {
|
|
7681
7778
|
constructor(p?: object);
|
|
7682
7779
|
NbDocuments(): number;
|
|
7683
7780
|
GetDocument(index: number): MdGeDocument;
|
|
@@ -7685,7 +7782,7 @@ export declare class MdGeApplication extends MdGeObject {
|
|
|
7685
7782
|
InitDocument(aDoc: MdGeDocument): void;
|
|
7686
7783
|
Close(aDoc: MdGeDocument): void;
|
|
7687
7784
|
}
|
|
7688
|
-
export declare class MdGeDocument extends
|
|
7785
|
+
export declare class MdGeDocument extends Mx3dBaseObject {
|
|
7689
7786
|
constructor(p: object);
|
|
7690
7787
|
IsSaved(): boolean;
|
|
7691
7788
|
IsChanged(): boolean;
|
|
@@ -7727,7 +7824,7 @@ export declare class MdGeDocument extends MdGeObject {
|
|
|
7727
7824
|
ModificationMode(): boolean;
|
|
7728
7825
|
BeforeClose(): void;
|
|
7729
7826
|
}
|
|
7730
|
-
export declare class MdGeDocShapeTool extends
|
|
7827
|
+
export declare class MdGeDocShapeTool extends Mx3dBaseObject {
|
|
7731
7828
|
constructor(p: MdGeLabel | object);
|
|
7732
7829
|
IsTopLevel(L: MdGeLabel): boolean;
|
|
7733
7830
|
IsFree(L: MdGeLabel): boolean;
|
|
@@ -7769,7 +7866,7 @@ export declare class MdGeDocShapeTool extends MdGeObject {
|
|
|
7769
7866
|
SetLocation(theShapeLabel: MdGeLabel, theLoc: MdGeLocation): MdGeLabel;
|
|
7770
7867
|
Expand(Shape: MdGeLabel): boolean;
|
|
7771
7868
|
}
|
|
7772
|
-
export declare class MdGeDocColorTool extends
|
|
7869
|
+
export declare class MdGeDocColorTool extends Mx3dBaseObject {
|
|
7773
7870
|
constructor(p: MdGeLabel | object);
|
|
7774
7871
|
AutoNaming(): boolean;
|
|
7775
7872
|
SetAutoNaming(theIsAutoNaming: boolean): void;
|
|
@@ -7790,7 +7887,7 @@ export declare class MdGeDocColorTool extends MdGeObject {
|
|
|
7790
7887
|
SetColorByLayer(shapeLabel: MdGeLabel, isColorByLayer: boolean): void;
|
|
7791
7888
|
ReverseChainsOfTreeNodes(): boolean;
|
|
7792
7889
|
}
|
|
7793
|
-
export declare class MdGeLabel extends
|
|
7890
|
+
export declare class MdGeLabel extends Mx3dBaseObject {
|
|
7794
7891
|
constructor(p?: object);
|
|
7795
7892
|
Nullify(): void;
|
|
7796
7893
|
Tag(): number;
|
|
@@ -7816,7 +7913,7 @@ export declare class MdGeLabel extends MdGeObject {
|
|
|
7816
7913
|
HasLowerNode(otherLabel: MdGeLabel): boolean;
|
|
7817
7914
|
HasGreaterNode(otherLabel: MdGeLabel): boolean;
|
|
7818
7915
|
}
|
|
7819
|
-
export declare class MdGeLabelSequence extends
|
|
7916
|
+
export declare class MdGeLabelSequence extends Mx3dBaseObject {
|
|
7820
7917
|
constructor(p?: object);
|
|
7821
7918
|
Size(): number;
|
|
7822
7919
|
Length(): number;
|
|
@@ -7835,7 +7932,7 @@ export declare class MdGeLabelSequence extends MdGeObject {
|
|
|
7835
7932
|
Value(theIndex: number): MdGeLabel;
|
|
7836
7933
|
SetValue(theIndex: number, theItem: MdGeLabel): void;
|
|
7837
7934
|
}
|
|
7838
|
-
export declare class MdGeLocation extends
|
|
7935
|
+
export declare class MdGeLocation extends Mx3dBaseObject {
|
|
7839
7936
|
constructor(p?: MdGeTrsf | object);
|
|
7840
7937
|
IsIdentity(): boolean;
|
|
7841
7938
|
Identity(): void;
|
|
@@ -7852,7 +7949,7 @@ export declare class MdGeLocation extends MdGeObject {
|
|
|
7852
7949
|
Clear(): void;
|
|
7853
7950
|
ScalePrec(): number;
|
|
7854
7951
|
}
|
|
7855
|
-
export declare class MdGeLabelTree extends
|
|
7952
|
+
export declare class MdGeLabelTree extends Mx3dBaseObject {
|
|
7856
7953
|
constructor(p?: object);
|
|
7857
7954
|
nodeSiblingPrevious(id: number): number;
|
|
7858
7955
|
nodeSiblingNext(id: number): number;
|
|
@@ -7867,16 +7964,16 @@ export declare class MdGeLabelTree extends MdGeObject {
|
|
|
7867
7964
|
clear(): void;
|
|
7868
7965
|
appendChild(parentId: number, data: MdGeLabel): number;
|
|
7869
7966
|
}
|
|
7870
|
-
export declare class MdGeDocReader extends
|
|
7967
|
+
export declare class MdGeDocReader extends Mx3dBaseObject {
|
|
7871
7968
|
constructor(p: string | object);
|
|
7872
7969
|
ReadFile(filename: string): boolean;
|
|
7873
7970
|
ReadFile2(filename: string): boolean;
|
|
7874
7971
|
}
|
|
7875
|
-
export declare class MdGeDocWriter extends
|
|
7972
|
+
export declare class MdGeDocWriter extends Mx3dBaseObject {
|
|
7876
7973
|
constructor(p: string | object);
|
|
7877
7974
|
WriteFile(theDoc: MdGeDocument, fileName: string): boolean;
|
|
7878
7975
|
}
|
|
7879
|
-
export declare class MdGeAisContext extends
|
|
7976
|
+
export declare class MdGeAisContext extends Mx3dBaseObject {
|
|
7880
7977
|
constructor(p?: object);
|
|
7881
7978
|
DisplayStatus(anIobj: MdGeAisObject): MdGe.MxDisplayStatus;
|
|
7882
7979
|
IsDisplayed(aniobj: MdGeAisObject, aMode?: number): boolean;
|
|
@@ -7899,7 +7996,7 @@ export declare class MdGeAisContext extends MdGeObject {
|
|
|
7899
7996
|
RecomputeSelectionOnly(anIObj: MdGeAisObject): void;
|
|
7900
7997
|
Update(theIObj: MdGeAisObject, theUpdateViewer: boolean): void;
|
|
7901
7998
|
}
|
|
7902
|
-
export declare class MdGeAisObject extends
|
|
7999
|
+
export declare class MdGeAisObject extends Mx3dBaseObject {
|
|
7903
8000
|
constructor(p?: object);
|
|
7904
8001
|
}
|
|
7905
8002
|
export declare class MdGeAisShape extends MdGeAisObject {
|
|
@@ -7923,7 +8020,7 @@ export declare class MdGeAisShape extends MdGeAisObject {
|
|
|
7923
8020
|
Material(): MdGe.MxNameOfMaterial;
|
|
7924
8021
|
Transparency(): number;
|
|
7925
8022
|
}
|
|
7926
|
-
export declare class MdGeBndBox extends
|
|
8023
|
+
export declare class MdGeBndBox extends Mx3dBaseObject {
|
|
7927
8024
|
constructor(theMin?: MdGePoint | object, theMax?: MdGePoint);
|
|
7928
8025
|
SetWhole(): void;
|
|
7929
8026
|
SetVoid(): void;
|
|
@@ -7999,7 +8096,7 @@ export declare class MdGeAisTexturedShape extends MdGeAisObject {
|
|
|
7999
8096
|
SetShowTriangles(theToShowTriangles: boolean): void;
|
|
8000
8097
|
TextureModulate(): boolean;
|
|
8001
8098
|
}
|
|
8002
|
-
export declare class MdGeSpliter extends
|
|
8099
|
+
export declare class MdGeSpliter extends Mx3dBaseObject {
|
|
8003
8100
|
constructor(p?: object);
|
|
8004
8101
|
SetTools(theLS: MdGeShape[]): void;
|
|
8005
8102
|
SetArguments(theLS: MdGeShape[]): void;
|
|
@@ -8008,6 +8105,72 @@ export declare class MdGeSpliter extends MdGeObject {
|
|
|
8008
8105
|
HasWarnings(): boolean;
|
|
8009
8106
|
Shapes(): MdGeShape[];
|
|
8010
8107
|
}
|
|
8108
|
+
export declare class Mx3dGeBndBox extends Mx3dGeObject {
|
|
8109
|
+
constructor(p1?: Mx3dGePoint | object, p2?: Mx3dGePoint);
|
|
8110
|
+
}
|
|
8111
|
+
export declare class Mx3dGeColor extends Mx3dBaseObject {
|
|
8112
|
+
constructor(p1?: MdGe.MxNameOfColor | number | object, p2?: number, p3?: number);
|
|
8113
|
+
}
|
|
8114
|
+
export declare class Mx3dDbDocument extends Mx3dDbObject {
|
|
8115
|
+
constructor(p?: object);
|
|
8116
|
+
read(theFilePath: string, theFormat: MdGe.MxFormat): boolean;
|
|
8117
|
+
getAccessLabel(): Mx3dDbLabel;
|
|
8118
|
+
getShapesLabel(): Mx3dDbLabel;
|
|
8119
|
+
getColorsLabel(): Mx3dDbLabel;
|
|
8120
|
+
getLayersLabel(): Mx3dDbLabel;
|
|
8121
|
+
getDocName(): string;
|
|
8122
|
+
}
|
|
8123
|
+
export declare class Mx3dDbLabel extends Mx3dDbObject {
|
|
8124
|
+
constructor(p?: object);
|
|
8125
|
+
setShape(theShape: Mx3dShapeObject): boolean;
|
|
8126
|
+
getShape(): Mx3dShapeObject;
|
|
8127
|
+
hasChildLabel(): boolean;
|
|
8128
|
+
getChildLabels(): Mx3dLabelSequence;
|
|
8129
|
+
hasParentLabel(): boolean;
|
|
8130
|
+
getParentLabel(): Mx3dDbLabel;
|
|
8131
|
+
addChildLabel(): Mx3dDbLabel;
|
|
8132
|
+
addChildShape(theShape: Mx3dShapeObject): Mx3dDbLabel;
|
|
8133
|
+
isReference(): boolean;
|
|
8134
|
+
isAssembly(): boolean;
|
|
8135
|
+
isSimpleShape(): boolean;
|
|
8136
|
+
isTopLevel(): boolean;
|
|
8137
|
+
isFree(): boolean;
|
|
8138
|
+
isShape(): boolean;
|
|
8139
|
+
isComponent(): boolean;
|
|
8140
|
+
isCompound(): boolean;
|
|
8141
|
+
isSubShape(): boolean;
|
|
8142
|
+
getReferredLabel(): Mx3dDbLabel;
|
|
8143
|
+
addAssemblyLabel(theShape: Mx3dShapeObject): Mx3dDbLabel;
|
|
8144
|
+
getLocation(): Mx3dGeLocation;
|
|
8145
|
+
isSetColor(): boolean;
|
|
8146
|
+
setColor(theColor: Mx3dGeColor): void;
|
|
8147
|
+
getColor(): Mx3dGeColor;
|
|
8148
|
+
getName(): string;
|
|
8149
|
+
getEntry(): string;
|
|
8150
|
+
getAttributeStr(): string;
|
|
8151
|
+
}
|
|
8152
|
+
export declare class Mx3dLabelSequence extends Mx3dBaseObject {
|
|
8153
|
+
constructor(p?: object);
|
|
8154
|
+
}
|
|
8155
|
+
export declare class Mx3dLabelSequenceIterator extends Mx3dBaseObject {
|
|
8156
|
+
constructor(theLabelSequence: Mx3dLabelSequence | object);
|
|
8157
|
+
More(): boolean;
|
|
8158
|
+
Next(): void;
|
|
8159
|
+
Value(): Mx3dDbLabel;
|
|
8160
|
+
}
|
|
8161
|
+
export declare class Mx3dGeLocation extends Mx3dGeObject {
|
|
8162
|
+
constructor(p?: object);
|
|
8163
|
+
Multiplied(theLocation: Mx3dGeLocation): Mx3dGeLocation;
|
|
8164
|
+
}
|
|
8165
|
+
export declare class Mx3dGePoint extends Mx3dGeObject {
|
|
8166
|
+
constructor(p1?: number | object, p2?: number, p3?: number);
|
|
8167
|
+
X(): number;
|
|
8168
|
+
Y(): number;
|
|
8169
|
+
Z(): number;
|
|
8170
|
+
setX(theX: number): void;
|
|
8171
|
+
setY(theY: number): void;
|
|
8172
|
+
setZ(theZ: number): void;
|
|
8173
|
+
}
|
|
8011
8174
|
export declare function loadMxCADassembly3d(config: MxDraw3dConfig, call?: (mxDraw3d: MxDraw3d) => void): Promise<MxDraw3d>;
|
|
8012
8175
|
export type Map = any;
|
|
8013
8176
|
export declare class MxMap {
|