Skip to main content
May 1, 2022 10:53 AM UTC
Solved

Creating N points between two points on curve

Hello,

I have two randomly points on the 3d curve. I want to create 5 evenly distributed points between two initial points and on that curve. How do I achieve this?

Thanks,

Richard

tbraxtonAnswer
May 1, 2022 11:40 AM UTC
  1. Create an exact copy of your 3D curve and trim it using the two randomly place points on the curve.
  2. Create an analysis feature that measures the curve length of the curve from step 1. This will yield the curve length you want to divide evenly using 5 points.
  3. Create a datum point on the curve (from step 2) offset from one end of the curve.
  4. Create a dimension pattern of the point from step 3 using the desired dimension by calculating the offset by using the length from step 2.

I have enclosed a Creo 7 example for reference. Refer to the relations to see how to calculate the pattern offset dimension.

3 replies

tbraxtonAnswer
May 1, 2022 11:40 AM UTC
  1. Create an exact copy of your 3D curve and trim it using the two randomly place points on the curve.
  2. Create an analysis feature that measures the curve length of the curve from step 1. This will yield the curve length you want to divide evenly using 5 points.
  3. Create a datum point on the curve (from step 2) offset from one end of the curve.
  4. Create a dimension pattern of the point from step 3 using the desired dimension by calculating the offset by using the length from step 2.

I have enclosed a Creo 7 example for reference. Refer to the relations to see how to calculate the pattern offset dimension.

rscaetanAuthor
May 1, 2022 12:26 PM UTC

Thanks tbraxton,

This is what I looking for.

One more question related - I saw that d12 (the dimension of point spacing on pattern) is d12=LENGTH:FID_MEASURE_LENGTH_1/6 where number six is the spacings between points (number of points +1). Is there anyway to associate the number 6 with parameter of number of patterns (d12=LENGTH:FID_MEASURE_LENGTH_1/(instances of pattern +1)?

Thanks.

May 1, 2022 1:01 PM UTC

It is possible but you will have to define the number in a parameter and use that in the relations. Define a part parameter for N instances as an integer.

 

tbraxton_0-1651410026829.png

 

Then use that in the relations to control the instances and spacing values.

 

 

p14=N
d12=LENGTH:FID_MEASURE_LENGTH_1/(N+1)