Jump to content

Part position in Machine envelope


---
 Share

Recommended Posts

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

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

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

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

 Share

×
×
  • Create New...