ARC length

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

  • ARC length

    Its been awhile since using PC-DMIS and I could really use some help.

    I need the ARC length between two points on a radius.

    I scavenged some code from you nice people but dont know whats next.

    I attached a word doc for reference.

    Thanks for any advice. I feel like I need to create a generic feature....


    PT1 =FEAT/POINT,CARTESIAN,NO
    THEO/<42.655,42.657,-0.75>,<-0.7070611,-0.7071525,0>
    ACTL/<42.655,42.657,-0.75>,<-0.7070611,-0.7071525,0>
    CONSTR/POINT,PIERCE,,RAD_FEA

    PT2 =FEAT/POINT,CARTESIAN,NO
    THEO/<-29.968,52.355,-0.75>,<0.496782,-0.8678754,0>
    ACTL/<-29.968,52.355,-0.75>,<0.4965542,-0.8680057,0>
    CONSTR/POINT,PIERCE,RAD_FEA,

    ASSIGN/V1=ABS(PT2.PA-PT1.PA)
    ASSIGN/V2=DEG2RAD(V1)*RAD_FEA.R
    Attached Files

  • #2
    You could create a generic line, with V2 as length, and then dimension the length only.

    Comment


    • #3
      To derive the arc length you needs;
      The arc at any length or segment,but projected to a plane normal, but best as a constructed 360 Circle
      A line or for the start arc
      A line for then end arc
      Both projected to the plane normal

      Or

      The arc or cylinder
      One plane start
      One plane end

      Stuff like that. Do you see how pc dmemon wants itz constructions spoon fed to it?
      sigpic

      Comment


      • #4
        JEFMAN

        I don't understand how to create a generic line with V2 as the length. For the Generic construction I chose the options listed below.


        >Line
        >Measured Values
        >Polar
        >Independent

        The code generated is shown below

        F1 =GENERIC/LINE,INDEPENDENT,POLAR,$
        NOM/XYZ,<0,0,0>,$
        MEAS/XYZ,<0,29.017,0>,$
        NOM/IJK,<0,0,1>,$
        MEAS/IJK,<0,0,1>,$
        DISTANCE/0,0

        Thanks for any additional suggestions

        Comment


        • #5
          I would do it like this :

          Originally posted by GWOLLNER View Post
          JEFMAN

          I don't understand how to create a generic line with V2 as the length. For the Generic construction I chose the options listed below.


          >Line
          >Measured Values
          >Polar
          >Independent

          The code generated is shown below

          F1 =GENERIC/LINE,DEPENDENT,CARTESIAN,$
          NOM/XYZ,<0,0,0>,$
          MEAS/XYZ,<0,0,0>,$
          NOM/IJK,<0,0,1>,$
          MEAS/IJK,<0,0,1>,$
          DISTANCE/V2,V2

          Thanks for any additional suggestions

          Comment


          • #6
            THis is very cool too:


            https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS3pVasY3chiwpvVErk-rdy1Bka98xFVEXQmuPJw1qACntYgZYa

            See if this will get you started, the math can be done in the demon

            TK

            Example:

            ACR LENGTH CODE EXAMPLE.JPG
            sigpic

            Comment


            • #7
              I thought this would be easier. Just trying to help a satellite company. I assumed "dimension the length" from post #2 means use the "Dimension distance", but that clearly isn't working for me.



              PNT14 =FEAT/POINT,CARTESIAN,NO
              THEO/<42.655,42.657,-0.75>,<-0.7070611,-0.7071525,0>
              ACTL/<42.655,42.657,-0.75>,<-0.7070611,-0.7071525,0>
              CONSTR/POINT,PIERCE,LIN2,RAD_FEA

              PNT15 =FEAT/POINT,CARTESIAN,NO
              THEO/<-29.968,52.355,-0.75>,<0.496782,-0.8678754,0>
              ACTL/<-29.968,52.355,-0.75>,<0.4965542,-0.8680057,0>
              CONSTR/POINT,PIERCE,LIN1,RAD_FEA

              ASSIGN/V1=ABS(PNT14.PA-PNT15.PA)
              ASSIGN/V2=DEG1RAD(V1)*RAD_FEA.R

              F1 =GENERIC/LINE,DEPENDENT,CARTESIAN,$
              NOM/XYZ,<0,0,0>,$
              MEAS/XYZ,<0,0,0>,$
              NOM/IJK,<0,0,1>,$
              MEAS/IJK,<0,0,1>,$
              DISTANCE/V2,V2

              DIM DIST1= 2D DISTANCE FROM LINE F1 TO (CENTER TO CENTER),NO_RADIUS UNITS=MM,$
              GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
              AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
              M 0.000 0.010 0.010 0.000 0.000 0.000 ----#----

              I will go back to the drawing board with this offline seat and try the suggestion from Cumofo.

              Will report back if it works

              Comment


              • #8
                I think Cumofo has a strategy that worked for me. When I dimension the radius it pulled the correct nominal. Will know more tomorrow when they try to run execute online.

                Thanks!

                Comment


                • #9
                  Originally posted by GWOLLNER View Post
                  I thought this would be easier. Just trying to help a satellite company. I assumed "dimension the length" from post #2 means use the "Dimension distance", but that clearly isn't working for me.



                  PNT14 =FEAT/POINT,CARTESIAN,NO
                  THEO/<42.655,42.657,-0.75>,<-0.7070611,-0.7071525,0>
                  ACTL/<42.655,42.657,-0.75>,<-0.7070611,-0.7071525,0>
                  CONSTR/POINT,PIERCE,LIN2,RAD_FEA

                  PNT15 =FEAT/POINT,CARTESIAN,NO
                  THEO/<-29.968,52.355,-0.75>,<0.496782,-0.8678754,0>
                  ACTL/<-29.968,52.355,-0.75>,<0.4965542,-0.8680057,0>
                  CONSTR/POINT,PIERCE,LIN1,RAD_FEA

                  ASSIGN/V1=ABS(PNT14.PA-PNT15.PA)
                  ASSIGN/V2=DEG1RAD(V1)*RAD_FEA.R

                  F1 =GENERIC/LINE,DEPENDENT,CARTESIAN,$
                  NOM/XYZ,<0,0,0>,$
                  MEAS/XYZ,<0,0,0>,$
                  NOM/IJK,<0,0,1>,$
                  MEAS/IJK,<0,0,1>,$
                  DISTANCE/V2,V2

                  DIM DIST1= 2D DISTANCE FROM LINE F1 TO (CENTER TO CENTER),NO_RADIUS UNITS=MM,$
                  GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
                  AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
                  M 0.000 0.010 0.010 0.000 0.000 0.000 ----#----

                  I will go back to the drawing board with this offline seat and try the suggestion from Cumofo.

                  Will report back if it works
                  Dimension the length means "dimension the length" !
                  Use Feature location, then select F1, unselect "auto" and select L (for length !)
                  Hope this helps, you had done the hard part by calculating the length ...

                  Comment


                  • #10
                    Cumofo's post worked for me! Thanks for the help guys!

                    Comment


                    • tking
                      tking commented
                      Editing a comment
                      You're quite welcome

                      TK

                  • #11
                    Originally posted by GWOLLNER View Post
                    Cumofo's post worked for me! Thanks for the help guys!
                    cant take credit for that. I stole it from T-King.
                    sigpic

                    Comment


                    • tking
                      tking commented
                      Editing a comment
                      There's no stealing here, Cumofo! Sharing the joy of life and the pain of the Demon.

                      TK

                  Related Topics

                  Collapse

                  Working...
                  X