Need some help with expression building and output value.

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

  • Need some help with expression building and output value.

    I seldom use expressions but I have a need to display the distance between concentric circles as the customer print has this dimensioned as a distance of .005-.006. This is what I have for now but I am not sure how to use this in a dimension call out. Any ideas?

    ASSIGN/V1=CIR4.RADIUS-CIR1.RADIUS

  • #2
    Create a generic feature and enter the variable into whatever axis you choose and dimension the generic feature.

    Code:
    F2         =GENERIC/POINT,DEPENDENT,CARTESIAN,$
                NOM/XYZ,<0.005,0,0>,$
                MEAS/XYZ,<V1,0,0>,$
                NOM/IJK,<0,0,1>,$
                MEAS/IJK,<0,0,1>
    Whatever a man sows, he shall reap.

    Comment


    • Jim Poehler
      Jim Poehler commented
      Editing a comment
      Worked like a charm. Thanks much..

  • #3
    Use a generic feature and populate one of the Measured values with your variable.

    F1 =GENERIC/POINT,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<0,0,0>,$
    MEAS/XYZ,<V1,0,0>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>

    Then report location as normal.

    I'm probably misunderstanding what you are intending to do, but don't you need to account for differences in circle locations in your expression?

    Comment


    • Jim Poehler
      Jim Poehler commented
      Editing a comment
      This is a cylindrical piece with segments varying in diametrical size along its length. They all share a common axis so circle to circle locations will not work. Instead of dimensioning like a "normal" print with two separate diameter call outs, they chose to dimension a distance from one OD to the adjacent one as being a distance of .004 to .006. That is why I needed to use an approach like this. Worked like a charm. Thanks much.

  • #4
    Originally posted by Jim Poehler View Post
    This is a cylindrical piece with segments varying in diametrical size along its length. They all share a common axis so circle to circle locations will not work. Instead of dimensioning like a "normal" print with two separate diameter call outs, they chose to dimension a distance from one OD to the adjacent one as being a distance of .004 to .006. That is why I needed to use an approach like this. Worked like a charm. Thanks much.
    Many ways to skin this kitten, some of which are "ordinary" programming without dwelving into all that high-falutin' fancy stuff (which I understand you are eager to get moar skillz with).

    Another would be to Construct a line, choose Alignment, create, close out, then toggle the WORKPLANE field to an axis that runs perp to whatever axis the diameters share.
    This makes an actual line feature running along your alignment's axis.
    This can easily be used to Construct Pierce Points on each OD, and then simply dimension the distance between the points.

    Comment


    • Jim Poehler
      Jim Poehler commented
      Editing a comment
      Good to know this approach as well. Tried it out and will remember it (or try to). Always many ways to program in PC-DMIS

  • #5
    Bad way of dimensioning.

    Just my 0.2 SEK.
    PC-DMIS CAD++ 2o22.2 SP3

    Comment


    • JEFMAN
      JEFMAN commented
      Editing a comment
      Maybe a radial runnout ?

    • bfire85
      bfire85 commented
      Editing a comment
      Or individual hit differences, finding the max and min thickness variations.

    • Douglas
      Douglas commented
      Editing a comment
      how is this expression not yet globally standardized as just my .00025 BTC worth
widgetinstance 190 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X