*solidblock
Create a parallelepiped block solid.
Syntax
*solidblock base_x base_y base_z ivec_x ivec_y ivec_z jvec_x jvec_y jvec_z kvec_x kvec_y kvec_z
Type
HyperMesh Tcl Modify
Description
This command creates a full or partial cone or cylindrical solid.
Inputs
- base_x, base_y, base_z
- The x, y and z coordinates specifying the center point of the cone/cylinder base location.
- ivec_x, ivec_y, ivec_z
- The x, y and z coordinates specifying the first axis vector from the base location.
- jvec_x, jvec_y, jvec_z
- The x, y and z coordinates specifying the second axis vector from the base location.
- kvec_x, kvec_y, kvec_z
- The x, y and z coordinates specifying the third axis vector from the base location.
Example
To create a cube solid with its origin at (10,10,10), aligned with global system axis, having size 5:
*solidblock 10 10 10 5 0 0 0 5 0 0 0 5
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}