finding the high point on a radius

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

  • finding the high point on a radius

    I have a part with three curved sides that I need to find the center of. I have a flat a Y- and can use that for my rotation but I need to be able to find the center of the part in Y before I can find the center in X. I thought there is a way to take hits on a radius which will then be calculated to find the highest point on the radius and it will auto take one hit at that point. I have attached a photo of the part I need to check. My plan is to create a line at Y-, find the highest point at Y+ and then create a mid point between the two, perpendicular to the line, which should give me point #2/center as shown on the print. Once I have that I believe I can get everything else I need but finding the high point has me stumped so far. I have used the search on PC-DMIS but I am not sure how to describe what I want to do so that I get a answer from the help section on PC-DMIS.
    high point of radius.jpg
    Last edited by MJSmith; 10-21-2019, 08:48 AM.

  • #2
    If you have scanning capability "maxindex" should work...
    Sheffield Endeavor3 9.20.8, Tesastar-SM, Leitz LSP-X1s & LSP-X1M, PCDMIS 2011 MR1

    Comment


    • #3
      I do have a scanning head. What is "maxindex"? I did a search for that and nothing came back. Will that take a hit at the highest point after the scan or is that something that will come up when I select dimension or construct a feature?

      Comment


      • #4
        You have to extract it using variables, see below explanation...

        ASSIGN/V1 = SCN1.HIT[1..SCN1.NUMHITS].Z
        ASSIGN/V2 = MAXINDICES(V1)

        Create a generic point feature using the variables below...

        Theos...

        SCN1.HIT[V2[1]].TX
        SCN1.HIT[V2[1]].TY
        SCN1.HIT[V2[1]].TZ

        Actuals...

        SCN1.HIT[V2[1]].X
        SCN1.HIT[V2[1]].Y
        SCN1.HIT[V2[1]].Z
        3.7mr3CAD++ / 2011mr1CAD++/2012mr1CAD++/QUINDOS7

        Comment


        • #5
          If you scan with a high density,, create an assignment(ASSIGN/V1=MAXINDEX(SCN1.HIT[1..SCN1.NUMHITS].Y), then create a generic point with SCN1.HIT[V1].XYZ.

          You can also create a circle, and create a point with CIRC1.X,CIRC1.Y+CIRC.R and CIRC1.Z.

          Comment


          • #6
            or, measure it as a circle, with a TON of points, then simply use the center point to make the line perp to the flat side.
            sigpic
            Originally posted by AndersI
            I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

            Comment


            • #7
              If you are a little lost between MAXINDEX and MAXINDICES, AMXINDICES create a array of order of values from the biggest to the smallest, MAXINDEX gives only the index of the max value (SO MAXINDICES[1]=maxindex !)

              Comment


              • #8
                Thank you all for your help. This is deeper knowledge then I have and right now I can only program as we do not have the physical part here. Once I can actually run the program on the part I will let you know how things go. I appreciate you taking the time to write everything out for me as I am only programming with the click of the mouse and not writing core like you have listed out for me here. Thank again for helping this novice.

                Comment


                • louisd
                  louisd commented
                  Editing a comment
                  It's a real shame that there were 5 helpful people responding, to broaden your horizons and enable you to learn something new, and you basically respond with, 'this is over my head, thanks but no thanks'. Why ask for help if you aren't going to be receptive to the advice, and/or try it out?!

                  FYI if you have CAD, this is something you CAN program without parts present.

              • #9
                That is not at all what I meant. I meant that the people that responded have way deeper knowledge than I do and I very much appreciate their help and how they simplify their explanations to help me out. I will be using the information they gave me and I am programming from a CAD model but until I have the part I won't know if I mis-programmed it. I come to this forum because there are lots of things over my head and the people on here are willing to take the time to explain and help me expand my knowledge

                Comment


                • #10
                  To all who responded if my thank you email came across as a dismissal of your help I sincerely apologize for that. What I meant is that my knowledge is not deep enough to be able to program using code as you are able to. I appreciate you spelling out how it put the code into the program so that I can hopefully get what I need. I am planning on using the codes that were presented by some of you to get what I need and if the first one works I will still try to use the other one as I am constantly trying to expand my little knowledge of PC-DMIS. Again thank you very much for your help and information and I hope to report back that I followed your suggestions correctly everything you suggested work great the first time. You will see me on this forum asking for help as I try to continue to increase my knowledge.

                  Comment


                  • #11
                    No problem, any guy here offers his solution, and if there're 5 solutions, maybe only one will be used or tested !
                    Your questions will be always welcome, even if none knows the answer, and you're surely able to answer to another guy : it's the forum !

                    Comment


                    • #12
                      MJSmith - give the suggestion from Matthew D. Hoedeman a try, if you think the others are over your head
                      PC-DMIS CAD++ 2o19 R1 SP11

                      Comment


                      • #13
                        I was looking at that but I am not sure how that will give me the mid point between the flat and the high point on the opposite radius. If I construct a line perpendicular to the flat through the center point could I then use it to make a pierce point on that radius? Would that pierce point give me the farthest point from the flat so I could then create my midpoint?
                        The codes are over my head in general but I think the codes that were suggested look like they are spelled out pretty clearly for me to try and I figure I can always come back here to pick all of your brains on how to make it work.

                        Comment


                        • #14
                          Originally posted by MJSmith View Post
                          I was looking at that but I am not sure how that will give me the mid point between the flat and the high point on the opposite radius. If I construct a line perpendicular to the flat through the center point could I then use it to make a pierce point on that radius? Would that pierce point give me the farthest point from the flat so I could then create my midpoint?
                          The codes are over my head in general but I think the codes that were suggested look like they are spelled out pretty clearly for me to try and I figure I can always come back here to pick all of your brains on how to make it work.
                          Yep, it will. You may have to also construct a line from that line to get one with the vector going the opposite direction so that the point between the line & circle is on the correct side of the circle.
                          sigpic
                          Originally posted by AndersI
                          I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                          Comment

                          Related Topics

                          Collapse

                          Working...
                          X