*hm_meshutils_cutelements_2points

Cut elements with a box defined by 2 diagonal points.

Syntax

*hm_meshutils_cutelements_2points element_mark c1x c1y c1z c2x c2y c2z spc_collector_name box_collector_name

Type

HyperMesh Tcl Modify

Description

Cut elements with a box defined by 2 diagonal points.

Inputs

element_mark
The mark of the elements that needs to be cut.
c1x, c1y, c1z
The coordinates of the point 1.
c1x, c1y, c1z
The coordinates of the point 2.
spc_collector_name
The name of the collector in which the spcs will be created for constraining cut elements.
No entities will be created if the name is an empty string.
box_collector_name
The name of the collector in which a hexa might be created to show the cutbox.
No entities will be created if the name is an empty string.

Example

Only linear shell elements will be cut properly. For any other type of element, it will simply be deleted if it is completely or partially inside the cut box.

Errors

None.