*surfacesplinepatchforholes
Creates a spline surface inside all loops of selected lines.
Syntax
*surfacesplinepatchforholes mark_id fill_gaps options
Type
HyperMesh Tcl Modify Command
Description
Creates a spline surface inside all loops of selected lines. If the created surface’s NURBS poles are twisting, bad surfaces are deleted. Both topological and free lines can be used for the loop for spline creation. If the lines are not forming a closed loop, connecting lines can be automatically created. The tangencies of the created splines match the tangencies of any connected surfaces. Created splines are organized in the same components as the input lines.
Inputs
- mark_id
-
The ID of the mark containing the input entities. Valid values are 1 and 2.
- fill_gaps
- The gap filling mode.
- options
- The options for creating the surface. Bit values are used and the value is calculated
as (Bit0 + 2*Bit1 + 8*Bit3 + 1024*Bit10).
- Bit0
- Component mode. Used to determine which component will be used to place created surfaces.
- Bit1
- Line ends usage mode. Used to control creation of vertices on the constructed spline. Currently works only for planar surfaces.
- Bit3
- Surface stitching option. Used to override the default stitching algorithm.
- Bit10
- Mesh stitching option. Used to control the connectivity of the mesh created on the new spline surface in simultaneous meshing modes set by the *surfacemode command.
Example
To create spline surfaces for lines 1-10 and fill the
gap:
*createmark lines 1 1-10
*surfacesplinepatchforholes 1 1 0
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