hexagon logo

Move Increment to Move Point Conversion Script?

Confused Is anybody familiar with a script that will scour your program and replace all the Move Increments with Move Points in the alignment context in which the moves reside? My team really doesn't like Move increments, but I really like the convenience while programing. It would be neat if there were a macro that converts them all with a click of a button.Confused
Parents
  • Hi my friend, i tryed to write a script for that, because it's sound like fun.
    i calculate the movepoints from the last hit by consider the "clearence Plane" or the "retract Value" .

    but i have a problem
    I cant extract the info from the "clearence Cube", so it will not work with that.

    sorry i think i cant help you.
    your roadmap sound a bit .. complicated


    Hmm, I know nothing of scripting in PC-DMIS, but intuitively I would think your approach is more complicated. You are trying to mathematically derive positions, vectors, and 6dof transformations in 3D space. The approach me and Cris_C were hinting at would leave all that heavy math work to existing software features of PC-DMIS, and would simply emulate a human being pressing some keys. The offline animated probe graphically traverses the path of the highlighted commands when CTRL+E is pressed, and comes to rest at the resultant position of the incremental move, then CTRL+M captures the absolute location of that resultant position as a "Move Point". No math is required, simply a matter of highlighting the correct sequence of commands to execute, the selection would be the complicated part... I would assume... Am I wrong? Confused

    Can one search for instances of a command in the edit window?
    Can one select the results of that search?
    Can one execute the selected commands?
    Can one record the DRO position of the digital stylus point at the end of execution?
Reply
  • Hi my friend, i tryed to write a script for that, because it's sound like fun.
    i calculate the movepoints from the last hit by consider the "clearence Plane" or the "retract Value" .

    but i have a problem
    I cant extract the info from the "clearence Cube", so it will not work with that.

    sorry i think i cant help you.
    your roadmap sound a bit .. complicated


    Hmm, I know nothing of scripting in PC-DMIS, but intuitively I would think your approach is more complicated. You are trying to mathematically derive positions, vectors, and 6dof transformations in 3D space. The approach me and Cris_C were hinting at would leave all that heavy math work to existing software features of PC-DMIS, and would simply emulate a human being pressing some keys. The offline animated probe graphically traverses the path of the highlighted commands when CTRL+E is pressed, and comes to rest at the resultant position of the incremental move, then CTRL+M captures the absolute location of that resultant position as a "Move Point". No math is required, simply a matter of highlighting the correct sequence of commands to execute, the selection would be the complicated part... I would assume... Am I wrong? Confused

    Can one search for instances of a command in the edit window?
    Can one select the results of that search?
    Can one execute the selected commands?
    Can one record the DRO position of the digital stylus point at the end of execution?
Children
No Data