hexagon logo

How to get data Min/Max diameter of circle

Hi. I have problems, I need out put data min and max diameter (or radius) and graphic after measure circle.

Please give me some advises.
  • There are a lot of threads about this, and each time, the first question is :
    What do you call min and max diameters ?
    Min circ and max inscribed, or on a LS circle, max distance between hits and center and min dist ?
    For the second case, just dimension legacy location with only "form" selected, then insert in the report an analysis view with min/max selected.
  • Make an auto-circle with as many hits as you want

    Click in your edit window. Hit F10. Click to dimension tab. Click on all of the stuff you want showing in your dimensional output (in your case, click on min/max and click off what you don't want).

    After the dimensional output in your edit window, go to Insert/Report Command/Analysis and setup a view that you'll add to your report.
  • Turning on MAX/MIN will output the max and min diameters, but it won't evaluate them.

    DIM DIM_1= LOCATION OF CIRCLE CIR1  UNITS=IN ,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  HALF ANGLE=NO
    AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL        MAX        MIN
    D       2.0000     0.0050     0.0050     2.0008     0.0008     0.0000     2.0100     2.0000 -----#---
    END OF DIMENSION DIM_1
    


    If you want to evaluate them, you need to recompute them and report them separately.

    CIR2       =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<1,0,0>,<0,0,1>,6
                ACTL/<1,0,0>,<0,0,1>,6
                TARG/<1,0,0>,<0,0,1>
                START ANG=0,END ANG=360
                ANGLE VEC=<0.7071068,0,0.7071068>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=YES
                  NUMHITS=36,DEPTH=0,PITCH=0
                  SAMPLE METHOD=SAMPLE_HITS
                  SAMPLE HITS=0,SPACER=0.25
                  AVOIDANCE MOVE=NO,DISTANCE=0.5
                  FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
                SHOW HITS=NO
    SCN1       =FEAT/SET,CARTESIAN
                THEO/<1,0,0>,<0,0,1>
                ACTL/<1,0,0>,<0,0,1>
                CONSTR/SET,BASIC,CIR2.HIT[1..CIR2.NUMHITS],,
    CIR3       =FEAT/CIRCLE,CARTESIAN,IN,MAX_INSC,NO
                THEO/<1,0,0>,<0,0,1>,6
                ACTL/<1,0,0>,<0,0,1>,6
                CONSTR/CIRCLE,BF,2D,SCN1,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,UPR=0
    CIR4       =FEAT/CIRCLE,CARTESIAN,IN,MIN_CIRCSC,NO
                THEO/<1,0,0>,<0,0,1>,6
                ACTL/<1,0,0>,<0,0,1>,6
                CONSTR/CIRCLE,BF,2D,SCN1,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,UPR=0
    DIM DIM_2= LOCATION OF CIRCLE CIR3  UNITS=IN ,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  HALF ANGLE=NO
    AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
    D       2.0000     0.0050     0.0050     2.0000     0.0000     0.0000 ----#----
    END OF DIMENSION DIM_2
    DIM DIM_3= LOCATION OF CIRCLE CIR4  UNITS=IN ,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  HALF ANGLE=NO
    AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
    D       2.0000     0.0050     0.0050     2.0100     0.0100     0.0050 -------->
    END OF DIMENSION DIM_3

  • Dimension Circularity on the circle and use the Analysis Window to get a graphical display with MAX and MIN labeled.
  • Since version 2017R1, pc-dmis correctly reports 2 sizes for diameters using the SIZE dimension. Exactly what these 2 results are depends on ASME / ISO setting. (and ISO has a lot of different options)

    You need to take a lot of points for this to work properly. I highly recommend using this size dimension.
  • Maybe an even number of hits is needed to make it work correctly...
  • That's not necessary. I's doing some clever interpolation to check diametrically opposing 'points'. But the larger the number of points, the closer to 'reality'...
  • Since version 2017R1, pc-dmis correctly reports 2 sizes for diameters using the SIZE dimension.


    And if you have an older version, this post - https://www.pcdmisforum.com/forum/pc-dmis-enterprise-metrology-software/pc-dmis-code-samples/392957-local-max-and-min-of-a-circle-two-point-measure#post392957 - may help...