#---------------------------
#
menu {Point ez_point_select.gif} va_try_create_point va_help(Point)
#
#---------------------------
command {"" ez_point_select.gif} va_try_create_point
#---------------------------  
 Point create: explicit or on screen

 To create a point you can either select a point on the screen,
  Points are created by continuous screen selection,
  Cancel with the mouse button to finish selection.

 or type in explicit:
  To create a point through explicit coordinates,
  type in point coordinates (X Y Z) in the entry to
  the right of P, and hit the Enter button on the keyboard.

 Notes:
  Use <Screen Select from> switch for particular selection options
  The explicit coorinates are three numbers separated by spaces.
  There is a toggle to create a material point rather than a geometry point.
#---------------------------
command {"" ez_point_mid.gif} va_try_create_point_interp
#--------------------------- 
 Point on vector

 To create a point as a midpoint between two points,
  Select two points on screen, or type in explicit.
  The midpoint is created between these two points as a ratio
  defined by distance (0 is P1, 1 is P2).
 This operation is continuous, Accept to finish operation.
 
 Notes:
 See Create point explicit for more details on point selection.
 Distance may be negative
 There is a toggle to create a material point rather than a geometry point.
 To apply a distance, the user must cancel, change distance and
 hit Enter on the keyboard.  Now when you re-enter the operation
 The new distance is used.
#---------------------------
command {"" ez_point_crv_param.gif} va_try_create_point_on_crv 
#---------------------------
 Point on curve as parameter
 To create a point on a curve at a parameter,
 Select the appropriate curve, or type in its name.
 The point is created on this curve by the param defined
 by Param.
 This operation is continuous, Accept to finish operation.
 If you then wish to split the curve at the point you created
 there is a split button.

 Notes:
 To apply a Param, the user must cancel, change distance and
 hit Enter on the keyboard.  Now when you re-enter the operation
 The new param is used.
 There is a toggle to create a material point rather than a geometry point.
#---------------------------
command {"" ez_point_lcs.gif} va_try_create_point_3pnt_3par 
#---------------------------
 Point with increments
 To create a point as an offset/delta from other points,
 Select P1 as origin point, or type in explicit
 Select P2 as local X direction, or type in explicit
 Select P3 as third point to define local XY plane, or type in explicit
 The point is created at an offset of Dx, Dy, Dz
 This operation is continuous, Accept to finish operation.

 Notes:
 See Create point explicit for more details on point selection.
 Dx, Dy, Dz may be negative
 There is a toggle to create a material point rather than a geometry point.
 To apply a Distance, the user must cancel, change distance and
 hit Enter on the keyboard.  Now when you re-enter the operation
 The new Distance is used.
#---------------------------
command {"" ez_point_int.gif} va_try_create_intersect_crv 
#---------------------------
 Point on curve intersection
 To create a point at the intersection of curves,
 Select curves, or type in curve names
 Hit Accept with the mouse button.
 A point is created at the intersection of any curves that intersect
  within the tolerance defined.
 This operation is continuous, Accept to finish operation.

 Notes:
 To apply a tolerance, the user must cancel, change tolerance and
 hit Enter on the keyboard.  Now when you re-enter the operation
 The new tolerance is used.
 There is a toggle to create a material point rather than a geometry point.
#--------------------------
command {"" ez_centerpoint_3pts.gif} va_try_create_centerpoint
#--------------------------
 Center of circle from 3 points
 To create a centerpoint from three points,
  Select P1 as first point, or type in explicit
  Select P2 as second point, or type in explicit
  Select P3 as second point, or type in explicit
  The centerpoint is created.
  This operation is continuous, Accept to finish operation.

 Notes:
 See Create point explicit for more details on point selection.
 There is a toggle to create a material point rather than a geometry point.
#-------------------------
command {"" ez_point_extract.gif} va_try_extract_points
#-------------------------
  Create points at both ends of selected curves

command {"" ez_proj_point.gif} va_try_create_point_projection
#-------------------------
 Project point(s)

 Project one or more points on selected curves and/or surfaces.
 Nearest curve or surface "point" will be used to project selected points.
  
# ---- End of Point menu ---
#===========================
#
menu {Curve ez_curve_2pts.gif}		va_try_current_fun  va_help(Curve)
#
#===========================
command {"" ez_curve_2pts.gif}		va_try_create_line 
#---------------------------
 Line between P1 and P2
 To create a line between two points,
  Select P1 as first point, or type in explicit
  Select P2 as second point, or type in explicit
  The curve is created between P1 and P2
  This operation is continuous, Accept to finish operation.

 Notes:
 See Create point explicit for more details on point selection.
#---------------------------
command {"" ez_curve_arc.gif}		va_try_create_arc
#---------------------------
 Arc from points P1,P2,P3
 To create a line between two points,
  Select P1 as first point of arc, or type in explicit
  Select P2 as second point on arc, or type in explicit
  Select P3 as end point of arc, or type in explicit
  The arc is created between P1, P2, and P3
  This operation is continuous, Accept to finish operation.

 Notes:
 See Create point explicit for more details on point selection.
#---------------------------
command {"" ez_curve_circle.gif}	va_try_create_curve_circle
#---------------------------
 Circle or arc from center
 To create a circle from 3 points,
  Select P1 as center point of circle, or type in explicit
  Select P2 to define radius (P1-P2), or type in explicit
  Select P3 to define plane of circle, or type in explicit
  The circle is created on plane (P1, P2, P3)
  This operation is continuous, Accept to finish operation.

 Notes:
 See Create point explicit for more details on point selection.
#---------------------------
command {"" ez_curve_spline.gif}	va_try_create_spl_n_pts
#---------------------------
 Spline from points
 To create a spline,
  Select 2 or more points to define a spline,
  Accept with the mouse button to create the spline
  This operation is continuous, Accept to finish operation.

 Notes:
 A created spline can be modified.
  To do this, Cancel out of the operation, and hit the ?
  Then select the spline you want to modify and Accept
  Then click the Modify button, and select the points
  of the spline you want to modify (points may need to
  be active), and Accept.
  Then move the point(s) to a new location.
#---------------------------
command {"" ez_curve_iso.gif}		va_try_create_iso_curve
#---------------------------
 Curve on surface as parameter
 To create an isocurve,
  Select the surface you want the isocurve to be created from.
  The isocurve is created at the parameter defined by Param,
  with the Direction as under direction.
 The isocurve can be modified to the proper location by either:
  Select param, and a slider comes up to move curve, or type in position
  Select Direction to change direction of isocurve (U->V, or V->U)
  Select Split to split the surface at this isocurve.
#---------------------------
command {"" ez_curve_intersect.gif} va_try_create_intersect_crvs
#---------------------------
 Curve from surfaces intersection

 To create an intersection curve(s)
  Select surfaces to find intersections between.
  Accept with the mouse to create intersection curve(s)
  This operation is continuous, Accept to finish operation.
 Notes:
 All intersections of the surfaces that are selected create one curve.
 To control this a bit better, it is recommended to select only two surfaces
 at a time.
#---------------------------
command {"" ez_curve_project.gif}	va_try_create_curve_project
#---------------------------
 Curve project on surface
 To project a curve to a surface
  Select a curve to project
  Select a surface that the curve will project to
  This operation is continuous, Accept to finish operation.
 Notes:
 Currently this will only project along a direction closest to surface.
#---------------------------
command {"" ez_curve_extract.gif}	va_try_extract_curve
#---------------------------
 Extract boundary curves from surface
#---------------------------
command {"" ez_curve_concat.gif}	va_try_concat_curves
#---------------------------
 Concatenate curves
 
 Create one curve from two or more curves and delete original curves.

 If curves are not connected then concatenation will be done
 within tolerance range.
 
 See also: Programmer's guide, ic_geo_cre_crv_concat 
#---------------------------
command {"" ez_curve_segment.gif}	va_try_segment_curve
#---------------------------
 Segment curve

 Create two or more curves from one curve.
 Options:
 Point:  Point(s) must be within tolerance distance from curve.

 For faceted curves only:
 Angle:  Angle, degree
 Plane:  Using plane, defined by point and normal vector
 Connectivity: Using connectivity

 See also: Programmer's guide, ic_geo_create_curve_segment, 
                               ic_geo_split_curve_at_point
#---------------------------
#===========================
#
menu {Surface ez_surf_curves.gif} va_try_create_surfaceN va_help(Surface)
#
#===========================
#---------------------------
command {"" ez_surf_curves.gif}		va_try_create_surfaceN
#---------------------------
 Surface from n curves
 To create a surface from a group of curves,
  Select the curves to use to create the surface (2 or more)
  Accept with the mouse, and the surface will be created.
  User has to confirm that the surface looks correct (Y on keyboard)
  This operation is continuous, Accept to finish operation.
 Notes:
 This operation makes use of several techniques to create a surface.
 If less than two curves are selected, a ruled surface is created, if
 possible.
 If it is not possible to create a ruled surface from these curves, 
 a wedge surface will be created.
#---------------------------  
command {"" ez_surf_revolve.gif}	va_try_create_surfrev_crvs
#---------------------------
 Surface(s) of revolution from curve(s)
 To create a revolved surface,
  Select 2 points to define an axis
  Select curves to revolve around the axis
  Accept to create the revolved surfaces that start at s_angle,
  and end at e_angle.
  This operation is continuous, Accept to finish operation.
 Notes:
 To apply a different start or end angle, the user must cancel, 
 change the angle and hit Enter on the keyboard.  
 Now when you re-enter the operation the new angle is used.
#---------------------------
command {"" ez_surf_driven.gif}		va_try_create_surface_driven
#---------------------------
 Surface from curve(s), driven by curve
 To create a driven surface,
  Select the drving curve.
  Select the curve(s) to be driven.
  Accept to create the driven surface(s)
  This operation is continuous, Accept to finish operation.
 Notes:
 The driven surfaces are very sensitive in the way in which the driving
 curve was created.  
 If the surfaces are not as you like, you may have to create
 the driving curve in the opposite order of how you 
 previously created the curve.
 The driving curve does not have to be attached to the other curves,
 however, the surfaces that are created are created 
 as an offset of the driving curve, so the location 
 of the driving curve in repect to the other curves is important
 as to how the surface(s) are created.
#---------------------------
command {"" ez_surf_loft.gif}		va_try_create_surface_loft
#---------------------------
 Surface loft
 To create a loft surface through some curves,
  Select the curves that the surface should be created through.
  Accept to create the lofted surface.
  This operation is continuous, Accept to finish operation.
#---------------------------
command {"" ez_surf_segment.gif}	va_try_segment_surf
#---------------------------
 Segment surface

 Create two or more surfaces from one curve.
 Options:
 Curve:  Curve must be created on the surface or projected on surface.
         Curve may be completely or partially on the selected surface.

 Additional options for faceted curves only:
 Angle:  Angle, degree
 Plane:  Using plane, defined by point and normal vector
 Connectivity: Using connectivity

 See also: Programmer's guide, ic_geo_create_surface_segment, 
                               ic_geo_trim_surface
#---------------------------
#---------------------------
#===========================
#
menu {Object ez_surf_box.gif}		va_try_create_box va_help(Object)
#
#===========================
#---------------------------
command {"" ez_surf_box.gif}		va_try_create_box
#---------------------------
 Box
 To create a box,
 Select a point, or type in explicit location.
 A box is created with height, width and base defined by dx, dy, dz.
 This operation is continuous, Accept to finish operation.
 Notes:
  To apply a different dx, dy, or dz, the user must cancel, change the value
 and hit Enter on the keyboard.  Now when you re-enter the operation
 the new value is used.
 See Create point explicit for more details on point selection.
#---------------------------
command {"" ez_surf_cyl.gif}		va_try_create_cyl
#---------------------------
 Cylinder
 To create a cylinder,
  Select two points, to define the axis.
  A cylinder is created with a radius defined by Radius.
  This operation is continuous, Accept to finish operation.
 Notes:
  To apply a different radius, the user must cancel, change the value
  and hit Enter on the keyboard.  Now when you re-enter the operation
  the new value is used.
  See Create point explicit for more details on point selection.
#---------------------------
#---------------------------
#===========================
#
menu {Util ez_geo_move.gif} va_try_glue va_help(Util)
#
#===========================
#---------------------------
command {Move ez_geo_move.gif} va_try_glue 
#---------------------------
 Move selected geometry

 There are two methods of moving the geometry.
 Curve->Curve:
 For this option, select first curve to define initial plane.
 Select second curve to define destination plane
 Then select the geometrical entities to transform.
 Accept with mouse.
 3 PTS->3 PTS:
 For this option, Use P1-P3 to define initial position
 P4-P6 to define destination postion
 Then select the geometrical entities to transform.
 Accept with mouse.

 Notes: 
 For Curve->Curve option, the curves specified must not be
 linear, since Curve-Curve uses first, last, mid point of
 curve to define P1, P2, P3.
 Function will execute 3 steps:
 a) move selection so, that center P1-P2 will be at the center of P4-P5
 b) rotate around the center to make axis P1-P2 collinear with P4-P5
 c) rotate around the axis to make P6 in one plane with P3

 Undo for this operation requires selecting Undo multiple times
#---------------------------
command {"" ez_geo_transform.gif}		va_try_transform
#---------------------------
   Copy/Move

      Move:   Move the geometry (overwrite original position).
      Copy:   Copy the geometry.
      Num copies:  Number of copies if Operation > Copy is selected.
    If more than one copy is made, the copied entities will be transformed 
    sequentially -- copy 1 will be a transform of the original, copy 2 will be a 
    transform of copy 1, copy 3 will be a transform of copy 2, etc. (see 
    "Copy/Move - Unstructured Meshes" option "Num copies" for an illustration.).

  Translate:   Enter the vector and magnitude of translation according to X Y Z coordinates.
    Select:   Select two locations on the screen to define the vector of translation.

  Rotate:   Enter angle of rotation. The center point of rotation is defined in the 
  Transform about options. 
    X, Y, Z:  Rotate about the X, Y or Z axis of the active coordinate system.

  Scale:   Enter scale factor.
     Point to scale about is defined in the Transform about option.
  Mirror:  Enter a vector that defines the normal of the mirror plane.
     Point of mirror image is defined in the Transform about option.

  Transform about
  Define the point of transformation for Rotate, Scale and Mirror.
   Origin:   Point is the origin of the model's global coordinate system.
   Centroid: Centroid of the selected entities.
   Point:   User defined point.
     Either type in the x, y, z coordinates, or press Select to select a point on 
     the displayed mesh or geometry with the left mouse button.

  Family:  For Copy, will put new entities into Selected family.
  Apply:   Activate or carry out the transformation.
  Dismiss: Dismisses the Move/copy entities menu.
#===================================
command {"" ez_repair.gif}  va_try_repair
#---------------------------
 Repair Geometry     

  Automatic and semi-automatic repairing of geometry for surfaces and curves. 

  The default pop-up menu shows limited options and parameters which works for 
  most cases. Other options are revealed by selecting Show advanced options.

  The main objective in CAD repair is to detect and close gaps between two 
  surfaces (faces) at an edge. First, the user creates a topology, and then 
  repairs any gaps or holes in this topology.

  Typically, the procedure for CAD repair is as follows:
  Set a tolerance
  Create topology (build curves and points) - the curves will automatically take 
   on the color of their association to adjacent surfaces.
  Select repair method.
  Either save the change, don't save or retry with a different repair method.
  Continue to next problem if same repair method is desired, simply select a new 
  set of curves. If a different repair method is desired use MED main menu.
#
end 
#=======================================================
# MeshProto functionality under construction
#menu {STL mesh_pro_logoa.gif} va_try_surf_segment "Trim surface"
#
#===========================
#command {"" surf_segment_icon.gif}  va_try_surf_segment "Trim surface" 
#===================================
#any non-comment text starting from first column 
#must be at the end of the file 
#===================================
