Generic Line

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

  • Generic Line

    How do you construct a generic line using the actual radius of a measured circle?

    Sorry! there was somebody here tabbed on my shoulder from behind I accidently hit summit thread before I add more details.

    Here goes.
    I have circle normal vector is 0,0,1
    and I want to construct a generic line normal vector 0,0,1 position of the generic line is
    (circle/2 on X plus side),0,0
    I don't have an application for this right now, just in case.
    Last edited by lambo; 05-23-2008, 12:42 PM. Reason: more details

  • #2
    This is for a line constructed from the radius with he line in the +X direction

    Code:
    CIR1       =AUTO/CIRCLE,SHOWALLPARAMS = YES,SHOWHITS = NO
                THEO/0,0,0,0,0,1,0.75
                ACTL/0,0,0,0,0,1,0.75
                TARG/0,0,0,0,0,1
                THEO_THICKNESS = 0,RECT,IN,CIRCULAR,LEAST_SQR,ONERROR = NO,$
                AUTO MOVE = NO,DISTANCE = 0,RMEAS = None,None,None,$
                READ POS = NO,FIND HOLE = NO,REMEASURE = NO,$
                NUMHITS = 5,INIT = 0,PERM = 0,SPACER = 0,PITCH = 0,$
                START ANG = 0,END ANG = 0,DEPTH = 0.02,$
                ANGLE VEC = 1,0,0
                ASSIGN/V1 = CIR1.DIAM/2
    F1         =GENERIC/LINE,DEPENDENT,RECT,$
                NOM/XYZ,0,0,0,$
                MEAS/XYZ,CIR1.X,CIR1.Y,CIR1.Z,$
                NOM/IJK,1,0,0,$
                MEAS/IJK,1,0,0,$
                DISTANCE/0.375,V1
    Xcel & MicroVal Pfx & Global 37mr4 thru 2012mr1sp3
    Contura Calypso 5.4

    Lord, keep Your arm around my shoulder and Your hand over my mouth. Amen.

    Comment


    • #3
      Originally posted by dwade View Post
      This is for a line constructed from the radius with he line in the +X direction

      Code:
      CIR1       =AUTO/CIRCLE,SHOWALLPARAMS = YES,SHOWHITS = NO
                  THEO/0,0,0,0,0,1,0.75
                  ACTL/0,0,0,0,0,1,0.75
                  TARG/0,0,0,0,0,1
                  THEO_THICKNESS = 0,RECT,IN,CIRCULAR,LEAST_SQR,ONERROR = NO,$
                  AUTO MOVE = NO,DISTANCE = 0,RMEAS = None,None,None,$
                  READ POS = NO,FIND HOLE = NO,REMEASURE = NO,$
                  NUMHITS = 5,INIT = 0,PERM = 0,SPACER = 0,PITCH = 0,$
                  START ANG = 0,END ANG = 0,DEPTH = 0.02,$
                  ANGLE VEC = 1,0,0
                  ASSIGN/V1 = CIR1.DIAM/2
      F1         =GENERIC/LINE,DEPENDENT,RECT,$
                  NOM/XYZ,[COLOR="Blue"][/COLOR][COLOR="Blue"]CIR1.TX,CIR1.TY,CIR1.TZ[/COLOR],$
                  MEAS/XYZ,CIR1.X,CIR1.Y,CIR1.Z,$
                  NOM/IJK,1,0,0,$
                  MEAS/IJK,1,0,0,$
                  DISTANCE/0.375,V1
      Sorry (again)! I just edit my thread, I already know how to do this but not know how to as described in edited part of my thread.

      Comment


      • #4
        Code:
        CIR1       =AUTO/CIRCLE,SHOWALLPARAMS = YES,SHOWHITS = NO
                    THEO/0,0,0,0,0,1,0.75
                    ACTL/0,0,0,0,0,1,0.75
                    TARG/0,0,0,0,0,1
                    THEO_THICKNESS = 0,RECT,IN,CIRCULAR,LEAST_SQR,ONERROR = NO,$
                    AUTO MOVE = NO,DISTANCE = 0,RMEAS = None,None,None,$
                    READ POS = NO,FIND HOLE = NO,REMEASURE = NO,$
                    NUMHITS = 5,INIT = 0,PERM = 0,SPACER = 0,PITCH = 0,$
                    START ANG = 0,END ANG = 0,DEPTH = 0.02,$
                    ANGLE VEC = 1,0,0
                    ASSIGN/V1 = CIR1.DIAM/2
        F1         =GENERIC/LINE,DEPENDENT,RECT,$
                    NOM/XYZ,0,0,0,$
                    MEAS/XYZ,[COLOR="Red"]CIR1.X+CIR1.R[/COLOR],CIR1.Y,CIR1.Z,$
                    NOM/IJK,1,0,0,$
                    MEAS/IJK,1,0,0,$
                    DISTANCE/0.375,V1
        Could this work?

        Not 100% sure regarding the syntax for the CIR1.R part, could be CIR1.R.MEAS or CIR1.MEAS.R...
        You can look it up by going into the 'Assignment' dialog, though.
        PC-DMIS CAD++ 2o19 R1 SP11

        Comment


        • #5
          Originally posted by vpt.se View Post
          Code:
          CIR1       =AUTO/CIRCLE,SHOWALLPARAMS = YES,SHOWHITS = NO
                      THEO/0,0,0,0,0,1,0.75
                      ACTL/0,0,0,0,0,1,0.75
                      TARG/0,0,0,0,0,1
                      THEO_THICKNESS = 0,RECT,IN,CIRCULAR,LEAST_SQR,ONERROR = NO,$
                      AUTO MOVE = NO,DISTANCE = 0,RMEAS = None,None,None,$
                      READ POS = NO,FIND HOLE = NO,REMEASURE = NO,$
                      NUMHITS = 5,INIT = 0,PERM = 0,SPACER = 0,PITCH = 0,$
                      START ANG = 0,END ANG = 0,DEPTH = 0.02,$
                      ANGLE VEC = 1,0,0
                      ASSIGN/V1 = CIR1.DIAM/2
          F1         =GENERIC/LINE,DEPENDENT,RECT,$
                      NOM/XYZ,[COLOR="Blue"][COLOR="blue"][COLOR="blue"][SIZE="4"]CIR1.TX,CIR1.TY,CIR1.TZ[/SIZE][/COLOR][/COLOR][/COLOR],$
                      MEAS/XYZ,[COLOR="Red"]CIR1.X+CIR1.R[/COLOR],CIR1.Y,CIR1.Z,$
                      NOM/IJK,1,0,0,$
                      MEAS/IJK,1,0,0,$
                      DISTANCE/0.375,V1
          Could this work?

          Not 100% sure regarding the syntax for the CIR1.R part, could be CIR1.R.MEAS or CIR1.MEAS.R...
          You can look it up by going into the 'Assignment' dialog, though.
          No. That's the problem I'm having is to learn PCDMIS VB syntax, I tried different syntax one of them matches yours.
          By the way, I always enter the Nominal value in generic features, is this necessary or is it over kill?

          Comment


          • #6
            Originally posted by lambo View Post
            No. That's the problem I'm having is to learn PCDMIS VB syntax, I tried different syntax one of them matches yours.
            By the way, I always enter the Nominal value in generic features, is this necessary or is it over kill?
            Check the syntax via 'Assignments', choose the CIR1 in the assignment dialog (features), then properties. In there you'll find DIAM - insert that line so you get the entire syntax in the textbox, then simply remove the DIAM portion and replace it with R (as in radius). The radius property isn't displayed but it exists.
            PC-DMIS CAD++ 2o19 R1 SP11

            Comment


            • #7
              Use the expression bulider (F2) that will give you the proper syntax and yes .R will give you the measured value.

              By adding the theo values you can dimension the feature and show deviation from nominal.

              This however wil give you some wild deviations:

              Code:
              F1         =GENERIC/LINE,DEPENDENT,RECT,$
                          NOM/XYZ,CIR1.TX,CIR1.TY,CIR1.TZ,$
                          MEAS/XYZ,CIR1.X+CIR1.R,CIR1.Y,CIR1.Z,$
                          NOM/IJK,1,0,0,$
                          MEAS/IJK,1,0,0,$
                          DISTANCE/0.375,V1
              Not sure what you are doing but it sould probably be this:

              Code:
              F1         =GENERIC/LINE,DEPENDENT,RECT,$
                          NOM/XYZ,CIR1.TX[COLOR="Blue"]+CIR1.TR[/COLOR],CIR1.TY,CIR1.TZ,$
                          MEAS/XYZ,CIR1.X+CIR1.R,CIR1.Y,CIR1.Z,$
                          NOM/IJK,1,0,0,$
                          MEAS/IJK,1,0,0,$
                          DISTANCE/0.375,V1
              sigpic 1.61803399Δ
              ASSIMILATE INTERGRATE SYNTHESIZE

              Comment


              • #8
                Thanks sles, for providing the correct syntax!
                PC-DMIS CAD++ 2o19 R1 SP11

                Comment


                • #9
                  Originally posted by slesholdofthreep View Post
                  Use the expression bulider (F2) that will give you the proper syntax and yes .R will give you the measured value.

                  By adding the theo values you can dimension the feature and show deviation from nominal.

                  This however wil give you some wild deviations:

                  Code:
                  F1         =GENERIC/LINE,DEPENDENT,RECT,$
                              NOM/XYZ,CIR1.TX,CIR1.TY,CIR1.TZ,$
                              MEAS/XYZ,CIR1.X+CIR1.R,CIR1.Y,CIR1.Z,$
                              NOM/IJK,1,0,0,$
                              MEAS/IJK,1,0,0,$
                              DISTANCE/0.375,V1
                  Not sure what you are doing but it sould probably be this:

                  Code:
                  F1         =GENERIC/LINE,DEPENDENT,RECT,$
                              NOM/XYZ,CIR1.TX[COLOR="Blue"]+CIR1.TR[/COLOR],CIR1.TY,CIR1.TZ,$
                              MEAS/XYZ,CIR1.X+CIR1.R,CIR1.Y,CIR1.Z,$
                              NOM/IJK,1,0,0,$
                              MEAS/IJK,1,0,0,$
                              DISTANCE/0.375,V1
                  Can't tell how much I appreciate your help. It's exactly what I need.
                  Thank you all.

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  X