*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 coordinates in the order shown below.
Figure 1.


All <option>=<value> options should be specified in the exact order; all options are mandatory.

Inputs

Point1=<value>
The double values corresponding to each global x, y, and z coordinates of the box for corner1.
Point2=<value>
The double values corresponding to each global x, y, and z coordinates of the box for corner2.
Likewise, you must supply the arguments for the remaining six corners. For example, Point3=<value>Point8=<value>

Example

To create a solid defined by eight corner points:
*create_solid_from_eight_points Point1={-26.31670 -18.981850 16.617546} Point2={-26.31670 30.518150 16.617546} Point3={-3.097893 -18.981850 16.617546} Point4={-3.097893 30.518150 16.617546} Point5={-26.31670 -18.981850 37.217796} Point6={-26.31670 30.518150 37.217796} Point7={-3.097893 -18.981850 37.217796} Point8={-3.097893 30.518150 37.217796}

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