*create_thin_solid_midline
Constructs midline of a section cut through selected solids.
Syntax
*create_thin_solid_midline solid_mark=<mark_id> ?<option1>=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Constructs midline of a section cut through selected solids. The section cut plane can be defined using one of the following methods: by three nodes/points/sets of coordinates, by four nodes/points/sets of coordinates defining the corners of a finite rectangle or by two sets of coordinates defining the base point and the normal vector of an infinite plane.
Inputs
- solid_mark=<mark_id>
- The ID of the mark containing the solids. Valid values are 1 and 2. Non-thin solids will be ignored.
- node_mark=<mark_id>
- The ID of the mark containing the nodes defining the cutting plane. The mark should contain 3 or 4 nodes. Valid values are 1 and 2.
- point_mark=<mark_id>
- The ID of the mark containing the points defining the cutting plane. The mark should contain 3 or 4 points. Valid values are 1 and 2.
- plane_by_point_coords={<value>}
- The value should be a list of coordinates that determine the infinite or finite cutting plane. The array should contain 9 real numbers (3 sets of xyz coordinates) or 12 numbers (4 sets of xyz coordinates).
- plane_base={<value>}
- The list containing coordinates of the base point defining the infinite cutting plane.
- plane_normal=<value>
- The list containing coordinates of the normal vector defining the infinite cutting plane.
- dest_comp=<value>
- This option specifies which component the midlines will be created in:
Examples
To create midline of a section cut for solid 131 determined by infinite plane passing through nodes 10, 11, 12:
*createmark solids 1 131
*createmark nodes 1 10 11 12
*create_thin_solid_midline solid_mark=1 node_mark=1
*createmark solids 1 131
*createmark nodes 1 10 11 12 13
*create_thin_solid_midline solid_mark=1 node_mark=1
*createmark solids 1 131
*createmark points 1 10 11 12
*create_thin_solid_midline solid_mark=1 point_mark=1
*createmark solids 1 131
*create_thin_solid_midline solid_mark=1 plane_base={1.2 3.4 5.6} plane_normal={7.0 8.0 9.0}
*createmark solids 1 131
*create_thin_solid_midline solid_mark=1 plane_by_point_coords={1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0}
*createmark solids 1 131
*create_thin_solid_midline solid_mark=1 plane_by_point_coords={0.0 0.0 3.0 0.0 1.0 3.0 1.0 0.0 3.0 1.0 1.0 3.0}
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022