*create_solid_from_eight_points

Creates a solid from eight points.

Syntax

*create_solid_from_eight_points Point1=<value>Point2=<value>Point3=<value>Point4=<value>Point5=<value>Point6=<value>Point7=<value>Point8=<value>

Type

HyperMesh Tcl Modify Command

Description

Creates a solid from eight points. You must provide eight sets of coordinates defining the corner points of the solid. All <option>=<value> options should be specified in the exact order and all the options are mandatory.

Inputs

Point1=<value>
The list of values defining global x, y, z coordinates of point 1.
This option needs to be repeated for the remaining seven points following the format Point2=<value> Point3=<value>Point8=<value>.

Example

To create a solid defined by 8 corner points:
*create_solid_from_eight_points Point1={0.0 0.0 0.0} Point2={0.0 10.0 0.0} Point3={20.0 0.0 0.0} Point4={20.0 10.0 0.0} Point5={0.0 0.0 30.0} Point6={0.0 10.0 30.0} Point7={20.0 0.0 30.0} Point8={20.0 10.0 30.0}

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2021.1