Distance with circumference

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Distance with circumference

    Looking for some help with the 1.839/1.849 distance. This callout is not a Cartesian distance . Its asking for the circumference value from point to point. I'm thinking this is going to need some combination of variables. Using 2015.1 CAD. Thanks!
    Attached Files

  • #2
    Right !
    The angle should be ASSIGN/V1=ABS(PT2.PA-PT1.PA)
    The length is ASSIGN/V2=DEG2RAD(V1)*CIRC1.R

    Comment


    • dph51
      dph51 commented
      Editing a comment
      Well done!

    • vpt.se
      vpt.se commented
      Editing a comment
      JEFMAN -> mathwiz!

  • #3
    Jefman...worked like a champ! good stuff. Thank you!

    Comment


    • #4
      Just to be difficult.....
      What if the diameter is significantly out of round?

      Comment


      • dph51
        dph51 commented
        Editing a comment
        Scan the feature, create 3d lines and add them together.

    • #5
      Originally posted by kingsld1 View Post
      Just to be difficult.....
      What if the diameter is significantly out of round?
      Like Dph51 said, scan with a little distance between hits, then :
      ASSIGN/V1=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ
      ASSIGN/V2=SCN1.HIT[2..SCN1.NUMHITS].XYZ
      ASSIGN/V3=SUM(SQRT(DOT(V2-V1,V2-V1)))
      ASSIGN/V4=SQRT(DOT(SCN1.HIT[SCN1.NUMHITS].XYZ-SCN1.HIT[1].XYZ,SCN1.HIT[SCN1.NUMHITS].XYZ-SCN1.HIT[1].XYZ))
      ASSIGN/LENGTH=V3+V4

      The uncertainty on this method should be approximately half of the density of the scan.

      For an open scan, keep only V3...
      Last edited by JEFMAN; 07-01-2016, 02:56 AM. Reason: V4 is only for closed scan...

      Comment


      • #6
        There is the feature type CURVE available under constructions, which has a length that can be dimensioned. With measuring points close enough it might give a good approximation.
        AndersI
        SW support - Hexagon Metrology Nordic AB

        Comment


        • JEFMAN
          JEFMAN commented
          Editing a comment
          +1 ! This solution seems to be more accurate than mine (tested off line) ...

      • #7
        Jefman can I ask where you got those commands from? Is there a big list I don't know about or is it all just hearing from others? Like the deg2rad command
        Last edited by Dsturgeon; 07-02-2016, 02:28 AM. Reason: Clarity.

        Comment


        • #8
          You can download the core manual, chap.26... Print it, read it, and try to find some memories of maths or trig...
          Assignments is only a tool box, but a very nice tool box !

          ftp://ftp.wilcoxassoc.com/docs/v2016.0manual/ (I'm unable to add the link with "add link" button... )


          ​​​​​​​But it seems to work "alone" !
          Last edited by JEFMAN; 07-04-2016, 03:29 AM. Reason: Link works without adding link

          Comment

          Related Topics

          Collapse

          Working...
          X