Contructing Generic Features

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

  • Contructing Generic Features

    Good morning,
    I don't use Generic features. however, I need to use them now. How do I go about setting one up? Thanks in advance.
    Darroll
    2018R2

  • #2
    I prefer editing the feature in the command window, so I will click generic point, click ok, then key in my nominals in the code.
    153010 Global Advantage w/ LSPX1H_T Analog Probe
    7107 Global Classic TP20
    2019R1 SP1 CAD++

    Comment


    • Darrollh
      Darrollh commented
      Editing a comment
      Basically, I need to make a circle out of a distance.

  • #3
    F1 =generic/point,dependent,cartesian,$
    nom/xyz,<0,0,0>,$
    meas/xyz,<0,0,0>,$
    nom/ijk,<0,0,1>,$
    meas/ijk,<0,0,1>

    f2 =generic/point,dependent,cartesian,$
    nom/xyz,<20,0,0>,$
    meas/xyz,<20,0,0>,$
    nom/ijk,<0,0,1>,$
    meas/ijk,<0,0,1>
    midpnt1 =feat/point,cartesian,no
    theo/<10,0,0>,<0,0,1>
    actl/<10,0,0>,<0,0,1>
    constr/point,mid,f1,f2

    dim dist1= 2d distance from point f1 to point f2 (center to center),no_radius units=mm,$
    graph=off text=off mult=10.00 output=both
    ax nominal +tol -tol meas dev outtol
    m 20.000 0.010 0.010 20.000 0.000 0.000 ----#----

    f3 =generic/circle,dependent,cartesian,out,$
    nom/xyz,<midpnt1.tx,midpnt1.ty,midpnt1.tz>,$
    meas/xyz,<midpnt1.x,midpnt1.y,midpnt1.z>,$
    nom/ijk,<0,0,1>,$
    meas/ijk,<0,0,1>,$
    diameter/dist1.m.nom,dist1.m.meas

    dim loc1= location of circle f3 units=mm ,$
    graph=off text=off mult=10.00 output=both half angle=no
    ax nominal +tol -tol meas dev outtol
    x 10.000 0.050 0.050 10.000 0.000 0.000 ----#----
    y 0.000 0.050 0.050 0.000 0.000 0.000 ----#----
    z 0.000 0.050 0.050 0.000 0.000 0.000 ----#----
    d 20.000 0.050 0.050 20.000 0.000 0.000 ----#----
    end of dimension loc1

    Comment


    • #4
      In the generic box select the circle then enter the data for the nominal and measured values but leave the measured diameter at zero hit create.

      In the command window the feature F1 or what ever you have name it will appear. Edit the zero value with the data from the points if that is what you have used.

      As an example if 2 points were used the measured diameter would be entered as PNT1.X.MEAS+(PNT2.X.MEAS*-1). The multiplication by -1 is use to get a positive number
      from what ever point is returning a minus value.

      Comment


      • Darrollh
        Darrollh commented
        Editing a comment
        Thank you. I’m going to do that. Thanks again!!

      • UKCMM
        UKCMM commented
        Editing a comment
        Should have added remember to add +0 to all the feature data except the measured diameter otherwise the generic feature will change position when run.

    • #5
      Let say your measured distance is called DIST1.
      Create generic circle (Insert/Feature/Generic), give it name (let say CIR1), fill in nominal values.
      ASSIGN/CIR1.DIAM=DIST1.MEAS

      Comment


      • #6
        Darroll

        In this example, I have ONE point on each wall. I build them into a generic circle (SLOT_1) for the purpose of being able to show the tp of the center with basic.

        Note the following:
        -I am using TX, TY, TZ for the theo and X,Y,X for the actual.
        -I have locked everything down with "*1"
        -The output of the dist dimension set to NONE because all I using it for is to get the width value and feed that into my generic circle.

        Code:
        MOVE/CLEARPLANE
        PNT25      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.2375,3.23,1.122>,<1,0,0>
                    ACTL/<-0.2375,3.23,1.122>,<1,0,0>
                    TARG/<-0.2375,3.23,1.122>,<1,0,0>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=NO
                    MOVE/CLEARPLANE
        PNT26      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<0.2375,3.23,1.122>,<-1,0,0>
                    ACTL/<0.2375,3.23,1.122>,<-1,0,0>
                    TARG/<0.2375,3.23,1.122>,<-1,0,0>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=NO
        PNT27      =FEAT/POINT,CARTESIAN,NO
                    THEO/<0,3.23,1.122>,<0,0,1>
                    ACTL/<0,3.23,1.122>,<0,0,1>
                    CONSTR/POINT,MID,PNT25,PNT26
        DIM DIST1= 2D DISTANCE FROM POINT PNT25 TO POINT PNT26 PAR TO   XAXIS,NO_RADIUS  UNITS=IN,$
        GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=NONE
        AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
        M       0.4750     0.4750     0.0050     0.0050     0.0000     0.0000 ----#----
        SLOT_1     =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
                    NOM/XYZ,<PNT27.TX*1,PNT27.TY*1,PNT27.TZ*1>,$
                    MEAS/XYZ,<PNT27.X*1,PNT27.Y*1,PNT27.Z*1>,$
                    NOM/IJK,<0*1,0*1,1*1>,$
                    MEAS/IJK,<0*1,0*1,1*1>,$
                    DIAMETER/0.475*1,(DIST1.MEAS)*1
        DIM MIS_16_1__MIS_17_1= POSITION OF CIRCLE SLOT_1  UNITS=IN ,$
        GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  FIT TO DATUMS=OFF  DEV PERPEN CENTERLINE=OFF  DISPLAY=DIAMETER
        AX       MEAS    NOMINAL       +TOL       -TOL      BONUS        DEV     OUTTOL
        X      0.0000     0.0000                                      0.0000          
        DF     0.4750     0.4750     0.005     0.005     0.0000     0.0000     0.0000 ----#----
        TP     0.0000        MMC     0.008                0.0000     0.0000     0.0000 #--------
        END OF DIMENSION MIS_16_1__MIS_17_1
        Last edited by DAN_M; 10-07-2021, 01:03 PM.

        Comment

        Related Topics

        Collapse

        Working...
        X