[Aa...] Posted November 5, 2021 Share Posted November 5, 2021 Does anyone know of a good way to have the .zmp output file include information about the Base Alignment's position/orientation relative to the machine coordinate system? For anyone curious enough about why I would want to, I have observed significant ram axis roll as a function of the position in the machine envelope (especially in the x-direction) on a couple of our Micuras. What I want to do is map those errors and put together a script that will adjust the position of the points based on that map and the position of their stylus relative to the master probe. Link to comment Share on other sites More sharing options...
[Me...] Posted November 5, 2021 Share Posted November 5, 2021 I suppose one way would be to write the information as additional lines to the "protheadpara" file since it will be included in the .zmp file. You would need to create a secondary alignment that references the MCS and grab the location and rotation information from there. getActual("Alignment_MCS").vector getActual("Alignment_MCS").matrix Not sure if you have it, but this would require the PCM option. Link to comment Share on other sites More sharing options...
[Cl...] Posted November 5, 2021 Share Posted November 5, 2021 Phillip, that code would go where, Postsettings? Link to comment Share on other sites More sharing options...
[Me...] Posted November 5, 2021 Share Posted November 5, 2021 Please sign in to view this quote. Yes it would go in the postsettings of the program. But the code above is just grabbing the information, you'd still need to write it to the file. addToFile(getActualInspectionDir()+"\protheadpara",getActual("Alignment_MCS").vector) addToFile(getActualInspectionDir()+"\protheadpara",getActual("Alignment_MCS").matrix) Link to comment Share on other sites More sharing options...
[Da...] Posted November 8, 2021 Share Posted November 8, 2021 If you create a new alignment, and set it to inherit from the CMM system (the drop down below the name), then leave it empty, you can access the CMM alignment. From there, you can create some theoretical features in the BA and CMM system, and use those to find the distance and angle between the two alignments. You can use result elements to output the data as well, if you want to do it that way. Link to comment Share on other sites More sharing options...
[Aa...] Posted November 8, 2021 Author Share Posted November 8, 2021 Please sign in to view this quote. Perfect! That's exactly what I was looking for! Link to comment Share on other sites More sharing options...
[Me...] Posted November 8, 2021 Share Posted November 8, 2021 Please sign in to view this quote. Theoretical features are not written to the .zmp output file. Link to comment Share on other sites More sharing options...
[Da...] Posted November 8, 2021 Share Posted November 8, 2021 Please sign in to view this quote. How in the world did you notice this ? When you say Axis roll are you detecting a twist in the Z axis ? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in