Creating mid circle

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

  • Creating mid circle

    I have two circles that are concentric to eachother, one is a hole diameter, one is a stud diameter. I want to create the mid circle between the two. I haven't tried playing with this but is this possible? If you imagine a cross section of the diameters, it would be the mid line between the out and inner diameter walls.
    I used to be high on life but I built up a tolerance.

    Brown & Sharpe Global Advantage
    PCDMIS CAD++ v2011mr2
    PH10MQ/SP600M


    sigpic

  • #2
    You could do it with variables and offset points. Use variables to obtain the difference between the circles, then use the inner circle and construct offset points using half the difference between the outer circle and inner circle in each direction X+ Y+ X- Y-. Then construct a circle from the points.
    Kevin

    Comment


    • #3
      This was quick n dirty. Just plugged it into a program I was working on.

      Code:
                  ASSIGN/V2 = ABS(CIR1.D+CIR2.D)/2
                  ASSIGN/V3 = V2/2
      CIR3       =GENERIC/CIRCLE,DEPENDENT,RECT,OUT,$
                  NOM/XYZ,0,0,0,$
                  MEAS/XYZ,0,0,0,$
                  NOM/IJK,0,1,0,$
                  MEAS/IJK,0,1,0,$
                  RADIUS/0.755,V3
      DIM D12= LOCATION OF CIRCLE CIR3  UNITS=IN ,$
      GRAPH=OFF  TEXT=OFF  MULT=1.00  OUTPUT=BOTH
      AX  NOMINAL    +TOL     -TOL     MEAS    OUTTOL 
      D    1.5100   0.0050   0.0050   1.5088   0.0000 #
      END OF DIMENSION D12
      When in doubt, post code. A second set of eyes might see something you missed.
      sigpic

      Comment


      • #4
        You can F9 that and go diameter instead of radius. Either that or divide by 4 instead of creating another variable divided by 2. I'd either make a line between the 2 or make a cylinder out of them to level to. Then translate X, Y, and Z to one circle. Assuming you're on the Z plane I'd make a generic circle half of the Z height of the second circle at X0, Y0. If you are a cylinder make the diameter the same as the cylinder if you made a line then average the diameters. I say level to a feature constructed between the 2 in case the feature is not perfectly normal to your level scenario. That way your constructed circle is perfectly between the 2 on all axis.
        Last edited by craiger_ny; 03-13-2007, 08:54 AM.
        <internet bumper sticker goes here>

        Comment


        • #5
          It's a bit long but it will get you the location and size.

          CIRCLE2 =AUTO/CIRCLE,SHOWALLPARAMS = NO,SHOWHITS = NO
          THEO/0,0,3,0,0,1,17
          ACTL/0,0,3,0,0,1,17
          TARG/0,0,3,0,0,1
          CIRCLE3 =AUTO/CIRCLE,SHOWALLPARAMS = NO,SHOWHITS = NO
          THEO/0,0,3,0,0,1,35,24
          ACTL/0,0,3,0,0,1,35,24
          TARG/0,0,3,0,0,1
          RECALL/ALIGNMENT,INTERNAL,STARTUP
          A6 =ALIGNMENT/START,RECALL:A3, LIST= YES
          ALIGNMENT/TRANS,XAXIS,CIRCLE2
          ALIGNMENT/TRANS,YAXIS,CIRCLE2
          ALIGNMENT/TRANS,ZAXIS,PNT1
          ALIGNMENT/END
          WORKPLANE/XPLUS
          LIN1 =FEAT/LINE,RECT,UNBND
          THEO/-0.5,0,0,1,0,0
          ACTL/-0.5,0,0,1,0,0
          CONSTR/LINE,ALIGN,1,WORKPLANE
          WORKPLANE/YPLUS
          LIN2 =FEAT/LINE,RECT,UNBND
          THEO/0,-0.5,0,0,1,0
          ACTL/0,-0.5,0,0,1,0
          CONSTR/LINE,ALIGN,1,WORKPLANE
          WORKPLANE/XMINUS
          LIN3 =FEAT/LINE,RECT,UNBND
          THEO/0.5,0,0,-1,0,0
          ACTL/0.5,0,0,-1,0,0
          CONSTR/LINE,ALIGN,1,WORKPLANE
          WORKPLANE/YMINUS
          LIN4 =FEAT/LINE,RECT,UNBND
          THEO/0,0.5,0,0,-1,0
          ACTL/0,0.5,0,0,-1,0
          CONSTR/LINE,ALIGN,1,WORKPLANE
          WORKPLANE/ZPLUS
          C2_PT1 =FEAT/POINT,RECT
          THEO/-8.5,0,0,1,0,0
          ACTL/-8.501,0,0,1,0,0
          CONSTR/POINT,PIERCE,LIN1,CIRCLE2
          C3_PT1 =FEAT/POINT,RECT
          THEO/-17.5,0,0,1,0,0
          ACTL/-17.501,0,0,1,0,0
          CONSTR/POINT,PIERCE,LIN1,CIRCLE3
          MID_PT1 =FEAT/POINT,RECT
          THEO/-13,0,0,0,0,1
          ACTL/-12.186,0,0,0,0,1
          CONSTR/POINT,MID,C3_PT1,C2_PT1
          C2_PT2 =FEAT/POINT,RECT
          THEO/0,-8.5,0,0,1,0
          ACTL/0,-8.484,0,0,1,0
          CONSTR/POINT,PIERCE,LIN2,CIRCLE2
          C3_PT2 =FEAT/POINT,RECT
          THEO/0,-17.5,0,0,1,0
          ACTL/0,-17.484,0,0,1,0
          CONSTR/POINT,PIERCE,LIN2,CIRCLE3
          MID_PT2 =FEAT/POINT,RECT
          THEO/0,-13,0,0,0,1
          ACTL/0,-12.195,0,0,0,1
          CONSTR/POINT,MID,C3_PT2,C2_PT2
          C2_PT3 =FEAT/POINT,RECT
          THEO/8.5,0,0,-1,0,0
          ACTL/8.499,0,0,-1,0,0
          CONSTR/POINT,PIERCE,LIN3,CIRCLE2
          C3_PT3 =FEAT/POINT,RECT
          THEO/17.5,0,0,-1,0,0
          ACTL/17.499,0,0,-1,0,0
          CONSTR/POINT,PIERCE,LIN3,CIRCLE3
          MID_PT3 =FEAT/POINT,RECT
          THEO/13,0,0,0,0,1
          ACTL/12.14,0,0,0,0,1
          CONSTR/POINT,MID,C3_PT3,C2_PT3
          C2_PT4 =FEAT/POINT,RECT
          THEO/0,8.5,0,0,-1,0
          ACTL/0,8.516,0,0,-1,0
          CONSTR/POINT,PIERCE,LIN4,CIRCLE2
          C3_PT4 =FEAT/POINT,RECT
          THEO/0,17.5,0,0,-1,0
          ACTL/0,17.516,0,0,-1,0
          CONSTR/POINT,PIERCE,LIN4,CIRCLE3
          MID_PT4 =FEAT/POINT,RECT
          THEO/0,13,0,0,0,1
          ACTL/0,12.131,0,0,0,1
          CONSTR/POINT,MID,C3_PT4,C2_PT4
          WORKPLANE/ZPLUS
          CIRCLE4 =FEAT/CIRCLE,RECT,OUT,LEAST_SQR
          THEO/0,0,0,0,0,1,26
          ACTL/-0.023,-0.032,0,0,0,1,24.326
          CONSTR/CIRCLE,BF,MID_PT1,MID_PT2,MID_PT3,MID_PT4,,
          OUTLIER_REMOVAL/OFF,3
          FILTER/OFF,UPR=0

          .02,

          TK
          Last edited by tking; 03-13-2007, 11:16 AM.
          sigpicHave a homebrew

          Comment

          Related Topics

          Collapse

          Working...
          X