*surfacesplitwithline
Splits a surface with a line by sweeping the line along a vector.
Syntax
*surfacesplitwithline surface line vector entire_surf_flag distance
Type
HyperMesh Tcl Modify
Description
Splits a surface with a line by sweeping the line along a vector.
Inputs
- surface
- The ID of surface to be split.
- line
- The ID of the line used to split the surface.
- vector
- The vector used to sweep the line.
- entire_surf_flag
- 1 - The line is swept throughout the entire surface.
- distance
- The distance to sweep line, if entire_surf_flag is set to 0.
Example
To split surface 1 by sweeping line 2 along the x-axis for a distance of 100:
*createvector(3,1.0,0.0,0.0)
*surfacesplitwithline(1,2,3,0,100.0)
Errors
None.