I’m trying to unwrap a cylindrical surface. I managed to unwrap it using “coordsX*iHat+(atan(coordsY/coordsZ) + (coordsZ/abs(coordsZ))1.570796326)(coordsZ^2+coordsY^2)^(1/2)jHat+0kHat”. However, when I plot something, it looks funny. Any idea?
Thanks for the reply. I think you are right about the atan2. However, I still don’t seem to get the shape quite right. If I want to unwrap from the bottom red line shown in the pic (towards y+), how should I modify the theta and the coords for the current orientation?