返回介绍

指南

MxCAD API 文档

MdGeBRep

发布于 2024-07-31 21:39:59 字数 24333 浏览 0 评论 0 收藏 0

mxcad API 文档 / MdGeBRep

Class: MdGeBRep

表示Brep工具

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeBRep()

Properties

imp

Protected imp: any = 0

Methods

AddClipPlane

AddClipPlane(pln): void

Parameters

NameType
plnMdGePlane

Returns

void


AddLight

AddLight(theLight): void

Parameters

NameType
theLightMdGeLight

Returns

void


AddModelTexture

AddModelTexture(theFileName): void

Parameters

NameType
theFileNamestring

Returns

void


ChangeSelectedColor

ChangeSelectedColor(color): void

Parameters

NameType
colorMdGeColor

Returns

void


ChangeSelectedMaterial

ChangeSelectedMaterial(material): void

Parameters

NameType
materialMdGeMaterialAspect

Returns

void


Continuity

Continuity(E, F1, F2): MxGAShapeEnum

Parameters

NameType
EMdGeEdge
F1MdGeFace
F2MdGeFace

Returns

MxGAShapeEnum


Degenerated

Degenerated(E): boolean

Parameters

NameType
EMdGeEdge

Returns

boolean


DeleteAllLights

DeleteAllLights(): void

Returns

void


DisableAllLights

DisableAllLights(): void

Returns

void


DisableLight

DisableLight(theName): boolean

Parameters

NameType
theNamestring

Returns

boolean


EnableAllLights

EnableAllLights(): void

Returns

void


EnableLight

EnableLight(theName): boolean

Parameters

NameType
theNamestring

Returns

boolean


GetSelectedShapes

GetSelectedShapes(): MdGeListOfShape

Returns

MdGeListOfShape


HasContinuity

HasContinuity(E, F1?, F2?): undefined | boolean

Parameters

NameType
EMdGeEdge
F1?MdGeFace
F2?MdGeFace

Returns

undefined | boolean


IsClosed

IsClosed(p1, p2?): undefined | boolean

Parameters

NameType
p1MdGeShape \MdGeEdge
p2?MdGeFace

Returns

undefined | boolean


IsGeometric

IsGeometric(F): boolean

Parameters

NameType
FMdGeFace

Returns

boolean


MaxContinuity

MaxContinuity(theEdge): MxGAShapeEnum

Parameters

NameType
theEdgeMdGeEdge

Returns

MxGAShapeEnum


MaxTolerance

MaxTolerance(theShape, theSubShape): number

Parameters

NameType
theShapeMdGeShape
theSubShapeMxShapeEnum

Returns

number


NaturalRestriction

NaturalRestriction(F): boolean

Parameters

NameType
FMdGeFace

Returns

boolean


OutputActiveLights

OutputActiveLights(): void

Returns

void


OutputDefinedLights

OutputDefinedLights(): void

Returns

void


Parameter

Parameter(V, E, F?): number

Parameters

NameType
VMdGeVertex
EMdGeEdge
F?MdGeFace

Returns

number


Pnt

Pnt(V): MdGePoint

Parameters

NameType
VMdGeVertex

Returns

MdGePoint


RemoveAllLights

RemoveAllLights(): void

Returns

void


RemoveModelTexture

RemoveModelTexture(): void

Returns

void


SameParameter

SameParameter(E): boolean

Parameters

NameType
EMdGeEdge

Returns

boolean


SameRange

SameRange(E): boolean

Parameters

NameType
EMdGeEdge

Returns

boolean


SetAllLightsOff

SetAllLightsOff(): void

Returns

void


SetAllLightsOn

SetAllLightsOn(): void

Returns

void


SetLightOff

SetLightOff(theName): boolean

Parameters

NameType
theNamestring

Returns

boolean


SetLightOn

SetLightOn(theName): boolean

Parameters

NameType
theNamestring

Returns

boolean


SetProj

SetProj(theOrientation, theIsYup): void

Parameters

NameType
theOrientationMxV3dTypeOfOrientation
theIsYupboolean

Returns

void


SetProjectionType

SetProjectionType(theProjection): void

Parameters

NameType
theProjectionMxCameraProjection

Returns

void


Surface

Surface(F): MdGeHGeomSurface

Parameters

NameType
FMdGeFace

Returns

MdGeHGeomSurface


Tolerance

Tolerance(F): number

Parameters

NameType
FMdGeFace

Returns

number


getLabelAttributes

getLabelAttributes(theEntry): string

Parameters

NameType
theEntrystring

Returns

string


openBrepFromUrl

openBrepFromUrl(theModelPath): MdGeShape

Parameters

NameType
theModelPathstring

Returns

MdGeShape


openGltfFromUrl

openGltfFromUrl(theModelPath): MdGeShape

Parameters

NameType
theModelPathstring

Returns

MdGeShape


openGltfFromUrlByOCAF

openGltfFromUrlByOCAF(theModelPath): string

Parameters

NameType
theModelPathstring

Returns

string


openIgesFromUrl

openIgesFromUrl(theModelPath): MdGeShape

Parameters

NameType
theModelPathstring

Returns

MdGeShape


openIgesFromUrlByOCAF

openIgesFromUrlByOCAF(theModelPath): string

Parameters

NameType
theModelPathstring

Returns

string


openObjFromUrl

openObjFromUrl(theModelPath): MdGeShape

Parameters

NameType
theModelPathstring

Returns

MdGeShape


openObjFromUrlByOCAF

openObjFromUrlByOCAF(theModelPath): string

Parameters

NameType
theModelPathstring

Returns

string


openStepFromUrl

openStepFromUrl(theModelPath): MdGeShape

Parameters

NameType
theModelPathstring

Returns

MdGeShape


openStepFromUrlByOCAF

openStepFromUrlByOCAF(theModelPath): string

Parameters

NameType
theModelPathstring

Returns

string


openStlFromUrl

openStlFromUrl(theModelPath): MdGeShape

Parameters

NameType
theModelPathstring

Returns

MdGeShape


openStlFromUrlByOCAF

openStlFromUrlByOCAF(theModelPath): string

Parameters

NameType
theModelPathstring

Returns

string


openVrmlFromUrl

openVrmlFromUrl(theModelPath): MdGeShape

Parameters

NameType
theModelPathstring

Returns

MdGeShape


openVrmlFromUrlByOCAF

openVrmlFromUrlByOCAF(theModelPath): string

Parameters

NameType
theModelPathstring

Returns

string


refreshDocTree

refreshDocTree(): string

Returns

string


saveStepFile

saveStepFile(fileName): void

Parameters

NameType
fileNamestring

Returns

void

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文