cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Creating N points between two points on curve

rscaetan
3-Visitor

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

1 ACCEPTED SOLUTION

Accepted Solutions
tbraxton
21-Topaz II
(To:rscaetan)

  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.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

View solution in original post

3 REPLIES 3
tbraxton
21-Topaz II
(To:rscaetan)

  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.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

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.

tbraxton
21-Topaz II
(To:rscaetan)

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)

 

  

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Top Tags