*multi_trim_by_offset_edges

Trims the selected surfaces by offsetting selected edges by a given distance. Offset can be applied multiple times.

Syntax

*multi_trim_by_offset_edges input_surf_mark=<mark_id> input_line_mark=<mark_id> offset_distance=<value> offset_count=<value>

Type

HyperMesh Tcl Modify Command

Description

Offsets the selected edges and trims the input surfaces using the offset edges. You have the option to offset the original edges with the same distance multiple times.

Inputs

input_surf_mark=<mark_id>
The ID of the mark containing the input surfaces. Valid values are 1 and 2.
input_line_mark=<mark_id>
The ID of the mark containing the input edges to be used for offsetting and trimming the input surfaces. Valid values are 1 and 2.
offset_distance=<value>
The offset distance.
offset_count=<value>
The number of offsets to be performed. The value should be greater than 0.

Example

To trim surface 2 by offsetting edges 10, 12, 14, 15 by distance 5.0, 4 times.

*createmark surfaces 1 2
*createmark lines 2 10 12 14 15
*multi_trim_by_offset_edges input_surf_mark=1 input_line_mark=2 offset_distance=5.0 offset_count=4

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