Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, I think the parametric formula for the involute of a circle is (1-it) exp(it). If you pop open Python with Numpy you can say

    t = np.linspace(0, 1); (1 - 1j*t) * np.exp(t * 1j)
And that gives you almost a radian of the involute, unless I've screwed something up. You can evaluate that at the desired number of points, clipped to the desired range of radii, export the coordinates to CSV if necessary, and import them into your CAD program as a smooth polyline. For example, with FreeCAD, you can directly script it in Python and https://forum.freecadweb.org/viewtopic.php?t=27866 Draft.makeBSpline will apparently do the job. Blender should be similar.

To me this sounds simpler.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: