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).


  • 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

    For an item of dimension 1 (a curve), enables the user to measure its minimum radius of curvature.


  • 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 of the curve ends. 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 center-pt1 and center-pt2.


  • 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.