construct a circle from external hits

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

  • construct a circle from external hits

    Hello everybody!

    Is there a way to program pcdmis to get hit data from a txt file
    i want to it to count the hits and make a circle from that
    the hits in the txt file can range from 4 to 700 hits
    can you make a script to do that automatic????
    sigpic
    4.2mr3 CAD++ "Mr buggy(er) as we call it"

  • #2
    What does your text file look like?

    Craig
    <internet bumper sticker goes here>

    Comment


    • #3
      It's a standard text file with x y z coordinates se attached file the length of the ammount of data may change
      Attached Files
      sigpic
      4.2mr3 CAD++ "Mr buggy(er) as we call it"

      Comment


      • #4
        You would need the IJK (vector) data also.

        It might be easier to pass the diameter, location, number of hits desired, and angular sweep of arc, than to pass all of the hits....
        Links to my utilities for PCDMIS

        Comment


        • #5
          I made a little program here but i want it to be more dynamic
          i want it to count the amount of pointlines in the text file
          can it be done?

          the text file don't have vector values
          Attached Files
          sigpic
          4.2mr3 CAD++ "Mr buggy(er) as we call it"

          Comment


          • #6
            You could loop until EOF and keep track of your iterations.

            Craig
            <internet bumper sticker goes here>

            Comment


            • #7
              Will try this! thx
              sigpic
              4.2mr3 CAD++ "Mr buggy(er) as we call it"

              Comment


              • #8
                Originally posted by 666
                You could loop until EOF and keep track of your iterations.

                Craig
                I think you can do it in Datapage, why waste your time with that basic code stuff...
                Links to my utilities for PCDMIS

                Comment


                • #9
                  i don't have datapage.
                  I did a program that can scan a data file and pick the x and y value until EOF
                  and pcdmis is ploting the points on the screen and i can even get point info from them .
                  But.. i can't create a circle from them.

                  Can it be done?
                  Attached Files
                  sigpic
                  4.2mr3 CAD++ "Mr buggy(er) as we call it"

                  Comment


                  • #10
                    Sorry vektor, that was a stupid joke for Craig. Ignore my comment....
                    Links to my utilities for PCDMIS

                    Comment


                    • #11
                      ok!
                      sigpic
                      4.2mr3 CAD++ "Mr buggy(er) as we call it"

                      Comment

                      Related Topics

                      Collapse

                      Working...
                      X