[Ma...] Posted January 21, 2021 Share Posted January 21, 2021 Hi. I've been asked to modify our methodology of measurement of circumferential grooves to suit our customers methodology who uses Mitutoyo software. Here is an example of one of their programs methods, but in this case the Gauge Height is 14,8mm. I've tried a couple of ideas, but the PCM fails with reciprocal dependencies. Any ideas of how I can achieve this? Any pointers would be greatly appreciated. Below is where i've got to so far. Thanks in advance. Link to comment Share on other sites More sharing options...
[Is...] Posted January 21, 2021 Share Posted January 21, 2021 notice that using line features you are intersecting with the LSQ line (or the method selected to generate the line), for more accurate result I would use a curve instead.. also you don’t need a loop to generate the intersection with the gauge value, you can generate a theoretical cylinder with this value an intersect it with the two sections.. Edit: my mistake this method is not going to center correctly the gauge diameter…cilind.png Link to comment Share on other sites More sharing options...
[Ma...] Posted January 21, 2021 Author Share Posted January 21, 2021 I agree that the curve might produce a more accurate measurement, however the method you've described doesn't match the spec required from the customer. This is where I've got to so far with experimenting, it kind of seems to work, however the GAUGE variable doesn't update and it doesn't stop when reached it's specified dimension. Link to comment Share on other sites More sharing options...
[Ke...] Posted January 21, 2021 Share Posted January 21, 2021 This is probably too simple... but could you recall the two lines into a Cone, and do a cone calculation to get the location of the length (Position Definition at D - in cone calculation) Link to comment Share on other sites More sharing options...
[Is...] Posted January 21, 2021 Share Posted January 21, 2021 Please sign in to view this quote. the method required by your customer is horrible Link to comment Share on other sites More sharing options...
[Is...] Posted January 21, 2021 Share Posted January 21, 2021 Please sign in to view this quote. Loops in calypso are very slow is better to have bigger steps, this works OK: GAUGE=10.9 CIR_R= 2 // Nominal Value Step=0.2 Diff=999 repeat CIR_R = CIR_R+Step measure("Theo 3d Line1") measure("Theo Int Upper") measure("Theo Int Lower") if abs(GAUGE - (getActual("Theo Int Upper").z- getActual("Theo Int Lower").z)) < Diff then Diff=abs(GAUGE - (getActual("Theo Int Upper").z- getActual("Theo Int Lower").z)) else CIR_R =CIR_R -Step Step=-Step/2 endif until abs(Step) <= 0.0001 measure("Theo 3d Line1") measure("Theo Int Upper") measure("Theo Int Lower") Link to comment Share on other sites More sharing options...
[Ma...] Posted January 22, 2021 Author Share Posted January 22, 2021 I've just tried that method and it seems to have overshot the target again. Plus I have a simple distance between the intersections in characteristics which doesn't update until you manually interrogate the features. This changes due to the variables shifting the 3d line, but doesn't show at the end of the run. Does anyone know why? Anyone with any other solutions i could try? Link to comment Share on other sites More sharing options...
[Ma...] Posted January 22, 2021 Author Share Posted January 22, 2021 Please sign in to view this quote. We had already developed a method to measure this feature prior to this. Create a line on each pressure face Create a symmetry of these pressure faces Recall One Feature of the symmetry as a 2d Line Offset this 2d Line by half of the Gauge Height (in this case 10.9/2) in the Z axis. One going +Z and one -Z Intersect these offset 2d Lines to the corresponding measured 2d Line Pressure Faces Repeat this process several times around the circumference Recall this intersections as a circle to create the required diameter Link to comment Share on other sites More sharing options...
[Is...] Posted January 22, 2021 Share Posted January 22, 2021 Please sign in to view this quote. The code that I have write you works OK.. (I’m still thinking that curves will give better accuracy) I put a display in order to see how the variable values change during the loop, download the file and test it: Link to comment Share on other sites More sharing options...
[Ma...] Posted January 22, 2021 Author Share Posted January 22, 2021 Where did you put this code? I put mine in post settings of the last intersection. Link to comment Share on other sites More sharing options...
[Is...] Posted January 22, 2021 Share Posted January 22, 2021 Please sign in to view this quote. parameter.png 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