Jump to content

Formula to use an individual point from a curve for a dimension?


---
 Share

Recommended Posts

We use trigger points for our curves instead of scanning, would like to use certain points in the curve to measure to other features or datum's. So if I have 50 points I want point 20 actual location in Z to measure to a plane not associated with the curve alignment.

I know with patterns you can pick an individual point or feature [ex. Point Top (*) where if I want the second point of the pattern I would enter Point Top(2) instead of the asterisk ]

 

Link to comment
Share on other sites

Please sign in to view this quote.

I know this is not a formula but you can create a point feature, select recall feature points, then right-click on the curve and select Add Range Limits.   Click the Point button and enter the point number.

 

Edited
Link to comment
Share on other sites

  • 3 months later...
  • 1 year later...

Please sign in to view this username.

A little late, but there is a formula to get this done.

It would become a little tedious, since you would likely need to apply a formula to each line of the feature. The formula is listed below. The first entry is the curve name, followed by the desired coordinate, and finally the point number. In bold, I added an example of how your formula might look. 

getActualCurvePointCoord( 'curve/curve form/line profile', 'X' [,loop index],point number )

getActualCurvePointCoord("2D Curve", "Z", 20)

You could then pull the nominal using the "getNominalCurvePointCoord( )" function, which works identically to the getActual version. 

image.png.49d5f24f3d642694d621f06ac6b2495f.png

That being said, I think

Please sign in to view this username.

 solution would be my preferred option if I were looking to recall a single point. 

The formula is more powerful. I used it to output the curve points into a point feature. I then looped the feature so I could access all the points. image.thumb.png.109a29cad78613b08ce4616abfc0b37f.png

image.thumb.png.f5db3c0de6302db27e42af54f01e92c2.png

The last step would be to add a loop to your characteristic. This can be done by right-clicking the characteristic. 

  • Like! 1
Link to comment
Share on other sites

I'm not sure how sure your curve looks, but you might also want to consider the min/max coordinate under construction. If you were looking for the peak or valley coordinate, this is a better option. Especially, if you decided to scan your curve instead of using single points. Using a static point would be risky since the high/low point could vary from part to part. The min/max coordinate is dynamic, so it would pull whatever point value was lower/higher in the desired axis. 

You could also enter an alignment to account for any rotation in the curve. 

image.png.558d560efa472adafd51b0f97d966e05.png

  • Like! 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...