*surfacesplineonlinesloop
Create a single spline surface on a loop of lines.
Syntax
*surfacesplineonlinesloop mark_id fill_gaps use_surfs options
Type
HyperMesh Tcl Modify
Description
Create surface spline using lines selected by markmask 1. If lines are not connected into closed loop, create connecting lines. If selected lines are topological lines connected to some other surfaces, tangency of lines created to close the gaps in the loop should match tangency of connected surfaces. Tangency of created spline matches the tangency of connected surfaces (if any). Created spline is placed into the same component that selected lines belong to.
Inputs
- mark_id
- Selection markmask for lines that are used for the loop to create the spline on. Both topological and free lines can be used.
- fill_gaps
- Gap filling mode
- use_surfs
- Connected surfaces usage mode.
- options
- Specifies 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.
- 0 - Current component is used.
- 1 - Component of input lines is used. If different components are used as input, the component to which the majority of the lines belong is used.
- Bit1
- Line ends usage mode. Used to control creation of vertices on the constructed
spline. Currently works only for planar surfaces.
- 0 - Vertices are created automatically on constructed surface.
- 1 - Vertices are created at input line ends.
- Bit3
- Surface stitching option. Used to override the default stitching algorithm.
- 0 - Default stitching algorithm as defined by *geomstitching command.
- 1 - Created surface is not stitched to any of model surfaces.
- Bit10
- Mesh stitching option. Used to control the connectivity of the mesh created on
the new spline surface in simultaneous meshing modes set by
*surfacemode command.
- 0 - New mesh is not connected.
- 1 - In *surfacemode 1, existing mesh nodes on input lines are used if new spline edges are stitched to those lines. In *surfacemode 2, existing mesh nodes on input lines are used to create the mesh on the new spline surface.
Example
*surfacesplineonlinesloop 1 1 1 1
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}