*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 Command

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.
1 - Use automatic calculation of approximation tolerance from input elements.
Bit1
0 - Do not attempt automatic shell splitting in cases where surface approximation could not be calculated for given tolerance and complexity limit.
1 - Split shell 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.
1 - Stop on failure.
Bit3
0 - Ignore sharp features unless specified by input feature edges.
1 - Automatically split shell along sharp features even if not specified by input feature edges.
Bit4
0 - Ignore element component information.
1 - Use element component information to split shell and create surfaces in the same component as corresponding elements.
Bit5
0 - Do not associate nodes to created surfaces.
1 - Associate nodes to created surfaces.
Bit6
0 - Do not use automatic feature detection.
1 - Use automatic feature detection, based on twice the value defined in the feature angle setting of the Options panel.
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