S3D.mesher
This namespace provides methods to interact with the plate mesher.
S3D.mesher.meshPlates
#
Description: Mesh a plate.
Operation Type: Synchronous
Params: S3D.mesher.meshPlates(Object)
Object properties:
Key | Type | Accepts | Description |
---|---|---|---|
plateIDs | [integer] | An array of integers. | A list of plate IDs to be meshed. |
b_nDivisions | integer | A normal number. | Divisions along the breadth. |
h_nDivisions | integer | A normal number. | Divisions along the height. |
structuredMeshMethod | float | 0 = Quadrilaterals | The shape to mesh. |
Sample:
meshPlate.js
S3D.mesher.unMeshPlates
#
Description: Unmesh a plate.
Operation Type: Synchronous
Params: S3D.mesher.unMeshPlates(plateIds, refresh)
Key | Type | Accepts | Description |
---|---|---|---|
plateIds | [integer] | An array of integers. | A list of plate IDs to be unmeshed. |
refresh | boolean | true , false . | Whether to refresh the UI on finish. |
Sample:
meshPlate.js