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.
Creating mid circle
Collapse
X
-
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
-
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
-
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
-
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,
TKLast edited by tking; 03-13-2007, 11:16 AM.sigpicHave a homebrew
Comment
Related Topics
Collapse
-
by GeisterI used 3 different auto circles to take one 87 mm diameter due to fixture interference.
I thought I could just recall the 3 circles with construct...-
Channel: PC-DMIS for CMMs
01-07-2010, 07:33 AM -
-
by giantslayerI am working on a program and I'm trying to find pitch diameter. I have made a circle on the minor diameter and a circle at the major diameter. I try...
-
Channel: PC-DMIS for CMMs
10-24-2014, 05:51 PM -
-
by shanewarnockI need to create circle out of two points 180 deg apart.
This is to mimic a caliper check around the dia.
I need this so we can apply true...-
Channel: PC-DMIS for CMMs
05-09-2014, 06:00 PM -
-
I want to create a cast cylinder. I'm using a plane and a circle to create the cast cylinder I've succeeded so far but I can't get the diameter i want....
-
Channel: PC-DMIS for CMMs
12-31-2010, 02:02 PM -
-
by FlintstoneWe are trying to construct a circle using the two tangent lines selection. We can do that. Now we would like to have the diameter of that circle, be...
-
Channel: PC-DMIS for CMMs
06-09-2020, 02:57 PM -
Comment