ug_curve_mesh

ug_curve_mesh

Classname: ug_curve_mesh

Inherits from: ug_feature

 
    This is the user-level ug_curve_mesh class.
    This class creates a curve mesh feature.
    Whenever a list of curves/edges is specified, it must be preceded
    by Forward or Reverse to indicate the direction of interest with
    respect to the first curve/edge. I.e. { Forward, curve1, edge2,... }.
        (List) Primary:            A list of lists of the curves/edges.
                                   The list can not be empty.
        (List) Cross:              A list of lists of the curves/edges.
                                   The list can not be empty.
        (List) Spine:              A list of curves/edges.  It can be empty.
        (Name) End_Point_Method:   ( None,
                                     First_Primary_String,
                                     Last_Primary_String,
                                     Both )
        (Name) Emphasis:           ( Primary_Curves,
                                     Cross_Curves,
                                     Both }
        (Boolean) Spline_Points?: This option lets you create a body using the
                                  points and tangent values at the points for
                                  the input curves. For this option, the selected
                                  curves must be single B-curves with the same
                                  number of defining points.
                                  The curves are temporarily reparameterized through
                                  their defining points (retaining any user-defined
                                  tangent values). These temporary curves are then used
                                  to create the body. This can help create a simpler
                                  body with fewer patches.
        (Name) Creation_Method:    ( None,
                                     System_Template,
                                     Primary_Template,
                                     Cross_Template,
                                     Primary_Cross_Template }
                                   In the case of Primary_Template or Primary_Cross_Template,
                                   the user must provide Primary_Template List
                                   (see the attribute below.) Similarly, in the case of
                                   Cross_Template or Primary_Cross_Template, the user must
                                   provide Cross_Template list.
        (List) Primary_Template:   A list of lists of template curves.  Although the
                                   member lists can contain more than one curve, it is
                                   common that a member list has one curve.
        (List) Cross_Template:     A list of lists of template curves.  Although the member
                                   lists can contain more than one curves, it is common
                                   that a member list has one curve.
        (Name) Body_Type:          ( Solid,
                                     Sheet )
				   Although this implies you can create a sheet
				   body or solid body, specifying Solid does not
				   guarantee that a solid body will be produced.
				   This attribute is used only at feature
				   creation time.  Modifications to this
				   attribute after creation will be ignored.
        (List) Tolerances:         A list of three numbers specifying three tolerances:
                                   distance tolerance, angle tolerance in radians, intersection
                                   tolerance.
        (List) Constrained:        A list of constrained face information.  It contains
                                   up to four list members : the first one is for the first primary
                                   string the second one is for the last primary string,
                                   the third member is for the first cross string, and the
                                   last member is for the last cross string.  Each member list contains
                                   { constrained type , face1 , face 2 , ...  }.
                                   The constrained type is either one of
                                   ( Tangency,
                                     Curvature )
                                   An example: { {} ,
                                                  { Tangency , face11 , face12 , ....} ,
                                                  { Curvature , face21 , fcae 22 , .... } ,
                                                  {} }
                                                We just have tangency constraint for the last
                                                primary string and curvature constraint for the
                                                last cross string .
        (Name) Operation:          ( Unite,
                                     Subtract,
                                     Intersect )
        (List) Target:             List of UG body instance or UG body-based feature.
                                   The list can be empty.
                                   Can only be set at create time.
DefClass: ug_curve_mesh (ug_feature);
  (List)                                 End_Point_Method_init:    
                                         {  None, 
                                            First_Primary_String, 
                                            Last_Primary_String, 
                                            Both };
  (List)                                 Emphasis_init: 
                                         {  Primary_Curves, 
                                            Cross_Curves, 
                                            Both };
  (List)                                 Creation_Method_init: 
                                         {  None, 
                                            System_Template, 
                                            Primary_Template, 
                                            Cross_Template, 
                                            Primary_Cross_Template }; 
  (List)                                 Body_Type_init:         { 
                                            Solid, 
                                            Sheet };
  (List)                                 Operation_init: 
                                         {  Unite, 
                                            Subtract, 
                                            Intersect };
  (List Parameter Modifiable Canonical)  Primary:           {};
  (List Parameter Modifiable Canonical)  Cross:             {};
  (List Parameter Modifiable)            Spine:             {};
  (Name Parameter Modifiable)            End_Point_Method:  None;
  (Name Parameter Modifiable)            Emphasis:          Primary_Curves;
  (Boolean Parameter Modifiable)         Spline_Points?:    FALSE;
  (Name Parameter Modifiable)            Creation_Method:   None;
  (List Parameter Modifiable)            Primary_Template:  {};
  (List Parameter Modifiable)            Cross_Template:    {};
  (Name Parameter)                       Body_Type:         Sheet;
  (List Parameter Modifiable)            Tolerances:        ug_askModelTolerances();
  (List Parameter Modifiable)            Constrained:       {};
  (Name Parameter)                       Operation:         Unite;
  (List Parameter uncached)              Target:            {};