convert circles to individual points

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

  • convert circles to individual points

    is there a way to convert an existing measured circle into individual points? i have a profile callout for a circular feature and was hoping to not have to re-create it just for this callout

  • #2
    You can create a cast point of the circle then edit the cast point as below. You will need to create a cast point for every point in the circle (5 point circle = 5 cast points).

    PNT1 =FEAT/POINT,CARTESIAN,NO
    THEO/<3.3606,-1949.6263,-2020.8902>,<0,0,-1>
    ACTL/<3.3606,-1949.6263,-2020.8902>,<0,0,-1>
    CONSTR/POINT,CAST,CIR1.HIT[1]PNT100 =FEAT/POINT,CARTESIAN,NO
    THEO/<3.3606,-1949.6263,-2020.8902>,<0,0,-1>
    ACTL/<3.3606,-1949.6263,-2020.8902>,<0,0,-1>
    CONSTR/POINT,CAST,CIR1.HIT[1]
    DeWain Hodge

    Comment


    • #3
      If you programmed to the correct basics, you should just be able to ask for the profile of the circle. Double check that it's taking all the individual hits by turning on TEXT.

      IIRC, as soon as you add a second feature it stops looking at the hits and looks at the derived centers.

      If it doesn't work, and your nominals are correct, create a scanset out of the hits like such:

      Code:
      CIR1 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
      THEO/<-0.03,-0.052,-0.0669>,<0,0,1>,0.1587
      ACTL/<-0.03,-0.052,-0.0669>,<0,0,1>,0.1587
      TARG/<-0.03,-0.052,-0.0669>,<0,0,1>
      START ANG=0,END ANG=0
      ANGLE VEC=<1,0,0>
      DIRECTION=CCW
      SHOW FEATURE PARAMETERS=NO
      SHOW CONTACT PARAMETERS=YES
      NUMHITS=100,DEPTH=0.0787,PITCH=0
      SAMPLE METHOD=SAMPLE_HITS
      SAMPLE HITS=0,SPACER=0
      AVOIDANCE MOVE=NO,DISTANCE=0.3937
      FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
      SHOW HITS=NO
      
      SCN1 =FEAT/SET,CARTESIAN
      THEO/<-0.0199,0.0151,0.0039>,<0,0,1>
      ACTL/<-0.0199,0.0151,0.0039>,<0,0,1>
      CONSTR/SET,BASIC,CIR1.[SIZE=14px][B]HIT[1..CIR1.NUMHITS][/B][/SIZE],,

      Comment


      • #4
        The "To_points" script in the code forum can do this for you.
        PC-DMIS CAD++ 2o22.2 SP3

        Comment


        • #5
          I like to use the radio button in the auto circle dialog box.AUTO_CIR_DIALOG BOX.JPG
          sigpic

          Comment


          • acgarcia
            acgarcia commented
            Editing a comment
            for versions 2018 and up I believe

          • vpt.se
            vpt.se commented
            Editing a comment
            Ah yes, the incorporation of the "To_points" script. If this button is missing in your PC-DMIS version, the solution is the mentioned script.

        • #6
          thank you gentlemen. i appreciate your help

          Comment

          Related Topics

          Collapse

          Working...
          X