Hello community,
Project to propose, I am looking for help to develop a tool in python, I am a geometer apprentice, I would like to have a personalized tool which can modify the points in space.
explanation, I use a measuring tool (TS07), I put TarGets (TG) on fixed locations and I put TGs on a Large Mechanical Part (LMP). at the position of my TS07, its center is at zero, I record the values of my TS07 at each TG, which gives this:
point 1 = dist TS07 => TG1
point 2 = dist TS07 => TG2
point 3 = dist TS07 => TG3
point 4 = dist TS07 => TG4
point 5 = dist TS07 => LMP1
point 6 = dist TS07 => TG1
point 7 = dist TS07 => TG2
point 9 = dist TS07 => TG3
point 10 = is not possible to see the distance of TS07 => LMP2
so in this case I move my TS07 to another location, I take the points:
point 10 = dist TS07 => TG1
point 11 = dist TS07 => TG2
point 12 = dist TS07 => TG3
point 13 = dist TS07 => TG4
point 14 = dist TS07 => LMP2
points 10 to 13 in terms of position are equal to points 1 to 4, only their center is different because it is the center of the TS07 which moves.
I would like this tool in 1 to recover in a table variable the data from statement 1 (point 1 to 9) and in a table variable 2 the points from the 2nd statement (point 10 to 14)
then we consider that points 1 to 9 are in the correct location and that the center of zero TS07 is the X0,Y0,Z0 of the points of reading 2.
then we would need a three-dimensional conversion matrix in order to reposition points 10 to 13 according to their position 1 to 4 and depending on this transformation point 14 will have a good position in space in relation to reading 1...
I would like to do them under Python because I need this tool to work under Mac and Linux.
I share with you 2 files statement 1 and 2
the LK points are the fixed positioning points
the points p are the points noted, so on file 2, I want to have the position of the points P relative to the center of the points of file 1, and when saving the file I want to have only the list of points P
Thanks for your help.
Project to propose, I am looking for help to develop a tool in python, I am a geometer apprentice, I would like to have a personalized tool which can modify the points in space.
explanation, I use a measuring tool (TS07), I put TarGets (TG) on fixed locations and I put TGs on a Large Mechanical Part (LMP). at the position of my TS07, its center is at zero, I record the values of my TS07 at each TG, which gives this:
point 1 = dist TS07 => TG1
point 2 = dist TS07 => TG2
point 3 = dist TS07 => TG3
point 4 = dist TS07 => TG4
point 5 = dist TS07 => LMP1
point 6 = dist TS07 => TG1
point 7 = dist TS07 => TG2
point 9 = dist TS07 => TG3
point 10 = is not possible to see the distance of TS07 => LMP2
so in this case I move my TS07 to another location, I take the points:
point 10 = dist TS07 => TG1
point 11 = dist TS07 => TG2
point 12 = dist TS07 => TG3
point 13 = dist TS07 => TG4
point 14 = dist TS07 => LMP2
points 10 to 13 in terms of position are equal to points 1 to 4, only their center is different because it is the center of the TS07 which moves.
I would like this tool in 1 to recover in a table variable the data from statement 1 (point 1 to 9) and in a table variable 2 the points from the 2nd statement (point 10 to 14)
then we consider that points 1 to 9 are in the correct location and that the center of zero TS07 is the X0,Y0,Z0 of the points of reading 2.
then we would need a three-dimensional conversion matrix in order to reposition points 10 to 13 according to their position 1 to 4 and depending on this transformation point 14 will have a good position in space in relation to reading 1...
I would like to do them under Python because I need this tool to work under Mac and Linux.
I share with you 2 files statement 1 and 2
the LK points are the fixed positioning points
the points p are the points noted, so on file 2, I want to have the position of the points P relative to the center of the points of file 1, and when saving the file I want to have only the list of points P
Thanks for your help.
Attached Files

