Measures

Measures are functions that compute a result from data captured from the geometry area. Measures are application-related objects and they will not be displayed in the dictionary if you do not have the right product installed (Part Design or Generative Shape Design for instance).

Sample: KwrMeasuresWiz.CATPart

  • distance (Body, Body): Length
    Returns the distance between two bodies of a part. 
  • distancedir (Body, Body, Direction): Length
    Returns the distance between two bodies of a part along a direction (volume bodies are not taken into account).
  • minimumCurvatureRadius (Curve): Length
    Enables the user to measure the minimum radius of curvature for any type of curve.
  • nbDomains (Body): Integer
     For all types of items, enables the user to compute the number of domains.
  • length (Curve): Length
    Returns the total length of a curve.
  • length (Curve, Point, Boolean): Length
    Returns the length of a curve segment located between Point1 and one end of the curve.
    Modifying the boolean value allows you to retrieve the length from the specified point to the other end.
  • length (Curve, Point, Point): Length
    Returns the length of a curve segment delimited by two points. 
  • area (Surface): Area
    Returns the area of a surface generated by the Generative Shape Design product (an extruded surface for example).
  • area (Curve): Area
    Returns the area delimited by a curve.
  • perimeter (Surface,...):Length
    Returns the perimeter of a surface. It can take several surface features in input. The perimeter function sums up the perimeter of each surface. The returned value is a length.
  • Point >coord (rank: Integer): Length
    Returns the coordinates of a point. Returns X if 1 is specified, Y if 2 is specified, Z if 3 is specified.
  • volume (closed_surface: Surface, ...): Volume
    Returns the volume of a closed surface.
  • volume (Volume geometry,...): Volume
    Returns the volume of a volume.
  • angle (center: Point, pt1: Point, pt2: Point): Angle
    Returns the angle between the lines "C-Point1" and "C-Point2".
  • angle (Direction, Direction): Angle
    Returns the angle between two directions.
  • angle (Line, Line): Angle
    Returns the angle between two lines.
  • angle (Plane, Plane): Angle
    Returns the angle between two planes.
  • angleoriented (Direction, Direction, Direction): Angle
    Returns the angle between two directions and oriented by a third direction.
  • angleoriented (Line, Line, Direction): Angle
    Returns an angle between two lines and oriented by the direction.
  • angleoriented (Plane, Plane, Direction): Angle
    Returns an angle between two planes and oriented by the direction.
  • curvature (crv: Curve, pt: Point): Real
    Returns the curvature of a curve in a given point.