Max Inscribed Line

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

  • Max Inscribed Line

    Below (and attached) is the image of the box/tab that fits into a slot. I was wondering how to determine the max inscribed width instead of the least squares fit calculated line edge.
    Attached Files

  • #2
    Use a Constructed Width. You will want to select the MAXINSCRIBED algorithm and it should work. See my example below.

    Code:
    LIN2 =FEAT/LINE,CARTESIAN,UNBOUNDED
    THEO/<0,0.1,-0.1>,<0,1,0>
    ACTL/<-0.0025,0.1,-0.1>,<-0.0003135,1,0>
    MEAS/LINE,5,ZPLUS
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,<0,0.1,-0.1>,<-1,0,0>,<0.0001,0.1,-0.1>,USE THEO=YES
    HIT/BASIC,NORMAL,<0,0.8,-0.1>,<-1,0,0>,<-0.0038,0.8,-0.1>,USE THEO=YES
    HIT/BASIC,NORMAL,<0,1.5,-0.1>,<-1,0,0>,<-0.0052,1.5,-0.1>,USE THEO=YES
    HIT/BASIC,NORMAL,<-0.0001,2.2,-0.1>,<-1,0,0>,<-0.0057,2.2,-0.1>,USE THEO=YES
    HIT/BASIC,NORMAL,<-0.0002,2.9,-0.1>,<-1,0,0>,<0,2.9,-0.1>,USE THEO=YES
    ENDMEAS/
    LIN3 =FEAT/LINE,CARTESIAN,UNBOUNDED
    THEO/<2,0.1,-0.1>,<0,1,0>
    ACTL/<2.0023,0.0999,-0.1>,<-0.0000188,1,0>
    MEAS/LINE,5,ZPLUS
    MOVE/CLEARPLANE
    HIT/BASIC,NORMAL,<2,0.1,-0.1>,<1,0,0>,<1.9999,0.0999,-0.1>,USE THEO=YES
    HIT/BASIC,NORMAL,<2,0.8,-0.1>,<1,0,0>,<2.0039,0.8,-0.1>,USE THEO=YES
    HIT/BASIC,NORMAL,<2,1.5,-0.1>,<1,0,0>,<2.0037,1.5,-0.1>,USE THEO=YES
    HIT/BASIC,NORMAL,<2,2.2,-0.1>,<1,0,0>,<2.0041,2.2,-0.1>,USE THEO=YES
    HIT/BASIC,NORMAL,<2,2.9,-0.1>,<1,0,0>,<1.9998,2.9,-0.1>,USE THEO=YES
    ENDMEAS/
    WIDTH1 =FEAT/WIDTH,CARTESIAN,OUT,LEAST_SQR,NO
    THEO/<1,1.5,-0.1>,<1,0,0>,2.0001
    MEAS/<0.9997,1.5,-0.1>,<1,0.0002,0>,2.0052
    CONSTR/WIDTH,BFRE,LIN2,LIN3
    WIDTH2 =FEAT/WIDTH,CARTESIAN,OUT,MAX_INSC,NO
    THEO/<1,1.5,-0.1>,<1,0,0>,2
    MEAS/<0.9999,1.5,-0.1>,<1,0,0>,1.9998
    CONSTR/WIDTH,BFRE,LIN2,LIN3
    WIDTH3 =FEAT/WIDTH,CARTESIAN,OUT,MIN_CIRCSC,NO
    THEO/<0.9999,1.5,-0.1>,<1,0,0>,2.0002
    MEAS/<0.9988,1.5,-0.1>,<1,-0.0006,0>,2.0099
    CONSTR/WIDTH,BFRE,LIN2,LIN3
    I took two lines (I used LSQ measured lines. I would guess it will work the same with AutoLines, but I did not confirm this) made of 5 points each on each side of a 1-2-3 block. When it took the 3 middle hits, I stuck a piece of paper in between the tip to throw off the measured values for this experiment. Then I created 3 different widths using these 2 lines- one using LSQ, one using MAXINSC, and one using MINCIRC, and you can see based off the values that these calculations are driven off of the individual hits of the lines, not the averages of the lines.

    Comment


    • #3
      Mike Ruff - That's great! I really appreciate the help and time you took to answer this.

      Comment


      • Mike Ruff
        Mike Ruff commented
        Editing a comment
        No problem! Glad I could help

    Related Topics

    Collapse

    • WolfMan
      Max and Min
      by WolfMan
      I am not near the CMM, so I cant really test this.

      If I were to measure a Circle with 12 hits. and if I were to report Min and Max value,...
      08-29-2017, 01:11 PM
    • Gabor
      Calculating methods of max/min diameters?
      by Gabor
      Dear All!

      I'm new here. I use PC-DMIS for a year. Earlier I used Zeiss and Mitutoyo softwares.
      All of softwares can calculate 5...
      02-21-2007, 05:06 AM
    • hertangel
      Min/Max
      by hertangel
      Hello,
      how do you report MIN or MAX id that's what the drawing asking.

      in other words the print calls for 25 max dimater.
      12-20-2011, 12:24 PM
    • MikeF
      Min/max of a diameter
      by MikeF
      I ran a part with the min/max turned off, the customer wants the diameter min/max so I go back in the program turn on min/max output and they show min...
      10-24-2018, 10:52 AM
    • cfranklin
      max & min
      by cfranklin
      Good morning all :

      When u print out a report, the max and min are supposed to display what values??? Is it the max and min due to the...
      01-30-2009, 10:35 AM
    Working...
    X