plot points along a curve

plot points along a curve

Anonymous
Not applicable
545 Views
3 Replies
Message 1 of 4

plot points along a curve

Anonymous
Not applicable

Hi,

I need ti trace 2 points (which are certain distance apart) along a curve at a distance of x inches(say 2 inches).How do i write the code such that the point is plotted on the curves and maintains the distance.Appreciate the help.

 

Thanks

Gulzar

0 Likes
546 Views
3 Replies
Replies (3)
Message 2 of 4

_gile
Consultant
Consultant

Hi,

 

Look at the Curve.GetPointAtDist() method.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 4

Anonymous
Not applicable

Hi Giles,

In Curve.GetPointAtDist(parameter).What is parameter here.Like if i give 1.0 as parameter will it return the endpoint of the line.

 

Thanks

Gulzar

0 Likes
Message 4 of 4

_gile
Consultant
Consultant

Aren't you confusing GetPointAtDist(double distance) and GetPointAtParameter(double parameter)?



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes