For the complete documentation index, see llms.txt. This page is also available as Markdown.

Hypotrochoid

R = 10;
r = 4;
d = 10;
a = 750;

x = (R-r)*Math.Cos(0..a)+d*Math.Cos(((R-r)/r)*(0..a));
y = (R-r)*Math.Sin(0..a)-d*Math.Sin(((R-r)/r)*(0..a));

p = Point.ByCoordinates(x,y);
s = NurbsCurve.ByPoints(p);

Last updated