Skip to content

[mxcad_3d API Document](../README. md)/Mx3dMkEdge

Class: Mx3dMkWedge

The class representing the modeling wedge is inherited from Mx3dMkObject.

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

new Mx3dMkWedge(dx, dy, dz, ltx)

Constructor that accepts three size parameters and one length parameter to create a wedge shape.

Parameters

NameTypeDescription
The width of a wedge-shaped object along the x-axis
The width of the wedge-shaped object along the y-axis direction
The height dimension of the wedge-shaped object along the z-axis
LtxnumberThe length parameter of the wedge

Overrides

Mx3dMkObject.constructor

new Mx3dMkWedge(Axes, dx, dy, dz, ltx)

Constructor, accepts coordinate system and dimension parameters to create a wedge shape.

Parameters

NameTypeDescription
Axes[Mx3dGeCSYSR] (Mx3dGeCSYSR. md)Coordinate system object
The width of a wedge-shaped object along the x-axis
The width of the wedge-shaped object along the y-axis direction
The height dimension of the wedge-shaped object along the z-axis
LtxnumberThe length parameter of the wedge

Overrides

Mx3dMkObject.constructor

new Mx3dMkWedge(dx, dy, dz, xmin, zmin, xmax, zmax)

Constructor that accepts size parameters and two boundary values to create a wedge shape.

Parameters

NameTypeDescription
The width of a wedge-shaped object along the x-axis
The width of the wedge-shaped object along the y-axis direction
The height dimension of the wedge-shaped object along the z-axis
XminnumberThe minimum boundary value of a wedge in the x-axis direction
ZminnumberThe minimum boundary value of a wedge in the z-axis direction
XmaxnumberThe maximum boundary value of a wedge in the x-axis direction
ZmaxnumberThe maximum boundary value of a wedge in the z-axis direction

Overrides

Mx3dMkObject.constructor

new Mx3dMkWedge(Axes, dx, dy, dz, xmin, zmin, xmax, zmax)

Constructor that accepts coordinate system, dimension parameters, and boundary values to create a wedge shape.

Parameters

NameTypeDescription
Axes[Mx3dGeCSYSR] (Mx3dGeCSYSR. md)Coordinate system object
The width of a wedge-shaped object along the x-axis
The width of the wedge-shaped object along the y-axis direction
The height dimension of the wedge-shaped object along the z-axis
XminnumberThe minimum boundary value of a wedge in the x-axis direction
ZminnumberThe minimum boundary value of a wedge in the z-axis direction
XmaxnumberThe maximum boundary value of a wedge in the x-axis direction
ZmaxnumberThe maximum boundary value of a wedge in the z-axis direction

Overrides

Mx3dMkObject.constructor

Methods

Build

Build(): void

Implement the modeling algorithm for wedge-shaped bodies.

Returns

void


IsDone

IsDone(): boolean

Check if the modeling algorithm has been executed successfully.

Returns

boolean

The flag indicating whether the modeling algorithm execution has been completed, with true indicating completion and false indicating failure.


Shape

Shape(): Mx3dShapeObject

Obtain the topological shape of the wedge.

Returns

Mx3dShapeObject

Topological shape object.


Shell

Shell(): Mx3dShapeShell

Obtain the shell shape of the wedge-shaped object.

Returns

Mx3dShapeShell

Shell shaped object.


Solid

Solid(): Mx3dShapeSolid

Obtain the solid shape of the wedge.

Returns

Mx3dShapeSolid

Solid shaped object.