*ossmooth_createsurf_auto
Creates surfaces from OSSmooth isosurface and autobead results.
Syntax
*ossmooth_createsurf_auto feature_angle options complexity tolerance reserved
Type
HyperMesh Tcl Modify
Description
Creates surfaces from OSSmooth isosurface and autobead results.
Inputs
- feature_angle
- The feature angle to use for feature edges detection.
- options
- Specifies options for creating the surfaces. Bit values are used and the value is
calculated as (Bit0 + 2*Bit1 + 4*Bit2 + 8*Bit3 + 16*Bit4 + 32*Bit5 +
64*Bit6).
- Bit0
- 0 – Use given tolerance to control accuracy.
- Bit1
- 0 – Do not attempt automatic shell splitting in cases where surface approximation could not be calculated for given tolerance and complexity limit.
- Bit2
- 0 – Ignore failure on some patches and calculate the remainder.
- Bit3
- 0 – Ignore sharp features unless specified by input feature edges.
- Bit4
- 0 – Ignore element component information.
- Bit5
- 0 – Do not associate nodes to created surfaces.
- Bit6
- 0 – Do not use automatic feature detection.
- complexity
- A number controlling the maximum complexity of a single surface patch. This sets the maximum number of control points for a surface.
- tolerance
- Geometry simplification tolerance. Defines the maximum distance between original and simplified geometries.
- reserved
- Reserved for future use. Must be set to 0.
Example
To execute OSSmooth to construct surfaces from shell elements, using 30 degree feature angle to create feature edges, using a tolerance of 0.1, limiting the number of control points to 1200:
*ossmooth_createsurf_auto 30 42 1200 0.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
12.0