cowrevenge : you're rigt, it needs some explanations, it was later than 10pm yesterday night...
This method allows measuring a max inscribed diameter (if the ball is perfect, then the hole will be in contact on smaller radii).
Using the formula with assignments should give :
ASSIGN/CC=DIST3D({PT1},{PT2}) or ASSIGN/CC=SQRT(DOT(PT1.XYZ-PT2.XYZ,PT1.XYZ-PT2.XYZ)) which is the same.
ASSIGN/AA=PROBEDATA("DIAM","TIP1")/2
ASSIGN/BB=PROBEDATA("DIAM","TIP2")/2
ASSIGN/DIAM_HOLE=2*AA*SIN(ACOS((AA^2+CC^2-BB^22)/(2*AA*CC)))
The location of the hole can be found by creating a generic line with PT1.XYZ and UNIT(PT2.XYZ-PT1.XYZ) as vector, then construct a pierce point between this line and the cylinder.
cowrevenge : you're rigt, it needs some explanations, it was later than 10pm yesterday night...
This method allows measuring a max inscribed diameter (if the ball is perfect, then the hole will be in contact on smaller radii).
Using the formula with assignments should give :
ASSIGN/CC=DIST3D({PT1},{PT2}) or ASSIGN/CC=SQRT(DOT(PT1.XYZ-PT2.XYZ,PT1.XYZ-PT2.XYZ)) which is the same.
ASSIGN/AA=PROBEDATA("DIAM","TIP1")/2
ASSIGN/BB=PROBEDATA("DIAM","TIP2")/2
ASSIGN/DIAM_HOLE=2*AA*SIN(ACOS((AA^2+CC^2-BB^22)/(2*AA*CC)))
The location of the hole can be found by creating a generic line with PT1.XYZ and UNIT(PT2.XYZ-PT1.XYZ) as vector, then construct a pierce point between this line and the cylinder.