Skip to content

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

Class: Mx3dMkThickSolid ​

The class that represents modeling thick walled solids inherits from Mx3dMkObject.

Hierarchy ​

Table of contents ​

Constructors ​

Methods ​

Constructors ​

constructor ​

• new Mx3dMkThickSolid()

Constructor, initialize thick walled solid objects.

Overrides ​

Mx3dMkObject.constructor

Methods ​

Build ​

▸ Build(): void

Implement modeling algorithms for thick walled solids. This method completes the construction process of thick walled solids.

Returns ​

void


IsDone ​

▸ IsDone(): boolean

Check if the modeling algorithm has been executed successfully.

Returns ​

boolean

If the modeling algorithm completes execution, return true; Otherwise, return false.


MakeThickSolidByJoin ​

▸ MakeThickSolidByJoin(S, ClosingFaces, Offset, Tol, Mode?, Intersection?, SelfInter?, Join?, RemoveIntEdges?): void

Build thick walled solids using connection algorithms. This method is based on creating a thick walled solid using a solid and a set of closed surfaces.

Parameters ​

NameTypeDefault valueDescription
S[Mx3dShapeObject] (Mx3dShapeObject. md)undefinedThe initial solid object to be used
ClosingFaces[Mx3dShapeObject] (Mx3dShapeObject. md) []undefinedObject array to be removed
OffsetnumberundefinedThe thickness value defines the thickness of the wall. Positive values indicate the outer side, while negative values indicate the inner side
TolnumberundefinedThe tolerance value defines the coincidence standard for generating shapes
Mode[MxOffsetModeenum] (../enums/MdGe. MxOffsetModeenum. md)MdGe. MxOffsetModeenum. Offset_SkinConstruction mode, default to BRepOffset_Skin, defines the parallel line construction method for free edges
IntersectionbooleanfalseCalculate intersection, not calculated by default
SelfInterbooleanfalseWhether to eliminate self crossing, default not to eliminate
Join[MxGAJoinTypeenum] (../ennus/MdGe. MxGAJoinTypeenum. md)MdGe. MxGAJoinTypeenum. GA-ArcConnection type, default to GeomAbs_Src, used to fill gaps between parallel lines
RemoveIntEdgesbooleanfalseWhether to remove internal edges, default not to remove

Returns ​

void


MakeThickSolidBySimple ​

▸ MakeThickSolidBySimple(theS, theOffsetValue): void

Build thick walled solids using simple algorithms. This method is based on creating a thick walled solid using a solid and an offset value. This algorithm does not support face removal.

Parameters ​

NameTypeDescription
TheS[Mx3dShapeObject] (Mx3dShapeObject. md)The initial solid object to be used
The OffsetValuenumberthickness value, which defines the thickness of the wall

Returns ​

void


Shape ​

▸ Shape(): Mx3dShapeObject

Obtain the shape object of a thick walled solid.

Returns ​

Mx3dShapeObject

The shape object of a thick walled solid.