*createpointsbetweenpositions
Creates midpoints between two geometric positions in space.
Syntax
*createpointsbetweenpositions x0 y0 z0 x1 y1 z1 count end_points system_id
Type
HyperMesh Tcl Modify
Description
Creates midpoints between two geometric positions in space.
Inputs
- x0
- The x-coordinate of the start position.
- y0
- The y-coordinate of the start position.
- z0
- The z-coordinate of the start position.
- x1
- The x-coordinate of the end position.
- y1
- The y-coordinate of the end position.
- z1
- The z-coordinate of the end position.
- count
- The number of midpoints to create.
- end_points
- 0 - No point at either end
- system_id
- The ID of the system that positions the end points in space. Use 0 for global.
Examples
To create 7 points between (1.89, 8.83, 8.84) and (8.68, 1.82, 1.83):
*createpointsbetweenpositions 1.89 8.83 8.84 8.68 1.82 1.82 7 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019