Overview | Statement List | Example


Through Curve Mesh

Synopsis

obj = BSURF/MESH,obj list1,WITH,obj list2[,TYPE,num1][,TOLER,num2,num3][,RESULT,num4][,IFERR,label:]

Description

Creates a B-surface from a collection of existing curves running in two different directions.

To create a curve mesh surface, you specify a collection of control curves known as primary and cross curves. A set of curves running in one direction could be designated as the primary curves, while the curves running in a roughly perpendicular direction would then be the cross curves. You can specify points for cross curves as long as they are the first and/or last objects specified in the list.

For a more detailed description of the curve mesh surface creation technique refer to the Modeling Help.

Parameters

Parameter

Description

MESH

Minor word indicating that the B-surface is created from a mesh of existing curves.

obj list1

A numerical list or array of existing curves to be used as primary curves.

WITH

Minor word which separates the primary curve object list from the cross curve object list.

obj list2

A numerical list or array of existing objects to be used as cross curves. Points may be included but only as the first and/or last object in the list.

TYPE

Minor word indicating that a mesh type is to follow.

num1

A positive numerical value or variable which represents the mesh surface creation method. If none is specified, or the value specified is invalid, the default value is 3 (emphasize both directions).

Value

Creation Method

1

emphasize primary curves

2

emphasize cross curves

3

emphasize both directions

TOLER

Minor word indicating that tolerance values follows. If none is specified, the default is the value set in the Unigraphics option Preferences->Modeling. You can also read and set the distance and angle tolerances using the GPA &DISTOL and &ANGTOL.

num2

A positive numerical value for the distance tolerance. This value determines how closely the surface conforms to the control curves.

num3

A positive numerical value for the intersection tolerance. The system checks the mesh of specified curves for intersection with one another. If the curves do not intersect, the minimum distance between them must be smaller than this value or the system returns an error message.

RESULT

Minor word indicating that a return area is to be provided for error messages.

num4

The return area for error messages. This variable may contain the following values representing the corresponding error messages.

Return Variable

Error Condition

-3

Error in primary curve specification.

-2

Error in cross curve specification.

-1

Unable to allocate enough memory.

0

Successful surface creation.

1

Unable to approximate primary curve.

2

Unable to approximate cross curve.

3

Maximum size exceeded, no surface created.

4

Unable to convert to poles, no surface created

5

Curves cross or bad selection (intersection parameters are not monotonic increasing).

6

Curves do not intersect within input tolerance.

7

User abort, no surface created.

10

Warning, curve mesh may build surface with inconsistent normals.

IFERR,label:

Specifies a label to which program execution jumps if an error occurs.


Copyright ©2015 ºú¾ýNX¶þ´Î¿ª·¢¹ÙÍø£¨www.UGapi.com£© QQ:85585969 All Rights Reserved.