Skip to main content

KShell

kds-plugin-document / Exports / KShell

Interface: KShell

壳体

壳体是一组面的集合。它代表一个 Brep 数据结构的壳体(Shell)

酷大师会尽最大可能将相互连接的面放置在一个壳体中。 但这并不永远成立,有可能一个壳体会包含一些互不相连的面。插件开发者最好不要依赖于这一假设来写业务逻辑

The KShell class represents the BRep shell.

Hierarchy

Table of contents

Methods

Methods

getEdges

getEdges(): KEdge[]

获取所包含的边

Retrieve all the involved Edges of this Shell.

Returns

KEdge[]

The array of Edges.

Overrides

KTopoShell.getEdges

Defined in

api.d.ts:4023


getFaces

getFaces(): KFace[]

获取所包含的面

Retrieve all the involved Faces of this Shell.

Returns

KFace[]

The array of Faces.

Overrides

KTopoShell.getFaces

Defined in

api.d.ts:4014


getType

getType(): KTopoType

获取酷大师图形实体类型

Get the entity's type.

Returns

KTopoType

The entity's type.

Overrides

KTopoShell.getType

Defined in

api.d.ts:4005


isVisible

isVisible(): boolean

获取所包含的面和边是否全部可见

Get whether all the faces and edges contained within shell are visible.

Returns

boolean

Defined in

api.d.ts:4031