Hello, I have a problem I need to solve quickly... basically, I have a set of points in 3D space that make up a straight segment of a nanotube, and I want to "bend" the points along a circle (to simulate what happens if you bend a nanotube into a torus). I basically want to do to all of my nanotube segment points what I've indicated in the attached image of points along one straight line.(adsbygoogle = window.adsbygoogle || []).push({});

The problem: I don't know what to do! Is this a relatively simple procedure, or would it be quite a task? Is there a simple operation I can apply to each point (that is say, some distance R from some fixed point and some distance K from some fixed line) that would result in this sort of "central bending" like in the picture?

Any help anyone could provide would be GREATLY, GREATLY appreciated. Thank you!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Fitting points from a straight line segment onto a circular segment

**Physics Forums | Science Articles, Homework Help, Discussion**